text: !function(e){function r(r){for(var n,l,f=r[0],i=r[1],p=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(a&&a(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++)0!==o[t[f]]&&(n=!1);n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={0:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,(function(r){return e[r]}).bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="";var f=window.webpackJsonp=window.webpackJsonp||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var p=0;p<f.length;p++)r(f[p]);var a=i;t()}([]);
  (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1:function(e,t,n){e.exports=n("hN/g")},KJ4T:function(e,t){!function(e,t){"use strict";function n(){var e=L.splice(0,L.length);for(Ke=0;e.length;)e.shift().call(null,e.shift())}function o(e,t){for(var n=0,o=e.length;n<o;n++)d(e[n],t)}function r(e){return function(t){Ae(t)&&(d(t,e),ae.length&&o(t.querySelectorAll(ae),e))}}function a(e){var t=Ve.call(e,"is"),n=e.nodeName.toUpperCase(),o=se.call(oe,t?ee+t.toUpperCase():Q+n);return t&&-1<o&&!i(n,t)?-1:o}function i(e,t){return-1<ae.indexOf(e+'[is="'+t+'"]')}function s(e){var t=e.currentTarget,n=e.attrChange,o=e.attrName,r=e.target,a=e[$]||2,i=e[X]||3;!ot||r&&r!==t||!t[V]||"style"===o||e.prevValue===e.newValue&&(""!==e.newValue||n!==a&&n!==i)||t[V](o,n===a?null:e.prevValue,n===i?null:e.newValue)}function c(e){var t=r(e);return function(e){L.push(t,e.target),Ke&&clearTimeout(Ke),Ke=setTimeout(n,1)}}function l(e){nt&&(nt=!1,e.currentTarget.removeEventListener(K,l)),ae.length&&o((e.target||b).querySelectorAll(ae),e.detail===x?x:j),Ne&&function(){for(var e,t=0,n=Ie.length;t<n;t++)ie.contains(e=Ie[t])||(n--,Ie.splice(t--,1),d(e,x))}()}function u(e,t){var n=this;Be.call(n,e,t),M.call(n,{target:n})}function h(e,t,n){var o=t.apply(e,n),r=a(o);return-1<r&&Z(o,re[r]),n.pop()&&ae.length&&function(e){for(var t,n=0,o=e.length;n<o;n++)Z(t=e[n],re[a(t)])}(o.querySelectorAll(ae)),o}function p(e,t){He(e,t),D?D.observe(e,Xe):(tt&&(e.setAttribute=u,e[A]=S(e),e[I](Y,M)),e[I](J,s)),e[G]&&ot&&(e.created=!0,e[G](),e.created=!1)}function f(e){throw new Error("A "+e+" type is already registered")}function d(e,t){var n,o,r=a(e);-1<r&&!xe.call(e,"TEMPLATE")&&(O(e,re[r]),r=0,t!==j||e[j]?t!==x||e[x]||(e[j]=!1,e[x]=!0,o="disconnected",r=1):(e[x]=!1,e[j]=!0,o="connected",r=1,Ne&&se.call(Ie,e)<0&&Ie.push(e)),r&&(n=e[t+R]||e[o+R])&&n.call(e))}function m(){}function g(e,t,n){var o=n&&n[F]||"",r=t.prototype,a=De(r),i=t.observedAttributes||pe,s={prototype:a};ze(a,G,{value:function(){if(we)we=!1;else if(!this[ye]){this[ye]=!0,new t(this),r[G]&&r[G].call(this);var e=Le[Ce.get(t)];(!_e||e.create.length>1)&&v(this)}}}),ze(a,V,{value:function(e){-1<se.call(i,e)&&r[V]&&r[V].apply(this,arguments)}}),r[q]&&ze(a,U,{value:r[q]}),r[B]&&ze(a,W,{value:r[B]}),o&&(s[F]=o),e=e.toUpperCase(),Le[e]={constructor:t,create:o?[o,Se(e)]:[e]},Ce.set(t,e),b[N](e.toLowerCase(),s),_(e),Me[e].r()}function T(e){var t=Le[e.toUpperCase()];return t&&t.constructor}function y(e){return"string"==typeof e?e:e&&e.is||""}function v(e){for(var t,n=e[V],o=n?e.attributes:pe,r=o.length;r--;)n.call(e,(t=o[r]).name||t.nodeName,null,t.value||t.nodeValue)}function _(e){return(e=e.toUpperCase())in Me||(Me[e]={},Me[e].p=new Ee((function(t){Me[e].r=t}))),Me[e].p}function k(){ve&&delete e.customElements,he(e,"customElements",{configurable:!0,value:new m}),he(e,"CustomElementRegistry",{configurable:!0,value:m});for(var t=w.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,o;return e||(e=this),e[ye]||(we=!0,t=Le[Ce.get(e.constructor)],(e=(o=_e&&1===t.create.length)?Reflect.construct(n,pe,t.constructor):b.createElement.apply(b,t.create))[ye]=!0,we=!1,o||v(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(o){he(n,ye,{value:e[t]})}}}(t[n]));b.createElement=function(e,t){var n=y(t);return n?$e.call(this,e,Se(n)):$e.call(this,e)},Ye||(et=!0,b[N](""))}var b=e.document,E=e.Object,w=function(e){var t,n,o,r,a=/^[A-Z]+[a-z]/,i=function(e,t){(t=t.toLowerCase())in s||(s[e]=(s[e]||[]).concat(t),s[t]=s[t.toUpperCase()]=e)},s=(E.create||E)(null),c={};for(n in e)for(r in e[n])for(s[r]=o=e[n][r],t=0;t<o.length;t++)s[o[t].toLowerCase()]=s[o[t].toUpperCase()]=r;return c.get=function(e){return"string"==typeof e?s[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in s)e.test(t)&&n.push(t);return n}(e)},c.set=function(e,t){return a.test(e)?i(e,t):i(t,e),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var L,M,C,S,D,H,O,Z,P,N="registerElement",z=1e5*e.Math.random()>>0,A="__"+N+z,I="addEventListener",j="attached",R="Callback",x="detached",F="extends",V="attributeChanged"+R,U=j+R,q="connected"+R,B="disconnected"+R,G="created"+R,W=x+R,$="ADDITION",X="REMOVAL",J="DOMAttrModified",K="DOMContentLoaded",Y="DOMSubtreeModified",Q="<",ee="=",te=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],oe=[],re=[],ae="",ie=b.documentElement,se=oe.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ce=E.prototype,le=ce.hasOwnProperty,ue=ce.isPrototypeOf,he=E.defineProperty,pe=[],fe=E.getOwnPropertyDescriptor,de=E.getOwnPropertyNames,me=E.getPrototypeOf,ge=E.setPrototypeOf,Te=!!E.__proto__,ye="__dreCEv1",ve=e.customElements,_e=!/^force/.test(t.type)&&!!(ve&&ve.define&&ve.get&&ve.whenDefined),ke=E.create||E,be=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(o,r){(e=se.call(t,o))<0?n[t.push(o)-1]=r:n[e]=r}}},Ee=e.Promise||function(e){function t(e){for(o=!0;n.length;)n.shift()(e)}var n=[],o=!1,r={catch:function(){return r},then:function(e){return n.push(e),o&&setTimeout(t,1),r}};return e(t),r},we=!1,Le=ke(null),Me=ke(null),Ce=new be,Se=function(e){return e.toLowerCase()},De=E.create||function e(t){return t?(e.prototype=t,new e):this},He=ge||(Te?function(e,t){return e.__proto__=t,e}:de&&fe?function(){function e(e,t){for(var n,o=de(t),r=0,a=o.length;r<a;r++)le.call(e,n=o[r])||he(e,n,fe(t,n))}return function(t,n){do{e(t,n)}while((n=me(n))&&!ue.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),Oe=e.MutationObserver||e.WebKitMutationObserver,Ze=e.HTMLAnchorElement,Pe=(e.HTMLElement||e.Element||e.Node).prototype,Ne=!ue.call(Pe,ie),ze=Ne?function(e,t,n){return e[t]=n.value,e}:he,Ae=Ne?function(e){return 1===e.nodeType}:function(e){return ue.call(Pe,e)},Ie=Ne&&[],je=Pe.attachShadow,Re=Pe.cloneNode,xe=Pe.closest||function(e){for(var t=this;t&&t.nodeName!==e;)t=t.parentNode;return t},Fe=Pe.dispatchEvent,Ve=Pe.getAttribute,Ue=Pe.hasAttribute,qe=Pe.removeAttribute,Be=Pe.setAttribute,Ge=b.createElement,We=b.importNode,$e=Ge,Xe=Oe&&{attributes:!0,characterData:!0,attributeOldValue:!0},Je=Oe||function(e){tt=!1,ie.removeEventListener(J,Je)},Ke=0,Ye=N in b&&!/^force-all/.test(t.type),Qe=!0,et=!1,tt=!0,nt=!0,ot=!0;if(Oe&&((P=b.createElement("div")).innerHTML="<div><div></div></div>",new Oe((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(P=fe(Pe,"innerHTML"))&&P.set;n&&he(Pe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),P=null})).observe(P,{childList:!0,subtree:!0}),P.innerHTML=""),Ye||(ge||Te?(O=function(e,t){ue.call(t,e)||p(e,t)},Z=p):Z=O=function(e,t){e[A]||(e[A]=E(!0),p(e,t))},Ne?(tt=!1,function(){var e=fe(Pe,I),t=e.value,n=function(e){var t=new CustomEvent(J,{bubbles:!0});t.attrName=e,t.prevValue=Ve.call(this,e),t.newValue=null,t[X]=t.attrChange=2,qe.call(this,e),Fe.call(this,t)},o=function(e,t){var n=Ue.call(this,e),o=n&&Ve.call(this,e),r=new CustomEvent(J,{bubbles:!0});Be.call(this,e,t),r.attrName=e,r.prevValue=n?o:null,r.newValue=t,n?r.MODIFICATION=r.attrChange=1:r[$]=r.attrChange=0,Fe.call(this,r)},r=function(e){var t,n=e.currentTarget,o=n[A],r=e.propertyName;o.hasOwnProperty(r)&&(o=o[r],(t=new CustomEvent(J,{bubbles:!0})).attrName=o.name,t.prevValue=o.value||null,t.newValue=o.value=n[r]||null,null==t.prevValue?t[$]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,a,i){e===J&&this[V]&&this.setAttribute!==o&&(this[A]={className:{name:"class",value:this.className}},this.setAttribute=o,this.removeAttribute=n,t.call(this,"propertychange",r)),t.call(this,e,a,i)},he(Pe,I,e)}()):Oe||(ie[I](J,Je),ie.setAttribute(A,1),ie.removeAttribute(A),tt&&(M=function(e){var t,n,o,r=this;if(r===e.target){for(o in t=r[A],r[A]=n=S(r),n){if(!(o in t))return C(0,r,o,t[o],n[o],$);if(n[o]!==t[o])return C(1,r,o,t[o],n[o],"MODIFICATION")}for(o in t)if(!(o in n))return C(2,r,o,t[o],n[o],X)}},C=function(e,t,n,o,r,a){var i={attrChange:e,currentTarget:t,attrName:n,prevValue:o,newValue:r};i[a]=e,s(i)},S=function(e){for(var t,n,o={},r=e.attributes,a=0,i=r.length;a<i;a++)"setAttribute"!==(n=(t=r[a]).name)&&(o[n]=t.value);return o})),b[N]=function(e,t){if(n=e.toUpperCase(),Qe&&(Qe=!1,Oe?(D=function(e,t){function n(e,t){for(var n=0,o=e.length;n<o;t(e[n++]));}return new Oe((function(o){for(var r,a,i,s=0,c=o.length;s<c;s++)"childList"===(r=o[s]).type?(n(r.addedNodes,e),n(r.removedNodes,t)):(a=r.target,ot&&a[V]&&"style"!==r.attributeName&&(i=Ve.call(a,r.attributeName))!==r.oldValue&&a[V](r.attributeName,r.oldValue,i))}))}(r(j),r(x)),(H=function(e){return D.observe(e,{childList:!0,subtree:!0}),e})(b),je&&(Pe.attachShadow=function(){return H(je.apply(this,arguments))})):(L=[],b[I]("DOMNodeInserted",c(j)),b[I]("DOMNodeRemoved",c(x))),b[I](K,l),b[I]("readystatechange",l),b.importNode=function(e,t){switch(e.nodeType){case 1:return h(b,We,[e,!!t]);case 11:for(var n=b.createDocumentFragment(),o=e.childNodes,r=o.length,a=0;a<r;a++)n.appendChild(b.importNode(o[a],!!t));return n;default:return Re.call(e,!!t)}},Pe.cloneNode=function(e){return h(this,Re,[!!e])}),et)return et=!1;if(-2<se.call(oe,ee+n)+se.call(oe,Q+n)&&f(e),!te.test(n)||-1<se.call(ne,n))throw new Error("The type "+e+" is invalid");var n,a,i=function(){return u?b.createElement(p,n):b.createElement(p)},s=t||ce,u=le.call(s,F),p=u?t[F].toUpperCase():n;return u&&-1<se.call(oe,Q+p)&&f(p),a=oe.push((u?ee:Q)+n)-1,ae=ae.concat(ae.length?",":"",u?p+'[is="'+e.toLowerCase()+'"]':p),i.prototype=re[a]=le.call(s,"prototype")?s.prototype:De(Pe),ae.length&&o(b.querySelectorAll(ae),j),i},b.createElement=$e=function(e,t){var n=y(t),o=n?Ge.call(b,e,Se(n)):Ge.call(b,e),r=""+e,a=se.call(oe,(n?ee:Q)+(n||r).toUpperCase()),s=-1<a;return n&&(o.setAttribute("is",n=n.toLowerCase()),s&&(s=i(r.toUpperCase(),n))),ot=!b.createElement.innerHTMLHelper,s&&Z(o,re[a]),o}),addEventListener("beforeunload",(function(){delete b.createElement,delete b.importNode,delete b[N]}),!1),m.prototype={constructor:m,define:_e?function(e,t,n){if(n)g(e,t,n);else{var o=e.toUpperCase();Le[o]={constructor:t,create:[o]},Ce.set(t,o),ve.define(e,t)}}:g,get:_e?function(e){return ve.get(e)||T(e)}:T,whenDefined:_e?function(e){return Ee.race([ve.whenDefined(e),_(e)])}:_},!ve||/^force/.test(t.type))k();else if(!t.noBuiltIn)try{!function(t,n,o){var r=new RegExp("^<a\\s+is=('|\")"+o+"\\1></a>$");if(n[F]="a",(t.prototype=De(Ze.prototype)).constructor=t,e.customElements.define(o,t,n),!r.test(b.createElement("a",{is:o}).outerHTML)||!r.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(Ze,[],e)}),{},"document-register-element-a"+z)}catch(rt){k()}if(!t.noBuiltIn)try{if(Ge.call(b,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(at){Se=function(e){return{is:e.toLowerCase()}}}}(window)},"hN/g":function(e,t,n){"use strict";n.r(t),n("pDpN"),n("KJ4T")},pDpN:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function a(e){return r+e}const i=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(i||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class s{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=s.current;for(;e.parent;)e=e.parent;return e}static get current(){return O.zone}static get currentTask(){return Z}static __load_patch(t,r){if(D.hasOwnProperty(t)){if(i)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const a="Zone:"+t;n(a),D[t]=r(e,s,H),o(a,a)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{O=O.parent}}runGuarded(e,t=null,n,o){O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{O=O.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");if(e.state===_&&(e.type===S||e.type===C))return;const o=e.state!=E;o&&e._transitionTo(E,b),e.runCount++;const r=Z;Z=e,O={parent:O,zone:this};try{e.type==C&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{e.state!==_&&e.state!==L&&(e.type==S||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(_,E,_))),O=O.parent,Z=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(k,_);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(L,k,_),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(b,k),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(M,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(C,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(S,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");e._transitionTo(w,b,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(L,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(_,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;o<n.length;o++)n[o]._updateTaskCount(e.type,t)}}s.__symbol__=a;const c={name:"",onHasTask:(e,t,n,o)=>e.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,a)=>e.invokeTask(n,o,r,a),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=M)throw new Error("Task is missing scheduleFn.");T(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,a,i){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=a,this.cancelFn=i,!o)throw new Error("callback is not defined");this.callback=o;const s=this;this.invoke=t===S&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,s,this,arguments)}}static invokeTask(e,t,n){e||(e=this),P++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==P&&y(),P--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(_,k)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==_&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=a("setTimeout"),p=a("Promise"),f=a("then");let d,m=[],g=!1;function T(t){if(0===P&&0===m.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,y)}else e[h](y,0);t&&m.push(t)}function y(){if(!g){for(g=!0;m.length;){const t=m;m=[];for(let n=0;n<t.length;n++){const o=t[n];try{o.zone.runTask(o,null,null)}catch(e){H.onUnhandledError(e)}}}H.microtaskDrainDone(),g=!1}}const v={name:"NO ZONE"},_="notScheduled",k="scheduling",b="scheduled",E="running",w="canceling",L="unknown",M="microTask",C="macroTask",S="eventTask",D={},H={symbol:a,currentZoneFrame:()=>O,onUnhandledError:N,microtaskDrainDone:N,scheduleMicroTask:T,showUncaughtError:()=>!s[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:N,patchMethod:()=>N,bindArguments:()=>[],patchThen:()=>N,patchMacroTask:()=>N,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>N,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>N,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>N,wrapWithCurrentZone:()=>N,filterProperties:()=>[],attachOriginToPatched:()=>N,_redefineProperty:()=>N,patchCallbacks:()=>N};let O={parent:null,zone:new s(null,null)},Z=null,P=0;function N(){}o("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,a=n.symbol,i=[],s=!0===e[a("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=a("Promise"),l=a("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=a("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return H.reject(e)}const m=a("state"),g=a("value"),T=a("finally"),y=a("parentPromiseValue"),v=a("parentPromiseState"),_=null,k=!0,b=!1;function E(e,t){return n=>{try{L(e,t,n)}catch(o){L(e,!1,o)}}}const w=a("currentTaskTrace");function L(e,o,a){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===a)throw new TypeError("Promise resolved with itself");if(e[m]===_){let h=null;try{"object"!=typeof a&&"function"!=typeof a||(h=a&&a.then)}catch(u){return c(()=>{L(e,!1,u)})(),e}if(o!==b&&a instanceof H&&a.hasOwnProperty(m)&&a.hasOwnProperty(g)&&a[m]!==_)C(a),L(e,a[m],a[g]);else if(o!==b&&"function"==typeof h)try{h.call(a,c(E(e,o)),c(E(e,!1)))}catch(u){c(()=>{L(e,!1,u)})()}else{e[m]=o;const c=e[g];if(e[g]=a,e[T]===T&&o===k&&(e[m]=e[v],e[g]=e[y]),o===b&&a instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(a,w,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<c.length;)S(e,c[t++],c[t++],c[t++],c[t++]);if(0==c.length&&o==b){e[m]=0;let o=a;if(!s)try{throw new Error("Uncaught (in promise): "+((l=a)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(a&&a.stack?"\n"+a.stack:""))}catch(u){o=u}o.rejection=a,o.promise=e,o.zone=t.current,o.task=t.currentTask,i.push(o),n.scheduleMicroTask()}}}var l;return e}const M=a("rejectionHandledHandler");function C(e){if(0===e[m]){try{const n=t[M];n&&"function"==typeof n&&n.call(this,{rejection:e[g],promise:e})}catch(n){}e[m]=b;for(let t=0;t<i.length;t++)e===i[t].promise&&i.splice(t,1)}}function S(e,t,n,o,r){C(e);const a=e[m],i=a?"function"==typeof o?o:f:"function"==typeof r?r:d;t.scheduleMicroTask("Promise.then",()=>{try{const o=e[g],r=!!n&&T===n[T];r&&(n[y]=o,n[v]=a);const s=t.run(i,void 0,r&&i!==d&&i!==f?[]:[o]);L(n,!0,s)}catch(o){L(n,!1,o)}},n)}const D=function(){};class H{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return L(new this(null),k,e)}static reject(e){return L(new this(null),b,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function a(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(r,a);return o}static all(e){return H.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof H?this:H).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),a=2,i=0;const s=[];for(let l of e){p(l)||(l=this.resolve(l));const e=i;try{l.then(o=>{s[e]=t?t.thenCallback(o):o,a--,0===a&&n(s)},r=>{t?(s[e]=t.errorCallback(r),a--,0===a&&n(s)):o(r)})}catch(c){o(c)}a++,i++}return a-=2,0===a&&n(s),r}constructor(e){const t=this;if(!(t instanceof H))throw new Error("Must be an instanceof Promise.");t[m]=_,t[g]=[];try{e&&e(E(t,k),E(t,b))}catch(n){L(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return H}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||H);const r=new o(D),a=t.current;return this[m]==_?this[g].push(a,r,e,n):S(this,a,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=H);const o=new n(D);o[T]=T;const r=t.current;return this[m]==_?this[g].push(r,o,e,e):S(this,r,o,e,e),o}}H.resolve=H.resolve,H.reject=H.reject,H.race=H.race,H.all=H.all;const O=e[c]=e.Promise,Z=t.__symbol__("ZoneAwarePromise");let P=o(e,"Promise");P&&!P.configurable||(P&&delete P.writable,P&&delete P.value,P||(P={configurable:!0,enumerable:!0}),P.get=function(){return e[Z]?e[Z]:e[c]},P.set=function(t){t===H?e[Z]=t:(e[c]=t,t.prototype[l]||z(t),n.setNativePromise(t))},r(e,"Promise",P)),e.Promise=H;const N=a("thenPatched");function z(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new H((e,t)=>{r.call(this,e,t)}).then(e,t)},e[N]=!0}if(n.patchThen=z,O){z(O);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(A=t,function(){let e=A.apply(this,arguments);if(e instanceof H)return e;let t=e.constructor;return t[N]||z(t),e}))}var A;return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,H});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,a="addEventListener",i="removeEventListener",s=Zone.__symbol__(a),c=Zone.__symbol__(i),l="true",u="false",h=Zone.__symbol__("");function p(e,t){return Zone.current.wrap(e,t)}function f(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const d=Zone.__symbol__,m="undefined"!=typeof window,g=m?window:void 0,T=m&&g||"object"==typeof self&&self||global,y=[null];function v(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function _(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in T)&&void 0!==T.process&&"[object process]"==={}.toString.call(T.process),E=!b&&!k&&!(!m||!g.HTMLElement),w=void 0!==T.process&&"[object process]"==={}.toString.call(T.process)&&!k&&!(!m||!g.HTMLElement),L={},M=function(e){if(!(e=e||T.event))return;let t=L[e.type];t||(t=L[e.type]=d("ON_PROPERTY"+e.type));const n=this||e.target||T,o=n[t];let r;if(E&&n===g&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function C(n,o,r){let a=e(n,o);if(!a&&r&&e(r,o)&&(a={enumerable:!0,configurable:!0}),!a||!a.configurable)return;const i=d("on"+o+"patched");if(n.hasOwnProperty(i)&&n[i])return;delete a.writable,delete a.value;const s=a.get,c=a.set,l=o.substr(2);let u=L[l];u||(u=L[l]=d("ON_PROPERTY"+l)),a.set=function(e){let t=this;t||n!==T||(t=T),t&&(t[u]&&t.removeEventListener(l,M),c&&c.apply(t,y),"function"==typeof e?(t[u]=e,t.addEventListener(l,M,!1)):t[u]=null)},a.get=function(){let e=this;if(e||n!==T||(e=T),!e)return null;const t=e[u];if(t)return t;if(s){let t=s&&s.call(this);if(t)return a.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,a),n[i]=!0}function S(e,t,n){if(t)for(let o=0;o<t.length;o++)C(e,"on"+t[o],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let o=0;o<t.length;o++)C(e,t[o],n)}}const D=d("originalInstance");function H(e){const n=T[e];if(!n)return;T[d(e)]=n,T[e]=function(){const t=v(arguments,e);switch(t.length){case 0:this[D]=new n;break;case 1:this[D]=new n(t[0]);break;case 2:this[D]=new n(t[0],t[1]);break;case 3:this[D]=new n(t[0],t[1],t[2]);break;case 4:this[D]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},P(T[e],n);const o=new n((function(){}));let r;for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof o[n]?T[e].prototype[n]=function(){return this[D][n].apply(this[D],arguments)}:t(T[e].prototype,n,{set:function(t){"function"==typeof t?(this[D][n]=p(t,e+"."+n),P(this[D][n],t)):this[D][n]=t},get:function(){return this[D][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(T[e][r]=n[r])}function O(t,o,r){let a=t;for(;a&&!a.hasOwnProperty(o);)a=n(a);!a&&t[o]&&(a=t);const i=d(o);let s=null;if(a&&!(s=a[i])&&(s=a[i]=a[o],_(a&&e(a,o)))){const e=r(s,i,o);a[o]=function(){return e(this,arguments)},P(a[o],s)}return s}function Z(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=O(e,t,e=>function(t,o){const a=n(t,o);return a.cbIdx>=0&&"function"==typeof o[a.cbIdx]?f(a.name,o[a.cbIdx],a,r):e.apply(t,o)})}function P(e,t){e[d("OriginalDelegate")]=t}let N=!1,z=!1;function A(){try{const e=g.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function I(){if(N)return z;N=!0;try{const e=g.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(z=!0)}catch(e){}return z}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=d("OriginalDelegate"),o=d("Promise"),r=d("Error"),a=function(){if("function"==typeof this){const a=this[n];if(a)return"function"==typeof a?t.call(a):Object.prototype.toString.call(a);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let j=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){j=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(he){j=!1}const R={useG:!0},x={},F={},V=new RegExp("^"+h+"(\\w+)(true|false)$"),U=d("propagationStopped");function q(e,t){const n=(t?t(e):e)+u,o=(t?t(e):e)+l,r=h+n,a=h+o;x[e]={},x[e].false=r,x[e].true=a}function B(e,t,o){const r=o&&o.add||a,s=o&&o.rm||i,c=o&&o.listeners||"eventListeners",p=o&&o.rmAll||"removeAllListeners",f=d(r),m="."+r+":",g=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},T=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[x[t.type].false];if(o)if(1===o.length)g(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[U]);o++)g(e[o],n,t)}},y=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[x[t.type].true];if(o)if(1===o.length)g(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[U]);o++)g(e[o],n,t)}};function v(t,o){if(!t)return!1;let a=!0;o&&void 0!==o.useG&&(a=o.useG);const i=o&&o.vh;let g=!0;o&&void 0!==o.chkDup&&(g=o.chkDup);let v=!1;o&&void 0!==o.rt&&(v=o.rt);let _=t;for(;_&&!_.hasOwnProperty(r);)_=n(_);if(!_&&t[r]&&(_=t),!_)return!1;if(_[f])return!1;const k=o&&o.eventNameToString,E={},w=_[f]=_[r],L=_[d(s)]=_[s],M=_[d(c)]=_[c],C=_[d(p)]=_[p];let S;function D(e,t){return!j&&"object"==typeof e&&e?!!e.capture:j&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}o&&o.prepend&&(S=_[d(o.prepend)]=_[o.prepend]);const H=a?function(e){if(!E.isExisting)return w.call(E.target,E.eventName,E.capture?y:T,E.options)}:function(e){return w.call(E.target,E.eventName,e.invoke,E.options)},O=a?function(e){if(!e.isRemoved){const t=x[e.eventName];let n;t&&(n=t[e.capture?l:u]);const o=n&&e.target[n];if(o)for(let r=0;r<o.length;r++)if(o[r]===e){o.splice(r,1),e.isRemoved=!0,0===o.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return L.call(e.target,e.eventName,e.capture?y:T,e.options)}:function(e){return L.call(e.target,e.eventName,e.invoke,e.options)},Z=o&&o.diff?o.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},N=Zone[d("BLACK_LISTED_EVENTS")],z=e[d("PASSIVE_EVENTS")],A=function(t,n,r,s,c=!1,h=!1){return function(){const p=this||e;let f=arguments[0];o&&o.transferEventName&&(f=o.transferEventName(f));let d=arguments[1];if(!d)return t.apply(this,arguments);if(b&&"uncaughtException"===f)return t.apply(this,arguments);let m=!1;if("function"!=typeof d){if(!d.handleEvent)return t.apply(this,arguments);m=!0}if(i&&!i(t,d,p,arguments))return;const T=j&&!!z&&-1!==z.indexOf(f),y=D(arguments[2],T);if(N)for(let e=0;e<N.length;e++)if(f===N[e])return T?t.call(p,f,d,y):t.apply(this,arguments);const v=!!y&&("boolean"==typeof y||y.capture),_=!(!y||"object"!=typeof y)&&y.once,w=Zone.current;let L=x[f];L||(q(f,k),L=x[f]);const M=L[v?l:u];let C,S=p[M],H=!1;if(S){if(H=!0,g)for(let e=0;e<S.length;e++)if(Z(S[e],d))return}else S=p[M]=[];const O=p.constructor.name,P=F[O];P&&(C=P[f]),C||(C=O+n+(k?k(f):f)),E.options=y,_&&(E.options.once=!1),E.target=p,E.capture=v,E.eventName=f,E.isExisting=H;const A=a?R:void 0;A&&(A.taskData=E);const I=w.scheduleEventTask(C,d,A,r,s);return E.target=null,A&&(A.taskData=null),_&&(y.once=!0),(j||"boolean"!=typeof I.options)&&(I.options=y),I.target=p,I.capture=v,I.eventName=f,m&&(I.originalDelegate=d),h?S.unshift(I):S.push(I),c?p:void 0}};return _[r]=A(w,m,H,O,v),S&&(_.prependListener=A(S,".prependListener:",(function(e){return S.call(E.target,E.eventName,e.invoke,E.options)}),O,v,!0)),_[s]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=arguments[2],a=!!r&&("boolean"==typeof r||r.capture),s=arguments[1];if(!s)return L.apply(this,arguments);if(i&&!i(L,s,t,arguments))return;const c=x[n];let p;c&&(p=c[a?l:u]);const f=p&&t[p];if(f)for(let e=0;e<f.length;e++){const o=f[e];if(Z(o,s))return f.splice(e,1),o.isRemoved=!0,0===f.length&&(o.allRemoved=!0,t[p]=null,"string"==typeof n)&&(t[h+"ON_PROPERTY"+n]=null),o.zone.cancelTask(o),v?t:void 0}return L.apply(this,arguments)},_[c]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=[],a=G(t,k?k(n):n);for(let e=0;e<a.length;e++){const t=a[e];r.push(t.originalDelegate?t.originalDelegate:t.callback)}return r},_[p]=function(){const t=this||e;let n=arguments[0];if(n){o&&o.transferEventName&&(n=o.transferEventName(n));const e=x[n];if(e){const o=t[e.false],r=t[e.true];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const o=e[t];this[s].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}if(r){const e=r.slice();for(let t=0;t<e.length;t++){const o=e[t];this[s].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=V.exec(e[t]);let o=n&&n[1];o&&"removeListener"!==o&&this[p].call(this,o)}this[p].call(this,"removeListener")}if(v)return this},P(_[r],w),P(_[s],L),C&&P(_[p],C),M&&P(_[c],M),!0}let _=[];for(let n=0;n<t.length;n++)_[n]=v(t[n],o);return _}function G(e,t){if(!t){const n=[];for(let o in e){const r=V.exec(o);let a=r&&r[1];if(a&&(!t||a===t)){const t=e[o];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=x[t];n||(q(t),n=x[t]);const o=e[n.false],r=e[n.true];return o?r?o.concat(r):o.slice():r?r.slice():[]}function W(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[U]=!0,e&&e.apply(t,n)})}function $(e,t,n,o,r){const a=Zone.__symbol__(o);if(t[a])return;const i=t[a]=t[o];t[o]=function(a,s,c){return s&&s.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,a=s.prototype;if(a.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(a,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(s.prototype,t,n)):a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],r))}else a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],r))})),i.call(t,a,s,c)},e.attachOriginToPatched(t[o],i)}const X=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],J=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],K=["load"],Y=["blur","error","focus","load","resize","scroll","messageerror"],Q=["bounce","finish","start"],ee=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],te=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ne=["close","error","open","message"],oe=["error","message"],re=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],X,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ae(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ie(e,t,n,o){e&&S(e,ae(e,t,n),o)}function se(e,t){if(b&&!w)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(E){const e=window,t=A?[{target:e,ignoreProperties:["error"]}]:[];ie(e,re.concat(["messageerror"]),r?r.concat(t):r,n(e)),ie(Document.prototype,re,r),void 0!==e.SVGElement&&ie(e.SVGElement.prototype,re,r),ie(Element.prototype,re,r),ie(HTMLElement.prototype,re,r),ie(HTMLMediaElement.prototype,J,r),ie(HTMLFrameSetElement.prototype,X.concat(Y),r),ie(HTMLBodyElement.prototype,X.concat(Y),r),ie(HTMLFrameElement.prototype,K,r),ie(HTMLIFrameElement.prototype,K,r);const o=e.HTMLMarqueeElement;o&&ie(o.prototype,Q,r);const a=e.Worker;a&&ie(a.prototype,oe,r)}const a=t.XMLHttpRequest;a&&ie(a.prototype,ee,r);const i=t.XMLHttpRequestEventTarget;i&&ie(i&&i.prototype,ee,r),"undefined"!=typeof IDBIndex&&(ie(IDBIndex.prototype,te,r),ie(IDBRequest.prototype,te,r),ie(IDBOpenDBRequest.prototype,te,r),ie(IDBDatabase.prototype,te,r),ie(IDBTransaction.prototype,te,r),ie(IDBCursor.prototype,te,r)),o&&ie(WebSocket.prototype,ne,r)}Zone.__load_patch("util",(n,s,c)=>{c.patchOnProperties=S,c.patchMethod=O,c.bindArguments=v,c.patchMacroTask=Z;const f=s.__symbol__("BLACK_LISTED_EVENTS"),d=s.__symbol__("UNPATCHED_EVENTS");n[d]&&(n[f]=n[d]),n[f]&&(s[f]=s[d]=n[f]),c.patchEventPrototype=W,c.patchEventTarget=B,c.isIEOrEdge=I,c.ObjectDefineProperty=t,c.ObjectGetOwnPropertyDescriptor=e,c.ObjectCreate=o,c.ArraySlice=r,c.patchClass=H,c.wrapWithCurrentZone=p,c.filterProperties=ae,c.attachOriginToPatched=P,c._redefineProperty=Object.defineProperty,c.patchCallbacks=$,c.getGlobalObjects=()=>({globalSources:F,zoneSymbolEventNames:x,eventNames:re,isBrowser:E,isMix:w,isNode:b,TRUE_STR:l,FALSE_STR:u,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:i})});const ce=d("zoneTask");function le(e,t,n,o){let r=null,a=null;n+=o;const i={};function s(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[ce]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return a(e.data.handleId)}r=O(e,t+=o,n=>function(r,a){if("function"==typeof a[0]){const e=f(t,a[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?a[1]||0:void 0,args:a},s,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[ce]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,a)}),a=O(e,n,t=>function(n,o){const r=o[0];let a;"number"==typeof r?a=i[r]:(a=r&&r[ce],a||(a=r)),a&&"string"==typeof a.type?"notScheduled"!==a.state&&(a.cancelFn&&a.data.isPeriodic||0===a.runCount)&&("number"==typeof r?delete i[r]:r&&(r[ce]=null),a.zone.cancelTask(a)):t.apply(e,o)})}function ue(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:a,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=i+(e+a),s=i+(e+r);o[e]={},o[e][a]=t,o[e][r]=s}const s=e.EventTarget;return s&&s.prototype?(t.patchEventTarget(e,[s&&s.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{const t="set",n="clear";le(e,t,n,"Timeout"),le(e,t,n,"Interval"),le(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{le(e,"request","cancel","AnimationFrame"),le(e,"mozRequest","mozCancel","AnimationFrame"),le(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)O(e,n[o],(n,o,r)=>function(o,a){return t.current.run(n,e,a,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,n),ue(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),H("MutationObserver"),H("WebKitMutationObserver"),H("IntersectionObserver"),H("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{se(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const u=e.XMLHttpRequest;if(!u)return;const h=u.prototype;let p=h[s],m=h[c];if(!p){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;p=e[s],m=e[c]}}const g="readystatechange",T="scheduled";function y(e){const o=e.data,i=o.target;i[a]=!1,i[l]=!1;const u=i[r];p||(p=i[s],m=i[c]),u&&m.call(i,g,u);const h=i[r]=()=>{if(i.readyState===i.DONE)if(!o.aborted&&i[a]&&e.state===T){const n=i[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=i[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);o.aborted||e.state!==T||r.call(e)},n.push(e)}else e.invoke()}else o.aborted||!1!==i[a]||(i[l]=!0)};return p.call(i,g,h),i[n]||(i[n]=e),w.apply(i,o.args),i[a]=!0,e}function v(){}function _(e){const t=e.data;return t.aborted=!0,L.apply(t.target,t.args)}const k=O(h,"open",()=>function(e,t){return e[o]=0==t[2],e[i]=t[1],k.apply(e,t)}),b=d("fetchTaskAborting"),E=d("fetchTaskScheduling"),w=O(h,"send",()=>function(e,n){if(!0===t.current[E])return w.apply(e,n);if(e[o])return w.apply(e,n);{const t={target:e,url:e[i],isPeriodic:!1,args:n,aborted:!1},o=f("XMLHttpRequest.send",v,t,y,_);e&&!0===e[l]&&!t.aborted&&o.state===T&&o.invoke()}}),L=O(h,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[b])return L.apply(e,o)})}(e);const n=d("xhrTask"),o=d("xhrSync"),r=d("xhrListener"),a=d("xhrScheduled"),i=d("xhrURL"),l=d("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r<n.length;r++){const a=n[r],i=t[a];if(i){if(!_(e(t,a)))continue;t[a]=(e=>{const t=function(){return e.apply(this,v(arguments,o+"."+a))};return P(t,e),t})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){G(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[d("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[d("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[1,0]]]);
  (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function i(e){setTimeout(()=>{throw e},0)}const l={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;i(e)},complete(){}},u=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const a=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let h=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(o)){s&&(this._unsubscribe=void 0);try{o.call(this)}catch(l){t=l instanceof a?d(l.errors):[l]}}if(u(i)){let e=-1,n=i.length;for(;++e<n;){const n=i[e];if(c(n))try{n.unsubscribe()}catch(l){t=t||[],l instanceof a?t=t.concat(d(l.errors)):t.push(l)}}}if(t)throw new a(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function d(e){return e.reduce((e,t)=>e.concat(t instanceof a?t.errors:t),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!e){this.destination=l;break}if("object"==typeof e){e instanceof p?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new _(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new _(this,e,t,n)}}[f](){return this}static create(e,t,n){const r=new p(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class _ extends p{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let i=this;r(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==l&&(i=Object.create(t),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):i(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof p)return e;if(e[f])return e[f]()}return e||t||n?new p(e,t,n):new p(l)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof p?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=w(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=w(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function w(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const v=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class b extends h{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class C extends p{constructor(e){super(e),this.destination=e}}let E=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new C(this)}lift(e){const t=new x(this,this);return t.operator=e,t}next(e){if(this.closed)throw new v;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new v;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new v;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new v;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new v;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new b(this,e))}asObservable(){const e=new y;return e.source=this,e}}return e.create=(e,t)=>new x(e,t),e})();class x extends E{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):h.EMPTY}}function T(e){return e&&"function"==typeof e.schedule}function k(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new I(e,t))}}class I{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new S(e,this.project,this.thisArg))}}class S extends p{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const A=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const N=O(),D=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function j(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const F=e=>{if(e&&"function"==typeof e[m])return r=e,e=>{const t=r[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(D(e))return A(e);if(j(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i),e);if(e&&"function"==typeof e[N])return t=e,e=>{const n=t[N]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,r};function R(e,t){return new y(n=>{const r=new h;let s=0;return r.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function P(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new y(n=>{const r=new h;return r.add(t.schedule(()=>{const s=e[m]();r.add(s.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(j(e))return function(e,t){return new y(n=>{const r=new h;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(D(e))return R(e,t);if(function(e){return e&&"function"==typeof e[N]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new y(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(t.schedule(()=>{s=e[N](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof y?e:new y(F(e))}class V extends p{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class M extends p{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function H(e,t){if(!t.closed)return e instanceof y?e.subscribe(t):F(e)(t)}class L{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new Z(e,this.project,this.concurrent))}}class Z extends M{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new V(this),n=this.destination;n.add(t);const r=H(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(e,t){return t?R(e,t):new y(A(e))}function z(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return T(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(e((e,r)=>P(t(e,r)).pipe(k((t,s)=>n(e,t,r,s))),r)):("number"==typeof n&&(r=n),e=>e.lift(new L(t,r)))}(g,e)}(t)(B(e,n))}function $(){return function(e){return e.lift(new U(e))}}class U{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new W(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class W extends p{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class q extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new h,e.add(this.source.subscribe(new Q(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return $()(this)}}const G=(()=>{const e=q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class Q extends C{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function J(){return new E}function Y(e){return{toString:e}.toString()}const K="__parameters__";function X(e,t,n){return Y(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(K)?e[K]:Object.defineProperty(e,K,{value:[]})[K];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const ee=X("Inject",e=>({token:e})),te=X("Optional"),ne=X("Self"),re=X("SkipSelf");var se=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function ie(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function le(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function ue(e){return ce(e,e[he])||ce(e,e[pe])}function ce(e,t){return t&&t.token===e?t:null}function ae(e){return e&&(e.hasOwnProperty(de)||e.hasOwnProperty(_e))?e[de]:null}const he=oe({"\u0275prov":oe}),de=oe({"\u0275inj":oe}),fe=oe({"\u0275provFallback":oe}),pe=oe({ngInjectableDef:oe}),_e=oe({ngInjectorDef:oe});function me(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ge(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ye=oe({__forward_ref__:oe});function we(e){return e.__forward_ref__=we,e.toString=function(){return me(this())},e}function ve(e){return"function"==typeof(t=e)&&t.hasOwnProperty(ye)&&t.__forward_ref__===we?e():e;var t}const be="undefined"!=typeof globalThis&&globalThis,Ce="undefined"!=typeof window&&window,Ee="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,xe="undefined"!=typeof global&&global,Te=be||xe||Ce||Ee,ke=oe({"\u0275cmp":oe}),Ie=oe({"\u0275dir":oe}),Se=oe({"\u0275pipe":oe}),Ae=oe({"\u0275mod":oe}),Oe=oe({"\u0275loc":oe}),Ne=oe({"\u0275fac":oe}),De=oe({__NG_ELEMENT_ID__:oe});class je{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ie({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Fe=new je("INJECTOR",-1),Re={},Pe=/\n/gm,Ve="__source",Me=oe({provide:String,useValue:oe});let He,Le=void 0;function Ze(e){const t=Le;return Le=e,t}function Be(e){const t=He;return He=e,t}function ze(e,t=se.Default){if(void 0===Le)throw new Error("inject() must be called from an injection context");return null===Le?Ue(e,void 0,t):Le.get(e,t&se.Optional?null:void 0,t)}function $e(e,t=se.Default){return(He||ze)(ve(e),t)}function Ue(e,t,n){const r=ue(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&se.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${me(e)}]`)}function We(e){const t=[];for(let n=0;n<e.length;n++){const r=ve(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=se.Default;for(let t=0;t<r.length;t++){const s=r[t];s instanceof te||"Optional"===s.ngMetadataName||s===te?n|=se.Optional:s instanceof re||"SkipSelf"===s.ngMetadataName||s===re?n|=se.SkipSelf:s instanceof ne||"Self"===s.ngMetadataName||s===ne?n|=se.Self:e=s instanceof ee||s===ee?s.token:s}t.push($e(e,n))}else t.push($e(r))}return t}class qe{get(e,t=Re){if(t===Re){const t=new Error(`NullInjectorError: No provider for ${me(e)}!`);throw t.name="NullInjectorError",t}return t}}class Ge{}function Qe(e,t){e.forEach(e=>Array.isArray(e)?Qe(e,t):t(e))}function Je(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ye(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var Ke=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Xe=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const et={},tt=[];let nt=0;function rt(e){return Y(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ke.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||tt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Xe.Emulated,id:"c",styles:e.styles||tt,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,s=e.features,o=e.pipes;return n.id+=nt++,n.inputs=ut(e.inputs,t),n.outputs=ut(e.outputs),s&&s.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(st):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(ot):null,n})}function st(e){return at(e)||function(e){return e[Ie]||null}(e)}function ot(e){return function(e){return e[Se]||null}(e)}const it={};function lt(e){const t={type:e.type,bootstrap:e.bootstrap||tt,declarations:e.declarations||tt,imports:e.imports||tt,exports:e.exports||tt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Y(()=>{it[e.id]=e.type}),t}function ut(e,t){if(null==e)return et;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,t&&(t[s]=o)}return n}const ct=rt;function at(e){return e[ke]||null}function ht(e,t){return e.hasOwnProperty(Ne)?e[Ne]:null}function dt(e,t){const n=e[Ae]||null;if(!n&&!0===t)throw new Error(`Type ${me(e)} does not have '\u0275mod' property.`);return n}const ft=20,pt=10;function _t(e){return Array.isArray(e)&&"object"==typeof e[1]}function mt(e){return Array.isArray(e)&&!0===e[1]}function gt(e){return 0!=(8&e.flags)}function yt(e){return 2==(2&e.flags)}function wt(e){return 1==(1&e.flags)}function vt(e){return null!==e.template}function bt(e){return 0!=(512&e[2])}class Ct{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Et(){const e=Tt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===et)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function xt(e,t,n,r){const s=Tt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:et,current:null}),o=s.current||(s.current={}),i=s.previous,l=this.declaredInputs[n],u=i[l];o[l]=new Ct(u&&u.currentValue,t,i===et),e[r]=t}function Tt(e){return e.__ngSimpleChanges__||null}let kt=void 0;function It(e){return!!e.listen}const St={createRenderer:(e,t)=>void 0!==kt?kt:"undefined"!=typeof document?document:void 0};function At(e){for(;Array.isArray(e);)e=e[0];return e}function Ot(e,t){return At(t[e.index])}function Nt(e,t){return e.data[t+ft]}function Dt(e,t){const n=t[e];return _t(n)?n:n[0]}function jt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ft(e){return 128==(128&e[2])}function Rt(e,t){return null===e||null==t?null:e[t]}function Pt(e){e[18]=0}function Vt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Mt={lFrame:en(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ht(){return Mt.bindingsEnabled}function Lt(){return Mt.lFrame.lView}function Zt(){return Mt.lFrame.tView}function Bt(){return Mt.lFrame.currentTNode}function zt(e,t){Mt.lFrame.currentTNode=e,Mt.lFrame.isParent=t}function $t(){return Mt.lFrame.isParent}function Ut(){return Mt.checkNoChangesMode}function Wt(e){Mt.checkNoChangesMode=e}function qt(){return Mt.lFrame.bindingIndex++}function Gt(e,t){const n=Mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qt(t)}function Qt(e){Mt.lFrame.currentDirectiveIndex=e}function Jt(e){Mt.lFrame.currentQueryIndex=e}function Yt(e,t){const n=Xt();Mt.lFrame=n,n.currentTNode=t,n.lView=e}function Kt(e){const t=Xt(),n=e[1];Mt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex}function Xt(){const e=Mt.lFrame,t=null===e?null:e.child;return null===t?en(e):t}function en(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function tn(){const e=Mt.lFrame;return Mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const nn=tn;function rn(){const e=tn();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function sn(){return Mt.lFrame.selectedIndex}function on(e){Mt.lFrame.selectedIndex=e}function ln(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:i,ngOnDestroy:l}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),i&&((e.viewHooks||(e.viewHooks=[])).push(n,i),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i)),null!=l&&(e.destroyHooks||(e.destroyHooks=[])).push(n,l)}}function un(e,t,n){hn(e,t,3,n)}function cn(e,t,n,r){(3&e[2])===n&&hn(e,t,n,r)}function an(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function hn(e,t,n,r){const s=null!=r?r:-1;let o=0;for(let i=void 0!==r?65535&e[18]:0;i<t.length;i++)if("number"==typeof t[i+1]){if(o=t[i],null!=r&&o>=r)break}else t[i]<0&&(e[18]+=65536),(o<s||-1==s)&&(dn(e,n,t,i),e[18]=(4294901760&e[18])+i+2),i++}function dn(e,t,n,r){const s=n[r]<0,o=n[r+1],i=e[s?-n[r]:n[r]];s?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(i)):o.call(i)}const fn=-1;class pn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function _n(e,t,n){const r=It(e);let s=0;for(;s<n.length;){const o=n[s];if("number"==typeof o){if(0!==o)break;s++;const i=n[s++],l=n[s++],u=n[s++];r?e.setAttribute(t,l,u,i):t.setAttributeNS(i,l,u)}else{const i=o,l=n[++s];mn(i)?r&&e.setProperty(t,i,l):r?e.setAttribute(t,i,l):t.setAttribute(i,l),s++}}return s}function mn(e){return 64===e.charCodeAt(0)}function gn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||yn(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function yn(e,t,n,r,s){let o=0,i=e.length;if(-1===t)i=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){i=-1;break}if(n>t){i=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==s&&(e[o+1]=s));if(r===e[o+1])return void(e[o+2]=s)}o++,null!==r&&o++,null!==s&&o++}-1!==i&&(e.splice(i,0,t),o=i+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==s&&e.splice(o++,0,s)}function wn(e){return e!==fn}function vn(e){return 32767&e}function bn(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}function Cn(e){return"string"==typeof e?e:null==e?"":""+e}function En(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Cn(e)}const xn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Te))();function Tn(e){return e instanceof Function?e():e}let kn=!0;function In(e){const t=kn;return kn=e,t}let Sn=0;function An(e,t){const n=Nn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,On(r.data,e),On(t,null),On(r.blueprint,null));const s=Dn(e,t),o=e.injectorIndex;if(wn(s)){const e=vn(s),n=bn(s,t),r=n[1].data;for(let s=0;s<8;s++)t[o+s]=n[e+s]|r[e+s]}return t[o+8]=s,o}function On(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Nn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Dn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const e=s[1],t=e.type;if(r=2===t?e.declTNode:1===t?s[6]:null,null===r)return fn;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return fn}function jn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(De)&&(r=n[De]),null==r&&(r=n[De]=Sn++);const s=255&r,o=1<<s,i=64&s,l=32&s,u=t.data;128&s?i?l?u[e+7]|=o:u[e+6]|=o:l?u[e+5]|=o:u[e+4]|=o:i?l?u[e+3]|=o:u[e+2]|=o:l?u[e+1]|=o:u[e]|=o}(e,t,n)}function Fn(e,t,n,r=se.Default,s){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(De)?e[De]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof s){Yt(t,e);try{const e=s();if(null!=e||r&se.Optional)return e;throw new Error(`No provider for ${En(n)}!`)}finally{nn()}}else if("number"==typeof s){if(-1===s)return new Ln(e,t);let o=null,i=Nn(e,t),l=fn,u=r&se.Host?t[16][6]:null;for((-1===i||r&se.SkipSelf)&&(l=-1===i?Dn(e,t):t[i+8],l!==fn&&Hn(r,!1)?(o=t[1],i=vn(l),t=bn(l,t)):i=-1);-1!==i;){const e=t[1];if(Mn(s,i,e.data)){const e=Pn(i,t,n,o,r,u);if(e!==Rn)return e}l=t[i+8],l!==fn&&Hn(r,t[1].data[i+8]===u)&&Mn(s,i,t)?(o=e,i=vn(l),t=bn(l,t)):i=-1}}}if(r&se.Optional&&void 0===s&&(s=null),0==(r&(se.Self|se.Host))){const e=t[9],o=Be(void 0);try{return e?e.get(n,s,r&se.Optional):Ue(n,s,r&se.Optional)}finally{Be(o)}}if(r&se.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${En(n)}]`)}const Rn={};function Pn(e,t,n,r,s,o){const i=t[1],l=i.data[e+8],u=function(e,t,n,r,s){const o=e.providerIndexes,i=t.data,l=1048575&o,u=e.directiveStart,c=o>>20,a=s?l+c:e.directiveEnd;for(let h=r?l:l+c;h<a;h++){const e=i[h];if(h<u&&n===e||h>=u&&e.type===n)return h}if(s){const e=i[u];if(e&&vt(e)&&e.type===n)return u}return null}(l,i,n,null==r?yt(l)&&kn:r!=i&&2===l.type,s&se.Host&&o===l);return null!==u?Vn(t,i,u,l):Rn}function Vn(e,t,n,r){let s=e[n];const o=t.data;if(s instanceof pn){const i=s;if(i.resolving)throw new Error("Circular dep for "+En(o[n]));const l=In(i.canSeeViewProviders);i.resolving=!0;const u=i.injectImpl?Be(i.injectImpl):null;Yt(e,r);try{s=e[n]=i.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:o}=t.type.prototype;if(r){const r=((i=t).type.prototype.ngOnChanges&&(i.setInput=xt),Et);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}var i;s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==u&&Be(u),In(l),i.resolving=!1,nn()}}return s}function Mn(e,t,n){const r=64&e,s=32&e;let o;return o=128&e?r?s?n[t+7]:n[t+6]:s?n[t+5]:n[t+4]:r?s?n[t+3]:n[t+2]:s?n[t+1]:n[t],!!(o&1<<e)}function Hn(e,t){return!(e&se.Self||e&se.Host&&t)}class Ln{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Fn(this._tNode,this._lView,e,void 0,t)}}function Zn(e){return e.ngDebugContext}function Bn(e){return e.ngOriginalError}function zn(e,...t){e.error(...t)}class $n{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||zn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Zn(e)?Zn(e):this._findContext(Bn(e)):null}_findOriginalError(e){let t=Bn(e);for(;t&&Bn(t);)t=Bn(t);return t}}let Un=!0,Wn=!1;function qn(){return Wn=!0,Un}function Gn(e,t){e.__ngContext__=t}function Qn(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===r||e.charCodeAt(s+n)<=32)return s}n=s+1}}const Jn="ng-template";function Yn(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==Qn(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function Kn(e){return 0===e.type&&e.tagName!==Jn}function Xn(e,t,n){return t===(0!==e.type||n?e.tagName:Jn)}function er(e,t,n){let r=4;const s=e.attrs||[],o=function(e){for(let n=0;n<e.length;n++)if(3===(t=e[n])||4===t||6===t)return n;var t;return e.length}(s);let i=!1;for(let l=0;l<t.length;l++){const u=t[l];if("number"!=typeof u){if(!i)if(4&r){if(r=2|1&r,""!==u&&!Xn(e,u,n)||""===u&&1===t.length){if(tr(r))return!1;i=!0}}else{const c=8&r?u:t[++l];if(8&r&&null!==e.attrs){if(!Yn(e.attrs,c,n)){if(tr(r))return!1;i=!0}continue}const a=nr(8&r?"class":u,s,Kn(e),n);if(-1===a){if(tr(r))return!1;i=!0;continue}if(""!==c){let e;e=a>o?"":s[a+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==Qn(t,c,0)||2&r&&c!==e){if(tr(r))return!1;i=!0}}}}else{if(!i&&!tr(r)&&!tr(u))return!1;if(i&&tr(u))continue;i=!1,r=u|1&r}}return tr(r)||i}function tr(e){return 0==(1&e)}function nr(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let n=!1;for(;s<t.length;){const r=t[s];if(r===e)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function rr(e,t,n=!1){for(let r=0;r<t.length;r++)if(er(e,t[r],n))return!0;return!1}function sr(e,t){return e?":not("+t.trim()+")":t}function or(e){let t=e[0],n=1,r=2,s="",o=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&r){const t=e[++n];s+="["+i+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?s+="."+i:4&r&&(s+=" "+i);else""===s||tr(i)||(t+=sr(o,s),s=""),r=i,o=o||!tr(r);n++}return""!==s&&(t+=sr(o,s)),t}const ir={};function lr(e){const t=e[3];return mt(t)?t[3]:t}function ur(e){return ar(e[13])}function cr(e){return ar(e[4])}function ar(e){for(;null!==e&&!mt(e);)e=e[4];return e}function hr(e){dr(Zt(),Lt(),sn()+e,Ut())}function dr(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&un(t,r,n)}else{const r=e.preOrderHooks;null!==r&&cn(t,r,0,n)}on(n)}function fr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];Jt(s),n.contentQueries(2,t[o],o)}}}function pr(e,t,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function _r(e,t,n,r,s,o,i,l,u,c){const a=t.blueprint.slice();return a[0]=s,a[2]=140|r,Pt(a),a[3]=a[15]=e,a[8]=n,a[10]=i||e&&e[10],a[11]=l||e&&e[11],a[12]=u||e&&e[12]||null,a[9]=c||e&&e[9]||null,a[6]=o,a[16]=2==t.type?e[16]:a,a}function mr(e,t,n,r,s){const o=t+ft,i=e.data[o]||function(e,t,n,r,s){const o=Bt(),i=$t(),l=e.data[t]=function(e,t,n,r,s,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?o:o&&o.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=l),null!==o&&(i&&null==o.child&&null!==l.parent?o.child=l:i||(o.next=l)),l}(e,o,n,r,s);return zt(i,!0),i}function gr(e,t,n){Kt(t);try{const r=e.viewQuery;null!==r&&Ur(1,r,n);const s=e.template;null!==s&&vr(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&fr(e,t),e.staticViewQueries&&Ur(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)Lr(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,rn()}}function yr(e,t,n,r){const s=t[2];if(256==(256&s))return;Kt(t);const o=Ut();try{Pt(t),Mt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&vr(e,t,n,2,r);const i=3==(3&s);if(!o)if(i){const n=e.preOrderCheckHooks;null!==n&&un(t,n,null)}else{const n=e.preOrderHooks;null!==n&&cn(t,n,0,null),an(t,0)}if(function(e){for(let t=ur(e);null!==t;t=cr(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Vt(r,1),n[2]|=1024}}}(t),function(e){for(let t=ur(e);null!==t;t=cr(t))for(let e=pt;e<t.length;e++){const n=t[e],r=n[1];Ft(n)&&yr(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&fr(e,t),!o)if(i){const n=e.contentCheckHooks;null!==n&&un(t,n)}else{const n=e.contentHooks;null!==n&&cn(t,n,1),an(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,s=-1,o=-1;for(let e=0;e<n.length;e++){const i=n[e];"number"==typeof i?i<=0?(o=0-i,on(o),r+=9+n[++e],s=r):r+=i:(null!==i&&(Gt(r,s),i(2,t[s])),s++)}}}finally{on(-1)}}(e,t);const l=e.components;null!==l&&function(e,t){for(let n=0;n<t.length;n++)Hr(e,t[n])}(t,l);const u=e.viewQuery;if(null!==u&&Ur(2,u,r),!o)if(i){const n=e.viewCheckHooks;null!==n&&un(t,n)}else{const n=e.viewHooks;null!==n&&cn(t,n,2),an(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Vt(t[3],-1))}finally{rn()}}function wr(e,t,n,r){const s=t[10],o=!Ut(),i=4==(4&t[2]);try{o&&!i&&s.begin&&s.begin(),i&&gr(e,t,r),yr(e,t,n,r)}finally{o&&!i&&s.end&&s.end()}}function vr(e,t,n,r,s){const o=sn();try{on(-1),2&r&&t.length>ft&&dr(e,t,0,Ut()),n(r,s)}finally{on(o)}}function br(e,t,n){Ht()&&(function(e,t,n,r){const s=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||An(n,t),Gn(r,t);const i=n.initialInputs;for(let l=s;l<o;l++){const r=e.data[l],o=vt(r);o&&Rr(t,n,r);const u=Vn(t,e,l,n);Gn(u,t),null!==i&&Pr(0,l-s,u,r,0,i),o&&(Dt(n.index,t)[8]=u)}}(e,t,n,Ot(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=e.expandoInstructions,i=e.firstCreatePass,l=n.index-ft,u=Mt.lFrame.currentDirectiveIndex;try{on(l);for(let n=r;n<s;n++){const r=e.data[n],s=t[n];Qt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Ar(r,s):i&&o.push(null)}}finally{on(-1),Qt(u)}}(e,t,n))}function Cr(e,t,n=Ot){const r=t.localNames;if(null!==r){let s=t.index+1;for(let o=0;o<r.length;o+=2){const i=r[o+1],l=-1===i?n(t,e):e[i];e[s++]=l}}}function Er(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=xr(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function xr(e,t,n,r,s,o,i,l,u,c){const a=ft+r,h=a+s,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ir);return n}(a,h),f="function"==typeof c?c():c;return d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:l,declTNode:t,data:d.slice().fill(null,a),bindingStartIndex:a,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:u,consts:f,incompleteFirstPass:!1}}function Tr(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function kr(e,t,n,r){let s=!1;if(Ht()){const o=function(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let o=0;o<r.length;o++){const i=r[o];rr(n,i.selectors,!1)&&(s||(s=[]),jn(An(n,t),e,i.type),vt(i)?(Nr(e,n),s.unshift(i)):s.push(i))}return s}(e,t,n),i=null===r?null:{"":-1};if(null!==o){let r=0;s=!0,jr(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}Or(e,n,o.length);let l=!1,u=!1;for(let s=0;s<o.length;s++){const c=o[s];n.mergedAttrs=gn(n.mergedAttrs,c.hostAttrs),Fr(e,t,c),Dr(e.data.length-1,c,i),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const a=c.type.prototype;!l&&(a.ngOnChanges||a.ngOnInit||a.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-ft),l=!0),u||!a.ngOnChanges&&!a.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-ft),u=!0),Ir(e,c),r+=c.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,s=t.attrs,o=[];let i=null,l=null;for(let u=t.directiveStart;u<n;u++){const e=r[u],n=e.inputs,c=null===s||Kn(t)?null:Vr(n,s);o.push(c),i=Tr(n,u,i),l=Tr(e.outputs,u,l)}null!==i&&(i.hasOwnProperty("class")&&(t.flags|=16),i.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=i,t.outputs=l}(e,n),Sr(e,t,r)}i&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],s)}}}(n,r,i)}return n.mergedAttrs=gn(n.mergedAttrs,n.attrs),s}function Ir(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Sr(e,t,n){for(let r=0;r<n;r++)t.push(ir),e.blueprint.push(ir),e.data.push(null)}function Ar(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Or(e,t,n){const r=ft-t.index,s=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,s,n)}function Nr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Dr(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;vt(t)&&(n[""]=e)}}function jr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Fr(e,t,n){e.data.push(n);const r=n.factory||(n.factory=ht(n.type)),s=new pn(r,vt(n),null);e.blueprint.push(s),t.push(s)}function Rr(e,t,n){const r=Ot(t,e),s=Er(n),o=e[10],i=Zr(e,_r(e,s,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=i}function Pr(e,t,n,r,s,o){const i=o[t];if(null!==i){const e=r.setInput;for(let t=0;t<i.length;){const s=i[t++],o=i[t++],l=i[t++];null!==e?r.setInput(n,l,s,o):n[o]=l}}}function Vr(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Mr(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Hr(e,t){const n=Dt(t,e);if(Ft(n)){const e=n[1];80&n[2]?yr(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=ur(t);null!==r;r=cr(r))for(let t=pt;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];yr(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Dt(n[r],t);Ft(s)&&s[5]>0&&e(s)}}(n)}}function Lr(e,t){const n=Dt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),gr(r,n,n[8])}function Zr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Br(e){for(;e;){e[2]|=64;const t=lr(e);if(bt(e)&&!t)return e;e=t}return null}function zr(e,t,n){const r=t[10];r.begin&&r.begin();try{yr(e,t,e.template,n)}catch(s){throw Gr(t,s),s}finally{r.end&&r.end()}}function $r(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=jt(n),s=r[1];wr(s,r,s.template,n)}}(e[8])}function Ur(e,t,n){Jt(0),t(e,n)}const Wr=(()=>Promise.resolve(null))();function qr(e){return e[7]||(e[7]=[])}function Gr(e,t){const n=e[9],r=n?n.get($n,null):null;r&&r.handleError(t)}function Qr(e,t,n,r,s){for(let o=0;o<n.length;){const i=n[o++],l=n[o++],u=t[i],c=e.data[i];null!==c.setInput?c.setInput(u,s,r,l):u[l]=s}}function Jr(e,t,n,r,s){if(null!=r){let o,i=!1;mt(r)?o=r:_t(r)&&(i=!0,r=r[0]);const l=At(r);0===e&&null!==n?null==s?ns(t,n,l):ts(t,n,l,s||null):1===e&&null!==n?ts(t,n,l,s||null):2===e?function(e,t,n){const r=ss(e,t);r&&function(e,t,n,r){It(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,l,i):3===e&&t.destroyNode(l),null!=o&&function(e,t,n,r,s){const o=n[7];o!==At(n)&&Jr(t,e,r,o,s);for(let i=pt;i<n.length;i++){const s=n[i];ls(s[1],s,e,t,r,o)}}(t,e,o,n,s)}}function Yr(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Vt(s,-1)),n.splice(r,1)}function Kr(e,t){if(e.length<=pt)return;const n=pt+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Yr(o,r),t>0&&(e[n-1][4]=r[4]);const i=Ye(e,pt+t);ls(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const l=i[19];null!==l&&l.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function Xr(e,t){if(!(256&t[2])){const n=t[11];It(n)&&n.destroyNode&&ls(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return es(e[1],e);for(;t;){let n=null;if(_t(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)_t(t)&&es(t[1],t),t=t[3];null===t&&(t=e),_t(t)&&es(t[1],t),n=t&&t[4]}t=n}}(t)}}function es(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof pn)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const s=n[r+1],o="function"==typeof s?s(t):At(t[s]),i=e[n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],i,l):l>=0?e[l]():e[-l].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t),1===t[1].type&&It(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&mt(t[3])){n!==t[3]&&Yr(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function ts(e,t,n,r){It(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ns(e,t,n){It(e)?e.appendChild(t,n):t.appendChild(n)}function rs(e,t,n,r){null!==r?ts(e,t,n,r):ns(e,t,n)}function ss(e,t){return It(e)?e.parentNode(t):t.parentNode}function os(e,t,n,r){const s=function(e,t,n){let r=t.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(t=r).parent;if(null===r)return n[0];if(t&&4===t.type&&4&t.flags)return Ot(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==Xe.ShadowDom&&n!==Xe.Native)return null}return Ot(r,n)}(e,r,t);if(null!=s){const e=t[11],o=function(e,t){return 3===e.type||4===e.type?Ot(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)rs(e,s,n[t],o);else rs(e,s,n,o)}}function is(e,t,n,r,s,o,i){for(;null!=n;){const l=r[n.index],u=n.type;i&&0===t&&(l&&Gn(At(l),r),n.flags|=4),64!=(64&n.flags)&&(3===u||4===u?(is(e,t,n.child,r,s,o,!1),Jr(t,e,s,l,o)):1===u?us(e,t,r,n,s,o):Jr(t,e,s,l,o)),n=i?n.projectionNext:n.next}}function ls(e,t,n,r,s,o){is(n,r,e.firstChild,t,s,o,!1)}function us(e,t,n,r,s,o){const i=n[16],l=i[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)Jr(t,e,s,l[u],o);else is(e,t,l,i[3],s,o,!0)}function cs(e,t,n){It(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function as(e,t,n){It(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class hs{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView,t=e[1];return function e(t,n,r,s,o=!1){for(;null!==r;){const i=n[r.index];if(null!==i&&s.push(At(i)),mt(i))for(let t=pt;t<i.length;t++){const n=i[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,s)}const l=r.type;if(3===l||4===l)e(t,n,r.child,s);else if(1===l){const t=n[16],o=t[6].projection[r.projection];if(Array.isArray(o))s.push(...o);else{const n=lr(t);e(n[1],n,o,s,!0)}}r=o?r.projectionNext:r.next}return s}(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Xr(this._lView[1],this._lView)}onDestroy(e){!function(e,t,n,r){const s=qr(t);s.push(null),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,s.length-1)}(this._lView[1],this._lView,0,e)}markForCheck(){Br(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){zr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Wt(!0);try{zr(e,t,n)}finally{Wt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,ls(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class ds extends hs{constructor(e){super(e),this._view=e}detectChanges(){$r(this._view)}checkNoChanges(){!function(e){Wt(!0);try{$r(e)}finally{Wt(!1)}}(this._view)}get context(){return null}}let fs,ps,_s;function ms(e,t,n){return fs||(fs=class extends e{}),new fs(Ot(t,n))}const gs=new je("Set Injector scope."),ys={},ws={},vs=[];let bs=void 0;function Cs(){return void 0===bs&&(bs=new qe),bs}function Es(e,t=null,n=null,r){return new xs(e,n,t||Cs(),r)}class xs{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&Qe(t,n=>this.processProvider(n,e,t)),Qe([e],e=>this.processInjectorType(e,[],s)),this.records.set(Fe,ks(void 0,this));const o=this.records.get(gs);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:me(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Re,n=se.Default){this.assertNotDestroyed();const r=Ze(this);try{if(!(n&se.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(s=e)||"object"==typeof s&&s instanceof je)&&ue(e);t=n&&this.injectableDefInScope(n)?ks(Ts(e),ys):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&se.Self?Cs():this.parent).get(e,t=n&se.Optional&&t===Re?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(me(e)),r)throw o;return function(e,t,n,r){const s=e.ngTempTokenPath;throw t[Ve]&&s.unshift(t[Ve]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=me(t);if(Array.isArray(t))s=t.map(me).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):me(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Pe,"\n  ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{Ze(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(me(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ve(e)))return!1;let r=ae(e);const s=null==r&&e.ngModule||void 0,o=void 0===s?e:s,i=-1!==n.indexOf(o);if(void 0!==s&&(r=ae(s)),null==r)return!1;if(null!=r.imports&&!i){let e;n.push(o);try{Qe(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Qe(r,e=>this.processProvider(e,n,r||vs))}}this.injectorDefTypes.add(o),this.records.set(o,ks(r.factory,ys));const l=r.providers;if(null!=l&&!i){const t=e;Qe(l,e=>this.processProvider(e,t,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let r=Ss(e=ve(e))?e:ve(e&&e.provide);const s=function(e,t,n){return Is(e)?ks(void 0,e.useValue):ks(function(e,t,n){let r=void 0;if(Ss(e)){const t=ve(e);return ht(t)||Ts(t)}if(Is(e))r=()=>ve(e.useValue);else if((s=e)&&s.useFactory)r=()=>e.useFactory(...We(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>$e(ve(e.useExisting));else{const t=ve(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ht(t)||Ts(t);r=()=>new t(...We(e.deps))}var s;return r}(e),ys)}(e);if(Ss(e)||!0!==e.multi)this.records.get(r);else{let t=this.records.get(r);t||(t=ks(void 0,ys,!0),t.factory=()=>We(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,s)}hydrate(e,t){var n;return t.value===ys&&(t.value=ws,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Ts(e){const t=ue(e),n=null!==t?t.factory:ht(e);if(null!==n)return n;const r=ae(e);if(null!==r)return r.factory;if(e instanceof je)throw new Error(`Token ${me(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${me(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[he]||e[pe]||e[fe]&&e[fe]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);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.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function ks(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Is(e){return null!==e&&"object"==typeof e&&Me in e}function Ss(e){return"function"==typeof e}const As=function(e,t,n){return function(e,t=null,n=null,r){const s=Es(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};let Os=(()=>{class e{static create(e,t){return Array.isArray(e)?As(e,t,""):As(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Re,e.NULL=new qe,e.\u0275prov=ie({token:e,providedIn:"any",factory:()=>$e(Fe)}),e.__NG_ELEMENT_ID__=-1,e})();function Ns(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let i=0;i<t.length;i++){const e=t[i];"number"==typeof e?o=e:1==o?s=ge(s,e):2==o&&(r=ge(r,e+": "+t[++i]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function Ds(e,t){const n=jt(e)[1],r=n.data.length-1;ln(n,{directiveStart:r,directiveEnd:r+1})}let js=null;function Fs(){if(!js){const e=Te.Symbol;if(e&&e.iterator)js=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(js=n)}}}return js}function Rs(e){return!!Ps(e)&&(Array.isArray(e)||!(e instanceof Map)&&Fs()in e)}function Ps(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vs(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ms(e,t=se.Default){const n=Lt();return null===n?$e(e,t):Fn(Bt(),n,ve(e),t)}function Hs(e,t,n){const r=Lt();return Vs(r,qt(),t)&&function(e,t,n,r,s,o,i,l){const u=Ot(t,n);let c,a=t.inputs;var h;null!=a&&(c=a[r])?(Qr(e,n,c,r,s),yt(t)&&function(e,t){const n=Dt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):2===t.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=i?i(s,t.tagName||"",r):s,It(o)?o.setProperty(u,r,s):mn(r)||(u.setProperty?u.setProperty(r,s):u[r]=s))}(Zt(),function(){const e=Mt.lFrame;return Nt(e.tView,e.selectedIndex)}(),r,e,t,r[11],n),Hs}function Ls(e,t,n,r,s){const o=s?"class":"style";Qr(e,n,t.inputs[o],o,r)}function Zs(e,t,n,r){const s=Lt(),o=Zt(),i=ft+e,l=s[11],u=s[i]=pr(t,l,Mt.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,r,s,o,i){const l=t.consts,u=mr(t,e,2,s,Rt(l,o));return kr(t,n,u,Rt(l,i)),null!==u.attrs&&Ns(u,u.attrs,!1),null!==u.mergedAttrs&&Ns(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(e,o,s,0,t,n,r):o.data[i];zt(c,!0);const a=c.mergedAttrs;null!==a&&_n(l,u,a);const h=c.classes;null!==h&&as(l,u,h);const d=c.styles;null!==d&&cs(l,u,d),os(o,s,u,c),0===Mt.lFrame.elementDepthCount&&Gn(u,s),Mt.lFrame.elementDepthCount++,wt(c)&&(br(o,s,c),function(e,t,n){if(gt(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s<r;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,n[s],s)}}}(o,c,s)),null!==r&&Cr(s,c)}function Bs(){let e=Bt();$t()?Mt.lFrame.isParent=!1:(e=e.parent,zt(e,!1));const t=e;Mt.lFrame.elementDepthCount--;const n=Zt();n.firstCreatePass&&(ln(n,e),gt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ls(n,t,Lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Ls(n,t,Lt(),t.stylesWithoutHost,!1)}function zs(e){return!!e&&"function"==typeof e.then}function $s(e,t,n=!1,r){const s=Lt(),o=Zt(),i=Bt();return function(e,t,n,r,s,o,i=!1,l){const u=wt(r),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),a=qr(t);let h=!0;if(2===r.type){const d=Ot(r,t),f=l?l(d):et,p=f.target||d,_=a.length,m=l?e=>l(At(e[r.index])).target:r.index;if(It(n)){let i=null;if(!l&&u&&(i=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let o=0;o<s.length-1;o+=2){const e=s[o];if(e===n&&s[o+1]===r){const e=t[7],n=s[o+2];return e.length>n?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,s,r.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=o,i.__ngLastListenerFn__=o,h=!1;else{o=Ws(r,t,o,!1);const e=n.listen(f.name||p,s,o);a.push(o,e),c&&c.push(s,m,_,_+1)}}else o=Ws(r,t,o,!0),p.addEventListener(s,o,i),a.push(o),c&&c.push(s,m,_,i)}const d=r.outputs;let f;if(h&&null!==d&&(f=d[s])){const e=f.length;if(e)for(let n=0;n<e;n+=2){const e=t[f[n]][f[n+1]].subscribe(o),i=a.length;a.push(o,e),c&&c.push(s,r.index,i,-(i+1))}}}(o,s,s[11],i,e,t,n,r),$s}function Us(e,t,n){try{return!1!==t(n)}catch(r){return Gr(e,r),!1}}function Ws(e,t,n,r){return function s(o){if(o===Function)return n;const i=2&e.flags?Dt(e.index,t):t;0==(32&t[2])&&Br(i);let l=Us(t,n,o),u=s.__ngNextListenerFn__;for(;u;)l=Us(t,u,o)&&l,u=u.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function qs(e,t=""){const n=Lt(),r=Zt(),s=e+ft,o=r.firstCreatePass?mr(r,e,2,null,null):r.data[s],i=n[s]=function(e,t){return It(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);os(r,n,i,o),zt(o,!1)}function Gs(e,t,n){const r=Lt(),s=function(e,t,n,r){return Vs(e,qt(),n)?t+Cn(n)+r:ir}(r,e,t,n);return s!==ir&&function(e,t,n){const r=function(e,t){return At(t[e+ft])}(t,e),s=e[11];It(s)?s.setValue(r,n):r.textContent=n}(r,sn(),s),Gs}class Qs{}class Js{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${me(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Ys=(()=>{class e{}return e.NULL=new Js,e})(),Ks=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Xs(e),e})();const Xs=function(e){return ms(e,Bt(),Lt())};class eo{}var to=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let no=(()=>{class e{}return e.\u0275prov=ie({token:e,providedIn:"root",factory:()=>null}),e})();class ro{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const so=new ro("10.1.6");class oo{constructor(){}supports(e){return Rs(e)}create(e){return new lo(e)}}const io=(e,t)=>t;class lo{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||io}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const o=!n||t&&t.currentIndex<ho(n,r,s)?t:n,i=ho(o,r,s),l=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const e=i-r,t=l-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;t<=o&&o<e&&(s[n]=r+1)}s[o.previousIndex]=t-e}}i!==l&&e(o,i,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Rs(e))throw new Error(`Error trying to diff '${me(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==s&&Object.is(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,t)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),o=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Fs()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Object.is(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),Object.is(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new uo(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new ao),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ao),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class uo{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class co{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class ao{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new co,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ho(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class fo{constructor(){}supports(e){return e instanceof Map||Ps(e)}create(){return new po}}class po{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Ps(e)))throw new Error(`Error trying to diff '${me(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new _o(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class _o{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let mo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=ie({token:e,providedIn:"root",factory:()=>new e([new oo])}),e})(),go=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=ie({token:e,providedIn:"root",factory:()=>new e([new fo])}),e})();const yo=[new fo],wo=new mo([new oo]),vo=new go(yo);let bo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Co(e,Ks),e})();const Co=function(e,t){return function(e,t,n,r){return ps||(ps=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=_r(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),gr(t,n,e),new hs(n)}}),0===n.type?new ps(r,n,ms(t,n,r)):null}(e,t,Bt(),Lt())};let Eo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>xo(e,Ks),e})();const xo=function(e,t){return function(e,t,n,r){let s;_s||(_s=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return ms(t,this._hostTNode,this._hostView)}get injector(){return new Ln(this._hostTNode,this._hostView)}get parentInjector(){const e=Dn(this._hostTNode,this._hostView);if(wn(e)){const t=bn(e,this._hostView),n=vn(e);return new Ln(t[1].data[n+8],t)}return new Ln(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-pt}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const o=n||this.parentInjector;if(!s&&null==e.ngModule&&o){const e=o.get(Ge,null);e&&(s=e)}const i=e.create(o,r,void 0,s);return this.insert(i.hostView,t),i}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),mt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new _s(t,t[6],t[3]);r.detach(r.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function(e,t,n,r){const s=pt+r,o=n.length;r>0&&(n[s-1][4]=t),r<o-pt?(t[4]=n[s],Je(n,pt+r,t)):(n.push(t),t[4]=null),t[3]=n;const i=t[17];null!==i&&n!==i&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(i,t);const l=t[19];null!==l&&l.insertView(e),t[2]|=128}(r,n,o,s);const i=function e(t,n){const r=pt+t+1;if(r<n.length){const t=n[r],s=t[1].firstChild;if(null!==s)return function t(n,r){if(null!==r){const s=r.type;if(2===s)return Ot(r,n);if(0===s)return e(-1,n[r.index]);if(3===s||4===s){const s=r.child;if(null!==s)return t(n,s);{const t=n[r.index];return mt(t)?e(-1,t):At(t)}}{const e=n[16],s=e[6],o=lr(e),i=s.projection[r.projection];return null!=i?t(o,i):t(n,r.next)}}return null}(t,s)}return n[7]}(s,o),l=n[11],u=ss(l,o[7]);return null!==u&&function(e,t,n,r,s,o){r[0]=s,r[6]=t,ls(e,r,n,1,s,o)}(r,o[6],l,n,u,i),e.attachToViewContainerRef(this),Je(o[8],s,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Kr(this._lContainer,t);n&&(Ye(this._lContainer[8],t),Xr(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Kr(this._lContainer,t);return n&&null!=Ye(this._lContainer[8],t)?new hs(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=r[n.index];if(mt(o))s=o;else{let e;if(3===n.type)e=At(o);else if(e=r[11].createComment(""),bt(r)){const t=r[11],s=Ot(n,r);ts(t,ss(t,s),e,function(e,t){return It(e)?e.nextSibling(t):t.nextSibling}(t,s))}else os(r[1],r,e,n);r[n.index]=s=Mr(o,r,e,n),Zr(r,s)}return new _s(s,n,r)}(e,t,Bt(),Lt())},To={};class ko extends Ys{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=at(e);return new Ao(t,this.ngModule)}}function Io(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const So=new je("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>xn});class Ao extends Qs{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(or).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Io(this.componentDef.inputs)}get outputs(){return Io(this.componentDef.outputs)}create(e,t,n,r){const s=(r=r||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const o=e.get(n,To,s);return o!==To||r===To?o:t.get(n,r,s)}}}(e,r.injector):e,o=s.get(eo,St),i=s.get(no,null),l=o.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(It(e))return e.selectRootElement(t,n===Xe.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,n,this.componentDef.encapsulation):pr(u,o.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),a=this.componentDef.onPush?576:528,h={components:[],scheduler:xn,clean:Wr,playerHandler:null,flags:0},d=xr(0,null,null,1,0,null,null,null,null,null),f=_r(null,d,h,a,null,null,o,l,i,s);let p,_;Kt(f);try{const e=function(e,t,n,r,s,o){const i=n[1];n[20]=e;const l=mr(i,0,2,null,null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(Ns(l,u,!0),null!==e&&(_n(s,e,u),null!==l.classes&&as(s,e,l.classes),null!==l.styles&&cs(s,e,l.styles)));const c=r.createRenderer(e,t),a=_r(n,Er(t),null,t.onPush?64:16,n[20],l,r,c,null,null);return i.firstCreatePass&&(jn(An(l,n),i,t.type),Nr(i,l),jr(l,n.length,1)),Zr(n,a),n[20]=a}(c,this.componentDef,f,o,l);if(c)if(n)_n(l,c,["ng-version",so.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===s?""!==o&&t.push(o,e[++r]):8===s&&n.push(o);else{if(!tr(s))break;s=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&_n(l,c,e),t&&t.length>0&&as(l,c,t.join(" "))}if(_=Nt(d,0),void 0!==t){const e=_.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}p=function(e,t,n,r,s){const o=n[1],i=function(e,t,n){const r=Bt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Or(e,r,1),Fr(e,t,n));const s=Vn(t,e,t.length-1,r);Gn(s,t);const o=Ot(r,t);return o&&Gn(o,t),s}(o,n,t);r.components.push(i),e[8]=i,s&&s.forEach(e=>e(i,t)),t.contentQueries&&t.contentQueries(1,i,n.length-1);const l=Bt();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){on(l.index-ft);const e=n[1];Ir(e,t),Sr(e,n,t.hostVars),Ar(t,i)}return i}(e,this.componentDef,f,h,[Ds]),gr(d,f,null)}finally{rn()}return new Oo(this.componentType,p,ms(Ks,_,f),f,_)}}class Oo extends class{}{constructor(e,t,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new ds(r),this.componentType=e}get injector(){return new Ln(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const No=void 0;var Do=["en",[["a","p"],["AM","PM"],No],[["AM","PM"],No,No],[["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"]],No,[["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"]],No,[["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}",No,"{1} 'at' {0}",No],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let jo={};function Fo(e){return e in jo||(jo[e]=Te.ng&&Te.ng.common&&Te.ng.common.locales&&Te.ng.common.locales[e]),jo[e]}var Ro=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Po="en-US";let Vo=Po;function Mo(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Vo=e.toLowerCase().replace(/_/g,"-"))}const Ho=new Map;class Lo extends Ge{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ko(this);const n=dt(e),r=e[Oe]||null;r&&Mo(r),this._bootstrapComponents=Tn(n.bootstrap),this._r3Injector=Es(e,t,[{provide:Ge,useValue:this},{provide:Ys,useValue:this.componentFactoryResolver}],me(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Os.THROW_IF_NOT_FOUND,n=se.Default){return e===Os||e===Ge||e===Fe?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Zo extends class{}{constructor(e){super(),this.moduleType=e,null!==dt(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${me(t)} vs ${me(t.name)}`)})(e,Ho.get(e),t),Ho.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Lo(this.moduleType,e)}}const Bo=class extends E{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return e instanceof h&&e.add(i),i}},zo=new je("Application Initializer");let $o=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();zs(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)($e(zo,8))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();const Uo=new je("AppId"),Wo={provide:Uo,useFactory:function(){return`${qo()}${qo()}${qo()}`},deps:[]};function qo(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Go=new je("Platform Initializer"),Qo=new je("Platform ID"),Jo=new je("appBootstrapListener");let Yo=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();const Ko=new je("LocaleId"),Xo=new je("DefaultCurrencyCode");class ei{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const ti=function(e){return new Zo(e)},ni=ti,ri=function(e){return Promise.resolve(ti(e))},si=function(e){const t=ti(e),n=Tn(dt(e).declarations).reduce((e,t)=>{const n=at(t);return n&&e.push(new Ao(n)),e},[]);return new ei(t,n)},oi=si,ii=function(e){return Promise.resolve(si(e))};let li=(()=>{class e{constructor(){this.compileModuleSync=ni,this.compileModuleAsync=ri,this.compileModuleAndAllComponentsSync=oi,this.compileModuleAndAllComponentsAsync=ii}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();const ui=(()=>Promise.resolve(0))();function ci(e){"undefined"==typeof Zone?ui.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ai{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Bo(!1),this.onMicrotaskEmpty=new Bo(!1),this.onStable=new Bo(!1),this.onError=new Bo(!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)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=Te.requestAnimationFrame,t=Te.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,pi(e),fi(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),pi(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,s,o,i,l)=>{try{return _i(e),n.invokeTask(s,o,i,l)}finally{t&&"eventTask"===o.type&&t(),mi(e)}},onInvoke:(t,n,r,s,o,i,l)=>{try{return _i(e),t.invoke(r,s,o,i,l)}finally{mi(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,pi(e),fi(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ai.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ai.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,di,hi,hi);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function hi(){}const di={};function fi(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function pi(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function _i(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mi(e){e._nesting--,fi(e)}class gi{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bo,this.onMicrotaskEmpty=new Bo,this.onStable=new Bo,this.onError=new Bo}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let yi=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.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:()=>{ai.assertNotInAngularZone(),ci(()=>{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())ci(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)($e(ai))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})(),wi=(()=>{class e{constructor(){this._applications=new Map,Ci.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Ci.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();class vi{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let bi,Ci=new vi;const Ei=new je("AllowMultipleToken");function xi(e,t,n=[]){const r="Platform: "+t,s=new je(r);return(t=[])=>{let o=Ti();if(!o||o.injector.get(Ei,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:gs,useValue:"platform"});!function(e){if(bi&&!bi.destroyed&&!bi.injector.get(Ei,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");bi=e.get(ki);const t=e.get(Go,null);t&&t.forEach(e=>e())}(Os.create({providers:e,name:r}))}return function(e){const t=Ti();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function Ti(){return bi&&!bi.destroyed?bi:null}let ki=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new gi:("zone.js"===e?void 0:e)||new ai({enableLongStackTrace:qn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:ai,useValue:n}];return n.run(()=>{const t=Os.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get($n,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Ai(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return zs(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=s.injector.get($o);return e.runInitializers(),e.donePromise.then(()=>(Mo(s.injector.get(Ko,Po)||Po),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=Ii({},t);return function(e,t,n){const r=new Zo(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Si);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${me(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)($e(Os))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();function Ii(e,t){return Array.isArray(t)?t.reduce(Ii,e):Object.assign(Object.assign({},e),t)}let Si=(()=>{class e{constructor(e,t,n,r,s,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=qn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{ai.assertNotInAngularZone(),ci(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ai.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=z(i,l.pipe(e=>{return $()((t=J,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,G);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){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=e instanceof Qs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Ge),s=n.create(Os.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(yi,null);return o&&s.injector.get(wi).registerApplication(s.location.nativeElement,o),this._loadComponent(s),qn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Ai(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Jo,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Ai(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)($e(ai),$e(Yo),$e(Os),$e($n),$e(Ys),$e($o))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();function Ai(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Oi=xi(null,"core",[{provide:Qo,useValue:"unknown"},{provide:ki,deps:[Os]},{provide:wi,deps:[]},{provide:Yo,deps:[]}]),Ni=[{provide:Si,useClass:Si,deps:[ai,Yo,Os,$n,Ys,$o]},{provide:So,deps:[ai],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:$o,useClass:$o,deps:[[new te,zo]]},{provide:li,useClass:li,deps:[]},Wo,{provide:mo,useFactory:function(){return wo},deps:[]},{provide:go,useFactory:function(){return vo},deps:[]},{provide:Ko,useFactory:function(e){return Mo(e=e||"undefined"!=typeof $localize&&$localize.locale||Po),e},deps:[[new ee(Ko),new te,new re]]},{provide:Xo,useValue:"USD"}];let Di=(()=>{class e{constructor(e){}}return e.\u0275mod=lt({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Si))},providers:Ni}),e})();class ji extends h{constructor(e,t){super()}schedule(e,t=0){return this}}class Fi extends ji{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class Ri extends Fi{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}let Pi=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class Vi extends Pi{constructor(e,t=Pi.now){super(e,()=>Vi.delegate&&Vi.delegate!==this?Vi.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Vi.delegate&&Vi.delegate!==this?Vi.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}class Mi extends Vi{}const Hi=new Mi(Ri),Li=new y(e=>e.complete());let Zi=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return function(...e){let t=e[e.length-1];return T(t)?(e.pop(),R(e,t)):B(e)}(this.value);case"E":return e=this.error,new y(t=>t.error(e));case"C":return Li}var e;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class Bi extends p{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Bi.dispatch,this.delay,new zi(e,this.destination)))}_next(e){this.scheduleMessage(Zi.createNext(e))}_error(e){this.scheduleMessage(Zi.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Zi.createComplete()),this.unsubscribe()}}class zi{constructor(e,t){this.notification=e,this.destination=t}}class $i extends E{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new Ui(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=n.length;let o;if(this.closed)throw new v;if(this.isStopped||this.hasError?o=h.EMPTY:(this.observers.push(e),o=new b(this,e)),r&&e.add(e=new Bi(e,r)),t)for(let i=0;i<s&&!e.closed;i++)e.next(n[i]);else for(let i=0;i<s&&!e.closed;i++)e.next(n[i].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||Hi).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,s=r.length;let o=0;for(;o<s&&!(e-r[o].time<n);)o++;return s>t&&(o=Math.max(o,s-t)),o>0&&r.splice(0,o),r}}class Ui{constructor(e,t){this.time=e,this.value=t}}class Wi{constructor(e){this.project=e}call(e,t){return t.subscribe(new qi(e,this.project))}}class qi extends M{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new V(this),r=this.destination;r.add(n),this.innerSubscription=H(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const Gi={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return Gi.schedule(e,0);if(void 0===window.requestAnimationFrame)return Gi.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Qi;function Ji(e,t,n){let r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){if(!Qi){const e=Element.prototype;Qi=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Qi.call(e,t)}(e,t)||(r=n,0))),r}class Yi{constructor(e,t){this.componentFactory=t.get(Ys).resolveComponentFactory(e)}create(e){return new Ki(this.componentFactory,e)}}class Ki{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new $i(1),this.events=this.eventEmitters.pipe(function e(t,n){return"function"==typeof n?r=>r.pipe(e((e,r)=>P(t(e,r)).pipe(k((t,s)=>n(e,t,r,s))))):e=>e.lift(new Wi(t))}(e=>z(...e))),this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set,this.ngZone=this.injector.get(ai),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=Gi.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{var n,r;null!==this.componentRef?((n=t)!==(r=this.getInputValue(e))&&(n==n||r==r)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=Os.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,r=t.map(()=>[]);let s=-1;t.some((e,t)=>"*"===e&&(s=t,!0));for(let o=0,i=n.length;o<i;++o){const e=n[o],i=Ji(e,t,s);-1!==i&&r[i].push(e)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Si).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.implementsOnChanges&&this.unchangedInputs.add(e),this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>e.instance[t].pipe(k(e=>({name:n,value:e}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Gi.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const r=this.unchangedInputs.has(e);this.unchangedInputs.delete(e);const s=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Ct(s,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class Xi extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function el(e,t){e.forEach(({propName:e})=>{Object.defineProperty(t,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})})}let tl=null;function nl(){return tl}const rl=new je("DocumentToken");var sl=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});class ol{}let il=(()=>{class e extends ol{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Fo(t);if(n)return n;const r=t.split("-")[0];if(n=Fo(r),n)return n;if("en"===r)return Do;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[Ro.PluralCase]}(t||this.locale)(e)){case sl.Zero:return"zero";case sl.One:return"one";case sl.Two:return"two";case sl.Few:return"few";case sl.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)($e(Ko))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();class ll{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,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 ul=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){qn()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}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(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new ll(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new cl(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const o=new cl(e,s);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ms(Eo),Ms(bo),Ms(mo))},e.\u0275dir=ct({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class cl{constructor(e,t){this.record=e,this.view=t}}let al=(()=>{class e{}return e.\u0275mod=lt({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[{provide:ol,useClass:il}]}),e})();class hl extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new hl,tl||(tl=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=fl||(fl=document.querySelector("base"),fl)?fl.getAttribute("href"):null;return null==t?null:(n=t,dl||(dl=document.createElement("a")),dl.setAttribute("href",n),"/"===dl.pathname.charAt(0)?dl.pathname:"/"+dl.pathname);var n}resetBaseElement(){fl=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}}let dl,fl=null;const pl=new je("TRANSITION_ID"),_l=[{provide:zo,useFactory:function(e,t,n){return()=>{n.get($o).donePromise.then(()=>{const n=nl();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[pl,rl,Os],multi:!0}];class ml{static init(){var e;e=new ml,Ci=e}addToWindow(e){Te.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Te.getAllAngularTestabilities=()=>e.getAllTestabilities(),Te.getAllAngularRootElements=()=>e.getAllRootElements(),Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(e=>{const t=Te.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?nl().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const gl=new je("EventManagerPlugins");let yl=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)($e(gl),$e(ai))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();class wl{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=nl().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let vl=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})(),bl=(()=>{class e extends vl{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>nl().remove(e))}}return e.\u0275fac=function(t){return new(t||e)($e(rl))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();const Cl={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/"},El=/%COMP%/g;function xl(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?xl(e,s,n):(s=s.replace(El,e),n.push(s))}return n}function Tl(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let kl=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Il(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Xe.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Sl(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Xe.Native:case Xe.ShadowDom:return new Al(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=xl(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)($e(yl),$e(bl),$e(Uo))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();class Il{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Cl[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=Cl[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Cl[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&to.DashCase?e.style.setProperty(t,n,r&to.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&to.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Tl(n)):this.eventManager.addEventListener(e,t,Tl(n))}}class Sl extends Il{constructor(e,t,n,r){super(e),this.component=n;const s=xl(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(El,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(El,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Al extends Il{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Xe.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=xl(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Ol=(()=>{class e extends wl{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)($e(rl))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();const Nl=["alt","control","meta","shift"],Dl={"\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"},jl={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"},Fl={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Rl=(()=>{class e extends wl{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nl().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let o="";if(Nl.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&jl.hasOwnProperty(t)&&(t=jl[t]))}return Dl[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Nl.forEach(r=>{r!=n&&(0,Fl[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)($e(rl))},e.\u0275prov=ie({token:e,factory:e.\u0275fac}),e})();const Pl=xi(Oi,"browser",[{provide:Qo,useValue:"browser"},{provide:Go,useValue:function(){hl.makeCurrent(),ml.init()},multi:!0},{provide:rl,useFactory:function(){return function(e){kt=e}(document),document},deps:[]}]),Vl=[[],{provide:gs,useValue:"root"},{provide:$n,useFactory:function(){return new $n},deps:[]},{provide:gl,useClass:Ol,multi:!0,deps:[rl,ai,Qo]},{provide:gl,useClass:Rl,multi:!0,deps:[rl]},[],{provide:kl,useClass:kl,deps:[yl,bl,Uo]},{provide:eo,useExisting:kl},{provide:vl,useExisting:bl},{provide:bl,useClass:bl,deps:[rl]},{provide:yi,useClass:yi,deps:[ai]},{provide:yl,useClass:yl,deps:[gl,ai]},[]];let Ml=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:Uo,useValue:t.appId},{provide:pl,useExisting:Uo},_l]}}}return e.\u0275mod=lt({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(e,12))},providers:Vl,imports:[al,Di]}),e})();function Hl(e,t){if(1&e&&(Zs(0,"li"),qs(1),Bs()),2&e){const e=t.$implicit;hr(1),Gs("$",e,"")}}"undefined"!=typeof window&&window;let Ll=(()=>{class e{constructor(){this.logs=[],this.event=new Bo}set value(e){this.myValue=e,this.pushLog("set value "+e)}get value(){return this.myValue}ngOnInit(){this.pushLog("ngOnInit")}pushLog(e){this.logs.push(e)}clicked(){this.pushLog("clicked "+new Date),this.event.emit({value:this.myValue})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=rt({type:e,selectors:[["app-test-web-component"]],inputs:{value:"value"},outputs:{event:"event"},decls:11,vars:2,consts:[[3,"click"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(Zs(0,"p"),qs(1,"Test WebComponent"),Bs(),Zs(2,"p"),qs(3),Bs(),Zs(4,"p"),Zs(5,"button",0),$s("click",(function(){return t.clicked()})),qs(6,"Click me"),Bs(),Bs(),Zs(7,"p"),qs(8,"Events:"),Bs(),Zs(9,"ol"),function(e,t,n,r,s,o,i,l){const u=Lt(),c=Zt(),a=c.firstCreatePass?function(e,t,n,r,s,o,i,l,u){const c=t.consts,a=mr(t,10,0,"li",Rt(c,1));kr(t,n,a,Rt(c,undefined)),ln(t,a);const h=a.tViews=xr(2,a,r,2,1,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,a),h.queries=t.queries.embeddedTView(a)),a}(0,c,u,t):c.data[30];zt(a,!1);const h=u[11].createComment("");os(c,u,h,a),Gn(h,u),Zr(u,u[30]=Mr(h,u,h,a)),wt(a)&&br(c,u,a)}(0,Hl),Bs()),2&e&&(hr(3),Gs("value=",t.value,""),hr(7),Hs("ngForOf",t.logs))},directives:[ul],encapsulation:2}),e})(),Zl=(()=>{class e{constructor(e){this.injector=e}ngDoBootstrap(){customElements.define("test-component",function(e,t){const n=function(e,t){return t.get(Ys).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Yi(e,t.injector),s=function(e){const t={};return e.forEach(({propName:e,templateName:n})=>{var r;t[(r=n,r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()))]=e}),t}(n);class o extends Xi{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=r.create(this.injector||t.injector),s=n.filter(({propName:e})=>this.hasOwnProperty(e)).map(({propName:e})=>[e,this[e]]);this instanceof o?s.forEach(([e])=>delete this[e]):el(n,this),s.forEach(([t,n])=>e.setInputValue(t,n))}return this._ngElementStrategy}attributeChangedCallback(e,t,n,r){this.ngElementStrategy.setInputValue(s[e],n)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)})}}return o.observedAttributes=Object.keys(s),Object.defineProperty(o.prototype,"ngElementStrategy",{enumerable:!0}),el(n,o.prototype),o}(Ll,{injector:this.injector}))}}return e.\u0275mod=lt({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Os))},providers:[],imports:[[Ml]]}),e})();(function(){if(Wn)throw new Error("Cannot enable prod mode after platform setup.");Un=!1})(),Pl().bootstrapModule(Zl).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);