(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},DlQD:function(t,e,n){t.exports=function(){"use strict";function t(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=t[Symbol.iterator]()).next.bind(r)}var r=function(t,e){return function(t){function e(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}t.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:e,changeDefaults:function(e){t.exports.defaults=e}}}(e={exports:{}}),e.exports}(),i=/[&<>"']/,s=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(t){return l[t]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(t){return t.replace(u,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})}var d=/(^|[^\[])\^/g,p=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,g={},m=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/;function v(t,e,n){var r=t.length;if(0===r)return"";for(var i=0;i=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>e)n.splice(e);else for(;n.length1?{type:"space",raw:e[0]}:{raw:"\n"}},e.code=function(t,e){var n=this.rules.block.code.exec(t);if(n){var r=e[e.length-1];if(r&&"paragraph"===r.type)return{raw:n[0],text:n[0].trimRight()};var i=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:C(i,"\n")}}},e.fences=function(t){var e=this.rules.block.fences.exec(t);if(e){var n=e[0],r=function(t,e){var n=t.match(/^(\s+)(?:```)/);if(null===n)return e;var r=n[1];return e.split("\n").map(function(t){var e=t.match(/^\s+/);return null===e?t:e[0].length>=r.length?t.slice(r.length):t}).join("\n")}(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim():e[2],text:r}}},e.heading=function(t){var e=this.rules.block.heading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[1].length,text:e[2]}},e.nptable=function(t){var e=this.rules.block.nptable.exec(t);if(e){var n={type:"table",header:S(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[],raw:e[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r ?/gm,"");return{type:"blockquote",raw:e[0],text:n}}},e.list=function(t){var e=this.rules.block.list.exec(t);if(e){var n,r,i,s,o,a,l,c,u=e[0],h=e[2],d=h.length>1,p={type:"list",raw:u,ordered:d,start:d?+h.slice(0,-1):"",loose:!1,items:[]},f=e[0].match(this.rules.block.item),g=!1,m=f.length;i=this.rules.block.listItemStart.exec(f[0]);for(var y=0;yi[0].length||s[1].length>3){f.splice(y,2,f[y]+"\n"+f[y+1]),y--,m--;continue}(!this.options.pedantic||this.options.smartLists?s[2][s[2].length-1]!==h[h.length-1]:d===(1===s[2].length))&&(o=f.slice(y+1).join("\n"),p.raw=p.raw.substring(0,p.raw.length-o.length),y=m-1),i=s}r=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(r-=n.length,n=n.replace(this.options.pedantic?/^ {1,4}/gm:new RegExp("^ {1,"+r+"}","gm"),"")),a=g||/\n\n(?!\s*$)/.test(n),y!==m-1&&(g="\n"===n.charAt(n.length-1),a||(a=g)),a&&(p.loose=!0),this.options.gfm&&(c=void 0,(l=/^\[[ xX]\] /.test(n))&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),p.items.push({type:"list_item",raw:u,task:l,checked:c,loose:a,text:n})}return p}},e.html=function(t){var e=this.rules.block.html.exec(t);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):T(e[0]):e[0]}},e.def=function(t){var e=this.rules.block.def.exec(t);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{tag:e[1].toLowerCase().replace(/\s+/g," "),raw:e[0],href:e[2],title:e[3]}},e.table=function(t){var e=this.rules.block.table.exec(t);if(e){var n={type:"table",header:S(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=e[0];var r,i=n.align.length;for(r=0;r/i.test(r[0])&&(e=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:e,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):T(r[0]):r[0]}},e.link=function(t){var e=this.rules.inline.link.exec(t);if(e){var n=function(t,e){if(-1===t.indexOf(e[1]))return-1;for(var n=t.length,r=0,i=0;i-1){var r=(0===e[0].indexOf("!")?5:4)+e[1].length+n;e[2]=e[2].substring(0,n),e[0]=e[0].substring(0,r).trim(),e[3]=""}var i=e[2],s="";if(this.options.pedantic){var o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);o?(i=o[1],s=o[3]):s=""}else s=e[3]?e[3].slice(1,-1):"";return E(e,{href:(i=i.trim().replace(/^<([\s\S]*)>$/,"$1"))?i.replace(this.rules.inline._escapes,"$1"):i,title:s?s.replace(this.rules.inline._escapes,"$1"):s},e[0])}},e.reflink=function(t,e){var n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=e[r.toLowerCase()])||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return E(n,r,n[0])}},e.strong=function(t,e,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(t);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var i,s="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(s.lastIndex=0;null!=(r=s.exec(e));)if(i=this.rules.inline.strong.middle.exec(e.slice(0,r.index+3)))return{type:"strong",raw:t.slice(0,i[0].length),text:t.slice(2,i[0].length-2)}}},e.em=function(t,e,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(t);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var i,s="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(s.lastIndex=0;null!=(r=s.exec(e));)if(i=this.rules.inline.em.middle.exec(e.slice(0,r.index+2)))return{type:"em",raw:t.slice(0,i[0].length),text:t.slice(1,i[0].length-1)}}},e.codespan=function(t){var e=this.rules.inline.code.exec(t);if(e){var n=e[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=n.startsWith(" ")&&n.endsWith(" ");return r&&i&&(n=n.substring(1,n.length-1)),n=T(n,!0),{type:"codespan",raw:e[0],text:n}}},e.br=function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}},e.del=function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2]}},e.autolink=function(t,e){var n,r,i=this.rules.inline.autolink.exec(t);if(i)return r="@"===i[2]?"mailto:"+(n=T(this.options.mangle?e(i[1]):i[1])):n=T(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},e.url=function(t,e){var n;if(n=this.rules.inline.url.exec(t)){var r,i;if("@"===n[2])i="mailto:"+(r=T(this.options.mangle?e(n[0]):n[0]));else{var s;do{s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(s!==n[0]);r=T(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},e.inlineText=function(t,e,n){var r,i=this.rules.inline.text.exec(t);if(i)return r=e?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):T(i[0]):i[0]:T(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},t}(),P={exec:function(){}},I=function(t,e){t=t.source||t,e=e||"";var n={replace:function(e,r){return r=(r=r.source||r).replace(d,"$1"),t=t.replace(e,r),n},getRegex:function(){return new RegExp(t,e)}};return n},A=x,R={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:P,table:P,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};R.def=I(R.def).replace("label",R._label).replace("title",R._title).getRegex(),R.bullet=/(?:[*+-]|\d{1,9}[.)])/,R.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,R.item=I(R.item,"gm").replace(/bull/g,R.bullet).getRegex(),R.listItemStart=I(/^( *)(bull)/).replace("bull",R.bullet).getRegex(),R.list=I(R.list).replace(/bull/g,R.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+R.def.source+")").getRegex(),R._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",R._comment=/|$)/,R.html=I(R.html,"i").replace("comment",R._comment).replace("tag",R._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),R.paragraph=I(R._paragraph).replace("hr",R.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",R._tag).getRegex(),R.blockquote=I(R.blockquote).replace("paragraph",R.paragraph).getRegex(),R.normal=A({},R),R.gfm=A({},R.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),R.gfm.nptable=I(R.gfm.nptable).replace("hr",R.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",R._tag).getRegex(),R.gfm.table=I(R.gfm.table).replace("hr",R.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",R._tag).getRegex(),R.pedantic=A({},R.normal,{html:I("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",R._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:P,paragraph:I(R.normal._paragraph).replace("hr",R.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",R.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var M={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:P,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:P,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};M.punctuation=I(M.punctuation).replace(/punctuation/g,M._punctuation).getRegex(),M._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",M._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",M._comment=I(R._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),M.em.start=I(M.em.start).replace(/punctuation/g,M._punctuation).getRegex(),M.em.middle=I(M.em.middle).replace(/punctuation/g,M._punctuation).replace(/overlapSkip/g,M._overlapSkip).getRegex(),M.em.endAst=I(M.em.endAst,"g").replace(/punctuation/g,M._punctuation).getRegex(),M.em.endUnd=I(M.em.endUnd,"g").replace(/punctuation/g,M._punctuation).getRegex(),M.strong.start=I(M.strong.start).replace(/punctuation/g,M._punctuation).getRegex(),M.strong.middle=I(M.strong.middle).replace(/punctuation/g,M._punctuation).replace(/overlapSkip/g,M._overlapSkip).getRegex(),M.strong.endAst=I(M.strong.endAst,"g").replace(/punctuation/g,M._punctuation).getRegex(),M.strong.endUnd=I(M.strong.endUnd,"g").replace(/punctuation/g,M._punctuation).getRegex(),M.blockSkip=I(M._blockSkip,"g").getRegex(),M.overlapSkip=I(M._overlapSkip,"g").getRegex(),M._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,M._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,M._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,M.autolink=I(M.autolink).replace("scheme",M._scheme).replace("email",M._email).getRegex(),M._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,M.tag=I(M.tag).replace("comment",M._comment).replace("attribute",M._attribute).getRegex(),M._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,M._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,M._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,M.link=I(M.link).replace("label",M._label).replace("href",M._href).replace("title",M._title).getRegex(),M.reflink=I(M.reflink).replace("label",M._label).getRegex(),M.reflinkSearch=I(M.reflinkSearch,"g").replace("reflink",M.reflink).replace("nolink",M.nolink).getRegex(),M.normal=A({},M),M.pedantic=A({},M.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:I(/^!?\[(label)\]\((.*?)\)/).replace("label",M._label).getRegex(),reflink:I(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",M._label).getRegex()}),M.gfm=A({},M.normal,{escape:I(M.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\1;)1&e&&(n+=t),e>>=1,t+=t;return n+t};function H(t){return t.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function z(t){var e,n,r="",i=t.length;for(e=0;e.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var F=function(){function e(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||N,this.options.tokenizer=this.options.tokenizer||new O,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var e={block:L.normal,inline:U.normal};this.options.pedantic?(e.block=L.pedantic,e.inline=U.pedantic):this.options.gfm&&(e.block=L.gfm,e.inline=this.options.breaks?U.breaks:U.gfm),this.tokenizer.rules=e}e.lex=function(t,n){return new e(n).lex(t)},e.lexInline=function(t,n){return new e(n).inlineTokens(t)};var n,r,i=e.prototype;return i.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(t,this.tokens,!0),this.inline(this.tokens),this.tokens},i.blockTokens=function(t,e,n){var r,i,s,o;for(void 0===e&&(e=[]),void 0===n&&(n=!0),t=t.replace(/^ +$/gm,"");t;)if(r=this.tokenizer.space(t))t=t.substring(r.raw.length),r.type&&e.push(r);else if(r=this.tokenizer.code(t,e))t=t.substring(r.raw.length),r.type?e.push(r):((o=e[e.length-1]).raw+="\n"+r.raw,o.text+="\n"+r.text);else if(r=this.tokenizer.fences(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.heading(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.nptable(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.hr(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.blockquote(t))t=t.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),e.push(r);else if(r=this.tokenizer.list(t)){for(t=t.substring(r.raw.length),s=r.items.length,i=0;i0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(l));)c.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,s.index)+"["+D("a",s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,s.index)+"["+D("a",s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;t;)if(o||(a=""),o=!1,i=this.tokenizer.escape(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.tag(t,n,r))t=t.substring(i.raw.length),n=i.inLink,r=i.inRawBlock,e.push(i);else if(i=this.tokenizer.link(t))t=t.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),e.push(i);else if(i=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),e.push(i);else if(i=this.tokenizer.strong(t,l,a))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.em(t,l,a))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.codespan(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.br(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.del(t))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.autolink(t,z))t=t.substring(i.raw.length),e.push(i);else if(n||!(i=this.tokenizer.url(t,z))){if(i=this.tokenizer.inlineText(t,r,H))t=t.substring(i.raw.length),a=i.raw.slice(-1),o=!0,e.push(i);else if(t){var u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}else t=t.substring(i.raw.length),e.push(i);return e},n=e,r=[{key:"rules",get:function(){return{block:L,inline:U}}}],null&&t(n.prototype,null),r&&t(n,r),e}(),$=r.defaults,V=function(t,e,n){if(t){var r;try{r=decodeURIComponent(h(n)).replace(p,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}e&&!f.test(n)&&(n=function(t,e){g[" "+t]||(g[" "+t]=m.test(t)?t+"/":v(t,"/",!0));var n=-1===(t=g[" "+t]).indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(y,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(w,"$1")+e:t+e}(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n},q=b,B=function(){function t(t){this.options=t||$}var e=t.prototype;return e.code=function(t,e,n){var r=(e||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(t,r);null!=i&&i!==t&&(n=!0,t=i)}return r?'
'+(n?t:q(t,!0))+"
\n":"
"+(n?t:q(t,!0))+"
\n"},e.blockquote=function(t){return"
\n"+t+"
\n"},e.html=function(t){return t},e.heading=function(t,e,n,r){return this.options.headerIds?"'+t+"\n":""+t+"\n"},e.hr=function(){return this.options.xhtml?"
\n":"
\n"},e.list=function(t,e,n){var r=e?"ol":"ul";return"<"+r+(e&&1!==n?' start="'+n+'"':"")+">\n"+t+"\n"},e.listitem=function(t){return"
  • "+t+"
  • \n"},e.checkbox=function(t){return" "},e.paragraph=function(t){return"

    "+t+"

    \n"},e.table=function(t,e){return e&&(e=""+e+""),"\n\n"+t+"\n"+e+"
    \n"},e.tablerow=function(t){return"\n"+t+"\n"},e.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' align="'+e.align+'">':"<"+n+">")+t+"\n"},e.strong=function(t){return""+t+""},e.em=function(t){return""+t+""},e.codespan=function(t){return""+t+""},e.br=function(){return this.options.xhtml?"
    ":"
    "},e.del=function(t){return""+t+""},e.link=function(t,e,n){if(null===(t=V(this.options.sanitize,this.options.baseUrl,t)))return n;var r='"+n+""},e.image=function(t,e,n){if(null===(t=V(this.options.sanitize,this.options.baseUrl,t)))return n;var r=''+n+'":">")},e.text=function(t){return t},t}(),W=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),Z=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function(t,e){var n=t,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[t];do{n=t+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return e||(this.seen[t]=r,this.seen[n]=0),n},e.slug=function(t,e){void 0===e&&(e={});var n=this.serialize(t);return this.getNextSafeSlug(n,e.dryrun)},t}(),G=r.defaults,Q=_,J=function(){function t(t){this.options=t||G,this.options.renderer=this.options.renderer||new B,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new W,this.slugger=new Z}t.parse=function(e,n){return new t(n).parse(e)},t.parseInline=function(e,n){return new t(n).parseInline(e)};var e=t.prototype;return e.parse=function(t,e){void 0===e&&(e=!0);var n,r,i,s,o,a,l,c,u,h,d,p,f,g,m,y,w,v,b="",_=t.length;for(n=0;n<_;n++)switch((h=t[n]).type){case"space":continue;case"hr":b+=this.renderer.hr();continue;case"heading":b+=this.renderer.heading(this.parseInline(h.tokens),h.depth,Q(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":b+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(c="",l="",s=h.header.length,r=0;r0&&"text"===m.tokens[0].type?(m.tokens[0].text=v+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=v+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:v}):g+=v),g+=this.parse(m.tokens,f),u+=this.renderer.listitem(g,w,y);b+=this.renderer.list(u,d,p);continue;case"html":b+=this.renderer.html(h.text);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(u=h.tokens?this.parseInline(h.tokens):h.text;n+1<_&&"text"===t[n+1].type;)u+="\n"+((h=t[++n]).tokens?this.parseInline(h.tokens):h.text);b+=e?this.renderer.paragraph(u):u;continue;default:var x='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(x);throw new Error(x)}return b},e.parseInline=function(t,e){e=e||this.renderer;var n,r,i="",s=t.length;for(n=0;nAn error occurred:

    "+X(l.message+"",!0)+"
    ";throw l}}return rt.options=rt.setOptions=function(t){return K(rt.defaults,t),et(rt.defaults),rt},rt.getDefaults=tt,rt.defaults=nt,rt.use=function(t){var e=K({},t);if(t.renderer&&function(){var n=rt.defaults.renderer||new B,r=function(e){var r=n[e];n[e]=function(){for(var i=arguments.length,s=new Array(i),o=0;oAn error occurred:

    "+X(r.message+"",!0)+"
    ";throw r}},rt.Parser=J,rt.parser=J.parse,rt.Renderer=B,rt.TextRenderer=W,rt.Lexer=F,rt.lexer=F.lex,rt.Tokenizer=O,rt.Slugger=Z,rt.parse=rt,rt}()},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,i){let s;super(),this._parentSubscriber=t;let o=this;r(e)?s=e:e&&(s=e.next,n=e.error,i=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let w=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,i=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class _ extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class x extends f{constructor(t){super(t),this.destination=t}}let k=(()=>{class t extends w{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(t){const e=new C(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;inew C(t,e),t})();class C extends k{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function S(t){return t&&"function"==typeof t.schedule}class T extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const E=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function A(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const R=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(I(t))return E(t);if(A(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[P])return e=t,t=>{const n=e[P]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function M(t,e,n,r,i=new T(t,n,r)){if(!i.closed)return e instanceof w?e.subscribe(i):R(e)(i)}class j extends f{notifyNext(t,e,n,r,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function N(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new L(t,e))}}class L{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new U(t,this.project,this.thisArg))}}class U extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function D(t,e){return new w(n=>{const r=new h;let i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function H(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new w(n=>{const r=new h;return r.add(e.schedule(()=>{const i=t[m]();r.add(i.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(A(t))return function(t,e){return new w(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(I(t))return D(t,e);if(function(t){return t&&"function"==typeof t[P]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new w(n=>{const r=new h;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[P](),r.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof w?t:new w(R(t))}function z(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(z((n,r)=>H(t(n,r)).pipe(N((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new F(t,n)))}class F{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new $(t,this.project,this.concurrent))}}class $ extends j{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function V(t=Number.POSITIVE_INFINITY){return z(y,t)}function q(t,e){return e?D(t,e):new w(E(t))}function B(){return function(t){return t.lift(new W(t))}}class W{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Z(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class Z extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class G extends w{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new J(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const Q=(()=>{const t=G.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class J extends x{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function K(){return new k}function Y(t){return{toString:t}.toString()}const X="__parameters__";function tt(t,e,n){return Y(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty(X)?t[X]:Object.defineProperty(t,X,{value:[]})[X];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}const et=tt("Inject",t=>({token:t})),nt=tt("Optional"),rt=tt("Self"),it=tt("SkipSelf");var st=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function ot(t){for(let e in t)if(t[e]===ot)return e;throw Error("Could not find renamed property on target object.")}function at(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function lt(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ct(t){return ut(t,t[dt])||ut(t,t[gt])}function ut(t,e){return e&&e.token===t?e:null}function ht(t){return t&&(t.hasOwnProperty(pt)||t.hasOwnProperty(mt))?t[pt]:null}const dt=ot({"\u0275prov":ot}),pt=ot({"\u0275inj":ot}),ft=ot({"\u0275provFallback":ot}),gt=ot({ngInjectableDef:ot}),mt=ot({ngInjectorDef:ot});function yt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(yt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function wt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const vt=ot({__forward_ref__:ot});function bt(t){return t.__forward_ref__=bt,t.toString=function(){return yt(this())},t}function _t(t){return xt(t)?t():t}function xt(t){return"function"==typeof t&&t.hasOwnProperty(vt)&&t.__forward_ref__===bt}const kt="undefined"!=typeof globalThis&&globalThis,Ct="undefined"!=typeof window&&window,St="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Tt="undefined"!=typeof global&&global,Et=kt||Tt||Ct||St,Ot=ot({"\u0275cmp":ot}),Pt=ot({"\u0275dir":ot}),It=ot({"\u0275pipe":ot}),At=ot({"\u0275mod":ot}),Rt=ot({"\u0275loc":ot}),Mt=ot({"\u0275fac":ot}),jt=ot({__NG_ELEMENT_ID__:ot});class Nt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=at({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const Lt=new Nt("INJECTOR",-1),Ut={},Dt=/\n/gm,Ht="__source",zt=ot({provide:String,useValue:ot});let Ft,$t=void 0;function Vt(t){const e=$t;return $t=t,e}function qt(t){const e=Ft;return Ft=t,e}function Bt(t,e=st.Default){if(void 0===$t)throw new Error("inject() must be called from an injection context");return null===$t?Zt(t,void 0,e):$t.get(t,e&st.Optional?null:void 0,e)}function Wt(t,e=st.Default){return(Ft||Bt)(_t(t),e)}function Zt(t,e,n){const r=ct(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&st.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${yt(t)}]`)}function Gt(t){const e=[];for(let n=0;nArray.isArray(t)?Xt(t,e):e(t))}function te(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ee(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ne(t,e){const n=[];for(let r=0;r{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===re.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||oe,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ie.Emulated,id:"c",styles:t.styles||oe,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,i=t.features,s=t.pipes;return n.id+=ae++,n.inputs=pe(t.inputs,e),n.outputs=pe(t.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(ce):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(ue):null,n})}function ce(t){return ge(t)||function(t){return t[Pt]||null}(t)}function ue(t){return function(t){return t[It]||null}(t)}const he={};function de(t){const e={type:t.type,bootstrap:t.bootstrap||oe,declarations:t.declarations||oe,imports:t.imports||oe,exports:t.exports||oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&Y(()=>{he[t.id]=t.type}),e}function pe(t,e){if(null==t)return se;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}const fe=le;function ge(t){return t[Ot]||null}function me(t,e){return t.hasOwnProperty(Mt)?t[Mt]:null}function ye(t,e){const n=t[At]||null;if(!n&&!0===e)throw new Error(`Type ${yt(t)} does not have '\u0275mod' property.`);return n}const we=20,ve=10;function be(t){return Array.isArray(t)&&"object"==typeof t[1]}function _e(t){return Array.isArray(t)&&!0===t[1]}function xe(t){return 0!=(8&t.flags)}function ke(t){return 2==(2&t.flags)}function Ce(t){return 1==(1&t.flags)}function Se(t){return null!==t.template}function Te(t){return 0!=(512&t[2])}class Ee{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Oe(){return Pe}function Pe(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ae),Ie}function Ie(){const t=Re(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===se)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Ae(t,e,n,r){const i=Re(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:se,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];s[a]=new Ee(l&&l.currentValue,e,o===se),t[r]=e}function Re(t){return t.__ngSimpleChanges__||null}Oe.ngInherit=!0;let Me=void 0;function je(t){return!!t.listen}const Ne={createRenderer:(t,e)=>void 0!==Me?Me:"undefined"!=typeof document?document:void 0};function Le(t){for(;Array.isArray(t);)t=t[0];return t}function Ue(t,e){return Le(e[t.index])}function De(t,e){return t.data[e+we]}function He(t,e){const n=e[t];return be(n)?n:n[0]}function ze(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Fe(t){return 4==(4&t[2])}function $e(t){return 128==(128&t[2])}function Ve(t,e){return null===t||null==e?null:t[e]}function qe(t){t[18]=0}function Be(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const We={lFrame:hn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ze(){return We.bindingsEnabled}function Ge(){return We.lFrame.lView}function Qe(){return We.lFrame.tView}function Je(){return We.lFrame.previousOrParentTNode}function Ke(t,e){We.lFrame.previousOrParentTNode=t,We.lFrame.isParent=e}function Ye(){return We.lFrame.isParent}function Xe(){We.lFrame.isParent=!1}function tn(){return We.checkNoChangesMode}function en(t){We.checkNoChangesMode=t}function nn(){return We.lFrame.bindingIndex++}function rn(t,e){const n=We.lFrame;n.bindingIndex=n.bindingRootIndex=t,sn(e)}function sn(t){We.lFrame.currentDirectiveIndex=t}function on(){return We.lFrame.currentQueryIndex}function an(t){We.lFrame.currentQueryIndex=t}function ln(t,e){const n=un();We.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function cn(t,e){const n=un(),r=t[1];We.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function un(){const t=We.lFrame,e=null===t?null:t.child;return null===e?hn(t):e}function hn(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function dn(){const t=We.lFrame;return We.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const pn=dn;function fn(){const t=dn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function gn(){return We.lFrame.selectedIndex}function mn(t){We.lFrame.selectedIndex=t}function yn(){const t=We.lFrame;return De(t.tView,t.selectedIndex)}function wn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[o]<0&&(t[18]+=65536),(s>11>16&&(3&t[2])===e&&(t[2]+=2048,s.call(o)):s.call(o)}class Cn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Sn(t,e,n){const r=je(t);let i=0;for(;ie){o=s-1;break}}}for(;s>16}function Mn(t,e){let n=Rn(t),r=e;for(;n>0;)r=r[15],n--;return r}function jn(t){return"string"==typeof t?t:null==t?"":""+t}function Nn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():jn(t)}const Ln=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Et))();function Un(t){return t instanceof Function?t():t}let Dn=!0;function Hn(t){const e=Dn;return Dn=t,e}let zn=0;function Fn(t,e){const n=Vn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,$n(r.data,t),$n(e,null),$n(r.blueprint,null));const i=qn(t,e),s=t.injectorIndex;if(In(i)){const t=An(i),n=Mn(i,e),r=n[1].data;for(let i=0;i<8;i++)e[s+i]=n[t+i]|r[t+i]}return e[s+8]=i,s}function $n(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Vn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function qn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Bn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(r=n[jt]),null==r&&(r=n[jt]=zn++);const i=255&r,s=1<0?255&e:e}(n);if("function"==typeof i){ln(e,t);try{const t=i();if(null!=t||r&st.Optional)return t;throw new Error(`No provider for ${Nn(n)}!`)}finally{pn()}}else if("number"==typeof i){if(-1===i)return new Xn(t,e);let s=null,o=Vn(t,e),a=-1,l=r&st.Host?e[16][6]:null;for((-1===o||r&st.SkipSelf)&&(a=-1===o?qn(t,e):e[o+8],Yn(r,!1)?(s=e[1],o=An(a),e=Mn(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(Kn(i,o,t.data)){const t=Gn(o,e,n,s,r,l);if(t!==Zn)return t}Yn(r,e[1].data[o+8]===l)&&Kn(i,o,e)?(s=t,o=An(a),e=Mn(a,e)):o=-1}}}if(r&st.Optional&&void 0===i&&(i=null),0==(r&(st.Self|st.Host))){const t=e[9],s=qt(void 0);try{return t?t.get(n,i,r&st.Optional):Zt(n,i,r&st.Optional)}finally{qt(s)}}if(r&st.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${Nn(n)}]`)}const Zn={};function Gn(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],l=Qn(a,o,n,null==r?ke(a)&&Dn:r!=o&&3===a.type,i&st.Host&&s===a);return null!==l?Jn(e,o,l,a):Zn}function Qn(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=1048575&s,l=t.directiveStart,c=s>>20,u=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&t.type===n)return h}if(i){const t=o[l];if(t&&Se(t)&&t.type===n)return l}return null}function Jn(t,e,n,r){let i=t[n];const s=e.data;if(i instanceof Cn){const o=i;if(o.resolving)throw new Error("Circular dep for "+Nn(s[n]));const a=Hn(o.canSeeViewProviders);let l;o.resolving=!0,o.injectImpl&&(l=qt(o.injectImpl)),ln(t,r);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const r=Pe(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{o.injectImpl&&qt(l),Hn(a),o.resolving=!1,pn()}}return i}function Kn(t,e,n){const r=64&t,i=32&t;let s;return s=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(s&1<{const t=tr(_t(e));return t?t():null};let n=me(e);if(null===n){const t=ht(e);n=t&&t.factory}return n||null}function er(t){return Y(()=>{const e=t.prototype.constructor,n=e[Mt]||tr(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[Mt]||tr(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function nr(t){return t.ngDebugContext}function rr(t){return t.ngOriginalError}function ir(t,...e){t.error(...e)}class sr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||ir}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?nr(t)?nr(t):this._findContext(rr(t)):null}_findOriginalError(t){let e=rr(t);for(;e&&rr(e);)e=rr(e);return e}}class or{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class ar extends or{getTypeName(){return"HTML"}}class lr extends or{getTypeName(){return"Style"}}class cr extends or{getTypeName(){return"Script"}}class ur extends or{getTypeName(){return"URL"}}class hr extends or{getTypeName(){return"ResourceURL"}}function dr(t){return t instanceof or?t.changingThisBreaksApplicationSecurity:t}function pr(t,e){const n=fr(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function fr(t){return t instanceof or&&t.getTypeName()||null}let gr=!0,mr=!1;function yr(){return mr=!0,gr}class wr{getInertBodyElement(t){t=""+t+"";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class vr{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0xr(t.trim())).join(", ")),this.buf.push(" ",e,'="',Ur(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Pr.hasOwnProperty(e)&&!Sr.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Ur(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const Nr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lr=/([^\#-~ |!])/g;function Ur(t){return t.replace(/&/g,"&").replace(Nr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Lr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Dr;function Hr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var zr=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Fr(t){const e=function(){const t=Ge();return t&&t[12]}();return e?e.sanitize(zr.URL,t)||"":pr(t,"URL")?dr(t):xr(jn(t))}function $r(t,e){t.__ngContext__=e}function Vr(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function qr(){throw new Error("Cannot mix multi providers and regular providers")}function Br(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}const Wr="ng-template";function Zr(t,e,n){let r=0;for(;rs?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Br(e,c,0)||2&r&&c!==t){if(Kr(r))return!1;o=!0}}}}else{if(!o&&!Kr(r)&&!Kr(l))return!1;if(o&&Kr(l))continue;o=!1,r=l|1&r}}return Kr(r)||o}function Kr(t){return 0==(1&t)}function Yr(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||Kr(o)||(e+=ti(s,i),i=""),r=o,s=s||!Kr(r);n++}return""!==i&&(e+=ti(s,i)),e}const ni={};function ri(t){const e=t[3];return _e(e)?e[3]:e}function ii(t){return oi(t[13])}function si(t){return oi(t[4])}function oi(t){for(;null!==t&&!_e(t);)t=t[4];return t}function ai(t){li(Qe(),Ge(),gn()+t,tn())}function li(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&vn(e,r,n)}else{const r=t.preOrderHooks;null!==r&&bn(e,r,0,n)}mn(n)}function ci(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;rwe&&li(t,e,0,tn()),n(r,i)}finally{mn(s)}}function yi(t,e,n){Ze()&&(function(t,e,n,r){const i=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Fn(n,e),$r(r,e);const o=n.initialInputs;for(let a=i;a0&&Hi(n)}}function Hi(t){for(let n=ii(t);null!==n;n=si(n))for(let t=ve;t0&&Hi(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Hi(r)}}function zi(t,e){const n=He(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function Zi(t){return t[7]||(t[7]=[])}function Gi(t,e){const n=t[9],r=n?n.get(sr,null):null;r&&r.handleError(e)}function Qi(t,e,n,r,i){for(let s=0;s0&&(t[n-1][4]=r[4]);const s=ee(t,ve+e);Xi(r[1],r,!1,null);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function ns(t,e){if(!(256&e[2])){const n=e[11];je(n)&&n.destroyNode&&gs(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return is(t[1],t);for(;e;){let n=null;if(be(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)be(e)&&is(e[1],e),e=rs(e,t);null===e&&(e=t),be(e)&&is(e[1],e),n=e&&e[4]}e=n}}(e)}}function rs(t,e){let n;return be(t)&&(n=t[6])&&2===n.type?Ji(n,t):t[3]===e?null:t[3]}function is(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&je(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&_e(e[3])){r!==e[3]&&ts(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function ss(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?Ki(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Ue(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==ie.ShadowDom&&n!==ie.Native)return null}return Ue(r,n)}function os(t,e,n,r){je(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function as(t,e,n){je(t)?t.appendChild(e,n):e.appendChild(n)}function ls(t,e,n,r){null!==r?os(t,e,n,r):as(t,e,n)}function cs(t,e){return je(t)?t.parentNode(e):e.parentNode}function us(t,e){if(2===t.type){const n=Ji(t,e);return null===n?null:ps(n.indexOf(e,ve)-ve,n)}return 4===t.type||5===t.type?Ue(t,e):null}function hs(t,e,n,r){const i=ss(t,r,e);if(null!=i){const t=e[11],s=us(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}ns(this._lView[1],this._lView)}onDestroy(t){_i(this._lView[1],this._lView,null,t)}markForCheck(){$i(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vi(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){en(!0);try{Vi(t,e,n)}finally{en(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,gs(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class bs extends vs{constructor(t){super(t),this._view=t}detectChanges(){qi(this._view)}checkNoChanges(){!function(t){en(!0);try{qi(t)}finally{en(!1)}}(this._view)}get context(){return null}}function _s(t,e,n,r,i=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&r.push(Le(s)),_e(s))for(let t=ve;t1;)i=i[15],s=i[6],r--;return s}(t,this._hostView,this._hostTNode);return In(t)&&null!=n?new Xn(n,e):new Xn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const s=n||this.parentInjector;if(!i&&null==t.ngModule&&s){const t=s.get(Jt,null);t&&(i=t)}const o=t.create(s,r,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),_e(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Cs(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e);return function(t,e,n,r){const i=ve+r,s=n.length;r>0&&(n[i-1][4]=e),r{class t{}return t.__NG_ELEMENT_ID__=()=>Ps(),t})();const Ps=function(t=!1){return function(t,e,n){if(!n&&ke(t)){const n=He(t.index,e);return new vs(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new vs(e[16],e):null}(Je(),Ge(),t)},Is=Function,As=new Nt("Set Injector scope."),Rs={},Ms={},js=[];let Ns=void 0;function Ls(){return void 0===Ns&&(Ns=new Qt),Ns}function Us(t,e=null,n=null,r){return new Ds(t,n,e||Ls(),r)}class Ds{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&Xt(e,n=>this.processProvider(n,t,e)),Xt([t],t=>this.processInjectorType(t,[],i)),this.records.set(Lt,zs(void 0,this));const s=this.records.get(As);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:yt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Ut,n=st.Default){this.assertNotDestroyed();const r=Vt(this);try{if(!(n&st.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Nt)&&ct(t);e=n&&this.injectableDefInScope(n)?zs(Hs(t),Rs):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&st.Self?Ls():this.parent).get(t,e=n&st.Optional&&e===Ut?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(yt(t)),r)throw s;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e[Ht]&&i.unshift(e[Ht]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=yt(e);if(Array.isArray(e))i=e.map(yt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):yt(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Dt,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Vt(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(yt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=_t(t)))return!1;let r=ht(t);const i=null==r&&t.ngModule||void 0,s=void 0===i?t:i,o=-1!==n.indexOf(s);if(void 0!==i&&(r=ht(i)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(s);try{Xt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||js))}}this.injectorDefTypes.add(s),this.records.set(s,zs(r.factory,Rs));const a=r.providers;if(null!=a&&!o){const e=t;Xt(a,t=>this.processProvider(t,e,a))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=$s(t=_t(t))?t:_t(t&&t.provide);const i=function(t,e,n){return Fs(t)?zs(void 0,t.useValue):zs(function(t,e,n){let r=void 0;if($s(t)){const e=_t(t);return me(e)||Hs(e)}if(Fs(t))r=()=>_t(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...Gt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Wt(_t(t.useExisting));else{const i=_t(t&&(t.useClass||t.provide));if(i||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${yt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return me(i)||Hs(i);r=()=>new i(...Gt(t.deps))}var i;return r}(t,e,n),Rs)}(t,e,n);if($s(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&qr()}else{let e=this.records.get(r);e?void 0===e.multi&&qr():(e=zs(void 0,Rs,!0),e.factory=()=>Gt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===Ms?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(yt(t)):e.value===Rs&&(e.value=Ms,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Hs(t){const e=ct(t),n=null!==e?e.factory:me(t);if(null!==n)return n;const r=ht(t);if(null!==r)return r.factory;if(t instanceof Nt)throw new Error(`Token ${yt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ne(e,"?");throw new Error(`Can't resolve all parameters for ${yt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[dt]||t[gt]||t[ft]&&t[ft]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function zs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Fs(t){return null!==t&&"object"==typeof t&&zt in t}function $s(t){return"function"==typeof t}const Vs=function(t,e,n){return function(t,e=null,n=null,r){const i=Us(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let qs=(()=>{class t{static create(t,e){return Array.isArray(t)?Vs(t,e,""):Vs(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Ut,t.NULL=new Qt,t.\u0275prov=at({token:t,providedIn:"any",factory:()=>Wt(Lt)}),t.__NG_ELEMENT_ID__=-1,t})();const Bs=new Nt("AnalyzeForEntryComponents");function Ws(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;oa(Le(t[r.index])).target:r.index;if(je(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let s=0;sn?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,i,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=uo(r,e,s,!1);const t=n.listen(p.name||f,i,s);u.push(s,t),c&&c.push(i,m,g,g+1)}}else s=uo(r,e,s,!0),f.addEventListener(i,s,o),u.push(s),c&&c.push(i,m,g,o)}const d=r.outputs;let p;if(h&&null!==d&&(p=d[i])){const t=p.length;if(t)for(let n=0;n{class t{}return t.NULL=new bo,t})(),xo=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>ko(t),t})();const ko=function(t){return Ss(t,Je(),Ge())};class Co{}var So=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let To=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Eo(),t})();const Eo=function(){const t=Ge(),e=He(Je().index,t);return function(t){const e=t[11];if(je(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(be(e)?e:t)};let Oo=(()=>{class t{}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>null}),t})();class Po{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Io=new Po("10.0.8");class Ao{constructor(){}supports(t){return Qs(t)}create(t){return new Mo(t)}}const Ro=(t,e)=>e;class Mo{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ro}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const s=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,t,r,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new jo(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Lo),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Lo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class jo{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class No{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Lo{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new No,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Uo(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new zo(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class zo{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Fo=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new it,new nt]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>new t([new Ao])}),t})(),$o=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new it,new nt]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>new t([new Do])}),t})();const Vo=[new Do],qo=new Fo([new Ao]),Bo=new $o(Vo);let Wo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Zo(t,xo),t})();const Zo=function(t,e){return Ts(t,e,Je(),Ge())};let Go=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Qo(t,xo),t})();const Qo=function(t,e){return Es(t,e,Je(),Ge())},Jo={};class Ko extends _o{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ge(t);return new ta(e,this.ngModule)}}function Yo(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Xo=new Nt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ln});class ta extends vo{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ei).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Yo(this.componentDef.inputs)}get outputs(){return Yo(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const s=t.get(n,Jo,i);return s!==Jo||r===Jo?s:e.get(n,r,i)}}}(t,r.injector):t,s=i.get(Co,Ne),o=i.get(Oo,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(je(t))return t.selectRootElement(e,n===ie.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):ui(l,s.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Ln,clean:Wi,playerHandler:null,flags:0},d=bi(0,-1,null,1,0,null,null,null,null,null),p=hi(null,d,h,u,null,null,s,a,o,i);let f,g;cn(p,null);try{const t=function(t,e,n,r,i,s){const o=n[1];n[20]=t;const a=di(o,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Ws(a,l,!0),null!==t&&(Sn(i,t,l),null!==a.classes&&ws(i,t,a.classes),null!==a.styles&&ys(i,t,a.styles)));const c=r.createRenderer(t,e),u=hi(n,vi(e),null,e.onPush?64:16,n[20],a,r,c,void 0);return o.firstCreatePass&&(Bn(Fn(a,n),o,e.type),Ii(o,a),Ri(a,n.length,1)),Fi(n,u),n[20]=u}(c,this.componentDef,p,s,a);if(c)if(n)Sn(a,c,["ng-version",Io.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r0&&ws(a,c,e.join(" "))}if(g=De(d,0),void 0!==e){const t=g.projection=[];for(let n=0;nt(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=Je();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){mn(a.index-we);const t=n[1];Ti(t,e),Ei(t,n,e.hostVars),Oi(e,o)}return o}(t,this.componentDef,p,h,[wo]),pi(d,p,null)}finally{fn()}const m=new ea(this.componentType,f,Ss(xo,g,p),p,g);return d.node.child=g,m}}class ea extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new bs(r),function(t,e,n,r){let i=t.node;null==i&&(t.node=i=xi(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=t}get injector(){return new Xn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const na=void 0;var ra=["en",[["a","p"],["AM","PM"],na],[["AM","PM"],na,na],[["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"]],na,[["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"]],na,[["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}",na,"{1} 'at' {0}",na],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let ia={};function sa(t){return t in ia||(ia[t]=Et.ng&&Et.ng.common&&Et.ng.common.locales&&Et.ng.common.locales[t]),ia[t]}var oa=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const aa="en-US";let la=aa;function ca(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(la=t.toLowerCase().replace(/_/g,"-"))}const ua=new Map;function ha(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${yt(e)} vs ${yt(e.name)}`)})(e,ua.get(e),t),ua.set(e,t)}let e=t.\u0275mod.imports;e instanceof Function&&(e=e()),e&&e.forEach(t=>ha(t))}class da extends Jt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ko(this);const n=ye(t),r=t[Rt]||null;r&&ca(r),this._bootstrapComponents=Un(n.bootstrap),this._r3Injector=Us(t,e,[{provide:Jt,useValue:this},{provide:_o,useValue:this.componentFactoryResolver}],yt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=qs.THROW_IF_NOT_FOUND,n=st.Default){return t===qs||t===Jt||t===Lt?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pa extends Kt{constructor(t){super(),this.moduleType=t,null!==ye(t)&&ha(t)}create(t){return new da(this.moduleType,t)}}function fa(t,e,n){const r=function(){const t=We.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}()+t,i=Ge();return i[r]===ni?function(t,e,n){return t[e]=n}(i,r,n?e.call(n):e()):function(t,e){return t[e]}(i,r)}const ga=class extends k{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,s=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,i,s);return t instanceof h&&t.add(o),o}};function ma(){return this._results[Gs()]()}class ya{constructor(){this.dirty=!0,this._results=[],this.changes=new ga,this.length=0;const t=Gs(),e=ya.prototype;e[t]||(e[t]=ma)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=Yt(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class wa{constructor(t){this.queryList=t,this.matches=null}clone(){return new wa(this.queryList)}setDirty(){this.queryList.setDirty()}}class va{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t0)r.push(o[t/2]);else{const i=s[t+1],o=e[-n];for(let t=ve;t{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Wt(Aa,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Ma=new Nt("AppId"),ja={provide:Ma,useFactory:function(){return`${Na()}${Na()}${Na()}`},deps:[]};function Na(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const La=new Nt("Platform Initializer"),Ua=new Nt("Platform ID"),Da=new Nt("appBootstrapListener");let Ha=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const za=new Nt("LocaleId"),Fa=new Nt("DefaultCurrencyCode");class $a{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Va=function(t){return new pa(t)},qa=Va,Ba=function(t){return Promise.resolve(Va(t))},Wa=function(t){const e=Va(t),n=Un(ye(t).declarations).reduce((t,e)=>{const n=ge(e);return n&&t.push(new ta(n)),t},[]);return new $a(e,n)},Za=Wa,Ga=function(t){return Promise.resolve(Wa(t))};let Qa=(()=>{class t{constructor(){this.compileModuleSync=qa,this.compileModuleAsync=Ba,this.compileModuleAndAllComponentsSync=Za,this.compileModuleAndAllComponentsAsync=Ga}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Ja=(()=>Promise.resolve(0))();function Ka(t){"undefined"==typeof Zone?Ja.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ya{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ga(!1),this.onMicrotaskEmpty=new ga(!1),this.onStable=new ga(!1),this.onError=new ga(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=Et.requestAnimationFrame,e=Et.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Et,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,nl(t),el(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),nl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,s,o,a)=>{try{return rl(t),n.invokeTask(i,s,o,a)}finally{e&&"eventTask"===s.type&&e(),il(t)}},onInvoke:(e,n,r,i,s,o,a)=>{try{return rl(t),e.invoke(r,i,s,o,a)}finally{il(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,nl(t),el(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ya.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ya.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,t,tl,Xa,Xa);try{return i.runTask(s,e,n)}finally{i.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Xa(){}const tl={};function el(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function nl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function rl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function il(t){t._nesting--,el(t)}class sl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ga,this.onMicrotaskEmpty=new ga,this.onStable=new ga,this.onError=new ga}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let ol=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ya.assertNotInAngularZone(),Ka(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Ka(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Wt(Ya))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),al=(()=>{class t{constructor(){this._applications=new Map,ul.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return ul.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class ll{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let cl,ul=new ll;const hl=new Nt("AllowMultipleToken");class dl{constructor(t,e){this.name=t,this.token=e}}function pl(t,e,n=[]){const r="Platform: "+e,i=new Nt(r);return(e=[])=>{let s=fl();if(!s||s.injector.get(hl,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:As,useValue:"platform"});!function(t){if(cl&&!cl.destroyed&&!cl.injector.get(hl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");cl=t.get(gl);const e=t.get(La,null);e&&e.forEach(t=>t())}(qs.create({providers:t,name:r}))}return function(t){const e=fl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function fl(){return cl&&!cl.destroyed?cl:null}let gl=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new sl:("zone.js"===t?void 0:t)||new Ya({enableLongStackTrace:yr(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Ya,useValue:n}];return n.run(()=>{const e=qs.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),s=i.injector.get(sr,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>wl(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const r=n();return ao(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=i.injector.get(Ra);return t.runInitializers(),t.donePromise.then(()=>(ca(i.injector.get(za,aa)||aa),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=ml({},e);return function(t,e,n){const r=new pa(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(yl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${yt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Wt(qs))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function ml(t,e){return Array.isArray(e)?e.reduce(ml,t):Object.assign(Object.assign({},t),e)}let yl=(()=>{class t{constructor(t,e,n,r,i,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=yr(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new w(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new w(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Ya.assertNotInAngularZone(),Ka(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ya.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return S(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof w?t[0]:V(e)(q(t,n))}(o,a.pipe(t=>{return B()((e=K,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Q);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){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.");let n;n=t instanceof vo?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Jt),i=n.create(qs.NULL,[],e||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const s=i.injector.get(ol,null);return s&&i.injector.get(al).registerApplication(i.location.nativeElement,s),this._loadComponent(i),yr()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;wl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Da,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),wl(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Wt(Ya),Wt(Ha),Wt(qs),Wt(sr),Wt(_o),Wt(Ra))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function wl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class vl{}class bl{}const _l={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let xl=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||_l}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>kl(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+i]).then(t=>kl(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Wt(Qa),Wt(bl,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function kl(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Cl=pl(null,"core",[{provide:Ua,useValue:"unknown"},{provide:gl,deps:[qs]},{provide:al,deps:[]},{provide:Ha,deps:[]}]),Sl=[{provide:yl,useClass:yl,deps:[Ya,Ha,qs,sr,_o,Ra]},{provide:Xo,deps:[Ya],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Ra,useClass:Ra,deps:[[new nt,Aa]]},{provide:Qa,useClass:Qa,deps:[]},ja,{provide:Fo,useFactory:function(){return qo},deps:[]},{provide:$o,useFactory:function(){return Bo},deps:[]},{provide:za,useFactory:function(t){return ca(t=t||"undefined"!=typeof $localize&&$localize.locale||aa),t},deps:[[new et(za),new nt,new it]]},{provide:Fa,useValue:"USD"}];let Tl=(()=>{class t{constructor(t){}}return t.\u0275mod=de({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Wt(yl))},providers:Sl}),t})(),El=null;function Ol(){return El}const Pl=new Nt("DocumentToken");let Il=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:Al,token:t,providedIn:"platform"}),t})();function Al(){return Wt(Ml)}const Rl=new Nt("Location Initialized");let Ml=(()=>{class t extends Il{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Ol().getLocation(),this._history=Ol().getHistory()}getBaseHrefFromDOM(){return Ol().getBaseHref(this._doc)}onPopState(t){Ol().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Ol().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){jl()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){jl()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Wt(Pl))},t.\u0275prov=at({factory:Nl,token:t,providedIn:"platform"}),t})();function jl(){return!!window.history.pushState}function Nl(){return new Ml(Wt(Pl))}function Ll(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Ul(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Dl(t){return t&&"?"!==t[0]?"?"+t:t}let Hl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:zl,token:t,providedIn:"root"}),t})();function zl(t){const e=Wt(Pl).location;return new $l(Wt(Il),e&&e.origin||"")}const Fl=new Nt("appBaseHref");let $l=(()=>{class t extends Hl{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ll(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Dl(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+Dl(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+Dl(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Wt(Il),Wt(Fl,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Vl=(()=>{class t extends Hl{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Ll(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let i=this.prepareExternalUrl(n+Dl(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+Dl(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Wt(Il),Wt(Fl,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),ql=(()=>{class t{constructor(t,e){this._subject=new ga,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Ul(Wl(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Dl(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Wl(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dl(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dl(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(Wt(Hl),Wt(Il))},t.normalizeQueryParams=Dl,t.joinWithSlash=Ll,t.stripTrailingSlash=Ul,t.\u0275prov=at({factory:Bl,token:t,providedIn:"root"}),t})();function Bl(){return new ql(Wt(Hl),Wt(Il))}function Wl(t){return t.replace(/\/index.html$/,"")}var Zl=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class Gl{}let Ql=(()=>{class t extends Gl{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=sa(e);if(n)return n;const r=e.split("-")[0];if(n=sa(r),n)return n;if("en"===r)return ra;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[oa.PluralCase]}(e||this.locale)(t)){case Zl.Zero:return"zero";case Zl.One:return"one";case Zl.Two:return"two";case Zl.Few:return"few";case Zl.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Wt(za))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Jl(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}class Kl{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Yl=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){yr()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Kl(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new Xl(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new Xl(t,i);e.push(s)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(to(Go),to(Wo),to(Fo))},t.\u0275dir=fe({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Xl{constructor(t,e){this.record=t,this.view=e}}let tc=(()=>{class t{}return t.\u0275mod=de({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[{provide:Gl,useClass:Ql}]}),t})();function ec(t){return"browser"===t}let nc=(()=>{class t{}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>new rc(Wt(Pl),window,Wt(sr))}),t})();class rc{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}class ic extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new ic,El||(El=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=oc||(oc=document.querySelector("base"),oc)?oc.getAttribute("href"):null;return null==e?null:(n=e,sc||(sc=document.createElement("a")),sc.setAttribute("href",n),"/"===sc.pathname.charAt(0)?sc.pathname:"/"+sc.pathname);var n}resetBaseElement(){oc=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Jl(document.cookie,t)}}let sc,oc=null;const ac=new Nt("TRANSITION_ID"),lc=[{provide:Aa,useFactory:function(t,e,n){return()=>{n.get(Ra).donePromise.then(()=>{const n=Ol();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[ac,Pl,qs],multi:!0}];class cc{static init(){var t;t=new cc,ul=t}addToWindow(t){Et.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Et.getAllAngularTestabilities=()=>t.getAllTestabilities(),Et.getAllAngularRootElements=()=>t.getAllRootElements(),Et.frameworkStabilizers||(Et.frameworkStabilizers=[]),Et.frameworkStabilizers.push(t=>{const e=Et.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(i)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Ol().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const uc=new Nt("EventManagerPlugins");let hc=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),fc=(()=>{class t extends pc{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Ol().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Wt(Pl))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const gc={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/"},mc=/%COMP%/g;function yc(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let vc=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new bc(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case ie.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new _c(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case ie.Native:case ie.ShadowDom:return new xc(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=yc(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Wt(hc),Wt(fc),Wt(Ma))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class bc{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(gc[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=gc[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=gc[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&So.DashCase?t.style.setProperty(e,n,r&So.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&So.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,wc(n)):this.eventManager.addEventListener(t,e,wc(n))}}class _c extends bc{constructor(t,e,n,r){super(t),this.component=n;const i=yc(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(mc,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(mc,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class xc extends bc{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===ie.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=yc(r.id,r.styles,[]);for(let s=0;s{class t extends dc{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Wt(Pl))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Cc=["alt","control","meta","shift"],Sc={"\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"},Tc={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"},Ec={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Oc=(()=>{class t extends dc{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),s=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ol().onAndCancel(e,i.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let s="";if(Cc.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=r,o.fullKey=s,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Tc.hasOwnProperty(e)&&(e=Tc[e]))}return Sc[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Cc.forEach(r=>{r!=n&&(0,Ec[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Wt(Pl))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Pc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:function(){return Wt(Ic)},token:t,providedIn:"root"}),t})(),Ic=(()=>{class t extends Pc{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case zr.NONE:return e;case zr.HTML:return pr(e,"HTML")?dr(e):function(t,e){let n=null;try{Dr=Dr||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new wr:new vr(t)}(t);let r=e?String(e):"";n=Dr.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Dr.getInertBodyElement(r)}while(r!==s);const o=new jr,a=o.sanitizeChildren(Hr(n)||n);return yr()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=Hr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}(this._doc,String(e));case zr.STYLE:return pr(e,"Style")?dr(e):e;case zr.SCRIPT:if(pr(e,"Script"))return dr(e);throw new Error("unsafe value used in a script context");case zr.URL:return fr(e),pr(e,"URL")?dr(e):xr(String(e));case zr.RESOURCE_URL:if(pr(e,"ResourceURL"))return dr(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new ar(t)}bypassSecurityTrustStyle(t){return new lr(t)}bypassSecurityTrustScript(t){return new cr(t)}bypassSecurityTrustUrl(t){return new ur(t)}bypassSecurityTrustResourceUrl(t){return new hr(t)}}return t.\u0275fac=function(e){return new(e||t)(Wt(Pl))},t.\u0275prov=at({factory:function(){return t=Wt(Lt),new Ic(t.get(Pl));var t},token:t,providedIn:"root"}),t})();const Ac=pl(Cl,"browser",[{provide:Ua,useValue:"browser"},{provide:La,useValue:function(){ic.makeCurrent(),cc.init()},multi:!0},{provide:Pl,useFactory:function(){return function(t){Me=t}(document),document},deps:[]}]),Rc=[[],{provide:As,useValue:"root"},{provide:sr,useFactory:function(){return new sr},deps:[]},{provide:uc,useClass:kc,multi:!0,deps:[Pl,Ya,Ua]},{provide:uc,useClass:Oc,multi:!0,deps:[Pl]},[],{provide:vc,useClass:vc,deps:[hc,fc,Ma]},{provide:Co,useExisting:vc},{provide:pc,useExisting:fc},{provide:fc,useClass:fc,deps:[Pl]},{provide:ol,useClass:ol,deps:[Ya]},{provide:hc,useClass:hc,deps:[uc,Ya]},[]];let Mc=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Ma,useValue:e.appId},{provide:ac,useExisting:Ma},lc]}}}return t.\u0275mod=de({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Wt(t,12))},providers:Rc,imports:[tc,Tl]}),t})();"undefined"!=typeof window&&window;var jc=n("DlQD");function Nc(...t){let e=t[t.length-1];return S(e)?(t.pop(),D(t,e)):q(t)}function Lc(t,e){return z(t,e,1)}function Uc(t,e){return function(n){return n.lift(new Dc(t,e))}}class Dc{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Hc(t,this.predicate,this.thisArg))}}class Hc extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}class zc{}class Fc{}class $c{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof $c?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new $c;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof $c?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Vc{encodeKey(t){return qc(t)}encodeValue(t){return qc(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function qc(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Bc{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Vc,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const r=t.indexOf("="),[i,s]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(i)||[];o.push(s),n.set(i,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Bc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function Wc(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Zc(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Gc(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Qc{constructor(t,e,n,r){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new $c),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new Qc(e,n,i,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:s})}}var Jc=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class Kc{constructor(t,e=200,n="OK"){this.headers=t.headers||new $c,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Yc extends Kc{constructor(t={}){super(t),this.type=Jc.ResponseHeader}clone(t={}){return new Yc({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Xc extends Kc{constructor(t={}){super(t),this.type=Jc.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Xc({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class tu extends Kc{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function eu(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let nu=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof Qc)r=t;else{let i=void 0;i=n.headers instanceof $c?n.headers:new $c(n.headers);let s=void 0;n.params&&(s=n.params instanceof Bc?n.params:new Bc({fromObject:n.params})),r=new Qc(t,e,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Nc(r).pipe(Lc(t=>this.handler.handle(t)));if(t instanceof Qc||"events"===n.observe)return i;const s=i.pipe(Uc(t=>t instanceof Xc));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(N(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe(N(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe(N(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return s.pipe(N(t=>t.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Bc).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,eu(n,e))}post(t,e,n={}){return this.request("POST",t,eu(n,e))}put(t,e,n={}){return this.request("PUT",t,eu(n,e))}}return t.\u0275fac=function(e){return new(e||t)(Wt(zc))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class ru{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const iu=new Nt("HTTP_INTERCEPTORS");let su=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const ou=/^\)\]\}',?\n/;class au{}let lu=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),cu=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new w(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let i=null;const s=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,r=n.statusText||"OK",s=new $c(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return i=new Yc({headers:s,status:e,statusText:r,url:o}),i},o=()=>{let{headers:r,status:i,statusText:o,url:a}=s(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(ou,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Xc({body:l,headers:r,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new tu({error:l,headers:r,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=s(),i=new tu({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(i)};let l=!1;const c=r=>{l||(e.next(s()),l=!0);let i={type:Jc.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},u=t=>{let n={type:Jc.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:Jc.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(Wt(au))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const uu=new Nt("XSRF_COOKIE_NAME"),hu=new Nt("XSRF_HEADER_NAME");class du{}let pu=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Jl(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Wt(Pl),Wt(Ua),Wt(uu))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),fu=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Wt(du),Wt(hu))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),gu=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(iu,[]);this.chain=t.reduceRight((t,e)=>new ru(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Wt(Fc),Wt(qs))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),mu=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:fu,useClass:su}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:uu,useValue:e.cookieName}:[],e.headerName?{provide:hu,useValue:e.headerName}:[]]}}}return t.\u0275mod=de({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[fu,{provide:iu,useExisting:fu,multi:!0},{provide:du,useClass:pu},{provide:uu,useValue:"XSRF-TOKEN"},{provide:hu,useValue:"X-XSRF-TOKEN"}]}),t})(),yu=(()=>{class t{}return t.\u0275mod=de({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[nu,{provide:zc,useClass:gu},cu,{provide:Fc,useExisting:cu},lu,{provide:au,useExisting:lu}],imports:[[mu.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();const wu=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),vu=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})(),bu=new w(t=>t.complete());function _u(t){return t?function(t){return new w(e=>t.schedule(()=>e.complete()))}(t):bu}function xu(t){return e=>0===t?_u():e.lift(new ku(t))}class ku{constructor(t){if(this.total=t,this.total<0)throw new vu}call(t,e){return e.subscribe(new Cu(t,this.total))}}class Cu extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Su(t=null){return e=>e.lift(new Tu(t))}class Tu{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Eu(t,this.defaultValue))}}class Eu extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Ou(t=Au){return e=>e.lift(new Pu(t))}class Pu{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Iu(t,this.errorFactory))}}class Iu extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function Au(){return new wu}function Ru(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Uc((e,n)=>t(e,n,r)):y,xu(1),n?Su(e):Ou(()=>new wu))}const Mu=["*"];class ju{}const Nu=new Nt("SECURITY_CONTEXT");let Lu=(()=>{class t{constructor(t,e,n,r,i){this.platform=t,this.securityContext=e,this.http=n,this.sanitizer=i,this.initialMarkedOptions={renderer:new jc.Renderer},this.options=r}get options(){return this._options}set options(t){this._options=Object.assign(Object.assign({},this.initialMarkedOptions),t)}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}compile(t,e=!1,n=!1,r=this.options){const i=this.trimIndentation(t),s=e?this.decodeHtml(i):i,o=n?this.renderEmoji(s):s,a=Object(jc.parse)(o,r);return this.sanitizer.sanitize(this.securityContext,a)||""}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe(N(e=>this.handleExtension(t,e)))}highlight(t){if(ec(this.platform)&&"undefined"!=typeof Prism){t||(t=document);const e=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(e,t=>t.classList.add("language-none")),Prism.highlightAllUnder(t)}}renderKatex(t,e){if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return t.replace(/\$([^\s][^$]*?[^\s])\$/gm,(t,n)=>katex.renderToString(n,e))}decodeHtml(t){if(ec(this.platform)){const e=document.createElement("textarea");return e.innerHTML=t,e.value}return t}handleExtension(t,e){const n=t?t.split("?")[0].split(".").splice(-1).join():null;return"md"!==n?"```"+n+"\n"+e+"\n```":e}renderEmoji(t){if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}trimIndentation(t){if(!t)return"";let e;return t.split("\n").map(t=>{let n=e;return t.length>0&&(n=isNaN(n)?t.search(/\S|$/):Math.min(t.search(/\S|$/),n)),isNaN(e)&&(e=n),n?t.substring(n):t}).join("\n")}}return t.\u0275fac=function(e){return new(e||t)(Wt(Ua),Wt(Nu),Wt(nu,8),Wt(ju,8),Wt(Pc))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();var Uu=function(t){return t.LineHighlight="line-highlight",t.LineNumbers="line-numbers",t}({});let Du=(()=>{class t{constructor(t,e){this.element=t,this.markdownService=e,this.error=new ga,this.load=new ga,this.ready=new ga,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}ngOnChanges(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){this.data||this.src||this.handleTransclusion()}render(t,e=!1){let n=this.markdownService.compile(t,e,this.emoji);n=this.katex?this.markdownService.renderKatex(n,this.katexOptions):n,this.element.nativeElement.innerHTML=n,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}coerceBooleanProperty(t){return null!=t&&""+t!="false"}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe(t=>{this.render(t),this.load.emit(t)},t=>this.error.emit(t))}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.lineHighlight&&(this.setPluginClass(this.element.nativeElement,Uu.LineHighlight),this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset})),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Uu.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,e){const n=t.querySelectorAll("pre");for(let r=0;r{const i=e[t];if(i){const e=this.toLispCase(t);n.item(r).setAttribute(e,i.toString())}})}toLispCase(t){const e=t.match(/([A-Z])/g);if(!e)return t;let n=t.toString();for(let r=0,i=e.length;r{class t{static forRoot(e){return{ngModule:t,providers:[Lu,e&&e.loader||[],e&&e.markedOptions||[],{provide:Nu,useValue:e&&null!=e.sanitize?e.sanitize:zr.HTML}]}}static forChild(){return{ngModule:t}}}return t.\u0275mod=de({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})();class zu extends k{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(t){super.next(this._value=t)}}const Fu={};class $u{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Vu(t,this.resultSelector))}}class Vu extends j{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Fu),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{let n;try{n=t()}catch(r){return void e.error(r)}return(n?H(n):_u()).subscribe(e)})}function Bu(){return V(1)}function Wu(t){return function(e){return 0===t?_u():e.lift(new Zu(t))}}class Zu{constructor(t){if(this.total=t,this.total<0)throw new vu}call(t,e){return e.subscribe(new Gu(t,this.total))}}class Gu extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;in.pipe(ih((n,r)=>H(t(n,r)).pipe(N((t,i)=>e(n,t,r,i))))):e=>e.lift(new sh(t))}class sh{constructor(t){this.project=t}call(t,e){return e.subscribe(new oh(t,this.project))}}class oh extends j{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const i=new T(this,e,n),s=this.destination;s.add(i),this.innerSubscription=M(this,t,void 0,void 0,i),this.innerSubscription!==i&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,i){this.destination.next(e)}}function ah(...t){return Bu()(Nc(...t))}class lh{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new ch(t,this.accumulator,this.seed,this.hasSeed))}}class ch extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}class uh{constructor(t){this.callback=t}call(t,e){return e.subscribe(new hh(t,this.callback))}}class hh extends f{constructor(t,e){super(t),this.add(new h(e))}}class dh{constructor(t,e){this.id=t,this.url=e}}class ph extends dh{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fh extends dh{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class gh extends dh{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class mh extends dh{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yh extends dh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wh extends dh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vh extends dh{constructor(t,e,n,r,i){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class bh extends dh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _h extends dh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xh{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class kh{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ch{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sh{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Th{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Eh{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oh{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Ph="primary";class Ih{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Ah(t){return new Ih(t)}function Rh(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Mh(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthe.indexOf(t)>-1):t===e}function Lh(t){return Array.prototype.concat.apply([],t)}function Uh(t){return t.length>0?t[t.length-1]:null}function Dh(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Hh(t){return(e=t)&&"function"==typeof e.subscribe?t:ao(t)?H(Promise.resolve(t)):Nc(t);var e}function zh(t,e,n){return n?function(t,e){return jh(t,e)}(t.queryParams,e.queryParams)&&Fh(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Nh(t[n],e[n]))}(t.queryParams,e.queryParams)&&$h(t.root,e.root)}function Fh(t,e){if(!Zh(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Fh(t.children[n],e.children[n]))return!1}return!0}function $h(t,e){return Vh(t,e,e.segments)}function Vh(t,e,n){if(t.segments.length>n.length)return!!Zh(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!Zh(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!$h(t.children[n],e.children[n]))return!1}return!0}{const r=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!Zh(t.segments,r)&&!!t.children.primary&&Vh(t.children.primary,e,i)}}class qh{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ah(this.queryParams)),this._queryParamMap}toString(){return Kh.serialize(this)}}class Bh{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Dh(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yh(this)}}class Wh{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ah(this.parameters)),this._parameterMap}toString(){return sd(this)}}function Zh(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Gh(t,e){let n=[];return Dh(t.children,(t,r)=>{r===Ph&&(n=n.concat(e(t,r)))}),Dh(t.children,(t,r)=>{r!==Ph&&(n=n.concat(e(t,r)))}),n}class Qh{}class Jh{parse(t){const e=new ud(t);return new qh(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+Xh(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${ed(e)}=${ed(t)}`).join("&"):`${ed(e)}=${ed(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Kh=new Jh;function Yh(t){return t.segments.map(t=>sd(t)).join("/")}function Xh(t,e){if(!t.hasChildren())return Yh(t);if(e){const e=t.children.primary?Xh(t.children.primary,!1):"",n=[];return Dh(t.children,(t,e)=>{e!==Ph&&n.push(`${e}:${Xh(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=Gh(t,(e,n)=>n===Ph?[Xh(t.children.primary,!1)]:[`${n}:${Xh(e,!1)}`]);return`${Yh(t)}/(${e.join("//")})`}}function td(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ed(t){return td(t).replace(/%3B/gi,";")}function nd(t){return td(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rd(t){return decodeURIComponent(t)}function id(t){return rd(t.replace(/\+/g,"%20"))}function sd(t){return`${nd(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${nd(t)}=${nd(e[t])}`).join("")}`;var e}const od=/^[^\/()?;=#]+/;function ad(t){const e=t.match(od);return e?e[0]:""}const ld=/^[^=?&#]+/,cd=/^[^?&#]+/;class ud{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Bh([],{}):new Bh([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Bh(t,e)),n}parseSegment(){const t=ad(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Wh(rd(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=ad(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=ad(this.remaining);t&&(n=t,this.capture(n))}t[rd(e)]=rd(n)}parseQueryParam(t){const e=function(t){const e=t.match(ld);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(cd);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=id(e),i=id(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=ad(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=Ph);const s=this.parseChildren();e[i]=1===Object.keys(s).length?s.primary:new Bh([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class hd{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=dd(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=dd(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=pd(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return pd(t,this._root).map(t=>t.value)}}function dd(t,e){if(t===e.value)return e;for(const n of e.children){const e=dd(t,n);if(e)return e}return null}function pd(t,e){if(t===e.value)return[e];for(const n of e.children){const r=pd(t,n);if(r.length)return r.unshift(e),r}return[]}class fd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function gd(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class md extends hd{constructor(t,e){super(t),this.snapshot=e,xd(this,t)}toString(){return this.snapshot.toString()}}function yd(t,e){const n=function(t,e){const n=new bd([],{},{},"",{},Ph,e,null,t.root,-1,{});return new _d("",new fd(n,[]))}(t,e),r=new zu([new Wh("",{})]),i=new zu({}),s=new zu({}),o=new zu({}),a=new zu(""),l=new wd(r,i,o,a,s,Ph,e,n.root);return l.snapshot=n.root,new md(new fd(l,[]),n)}class wd{constructor(t,e,n,r,i,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(N(t=>Ah(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(N(t=>Ah(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vd(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class bd{constructor(t,e,n,r,i,s,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ah(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ah(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _d extends hd{constructor(t,e){super(e),this.url=t,xd(this,e)}toString(){return kd(this._root)}}function xd(t,e){e.value._routerState=t,e.children.forEach(e=>xd(t,e))}function kd(t){const e=t.children.length>0?` { ${t.children.map(kd).join(", ")} } `:"";return`${t.value}${e}`}function Cd(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,jh(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),jh(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;njh(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Sd(t.parent,e.parent))}function Td(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(r.value.snapshot,e.value))return Td(t,e,r);return Td(t,e)})}(t,e,n);return new fd(r,i)}{const n=t.retrieve(e.value);if(n){const t=n.route;return Ed(e,t),t}{const n=new wd(new zu((r=e.value).url),new zu(r.params),new zu(r.queryParams),new zu(r.fragment),new zu(r.data),r.outlet,r.component,r),i=e.children.map(e=>Td(t,e));return new fd(n,i)}}var r}function Ed(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new qh(n.root===t?e:Id(n.root,t,e),s,i)}function Id(t,e,n){const r={};return Dh(t.children,(t,i)=>{r[i]=t===e?n:Id(t,e,n)}),new Bh(t.segments,r)}class Ad{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Od(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Uh(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Rd{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Md(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function jd(t,e,n){if(t||(t=new Bh([],{})),0===t.segments.length&&t.hasChildren())return Nd(t,e,n);const r=function(t,e,n){let r=0,i=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return s;const e=t.segments[i],o=Md(n[r]),a=r0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!Hd(o,a,e))return s;r+=2}else{if(!Hd(o,{},e))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex{null!==n&&(i[r]=jd(t.children[r],e,n))}),Dh(t.children,(t,e)=>{void 0===r[e]&&(i[e]=t)}),new Bh(t.segments,i)}}function Ld(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i{null!==t&&(e[n]=Ld(new Bh([],{}),0,t))}),e}function Dd(t){const e={};return Dh(t,(t,n)=>e[n]=""+t),e}function Hd(t,e,n){return t==n.path&&jh(e,n.parameters)}class zd{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Cd(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=gd(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Dh(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=gd(t),i=t.value.component?n.children:e;Dh(r,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=gd(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Eh(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Sh(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(Cd(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Fd(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=i,e.outlet&&e.outlet.activateWith(r,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Fd(t){Cd(t.value),t.children.forEach(Fd)}class $d{constructor(t,e){this.routes=t,this.module=e}}function Vd(t){return"function"==typeof t}function qd(t){return t instanceof qh}class Bd{constructor(t){this.segmentGroup=t||null}}class Wd{constructor(t){this.urlTree=t}}function Zd(t){return new w(e=>e.error(new Bd(t)))}function Gd(t){return new w(e=>e.error(new Wd(t)))}function Qd(t){return new w(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Jd{constructor(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(Jt)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Ph).pipe(N(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Qu(t=>{if(t instanceof Wd)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Bd)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Ph).pipe(N(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Qu(t=>{if(t instanceof Bd)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new Bh([],{[Ph]:t}):t;return new qh(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(N(t=>new Bh([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Nc({});const n=[],r=[],i={};return Dh(t,(t,s)=>{const o=e(s,t).pipe(N(t=>i[s]=t));s===Ph?n.push(o):r.push(o)}),Nc.apply(null,n.concat(r)).pipe(Bu(),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Uc((e,n)=>t(e,n,r)):y,Wu(1),n?Su(e):Ou(()=>new wu))}(),N(()=>i))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,i,s){return Nc(...n).pipe(N(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,i,s).pipe(Qu(t=>{if(t instanceof Bd)return Nc(null);throw t}))),Bu(),Ru(t=>!!t),Qu((t,n)=>{if(t instanceof wu||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,i))return Nc(new Bh([],{}));throw new Bd(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,i,s,o){return tp(r)!==s?Zd(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s):Zd(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Gd(i):this.lineralizeSegments(n,i).pipe(z(n=>{const i=new Bh(n,{});return this.expandSegment(t,i,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Kd(e,r,i);if(!o)return Zd(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Gd(u):this.lineralizeSegments(r,u).pipe(z(r=>this.expandSegment(t,e,n,r.concat(i.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(N(t=>(n._loadedConfig=t,new Bh(r,{})))):Nc(new Bh(r,{}));const{matched:i,consumedSegments:s,lastChild:o}=Kd(e,n,r);if(!i)return Zd(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe(z(t=>{const n=t.module,r=t.routes,{segmentGroup:i,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Xd(t,e,n)&&tp(n)!==Ph)}(t,n,r)?{segmentGroup:Yd(new Bh(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&tp(r)!==Ph&&(n[tp(r)]=new Bh([],{}));return n}(r,new Bh(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Xd(t,e,n))}(t,n,r)?{segmentGroup:Yd(new Bh(t.segments,function(t,e,n,r){const i={};for(const s of n)Xd(t,e,s)&&!r[tp(s)]&&(i[tp(s)]=new Bh([],{}));return Object.assign(Object.assign({},r),i)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,a,r);return 0===o.length&&i.hasChildren()?this.expandChildren(n,r,i).pipe(N(t=>new Bh(s,t))):0===r.length&&0===o.length?Nc(new Bh(s,{})):this.expandSegment(n,i,r,o,Ph,!0).pipe(N(t=>new Bh(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Nc(new $d(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Nc(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(z(n=>n?this.configLoader.load(t.injector,e).pipe(N(t=>(e._loadedConfig=t,t))):function(t){return new w(e=>e.error(Rh(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Nc(new $d([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?H(r).pipe(N(r=>{const i=t.get(r);let s;if(function(t){return t&&Vd(t.canLoad)}(i))s=i.canLoad(e,n);else{if(!Vd(i))throw new Error("Invalid CanLoad guard");s=i(e,n)}return Hh(s)})).pipe(Bu(),Xu(t=>{if(!qd(t))return;const e=Rh(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(i=t=>!0===t,t=>t.lift(new nh(i,void 0,t)))):Nc(!0);var i}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Nc(n);if(r.numberOfChildren>1||!r.children.primary)return Qd(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new qh(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Dh(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let s={};return Dh(e.children,(e,i)=>{s[i]=this.createSegmentGroup(t,e,n,r)}),new Bh(i,s)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Kd(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||Mh)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Yd(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Bh(t.segments.concat(e.segments),e.children)}return t}function Xd(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function tp(t){return t.outlet||Ph}class ep{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class np{constructor(t,e){this.component=t,this.route=e}}function rp(t,e,n){const r=t._root;return sp(r,e?e._root:null,n,[r.value])}function ip(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function sp(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=gd(e);return t.children.forEach(t=>{!function(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Zh(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Zh(t.url,e.url)||!jh(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Sd(t,e)||!jh(t.queryParams,e.queryParams);case"paramsChange":default:return!Sd(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ep(r)):(s.data=o.data,s._resolvedData=o._resolvedData),sp(t,e,s.component?a?a.children:null:n,r,i),l&&i.canDeactivateChecks.push(new np(a&&a.outlet&&a.outlet.component||null,o))}else o&&op(e,a,i),i.canActivateChecks.push(new ep(r)),sp(t,null,s.component?a?a.children:null:n,r,i)}(t,s[t.value.outlet],n,r.concat([t.value]),i),delete s[t.value.outlet]}),Dh(s,(t,e)=>op(t,n.getContext(e),i)),i}function op(t,e,n){const r=gd(t),i=t.value;Dh(r,(t,r)=>{op(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new np(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}const ap=Symbol("INITIAL_VALUE");function lp(){return ih(t=>function(...t){let e=null,n=null;return S(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),q(t,n).lift(new $u(e))}(...t.map(t=>t.pipe(xu(1),function(...t){const e=t[t.length-1];return S(e)?(t.pop(),n=>ah(t,n,e)):e=>ah(t,e)}(ap)))).pipe(function(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new lh(t,e,n))}}((t,e)=>{let n=!1;return e.reduce((t,r,i)=>{if(t!==ap)return t;if(r===ap&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||qd(r))return r}return t},t)},ap),Uc(t=>t!==ap),N(t=>qd(t)?t:!0===t),xu(1)))}function cp(t,e){return null!==t&&e&&e(new Th(t)),Nc(!0)}function up(t,e){return null!==t&&e&&e(new Ch(t)),Nc(!0)}function hp(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Nc(r.map(r=>qu(()=>{const i=ip(r,e,n);let s;if(function(t){return t&&Vd(t.canActivate)}(i))s=Hh(i.canActivate(e,t));else{if(!Vd(i))throw new Error("Invalid CanActivate guard");s=Hh(i(e,t))}return s.pipe(Ru())}))).pipe(lp()):Nc(!0)}function dp(t,e,n){const r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>qu(()=>Nc(e.guards.map(i=>{const s=ip(i,e.node,n);let o;if(function(t){return t&&Vd(t.canActivateChild)}(s))o=Hh(s.canActivateChild(r,t));else{if(!Vd(s))throw new Error("Invalid CanActivateChild guard");o=Hh(s(r,t))}return o.pipe(Ru())})).pipe(lp())));return Nc(i).pipe(lp())}class pp{}class fp{constructor(t,e,n,r,i,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){try{const t=yp(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Ph),n=new bd([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Ph,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new fd(n,e),i=new _d(this.url,r);return this.inheritParamsAndData(i._root),Nc(i)}catch(t){return new w(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=vd(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Gh(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===Ph?-1:e.value.outlet===Ph?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,r)}catch(i){if(!(i instanceof pp))throw i}if(this.noLeftoversInUrl(e,n,r))return[];throw new pp}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new pp;if((t.outlet||Ph)!==r)throw new pp;let i,s=[],o=[];if("**"===t.path){const s=n.length>0?Uh(n).parameters:{};i=new bd(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,bp(t),r,t.component,t,gp(e),mp(e)+n.length,_p(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new pp;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Mh)(n,t,e);if(!r)throw new pp;const i={};Dh(r.posParams,(t,e)=>{i[e]=t.path});const s=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(e,t,n);s=a.consumedSegments,o=n.slice(a.lastChild),i=new bd(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,bp(t),r,t.component,t,gp(e),mp(e)+s.length,_p(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=yp(e,s,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new fd(i,t)]}if(0===a.length&&0===c.length)return[new fd(i,[])];const u=this.processSegment(a,l,c,Ph);return[new fd(i,u)]}}function gp(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function mp(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function yp(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some(n=>wp(t,e,n)&&vp(n)!==Ph)}(t,n,r)){const i=new Bh(e,function(t,e,n,r){const i={};i.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&vp(s)!==Ph){const n=new Bh([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[vp(s)]=n}return i}(t,e,r,new Bh(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>wp(t,e,n))}(t,n,r)){const s=new Bh(t.segments,function(t,e,n,r,i,s){const o={};for(const a of r)if(wp(t,n,a)&&!i[vp(a)]){const n=new Bh([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[vp(a)]=n}return Object.assign(Object.assign({},i),o)}(t,e,n,r,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Bh(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function wp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function vp(t){return t.outlet||Ph}function bp(t){return t.data||{}}function _p(t){return t.resolve||{}}function xp(t){return function(e){return e.pipe(ih(e=>{const n=t(e);return n?H(n).pipe(N(()=>e)):H([e])}))}}class kp{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Cp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=le({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&oo(0,"router-outlet")},directives:function(){return[$p]},encapsulation:2}),t})();function Sp(t,e=""){for(let n=0;n{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new $d(Lh(r.injector.get(Pp)).map(Op),r)}))}loadModuleFactory(t){return"string"==typeof t?H(this.loader.load(t)):Hh(t()).pipe(z(t=>t instanceof Kt?Nc(t):H(this.compiler.compileModuleAsync(t))))}}class Ap{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Rp,this.attachRef=null}}class Rp{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Ap,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Mp{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function jp(t){throw t}function Np(t,e,n){return e.parse("/")}function Lp(t,e){return Nc(null)}let Up=(()=>{class t{constructor(t,e,n,r,i,s,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new k,this.errorHandler=jp,this.malformedUriErrorHandler=Np,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Lp,afterPreactivation:Lp},this.urlHandlingStrategy=new Mp,this.routeReuseStrategy=new kp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(Jt),this.console=i.get(Ha);const l=i.get(Ya);this.isNgZoneEnabled=l instanceof Ya,this.resetConfig(a),this.currentUrlTree=new qh(new Bh([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ip(s,o,t=>this.triggerEvent(new xh(t)),t=>this.triggerEvent(new kh(t))),this.routerState=yd(this.currentUrlTree,this.rootComponentType),this.transitions=new zu({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Uc(t=>0!==t.id),N(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),ih(t=>{let n=!1,r=!1;return Nc(t).pipe(Xu(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ih(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Nc(t).pipe(ih(t=>{const n=this.transitions.getValue();return e.next(new ph(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?bu:[t]}),ih(t=>Promise.resolve(t)),(r=this.ngModule.injector,i=this.configLoader,s=this.urlSerializer,o=this.config,function(t){return t.pipe(ih(t=>function(t,e,n,r,i){return new Jd(t,e,n,r,i).apply()}(r,i,s,t.extractedUrl,o).pipe(N(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Xu(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,i){return function(s){return s.pipe(z(s=>function(t,e,n,r,i="emptyOnly",s="legacy"){return new fp(t,e,n,r,i,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(N(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Xu(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Xu(t=>{const n=new yh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,i,s,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:o}=t,a=new ph(n,this.serializeUrl(r),i,s);e.next(a);const l=yd(r,this.rootComponentType).snapshot;return Nc(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),bu}),xp(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),Xu(t=>{const e=new wh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),N(t=>Object.assign(Object.assign({},t),{guards:rp(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(z(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?Nc(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return H(t).pipe(z(t=>function(t,e,n,r,i){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?Nc(s.map(s=>{const o=ip(s,e,i);let a;if(function(t){return t&&Vd(t.canDeactivate)}(o))a=Hh(o.canDeactivate(t,e,n,r));else{if(!Vd(o))throw new Error("Invalid CanDeactivate guard");a=Hh(o(t,e,n,r))}return a.pipe(Ru())})).pipe(lp()):Nc(!0)}(t.component,t.route,n,e,r)),Ru(t=>!0!==t,!0))}(o,r,i,t).pipe(z(n=>n&&"boolean"==typeof n?function(t,e,n,r){return H(e).pipe(Lc(e=>H([up(e.route.parent,r),cp(e.route,r),dp(t,e.path,n),hp(t,e.route,n)]).pipe(Bu(),Ru(t=>!0!==t,!0))),Ru(t=>!0!==t,!0))}(r,s,t,e):Nc(n)),N(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Xu(t=>{if(qd(t.guardsResult)){const e=Rh(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Xu(t=>{const e=new vh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Uc(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new gh(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),xp(t=>{if(t.guards.canActivateChecks.length)return Nc(t).pipe(Xu(t=>{const e=new bh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),ih(t=>{let n=!1;return Nc(t).pipe((r=this.paramsInheritanceStrategy,i=this.ngModule.injector,function(t){return t.pipe(z(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Nc(t);let s=0;return H(n).pipe(Lc(t=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return Nc({});const s={};return H(i).pipe(z(i=>function(t,e,n,r){const i=ip(t,e,r);return Hh(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,r).pipe(Xu(t=>{s[i]=t}))),Wu(1),z(()=>Object.keys(s).length===i.length?Nc(s):bu))}(t._resolve,t,e,r).pipe(N(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),vd(t,n).resolve),null)))}(t.route,e,r,i)),Xu(()=>s++),Wu(1),z(e=>s===n.length?Nc(t):bu))}))}),Xu({next:()=>n=!0,complete:()=>{if(!n){const n=new gh(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,i}),Xu(t=>{const e=new _h(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),xp(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),N(t=>{const e=function(t,e,n){const r=Td(t,e._root,n?n._root:void 0);return new md(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Xu(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),N(t=>(new zd(o,t.targetRouterState,t.currentRouterState,a).activate(s),t))),Xu({next(){n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new gh(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new uh(i))),Qu(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=qd(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new gh(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new mh(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var i;return bu}));var i,s,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Sp(t),this.config=t.map(Op),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:i,preserveQueryParams:s,queryParamsHandling:o,preserveFragment:a}=e;yr()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=a?this.currentUrlTree.fragment:i;let u=null;if(o)switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=s?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,i){if(0===n.length)return Pd(e.root,e.root,e,r,i);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Ad(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Dh(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Ad(n,e,r)}(n);if(s.toRoot())return Pd(e.root,new Bh([],{}),e,r,i);const o=function(t,e,n){if(t.isAbsolute)return new Rd(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Rd(t,t===e.root,0)}const r=Od(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Rd(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?Nd(o.segmentGroup,o.index,s.commands):jd(o.segmentGroup,o.index,s.commands);return Pd(o.segmentGroup,a,e,r,i)}(l,this.currentUrlTree,t,u,c)}navigateByUrl(t,e={skipLocationChange:!1}){yr()&&this.isNgZoneEnabled&&!Ya.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=qd(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new fh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,i){const s=this.getTransition();if(s&&"imperative"!==e&&"imperative"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"hashchange"==e&&"popstate"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"popstate"==e&&"hashchange"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);let o,a,l;i?(o=i.resolve,a=i.reject,l=i.promise):l=new Promise((t,e)=>{o=t,a=e});const c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:o,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(Wt(Is),Wt(Qh),Wt(Rp),Wt(ql),Wt(qs),Wt(vl),Wt(Qa),Wt(void 0))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Dp=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){yr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:zp(this.skipLocationChange),replaceUrl:zp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:zp(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:zp(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(to(Up),to(wd),eo("tabindex"),to(To),to(xo))},t.\u0275dir=fe({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&lo("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),t})(),Hp=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof fh&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){yr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:zp(this.skipLocationChange),replaceUrl:zp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:zp(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:zp(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(to(Up),to(wd),to(Hl))},t.\u0275dir=fe({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&lo("click",function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)}),2&t&&(yo("href",e.href,Fr),Ys("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Oe]}),t})();function zp(t){return""===t||!!t}let Fp=(()=>{class t{constructor(t,e,n,r,i,s){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=i,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(t=>{t instanceof fh&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(t=>this.update()),this.linksWithHrefs.changes.subscribe(t=>this.update()),this.update()}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(to(Up),to(xo),to(To),to(Os),to(Dp,8),to(Hp,8))},t.\u0275dir=fe({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var r;1&t&&(Oa(n,Dp,!0),Oa(n,Hp,!0)),2&t&&(Ea(r=Pa())&&(e.links=r),Ea(r=Pa())&&(e.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[Oe]}),t})(),$p=(()=>{class t{constructor(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new ga,this.deactivateEvents=new ga,this.name=r||Ph,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new Vp(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(to(Rp),to(Go),to(_o),eo("name"),to(Os))},t.\u0275dir=fe({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Vp{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===wd?this.route:t===Rp?this.childContexts:this.parent.get(t,e)}}class qp{}class Bp{preload(t,e){return Nc(null)}}let Wp=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new Ip(e,n,e=>t.triggerEvent(new xh(e)),e=>t.triggerEvent(new kh(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Uc(t=>t instanceof fh),Lc(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Jt);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return H(n).pipe(V(),N(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(z(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(Wt(Up),Wt(vl),Wt(Qa),Wt(qs),Wt(qp))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Zp=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ph?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof fh&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Oh&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Oh(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Wt(Up),Wt(nc),Wt(void 0))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Gp=new Nt("ROUTER_CONFIGURATION"),Qp=new Nt("ROUTER_FORROOT_GUARD"),Jp=[ql,{provide:Qh,useClass:Jh},{provide:Up,useFactory:function(t,e,n,r,i,s,o,a={},l,c){const u=new Up(null,t,e,n,r,i,s,Lh(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),a.errorHandler&&(u.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(u.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=Ol();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(u.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(u.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(u.relativeLinkResolution=a.relativeLinkResolution),u},deps:[Qh,Rp,ql,qs,vl,Qa,Pp,Gp,[class{},new nt],[class{},new nt]]},Rp,{provide:wd,useFactory:function(t){return t.routerState.root},deps:[Up]},{provide:vl,useClass:xl},Wp,Bp,class{preload(t,e){return e().pipe(Qu(()=>Nc(null)))}},{provide:Gp,useValue:{enableTracing:!1}}];function Kp(){return new dl("Router",Up)}let Yp=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Jp,nf(e),{provide:Qp,useFactory:ef,deps:[[Up,new nt,new it]]},{provide:Gp,useValue:n||{}},{provide:Hl,useFactory:tf,deps:[Il,[new et(Fl),new nt],Gp]},{provide:Zp,useFactory:Xp,deps:[Up,nc,Gp]},{provide:qp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Bp},{provide:dl,multi:!0,useFactory:Kp},[rf,{provide:Aa,multi:!0,useFactory:sf,deps:[rf]},{provide:af,useFactory:of,deps:[rf]},{provide:Da,multi:!0,useExisting:af}]]}}static forChild(e){return{ngModule:t,providers:[nf(e)]}}}return t.\u0275mod=de({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Wt(Qp,8),Wt(Up,8))}}),t})();function Xp(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Zp(t,e,n)}function tf(t,e,n={}){return n.useHash?new Vl(t,e):new $l(t,e)}function ef(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function nf(t){return[{provide:Bs,multi:!0,useValue:t},{provide:Pp,multi:!0,useValue:t}]}let rf=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new k}appInitializer(){return this.injector.get(Rl,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Up),r=this.injector.get(Gp);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Nc(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Gp),n=this.injector.get(Wp),r=this.injector.get(Zp),i=this.injector.get(Up),s=this.injector.get(yl);t===s.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(Wt(qs))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function sf(t){return t.appInitializer.bind(t)}function of(t){return t.bootstrapListener.bind(t)}const af=new Nt("Router Initializer"),lf=function(){return{exact:!0}};let cf=(()=>{class t{constructor(){this.title="pfleming-app"}ngOnInit(){this.navigation={home:"HOME",writing:"WRITING",learning:"LEARNING"}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=le({type:t,selectors:[["app-root"]],decls:14,vars:5,consts:[[1,"appContainer"],[1,"navbar"],[1,"navPills"],[1,"navItem"],["routerLink","","routerLinkActive","activeHome",1,"navLink","homeLink",3,"routerLinkActiveOptions"],["routerLink","/writing","routerLinkActive","activeWriting",1,"navLink","writingLink"],["routerLink","/learning","routerLinkActive","activeLearning",1,"navLink","learningLink"],[1,"contentContainer"]],template:function(t,e){1&t&&(io(0,"div",0),io(1,"nav",1),io(2,"ul",2),io(3,"li",3),io(4,"a",4),fo(5),so(),so(),io(6,"li",3),io(7,"a",5),fo(8),so(),so(),io(9,"li",3),io(10,"a",6),fo(11),so(),so(),so(),so(),io(12,"main",7),oo(13,"router-outlet"),so(),so()),2&t&&(ai(4),no("routerLinkActiveOptions",fa(4,lf)),ai(1),go(e.navigation.home),ai(3),go(e.navigation.writing),ai(3),go(e.navigation.learning))},directives:[Hp,Fp,$p],styles:[".navbar[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;letter-spacing:2px;z-index:1}.navbar[_ngcontent-%COMP%], .navPills[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center}.navPills[_ngcontent-%COMP%]{list-style-type:none;margin:0}.navItem[_ngcontent-%COMP%]{margin-top:15px;margin-left:25px;margin-right:25px}.navLink[_ngcontent-%COMP%], .navLink[_ngcontent-%COMP%]:hover{color:rgba(0,0,0,.87);animation-duration:.5s;text-decoration:none}.navLink[_ngcontent-%COMP%]:hover{animation-fill-mode:forwards}.homeLink[_ngcontent-%COMP%]{animation-name:homeLinkUnhover}.homeLink[_ngcontent-%COMP%]:hover{animation-name:homeLinkHover}.writingLink[_ngcontent-%COMP%]{animation-name:writingLinkUnhover}.writingLink[_ngcontent-%COMP%]:hover{animation-name:writingLinkHover}.learningLink[_ngcontent-%COMP%]{animation-name:learningLinkUnhover}.learningLink[_ngcontent-%COMP%]:hover{animation-name:learningLinkHover}.activeHome[_ngcontent-%COMP%]{box-shadow:inset 0 -3px 0 0 #ffaebc}.activeWriting[_ngcontent-%COMP%]{box-shadow:inset 0 -3px 0 0 #b4f8c8}.activeLearning[_ngcontent-%COMP%]{box-shadow:inset 0 -3px 0 0 #fbe7c6}@keyframes homeLinkHover{0%{box-shadow:none}to{box-shadow:inset 0 -1.5em 0 0 #ffaebc}}@keyframes homeLinkUnhover{0%{box-shadow:inset 0 -1.5em 0 0 #ffaebc}}@keyframes writingLinkHover{0%{box-shadow:none}to{box-shadow:inset 0 -1.5em 0 0 #b4f8c8}}@keyframes writingLinkUnhover{0%{box-shadow:inset 0 -1.5em 0 0 #b4f8c8}}@keyframes learningLinkHover{0%{box-shadow:none}to{box-shadow:inset 0 -1.5em 0 0 #fbe7c6}}@keyframes learningLinkUnhover{0%{box-shadow:inset 0 -1.5em 0 0 #fbe7c6}}@media (max-width:850px){.navbar[_ngcontent-%COMP%]{font-size:12px}.navPills[_ngcontent-%COMP%]{padding:0}.homeLink[_ngcontent-%COMP%], .homeLink[_ngcontent-%COMP%]:hover, .learningLink[_ngcontent-%COMP%], .learningLink[_ngcontent-%COMP%]:hover, .writingLink[_ngcontent-%COMP%], .writingLink[_ngcontent-%COMP%]:hover{animation-name:unset}}"]}),t})(),uf=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=le({type:t,selectors:[["app-writing"]],decls:38,vars:0,consts:[[1,"writing"],[1,"titleContainer"],["routerLink","/writing",1,"title"],[1,"articlesContainer"],[1,"articleHeader"],[1,"articles"],[1,"articleYear"],[1,"articleLinkContainer"],[1,"articleDate"],[1,"articleTitleContainer"],["routerLink","/writing/hiking-roan-mountain",1,"articleTitle"],["routerLink","/writing/2020-running",1,"articleTitle"],["routerLink","/writing/2020-reading-list",1,"articleTitle"]],template:function(t,e){1&t&&(io(0,"div",0),io(1,"div",1),io(2,"a",2),fo(3,"Writing"),so(),so(),io(4,"div",3),io(5,"div",4),fo(6," Articles By Date "),so(),io(7,"div",5),io(8,"div",6),fo(9," 2021 "),so(),io(10,"table",7),io(11,"tr"),io(12,"td",8),io(13,"div"),fo(14,"July 1"),so(),so(),io(15,"td"),io(16,"div",9),io(17,"a",10),fo(18," Hiking Roan Mountain "),so(),so(),so(),so(),io(19,"tr"),io(20,"td",8),io(21,"div"),fo(22,"January 22"),so(),so(),io(23,"td"),io(24,"div",9),io(25,"a",11),fo(26," Running 365 Miles In A Year "),so(),so(),so(),so(),so(),io(27,"div",6),fo(28," 2020 "),so(),io(29,"table",7),io(30,"tr"),io(31,"td",8),io(32,"div"),fo(33,"December 13"),so(),so(),io(34,"td"),io(35,"div",9),io(36,"a",12),fo(37," 2020 Reading List "),so(),so(),so(),so(),so(),so(),so(),so())},directives:[Hp],styles:[".writing[_ngcontent-%COMP%]{width:850px;height:88vh;margin-top:2vh;display:flex;flex-direction:column}.title[_ngcontent-%COMP%]{font-family:Permanent Marker,cursive;font-size:80px;margin-bottom:0;color:#b4f8c8;line-height:1.2em;text-decoration:none}.articleContainer[_ngcontent-%COMP%]{display:flex;flex-grow:1;flex-direction:column}.articleHeader[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-size:45px;font-weight:700;color:rgba(0,0,0,.87);justify-content:center;align-items:center;text-align:center;margin-top:50px;margin-bottom:50px}.articles[_ngcontent-%COMP%]{display:flex;flex-grow:1;flex-direction:column}.articleYear[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-size:30px;font-weight:600;color:rgba(0,0,0,.87)}.articleLinkContainer[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-size:20px}.articleDate[_ngcontent-%COMP%]{font-weight:300;width:150px}.articleTitleContainer[_ngcontent-%COMP%]{flex-grow:10}.articleTitle[_ngcontent-%COMP%]{font-weight:600;color:rgba(0,0,0,.87);text-decoration:none;animation-duration:.5s;animation-name:articleTitleUnhover}.articleTitle[_ngcontent-%COMP%]:hover{animation-name:articleTitleHover;animation-fill-mode:forwards}@keyframes articleTitleHover{0%{box-shadow:none}to{box-shadow:inset 0 -3px 0 0 #b4f8c8}}@keyframes articleTitleUnhover{0%{box-shadow:inset 0 -3px 0 0 #b4f8c8}to{box-shadow:none}}@media (max-width:850px){.writing[_ngcontent-%COMP%]{width:95vw}.title[_ngcontent-%COMP%]{font-size:60px;margin-top:20px;margin-bottom:20px}.articleHeader[_ngcontent-%COMP%]{font-size:27px}.articleYear[_ngcontent-%COMP%]{font-size:23px}.article[_ngcontent-%COMP%]{font-size:18px}}@media (max-width:850px) and (orientation:landscape){.titleContainer[_ngcontent-%COMP%]{display:flex;margin-top:0;margin-bottom:10px}.articleHeader[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px}}"]}),t})(),hf=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=le({type:t,selectors:[["app-home"]],decls:25,vars:0,consts:[[1,"home"],[1,"titleContainer"],[1,"title","first"],[1,"title","last"],[1,"imageContainer"],["src","../../../assets/images/patrick-on-rocks.jpeg","alt","Patrick Fleming",1,"heroImage"],[1,"aboutContainer"],[1,"about"],[1,"aboutText"],["routerLink","/writing","routerLinkActive","active",1,"link"],["routerLink","/learning","routerLinkActive","active",1,"link"],[1,"iconContainer"],["href","https://github.com/Splice09","title","Git Hub",1,"iconLink"],["src","../../../assets/icons/gitHubMark.png",1,"icon"],["href","https://www.linkedin.com/in/flemingjp","title","Linked In",1,"iconLink"],["src","../../../assets/icons/linkedInMark.png",1,"icon"],["href","mailto:jpf0005@gmail.com","title","Email",1,"iconLink"],["src","../../../assets/icons/emailMark.png",1,"icon"]],template:function(t,e){1&t&&(io(0,"div",0),io(1,"div",1),io(2,"div",2),fo(3,"Patrick"),so(),io(4,"div",3),fo(5,"Fleming"),so(),so(),io(6,"div",4),oo(7,"img",5),so(),io(8,"div",6),io(9,"p",7),io(10,"span",8),fo(11,"Software Engineer and Serial Hobbyist. I try to share what I learn by "),io(12,"a",9),fo(13,"writing things down"),so(),fo(14," and "),io(15,"a",10),fo(16,"creating tutorials"),so(),fo(17,". Please enjoy the space dedicated to my inner creative. "),so(),so(),io(18,"div",11),io(19,"a",12),oo(20,"img",13),so(),io(21,"a",14),oo(22,"img",15),so(),io(23,"a",16),oo(24,"img",17),so(),so(),so(),so())},directives:[Hp,Fp],styles:[".home[_ngcontent-%COMP%]{width:500px}.title[_ngcontent-%COMP%]{font-family:Permanent Marker,cursive;font-size:80px;margin-bottom:0;color:rgba(0,0,0,.87);line-height:1.2em}.first[_ngcontent-%COMP%]{display:flex;justify-content:flex-start}.imageContainer[_ngcontent-%COMP%], .last[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.heroImage[_ngcontent-%COMP%]{max-width:450px;margin-right:-60px}p[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;color:rgba(0,0,0,.87)}.about[_ngcontent-%COMP%]{margin-top:-155px;margin-left:-60px;line-height:34px;font-size:19px;max-width:260px}.aboutText[_ngcontent-%COMP%]{background-color:#ededed}.link[_ngcontent-%COMP%]{box-shadow:inset 0 -3px 0 0 #ffaebc;text-decoration:none}a[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background-color:initial}a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:visited{color:rgba(0,0,0,.87);background-color:initial;text-decoration:none}.iconContainer[_ngcontent-%COMP%]{display:flex;margin-left:-60px}.iconLink[_ngcontent-%COMP%]{display:flex;align-items:center}.icon[_ngcontent-%COMP%]{width:25px;margin-right:25px}@media (max-width:850px){.home[_ngcontent-%COMP%]{width:inherit}.title[_ngcontent-%COMP%]{font-size:40px}.first[_ngcontent-%COMP%]{padding-left:0}.last[_ngcontent-%COMP%]{padding-right:0}.heroImage[_ngcontent-%COMP%]{width:280px;height:216.05px!important;margin-right:-20px}.about[_ngcontent-%COMP%]{margin-top:-70px;line-height:24px;font-size:14px}.about[_ngcontent-%COMP%], .iconContainer[_ngcontent-%COMP%]{margin-left:-20px}.icon[_ngcontent-%COMP%]{width:20px}}@media (max-width:850px) and (orientation:landscape){.titleContainer[_ngcontent-%COMP%]{display:flex;margin-top:0;margin-bottom:10px}.first[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}.last[_ngcontent-%COMP%]{padding-right:0;padding-left:10px}.heroImage[_ngcontent-%COMP%]{width:250px;height:192.91px!important;margin-right:-50px}.about[_ngcontent-%COMP%]{margin-top:-155px;margin-left:-50px;line-height:24px;font-size:14px}.iconContainer[_ngcontent-%COMP%]{padding-left:0;margin-left:-50px}}"]}),t})();const df=function(){return{exact:!0}};let pf=(()=>{class t{constructor(t){this.route=t}ngOnInit(){this.filePath="../../../assets/markdown/learning-home.md",this.routeSubscription=this.route.data.subscribe(t=>{void 0!==t.filePath&&(this.filePath=t.filePath)})}ngOnDestroy(){this.routeSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(to(wd))},t.\u0275cmp=le({type:t,selectors:[["app-learning"]],decls:15,vars:3,consts:[[1,"learning"],[1,"titleLinkContainer"],[1,"titleContainer"],["routerLink","/learning",1,"title"],[1,"navbar"],[1,"navPills"],[1,"navItem"],["routerLink","/learning/tutorials","routerLinkActive","activeLearning",1,"navLink",3,"routerLinkActiveOptions"],["routerLink","/learning/how-its-made","routerLinkActive","activeLearning",1,"navLink"],[1,"markdownContainer"],["lineNumbers","","emoji","",3,"src"]],template:function(t,e){1&t&&(io(0,"div",0),io(1,"div",1),io(2,"div",2),io(3,"a",3),fo(4,"Learning"),so(),so(),io(5,"nav",4),io(6,"ul",5),io(7,"li",6),io(8,"a",7),fo(9,"Tutorials"),so(),so(),io(10,"li",6),io(11,"a",8),fo(12,"How It's Made"),so(),so(),so(),so(),so(),io(13,"div",9),oo(14,"markdown",10),so(),so()),2&t&&(ai(8),no("routerLinkActiveOptions",fa(2,df)),ai(6),no("src",e.filePath))},directives:[Hp,Fp,Du],styles:[".learning[_ngcontent-%COMP%]{width:850px;height:88vh;margin-top:2vh;display:flex;flex-direction:column}.title[_ngcontent-%COMP%]{font-family:Permanent Marker,cursive;font-size:80px;margin-bottom:0;color:#fbe7c6;line-height:1.2em;text-decoration:none}.navbar[_ngcontent-%COMP%]{width:100%;display:flex;align-items:flex-start;justify-content:left;font-family:Open Sans,sans-serif;font-size:14px;letter-spacing:2px;z-index:1;background-color:#ededed}.navPills[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding-left:0}.navItem[_ngcontent-%COMP%]{margin:10px 25px}.navLink[_ngcontent-%COMP%]{animation-name:navLinkUnhover}.navLink[_ngcontent-%COMP%], .navLink[_ngcontent-%COMP%]:hover{color:rgba(0,0,0,.87);animation-duration:.5s;text-decoration:none}.navLink[_ngcontent-%COMP%]:hover{animation-fill-mode:forwards;animation-name:navLinkHover}.activeLearning[_ngcontent-%COMP%]{box-shadow:inset 0 -3px 0 0 #fff}@keyframes navLinkHover{0%{box-shadow:none}to{box-shadow:inset 0 -1.5em 0 0 #fff}}@keyframes navLinkUnhover{0%{box-shadow:inset 0 -1.5em 0 0 #fff}}.markdownContainer[_ngcontent-%COMP%]{flex-grow:1}@media (max-width:850px){.learning[_ngcontent-%COMP%]{width:95vw}.title[_ngcontent-%COMP%]{font-size:60px}}@media (max-width:850px) and (orientation:landscape){.titleContainer[_ngcontent-%COMP%]{display:flex;margin-top:0;margin-bottom:10px}}"]}),t})();function ff(t,e){if(1&t&&(io(0,"div",7),io(1,"div",8),io(2,"span",9),fo(3),so(),oo(4,"br"),io(5,"span",10),fo(6),so(),so(),io(7,"div",11),io(8,"div",12),io(9,"span",13),fo(10,"Why I read it: "),so(),io(11,"span"),fo(12),so(),so(),so(),io(13,"div",14),io(14,"div",15),io(15,"span",13),fo(16,"My thoughts: "),so(),io(17,"span"),fo(18),so(),so(),so(),io(19,"div",16),io(20,"div",17),io(21,"span",13),fo(22,"Score: "),so(),io(23,"span"),fo(24),so(),so(),so(),io(25,"div",18),oo(26,"img",19),so(),so()),2&t){const t=e.$implicit;ai(3),mo(" ",t.title," "),ai(3),go(t.author),ai(6),go(t.wir),ai(6),go(t.myThoughts),ai(6),go(t.score),ai(2),ho("src",t.cover,Fr)}}let gf=(()=>{class t{constructor(){}ngOnInit(){this.books=[{title:"Zen and the Art of Motorcycle Maintenance",author:"Robert M. Pirsig",wir:"Originally gifted to me in college by my Uncle who has been a long-time supporter of my reading. The recommendation was almost magically validated by a mention in Cloud Atlas Part 3, which I was reading at the time he gifted it to me.",score:"7/10",myThoughts:"This book provides an amazing look at some deeper questions and philosophies for life. It gave me some amazing context through its lense of classically minded vs romantically minded people. I docked a few points because the main character can be a bit self-fellating in his rhetoric. Overall, a combination of it taking me so many years to finish and Pirsig's Afterward explaining his inspiration for the story had me tearing up.",cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/zen-and-the-art-of-motorcycle-maintenance.jpg"},{title:"How to Heal a Broken Heart in 30 Days",author:"Howard Bronson and Mike Riley",wir:"Common knowledge to my friends and family, I went through a pretty tough breakup this year. In the beginning I was willing to shotgun consume any content that would help and this book was on some recommended reading list.",score:"\u2764\ufe0f\u2764\ufe0f\u2764\ufe0f\u2764\ufe0f",myThoughts:"It's not a cure all and I certainly needed more than 30 days, but this book has some excellent advice -- some of which I still use nearly a year later. Having a daily objective to look foward to was an excellent goal based approach to keep me going through the worst of it.",cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/how-to-heal-a-broken-heart.jpg"},{title:"The 5 Second Rule",author:"Mel Robbins",wir:"At the time I felt desperate for self improvement. I felt like a failure and was taunted by the desire to have a magical solution that could help me get what I want.",score:"4 out of 7.5 hours wasted",myThoughts:'I found this book insanely annoying. The author goes on and on about how her life was in shambles and then gushes about how she turned it all around by acting practically on impulse. Followed by a bunch of success stories from people the rule worked for. I can grant that it\'s useful procedure for some, but the message amounts to the Nike slogan of "Just Do It." Looking at the positives: 1) Her husbands name is Christopher Robbins which is just close enough to be amusing. 2) I used the 5 second rule to decide to stop reading the book.',cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/the-five-second-rule.jpg"},{title:"Attached",author:"Amir Levine, M.D. and Rachel S.F. Heller, M.A.",wir:"Because of the afore mentioned breakup, I had a lot of questions. I logically understood the situation but emotionally did not want to accept reality. This book was an attempt at understanding emotional attachment from a rational perspective.",score:"\ud83d\udc76 \u27a1\ufe0f \ud83d\udc68",myThoughts:"Initially, it felt like this book made a lot of sense. But after giving it some time, I feel like it falls into a similar camp of the Meyers-Briggs or Enneagram of Personality. It seems like a potentially useful tool for psychotherapists but I'm hesitant to self-assign labels. I don't want to feel like one attachment style defines me and inhibit my own personal development. As far as theories go, it at least seemed well founded.",cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/attached.jpg"},{title:"The Tao of Pooh",author:"Benjamin Hoff",wir:"I had seen this book on my friend's coffee table, and I felt like it was an appropriate fit to go with my self exploration and meditation.",score:"\ud83c\udf6f\ud83c\udf6f\ud83c\udf6f\ud83c\udf6f\ud83c\udf6f\ud83c\udf6f\ud83c\udf6f\ud83c\udf6f\ud83c\udf6f\ud83c\udf6f",myThoughts:'An amazing look at how Winnie the Pooh is the ideal Taoist. Even reading 5 pages of this book filled me with calm. I will probably read it again in the future to remind myself of the D\xe0o. It ends at the Enchanted Place at the top of the forest. "To get there, just take the path to Nothing and go Nowhere until you reach it. Because the Enchanted Place is right where you are, and if you\'re Friendly With Bears, you can find it."',cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/the-tao-of-pooh.jpg"},{title:"All Systems Red",author:"Martha Wells",wir:"I was staying at one of my best friend's place for work and he let me borrow it.",score:"Two thumbs up, but they are pointing at me because I finished the book.",myThoughts:"It was a short page turner so I didn't mind it too much. The action was decent, but I felt like they spent too much time describing characters I'll never see again. I will probably not be continuing my emersion into the Murderbot universe.",cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/all-systems-red.jpg"},{title:"The Seven Principles for Making Marriage Work",author:"John M. Gottman, Ph.D",wir:"After two failed long-term relationships I felt it was time to get to the bottom of why I'm so gosh dang bad at them. This one was on Mark Manson's top 5 relationship books list.",score:"\"You'll get 'em next time sport\"",myThoughts:"This book described my relationships to the 'T' in the 'Predicting Divorce' section. It provided useful insight into conflict resolution, communication, and values. It's an excellent workbook with scientific studies to back it up.",cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/seven-principles-for-making-marriage-work.jpg"},{title:"Mistborn the Final Empire",author:"Brandon Sanderson",wir:"I was recommended this book along with The Night Circus (which was phenomenal!) while drunk on scotch at a best friend's wedding.",score:"\ud83d\udd25\ud83d\udd25\ud83d\udd25",myThoughts:'What a wild ride of pure fantasy enjoyment and adrenaline. All of the characters are great, and the "magical" system is consistent. I\'d recommend going into it as blind as I was, no complaints.',cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/mistborn-the-final-empire.jpg"},{title:"Mistborn the Well of Ascension",author:"Brandon Sanderson",wir:"The first book was so good, I went back for more.",score:"\ud83d\udd25\ud83d\udd25",myThoughts:"The second book felt a bit more like a coming of age story. It was still an exciting tale with an insanely powerful female lead. However, it added some traits to the main character that were perhaps too realistic for a fictional universe and felt a bit sexist instead. Downgrading the score just a bit from the first.",cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/mistborn-the-well-of-ascension.jpg"},{title:"Ford County",author:"John Grisham",wir:"One of my favorite neighbors was reading it on his porch and let me borrow it.",score:'1 "New Magnolia" Mississippi State Flag (may it pass legislative approval)',myThoughts:"First and foremost this collection of short stories reads like an airport page turner. However, I have continuously been impressed at how well Grisham is able to connect me with characters in a mere 50 pages per short story. He keeps the character list simple and paints scenes really well.",cover:"app/components/writing/twenty-twenty-reading-list/bookCovers/ford-county.jpg"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=le({type:t,selectors:[["app-twenty-twenty-reading-list"]],decls:21,vars:1,consts:[[1,"writing"],[1,"titleContainer"],["routerLink","/writing",1,"title"],[1,"introParagraph"],[1,"weak"],["class","bookReviewContainer",4,"ngFor","ngForOf"],[1,"blankSpace"],[1,"bookReviewContainer"],[1,"bookTitleContainer"],[1,"bookTitle"],[1,"author"],[1,"wirContainer"],[1,"whyIRead"],[1,"strong"],[1,"opinionContainer"],[1,"opinion"],[1,"scoreContainer"],[1,"score"],[1,"coverPhotoContainer"],["alt","book cover art",1,"coverPhoto",3,"src"]],template:function(t,e){1&t&&(io(0,"div",0),io(1,"div",1),io(2,"a",2),fo(3,"2020 Reading List"),so(),so(),io(4,"div",3),fo(5,' As a child I was a voracious reader. Partly because my parents offered a reward, "one pack of Pokemon cards for every book completed that contained over 150 pages." And partly because my childhood was filled with books my adolecent brain found to be absolute bangers. Harry Potter, Artemis Fowl, The Rangers Apprentice, The Giver, The Hobbit, Lord of the Rings, Hitchhiker\'s Guide to the Galaxy. There has never been a shortage of enjoyable literature; however, as I wrapped up highschool and eased into college, I somehow lost touch with the desire to spend my time consuming it. '),oo(6,"br"),oo(7,"br"),fo(8," I've still managed to add a piece to my collection here and there over the years, but it wasn't until I started listening to Audio Books as a means to survive long drives that I really started enjoying stories again. In fact my Audible\u2122 Library (not sponsored "),io(9,"span",4),fo(10,"call me"),so(),fo(11,") has partially elevated my ego to that of a Sci-Fi/Fantasy snob. "),oo(12,"br"),oo(13,"br"),fo(14," Well, here we are. I've combined my new-found interest in consuming stories with a year where...frankly, we all have too much free time. The result? This highly regarded, ultra pretentious, world renowned -- Two Thousand Twenty A.D. Reading List. "),oo(15,"br"),oo(16,"br"),fo(17," So crack open a fresh PBR and buckle up. "),so(),function(t,e,n,r,i,s,o,a){const l=Ge(),c=Qe(),u=c.firstCreatePass?function(t,e,n,r,i,s,o,a,l){const c=e.consts,u=di(e,n[6],18,0,"div",Ve(c,5));Si(e,n,u,Ve(c,undefined)),wn(e,u);const h=u.tViews=bi(2,-1,r,27,6,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),d=xi(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(0,c,l,e):c.data[38];Ke(u,!1);const h=l[11].createComment("");hs(c,l,h,u),$r(h,l),Fi(l,l[38]=Ui(h,l,h,u)),Ce(u)&&yi(c,l,u)}(0,ff),io(19,"div",6),fo(20,"\xa0"),so(),so()),2&t&&(ai(18),no("ngForOf",e.books))},directives:[Hp,Yl],styles:['.writing[_ngcontent-%COMP%]{width:850px;height:88vh;margin-top:2vh;display:flex;flex-direction:column;margin-bottom:50px}.titleContainer[_ngcontent-%COMP%]{display:flex;justify-content:center}.title[_ngcontent-%COMP%]{font-family:Permanent Marker,cursive;font-size:80px;margin-bottom:0;color:#b4f8c8;line-height:1.2em;text-decoration:none}.introParagraph[_ngcontent-%COMP%]{margin-top:50px;margin-bottom:50px}.bookReviewContainer[_ngcontent-%COMP%], .introParagraph[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-size:20px;font-weight:300;color:rgba(0,0,0,.87)}.bookReviewContainer[_ngcontent-%COMP%]{display:grid;grid-template-columns:66.6% 33.3%;grid-template-rows:auto auto auto auto;grid-template-areas:"bookTitle coverPhoto" "whyIRead coverPhoto" "opinion coverPhoto" "score coverPhoto";margin-top:10px;margin-bottom:10px}.bookTitleContainer[_ngcontent-%COMP%]{grid-area:bookTitle}.wirContainer[_ngcontent-%COMP%]{grid-area:whyIRead}.scoreContainer[_ngcontent-%COMP%]{grid-area:score}.opinionContainer[_ngcontent-%COMP%]{grid-area:opinion}.coverPhotoContainer[_ngcontent-%COMP%]{grid-area:coverPhoto;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.bookTitle[_ngcontent-%COMP%]{font-size:24px;font-weight:600}.author[_ngcontent-%COMP%]{font-size:16px;font-weight:600}.coverPhoto[_ngcontent-%COMP%]{position:relative;width:80%;height:350px;border:1px solid #000}.strong[_ngcontent-%COMP%]{font-weight:600}.weak[_ngcontent-%COMP%]{text-align:middle;font-size:10px;font-style:italic}.blankSpace[_ngcontent-%COMP%]{width:100%;margin-top:50px}@media (max-width:850px){.writing[_ngcontent-%COMP%]{width:95vw}.titleContainer[_ngcontent-%COMP%]{text-align:center}.title[_ngcontent-%COMP%]{font-size:60px;margin-top:20px;margin-bottom:20px}.bookReviewContainer[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%;grid-template-rows:auto auto auto auto auto;grid-template-areas:"coverPhoto" "bookTitle" "whyIRead" "opinion" "score"}.coverPhotoContainer[_ngcontent-%COMP%]{justify-content:center}.coverPhoto[_ngcontent-%COMP%]{position:relative;width:60%;height:300px}}@media (max-width:850px) and (orientation:landscape){.titleContainer[_ngcontent-%COMP%]{display:flex;margin-top:0;margin-bottom:10px}.bookReviewContainer[_ngcontent-%COMP%]{grid-template-columns:66.6% 33.3%;grid-template-rows:auto auto auto auto;grid-template-areas:"bookTitle coverPhoto" "whyIRead coverPhoto" "opinion coverPhoto" "score coverPhoto"}.coverPhotoContainer[_ngcontent-%COMP%]{justify-content:flex-end}.coverPhoto[_ngcontent-%COMP%]{position:relative;width:80%;height:300px}}']}),t})(),mf=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=le({type:t,selectors:[["app-twenty-twenty-running"]],decls:50,vars:0,consts:[[1,"writing"],[1,"titleContainer"],["routerLink","/writing",1,"title"],[1,"introParagraph"],["href","https://onthegomap.com/#/create"],[1,"graphDescription"],["src","app/components/writing/twenty-twenty-running/graphs/DistanceOverTime.png","alt","Distance Over Time",1,"graph"],["src","app/components/writing/twenty-twenty-running/graphs/DistancePerMonth.png","alt","Distance Per Month",1,"graph"],["src","app/components/writing/twenty-twenty-running/graphs/SessionsPerMonth.png","alt","Sessions Per Month",1,"graph"],["src","app/components/writing/twenty-twenty-running/graphs/MinMileOverTime.png","alt","Average Minute Per Mile Over Time",1,"graph"],["src","app/components/writing/twenty-twenty-running/graphs/TimeSpentRunning.png","alt","Time Spent Running Per Month",1,"graph"],[1,"closingRemarks"],[1,"blankSpace"]],template:function(t,e){1&t&&(io(0,"div",0),io(1,"div",1),io(2,"a",2),fo(3,"Running 365 Miles In A Year"),so(),so(),io(4,"div",3),fo(5," As everyone in the world knows 2020 was an interesting year. I went through several phases: Cooking, Mixology, Jump rope, Reading, and many other temporary interests. However, one constant that helped keep me grounded through the dumpster fire of a year was running. "),oo(6,"br"),oo(7,"br"),fo(8," Once again, I am brought back to childhood. I remember being in the second and third grade and enjoying the competitive side of racing my classmates in P.E. Unfortunately, around the 4th grade I went through three ankle breaks and spent 18 months in a cast. For several years following that, I was an out of shape couch-potato. During my sophomore year in high school, I became interested in soccer and as I was playing in the front yard one day, my mom pointed out to me that when I was young, she thought I was going to be a runner. That moment inspired my first mile in high school. I don\u2019t remember my total time, but it was somewhere around 12 minutes and I had to stop\u2026a lot. After running nearly every day after school for a year I eventually got my time down to a consistent 6-minute mile and decided to join the cross-country team. It was a great experience, but by the end of it I was a little burnt out on running and suffered some weight gain when I was still hungry but not burning an additional 3000 calories a week. Around my third year of college, I decided to get back into it and wanted to try for a marathon. I had enough experience to develop a good training routine, but my knowledge of stretching and recovery ended my attempt with a severe knee pain. From that point forward, I would chug out the occasional 5k because I never wanted to lose the ability to run three miles without stopping, but the passion was lost. "),oo(9,"br"),oo(10,"br"),fo(11," Enter 2020. The climbing gym closed for the pandemic and I refused to sit around sulking in uncertainty and sadness. More so, I craved endorphins. I didn\u2019t start out with any kind of intention, in fact, it wasn\u2019t until around August when I crossed the 200 mile threshold that I realized I might have a goal on my hands. But I still kept track of all my runs using a combination of Excel, "),io(12,"a",4),fo(13,"On the Go Map"),so(),fo(14,", and a fitness wristwatch I got for Christmas. These are the results. "),oo(15,"br"),oo(16,"br"),so(),io(17,"div",5),fo(18," First is a cumulative distance run over time. Honestly this graph surprised me a lot because it displayed in a much more linear fashion that what I would expect from some of the bar graphs below. "),so(),oo(19,"img",6),io(20,"div",5),fo(21," This is a breakdown of the total miles I ran each month. For my 29th birthday I decided to push and do a ten mile run to celebrate. Big mistake. I ended up rattling in the last mile on my skeleton and my right knee was not happy. As a result I practically took July off and had to ease back into it. "),so(),oo(22,"img",7),io(23,"div",5),fo(24," Next is a very similar graph to the one above, but with a breakdown of how many runs I went on each month. Something that is worth noting from this is that as I got towards the end of the year, I was really pushing larger distance runs. Compare March to November, similar distances with almost half the runs. "),so(),oo(25,"img",8),io(26,"div",5),fo(27," This is a graph of my average minute per mile over the course of the year. Something that I found interesting about this graph was how my time changes lagged a bit behind periods of high and low activity. It seems to take about one month for my fitness to fade and another month to build it back up. Something to remember when avoiding becoming discouraged when I get back into exercising after a break. "),so(),oo(28,"img",9),io(29,"div",5),fo(30," Finally, I graphed out the time I spent running each month. This actually was pretty consistent all year long because speed changes were less significant. Checking the graph above I floated between 8:30 and 10:00 minute miles. So on a minute per run basis I\u2019m only looking at saving around 7 minutes on a five mile run at my most fit. "),so(),oo(31,"img",10),io(32,"div",11),fo(33," Overall, I am grateful that the pandemic for pushed this hobby back on me. I have come to really enjoy multiple aspects of it. The meditative state I get into from an hour long run. The flood of endorphins that follows. The cool wave of refreshment at the first sip of chilled water. The genuine feeling of accomplishment when you\u2019re completely exhausted in the shower. The incredibly deep sleep. Hopefully this time, it sticks."),oo(34,"br"),oo(35,"br"),fo(36," Some closing fun facts: "),io(37,"ul"),io(38,"li"),fo(39,"I ran a total of 365.41 miles"),so(),io(40,"li"),fo(41,"The distance I ran was greater than the distance between Atlanta Georgia and Mobile Alabama"),so(),io(42,"li"),fo(43,"I completed my last run of the year on December 23, 2020"),so(),io(44,"li"),fo(45,"I spent a total of 56 hours 3 minutes running in 2020"),so(),io(46,"li"),fo(47,"I burned a total of 36541 calories or 18.27 days assuming a 2000 calorie diet "),so(),so(),so(),io(48,"div",12),fo(49,"\xa0"),so(),so())},directives:[Hp],styles:[".writing[_ngcontent-%COMP%]{width:850px;height:88vh;margin-top:2vh;display:flex;flex-direction:column;margin-bottom:50px}.titleContainer[_ngcontent-%COMP%]{display:flex;justify-content:center}.title[_ngcontent-%COMP%]{font-family:Permanent Marker,cursive;font-size:80px;margin-bottom:0;color:#b4f8c8;line-height:1.2em;text-decoration:none;text-align:center}.closingRemarks[_ngcontent-%COMP%], .graphDescription[_ngcontent-%COMP%], .introParagraph[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-size:20px;font-weight:300;color:rgba(0,0,0,.87);margin-top:50px;margin-bottom:50px}.strong[_ngcontent-%COMP%]{font-weight:600}.weak[_ngcontent-%COMP%]{text-align:middle;font-size:10px;font-style:italic}.blankSpace[_ngcontent-%COMP%]{width:100%;margin-top:50px}.graph[_ngcontent-%COMP%]{width:100%}@media (max-width:850px){.writing[_ngcontent-%COMP%]{width:95vw}.titleContainer[_ngcontent-%COMP%]{text-align:center}.title[_ngcontent-%COMP%]{font-size:60px;margin-top:20px;margin-bottom:20px}}@media (max-width:850px) and (orientation:landscape){.titleContainer[_ngcontent-%COMP%]{display:flex;margin-top:0;margin-bottom:10px}}"]}),t})(),yf=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=le({type:t,selectors:[["app-roan-mountain-hike"]],decls:75,vars:0,consts:[[1,"writing"],[1,"titleContainer"],["routerLink","/writing",1,"title"],[1,"introParagraph"],["href","https://www.alltrails.com/explore/trail/us/tennessee/appalachian-trail-carvers-gap-to-yellow-mountain-gap","target","_blank"],["src","app/components/writing/roan-mountain-hike/photos/1mountainView.jpg","alt","View of mountains in the distance over a hill",1,"photo"],[1,"photoDescription"],["src","app/components/writing/roan-mountain-hike/photos/2ada.jpg","alt","Happy German Shepherd on grassy mountain bald",1,"photo"],[1,"photoPortraitContainer"],[1,"photoPortraitTextWrapper"],["src","app/components/writing/roan-mountain-hike/photos/3bumbleBeePortrait.jpg","alt","Bumble bee on orange flowers",1,"photoPortrait"],[1,"photoCaption"],["src","app/components/writing/roan-mountain-hike/photos/4pinkFlowerPortrait.jpg","alt","Pink flowers with mountains in background",1,"photoPortrait"],["src","app/components/writing/roan-mountain-hike/photos/5whiteFlowerPortrait.jpg","alt","White wild flowers with grass and mountain in background",1,"photoPortrait"],["src","app/components/writing/roan-mountain-hike/photos/6baldTrailView.jpg","alt","Trail running through grassy mountain balds with mountain in background",1,"photo"],["src","app/components/writing/roan-mountain-hike/photos/7deer.jpg","alt","Deer with mountain in background",1,"photo"],["src","app/components/writing/roan-mountain-hike/photos/8whiteFlowers.jpg","alt","Mini white wild flowers cascading over grass",1,"photo"],["src","app/components/writing/roan-mountain-hike/photos/9greysLillyPortrait.jpg","alt","Rare red lilly up close",1,"photoPortrait"],["src","app/components/writing/roan-mountain-hike/photos/10orangeFlowerPortrait.jpg","alt","Orange flowers brightly lit in sunlight",1,"photoPortrait"],["src","app/components/writing/roan-mountain-hike/photos/11purpleFlowerPortrait.jpg","alt","Purple wild flowers up close in front of grass",1,"photoPortrait"],["src","app/components/writing/roan-mountain-hike/photos/12wheatGrass.jpg","alt","Up close wheat grass in front of grass with mountain in the background",1,"photo"],["src","app/components/writing/roan-mountain-hike/photos/13campFire.jpeg","alt","Up close shot of cozy camp fire in fading light",1,"photo"],["src","app/components/writing/roan-mountain-hike/photos/14cloudyBald.jpg","alt","Trail running through bald grass covered mountain ridge-line with storm clouds looming above",1,"photo"],[1,"closingRemarks"],[1,"blankSpace"]],template:function(t,e){1&t&&(io(0,"div",0),io(1,"div",1),io(2,"a",2),fo(3,"Hiking Roan Mountain"),so(),so(),io(4,"div",3),fo(5," This year has been particularly exciting one for me so far. I adopted a puppy \u2013 Ada (named after 19th century mathematician Ada Lovelace), a COVID vaccine released allowing the world to return to some level of normalcy, and on June 21st I turned thirty years old. "),oo(6,"br"),oo(7,"br"),fo(8," In appreciation of so many positives, I wanted to celebrate by embarking on what has been a dream hike of mine for the past couple of years. So, on June 25th Ada and I took off work and set out with my hiking partner Zac to explore one of the premier hikes to be found on the Southeastern section of the Appalachian Trail. We covered a total of 11 miles on a there-and-back from "),io(9,"a",4),fo(10," Carver\u2019s Gap to Yellow Mountain Gap"),so(),fo(11," with an extension down the Grassy Ridge trail."),oo(12,"br"),oo(13,"br"),fo(14," Special Note: All but one of the photos were captured on my Samsung Galaxy S5. I actually have since upgraded to the Galaxy S21, but did not have time to upgrade before the hike. "),so(),oo(15,"img",5),io(16,"div",6),fo(17," The hike starts up a grassy hill and takes you through a beautifully wooded section of Conifers before topping at the first of three grassy balds before dipping into the forest. The above photo was taken at the top of the first bald looking south. "),so(),oo(18,"img",7),io(19,"div",6),fo(20," Atop the second bald, the clouds cleared, and I could not resist a shot of Ada who was completely stoked to be on her first backpacking adventure. "),oo(21,"br"),oo(22,"br"),fo(23," The temperatures on this trip were mid 60\u2019s during the day and low to mid 50\u2019s at night. Besides getting away from the oppressive southern heat, a major reason for making this hike in June is to see all of the blooming wildflowers. "),so(),io(24,"div",8),io(25,"div",9),oo(26,"img",10),io(27,"div",11),fo(28," Flame Azalea with a furry friend hard at work "),so(),so(),io(29,"div",9),oo(30,"img",12),io(31,"div",11),fo(32," Catawba Rhododendron "),so(),so(),io(33,"div",9),oo(34,"img",13),io(35,"div",11),fo(36," Carolina Bugbane "),so(),so(),so(),oo(37,"div",6),oo(38,"img",14),io(39,"div",6),fo(40," The above photo looks West from the top of the second bald. We left my car in the valley on the other side of the closer mountain. This point in the trail was about 1.5 miles in with only a couple hundred feet in elevation change. Starting to wonder why this trail was rated \u201cmoderate\u201d. "),so(),oo(41,"img",15),io(42,"div",6),fo(43," One of the more special moments on the trip was being able to get this close to a White Tail Doe. Zac and I seem to have pretty good luck with encountering wildlife. This experience brought up memories of having otters run right next to us last October on our Sipsey Wilderness hike in Alabama. "),so(),oo(44,"img",16),io(45,"div",6),fo(46," This was a really beautiful shot of some Hogweed, which I have since found out is actually toxic and can cause skin irritation and burns. Good thing I didn\u2019t touch any of it! "),so(),io(47,"div",8),io(48,"div",9),oo(49,"img",17),io(50,"div",11),fo(51," Gray's Lily "),so(),so(),io(52,"div",9),oo(53,"img",18),io(54,"div",11),fo(55," Flame Azalea "),so(),so(),io(56,"div",9),oo(57,"img",19),io(58,"div",11),fo(59," Ohio Spiderwort "),so(),so(),so(),oo(60,"div",6),oo(61,"img",20),io(62,"div",6),fo(63," This was taken on our return hike after visiting the notorious Red Barn at Yellow Mountain Gap. Pictured is some kind of Reed Grass. If you are able to identify it specifically, please let me know! "),so(),oo(64,"img",21),io(65,"div",6),fo(66," Zac actually took this photo of our campfire on the second night of the trip. We camped on a mountain ridgeline to rest before taking on the 2000 feet of elevation loss we hiked down on the first day \u2013 yep, this is where the moderate rating comes from. Because of the ridgeline, it was a very windy night, but we built up a good windshield of rocks and logs for our fire. "),so(),oo(67,"img",22),io(68,"div",23),fo(69," In addition to finding the hard line the clouds made over the mountains interesting, I was particularly amused by this ominous cloud hanging directly above our car on the way out. I am happy to report that the rain held off with the most serendipitous timing I have ever witnessed. It, of course, started the exact moment we closed the doors and turned the car on."),oo(70,"br"),oo(71,"br"),fo(72," Roan Mountain was an exceptionally beautiful hike that fully lived up to the hype. Now that Ada is getting bigger I cannot wait to get back out there, see some more nature, and hopefully test out the S21\u2019s camera! "),so(),io(73,"div",24),fo(74,"\xa0"),so(),so())},directives:[Hp],styles:[".writing[_ngcontent-%COMP%]{width:850px;height:88vh;margin-top:2vh;display:flex;flex-direction:column;margin-bottom:50px}.titleContainer[_ngcontent-%COMP%]{display:flex;justify-content:center}.title[_ngcontent-%COMP%]{font-family:Permanent Marker,cursive;font-size:80px;margin-bottom:0;color:#b4f8c8;line-height:1.2em;text-decoration:none;text-align:center}.introParagraph[_ngcontent-%COMP%], .photoDescription[_ngcontent-%COMP%]{font-size:20px;margin-top:50px;margin-bottom:50px}.introParagraph[_ngcontent-%COMP%], .photoCaption[_ngcontent-%COMP%], .photoDescription[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-weight:300;color:rgba(0,0,0,.87)}.photoCaption[_ngcontent-%COMP%]{font-size:15px}.closingRemarks[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-size:20px;font-weight:300;color:rgba(0,0,0,.87);margin-top:50px;margin-bottom:50px}.strong[_ngcontent-%COMP%]{font-weight:600}.weak[_ngcontent-%COMP%]{text-align:middle;font-size:10px;font-style:italic}.blankSpace[_ngcontent-%COMP%]{width:100%;margin-top:50px}.photo[_ngcontent-%COMP%]{width:100%}.photoPortraitContainer[_ngcontent-%COMP%]{display:flex}.photoPortraitTextWrapper[_ngcontent-%COMP%]{width:31.3%;margin:1%}.photoPortrait[_ngcontent-%COMP%]{width:100%}@media (max-width:850px){.writing[_ngcontent-%COMP%]{width:95vw}.titleContainer[_ngcontent-%COMP%]{text-align:center}.title[_ngcontent-%COMP%]{font-size:60px;margin-top:20px;margin-bottom:20px}}@media (max-width:850px) and (orientation:landscape){.titleContainer[_ngcontent-%COMP%]{display:flex;margin-top:0;margin-bottom:10px}}"]}),t})(),wf=(()=>{class t extends Jh{parse(t){const e=t.search(/[?;#]/);let n;if(e>-1){const r=t.charAt(e),i=_f.splitInTwo(t,r);i.firstPart=i.firstPart.toLowerCase(),n=i.firstPart+r+i.secondPart}else n=t.toLowerCase();return super.parse(n)}}return t.\u0275fac=function(e){return vf(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const vf=er(wf),bf=[{path:"",component:hf,data:{title:"Home Page"}},{path:"writing",component:uf,data:{title:"Writing"}},{path:"writing/2020-reading-list",component:gf,data:{title:"2020 Reading List"}},{path:"writing/2020-running",component:mf,data:{title:"Running 365 Miles In A Year"}},{path:"writing/hiking-roan-mountain",component:yf,data:{title:"Hiking Roan Mountain"}},{path:"learning",component:pf,data:{title:"Learning"}},{path:"learning/how-its-made",component:pf,data:{title:"Learning",filePath:"../../../assets/markdown/how-its-made.md"}},{path:"learning/tutorials",component:pf,data:{title:"Learning",filePath:"../../../assets/markdown/tutorials/intro-tutorial.md"}}];let _f=(()=>{class t{static splitInTwo(t,e){const n=t.indexOf(e);return-1==n?{firstPart:t,secondPart:null}:{firstPart:t.substr(0,n).trim(),secondPart:t.substr(n+1).trim()}}}return t.\u0275mod=de({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[{provide:Qh,useClass:wf}],imports:[[Yp.forRoot(bf,{useHash:!0})],Yp]}),t})(),xf=(()=>{class t{}return t.\u0275mod=de({type:t,bootstrap:[cf]}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[],imports:[[Mc,_f,yu,Hu.forRoot({loader:nu})]]}),t})();(function(){if(mr)throw new Error("Cannot enable prod mode after platform setup.");gr=!1})(),Ac().bootstrapModule(xf).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);