@amc-technology/ui-library 1.0.31 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/amc-technology-ui-library.metadata.json +1 -1
  2. package/bundles/amc-technology-ui-library.umd.js +1078 -747
  3. package/bundles/amc-technology-ui-library.umd.js.map +1 -56
  4. package/bundles/amc-technology-ui-library.umd.min.js +16 -2
  5. package/bundles/amc-technology-ui-library.umd.min.js.map +1 -274
  6. package/esm2015/amc-technology-ui-library.js +16 -1417
  7. package/esm2015/projects/UILibrary/src/app/Helpers.js +11 -0
  8. package/esm2015/projects/UILibrary/src/app/components/activity/activity.component.js +83 -0
  9. package/esm2015/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +104 -0
  10. package/esm2015/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +39 -0
  11. package/esm2015/projects/UILibrary/src/app/components/disposition/disposition.component.js +49 -0
  12. package/esm2015/projects/UILibrary/src/app/components/duration/duration.component.js +58 -0
  13. package/esm2015/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +72 -0
  14. package/esm2015/projects/UILibrary/src/app/components/interaction/interaction.component.js +80 -0
  15. package/esm2015/projects/UILibrary/src/app/components/login/login.component.js +45 -0
  16. package/esm2015/projects/UILibrary/src/app/components/operation/operation.component.js +57 -0
  17. package/esm2015/projects/UILibrary/src/app/components/property/property.component.js +99 -0
  18. package/esm2015/projects/UILibrary/src/app/components/scenario/scenario.component.js +40 -0
  19. package/esm2015/projects/UILibrary/src/app/models/chat.message.js +7 -0
  20. package/esm2015/projects/UILibrary/src/app/models/chat.settings.js +1 -0
  21. package/esm2015/projects/UILibrary/src/app/models/disposition.interface.js +1 -0
  22. package/esm2015/projects/UILibrary/src/app/models/login.interface.js +1 -0
  23. package/esm2015/projects/UILibrary/src/app/models/uilibrary.model.js +40 -0
  24. package/esm2015/projects/UILibrary/src/app/uilibrary.module.js +73 -0
  25. package/esm2015/public_api.js +2 -0
  26. package/esm5/amc-technology-ui-library.js +16 -714
  27. package/esm5/projects/UILibrary/src/app/Helpers.js +11 -0
  28. package/esm5/projects/UILibrary/src/app/components/activity/activity.component.js +84 -0
  29. package/esm5/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +105 -0
  30. package/esm5/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +40 -0
  31. package/esm5/projects/UILibrary/src/app/components/disposition/disposition.component.js +61 -0
  32. package/esm5/projects/UILibrary/src/app/components/duration/duration.component.js +60 -0
  33. package/esm5/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +74 -0
  34. package/esm5/projects/UILibrary/src/app/components/interaction/interaction.component.js +85 -0
  35. package/esm5/projects/UILibrary/src/app/components/login/login.component.js +68 -0
  36. package/esm5/projects/UILibrary/src/app/components/operation/operation.component.js +58 -0
  37. package/esm5/projects/UILibrary/src/app/components/property/property.component.js +101 -0
  38. package/esm5/projects/UILibrary/src/app/components/scenario/scenario.component.js +41 -0
  39. package/esm5/projects/UILibrary/src/app/models/chat.message.js +7 -0
  40. package/esm5/projects/UILibrary/src/app/models/chat.settings.js +1 -0
  41. package/esm5/projects/UILibrary/src/app/models/disposition.interface.js +1 -0
  42. package/esm5/projects/UILibrary/src/app/models/login.interface.js +1 -0
  43. package/esm5/projects/UILibrary/src/app/models/uilibrary.model.js +43 -0
  44. package/esm5/projects/UILibrary/src/app/uilibrary.module.js +74 -0
  45. package/esm5/public_api.js +2 -0
  46. package/fesm2015/amc-technology-ui-library.js +813 -0
  47. package/fesm2015/amc-technology-ui-library.js.map +1 -0
  48. package/fesm5/amc-technology-ui-library.js +867 -0
  49. package/fesm5/amc-technology-ui-library.js.map +1 -0
  50. package/package.json +14 -67
  51. package/projects/UILibrary/src/app/components/activity/activity.component.d.ts +10 -10
  52. package/projects/UILibrary/src/app/components/interaction/interaction.component.d.ts +2 -1
  53. package/projects/UILibrary/src/app/components/scenario/scenario.component.d.ts +2 -2
  54. package/webcomponents/webcomponents.js +3 -3
  55. package/esm2015/amc-technology-ui-library.js.map +0 -40
  56. package/esm5/amc-technology-ui-library.js.map +0 -42
@@ -1,3 +1,3 @@
1
- !function(e){function r(r){for(var n,f,i=r[0],l=r[1],a=r[2],c=0,s=[];c<i.length;c++)o[f=i[c]]&&s.push(o[f][0]),o[f]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++)0!==o[t[i]]&&(n=!1);n&&(u.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},o={0:0},u=[];function f(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,f),t.l=!0,t.exports}f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,(function(r){return e[r]}).bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="";var i=window.webpackJsonp=window.webpackJsonp||[],l=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var p=l;t()}([]);
2
- (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{2:function(e,t,n){e.exports=n("hN/g")},"5MeN":function(e,t,n){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}()},UGdZ:function(e,t){(function(){"use strict";var e=window.Document.prototype.createElement,t=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,r=window.Document.prototype.prepend,o=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,c=window.Node.prototype.cloneNode,s=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,u=window.Node.prototype.removeChild,f=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),h=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),v=window.Element.prototype.getAttribute,m=window.Element.prototype.setAttribute,g=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,_=window.Element.prototype.setAttributeNS,b=window.Element.prototype.removeAttributeNS,k=window.Element.prototype.insertAdjacentElement,w=window.Element.prototype.insertAdjacentHTML,E=window.Element.prototype.prepend,T=window.Element.prototype.append,C=window.Element.prototype.before,S=window.Element.prototype.after,D=window.Element.prototype.replaceWith,O=window.Element.prototype.remove,P=window.HTMLElement,Z=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),z=window.HTMLElement.prototype.insertAdjacentElement,j=window.HTMLElement.prototype.insertAdjacentHTML,M=new Set;function L(e){var t=M.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(e){return M.add(e)}));var N=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(e){var t=e.isConnected;if(void 0!==t)return t;if(N(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function F(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function H(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function A(){var e=!(null==ie||!ie.noDocumentConstructionObserver),t=!(null==ie||!ie.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=t,this.I=!e}function I(e,t,n,r){var o=window.ShadyDOM;if(e.shadyDomFastWalk&&o&&o.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=o.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)n(e[t])}else!function e(t,n,r){for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var i=o;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(o=i.import,void 0===r&&(r=new Set),o instanceof Node&&!r.has(o))for(r.add(o),o=o.firstChild;o;o=o.nextSibling)e(o,n,r);o=H(t,i);continue}if("template"===a){o=H(t,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)e(i,n,r)}o=o.firstChild?o.firstChild:H(t,o)}}(t,n,r)}function R(e,t){e.j&&I(e,t,(function(t){return B(e,t)}))}function B(e,t){if(e.j&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.m.length;n++)e.m[n](t);for(n=0;n<e.g.length;n++)e.g[n](t)}}function q(e,t){var n=[];for(I(e,t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state?e.connectedCallback(r):G(e,r)}}function W(e,t){var n=[];for(I(e,t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state&&e.disconnectedCallback(r)}}function U(e,t,n){var r=(n=void 0===n?{}:n).J,o=n.upgrade||function(t){return G(e,t)},i=[];for(I(e,t,(function(t){if(e.j&&B(e,t),"link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:t.addEventListener("load",(function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;r&&(r.forEach((function(e){return i.add(e)})),i.delete(n)),U(e,n,{J:i,upgrade:o})}}))}else i.push(t)}),r),t=0;t<i.length;t++)o(i[t])}function G(e,t){try{var n=t.ownerDocument,r=n.__CE_registry,o=r&&(n.defaultView||n.__CE_isImportDocument)?ne(r,t.localName):void 0;if(o&&void 0===t.__CE_state){o.constructionStack.push(t);try{try{if(new o.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(s){throw t.__CE_state=2,s}if(t.__CE_state=1,t.__CE_definition=o,o.attributeChangedCallback&&t.hasAttributes()){var i=o.observedAttributes;for(o=0;o<i.length;o++){var a=i[o],c=t.getAttribute(a);null!==c&&e.attributeChangedCallback(t,a,null,c,null)}}x(t)&&e.connectedCallback(t)}}catch(s){V(s)}}function X(n,r,o,i){var a=r.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=ne(a,o)))try{var c=new a.constructorFunction;if(void 0===c.__CE_state||void 0===c.__CE_definition)throw Error("Failed to construct '"+o+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==c.namespaceURI)throw Error("Failed to construct '"+o+"': The constructed element's namespace must be the HTML namespace.");if(c.hasAttributes())throw Error("Failed to construct '"+o+"': The constructed element must not have any attributes.");if(null!==c.firstChild)throw Error("Failed to construct '"+o+"': The constructed element must not have any children.");if(null!==c.parentNode)throw Error("Failed to construct '"+o+"': The constructed element must not have a parent node.");if(c.ownerDocument!==r)throw Error("Failed to construct '"+o+"': The constructed element's owner document is incorrect.");if(c.localName!==o)throw Error("Failed to construct '"+o+"': The constructed element's local name is incorrect.");return c}catch(s){return V(s),r=null===i?e.call(r,o):t.call(r,i,o),Object.setPrototypeOf(r,HTMLUnknownElement.prototype),r.__CE_state=2,r.__CE_definition=void 0,B(n,r),r}return B(n,r=null===i?e.call(r,o):t.call(r,i,o)),r}function V(e){var t=e.message,n=e.sourceURL||e.fileName||"",r=e.line||e.lineNumber||0,o=void 0;void 0===ErrorEvent.prototype.initErrorEvent?o=new ErrorEvent("error",{cancelable:!0,message:t,filename:n,lineno:r,colno:e.column||e.columnNumber||0,error:e}):((o=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,n,r),o.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===o.error&&Object.defineProperty(o,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(o),o.defaultPrevented||console.error(e)}function J(){var e=this;this.g=void 0,this.F=new Promise((function(t){e.l=t}))}function K(e){var t=document;this.l=void 0,this.h=e,this.g=t,U(this.h,this.g),"loading"===this.g.readyState&&(this.l=new MutationObserver(this.G.bind(this)),this.l.observe(this.g,{childList:!0,subtree:!0}))}function Y(e){e.l&&e.l.disconnect()}function $(e){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(e){return e()},this.i=!1,this.v=[],this.h=e,this.D=e.I?new K(e):void 0}function Q(e,t){if(!L(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(ne(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.A)throw Error("A custom element is already being defined.")}function ee(e,t,n){var r;e.A=!0;try{var o=n.prototype;if(!(o instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(e){var t=o[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},a=i("connectedCallback"),c=i("disconnectedCallback"),s=i("adoptedCallback"),l=(r=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(u){throw u}finally{e.A=!1}return e.u.set(t,n={localName:t,constructorFunction:n,connectedCallback:a,disconnectedCallback:c,adoptedCallback:s,attributeChangedCallback:r,observedAttributes:l,constructionStack:[]}),e.C.set(n.constructorFunction,n),n}function te(e){if(!1!==e.i){e.i=!1;for(var t=[],n=e.v,r=new Map,o=0;o<n.length;o++)r.set(n[o],[]);for(U(e.h,document,{upgrade:function(n){if(void 0===n.__CE_state){var o=n.localName,i=r.get(o);i?i.push(n):e.u.has(o)&&t.push(n)}}}),o=0;o<t.length;o++)G(e.h,t[o]);for(o=0;o<n.length;o++){for(var i=n[o],a=r.get(i),c=0;c<a.length;c++)G(e.h,a[c]);(i=e.B.get(i))&&i.resolve(void 0)}n.length=0}}function ne(e,t){var n=e.u.get(t);if(n)return n;if(n=e.s.get(t)){e.s.delete(t);try{return ee(e,t,n())}catch(r){V(r)}}}function re(e,t,n){function r(t){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var c=r[a];if(c instanceof Element&&x(c)&&i.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)o.push(c);else o.push(c)}for(t.apply(this,r),r=0;r<i.length;r++)W(e,i[r]);if(x(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&q(e,i)}}void 0!==n.prepend&&(t.prepend=r(n.prepend)),void 0!==n.append&&(t.append=r(n.append))}A.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(n){V(n)}},A.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(n){V(n)}},A.prototype.attributeChangedCallback=function(e,t,n,r,o){var i=e.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t))try{i.attributeChangedCallback.call(e,t,n,r,o)}catch(a){V(a)}},J.prototype.resolve=function(e){if(this.g)throw Error("Already resolved.");this.g=e,this.l(e)},K.prototype.G=function(e){var t=this.g.readyState;for("interactive"!==t&&"complete"!==t||Y(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,r=0;r<n.length;r++)U(this.h,n[r])},$.prototype.H=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,e),this.s.set(e,t),this.v.push(e),this.i||(this.i=!0,this.o((function(){return te(n)})))},$.prototype.define=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,e),ee(this,e,t),this.v.push(e),this.i||(this.i=!0,this.o((function(){return te(n)})))},$.prototype.upgrade=function(e){U(this.h,e)},$.prototype.get=function(e){if(e=ne(this,e))return e.constructorFunction},$.prototype.whenDefined=function(e){if(!L(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.B.get(e);if(t)return t.F;t=new J,this.B.set(e,t);var n=this.u.has(e)||this.s.has(e);return e=-1===this.v.indexOf(e),n&&e&&t.resolve(void 0),t.F},$.prototype.polyfillWrapFlushCallback=function(e){this.D&&Y(this.D);var t=this.o;this.o=function(n){return e((function(){return t(n)}))}},window.CustomElementRegistry=$,$.prototype.define=$.prototype.define,$.prototype.upgrade=$.prototype.upgrade,$.prototype.get=$.prototype.get,$.prototype.whenDefined=$.prototype.whenDefined,$.prototype.polyfillDefineLazy=$.prototype.H,$.prototype.polyfillWrapFlushCallback=$.prototype.polyfillWrapFlushCallback;var oe={},ie=window.customElements;function ae(){var M=new A;!function(t){function n(){var n=this.constructor,r=document.__CE_registry.C.get(n);if(!r)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var o=r.constructionStack;if(0===o.length)return o=e.call(document,r.localName),Object.setPrototypeOf(o,n.prototype),o.__CE_state=1,o.__CE_definition=r,B(t,o),o;var i=o.length-1,a=o[i];if(a===oe)throw Error("Failed to construct '"+r.localName+"': This element was already constructed.");return o[i]=oe,Object.setPrototypeOf(a,n.prototype),B(t,a),a}n.prototype=P.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(M),function(e){Document.prototype.createElement=function(t){return X(e,this,t,null)},Document.prototype.importNode=function(t,r){return t=n.call(this,t,!!r),this.__CE_registry?U(e,t):R(e,t),t},Document.prototype.createElementNS=function(t,n){return X(e,this,n,t)},re(e,Document.prototype,{prepend:r,append:o})}(M),re(M,DocumentFragment.prototype,{prepend:i,append:a}),function(e){function t(t,n){Object.defineProperty(t,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,t);else{var r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&x(this)){r=Array(i);for(var a=0;a<i;a++)r[a]=o[a]}}if(n.set.call(this,t),r)for(t=0;t<r.length;t++)W(e,r[t])}}})}Node.prototype.insertBefore=function(t,n){if(t instanceof DocumentFragment){var r=F(t);if(t=l.call(this,t,n),x(this))for(n=0;n<r.length;n++)q(e,r[n]);return t}return r=t instanceof Element&&x(t),n=l.call(this,t,n),r&&W(e,t),x(this)&&q(e,t),n},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var n=F(t);if(t=s.call(this,t),x(this))for(var r=0;r<n.length;r++)q(e,n[r]);return t}return n=t instanceof Element&&x(t),r=s.call(this,t),n&&W(e,t),x(this)&&q(e,t),r},Node.prototype.cloneNode=function(t){return t=c.call(this,!!t),this.ownerDocument.__CE_registry?U(e,t):R(e,t),t},Node.prototype.removeChild=function(t){var n=t instanceof Element&&x(t),r=u.call(this,t);return n&&W(e,t),r},Node.prototype.replaceChild=function(t,n){if(t instanceof DocumentFragment){var r=F(t);if(t=f.call(this,t,n),x(this))for(W(e,n),n=0;n<r.length;n++)q(e,r[n]);return t}r=t instanceof Element&&x(t);var o=f.call(this,t,n),i=x(this);return i&&W(e,n),r&&W(e,t),i&&q(e,t),o},p&&p.get?t(Node.prototype,p):function(e,t){e.j=!0,e.m.push(t)}(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")},set:function(e){for(;this.firstChild;)u.call(this,this.firstChild);null!=e&&""!==e&&s.call(this,document.createTextNode(e))}})}))}(M),function(e){function n(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var r=this,o=void 0;if(x(this)&&(o=[],I(e,this,(function(e){e!==r&&o.push(e)}))),n.set.call(this,t),o)for(var i=0;i<o.length;i++){var a=o[i];1===a.__CE_state&&e.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?U(e,this):R(e,this),t}})}function r(t,n){t.insertAdjacentElement=function(t,r){var o=x(r);return t=n.call(this,t,r),o&&W(e,r),x(t)&&q(e,r),t}}function o(t,n){function r(t,n){for(var r=[];t!==n;t=t.nextSibling)r.push(t);for(n=0;n<r.length;n++)U(e,r[n])}t.insertAdjacentHTML=function(e,t){if("beforebegin"===(e=e.toLowerCase())){var o=this.previousSibling;n.call(this,e,t),r(o||this.parentNode.firstChild,this)}else if("afterbegin"===e)o=this.firstChild,n.call(this,e,t),r(this.firstChild,o);else if("beforeend"===e)o=this.lastChild,n.call(this,e,t),r(o||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,e,t),r(this.nextSibling,o)}}}h&&(Element.prototype.attachShadow=function(t){if(t=h.call(this,t),e.j&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.m.length;n++)e.m[n](t)}return this.__CE_shadowRoot=t}),d&&d.get?n(Element.prototype,d):Z&&Z.get?n(HTMLElement.prototype,Z):function(e,t){e.j=!0,e.g.push(t)}(e,(function(e){n(e,{enumerable:!0,configurable:!0,get:function(){return c.call(this,!0).innerHTML},set:function(e){var n="template"===this.localName,r=n?this.content:this,o=t.call(document,this.namespaceURI,this.localName);for(o.innerHTML=e;0<r.childNodes.length;)u.call(r,r.childNodes[0]);for(e=n?o.content:o;0<e.childNodes.length;)s.call(r,e.childNodes[0])}})})),Element.prototype.setAttribute=function(t,n){if(1!==this.__CE_state)return m.call(this,t,n);var r=v.call(this,t);m.call(this,t,n),n=v.call(this,t),e.attributeChangedCallback(this,t,r,n,null)},Element.prototype.setAttributeNS=function(t,n,r){if(1!==this.__CE_state)return _.call(this,t,n,r);var o=y.call(this,t,n);_.call(this,t,n,r),r=y.call(this,t,n),e.attributeChangedCallback(this,n,o,r,t)},Element.prototype.removeAttribute=function(t){if(1!==this.__CE_state)return g.call(this,t);var n=v.call(this,t);g.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)},Element.prototype.removeAttributeNS=function(t,n){if(1!==this.__CE_state)return b.call(this,t,n);var r=y.call(this,t,n);b.call(this,t,n);var o=y.call(this,t,n);r!==o&&e.attributeChangedCallback(this,n,r,o,t)},z?r(HTMLElement.prototype,z):k&&r(Element.prototype,k),j?o(HTMLElement.prototype,j):w&&o(Element.prototype,w),re(e,Element.prototype,{prepend:E,append:T}),function(e){function t(t){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var c=r[a];if(c instanceof Element&&x(c)&&i.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)o.push(c);else o.push(c)}for(t.apply(this,r),r=0;r<i.length;r++)W(e,i[r]);if(x(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&q(e,i)}}var n=Element.prototype;void 0!==C&&(n.before=t(C)),void 0!==S&&(n.after=t(S)),void 0!==D&&(n.replaceWith=function(t){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var o=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&o.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(i=x(this),D.apply(this,n),n=0;n<o.length;n++)W(e,o[n]);if(i)for(W(e,this),n=0;n<r.length;n++)(o=r[n])instanceof Element&&q(e,o)}),void 0!==O&&(n.remove=function(){var t=x(this);O.call(this),t&&W(e,this)})}(e)}(M),M=new $(M),document.__CE_registry=M,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:M})}ie&&!ie.forcePolyfill&&"function"==typeof ie.define&&"function"==typeof ie.get||ae(),window.__CE_installPolyfill=ae}).call(self)},"hN/g":function(e,t,n){"use strict";n.r(t),n("uMpI"),n("5MeN"),n("UGdZ")},uMpI:function(e,t,n){!function(){"use strict";!function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");var o=!0===e.__zone_symbol__forceDuplicateZoneCheck;if(e.Zone){if(o||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var i,a=function(){function t(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new s(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){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.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return P.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return Z},enumerable:!0,configurable:!0}),t.__load_patch=function(i,a){if(D.hasOwnProperty(i)){if(o)throw Error("Already loaded patch: "+i)}else if(!e["__Zone_disable_"+i]){var c="Zone:"+i;n(c),D[i]=a(e,t,O),r(c,c)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{P=P.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{P=P.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");if(e.state!==y||e.type!==S&&e.type!==C){var r=e.state!=k;r&&e._transitionTo(k,b),e.runCount++;var o=Z;Z=e,P={parent:P,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(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==y&&e.state!==E&&(e.type==S||e.data&&e.data.isPeriodic?r&&e._transitionTo(b,k):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(y,k,y))),P=P.parent,Z=o}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;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(_,y);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(E,_,y),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==_&&e._transitionTo(b,_),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new l(T,e,t,n,r,void 0))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new l(C,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new l(S,e,t,n,r,o))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");e._transitionTo(w,b,k);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(E,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,w),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)},t.__symbol__=M,t}(),c={name:"",onHasTask:function(e,t,n,r){return e.hasTask(n,r)},onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,o,i){return e.invokeTask(n,r,o,i)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)}},s=function(){function e(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.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?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))}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)},e.prototype.scheduleTask=function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=T)throw new Error("Task is missing scheduleFn.");v(t)}return n},e.prototype.invokeTask=function(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)},e.prototype.cancelTask=function(e,t){var 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},e.prototype.hasTask=function(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),l=function(){function t(n,r,o,i,a,c){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,this.callback=o;var s=this;this.invoke=n===S&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,s,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),z++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==z&&m(),z--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(y,_)},t.prototype._transitionTo=function(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==y&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),u=M("setTimeout"),f=M("Promise"),p=M("then"),h=[],d=!1;function v(t){if(0===z&&0===h.length)if(i||e[f]&&(i=e[f].resolve(0)),i){var n=i[p];n||(n=i.then),n.call(i,m)}else e[u](m,0);t&&h.push(t)}function m(){if(!d){for(d=!0;h.length;){var e=h;h=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){O.onUnhandledError(r)}}}O.microtaskDrainDone(),d=!1}}var g={name:"NO ZONE"},y="notScheduled",_="scheduling",b="scheduled",k="running",w="canceling",E="unknown",T="microTask",C="macroTask",S="eventTask",D={},O={symbol:M,currentZoneFrame:function(){return P},onUnhandledError:j,microtaskDrainDone:j,scheduleMicroTask:v,showUncaughtError:function(){return!a[M("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:j,patchMethod:function(){return j},bindArguments:function(){return[]},patchThen:function(){return j},setNativePromise:function(e){e&&"function"==typeof e.resolve&&(i=e.resolve(0))}},P={parent:null,zone:new a(null,null)},Z=null,z=0;function j(){}function M(e){return"__zone_symbol__"+e}r("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var e=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Zone.__load_patch("ZoneAwarePromise",(function(t,n,r){var o=Object.getOwnPropertyDescriptor,i=Object.defineProperty,a=r.symbol,c=[],s=a("Promise"),l=a("then");r.onUnhandledError=function(e){if(r.showUncaughtError()){var 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)}},r.microtaskDrainDone=function(){for(;c.length;)for(var e=function(){var e=c.shift();try{e.zone.runGuarded((function(){throw e}))}catch(t){f(t)}};c.length;)e()};var u=a("unhandledPromiseRejectionHandler");function f(e){r.onUnhandledError(e);try{var t=n[u];t&&"function"==typeof t&&t.call(this,e)}catch(o){}}function p(e){return e&&e.then}function h(e){return e}function d(e){return S.reject(e)}var v=a("state"),m=a("value"),g=a("finally"),y=a("parentPromiseValue"),_=a("parentPromiseState");function b(e,t){return function(n){try{w(e,t,n)}catch(r){w(e,!1,r)}}}var k=a("currentTaskTrace");function w(e,t,o){var a,s,l=(a=!1,function(e){return function(){a||(a=!0,e.apply(null,arguments))}});if(e===o)throw new TypeError("Promise resolved with itself");if(null===e[v]){var u=null;try{"object"!=typeof o&&"function"!=typeof o||(u=o&&o.then)}catch(E){return l((function(){w(e,!1,E)}))(),e}if(!1!==t&&o instanceof S&&o.hasOwnProperty(v)&&o.hasOwnProperty(m)&&null!==o[v])T(o),w(e,o[v],o[m]);else if(!1!==t&&"function"==typeof u)try{u.call(o,l(b(e,t)),l(b(e,!1)))}catch(E){l((function(){w(e,!1,E)}))()}else{e[v]=t;var f=e[m];if(e[m]=o,e[g]===g&&!0===t&&(e[v]=e[_],e[m]=e[y]),!1===t&&o instanceof Error){var p=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;p&&i(o,k,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var h=0;h<f.length;)C(e,f[h++],f[h++],f[h++],f[h++]);if(0==f.length&&0==t){e[v]=0;try{throw new Error("Uncaught (in promise): "+((s=o)&&s.toString===Object.prototype.toString?(s.constructor&&s.constructor.name||"")+": "+JSON.stringify(s):s?s.toString():Object.prototype.toString.call(s))+(o&&o.stack?"\n"+o.stack:""))}catch(E){var d=E;d.rejection=o,d.promise=e,d.zone=n.current,d.task=n.currentTask,c.push(d),r.scheduleMicroTask()}}}}return e}var E=a("rejectionHandledHandler");function T(e){if(0===e[v]){try{var t=n[E];t&&"function"==typeof t&&t.call(this,{rejection:e[m],promise:e})}catch(o){}e[v]=!1;for(var r=0;r<c.length;r++)e===c[r].promise&&c.splice(r,1)}}function C(e,t,n,r,o){T(e);var i=e[v],a=i?"function"==typeof r?r:h:"function"==typeof o?o:d;t.scheduleMicroTask("Promise.then",(function(){try{var r=e[m],o=n&&g===n[g];o&&(n[y]=r,n[_]=i);var c=t.run(a,void 0,o&&a!==d&&a!==h?[]:[r]);w(n,!0,c)}catch(s){w(n,!1,s)}}),n)}var S=function(){function t(e){if(!(this instanceof t))throw new Error("Must be an instanceof Promise.");this[v]=null,this[m]=[];try{e&&e(b(this,!0),b(this,!1))}catch(n){w(this,!1,n)}}return t.toString=function(){return"function ZoneAwarePromise() { [native code] }"},t.resolve=function(e){return w(new this(null),!0,e)},t.reject=function(e){return w(new this(null),!1,e)},t.race=function(t){var n,r,o,i,a=new this((function(e,t){o=e,i=t}));function c(e){a&&(a=o(e))}function s(e){a&&(a=i(e))}try{for(var l=e(t),u=l.next();!u.done;u=l.next()){var f=u.value;p(f)||(f=this.resolve(f)),f.then(c,s)}}catch(h){n={error:h}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return a},t.all=function(t){var n,r,o,i,a=new this((function(e,t){o=e,i=t})),c=2,s=0,l=[],u=function(e){p(e)||(e=f.resolve(e));var t=s;e.then((function(e){l[t]=e,0==--c&&o(l)}),i),c++,s++},f=this;try{for(var h=e(t),d=h.next();!d.done;d=h.next())u(d.value)}catch(v){n={error:v}}finally{try{d&&!d.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}return 0==(c-=2)&&o(l),a},t.prototype.then=function(e,t){var r=new this.constructor(null),o=n.current;return null==this[v]?this[m].push(o,r,e,t):C(this,o,r,e,t),r},t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(e){var t=new this.constructor(null);t[g]=g;var r=n.current;return null==this[v]?this[m].push(r,t,e,e):C(this,r,t,e,e),t},t}();S.resolve=S.resolve,S.reject=S.reject,S.race=S.race,S.all=S.all;var D=t[s]=t.Promise,O=n.__symbol__("ZoneAwarePromise"),P=o(t,"Promise");P&&!P.configurable||(P&&delete P.writable,P&&delete P.value,P||(P={configurable:!0,enumerable:!0}),P.get=function(){return t[O]?t[O]:t[s]},P.set=function(e){e===S?t[O]=e:(t[s]=e,e.prototype[l]||z(e),r.setNativePromise(e))},i(t,"Promise",P)),t.Promise=S;var Z=a("thenPatched");function z(e){var t=e.prototype,n=o(t,"then");if(!n||!1!==n.writable&&n.configurable){var r=t.then;t[l]=r,e.prototype.then=function(e,t){var n=this;return new S((function(e,t){r.call(n,e,t)})).then(e,t)},e[Z]=!0}}return r.patchThen=z,D&&z(D),Promise[n.__symbol__("uncaughtPromiseErrors")]=c,S})),Zone.__load_patch("fetch",(function(e,t,n){var r=e.fetch,o=e.Promise,i=n.symbol("thenPatched"),a=n.symbol("fetchTaskScheduling"),c=n.symbol("fetchTaskAborting");if("function"==typeof r){var s=e.AbortController,l="function"==typeof s,u=null;l&&(e.AbortController=function(){var e=new s;return e.signal.abortController=e,e},u=n.patchMethod(s.prototype,"abort",(function(e){return function(t,n){return t.task?t.task.zone.cancelTask(t.task):e.apply(t,n)}})));var f=function(){};e.fetch=function(){var e=this,s=Array.prototype.slice.call(arguments),p=s.length>1?s[1]:null,h=p&&p.signal;return new Promise((function(p,d){var v=t.current.scheduleMacroTask("fetch",f,s,(function(){var c,l=t.current;try{l[a]=!0,c=r.apply(e,s)}catch(f){return void d(f)}finally{l[a]=!1}if(!(c instanceof o)){var u=c.constructor;u[i]||n.patchThen(u)}c.then((function(e){"notScheduled"!==v.state&&v.invoke(),p(e)}),(function(e){"notScheduled"!==v.state&&v.invoke(),d(e)}))}),(function(){if(l)if(h&&h.abortController&&!h.aborted&&"function"==typeof h.abortController.abort&&u)try{t.current[c]=!0,u.call(h.abortController)}finally{t.current[c]=!1}else d("cancel fetch need a AbortController.signal");else d("No AbortController supported, can not cancel fetch")}));h&&h.abortController&&(h.abortController.task=v)}))}}}));var t=Object.getOwnPropertyDescriptor,n=Object.defineProperty,r=Object.getPrototypeOf,o=Object.create,i=Array.prototype.slice,a="addEventListener",c="removeEventListener",s=Zone.__symbol__(a),l=Zone.__symbol__(c);function u(e,t){return Zone.current.wrap(e,t)}function f(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}var p=Zone.__symbol__,h="undefined"!=typeof window,d=h?window:void 0,v=h&&d||"object"==typeof self&&self||global,m=[null];function g(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=u(e[n],t+"_"+n));return e}function y(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var _="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in v)&&void 0!==v.process&&"[object process]"==={}.toString.call(v.process),k=!b&&!_&&!(!h||!d.HTMLElement),w=void 0!==v.process&&"[object process]"==={}.toString.call(v.process)&&!_&&!(!h||!d.HTMLElement),E={},T=function(e){if(e=e||v.event){var t=E[e.type];t||(t=E[e.type]=p("ON_PROPERTY"+e.type));var n,r=this||e.target||v,o=r[t];if(k&&r===d&&"error"===e.type){var i=e;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&e.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||e.preventDefault();return n}};function C(e,r,o){var i=t(e,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=p("on"+r+"patched");if(!e.hasOwnProperty(a)||!e[a]){delete i.writable,delete i.value;var c=i.get,s=i.set,l=r.substr(2),u=E[l];u||(u=E[l]=p("ON_PROPERTY"+l)),i.set=function(t){var n=this;n||e!==v||(n=v),n&&(n[u]&&n.removeEventListener(l,T),s&&s.apply(n,m),"function"==typeof t?(n[u]=t,n.addEventListener(l,T,!1)):n[u]=null)},i.get=function(){var t=this;if(t||e!==v||(t=v),!t)return null;var n=t[u];if(n)return n;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof t.removeAttribute&&t.removeAttribute(r),o}return null},n(e,r,i),e[a]=!0}}}function S(e,t,n){if(t)for(var r=0;r<t.length;r++)C(e,"on"+t[r],n);else{var o=[];for(var i in e)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)C(e,o[a],n)}}var D=p("originalInstance");function O(e){var t=v[e];if(t){v[p(e)]=t,v[e]=function(){var n=g(arguments,e);switch(n.length){case 0:this[D]=new t;break;case 1:this[D]=new t(n[0]);break;case 2:this[D]=new t(n[0],n[1]);break;case 3:this[D]=new t(n[0],n[1],n[2]);break;case 4:this[D]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},Z(v[e],t);var r,o=new t((function(){}));for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof o[t]?v[e].prototype[t]=function(){return this[D][t].apply(this[D],arguments)}:n(v[e].prototype,t,{set:function(n){"function"==typeof n?(this[D][t]=u(n,e+"."+t),Z(this[D][t],n)):this[D][t]=n},get:function(){return this[D][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(v[e][r]=t[r])}}function P(e,n,o){for(var i=e;i&&!i.hasOwnProperty(n);)i=r(i);!i&&e[n]&&(i=e);var a=p(n),c=null;if(i&&!(c=i[a])&&(c=i[a]=i[n],y(i&&t(i,n)))){var s=o(c,a,n);i[n]=function(){return s(this,arguments)},Z(i[n],c)}return c}function Z(e,t){e[p("OriginalDelegate")]=t}var z=!1,j=!1;function M(){try{var e=d.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(t){}return!1}function L(){if(z)return j;z=!0;try{var e=d.navigator.userAgent;return-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(j=!0),j}catch(t){}}Zone.__load_patch("toString",(function(e){var t=Function.prototype.toString,n=p("OriginalDelegate"),r=p("Promise"),o=p("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?t.apply(this[n],arguments):Object.prototype.toString.call(i);if(this===Promise){var a=e[r];if(a)return t.apply(a,arguments)}if(this===Error){var c=e[o];if(c)return t.apply(c,arguments)}}return t.apply(this,arguments)};i[n]=t,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.apply(this,arguments)}}));var N=!1;if("undefined"!=typeof window)try{var x=Object.defineProperty({},"passive",{get:function(){N=!0}});window.addEventListener("test",x,x),window.removeEventListener("test",x,x)}catch(pe){N=!1}var F={useG:!0},H={},A={},I=/^__zone_symbol__(\w+)(true|false)$/;function R(e,t,n){var o=n&&n.add||a,i=n&&n.rm||c,s=n&&n.listeners||"eventListeners",l=n&&n.rmAll||"removeAllListeners",u=p(o),f="."+o+":",h=function(e,t,n){if(!e.isRemoved){var r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=function(e){return r.handleEvent(e)},e.originalDelegate=r),e.invoke(e,t,[n]);var o=e.options;o&&"object"==typeof o&&o.once&&t[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,o)}},d=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[H[t.type].false];if(r)if(1===r.length)h(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t.__zone_symbol__propagationStopped);i++)h(o[i],n,t)}},v=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[H[t.type].true];if(r)if(1===r.length)h(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t.__zone_symbol__propagationStopped);i++)h(o[i],n,t)}};function m(t,n){if(!t)return!1;var a=!0;n&&void 0!==n.useG&&(a=n.useG);var c=n&&n.vh,h=!0;n&&void 0!==n.chkDup&&(h=n.chkDup);var m=!1;n&&void 0!==n.rt&&(m=n.rt);for(var g=t;g&&!g.hasOwnProperty(o);)g=r(g);if(!g&&t[o]&&(g=t),!g)return!1;if(g[u])return!1;var y,_=n&&n.eventNameToString,k={},w=g[u]=g[o],E=g[p(i)]=g[i],T=g[p(s)]=g[s],C=g[p(l)]=g[l];function S(e){N||"boolean"==typeof k.options||null==k.options||(e.options=!!k.options.capture,k.options=e.options)}n&&n.prepend&&(y=g[p(n.prepend)]=g[n.prepend]);var D=a?function(e){if(!k.isExisting)return S(e),w.call(k.target,k.eventName,k.capture?v:d,k.options)}:function(e){return S(e),w.call(k.target,k.eventName,e.invoke,k.options)},O=a?function(e){if(!e.isRemoved){var t=H[e.eventName],n=void 0;t&&(n=t[e.capture?"true":"false"]);var r=n&&e.target[n];if(r)for(var o=0;o<r.length;o++)if(r[o]===e){r.splice(o,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return E.call(e.target,e.eventName,e.capture?v:d,e.options)}:function(e){return E.call(e.target,e.eventName,e.invoke,e.options)},P=n&&n.diff?n.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},z=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],j=function(t,n,r,o,i,s){return void 0===i&&(i=!1),void 0===s&&(s=!1),function(){var l=this||e,u=arguments[0],f=arguments[1];if(!f)return t.apply(this,arguments);if(b&&"uncaughtException"===u)return t.apply(this,arguments);var p=!1;if("function"!=typeof f){if(!f.handleEvent)return t.apply(this,arguments);p=!0}if(!c||c(t,f,l,arguments)){var d,v=arguments[2];if(z)for(var m=0;m<z.length;m++)if(u===z[m])return t.apply(this,arguments);var g=!1;void 0===v?d=!1:!0===v?d=!0:!1===v?d=!1:(d=!!v&&!!v.capture,g=!!v&&!!v.once);var y,w=Zone.current,E=H[u];if(E)y=E[d?"true":"false"];else{var T=(_?_(u):u)+"false",C=(_?_(u):u)+"true",S="__zone_symbol__"+T,D="__zone_symbol__"+C;H[u]={},H[u].false=S,H[u].true=D,y=d?D:S}var O,Z=l[y],j=!1;if(Z){if(j=!0,h)for(m=0;m<Z.length;m++)if(P(Z[m],f))return}else Z=l[y]=[];var M=l.constructor.name,L=A[M];L&&(O=L[u]),O||(O=M+n+(_?_(u):u)),k.options=v,g&&(k.options.once=!1),k.target=l,k.capture=d,k.eventName=u,k.isExisting=j;var x=a?F:void 0;x&&(x.taskData=k);var I=w.scheduleEventTask(O,f,x,r,o);return k.target=null,x&&(x.taskData=null),g&&(v.once=!0),(N||"boolean"!=typeof I.options)&&(I.options=v),I.target=l,I.capture=d,I.eventName=u,p&&(I.originalDelegate=f),s?Z.unshift(I):Z.push(I),i?l:void 0}}};return g[o]=j(w,f,D,O,m),y&&(g.prependListener=j(y,".prependListener:",(function(e){return y.call(k.target,k.eventName,e.invoke,k.options)}),O,m,!0)),g[i]=function(){var t,n=this||e,r=arguments[0],o=arguments[2];t=void 0!==o&&(!0===o||!1!==o&&!!o&&!!o.capture);var i=arguments[1];if(!i)return E.apply(this,arguments);if(!c||c(E,i,n,arguments)){var a,s=H[r];s&&(a=s[t?"true":"false"]);var l=a&&n[a];if(l)for(var u=0;u<l.length;u++){var f=l[u];if(P(f,i))return l.splice(u,1),f.isRemoved=!0,0===l.length&&(f.allRemoved=!0,n[a]=null),f.zone.cancelTask(f),m?n:void 0}return E.apply(this,arguments)}},g[s]=function(){for(var t=this||e,n=arguments[0],r=[],o=B(t,_?_(n):n),i=0;i<o.length;i++){var a=o[i],c=a.originalDelegate?a.originalDelegate:a.callback;r.push(c)}return r},g[l]=function(){var t=this||e,n=arguments[0];if(n){var r=H[n];if(r){var o=r.false,a=r.true,c=t[o],s=t[a];if(c){var u=c.slice();for(h=0;h<u.length;h++)this[i].call(this,n,(f=u[h]).originalDelegate?f.originalDelegate:f.callback,f.options)}if(s)for(u=s.slice(),h=0;h<u.length;h++){var f;this[i].call(this,n,(f=u[h]).originalDelegate?f.originalDelegate:f.callback,f.options)}}}else{for(var p=Object.keys(t),h=0;h<p.length;h++){var d=p[h],v=I.exec(d),g=v&&v[1];g&&"removeListener"!==g&&this[l].call(this,g)}this[l].call(this,"removeListener")}if(m)return this},Z(g[o],w),Z(g[i],E),C&&Z(g[l],C),T&&Z(g[s],T),!0}for(var g=[],y=0;y<t.length;y++)g[y]=m(t[y],n);return g}function B(e,t){var n=[];for(var r in e){var o=I.exec(r),i=o&&o[1];if(i&&(!t||i===t)){var a=e[r];if(a)for(var c=0;c<a.length;c++)n.push(a[c])}}return n}var q=p("zoneTask");function W(e,t,n,r){var o=null,i=null;n+=r;var a={};function c(t){var 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 a[n.handleId]:n.handleId&&(n.handleId[q]=null))}},n.handleId=o.apply(e,n.args),t}function s(e){return i(e.data.handleId)}o=P(e,t+=r,(function(n){return function(o,i){if("function"==typeof i[0]){var l=f(t,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,s);if(!l)return l;var u=l.data.handleId;return"number"==typeof u?a[u]=l:u&&(u[q]=l),u&&u.ref&&u.unref&&"function"==typeof u.ref&&"function"==typeof u.unref&&(l.ref=u.ref.bind(u),l.unref=u.unref.bind(u)),"number"==typeof u||u?u:l}return n.apply(e,i)}})),i=P(e,n,(function(t){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[q])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[q]=null),o.zone.cancelTask(o)):t.apply(e,r)}}))}var U=Object[p("defineProperty")]=Object.defineProperty,G=Object[p("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,X=Object.create,V=p("unconfigurables");function J(e,t){return e&&e[V]&&e[V][t]}function K(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[V]||Object.isFrozen(e)||U(e,V,{writable:!0,value:{}}),e[V]&&(e[V][t]=!0)),n}function Y(e,t,n,r){try{return U(e,t,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return U(e,t,n)}catch(i){var o=null;try{o=JSON.stringify(n)}catch(i){o=n.toString()}console.log("Attempting to configure '"+t+"' with descriptor '"+o+"' on object '"+e+"' and got error, giving up: "+i)}}}var $=["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","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],Q=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ee=["load"],te=["blur","error","focus","load","resize","scroll","messageerror"],ne=["bounce","finish","start"],re=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],oe=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ie=["close","error","open","message"],ae=["error","message"],ce=["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"],$,["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 se(e,t,n,r){e&&S(e,function(e,t,n){if(!n||0===n.length)return t;var r=n.filter((function(t){return t.target===e}));if(!r||0===r.length)return t;var o=r[0].ignoreProperties;return t.filter((function(e){return-1===o.indexOf(e)}))}(e,t,n),r)}function le(e,s){if(!b||w){var l="undefined"!=typeof WebSocket;if(function(){if((k||w)&&!t(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var e=t(Element.prototype,"onclick");if(e&&!e.configurable)return!1}var r=XMLHttpRequest.prototype,o=t(r,"onreadystatechange");if(o){n(r,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var i=!!(c=new XMLHttpRequest).onreadystatechange;return n(r,"onreadystatechange",o||{}),i}var a=p("fake");n(r,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[a]},set:function(e){this[a]=e}});var c=new XMLHttpRequest,s=function(){};return c.onreadystatechange=s,i=c[a]===s,c.onreadystatechange=null,i}()){var f=s.__Zone_ignore_on_properties;if(k){var h=window,d=M?[{target:h,ignoreProperties:["error"]}]:[];se(h,ce.concat(["messageerror"]),f?f.concat(d):f,r(h)),se(Document.prototype,ce,f),void 0!==h.SVGElement&&se(h.SVGElement.prototype,ce,f),se(Element.prototype,ce,f),se(HTMLElement.prototype,ce,f),se(HTMLMediaElement.prototype,Q,f),se(HTMLFrameSetElement.prototype,$.concat(te),f),se(HTMLBodyElement.prototype,$.concat(te),f),se(HTMLFrameElement.prototype,ee,f),se(HTMLIFrameElement.prototype,ee,f);var v=h.HTMLMarqueeElement;v&&se(v.prototype,ne,f);var m=h.Worker;m&&se(m.prototype,ae,f)}se(XMLHttpRequest.prototype,re,f);var g=s.XMLHttpRequestEventTarget;g&&se(g&&g.prototype,re,f),"undefined"!=typeof IDBIndex&&(se(IDBIndex.prototype,oe,f),se(IDBRequest.prototype,oe,f),se(IDBOpenDBRequest.prototype,oe,f),se(IDBDatabase.prototype,oe,f),se(IDBTransaction.prototype,oe,f),se(IDBCursor.prototype,oe,f)),l&&se(WebSocket.prototype,ie,f)}else!function(){for(var e=function(e){var t=ce[e],n="on"+t;self.addEventListener(t,(function(e){var t,r,o=e.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][ue]&&((t=u(o[n],r))[ue]=o[n],o[n]=t),o=o.parentElement}),!0)},t=0;t<ce.length;t++)e(t)}(),O("XMLHttpRequest"),l&&function(e,n){var r=n.WebSocket;n.EventTarget||R(n,[r.prototype]),n.WebSocket=function(e,n){var s,l,u=arguments.length>1?new r(e,n):new r(e),f=t(u,"onmessage");return f&&!1===f.configurable?(s=o(u),l=u,[a,c,"send","close"].forEach((function(e){s[e]=function(){var t=i.call(arguments);if(e===a||e===c){var n=t.length>0?t[0]:void 0;if(n){var r=Zone.__symbol__("ON_PROPERTY"+n);u[r]=s[r]}}return u[e].apply(u,t)}}))):s=u,S(s,["close","error","message","open"],l),s};var s=n.WebSocket;for(var l in r)s[l]=r[l]}(0,s)}}var ue=p("unbound");function fe(e,n,r,o){var i=Zone.__symbol__(r);if(!e[i]){var a=e[i]=e[r];e[r]=function(i,c,s){return c&&c.prototype&&o.forEach((function(e){var o,i,a,s,l=n+"."+r+"::"+e,f=c.prototype;if(f.hasOwnProperty(e)){var p=t(f,e);p&&p.value?(p.value=u(p.value,l),s=(a=p).configurable,Y(o=c.prototype,i=e,a=K(o,i,a),s)):f[e]&&(f[e]=u(f[e],l))}else f[e]&&(f[e]=u(f[e],l))})),a.call(e,i,c,s)},Z(e[r],a)}}Zone.__load_patch("util",(function(e,t,n){n.patchOnProperties=S,n.patchMethod=P,n.bindArguments=g})),Zone.__load_patch("timers",(function(e){W(e,"set","clear","Timeout"),W(e,"set","clear","Interval"),W(e,"set","clear","Immediate")})),Zone.__load_patch("requestAnimationFrame",(function(e){W(e,"request","cancel","AnimationFrame"),W(e,"mozRequest","mozCancel","AnimationFrame"),W(e,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",(function(e,t){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)P(e,n[r],(function(n,r,o){return function(r,i){return t.current.run(n,e,i,o)}}))})),Zone.__load_patch("EventTarget",(function(e,t,n){var r=t.__symbol__("BLACK_LISTED_EVENTS");e[r]&&(t[r]=e[r]),function(e,t){!function(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",(function(e){return function(t,n){t.__zone_symbol__propagationStopped=!0,e&&e.apply(t,n)}}))}(e,t)}(e,n),function(e,t){var n="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",r="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),o=[],i=e.wtf,a=n.split(",");i?o=a.map((function(e){return"HTML"+e+"Element"})).concat(r):e.EventTarget?o.push("EventTarget"):o=r;for(var c=e.__Zone_disable_IE_check||!1,s=e.__Zone_enable_cross_context_check||!1,l=L(),u="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",f=0;f<ce.length;f++){var p="__zone_symbol__"+(g=ce[f])+"false",h="__zone_symbol__"+g+"true";H[g]={},H[g].false=p,H[g].true=h}for(f=0;f<n.length;f++)for(var d=a[f],v=A[d]={},m=0;m<ce.length;m++){var g;v[g=ce[m]]=d+".addEventListener:"+g}var y=[];for(f=0;f<o.length;f++){var _=e[o[f]];y.push(_&&_.prototype)}R(e,y,{vh:function(e,t,n,r){if(!c&&l){if(s)try{var o;if("[object FunctionWrapper]"===(o=t.toString())||o==u)return e.apply(n,r),!1}catch(i){return e.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=t.toString())||o==u)return e.apply(n,r),!1}else if(s)try{t.toString()}catch(i){return e.apply(n,r),!1}return!0}}),t.patchEventTarget=R}(e,n);var o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),O("MutationObserver"),O("WebKitMutationObserver"),O("IntersectionObserver"),O("FileReader")})),Zone.__load_patch("on_property",(function(e,t,n){le(0,e),Object.defineProperty=function(e,t,n){if(J(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);var r=n.configurable;return"prototype"!==t&&(n=K(e,t,n)),Y(e,t,n,r)},Object.defineProperties=function(e,t){return Object.keys(t).forEach((function(n){Object.defineProperty(e,n,t[n])})),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach((function(n){t[n]=K(e,n,t[n])})),X(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=G(e,t);return n&&J(e,t)&&(n.configurable=!1),n}})),Zone.__load_patch("customElements",(function(e,t,n){!function(e){(k||w)&&"registerElement"in e.document&&fe(document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(e),function(e){(k||w)&&"customElements"in e&&fe(e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e)})),Zone.__load_patch("canvas",(function(e){var t=e.HTMLCanvasElement;void 0!==t&&t.prototype&&t.prototype.toBlob&&function(e,t,n){var r=null;function o(e){var t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=P(e,"toBlob",(function(e){return function(t,n){var r=function(e,t){return{name:"HTMLCanvasElement.toBlob",target:e,cbIdx:0,args:t}}(t,n);return r.cbIdx>=0&&"function"==typeof n[r.cbIdx]?f(r.name,n[r.cbIdx],r,o):e.apply(t,n)}}))}(t.prototype)})),Zone.__load_patch("XHR",(function(e,t){!function(e){var u=XMLHttpRequest.prototype,h=u[s],d=u[l];if(!h){var v=e.XMLHttpRequestEventTarget;if(v){var m=v.prototype;h=m[s],d=m[l]}}function g(e){var t=e.data,r=t.target;r[i]=!1,r[c]=!1;var a=r[o];h||(h=r[s],d=r[l]),a&&d.call(r,"readystatechange",a);var u=r[o]=function(){if(r.readyState===r.DONE)if(!t.aborted&&r[i]&&"scheduled"===e.state){var n=r.__zone_symbol__loadfalse;if(n&&n.length>0){var o=e.invoke;e.invoke=function(){for(var n=r.__zone_symbol__loadfalse,i=0;i<n.length;i++)n[i]===e&&n.splice(i,1);t.aborted||"scheduled"!==e.state||o.call(e)},n.push(e)}else e.invoke()}else t.aborted||!1!==r[i]||(r[c]=!0)};return h.call(r,"readystatechange",u),r[n]||(r[n]=e),E.apply(r,t.args),r[i]=!0,e}function y(){}function _(e){var t=e.data;return t.aborted=!0,T.apply(t.target,t.args)}var b=P(u,"open",(function(){return function(e,t){return e[r]=0==t[2],e[a]=t[1],b.apply(e,t)}})),k=p("fetchTaskAborting"),w=p("fetchTaskScheduling"),E=P(u,"send",(function(){return function(e,n){if(!0===t.current[w])return E.apply(e,n);if(e[r])return E.apply(e,n);var o={target:e,url:e[a],isPeriodic:!1,args:n,aborted:!1},i=f("XMLHttpRequest.send",y,o,g,_);e&&!0===e[c]&&!o.aborted&&"scheduled"===i.state&&i.invoke()}})),T=P(u,"abort",(function(){return function(e,r){var o=e[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===t.current[k])return T.apply(e,r)}}))}(e);var n=p("xhrTask"),r=p("xhrSync"),o=p("xhrListener"),i=p("xhrScheduled"),a=p("xhrURL"),c=p("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(function(e){e.navigator&&e.navigator.geolocation&&function(e,n){for(var r=e.constructor.name,o=function(o){var i=n[o],a=e[i];if(a){if(!y(t(e,i)))return"continue";e[i]=function(e){var t=function(){return e.apply(this,g(arguments,r+"."+i))};return Z(t,e),t}(a)}},i=0;i<n.length;i++)o(i)}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",(function(e,t){function n(t){return function(n){B(e,t).forEach((function(r){var o=e.PromiseRejectionEvent;if(o){var i=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(i)}}))}}e.PromiseRejectionEvent&&(t[p("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[p("rejectionHandledHandler")]=n("rejectionhandled"))}))}()}},[[2,0]]]);
3
- (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function l(e,t,n,r){var o,i=arguments.length,l=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(l=(i<3?o(l):i>3?o(t,n,l):o(t,n))||l);return i>3&&l&&Object.defineProperty(t,n,l),l}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),l=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)l.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return l}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}var p=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function d(e){return null!==e&&"object"==typeof e}function f(e){return"function"==typeof e}var h=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),g=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._ctorUnsubscribe,o=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var l=0;l<n.length;++l)n[l].remove(this);if(f(o)){r&&(this._unsubscribe=void 0);try{o.call(this)}catch(u){t=u instanceof h?y(u.errors):[u]}}if(p(i)){l=-1;for(var a=i.length;++l<a;){var s=i[l];if(d(s))try{s.unsubscribe()}catch(u){t=t||[],u instanceof h?t=t.concat(y(u.errors)):t.push(u)}}}if(t)throw new h(t)}},e.prototype.add=function(t){var 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)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=n._parentOrParents;if(null===o)n._parentOrParents=this;else if(o instanceof e){if(o===this)return n;n._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return n;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=function(e){return e.closed=!0,e}(new e),e}();function y(e){return e.reduce((function(e,t){return e.concat(t instanceof h?t.errors:t)}),[])}var m=!1,v={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){m=e},get useDeprecatedSynchronousErrorHandling(){return m}};function b(e){setTimeout((function(){throw e}),0)}var _={closed:!0,next:function(e){},error:function(e){if(v.useDeprecatedSynchronousErrorHandling)throw e;b(e)},complete:function(){}},w=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),C=function(e){function t(n,r,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=_;break;case 1:if(!n){i.destination=_;break}if("object"==typeof n){n instanceof t?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new x(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new x(i,n,r,o)}return i}return o(t,e),t.prototype[w]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(g),x=function(e){function t(t,n,r,o){var i,l=e.call(this)||this;l._parentSubscriber=t;var a=l;return f(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==_&&(f((a=Object.create(n)).unsubscribe)&&l.add(a.unsubscribe.bind(a)),a.unsubscribe=l.unsubscribe.bind(l))),l._context=a,l._next=i,l._error=r,l._complete=o,l}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=v.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):b(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;b(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),v.useDeprecatedSynchronousErrorHandling)throw n;b(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return v.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(b(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(C),E=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function T(e){return e}function I(e){return 0===e.length?T:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var O=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof C)return e;if(e[w])return e[w]()}return e||t||n?new C(e,t,n):new C(_)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||v.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),v.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof C?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=k(t))((function(t,r){var o;o=n.subscribe((function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[E]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:I(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=k(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function k(e){if(e||(e=v.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var P=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),S=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(g),D=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(C),A=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype[w]=function(){return new D(this)},t.prototype.lift=function(e){var t=new M(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new P;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new P;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new P;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new P;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new P;return this.hasError?(e.error(this.thrownError),g.EMPTY):this.isStopped?(e.complete(),g.EMPTY):(this.observers.push(e),new S(this,e))},t.prototype.asObservable=function(){var e=new O;return e.source=this,e},t.create=function(e,t){return new M(e,t)},t}(O),M=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):g.EMPTY},t}(A);function V(e){return e&&"function"==typeof e.schedule}function N(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 R(e,t))}}var R=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new j(e,this.project,this.thisArg))},e}(),j=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(C),F=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};function H(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var z=H(),L=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function U(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var B=function(e){if(e&&"function"==typeof e[E])return r=e,function(e){var t=r[E]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(L(e))return F(e);if(U(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,b),e};if(e&&"function"==typeof e[z])return t=e,function(e){for(var n=t[z]();;){var r=void 0;try{r=n.next()}catch(o){return e.error(o),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,r,o=d(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+o+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Z(e,t){return new O((function(n){var r=new g,o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}function G(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[E]}(e))return function(e,t){return new O((function(n){var r=new g;return r.add(t.schedule((function(){var o=e[E]();r.add(o.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(U(e))return function(e,t){return new O((function(n){var r=new g;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(L(e))return Z(e,t);if(function(e){return e&&"function"==typeof e[z]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new O((function(n){var r,o=new g;return o.add((function(){r&&"function"==typeof r.return&&r.return()})),o.add(t.schedule((function(){r=e[z](),o.add(t.schedule((function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}})))}))),o}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof O?e:new O(B(e))}var $=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,n}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(C),q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(C),Q=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new K(e,this.project,this.concurrent))},e}(),K=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)},t.prototype._innerSub=function(e){var t=new $(this),n=this.destination;n.add(t);var r=function(e,t){if(!t.closed){if(e instanceof O)return e.subscribe(t);var n;try{n=B(e)(t)}catch(r){t.error(r)}return n}}(e,t);r!==t&&n.add(r)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyComplete=function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(q);function W(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function e(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(o){return o.pipe(e((function(e,r){return G(t(e,r)).pipe(N((function(t,o){return n(e,t,r,o)})))}),r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new Q(t,r))})}(T,e)}function J(e,t){return t?Z(e,t):new O(F(e))}function Y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,o=e[e.length-1];return V(o)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof o&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof O?e[0]:W(n)(J(e,r))}function X(){return function(e){return e.lift(new ee(e))}}var ee=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new te(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),te=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(C),ne=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new g).add(this.source.subscribe(new oe(this.getSubject(),this))),e.closed&&(this._connection=null,e=g.EMPTY)),e},t.prototype.refCount=function(){return X()(this)},t}(O),re=function(){var e=ne.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}}}(),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(D);function ie(){return new A}function le(e){for(var t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}var ae=le({ngInjectableDef:le});function se(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ue(e){return e&&e.hasOwnProperty(ae)?e[ae]:null}var ce=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?se({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),pe="__parameters__";function de(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,c(t));for(var o in r)this[o]=r[o]}}}(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,c([void 0],t)));return l.annotation=i,l;function l(e,t,n){for(var r=e.hasOwnProperty(pe)?e[pe]:Object.defineProperty(e,pe,{value:[]})[pe];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var fe="undefined"!=typeof window&&window,he="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ge="undefined"!=typeof global&&global||fe||he,ye=Promise.resolve(0),me=null;function ve(){if(!me){var e=ge.Symbol;if(e&&e.iterator)me=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(me=r)}}return me}function be(e){"undefined"==typeof Zone?ye.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function _e(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function we(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(we).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}var Ce=le({__forward_ref__:le});function xe(e){return e.__forward_ref__=xe,e.toString=function(){return we(this())},e}function Ee(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(Ce)&&t.__forward_ref__===xe?t():e}var Te=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Ie=de("Inject",(function(e){return{token:e}})),Oe=de("Optional"),ke=de("Self"),Pe=de("SkipSelf"),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}({}),De=void 0;function Ae(e){var t=De;return De=e,t}var Me=/([A-Z])/g;function Ve(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Ne(e,t){var n=Fe(e),r=Fe(t);return n&&r?function(e,t,n){for(var r=e[ve()](),o=t[ve()]();;){var i=r.next(),l=o.next();if(i.done&&l.done)return!0;if(i.done||l.done)return!1;if(!n(i.value,l.value))return!1}}(e,t,Ne):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||_e(e,t)}var Re=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),je=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Fe(e){return!!He(e)&&(Array.isArray(e)||!(e instanceof Map)&&ve()in e)}function He(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ze(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var Le=new Object,Ue=new ce("INJECTOR"),Be=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Le),t===Le)throw new Error("NullInjectorError: No provider for "+we(e)+"!");return t},e}(),Ze=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Xe(e,t):new Xe(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Le,e.NULL=new Be,e.ngInjectableDef=se({providedIn:"any",factory:function(){return void 0===e&&(e=Se.Default),function(e,t){if(void 0===t&&(t=Se.Default),void 0===De)throw new Error("inject() must be called from an injection context");return null===De?function(e,t,n){var 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;throw new Error("Injector: NOT_FOUND ["+we(e)+"]")}(e,0,t):De.get(e,t&Se.Optional?null:void 0,t)}(Ue,e);var e}}),e.__NG_ELEMENT_ID__=function(){return Ge()},e}(),Ge=ze,$e=function(e){return e},qe=[],Qe=$e,Ke=function(){return Array.prototype.slice.call(arguments)},We=le({provide:String,useValue:le}),Je=Ze.NULL,Ye=/\n/gm,Xe=function(){function e(e,t,n){void 0===t&&(t=Je),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Ze,{token:Ze,fn:$e,deps:qe,value:this,useNew:!1}),r.set(Ue,{token:Ue,fn:$e,deps:qe,value:this,useNew:!1}),function e(t,n){if(n)if((n=Ee(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw nt("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw nt("Unexpected provider",n);var o=Ee(n.provide),i=function(e){var t=function(e){var t=qe,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=Ee(n[r]))instanceof Array)for(var i=0,l=s;i<l.length;i++){var a=l[i];a instanceof Oe||a==Oe?o|=1:a instanceof Pe||a==Pe?o&=-3:a instanceof ke||a==ke?o&=-5:s=a instanceof Ie?a.token:Ee(a)}t.push({token:s,options:o})}}else if(e.useExisting){var s=Ee(e.useExisting);t=[{token:s,options:6}]}else if(!n&&!(We in e))throw nt("'deps' required",e);return t}(e),n=$e,r=qe,o=!1,i=Ee(e.provide);if(We in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=Ee(e.useClass);else{if("function"!=typeof i)throw nt("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var l=t.get(o);if(l){if(l.fn!==Ke)throw et(o)}else t.set(o,l={token:n.provide,deps:[],useNew:!1,fn:Ke,value:qe});l.deps.push({token:o=n,options:6})}var a=t.get(o);if(a&&a.fn==Ke)throw et(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=Se.Default);var r=this._records.get(e);try{return function e(t,n,r,o,i,l){try{return function(t,n,r,o,i,l){var a,s;if(!n||l&Se.SkipSelf)l&Se.Self||(s=o.get(t,i,Se.Default));else{if((s=n.value)==Qe)throw Error("\u0275Circular dependency");if(s===qe){n.value=Qe;var u=n.useNew,p=n.fn,d=n.deps,f=qe;if(d.length){f=[];for(var h=0;h<d.length;h++){var g=d[h],y=g.options,m=2&y?r.get(g.token):void 0;f.push(e(g.token,m,r,m||4&y?o:Je,1&y?null:Ze.THROW_IF_NOT_FOUND,Se.Default))}}n.value=s=u?new((a=p).bind.apply(a,c([void 0],f))):p.apply(void 0,f)}}return s}(t,n,r,o,i,l)}catch(a){throw a instanceof Error||(a=new Error(a)),(a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(t),n&&n.value==Qe&&(n.value=qe),a}}(e,r,this._records,this.parent,t,n)}catch(i){var o=i.ngTempTokenPath;throw e.__source&&o.unshift(e.__source),i.message=tt("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},e.prototype.toString=function(){var e=[];return this._records.forEach((function(t,n){return e.push(we(n))})),"StaticInjector["+e.join(", ")+"]"},e}();function et(e){return nt("Cannot mix multi providers and regular providers",e)}function tt(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=we(t);if(t instanceof Array)r=t.map(we).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var l=t[i];o.push(i+":"+("string"==typeof l?JSON.stringify(l):we(l)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(Ye,"\n ")}function nt(e,t){return new Error(tt(e,t))}var rt=new ce("The presence of this token marks an injector as being the root injector."),ot=function(){return function(){}}(),it=function(){return function(){}}();function lt(e){var t=Error("No component factory found for "+we(e)+". Did you add it to @NgModule.entryComponents?");return t[at]=e,t}var at="ngComponent",st=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw lt(e)},e}(),ut=function(){function e(){}return e.NULL=new st,e}(),ct=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw lt(e);return new pt(t,this._ngModule)},e}(),pt=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(it),dt=function(){return function(){}}(),ft=function(){return function(){}}(),ht=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return gt(e)},e}(),gt=ze,yt=function(){return function(){}}(),mt=function(){return function(){}}(),vt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),bt=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return _t()},e}(),_t=ze,wt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Ct=function(){return function(){}}(),xt=new(function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}())("7.2.11"),Et=!0,Tt=!1;function It(){return Tt=!0,Et}var Ot=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),kt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Pt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function St(e){return(e=String(e)).match(kt)||e.match(Pt)?e:(It()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Dt(e){var t,n,r={};try{for(var o=s(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(l){t={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function At(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),l=i.next();!l.done;l=i.next()){var a=l.value;for(var u in a)a.hasOwnProperty(u)&&(o[u]=!0)}}catch(c){e={error:c}}finally{try{l&&!l.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var Mt,Vt=Dt("area,br,col,hr,img,wbr"),Nt=Dt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rt=Dt("rp,rt"),jt=At(Rt,Nt),Ft=At(Vt,At(Nt,Dt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),At(Rt,Dt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),jt),Ht=Dt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),zt=Dt("srcset"),Lt=At(Ht,zt,Dt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),Ut=Dt("script,style,template"),Bt=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t,n=e.nodeName.toLowerCase();if(!Ft.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ut.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),l=i.name,a=l.toLowerCase();if(Lt.hasOwnProperty(a)){var s=i.value;Ht[a]&&(s=St(s)),zt[a]&&(t=s,s=(t=String(t)).split(",").map((function(e){return St(e.trim())})).join(", ")),this.buf.push(" ",l,'="',$t(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Ft.hasOwnProperty(t)&&!Vt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push($t(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),Zt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gt=/([^\#-~ |!])/g;function $t(e){return e.replace(/&/g,"&amp;").replace(Zt,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Gt,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function qt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Qt=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},l=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(l=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),r&&(l=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var a=e.prototype.subscribe.call(this,o,i,l);return t instanceof g&&t.add(a),a},t}(A),Kt=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Wt(e,ht)},e}(),Wt=ze,Jt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Yt=/^url\(([^)]+)\)$/;function Xt(e){return e.ngDebugContext}function en(e){return e.ngOriginalError}function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,c(t))}var nn=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||tn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?Xt(e)?Xt(e):this._findContext(en(e)):null},e.prototype._findOriginalError=function(e){for(var t=en(e);t&&en(t);)t=en(t);return t},e}();function rn(e){return!!e&&"function"==typeof e.then}function on(e){return!!e&&"function"==typeof e.subscribe}var ln=new ce("Application Initializer"),an=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,n){t.resolve=e,t.reject=n}))}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();rn(o)&&t.push(o)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}},e}(),sn=new ce("AppId");function un(){return""+cn()+cn()+cn()}function cn(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var pn=new ce("Platform Initializer"),dn=new ce("Platform ID"),fn=new ce("appBootstrapListener"),hn=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function gn(){throw new Error("Runtime compiler is not loaded")}var yn,mn,vn=gn,bn=gn,_n=gn,wn=gn,Cn=function(){function e(){this.compileModuleSync=vn,this.compileModuleAsync=bn,this.compileModuleAndAllComponentsSync=_n,this.compileModuleAndAllComponentsAsync=wn}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),xn=function(){return function(){}}();function En(){var e=ge.wtf;return!(!e||!(yn=e.trace)||(mn=yn.events,0))}var Tn=En();function In(e,t){return null}var On=Tn?function(e,t){return void 0===t&&(t=null),mn.createScope(e,t)}:function(e,t){return In},kn=Tn?function(e,t){return yn.leaveScope(e,t),t}:function(e,t){return t},Pn=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qt(!1),this.onMicrotaskEmpty=new Qt(!1),this.onStable=new Qt(!1),this.onError=new Qt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,l){try{return Mn(t),e.invokeTask(r,o,i,l)}finally{Vn(t)}},onInvoke:function(e,n,r,o,i,l,a){try{return Mn(t),e.invoke(r,o,i,l,a)}finally{Vn(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,An(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular((function(){return t.onError.emit(o)})),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Dn,Sn,Sn);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Sn(){}var Dn={};function An(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function Mn(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vn(e){e._nesting--,An(e)}var Nn,Rn=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qt,this.onMicrotaskEmpty=new Qt,this.onStable=new Qt,this.onError=new Qt}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),jn=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run((function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){Pn.assertNotInAngularZone(),be((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())be((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==o})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Fn=function(){function e(){this._applications=new Map,Hn.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Hn.findTestabilityInTree(this,e,t)},l([a("design:paramtypes",[])],e)}(),Hn=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),zn=new ce("AllowMultipleToken"),Ln=function(){return function(e,t){this.name=e,this.token=t}}();function Un(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new ce(r);return function(t){void 0===t&&(t=[]);var i=Bn();if(!i||i.injector.get(zn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var l=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(Nn&&!Nn.destroyed&&!Nn.injector.get(zn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Nn=e.get(Zn);var t=e.get(pn,null);t&&t.forEach((function(e){return e()}))}(Ze.create({providers:l,name:r}))}return function(e){var t=Bn();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function Bn(){return Nn&&!Nn.destroyed?Nn:null}var Zn=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new Rn:("zone.js"===n?void 0:n)||new Pn({enableLongStackTrace:It()}),i=[{provide:Pn,useValue:o}];return o.run((function(){var t=Ze.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),l=n.injector.get(nn,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return qn(r._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){l.handleError(e)}})})),function(e,t,o){try{var i=((l=n.injector.get(an)).runInitializers(),l.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return rn(i)?i.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):i}catch(a){throw t.runOutsideAngular((function(){return e.handleError(a)})),a}var l}(l,o)}))},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Gn({},t);return function(e,t,n){return e.get(xn).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then((function(e){return n.bootstrapModuleFactory(e,r)}))},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get($n);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+we(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Gn(e,t){return Array.isArray(t)?t.reduce(Gn,e):i({},e,t)}var $n=function(){function e(e,t,n,r,o,i){var l=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=It(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run((function(){l.tick()}))}});var a=new O((function(e){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular((function(){e.next(l._stable),e.complete()}))})),s=new O((function(e){var t;l._zone.runOutsideAngular((function(){t=l._zone.onStable.subscribe((function(){Pn.assertNotInAngularZone(),be((function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))}))}))}));var n=l._zone.onUnstable.subscribe((function(){Pn.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Y(a,s.pipe((function(e){return X()((t=ie,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,re);return r.source=e,r.subjectFactory=n,r})(e));var t})))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof it?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof pt?null:this._injector.get(dt),i=n.create(Ze.NULL,[],t||n.selector,o);i.onDestroy((function(){r._unloadComponent(i)}));var l=i.injector.get(jn,null);return l&&i.injector.get(Fn).registerApplication(i.location.nativeElement,l),this._loadComponent(i),It()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach((function(e){return e.detectChanges()})),this._enforceNoNewChanges&&this._views.forEach((function(e){return e.checkNoChanges()}))}catch(r){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(r)}))}finally{this._runningTick=!1,kn(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;qn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(fn,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),qn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(e){return e.destroy()}))},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=On("ApplicationRef#tick()"),e}();function qn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Qn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Qt,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[ve()]=function(){return this._results[ve()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce((function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)}),[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Kn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Wn(e,ht)},e}(),Wn=ze,Jn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Yn()},e}(),Yn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Xn=function(){return function(e,t){this.name=e,this.callback=t}}(),er=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof tr&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),tr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,c([o+1,0],t)),t.forEach((function(t){t.parent&&t.parent.removeChild(t),e.parent=r})))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach((function(t){t instanceof tr&&(n(t)&&r.push(t),e(t,n,r))}))}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof tr&&t.childNodes.forEach((function(t){n(t)&&r.push(t),t instanceof tr&&e(t,n,r)}))}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter((function(e){return e instanceof t}))},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))},t}(er),nr=new Map,rr=function(e){return nr.get(e)||null};function or(e){nr.set(e.nativeNode,e)}var ir=function(){function e(){}return e.prototype.supports=function(e){return Fe(e)},e.prototype.create=function(e){return new ar(e)},e}(),lr=function(e,t){return t},ar=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||lr}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<pr(n,r,o)?t:n,l=pr(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var s=l-r,u=a-r;if(s!=u){for(var c=0;c<s;c++){var p=c<o.length?o[c]:o[c]=0,d=p+c;u<=d&&d<s&&(o[c]=p+1)}o[i.previousIndex]=u-s}}l!==a&&e(i,l,a)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!Fe(e))throw new Error("Error trying to diff '"+we(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,l=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,r=e[a]),null!==i&&_e(i.trackById,o)?(l&&(i=this._verifyReinsertion(i,r,o,a)),_e(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,a),l=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[ve()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,(function(e){o=t._trackByFn(n,e),null!==i&&_e(i.trackById,o)?(l&&(i=t._verifyReinsertion(i,e,o,n)),_e(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),l=!0),i=i._next,n++})),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(_e(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(_e(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new sr(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new cr),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new cr),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),sr=function(){return function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),ur=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&_e(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),cr=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new ur,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function pr(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var dr=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||He(e)},e.prototype.create=function(){return new fr},e}(),fr=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||He(e)))throw new Error("Error trying to diff '"+we(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new hr(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){_e(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))},e}(),hr=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),gr=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Pe,new Oe]]}},e.prototype.find=function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=se({providedIn:"root",factory:function(){return new e([new ir])}}),e}(),yr=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Pe,new Oe]]}},e.prototype.find=function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.ngInjectableDef=se({providedIn:"root",factory:function(){return new e([new dr])}}),e}(),mr=[new dr],vr=new gr([new ir]),br=new yr(mr),_r=Un(null,"core",[{provide:dn,useValue:"unknown"},{provide:Zn,deps:[Ze]},{provide:Fn,deps:[]},{provide:hn,deps:[]}]),wr=new ce("LocaleId");function Cr(){return vr}function xr(){return br}function Er(e){return e||"en-US"}var Tr=function(){return function(e){}}();function Ir(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function Or(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function kr(e,t){return e.nodes[t]}function Pr(e,t){return e.nodes[t]}function Sr(e,t){return e.nodes[t]}function Dr(e,t){return e.nodes[t]}function Ar(e,t){return e.nodes[t]}var Mr={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Vr(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Nr(n,t),n}(o,e)}function Nr(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Rr(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var jr=function(){},Fr=new Map;function Hr(e){var t=Fr.get(e);return t||(t=we(e)+"_"+Fr.size,Fr.set(e,t)),t}function zr(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Lr=0;function Ur(e,t,n,r){return!(!(2&e.state)&&_e(e.oldValues[t.bindingIndex+n],r))}function Br(e,t,n,r){return!!Ur(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Zr(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Ne(o,r)){var i=t.bindings[n].name;throw Vr(Mr.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function Gr(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function $r(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function qr(e,t,n,r){try{return Gr(33554432&e.def.nodes[t].flags?Pr(e,t).componentView:e),Mr.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function Qr(e){return e.parent?Pr(e.parent,e.parentNodeDef.nodeIndex):null}function Kr(e){return e.parent?e.parentNodeDef.parent:null}function Wr(e,t){switch(201347067&t.flags){case 1:return Pr(e,t.nodeIndex).renderElement;case 2:return kr(e,t.nodeIndex).renderText}}function Jr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Yr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Xr(e){return 1<<e%32}function eo(e){var t={},n=0,r={};return e&&e.forEach((function(e){var o=u(e,2),i=o[0],l=o[1];"number"==typeof i?(t[i]=l,n|=Xr(i)):r[i]=l})),{matchedQueries:t,references:r,matchedQueryIds:n}}function to(e,t){return e.map((function(e){var n,r,o;return Array.isArray(e)?(o=(n=u(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,"__source",{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Hr(r)}}))}function no(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Te.Native?Pr(e,n.renderParent.nodeIndex).renderElement:void 0:t}var ro=new WeakMap;function oo(e){var t=ro.get(e);return t||((t=e((function(){return jr}))).factory=e,ro.set(e,t)),t}function io(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Wr(e,e.def.lastRenderRootNode))),lo(e,t,0,e.def.nodes.length-1,n,r,o)}function lo(e,t,n,r,o,i,l){for(var a=n;a<=r;a++){var s=e.def.nodes[a];11&s.flags&&so(e,s,t,o,i,l),a+=s.childCount}}function ao(e,t,n,r,o,i){for(var l=e;l&&!Jr(l);)l=l.parent;for(var a=l.parent,s=Kr(l),u=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=u;c++){var p=a.def.nodes[c];p.ngContentIndex===t&&so(a,p,n,r,o,i),c+=p.childCount}if(!a.parent){var d=e.root.projectableNodes[t];if(d)for(c=0;c<d.length;c++)uo(e,d[c],n,r,o,i)}}function so(e,t,n,r,o,i){if(8&t.flags)ao(e,t.ngContent.index,n,r,o,i);else{var l=Wr(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&uo(e,l,n,r,o,i),32&t.bindingFlags&&uo(Pr(e,t.nodeIndex).componentView,l,n,r,o,i)):uo(e,l,n,r,o,i),16777216&t.flags)for(var a=Pr(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<a.length;s++)io(a[s],n,r,o,i);1&t.flags&&!t.element.name&&lo(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function uo(e,t,n,r,o,i){var l=e.renderer;switch(n){case 1:l.appendChild(r,t);break;case 2:l.insertBefore(r,t,o);break;case 3:l.removeChild(r,t);break;case 0:i.push(t)}}var co=/^:([^:]+):(.+)$/;function po(e){if(":"===e[0]){var t=e.match(co);return[t[1],t[2]]}return["",e]}function fo(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function ho(e,t,n,r,o,i,l,a,s,u,c,p,d,f,h,g,y,m,v,b){switch(e){case 1:return t+go(n)+r;case 2:return t+go(n)+r+go(o)+i;case 3:return t+go(n)+r+go(o)+i+go(l)+a;case 4:return t+go(n)+r+go(o)+i+go(l)+a+go(s)+u;case 5:return t+go(n)+r+go(o)+i+go(l)+a+go(s)+u+go(c)+p;case 6:return t+go(n)+r+go(o)+i+go(l)+a+go(s)+u+go(c)+p+go(d)+f;case 7:return t+go(n)+r+go(o)+i+go(l)+a+go(s)+u+go(c)+p+go(d)+f+go(h)+g;case 8:return t+go(n)+r+go(o)+i+go(l)+a+go(s)+u+go(c)+p+go(d)+f+go(h)+g+go(y)+m;case 9:return t+go(n)+r+go(o)+i+go(l)+a+go(s)+u+go(c)+p+go(d)+f+go(h)+g+go(y)+m+go(v)+b;default:throw new Error("Does not support more than 9 expressions")}}function go(e){return null!=e?e.toString():""}function yo(e,t,n,r,o,i){e|=1;var l=eo(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l.matchedQueries,matchedQueryIds:l.matchedQueryIds,references:l.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?oo(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||jr},provider:null,text:null,query:null,ngContent:null}}function mo(e,t,n,r,o,i,l,a,s,c,p,d){var f;void 0===l&&(l=[]),c||(c=jr);var h=eo(n),g=h.matchedQueries,y=h.references,m=h.matchedQueryIds,v=null,b=null;i&&(v=(f=u(po(i),2))[0],b=f[1]),a=a||[];for(var _=new Array(a.length),w=0;w<a.length;w++){var C=u(a[w],3),x=C[0],E=C[2],T=u(po(C[1]),2),I=T[0],O=T[1],k=void 0,P=void 0;switch(15&x){case 4:P=E;break;case 1:case 8:k=E}_[w]={flags:x,ns:I,name:O,nonMinifiedName:O,securityContext:k,suffix:P}}s=s||[];var S=new Array(s.length);for(w=0;w<s.length;w++){var D=u(s[w],2);S[w]={type:0,target:D[0],eventName:D[1],propName:null}}var A=(l=l||[]).map((function(e){var t=u(e,2),n=t[1],r=u(po(t[0]),2);return[r[0],r[1],n]}));return d=function(e){if(e&&"$$undefined"===e.id){var t=null!=e.encapsulation&&e.encapsulation!==Te.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Lr++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(d),p&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:g,matchedQueryIds:m,references:y,ngContentIndex:r,childCount:o,bindings:_,bindingFlags:fo(_),outputs:S,element:{ns:v,name:b,attrs:A,template:null,componentProvider:null,componentView:p||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||jr},provider:null,text:null,query:null,ngContent:null}}function vo(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,l=e.renderer;if(e.parent||!i){r=o.name?l.createElement(o.name,o.ns):l.createComment("");var a=no(e,t,n);a&&l.appendChild(a,r)}else r=l.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===Te.ShadowDom);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=u(o.attrs[s],3);l.setAttribute(r,c[1],c[2],c[0])}return r}function bo(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],l=_o(e,n.nodeIndex,(p=i.eventName,(c=i.target)?c+":"+p:p)),a=i.target,s=e;"component"===i.target&&(a=null,s=t);var u=s.renderer.listen(a||r,i.eventName,l);e.disposables[n.outputIndex+o]=u}var c,p}function _o(e,t,n){return function(r){return qr(e,t,n,r)}}function wo(e,t,n,r){if(!Br(e,t,n,r))return!1;var o=t.bindings[n],i=Pr(e,t.nodeIndex),l=i.renderElement,a=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var l=t.securityContext,a=l?e.root.sanitizer.sanitize(l,i):i;a=null!=a?a.toString():null;var s=e.renderer;null!=i?s.setAttribute(n,o,a,r):s.removeAttribute(n,o,r)}(e,o,l,o.ns,a,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,l,a,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(wt.STYLE,o);if(null!=i){i=i.toString();var l=t.suffix;null!=l&&(i+=l)}else i=null;var a=e.renderer;null!=i?a.setStyle(n,r,i):a.removeStyle(n,r)}(e,o,l,a,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,l=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,l)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,l,a,r)}return!0}var Co=new Object,xo=Hr(Ze),Eo=Hr(Ue),To=Hr(dt);function Io(e,t,n,r){return n=Ee(n),{index:-1,deps:to(r,we(t)),flags:e,token:t,value:n}}function Oo(e,t,n){void 0===n&&(n=Ze.THROW_IF_NOT_FOUND);var r,o,i=Ae(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var l=t.tokenKey;switch(l){case xo:case Eo:case To:return e}var a,s=e._def.providersByKey[l];if(s){var u=e._providers[s.index];return void 0===u&&(u=e._providers[s.index]=ko(e,s)),u===Co?void 0:u}if((a=ue(t.token))&&(r=e,null!=(o=a).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(r,o.providedIn)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:t.token},e._providers[c]=Co,e._providers[c]=ko(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ae(i)}}function ko(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Oo(e,n[0]));case 2:return new t(Oo(e,n[0]),Oo(e,n[1]));case 3:return new t(Oo(e,n[0]),Oo(e,n[1]),Oo(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Oo(e,n[i]);return new(t.bind.apply(t,c([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Oo(e,n[0]));case 2:return t(Oo(e,n[0]),Oo(e,n[1]));case 3:return t(Oo(e,n[0]),Oo(e,n[1]),Oo(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Oo(e,n[i]);return t.apply(void 0,c(o))}}(e,t.value,t.deps);break;case 2048:n=Oo(e,t.deps[0]);break;case 256:n=t.value}return n===Co||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Co:n}function Po(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Mo(n,t),Mr.dirtyParentQueries(r),Do(r),r}function So(e,t,n){var r=t?Wr(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);io(n,2,o,i,void 0)}function Do(e){io(e,3,null,null,void 0)}function Ao(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Mo(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Vo=new Object;function No(e,t,n,r,o,i){return new Ro(e,t,n,r,o,i)}var Ro=function(e){function t(t,n,r,o,i,l){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=o,a._outputs=i,a.ngContentSelectors=l,a.viewDefFactory=r,a}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=oo(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,l=Mr.createRootView(e,t||[],n,o,r,Vo),a=Sr(l,i).instance;return n&&l.renderer.setAttribute(Pr(l,0).renderElement,"ng-version",xt.full),new jo(l,new Lo(l),a)},t}(it),jo=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new ht(Pr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Go(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(ot);function Fo(e,t,n){return new Ho(e,t,n)}var Ho=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new ht(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Go(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Kr(e),e=e.parent;return e?new Go(e,t):new Go(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Po(this._data,e);Mr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Lo(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof pt||(o=i.get(dt));var l=e.create(i,r,void 0,o);return this.insert(l.hostView,t),l},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,l=e;return i=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=i.length),(o=l._view).viewContainerParent=this._view,Ao(i,r,o),function(e,t){var n=Qr(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(n,o),Mr.dirtyParentQueries(o),So(n,r>0?i[r-1]:null,o),l.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,l,a=this._embeddedViews.indexOf(e._view);return o=t,l=(i=(n=this._data).viewContainer._embeddedViews)[r=a],Mo(i,r),null==o&&(o=i.length),Ao(i,o,l),Mr.dirtyParentQueries(l),Do(l),So(n,o>0?i[o-1]:null,l),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Po(this._data,e);t&&Mr.destroyView(t)},e.prototype.detach=function(e){var t=Po(this._data,e);return t?new Lo(t):null},e}();function zo(e){return new Lo(e)}var Lo=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return io(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Gr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Mr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Mr.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Mr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Do(this._view),Mr.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Uo(e,t){return new Bo(e,t)}var Bo=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new Lo(Mr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new ht(Pr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Kt);function Zo(e,t){return new Go(e,t)}var Go=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Ze.THROW_IF_NOT_FOUND),Mr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Hr(e)},t)},e}();function $o(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Pr(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return kr(e,n.nodeIndex).renderText;if(20240&n.flags)return Sr(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function qo(e){return new Qo(e.renderer)}var Qo=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=u(po(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=u(po(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function Ko(e,t,n,r){return new Wo(e,t,n,r)}var Wo=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=ko(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=Ze.THROW_IF_NOT_FOUND),void 0===n&&(n=Se.Default);var r=0;return n&Se.SkipSelf?r|=1:n&Se.Self&&(r|=4),Oo(this,{token:e,tokenKey:Hr(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(ut)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+we(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==Co){var l=i.ngOnDestroy;"function"!=typeof l||r.has(i)||(l.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach((function(e){return e()}))},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Jo=Hr(yt),Yo=Hr(bt),Xo=Hr(ht),ei=Hr(Kn),ti=Hr(Kt),ni=Hr(Jn),ri=Hr(Ze),oi=Hr(Ue);function ii(e,t,n,r,o,i,l,a){var s=[];if(l)for(var c in l){var p=u(l[c],2);s[p[0]]={flags:8,name:c,nonMinifiedName:p[1],ns:null,securityContext:null,suffix:null}}var d=[];if(a)for(var f in a)d.push({type:1,propName:f,target:null,eventName:a[f]});return ai(e,t|=16384,n,r,o,o,i,s,d)}function li(e,t,n,r,o){return ai(-1,e,t,0,n,r,o)}function ai(e,t,n,r,o,i,l,a,s){var u=eo(n),c=u.matchedQueries,p=u.references,d=u.matchedQueryIds;s||(s=[]),a||(a=[]),i=Ee(i);var f=to(l,we(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:fo(a),outputs:s,element:null,provider:{token:o,value:i,deps:f},text:null,query:null,ngContent:null}}function si(e,t){return di(e,t)}function ui(e,t){for(var n=e;n.parent&&!Jr(n);)n=n.parent;return fi(n.parent,Kr(n),!0,t.provider.value,t.provider.deps)}function ci(e,t){var n=fi(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName];if(!on(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var l=i.subscribe(pi(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=l.unsubscribe.bind(l)}return n}function pi(e,t,n){return function(r){return qr(e,t,n,r)}}function di(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return fi(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(gi(e,t,n,o[0]));case 2:return r(gi(e,t,n,o[0]),gi(e,t,n,o[1]));case 3:return r(gi(e,t,n,o[0]),gi(e,t,n,o[1]),gi(e,t,n,o[2]));default:for(var l=Array(i),a=0;a<i;a++)l[a]=gi(e,t,n,o[a]);return r.apply(void 0,c(l))}}(e,t.parent,n,r.value,r.deps);case 2048:return gi(e,t.parent,n,r.deps[0]);case 256:return r.value}}function fi(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(gi(e,t,n,o[0]));case 2:return new r(gi(e,t,n,o[0]),gi(e,t,n,o[1]));case 3:return new r(gi(e,t,n,o[0]),gi(e,t,n,o[1]),gi(e,t,n,o[2]));default:for(var l=new Array(i),a=0;a<i;a++)l[a]=gi(e,t,n,o[a]);return new(r.bind.apply(r,c([void 0],l)))}}var hi={};function gi(e,t,n,r,o){if(void 0===o&&(o=Ze.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var l=r.tokenKey;l===ni&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var a=e;a;){if(t)switch(l){case Jo:return qo(yi(a,t,n));case Yo:return yi(a,t,n).renderer;case Xo:return new ht(Pr(a,t.nodeIndex).renderElement);case ei:return Pr(a,t.nodeIndex).viewContainer;case ti:if(t.element.template)return Pr(a,t.nodeIndex).template;break;case ni:return zo(yi(a,t,n));case ri:case oi:return Zo(a,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[l];if(s){var u=Sr(a,s.nodeIndex);return u||(u={instance:di(a,s)},a.nodes[s.nodeIndex]=u),u.instance}}n=Jr(a),t=Kr(a),a=a.parent,4&r.flags&&(a=null)}var c=i.root.injector.get(r.token,hi);return c!==hi||o===hi?c:i.root.ngModule.injector.get(r.token,o)}function yi(e,t,n){var r;if(n)r=Pr(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Jr(r);)r=r.parent;return r}function mi(e,t,n,r,o,i){if(32768&n.flags){var l=Pr(e,n.parent.nodeIndex).componentView;2&l.def.flags&&(l.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var a=Re.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new je(a,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function vi(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],l=i.parent;for(!l&&i.flags&t&&_i(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);l&&1&l.flags&&o===l.nodeIndex+l.childCount;)l.directChildFlags&t&&(r=bi(e,l,t,r)),l=l.parent}}function bi(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&_i(e,o,i.flags&n,r++),o+=i.childCount}return r}function _i(e,t,n,r){var o=Sr(e,t);if(o){var i=o.instance;i&&(Mr.setCurrentNode(e,t),1048576&n&&Or(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Or(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function wi(e,t,n){var r=[];for(var o in n)r.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Xr(t),bindings:r},ngContent:null}}function Ci(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Yr(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Ar(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&Ar(e,o).setDirty(),o+=i.childCount}}function xi(e,t){var n=Ar(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=Ei(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=Sr(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Ei(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var l=t.query.bindings,a=!1,s=0;s<l.length;s++){var u=l[s],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[u.propName]=c}a&&n.notifyOnChanges()}}function Ei(e,t,n,r,o){for(var i=t;i<=n;i++){var l=e.def.nodes[i],a=l.matchedQueries[r.id];if(null!=a&&o.push(Ti(e,l,a)),1&l.flags&&l.element.template&&(l.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Pr(e,i);if((l.childMatchedQueries&r.filterId)===r.filterId&&(Ei(e,i+1,i+l.childCount,r,o),i+=l.childCount),16777216&l.flags)for(var u=s.viewContainer._embeddedViews,c=0;c<u.length;c++){var p=u[c],d=Qr(p);d&&d===s&&Ei(p,0,p.def.nodes.length-1,r,o)}var f=s.template._projectedViews;if(f)for(c=0;c<f.length;c++){var h=f[c];Ei(h,0,h.def.nodes.length-1,r,o)}}(l.childMatchedQueries&r.filterId)!==r.filterId&&(i+=l.childCount)}return o}function Ti(e,t,n){if(null!=n)switch(n){case 1:return Pr(e,t.nodeIndex).renderElement;case 0:return new ht(Pr(e,t.nodeIndex).renderElement);case 2:return Pr(e,t.nodeIndex).template;case 3:return Pr(e,t.nodeIndex).viewContainer;case 4:return Sr(e,t.nodeIndex).instance}}function Ii(e,t,n){var r=no(e,t,n);r&&ao(e,n.ngContent.index,1,r,null,void 0)}function Oi(e,t){for(var n=Object.keys(t),r=n.length,o=new Array(r),i=0;i<r;i++){var l=n[i];o[t[l]]=l}return function(e,t,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:64,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:fo(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}(0,e,o)}function ki(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Pi(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=no(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Si(e,t){return(null!=e?e.toString():"")+t.suffix}function Di(e,t,n,r){for(var o=0,i=0,l=0,a=0,s=0,u=null,c=null,p=!1,d=!1,f=null,h=0;h<t.length;h++){var g=t[h];if(g.nodeIndex=h,g.parent=u,g.bindingIndex=o,g.outputIndex=i,g.renderParent=c,l|=g.flags,s|=g.matchedQueryIds,g.element){var y=g.element;y.publicProviders=u?u.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,p=!1,d=!1,g.element.template&&(s|=g.element.template.nodeMatchedQueries)}if(Mi(u,g,t.length),o+=g.bindings.length,i+=g.outputs.length,!c&&3&g.flags&&(f=g),20224&g.flags){p||(p=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var m=0!=(32768&g.flags);0==(8192&g.flags)||m?u.element.publicProviders[Hr(g.provider.token)]=g:(d||(d=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[Hr(g.provider.token)]=g),m&&(u.element.componentProvider=g)}if(u?(u.childFlags|=g.flags,u.directChildFlags|=g.flags,u.childMatchedQueries|=g.matchedQueryIds,g.element&&g.element.template&&(u.childMatchedQueries|=g.element.template.nodeMatchedQueries)):a|=g.flags,g.childCount>0)u=g,Ai(g)||(c=g);else for(;u&&h===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&Ai(u)?u.renderParent:u}}return{factory:null,nodeFlags:l,rootNodeFlags:a,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||jr,updateRenderer:r||jr,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function Ai(e){return 0!=(1&e.flags)&&null===e.element.name}function Mi(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Vi(e,t,n,r){var o=ji(e.root,e.renderer,e,t,n);return Fi(o,e.component,r),Hi(o),o}function Ni(e,t,n){var r=ji(e,e.renderer,null,null,t);return Fi(r,n,n),Hi(r),r}function Ri(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,ji(e.root,o,e,t.element.componentProvider,n)}function ji(e,t,n,r,o){var i=new Array(o.nodes.length),l=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:l,initIndex:-1}}function Fi(e,t,n){e.component=t,e.context=n}function Hi(e){var t;Jr(e)&&(t=Pr(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Mr.setCurrentNode(e,o);var l=void 0;switch(201347067&i.flags){case 1:var a=vo(e,t,i),s=void 0;if(33554432&i.flags){var u=oo(i.element.componentView);s=Mr.createComponentView(e,i,u,a)}bo(e,s,i,a),l={renderElement:a,componentView:s,viewContainer:null,template:i.element.template?Uo(e,i):void 0},16777216&i.flags&&(l.viewContainer=Fo(e,i,l));break;case 2:l=Pi(e,t,i);break;case 512:case 1024:case 2048:case 256:(l=r[o])||4096&i.flags||(l={instance:si(e,i)});break;case 16:l={instance:ui(e,i)};break;case 16384:(l=r[o])||(l={instance:ci(e,i)}),32768&i.flags&&Fi(Pr(e,i.parent.nodeIndex).componentView,l.instance,l.instance);break;case 32:case 64:case 128:l={value:void 0};break;case 67108864:case 134217728:l=new Qn;break;case 8:Ii(e,t,i),l=void 0}r[o]=l}Qi(e,qi.CreateViewNodes),Yi(e,201326592,268435456,0)}function zi(e){Bi(e),Mr.updateDirectives(e,1),Ki(e,qi.CheckNoChanges),Mr.updateRenderer(e,1),Qi(e,qi.CheckNoChanges),e.state&=-97}function Li(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Ir(e,0,256),Bi(e),Mr.updateDirectives(e,0),Ki(e,qi.CheckAndUpdate),Yi(e,67108864,536870912,0);var t=Ir(e,256,512);vi(e,2097152|(t?1048576:0)),Mr.updateRenderer(e,0),Qi(e,qi.CheckAndUpdate),Yi(e,134217728,536870912,0),vi(e,8388608|((t=Ir(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Ir(e,768,1024)}function Ui(e,t,n,r,o,i,l,a,s,u,p,d,f){return 0===n?function(e,t,n,r,o,i,l,a,s,u,c,p){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,l,a,s,u,c,p){var d=t.bindings.length,f=!1;return d>0&&wo(e,t,0,n)&&(f=!0),d>1&&wo(e,t,1,r)&&(f=!0),d>2&&wo(e,t,2,o)&&(f=!0),d>3&&wo(e,t,3,i)&&(f=!0),d>4&&wo(e,t,4,l)&&(f=!0),d>5&&wo(e,t,5,a)&&(f=!0),d>6&&wo(e,t,6,s)&&(f=!0),d>7&&wo(e,t,7,u)&&(f=!0),d>8&&wo(e,t,8,c)&&(f=!0),d>9&&wo(e,t,9,p)&&(f=!0),f}(e,t,n,r,o,i,l,a,s,u,c,p);case 2:return function(e,t,n,r,o,i,l,a,s,u,c,p){var d=!1,f=t.bindings,h=f.length;if(h>0&&Br(e,t,0,n)&&(d=!0),h>1&&Br(e,t,1,r)&&(d=!0),h>2&&Br(e,t,2,o)&&(d=!0),h>3&&Br(e,t,3,i)&&(d=!0),h>4&&Br(e,t,4,l)&&(d=!0),h>5&&Br(e,t,5,a)&&(d=!0),h>6&&Br(e,t,6,s)&&(d=!0),h>7&&Br(e,t,7,u)&&(d=!0),h>8&&Br(e,t,8,c)&&(d=!0),h>9&&Br(e,t,9,p)&&(d=!0),d){var g=t.text.prefix;h>0&&(g+=Si(n,f[0])),h>1&&(g+=Si(r,f[1])),h>2&&(g+=Si(o,f[2])),h>3&&(g+=Si(i,f[3])),h>4&&(g+=Si(l,f[4])),h>5&&(g+=Si(a,f[5])),h>6&&(g+=Si(s,f[6])),h>7&&(g+=Si(u,f[7])),h>8&&(g+=Si(c,f[8])),h>9&&(g+=Si(p,f[9]));var y=kr(e,t.nodeIndex).renderText;e.renderer.setValue(y,g)}return d}(e,t,n,r,o,i,l,a,s,u,c,p);case 16384:return function(e,t,n,r,o,i,l,a,s,u,c,p){var d=Sr(e,t.nodeIndex),f=d.instance,h=!1,g=void 0,y=t.bindings.length;return y>0&&Ur(e,t,0,n)&&(h=!0,g=mi(e,d,t,0,n,g)),y>1&&Ur(e,t,1,r)&&(h=!0,g=mi(e,d,t,1,r,g)),y>2&&Ur(e,t,2,o)&&(h=!0,g=mi(e,d,t,2,o,g)),y>3&&Ur(e,t,3,i)&&(h=!0,g=mi(e,d,t,3,i,g)),y>4&&Ur(e,t,4,l)&&(h=!0,g=mi(e,d,t,4,l,g)),y>5&&Ur(e,t,5,a)&&(h=!0,g=mi(e,d,t,5,a,g)),y>6&&Ur(e,t,6,s)&&(h=!0,g=mi(e,d,t,6,s,g)),y>7&&Ur(e,t,7,u)&&(h=!0,g=mi(e,d,t,7,u,g)),y>8&&Ur(e,t,8,c)&&(h=!0,g=mi(e,d,t,8,c,g)),y>9&&Ur(e,t,9,p)&&(h=!0,g=mi(e,d,t,9,p,g)),g&&f.ngOnChanges(g),65536&t.flags&&Or(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),h}(e,t,n,r,o,i,l,a,s,u,c,p);case 32:case 64:case 128:return function(e,t,n,r,o,i,l,a,s,u,c,p){var d=t.bindings,f=!1,h=d.length;if(h>0&&Br(e,t,0,n)&&(f=!0),h>1&&Br(e,t,1,r)&&(f=!0),h>2&&Br(e,t,2,o)&&(f=!0),h>3&&Br(e,t,3,i)&&(f=!0),h>4&&Br(e,t,4,l)&&(f=!0),h>5&&Br(e,t,5,a)&&(f=!0),h>6&&Br(e,t,6,s)&&(f=!0),h>7&&Br(e,t,7,u)&&(f=!0),h>8&&Br(e,t,8,c)&&(f=!0),h>9&&Br(e,t,9,p)&&(f=!0),f){var g=Dr(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(d.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=l),h>5&&(y[5]=a),h>6&&(y[6]=s),h>7&&(y[7]=u),h>8&&(y[8]=c),h>9&&(y[9]=p);break;case 64:y={},h>0&&(y[d[0].name]=n),h>1&&(y[d[1].name]=r),h>2&&(y[d[2].name]=o),h>3&&(y[d[3].name]=i),h>4&&(y[d[4].name]=l),h>5&&(y[d[5].name]=a),h>6&&(y[d[6].name]=s),h>7&&(y[d[7].name]=u),h>8&&(y[d[8].name]=c),h>9&&(y[d[9].name]=p);break;case 128:var m=n;switch(h){case 1:y=m.transform(n);break;case 2:y=m.transform(r);break;case 3:y=m.transform(r,o);break;case 4:y=m.transform(r,o,i);break;case 5:y=m.transform(r,o,i,l);break;case 6:y=m.transform(r,o,i,l,a);break;case 7:y=m.transform(r,o,i,l,a,s);break;case 8:y=m.transform(r,o,i,l,a,s,u);break;case 9:y=m.transform(r,o,i,l,a,s,u,c);break;case 10:y=m.transform(r,o,i,l,a,s,u,c,p)}}g.value=y}return f}(e,t,n,r,o,i,l,a,s,u,c,p);default:throw"unreachable"}}(e,t,r,o,i,l,a,s,u,p,d,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)wo(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Br(e,t,i,n[i])&&(o=!0);if(o){var l="";for(i=0;i<n.length;i++)l+=Si(n[i],r[i]);l=t.text.prefix+l;var a=kr(e,t.nodeIndex).renderText;e.renderer.setValue(a,l)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=Sr(e,t.nodeIndex),o=r.instance,i=!1,l=void 0,a=0;a<n.length;a++)Ur(e,t,a,n[a])&&(i=!0,l=mi(e,r,t,a,n[a],l));return l&&o.ngOnChanges(l),65536&t.flags&&Or(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Br(e,t,i,n[i])&&(o=!0);if(o){var l=Dr(e,t.nodeIndex),a=void 0;switch(201347067&t.flags){case 32:a=n;break;case 64:for(a={},i=0;i<n.length;i++)a[r[i].name]=n[i];break;case 128:var s=n[0],u=n.slice(1);a=s.transform.apply(s,c(u))}l.value=a}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Bi(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=Pr(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var l=o[i];l.state|=32,$r(l,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Zi(e,t,n,r,o,i,l,a,s,u,c,p,d){return 0===n?function(e,t,n,r,o,i,l,a,s,u,c,p){var d=t.bindings.length;d>0&&Zr(e,t,0,n),d>1&&Zr(e,t,1,r),d>2&&Zr(e,t,2,o),d>3&&Zr(e,t,3,i),d>4&&Zr(e,t,4,l),d>5&&Zr(e,t,5,a),d>6&&Zr(e,t,6,s),d>7&&Zr(e,t,7,u),d>8&&Zr(e,t,8,c),d>9&&Zr(e,t,9,p)}(e,t,r,o,i,l,a,s,u,c,p,d):function(e,t,n){for(var r=0;r<n.length;r++)Zr(e,t,r,n[r])}(e,t,r),!1}function Gi(e,t){if(Ar(e,t.nodeIndex).dirty)throw Vr(Mr.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function $i(e){if(!(128&e.state)){if(Ki(e,qi.Destroy),Qi(e,qi.Destroy),vi(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Qr(e);if(t){var n=t.template._projectedViews;n&&(Mo(n,n.indexOf(e)),Mr.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Pr(e,n).renderElement):2&r.flags?e.renderer.destroyNode(kr(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Ar(e,n).destroy()}}(e),Jr(e)&&e.renderer.destroy(),e.state|=128}}var qi=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Qi(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?Wi(Pr(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Ki(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Pr(e,r).viewContainer._embeddedViews,l=0;l<i.length;l++)Wi(i[l],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Wi(e,t){var n=e.state;switch(t){case qi.CheckNoChanges:0==(128&n)&&(12==(12&n)?zi(e):64&n&&Ji(e,qi.CheckNoChangesProjectedViews));break;case qi.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?zi(e):64&n&&Ji(e,t));break;case qi.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Li(e):64&n&&Ji(e,qi.CheckAndUpdateProjectedViews));break;case qi.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Li(e):64&n&&Ji(e,t));break;case qi.Destroy:$i(e);break;case qi.CreateViewNodes:Hi(e)}}function Ji(e,t){Ki(e,t),Qi(e,t)}function Yi(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var l=e.def.nodes[i];if(l.flags&t&&l.flags&n)switch(Mr.setCurrentNode(e,l.nodeIndex),r){case 0:xi(e,l);break;case 1:Gi(e,l)}l.childFlags&t&&l.childFlags&n||(i+=l.childCount)}}var Xi=!1;function el(e,t,n,r,o,i){var l=o.injector.get(mt);return Ni(nl(e,o,l,t,n),r,i)}function tl(e,t,n,r,o,i){var l=o.injector.get(mt),a=nl(e,o,new Nl(l),t,n),s=dl(r);return Ml(wl.create,Ni,null,[a,s,i])}function nl(e,t,n,r,o){var i=t.injector.get(Ct),l=t.injector.get(nn),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:l}}function rl(e,t,n,r){var o=dl(n);return Ml(wl.create,Vi,null,[e,t,o,r])}function ol(e,t,n,r){return n=sl.get(t.element.componentProvider.provider.token)||dl(n),Ml(wl.create,Ri,null,[e,t,n,r])}function il(e,t,n,r){return Ko(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===ll.size||(e.providers.forEach((function(e){var r=ll.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)})),e.modules.forEach((function(e){al.forEach((function(r,o){ue(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)}))}))),{hasOverrides:t,hasDeprecatedOverrides:n}}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=ll.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=to(o.deps),r.value=o.value)}if(al.size>0){var i=new Set(e.modules);al.forEach((function(t,r){if(i.has(ue(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:to(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Hr(r)]=o}}))}}(e=e.factory((function(){return jr}))),e):e}(r))}var ll=new Map,al=new Map,sl=new Map;function ul(e){var t;ll.set(e.token,e),"function"==typeof e.token&&(t=ue(e.token))&&"function"==typeof t.providedIn&&al.set(e.token,e)}function cl(e,t){var n=oo(t.viewDefFactory),r=oo(n.nodes[0].element.componentView);sl.set(e,r)}function pl(){ll.clear(),al.clear(),sl.clear()}function dl(e){if(0===ll.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&ll.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory((function(){return jr}));for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=ll.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=to(i.deps),o.value=i.value)}}}}function fl(e,t,n,r,o,i,l,a,s,u,c,p,d){var f=e.def.nodes[t];return Ui(e,f,n,r,o,i,l,a,s,u,c,p,d),224&f.flags?Dr(e,t).value:void 0}function hl(e,t,n,r,o,i,l,a,s,u,c,p,d){var f=e.def.nodes[t];return Zi(e,f,n,r,o,i,l,a,s,u,c,p,d),224&f.flags?Dr(e,t).value:void 0}function gl(e){return Ml(wl.detectChanges,Li,null,[e])}function yl(e){return Ml(wl.checkNoChanges,zi,null,[e])}function ml(e){return Ml(wl.destroy,$i,null,[e])}var vl,bl,_l,wl=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function Cl(e,t){bl=e,_l=t}function xl(e,t,n,r){return Cl(e,t),Ml(wl.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function El(e,t){if(128&e.state)throw Rr(wl[vl]);return Cl(e,kl(e,0)),e.def.updateDirectives((function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var l=e.def.nodes[n];return 0===t?Il(e,l,r,o):Ol(e,l,r,o),16384&l.flags&&Cl(e,kl(e,n)),224&l.flags?Dr(e,l.nodeIndex).value:void 0}),e)}function Tl(e,t){if(128&e.state)throw Rr(wl[vl]);return Cl(e,Pl(e,0)),e.def.updateRenderer((function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var l=e.def.nodes[n];return 0===t?Il(e,l,r,o):Ol(e,l,r,o),3&l.flags&&Cl(e,Pl(e,n)),224&l.flags?Dr(e,l.nodeIndex).value:void 0}),e)}function Il(e,t,n,r){if(Ui.apply(void 0,c([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},l=0;l<t.bindings.length;l++){var a=t.bindings[l],s=o[l];8&a.flags&&(i[(f=a.nonMinifiedName,"ng-reflect-"+f.replace(/[$@]/g,"_").replace(Me,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=Ve(s))}var u=t.parent,p=Pr(e,u.nodeIndex).renderElement;if(u.element.name)for(var d in i)null!=(s=i[d])?e.renderer.setAttribute(p,d,s):e.renderer.removeAttribute(p,d);else e.renderer.setValue(p,"bindings="+JSON.stringify(i,null,2))}}var f}function Ol(e,t,n,r){Zi.apply(void 0,c([e,t,n],r))}function kl(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Pl(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Sl=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Kr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Pr(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Zo(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Al(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Al(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!Jr(e);)e=e.parent;return e.parent?Pr(e.parent,Kr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Wr(this.view,this.nodeDef):Wr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=Dl(t,n),l=-1,a=function(){var t;return++l===i?(t=e.error).bind.apply(t,c([e],r)):jr};t.factory(a),l<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,c(r)))},e}();function Dl(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}function Al(e,t,n){for(var r in t.references)n[r]=Ti(e,t,t.references[r])}function Ml(e,t,n,r){var o=vl,i=bl,l=_l;try{vl=e;var a=t.apply(n,r);return bl=i,_l=l,vl=o,a}catch(s){if(Xt(s)||!bl)throw s;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Nr(e,t),e}(s,Vl())}}function Vl(){return bl?new Sl(bl,_l):null}var Nl=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Rl(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Rl=function(){function e(e){this.delegate=e,this.debugContextFactory=Vl,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){nr.delete(e.nativeNode)}(rr(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var o=new tr(n,null,r);o.name=e,or(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&or(new er(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&or(new er(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=rr(e),r=rr(t);n&&r&&n instanceof tr&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=rr(e),o=rr(t),i=rr(n);r&&o&&r instanceof tr&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=rr(e),r=rr(t);n&&r&&n instanceof tr&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=Vl();return r&&or(new tr(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=rr(e);o&&o instanceof tr&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=rr(e);r&&r instanceof tr&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=rr(e);n&&n instanceof tr&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=rr(e);n&&n instanceof tr&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=rr(e);o&&o instanceof tr&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=rr(e);r&&r instanceof tr&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=rr(e);r&&r instanceof tr&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=rr(e);r&&r.listeners.push(new Xn(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function jl(e,t,n){return new Fl(e,t,n)}var Fl=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){!function(){if(!Xi){Xi=!0;var e=It()?{setCurrentNode:Cl,createRootView:tl,createEmbeddedView:rl,createComponentView:ol,createNgModuleRef:il,overrideProvider:ul,overrideComponentView:cl,clearOverrides:pl,checkAndUpdateView:gl,checkNoChangesView:yl,destroyView:ml,createDebugContext:function(e,t){return new Sl(e,t)},handleEvent:xl,updateDirectives:El,updateRenderer:Tl}:{setCurrentNode:function(){},createRootView:el,createEmbeddedView:Vi,createComponentView:Ri,createNgModuleRef:Ko,overrideProvider:jr,overrideComponentView:jr,clearOverrides:jr,checkAndUpdateView:Li,checkNoChangesView:zi,destroyView:$i,createDebugContext:function(e,t){return new Sl(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?fl:hl,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?fl:hl,e)}};Mr.setCurrentNode=e.setCurrentNode,Mr.createRootView=e.createRootView,Mr.createEmbeddedView=e.createEmbeddedView,Mr.createComponentView=e.createComponentView,Mr.createNgModuleRef=e.createNgModuleRef,Mr.overrideProvider=e.overrideProvider,Mr.overrideComponentView=e.overrideComponentView,Mr.clearOverrides=e.clearOverrides,Mr.checkAndUpdateView=e.checkAndUpdateView,Mr.checkNoChangesView=e.checkNoChangesView,Mr.destroyView=e.destroyView,Mr.resolveDep=gi,Mr.createDebugContext=e.createDebugContext,Mr.handleEvent=e.handleEvent,Mr.updateDirectives=e.updateDirectives,Mr.updateRenderer=e.updateRenderer,Mr.dirtyParentQueries=Ci}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(oo(this._ngModuleDefFactory));return Mr.createNgModuleRef(this.moduleType,e||Ze.NULL,this._bootstrapComponents,t)},t}(ft),Hl=function(){function e(){this.minimizedChanged=new Qt,this.isAgentTyping=new Qt,this.newMessage=new Qt,this.afterViewChecked=new Qt}return e.prototype.ngAfterViewChecked=function(){this.afterViewChecked.emit()},e.prototype.onMinimizedChanged=function(){this.minimizedChanged.emit()},e}(),zl=Element.prototype,Ll=zl.matches||zl.matchesSelector||zl.mozMatchesSelector||zl.msMatchesSelector||zl.oMatchesSelector||zl.webkitMatchesSelector,Ul={schedule:function(e,t){var n=setTimeout(e,t);return function(){return clearTimeout(n)}},scheduleBeforeRender:function(e){if("undefined"==typeof window)return Ul.schedule(e,0);if(void 0===window.requestAnimationFrame)return Ul.schedule(e,16);var t=window.requestAnimationFrame(e);return function(){return window.cancelAnimationFrame(t)}}};function Bl(e,t,n){var r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((function(t,n){return!("*"===t||!function(e,t){return Ll.call(e,t)}(e,t)||(r=n,0))})),r}var Zl=function(){function e(e,t){this.component=e,this.injector=t,this.componentFactory=t.get(ut).resolveComponentFactory(e)}return e.prototype.create=function(e){return new Gl(this.componentFactory,e)},e}(),Gl=function(){function e(e,t){this.componentFactory=e,this.injector=t,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.uninitializedInputs=new Set}return e.prototype.connect=function(e){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);this.componentRef||this.initializeComponent(e)},e.prototype.disconnect=function(){var e=this;this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=Ul.schedule((function(){e.componentRef&&(e.componentRef.destroy(),e.componentRef=null)}),10))},e.prototype.getInputValue=function(e){return this.componentRef?this.componentRef.instance[e]:this.initialInputValues.get(e)},e.prototype.setInputValue=function(e,t){var n,r;(n=t)===(r=this.getInputValue(e))||n!=n&&r!=r||(this.componentRef?(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t))},e.prototype.initializeComponent=function(e){var t=Ze.create({providers:[],parent:this.injector}),n=function(e,t){var n=e.childNodes,r=t.map((function(){return[]})),o=-1;t.some((function(e,t){return"*"===e&&(o=t,!0)}));for(var i=0,l=n.length;i<l;++i){var a=n[i],s=Bl(a,t,o);-1!==s&&r[s].push(a)}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.detectChanges(),this.injector.get($n).attachView(this.componentRef.hostView)},e.prototype.initializeInputs=function(){var e=this;this.componentFactory.inputs.forEach((function(t){var n=t.propName,r=e.initialInputValues.get(n);r?e.setInputValue(n,r):e.uninitializedInputs.add(n)})),this.initialInputValues.clear()},e.prototype.initializeOutputs=function(){var e=this,t=this.componentFactory.outputs.map((function(t){var n=t.templateName;return e.componentRef.instance[t.propName].pipe(N((function(e){return{name:n,value:e}})))}));this.events=Y.apply(void 0,c(t))},e.prototype.callNgOnChanges=function(){if(this.implementsOnChanges&&null!==this.inputChanges){var e=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(e)}},e.prototype.scheduleDetectChanges=function(){var e=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Ul.scheduleBeforeRender((function(){e.scheduledChangeDetectionFn=null,e.detectChanges()})))},e.prototype.recordInputChange=function(e,t){if(!this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var n=this.inputChanges[e];if(n)n.currentValue=t;else{var r=this.uninitializedInputs.has(e);this.uninitializedInputs.delete(e);var o=r?void 0:this.getInputValue(e);this.inputChanges[e]=new je(o,t,r)}}},e.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},e}(),$l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ngElementEventsSubscription=null,t}return o(t,e),t}(HTMLElement);function ql(e,t){var n=function(e,t){return t.get(ut).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Zl(e,t.injector),i=function(e){var t={};return e.forEach((function(e){var n,r=e.propName;t[(n=e.templateName,n.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})))]=r})),t}(n),l=function(e){function n(n){var o=e.call(this)||this;return o.ngElementStrategy=r.create(n||t.injector),o}return o(n,e),n.prototype.attributeChangedCallback=function(e,n,o,l){this.ngElementStrategy||(this.ngElementStrategy=r.create(t.injector)),this.ngElementStrategy.setInputValue(i[e],o)},n.prototype.connectedCallback=function(){var e=this;this.ngElementStrategy||(this.ngElementStrategy=r.create(t.injector)),this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe((function(t){var n=function(e,t,n){if("function"!=typeof CustomEvent){var r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(e.ownerDocument,t.name,t.value);e.dispatchEvent(n)}))},n.prototype.disconnectedCallback=function(){this.ngElementStrategy&&this.ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)},n.observedAttributes=Object.keys(i),n}($l);return n.map((function(e){return e.propName})).forEach((function(e){Object.defineProperty(l.prototype,e,{get:function(){return this.ngElementStrategy.getInputValue(e)},set:function(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})})),l}var Ql,Kl=function(){function e(e,t){this.strategy=e,this.injector=t,this.ngZone=this.injector.get(Pn)}return e.prototype.connect=function(e){var t=this;this.runInZone((function(){t.strategy.connect(e)})),this.events=this.strategy.events},e.prototype.disconnect=function(){var e=this;this.runInZone((function(){e.strategy.disconnect()}))},e.prototype.getInputValue=function(e){var t=this;return this.runInZone((function(){return t.strategy.getInputValue(e)}))},e.prototype.setInputValue=function(e,t){var n=this;this.runInZone((function(){n.strategy.setInputValue(e,t)}))},e.prototype.runInZone=function(e){return this.ngZone.run(e)},e}(),Wl=function(){function e(e,t){this.component=e,this.injector=t,this.ngElement=ql(this.component,{injector:this.injector}),customElements.define(this.generateName(),this.ngElement)}return e.prototype.string4=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},e.prototype.generateName=function(){var t="dummy-name-n";return t=t+(e.counter+"-")+this.string4()+this.string4()+this.string4()+"-"+this.string4()+this.string4()+"-"+this.string4(),e.counter++,t},e.prototype.create=function(e){var t=new this.ngElement(this.injector),n=t.ngElementStrategy;return t=null,new Kl(n,this.injector)},e.counter=1,e}(),Jl=function(){function e(){this.dispositionEmitter=new Qt,this.selectedDispositionValue="",this.dispositionName=""}return e.prototype.ngOnInit=function(){for(var e=0,t=this.disposition.dispositionMetadata;e<t.length;e++){var n=t[e];if("callId"===n.key){this.dispositionName="disposition_"+n.value;break}}this.disposition.checkedDisposition&&(this.selectedDispositionValue=this.disposition.checkedDisposition)},e.prototype.submitDisposition=function(){var e={dispositionId:this.selectedDispositionValue,dispositionName:this.disposition.disposition.get(this.selectedDispositionValue),dispositionMetadata:this.disposition.dispositionMetadata};this.dispositionEmitter.emit(e)},e.prototype.selectAndSubmitDisposition=function(e,t){"Enter"===e.code&&(this.selectedDispositionValue=t,this.submitDisposition())},e}(),Yl=function(){function e(){this.loginDetailsProvided=new Qt}return e.prototype.ngOnInit=function(){this.loginData.header||(this.loginData.header="Login");for(var e=0,t=this.loginData.fields;e<t.length;e++){var n=t[e];n.isInvalid||(n.isInvalid=!1)}},e.prototype.onLogin=function(e){for(var t=0,n=this.loginData.fields;t<n.length;t++){var r=n[t];r.value=e.value[r.name]}this.loginDetailsProvided.emit(this.loginData)},e.prototype.focusOutOfInput=function(e,t){e.controls[t.name].valid||(t.isInvalid=!0)},e}();!function(e){e.AGENT="AGENT",e.OTHER_PERSON="OTHER_PERSON",e.INFORMATION="INFORMATION"}(Ql||(Ql={}));var Xl=function(e){return e[e.STRING=0]="STRING",e[e.COUNTER=1]="COUNTER",e}({}),ea=function(){function e(e){this.injector=e}return e.prototype.ngDoBootstrap=function(e){if(!customElements.get("amc-webcomponents-scenario")){var t=new Wl(Hl,this.injector);customElements.define("amc-webcomponents-scenario",ql(Hl,{injector:this.injector,strategyFactory:t}))}customElements.get("amc-webcomponents-disposition")||(t=new Wl(Jl,this.injector),customElements.define("amc-webcomponents-disposition",ql(Jl,{injector:this.injector,strategyFactory:t}))),customElements.get("amc-webcomponents-login")||(t=new Wl(Yl,this.injector),customElements.define("amc-webcomponents-disposition",ql(Yl,{injector:this.injector,strategyFactory:t})))},e}(),ta=["body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;float:left;width:30%;margin-left:2%;text-align:left;color:#000;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{font-size:.95em;width:60%;text-align:left;margin:0 5% 0 0;color:#318fc5;cursor:pointer;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;padding-top:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:5px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:0}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"];function na(e){e=Number(e);var t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%3600%60);return(t>0?t.toString()+":":"")+(n>0?("0"+n.toString()).slice(-2)+":":"00:")+(r>0?("0"+r.toString()).slice(-2):"00")}var ra=function(){function e(){this.labelledByText="",this.displayTime="00:00/00:00"}return e.prototype.ngOnInit=function(){this.statusText&&this.callId?this.labelledByText=this.statusText+" "+this.callId:this.statusText?this.labelledByText=this.statusText:this.callId&&(this.labelledByText=this.callId),this.startCallCounter()},e.prototype.startCallCounter=function(){var e=this,t=this.CaculatePastHoldDuration();null==this._timerId&&(this._timerId=window.setInterval((function(){var n=(new Date).getTime()/1e3,r=Math.floor(n-e.holdCounterData.currentHoldStartTime/1e3);e.displayTime=na(r)+"/"+na(t+r)}),1e3))},e.prototype.CaculatePastHoldDuration=function(){var e=0;return this.holdCounterData.pastCallDurations&&this.holdCounterData.pastCallDurations.forEach((function(t){e+=(t.endTime-t.startTime)/1e3})),e},e.prototype.ngOnDestroy=function(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)},e}(),oa=zr({encapsulation:0,styles:[[".holdCallDurationTimer[_ngcontent-%COMP%]:focus{outline-style:none}"],ta],data:{}});function ia(e){return Di(0,[(e()(),mo(0,0,null,null,1,"div",[["class","holdCallDurationDiv"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,0,"input",[["class","holdCallDurationTimer"],["name","HoldCallDuration/TotalHoldCallDuration"],["readonly",""],["tabindex","-1"],["title","Hold Duration"],["type","text"]],[[1,"aria-labelledby",0],[8,"value",0]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,1,0,n.labelledByText||null,n.displayTime)}))}var la=function(){function e(){this.labelledByText="",this.displayTime="00:00/00:00"}return e.prototype.ngOnInit=function(){this.statusText&&this.callId?this.labelledByText=this.statusText+" "+this.callId:this.statusText?this.labelledByText=this.statusText:this.callId&&(this.labelledByText=this.callId),this.startCallCounter()},e.prototype.startCallCounter=function(){var e=this;null==this._timerId&&(this._timerId=window.setInterval((function(){var t=e.startTime,n=(new Date).getTime()/1e3,r=Math.floor(n-t/1e3);e.displayTime=Math.floor(r/60)+":"+("0"+r%60).slice(-2)}),1e3))},e.prototype.ngOnDestroy=function(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)},e}(),aa=zr({encapsulation:0,styles:[[".durationInput[_ngcontent-%COMP%]:focus{outline-style:none}"],ta],data:{}});function sa(e){return Di(0,[(e()(),mo(0,0,null,null,1,"div",[["class","holdCallDurationDiv"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,0,"input",[["class","block durationInput"],["name","CallDuration"],["readonly",""],["tabindex","-1"],["title","Call Duration"],["type","text"]],[[8,"value",0],[1,"aria-labelledby",0]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,1,0,n.displayTime,n.labelledByText||null)}))}var ua=function(){return function(){}}(),ca=void 0,pa=["en",[["a","p"],["AM","PM"],ca],[["AM","PM"],ca,ca],[["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"]],ca,[["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"]],ca,[["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}",ca,"{1} 'at' {0}",ca],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],da={},fa=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}({}),ha=new ce("UseV4Plurals"),ga=function(){return function(){}}(),ya=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=da[t];if(n)return n;var r=t.split("-")[0];if(n=da[r])return n;if("en"===r)return pa;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case fa.Zero:return"zero";case fa.One:return"one";case fa.Two:return"two";case fa.Few:return"few";case fa.Many:return"many";default:return"other"}},t}(ga),ma=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Fe(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+we(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))},e}(),va=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),ba=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){It()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation((function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new va(null,t._ngForOf,-1,-1),o),l=new _a(e,i);n.push(l)}else null==o?t._viewContainer.remove(r):(i=t._viewContainer.get(r),t._viewContainer.move(i,o),l=new _a(e,i),n.push(l))}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e.ngTemplateContextGuard=function(e,t){return!0},e}(),_a=function(){return function(e,t){this.record=e,this.view=t}}(),wa=function(){function e(e,t){this._viewContainer=e,this._context=new Ca,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){xa("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){xa("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},e.ngTemplateGuard_ngIf=function(e,t){return!0},e}(),Ca=function(){return function(){this.$implicit=null,this.ngIf=null}}();function xa(e,t){if(t&&!t.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+we(t)+"'.")}var Ea=function(){function e(e){this.differs=e,this.keyValues=[]}return e.prototype.transform=function(e,t){var n=this;if(void 0===t&&(t=Ta),!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var r=this.differ.diff(e);return r&&(this.keyValues=[],r.forEachItem((function(e){n.keyValues.push({key:e.key,value:e.currentValue})})),this.keyValues.sort(t)),this.keyValues},e}();function Ta(e,t){var n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;var o=String(n),i=String(r);return o==i?0:o<i?-1:1}var Ia=function(){return function(){}}(),Oa=new ce("DocumentToken"),ka=function(){function e(){this.labelledByText="",this.title="",this._timerId=null,this.processedDisplayValue=""}return e.prototype.ngOnInit=function(){this.statusText&&this.callType?this.labelledByText=this.statusText+" "+this.callType:this.statusText?this.labelledByText=this.statusText:this.callType&&(this.labelledByText=this.callType),this.callType&&this.callId?this.title=this.callType+" "+this.callId:this.callType?this.title=this.callType:this.callId&&(this.title=this.callId),this.initValues()},e.prototype.initValues=function(){this.property.displayValueType===Xl.COUNTER?this.startCallCounter():this.processedDisplayValue=this.property.displayValue},e.prototype.startCallCounter=function(){var e=this;null==this._timerId&&(this._timerId=window.setInterval((function(){var t=e.property.displayValue,n=(new Date).getTime()/1e3,r=Math.floor(n-t/1e3);e.processedDisplayValue=na(r)}),1e3))},e.prototype.ngOnDestroy=function(){this.property.displayValueType===Xl.COUNTER&&null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)},e}(),Pa=zr({encapsulation:0,styles:[["input[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0}"],ta],data:{}});function Sa(e){return Di(0,[(e()(),mo(0,0,null,null,0,"input",[["class","displayData"],["readonly",""],["tabindex","0"],["type","text"]],[[8,"name",0],[8,"title",0],[1,"aria-labelledby",0],[8,"value",0]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.processedDisplayValue,n.title||null,n.labelledByText||null,n.processedDisplayValue)}))}function Da(e){return Di(0,[(e()(),mo(0,0,null,null,0,"input",[["class","cursor displayData"],["readonly",""],["tabindex","0"],["type","text"]],[[8,"name",0],[8,"title",0],[8,"value",0],[1,"aria-labelledby",0]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;return"click"===t&&(r=!1!==o.property.customOperations.handler(o.property.customOperations.eventName,o.property.customOperations.eventMetadata)&&r),r}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.processedDisplayValue,n.title||null,n.processedDisplayValue,n.labelledByText||null)}))}function Aa(e){return Di(0,[(e()(),yo(16777216,null,null,1,null,Sa)),ii(1,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,Da)),ii(3,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,!n.property.customOperations),e(t,3,0,n.property.customOperations)}),null)}var Ma=function(){function e(){this.alignRight=!1}return e.prototype.ngOnInit=function(){},e}(),Va=zr({encapsulation:0,styles:[['[_nghost-%COMP%]{display:block;margin-top:2px;margin-bottom:2px}.right-message[_ngcontent-%COMP%]{text-align:end}.message-header[_ngcontent-%COMP%]{display:flex;-webkit-text-emphasis:none;text-emphasis:none;font-style:italic;font-size:.7em;align-items:center;margin-bottom:.5em}.message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:30px;border-radius:50%;border:2px solid red}.message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{font-weight:700}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%]{flex-direction:row-reverse;margin-right:1px}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{margin-left:5px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%]{margin-left:1px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{margin-right:5px}.message-body-container[_ngcontent-%COMP%]{display:flex}.right-message[_ngcontent-%COMP%] > .message-body-container[_ngcontent-%COMP%]{flex-direction:row-reverse}.message-body[_ngcontent-%COMP%]{display:inline-block;position:relative;border-radius:.4em;padding:3px;font-style:normal;font-size:1em;text-align:start;min-width:2em;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.left-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;left:.8em;top:-.4em;border-bottom:.4em solid #000;border-bottom-color:inherit;border-left:.4em solid transparent;border-right:.4em solid transparent}.right-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;right:.8em;top:-.4em;border-bottom:.4em solid #000;border-bottom-color:inherit;border-left:.4em solid transparent;border-right:.4em solid transparent}']],data:{}});function Na(e){return Di(0,[(e()(),mo(0,0,null,null,0,"img",[["class","image"]],[[8,"src",4],[4,"border-color",null]],[[null,"error"]],(function(e,t,n){var r=!0,o=e.component;return"error"===t&&(r=!1!==(o.image=o.fallbackImage)&&r),r}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.image,n.color)}))}function Ra(e){return Di(0,[(e()(),mo(0,0,null,null,1,"span",[["class","username"]],null,null,null,null,null)),(e()(),ki(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.username)}))}function ja(e){return Di(0,[(e()(),mo(0,0,null,null,1,"span",[["class","timestamp"]],null,null,null,null,null)),(e()(),ki(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.timestamp)}))}function Fa(e){return Di(0,[(e()(),mo(0,0,null,null,11,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),mo(1,0,null,null,6,"div",[["class","message-header"]],null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,Na)),ii(3,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,Ra)),ii(5,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,ja)),ii(7,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),mo(8,0,null,null,3,"div",[["class","message-body-container"]],null,null,null,null,null)),(e()(),mo(9,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),mo(10,0,null,null,1,"div",[["class","message-body"]],[[4,"background-color",null],[4,"border-color",null]],null,null,null,null)),(e()(),mo(11,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],(function(e,t){var n=t.component;e(t,3,0,n.image),e(t,5,0,n.username),e(t,7,0,n.timestamp)}),(function(e,t){var n=t.component;e(t,0,0,n.alignRight?"message right-message":"message left-message"),e(t,10,0,n.color,n.color),e(t,11,0,n.message)}))}function Ha(e,t){return new O((function(n){var r=e.length;if(0!==r)for(var o=new Array(r),i=0,l=0,a=function(a){var s=G(e[a]),u=!1;n.add(s.subscribe({next:function(e){u||(u=!0,l++),o[a]=e},error:function(e){return n.error(e)},complete:function(){++i!==r&&u||(l===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=o[n],e}),{}):o),n.complete())}}))},s=0;s<r;s++)a(s);else n.complete()}))}var za=null;function La(){return za}var Ua,Ba={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Za={"\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"},Ga={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"};ge.Node&&(Ua=ge.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var $a,qa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,za||(za=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,c(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return Ba},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return Ua.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach((function(n){return e.insertBefore(n,t)}))},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ga.hasOwnProperty(t)&&(t=Ga[t]))}return Za[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=Qa||(Qa=document.querySelector("base"))?Qa.getAttribute("href"):null;return null==n?null:(t=n,$a||($a=document.createElement("a")),$a.setAttribute("href",t),"/"===$a.pathname.charAt(0)?$a.pathname:"/"+$a.pathname)},t.prototype.resetBaseElement=function(){Qa=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return function(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=s(e.split(";")),i=o.next();!i.done;i=o.next()){var l=i.value,a=l.indexOf("="),c=u(-1==a?[l,""]:[l.slice(0,a),l.slice(a+1)],2),p=c[1];if(c[0].trim()===t)return decodeURIComponent(p)}}catch(d){n={error:d}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach((function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])}))}catch(l){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}())),Qa=null,Ka=Oa;function Wa(){return!!window.history.pushState}var Ja=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}var n;return o(t,e),t.prototype._init=function(){this.location=La().getLocation(),this._history=La().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return La().getBaseHref(this._doc)},t.prototype.onPopState=function(e){La().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){La().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){Wa()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){Wa()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},l([(n=Ie(Ka),function(e,t){n(e,t,0)}),a("design:paramtypes",[Object])],t)}(ua),Ya=new ce("TRANSITION_ID"),Xa=[{provide:ln,useFactory:function(e,t,n){return function(){n.get(an).donePromise.then((function(){var n=La();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter((function(t){return n.getAttribute(t,"ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}},deps:[Ya,Ka,Ze],multi:!0}],es=function(){function e(){}return e.init=function(){var t;t=new e,Hn=t},e.prototype.addToWindow=function(e){ge.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},ge.getAllAngularTestabilities=function(){return e.getAllTestabilities()},ge.getAllAngularRootElements=function(){return e.getAllRootElements()},ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push((function(e){var t=ge.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(o)}))}))},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?La().isShadowRoot(t)?this.findTestabilityInTree(e,La().getHost(t),!0):this.findTestabilityInTree(e,La().parentElement(t),!0):null},e}();function ts(e,t){"undefined"!=typeof COMPILED&&COMPILED||((ge.ng=ge.ng||{})[e]=t)}var ns={ApplicationRef:$n,NgZone:Pn};function rs(e){return rr(e)}var os=new ce("EventManagerPlugins"),is=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach((function(e){return e.manager=n})),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),ls=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=La().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),as=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),ss=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach((function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))}))},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(e){return La().remove(e)}))},t}(as),us={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/"},cs=/%COMP%/g;function ps(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?ps(e,o,n):(o=o.replace(cs,e),n.push(o))}return n}function ds(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var fs=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new hs(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Te.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new vs(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case Te.Native:case Te.ShadowDom:return new bs(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=ps(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),hs=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(us[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=us[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=us[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&vt.DashCase?e.style.setProperty(t,n,r&vt.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&vt.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){ys(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return ys(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,ds(n)):this.eventManager.addEventListener(e,t,ds(n))},e}(),gs="@".charCodeAt(0);function ys(e,t){if(e.charCodeAt(0)===gs)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var ms,vs=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=ps(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr="_ngcontent-%COMP%".replace(cs,r.id),o.hostAttr=function(e){return"_nghost-%COMP%".replace(cs,e)}(r.id),o}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(hs),bs=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===Te.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var l=ps(o.id,o.styles,[]),a=0;a<l.length;a++){var s=document.createElement("style");s.textContent=l[a],i.shadowRoot.appendChild(s)}return i}return o(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(hs),_s="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},ws=_s("addEventListener"),Cs=_s("removeEventListener"),xs={},Es="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[_s("BLACK_LISTED_EVENTS")]&&(ms={});var Ts=function(e){return!!ms&&ms.hasOwnProperty(e)},Is=function(e){var t=xs[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(l=n[0]).zone!==Zone.current?l.zone.run(l.handler,this,r):l.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[Es];i++){var l;(l=o[i]).zone!==Zone.current?l.zone.run(l.handler,this,r):l.handler.apply(this,r)}}}},Os=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return"server"===e}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Es]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[ws]||Pn.isInAngularZone()&&!Ts(t))e.addEventListener(t,o,!1);else{var i=xs[t];i||(i=xs[t]=_s("ANGULAR"+t+"FALSE"));var l=e[i],a=l&&l.length>0;l||(l=e[i]=[]);var s=Ts(t)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:o});else{for(var u=!1,c=0;c<l.length;c++)if(l[c].handler===o){u=!0;break}u||l.push({zone:s,handler:o})}a||e[ws](t,Is,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[Cs];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=xs[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var l=!1,a=0;a<i.length;a++)if(i[a].handler===n){l=!0,i.splice(a,1);break}l?0===i.length&&r.apply(e,[t,Is,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(ls),ks={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Ps=new ce("HammerGestureConfig"),Ss=new ce("HammerLoader"),Ds=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),As=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return o(t,e),t.prototype.supports=function(e){return!(!ks.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,l=function(){i=!0};return this.loader().then((function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(l=function(){});i||(l=r.addEventListener(e,t,n))})).catch((function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),l=function(){}})),function(){l()}}return o.runOutsideAngular((function(){var i=r._config.buildHammer(e),l=function(e){o.runGuarded((function(){n(e)}))};return i.on(t,l),function(){i.off(t,l),"function"==typeof i.destroy&&i.destroy()}}))},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(ls),Ms=["alt","control","meta","shift"],Vs={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Ns=function(e){function t(t){return e.call(this,t)||this}var n;return o(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return La().onAndCancel(e,o.domEventName,i)}))},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(Ms.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")})),i+=o,0!=t.length||0===o.length)return null;var l={};return l.domEventName=r,l.fullKey=i,l},t.getEventFullKey=function(e){var t="",n=La().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ms.forEach((function(r){r!=n&&(0,Vs[r])(e)&&(t+=r+".")})),t+=n},t.eventCallback=function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded((function(){return t(o)}))}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(ls),Rs=function(){return function(){}}(),js=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case wt.NONE:return t;case wt.HTML:return t instanceof Hs?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{Mt=Mt||new Ot(e);var r=t?String(t):"";n=Mt.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Mt.getInertBodyElement(r)}while(r!==i);var l=new Bt,a=l.sanitizeChildren(qt(n)||n);return It()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var s=qt(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case wt.STYLE:return t instanceof zs?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Yt);return t&&St(t[1])===t[1]||e.match(Jt)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(It()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case wt.SCRIPT:if(t instanceof Ls)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case wt.URL:return t instanceof Bs||t instanceof Us?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),St(String(t)));case wt.RESOURCE_URL:if(t instanceof Bs)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof Fs)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new Hs(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new zs(e)},t.prototype.bypassSecurityTrustScript=function(e){return new Ls(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new Us(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Bs(e)},t}(Rs),Fs=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),Hs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(Fs),zs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(Fs),Ls=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(Fs),Us=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(Fs),Bs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(Fs),Zs=Un(_r,"browser",[{provide:dn,useValue:"browser"},{provide:pn,useValue:function(){qa.makeCurrent(),es.init()},multi:!0},{provide:ua,useClass:Ja,deps:[Ka]},{provide:Ka,useFactory:function(){return document},deps:[]}]);function Gs(){return new nn}var $s=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:sn,useValue:e.appId},{provide:Ya,useExisting:sn},Xa]}},e}();"undefined"!=typeof window&&window;var qs=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),Qs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(qs);function Ks(e){return null==e||0===e.length}var Ws=new ce("NgValidators"),Js=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Ys=function(){function e(){}return e.min=function(e){return function(t){if(Ks(t.value)||Ks(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(Ks(t.value)||Ks(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return Ks(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return Ks(e.value)||Js.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(Ks(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}},e.maxLength=function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(Ks(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(Xs);return 0==t.length?null:function(e){return tu(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(Xs);return 0==t.length?null:function(e){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(p(n))return Ha(n,null);if(d(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return Ha(r.map((function(e){return n[e]})),r)}}if("function"==typeof e[e.length-1]){var o=e.pop();return Ha(e=1===e.length&&p(e[0])?e[0]:e,null).pipe(N((function(e){return o.apply(void 0,e)})))}return Ha(e,null)}(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(eu)).pipe(N(tu))}},e}();function Xs(e){return null!=e}function eu(e){var t=rn(e)?G(e):e;if(!on(t))throw new Error("Expected validator to return Promise or Observable.");return t}function tu(e){var t=e.reduce((function(e,t){return null!=t?i({},e,t):e}),{});return 0===Object.keys(t).length?null:t}var nu=new ce("NgValueAccessor"),ru=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),ou=new ce("CompositionEventMode"),iu=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=La()?La().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function lu(e){return e.validate?function(t){return e.validate(t)}:e}function au(e){return e.validate?function(t){return e.validate(t)}:e}var su=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function uu(){throw new Error("unimplemented")}var cu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return o(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return uu()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return uu()},enumerable:!0,configurable:!0}),t}(qs),pu=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),du=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(cu),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},e}(),fu='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',hu='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>';function gu(e,t){return c(t.path,[e])}function yu(e,t){e||vu(t,"Cannot find control with"),t.valueAccessor||vu(t,"No value accessor for form control with"),e.validator=Ys.compose([e.validator,t.validator]),e.asyncValidator=Ys.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&mu(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&mu(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function mu(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function vu(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function bu(e){return null!=e?Ys.compose(e.map(lu)):null}function _u(e){return null!=e?Ys.composeAsync(e.map(au)):null}var wu=[ru,function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),su,function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=_e}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i),e))return i}}catch(l){t={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e}(),function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=_e}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var l=o.item(i),a=t._getOptionValue(l.value);r.push(a)}else for(o=n.options,i=0;i<o.length;i++)(l=o.item(i)).selected&&(a=t._getOptionValue(l.value),r.push(a));t.value=r,e(r)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){var t,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i)._value,e))return i}}catch(l){t={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e}(),du],Cu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return gu(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return bu(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return _u(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(Qs),xu=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),Eu=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(xu),Tu=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(xu);function Iu(e){var t=ku(e)?e.validators:e;return Array.isArray(t)?bu(t):t||null}function Ou(e,t){var n=ku(t)?t.asyncValidators:e;return Array.isArray(n)?_u(n):n||null}function ku(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Pu=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=Iu(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Ou(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(i({},e,{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach((function(e){return e(!0)}))},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild((function(t){t.enable(i({},e,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach((function(e){return e(!1)}))},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=eu(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce((function(e,t){return e instanceof Du?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof Au&&e.at(t)||null}),e))}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new Qt,this.statusChanges=new Qt},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls((function(t){return t.status===e}))},e.prototype._anyControlsDirty=function(){return this._anyControls((function(e){return e.dirty}))},e.prototype._anyControlsTouched=function(){return this._anyControls((function(e){return e.touched}))},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){ku(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),Su=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,Iu(n),Ou(r,n))||this;return o._onChange=[],o._applyFormState(t),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return o(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach((function(e){return e(n.value,!1!==t.emitViewToModelChange)})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(Pu),Du=function(e){function t(t,n,r){var o=e.call(this,Iu(n),Ou(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof Su?t.value:t.getRawValue(),e}))},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild((function(r,o){n=n||t.contains(o)&&e(r)})),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=s(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},t}(Pu),Au=function(e){function t(t,n,r){var o=e.call(this,Iu(n),Ou(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach((function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach((function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map((function(e){return e instanceof Su?e.value:e.getRawValue()}))},t.prototype._syncPendingControls=function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach((function(t,n){e(t,n)}))},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))},t.prototype._anyControls=function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=s(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(Pu),Mu=Promise.resolve(null),Vu=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Qt,r.form=new Du({},bu(t),_u(n)),r}return o(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;Mu.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),yu(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;Mu.then((function(){var n,r,o=t._findContainer(e.path);o&&o.removeControl(e.name),(r=(n=t._directives).indexOf(e))>-1&&n.splice(r,1)}))},t.prototype.addFormGroup=function(e){var t=this;Mu.then((function(){var n=t._findContainer(e.path),r=new Du({});(function(e,t){null==e&&vu(t,"Cannot find control with"),e.validator=Ys.compose([e.validator,t.validator]),e.asyncValidator=Ys.composeAsync([e.asyncValidator,t.asyncValidator])})(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})}))},t.prototype.removeFormGroup=function(e){var t=this;Mu.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;Mu.then((function(){n.form.get(e.path).setValue(t)}))},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})),this.ngSubmit.emit(e),!1;var t},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(Qs),Nu=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+fu+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+hu)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+fu+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+hu)},e.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")},e}(),Ru=new ce("NgFormSelectorWarning"),ju=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}var n;return o(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Vu||Nu.modelGroupParentException()},t}(Cu),Fu=Promise.resolve(null),Hu=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.control=new Su,i._registered=!1,i.update=new Qt,i._parent=t,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||vu(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return t.forEach((function(t){var i;t.constructor===iu?n=t:(i=t,wu.some((function(e){return i.constructor===e}))?(r&&vu(e,"More than one built-in value accessor matches form control with"),r=t):(o&&vu(e,"More than one custom value accessor matches form control with"),o=t))})),o||r||n||(vu(e,"No valid value accessor for form control with"),null)}(i,o),i}return o(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!_e(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?gu(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return bu(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return _u(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){yu(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof ju)&&this._parent instanceof Cu?Nu.formGroupNameException():this._parent instanceof ju||this._parent instanceof Vu||Nu.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Nu.missingNameException()},t.prototype._updateValue=function(e){var t=this;Fu.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;Fu.then((function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()}))},t}(cu),zu=function(){function e(){}return Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this.required?Ys.required(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e}(),Lu=function(){return function(){}}(),Uu=function(){return function(){}}(),Bu=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Ru,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),Zu=function(){function e(){this.isTyping=!1,this.lastCount=-1,this._isAgentTyping=!1,this.isAgentTyping=new Qt,this.newMessage=new Qt,this.newMessageText="",this.usernameToColor={},this.colors=["#81c784","#ffab91","#f48fb1","#29b6f6","#e1bee7","#9ccc65","#ffc107","#26c6da","#cddc39"],this.colorsIndex=0,this.agentColor="#29b6f6"}return e.prototype.ngAfterViewChecked=function(){this.lastCount!==this.messages.length&&(this.lastCount=this.messages.length,this.scrollToBottom())},e.prototype.getColor=function(e){return e.type&&e.type===Ql.AGENT?this.agentColor:e.username?(this.usernameToColor[e.username]||(this.usernameToColor[e.username]=this.colors[this.colorsIndex],this.colorsIndex=(this.colorsIndex+1)%this.colors.length),this.usernameToColor[e.username]):this.colors[0]},e.prototype.shouldAlignRight=function(e){return e.type&&e.type===Ql.AGENT},e.prototype.sendNewMessage=function(){this.newMessageText&&(this.newMessage.emit(this.newMessageText),this.newMessageText="")},e.prototype.onNewMessageFocus=function(e){var t=e&&this.newMessageText.length>0;t!==this._isAgentTyping&&(this._isAgentTyping=t,this.isAgentTyping.emit(t))},e.prototype.onKeyup=function(){var e=this.newMessageText.length>0;e!==this._isAgentTyping&&(this._isAgentTyping=e,this.isAgentTyping.emit(e))},e.prototype.scrollToBottom=function(){try{this.messagesContainer.nativeElement.scrollTop=this.messagesContainer.nativeElement.scrollHeight}catch(e){}},e}(),Gu=zr({encapsulation:0,styles:[[".chat-box[_ngcontent-%COMP%]{background-color:#eceff1}.messages[_ngcontent-%COMP%]{padding:5px;overflow:auto;min-height:50px}.new-message[_ngcontent-%COMP%]{border-top:1px solid #000;display:flex;align-content:center;height:25px}.new-message[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{flex:1 1 0;background-color:#eceff1;border:none;min-width:0}.new-message[_ngcontent-%COMP%] input[type=image][_ngcontent-%COMP%]{position:relative;top:50%;transform:translateY(-50%);height:20px;cursor:pointer}.new-message[_ngcontent-%COMP%] input[type=image][_ngcontent-%COMP%]:disabled{opacity:.5;cursor:auto}.new-message[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:0}.typing-indicator[_ngcontent-%COMP%]{font-size:1em;font-style:italic}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;height:10px;width:10px;border-radius:50%;background-color:#9e9e9e;margin:0 1px;opacity:.2}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(1){-webkit-animation:1.5s .33333s infinite blink;animation:1.5s .33333s infinite blink}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2){-webkit-animation:1.5s .66666s infinite blink;animation:1.5s .66666s infinite blink}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(3){-webkit-animation:1.5s .99999s infinite blink;animation:1.5s .99999s infinite blink}@-webkit-keyframes blink{50%{opacity:1}}@keyframes blink{50%{opacity:1}}"]],data:{}});function $u(e){return Di(0,[(e()(),mo(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),mo(1,0,null,null,1,"app-chat-message",[],null,null,null,Fa,Va)),ii(2,114688,null,0,Ma,[],{message:[0,"message"],alignRight:[1,"alignRight"],username:[2,"username"],color:[3,"color"],timestamp:[4,"timestamp"],image:[5,"image"],fallbackImage:[6,"fallbackImage"]},null)],(function(e,t){var n=t.component;e(t,2,0,t.context.$implicit.text,n.shouldAlignRight(t.context.$implicit),t.context.$implicit.username,n.getColor(t.context.$implicit),t.context.$implicit.timestamp,t.context.$implicit.userIcon,n.settings.fallbackUserIcon)}),null)}function qu(e){return Di(0,[(e()(),mo(0,0,null,null,4,"div",[["class","typing-indicator"]],null,null,null,null,null)),(e()(),ki(-1,null,[" Someone is typing "])),(e()(),mo(2,0,null,null,0,"span",[],null,null,null,null,null)),(e()(),mo(3,0,null,null,0,"span",[],null,null,null,null,null)),(e()(),mo(4,0,null,null,0,"span",[],null,null,null,null,null))],null,null)}function Qu(e){return Di(0,[wi(402653184,1,{messagesContainer:0}),(e()(),mo(1,0,null,null,13,"div",[["class","chat-box"]],null,null,null,null,null)),(e()(),mo(2,0,[[1,0],["MessagesContainer",1]],null,4,"div",[["class","messages"]],[[4,"max-height",null]],null,null,null,null)),(e()(),yo(16777216,null,null,1,null,$u)),ii(4,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null),(e()(),yo(16777216,null,null,1,null,qu)),ii(6,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),mo(7,0,null,null,7,"div",[["class","new-message"]],null,null,null,null,null)),(e()(),mo(8,0,[["NewMessageText",1]],null,5,"input",[["placeholder","Type a message"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"blur"],[null,"keydown.enter"],[null,"keyup"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==$o(e,9)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==$o(e,9).onTouched()&&r),"compositionstart"===t&&(r=!1!==$o(e,9)._compositionStart()&&r),"compositionend"===t&&(r=!1!==$o(e,9)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(o.newMessageText=n)&&r),"focus"===t&&(r=!1!==o.onNewMessageFocus(!0)&&r),"blur"===t&&(r=!1!==o.onNewMessageFocus(!1)&&r),"keydown.enter"===t&&(r=!1!==o.sendNewMessage()&&r),"keyup"===t&&(r=!1!==o.onKeyup()&&r),r}),null,null)),ii(9,16384,null,0,iu,[bt,ht,[2,ou]],null,null),li(1024,null,nu,(function(e){return[e]}),[iu]),ii(11,671744,null,0,Hu,[[8,null],[8,null],[8,null],[6,nu]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),li(2048,null,cu,null,[Hu]),ii(13,16384,null,0,Eu,[[4,cu]],null,null),(e()(),mo(14,0,null,null,0,"input",[["type","image"]],[[8,"src",4],[8,"disabled",0]],[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.sendNewMessage()&&r),r}),null,null))],(function(e,t){var n=t.component;e(t,4,0,n.messages),e(t,6,0,n.isTyping),e(t,11,0,n.settings.disableSendMessage,n.newMessageText)}),(function(e,t){var n=t.component;e(t,2,0,n.settings.maxHeight),e(t,8,0,$o(t,13).ngClassUntouched,$o(t,13).ngClassTouched,$o(t,13).ngClassPristine,$o(t,13).ngClassDirty,$o(t,13).ngClassValid,$o(t,13).ngClassInvalid,$o(t,13).ngClassPending),e(t,14,0,n.settings.sendImage,n.settings.disableSendMessage)}))}var Ku=function(){function e(){this.labelledByText="",this.describedByText=""}return e.prototype.ngOnInit=function(){this.statusText&&this.callType?this.describedByText=this.statusText+" "+this.callType:this.statusText?this.describedByText=this.statusText:this.callType&&(this.describedByText=this.callType),this.callId&&(this.labelledByText=this.callId)},e.prototype.operationKeypress=function(e,t){"Enter"===e.code&&t.handler(t.operationName,t.operationMetadata)},e}(),Wu=zr({encapsulation:0,styles:[[".AnswerCallImages[_ngcontent-%COMP%]:focus{outline:#3296da solid 2px;outline-offset:1px}"],ta],data:{}});function Ju(e){return Di(0,[(e()(),mo(0,0,null,null,0,"img",[["class","AnswerCallImages"],["role","button"],["tabindex","0"]],[[1,"aria-label",0],[8,"title",0],[8,"src",4],[1,"accesskey",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"click"],[null,"keypress"]],(function(e,t,n){var r=!0,o=e.component;return"click"===t&&(r=!1!==e.context.$implicit.handler(e.context.$implicit.operationName,e.context.$implicit.operationMetadata)&&r),"keypress"===t&&(r=!1!==o.operationKeypress(n,e.context.$implicit)&&r),r}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,ho(1,"",t.context.$implicit.title,""),t.context.$implicit.title,t.context.$implicit.icon,t.context.$implicit.accesskey||null,n.labelledByText||null,n.describedByText||null)}))}function Yu(e){return Di(0,[(e()(),mo(0,0,null,null,2,"div",[["class","callOptions"]],null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,Ju)),ii(2,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.operations)}),null)}var Xu=function(){function e(){this.minimizedChanged=new Qt,this.isAgentTyping=new Qt,this.newMessage=new Qt,this._minimized=!1}return Object.defineProperty(e.prototype,"_minimized",{get:function(){return this.minimized},set:function(e){this.minimized=e,this.minimizedChanged.emit(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){},e.prototype.minimize=function(){this._minimized=!0},e.prototype.maximize=function(){this._minimized=!1},e.prototype.isConferenceCall=function(){return!!(this.interaction.parties&&this.interaction.parties.length>1)},e.prototype.collapseKeypress=function(e){"Enter"===e.code&&this.minimize()},e.prototype.expandKeypress=function(e){"Enter"===e.code&&this.maximize()},e}(),ec=zr({encapsulation:0,styles:[["[_nghost-%COMP%]{display:block}.phoneNumberContainer[_ngcontent-%COMP%]{margin-left:5px!important;padding-left:0;display:flex;align-items:center}.cadSection[_ngcontent-%COMP%]{margin-bottom:5px}.grid-container[_ngcontent-%COMP%]{margin-left:5px;display:grid;grid-template-columns:auto 1fr;grid-column-gap:10px;max-width:calc(100% - 5px);overflow:hidden}.col1[_ngcontent-%COMP%]{grid-column:1/2}.col2[_ngcontent-%COMP%]{grid-column:2/3}.ViewExpandImage[_ngcontent-%COMP%]{margin:3px}.ViewExpandImage[_ngcontent-%COMP%]:focus{outline:#3296da solid 2px;outline-offset:0}.ViewCollapseImage[_ngcontent-%COMP%]{margin:3px}.ViewCollapseImage[_ngcontent-%COMP%]:focus{outline:#3296da solid 2px;outline-offset:0}.callImage[_ngcontent-%COMP%]{cursor:default}.phoneNumberValue[_ngcontent-%COMP%]:focus{outline-style:none}"],ta],data:{}});function tc(e){return Di(0,[(e()(),mo(0,0,null,null,1,"label",[["class","directionText"]],null,null,null,null,null)),(e()(),ki(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.interaction.UIHeadersData.directionText)}))}function nc(e){return Di(0,[(e()(),mo(0,0,null,null,2,"div",[["class","holdCallDurationDiv"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,1,"amc-holdtimer",[],null,null,null,ia,oa)),ii(2,245760,null,0,ra,[],{holdCounterData:[0,"holdCounterData"],statusText:[1,"statusText"],callId:[2,"callId"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.interaction.UIHeadersData.holdCounterData,n.interaction.UIHeadersData.statusText,n.interaction.subheaderData.value)}),null)}function rc(e){return Di(0,[(e()(),mo(0,0,null,null,0,"img",[["alt","Minimize"],["aria-label","collapse Call Section"],["class","ViewExpandImage"],["role","button"],["tabindex","0"]],[[8,"src",4]],[[null,"click"],[null,"keypress"]],(function(e,t,n){var r=!0,o=e.component;return"click"===t&&(r=!1!==o.minimize()&&r),"keypress"===t&&(r=!1!==o.collapseKeypress(n)&&r),r}),null,null))],null,(function(e,t){e(t,0,0,t.component.interaction.UIHeadersData.minimizeUrl)}))}function oc(e){return Di(0,[(e()(),mo(0,0,null,null,0,"img",[["alt","Maximize"],["aria-label","expand Call Section"],["class","ViewCollapseImage"],["role","button"],["tabindex","0"]],[[8,"src",4]],[[null,"click"],[null,"keypress"]],(function(e,t,n){var r=!0,o=e.component;return"click"===t&&(r=!1!==o.maximize()&&r),"keypress"===t&&(r=!1!==o.expandKeypress(n)&&r),r}),null,null))],null,(function(e,t){e(t,0,0,t.component.interaction.UIHeadersData.maximizeUrl)}))}function ic(e){return Di(0,[(e()(),mo(0,0,null,null,2,"div",[["class","DurationDiv"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,1,"amc-duration",[],null,null,null,sa,aa)),ii(2,245760,null,0,la,[],{statusText:[0,"statusText"],callId:[1,"callId"],startTime:[2,"startTime"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.interaction.UIHeadersData.statusText,n.interaction.subheaderData.value,n.interaction.startTime)}),null)}function lc(e){return Di(0,[(e()(),mo(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),mo(1,0,null,null,1,"label",[["class","col1"]],[[8,"title",0]],null,null,null,null)),(e()(),ki(2,null,["",""])),(e()(),mo(3,0,null,null,1,"amc-property",[["class","col2"]],null,null,null,Aa,Pa)),ii(4,245760,null,0,ka,[],{statusText:[0,"statusText"],callId:[1,"callId"],callType:[2,"callType"],property:[3,"property"]},null)],(function(e,t){var n=t.component;e(t,4,0,n.interaction.UIHeadersData.statusText,n.interaction.subheaderData.value,n.interaction.UIHeadersData.directionText,t.parent.context.$implicit)}),(function(e,t){e(t,1,0,t.parent.context.$implicit.displayKey),e(t,2,0,t.parent.context.$implicit.displayKey)}))}function ac(e){return Di(0,[(e()(),mo(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,lc)),ii(2,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(0,null,null,0))],(function(e,t){e(t,2,0,t.context.$implicit.visible)}),null)}function sc(e){return Di(0,[(e()(),mo(0,0,null,null,5,null,null,null,null,null,null,null)),(e()(),mo(1,0,null,null,4,"div",[["class","editor displayDiv"]],null,null,null,null,null)),(e()(),mo(2,0,null,null,1,"label",[["class","displayLabels"]],[[8,"title",0]],null,null,null,null)),(e()(),ki(3,null,["",""])),(e()(),mo(4,0,null,null,1,"amc-property",[["class","col2"]],null,null,null,Aa,Pa)),ii(5,245760,null,0,ka,[],{statusText:[0,"statusText"],callId:[1,"callId"],callType:[2,"callType"],property:[3,"property"]},null)],(function(e,t){var n=t.component;e(t,5,0,n.interaction.UIHeadersData.statusText,n.interaction.subheaderData.value,n.interaction.UIHeadersData.directionText,t.parent.context.$implicit)}),(function(e,t){e(t,2,0,t.parent.context.$implicit.displayKey),e(t,3,0,t.parent.context.$implicit.displayKey)}))}function uc(e){return Di(0,[(e()(),mo(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,sc)),ii(2,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(0,null,null,0))],(function(e,t){e(t,2,0,t.context.$implicit.visible)}),null)}function cc(e){return Di(0,[(e()(),mo(0,0,null,null,1,"app-chat-box",[],null,[[null,"isAgentTyping"],[null,"newMessage"]],(function(e,t,n){var r=!0,o=e.component;return"isAgentTyping"===t&&(r=!1!==o.isAgentTyping.emit(n)&&r),"newMessage"===t&&(r=!1!==o.newMessage.emit(n)&&r),r}),Qu,Gu)),ii(1,8437760,null,0,Zu,[],{settings:[0,"settings"],isTyping:[1,"isTyping"],messages:[2,"messages"]},{isAgentTyping:"isAgentTyping",newMessage:"newMessage"})],(function(e,t){var n=t.component;e(t,1,0,n.interaction.chat.settings,n.interaction.chat.isCustomerTyping,n.interaction.chat.messages)}),null)}function pc(e){return Di(0,[(e()(),mo(0,0,null,null,13,"div",[],null,null,null,null,null)),(e()(),mo(1,0,null,null,2,"div",[["class","editor phoneNumberContainer"]],null,null,null,null,null)),(e()(),mo(2,0,null,null,0,"input",[["class","callImage"],["tabindex","-1"],["type","image"]],[[8,"src",4],[8,"title",0]],null,null,null,null)),(e()(),mo(3,0,null,null,0,"input",[["class","editor phoneNumberValue"],["readonly",""],["tabindex","-1"],["type","text"]],[[1,"aria-labelledby",0],[8,"value",0],[8,"id",0]],null,null,null,null)),(e()(),mo(4,0,null,null,4,"div",[["class","cadSection"]],null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,ac)),ii(6,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null),(e()(),yo(16777216,null,null,1,null,uc)),ii(8,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null),(e()(),yo(16777216,null,null,1,null,cc)),ii(10,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),mo(11,0,null,null,0,"div",[],[[8,"id",0]],null,null,null,null)),(e()(),mo(12,0,null,null,1,"amc-operation",[],null,null,null,Yu,Wu)),ii(13,114688,null,0,Ku,[],{statusText:[0,"statusText"],callId:[1,"callId"],callType:[2,"callType"],operations:[3,"operations"]},null)],(function(e,t){var n=t.component;e(t,6,0,n.interaction.properties),e(t,8,0,n.interaction.associatedData),e(t,10,0,n.interaction.chat),e(t,13,0,n.interaction.UIHeadersData.statusText,n.interaction.subheaderData.value,n.interaction.UIHeadersData.directionText,n.interaction.operations)}),(function(e,t){var n=t.component;e(t,2,0,n.interaction.subheaderData.image.href,n.interaction.subheaderData.tooltip||""),e(t,3,0,n.interaction.UIHeadersData.statusText+" "+n.interaction.subheaderData.value,n.interaction.subheaderData.value,n.interaction.subheaderData.value),e(t,11,0,n.interaction.interactionId)}))}function dc(e){return Di(0,[(e()(),mo(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),mo(1,0,null,null,1,"label",[["class","col1"]],[[8,"title",0]],null,null,null,null)),(e()(),ki(2,null,["",""])),(e()(),mo(3,0,null,null,1,"amc-property",[["class","col2"]],null,null,null,Aa,Pa)),ii(4,245760,null,0,ka,[],{statusText:[0,"statusText"],callId:[1,"callId"],callType:[2,"callType"],property:[3,"property"]},null)],(function(e,t){var n=t.component;e(t,4,0,n.interaction.UIHeadersData.statusText,t.parent.parent.context.$implicit.header.value,n.interaction.UIHeadersData.directionText,t.parent.context.$implicit)}),(function(e,t){e(t,1,0,t.parent.context.$implicit.displayKey),e(t,2,0,t.parent.context.$implicit.displayKey)}))}function fc(e){return Di(0,[(e()(),mo(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,dc)),ii(2,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(0,null,null,0))],(function(e,t){e(t,2,0,t.context.$implicit.visible)}),null)}function hc(e){return Di(0,[(e()(),mo(0,0,null,null,9,"div",[],null,null,null,null,null)),(e()(),mo(1,0,null,null,2,"div",[["class","editor phoneNumberContainer"]],null,null,null,null,null)),(e()(),mo(2,0,null,null,0,"input",[["class","callImage"],["tabindex","-1"],["type","image"]],[[8,"src",4],[8,"title",0]],null,null,null,null)),(e()(),mo(3,0,null,null,0,"input",[["class","editor phoneNumberValue"],["readonly",""],["tabindex","-1"],["type","text"]],[[8,"value",0]],null,null,null,null)),(e()(),mo(4,0,null,null,2,"div",[["class","grid-container"]],null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,fc)),ii(6,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null),(e()(),mo(7,0,null,null,1,"amc-operation",[],null,null,null,Yu,Wu)),ii(8,114688,null,0,Ku,[],{statusText:[0,"statusText"],callId:[1,"callId"],callType:[2,"callType"],operations:[3,"operations"]},null),(e()(),mo(9,0,null,null,0,"div",[["class","AnswerCallFocused"]],null,null,null,null,null))],(function(e,t){var n=t.component;e(t,6,0,t.context.$implicit.properties),e(t,8,0,n.interaction.UIHeadersData.statusText,t.context.$implicit.header.value,n.interaction.UIHeadersData.directionText,t.context.$implicit.operations)}),(function(e,t){e(t,2,0,t.context.$implicit.header.image.href,t.context.$implicit.header.tooltip||""),e(t,3,0,t.context.$implicit.header.value)}))}function gc(e){return Di(0,[(e()(),mo(0,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,hc)),ii(2,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null),(e()(),mo(3,0,null,null,1,"amc-operation",[],null,null,null,Yu,Wu)),ii(4,114688,null,0,Ku,[],{statusText:[0,"statusText"],callId:[1,"callId"],callType:[2,"callType"],operations:[3,"operations"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.interaction.parties),e(t,4,0,n.interaction.UIHeadersData.statusText,n.interaction.subheaderData.value,n.interaction.UIHeadersData.directionText,n.interaction.operations)}),null)}function yc(e){return Di(0,[(e()(),mo(0,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,pc)),ii(2,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,gc)),ii(4,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,!n.isConferenceCall()),e(t,4,0,n.isConferenceCall())}),null)}function mc(e){return Di(0,[(e()(),mo(0,0,null,null,19,"div",[["class","AnswerCallFocused"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,16,"div",[["class","editor callHeaderTop"]],null,null,null,null,null)),(e()(),mo(2,0,null,null,0,"img",[["aria-hidden","true"],["class","statusImage"]],[[8,"src",4]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;return"click"===t&&(r=!1!==o.interaction.UIHeadersData.focusHandler.handler(o.interaction.UIHeadersData.focusHandler.operationName,o.interaction.UIHeadersData.focusHandler.operationMetadata)&&r),r}),null,null)),(e()(),mo(3,0,null,null,2,"label",[["class","statusText"]],null,null,null,null,null)),(e()(),mo(4,0,null,null,1,"b",[],[[8,"id",0]],null,null,null,null)),(e()(),ki(5,null,["",""])),(e()(),mo(6,0,null,null,1,"label",[["class","verticalDivider"]],null,null,null,null,null)),(e()(),ki(-1,null,["|"])),(e()(),yo(16777216,null,null,1,null,tc)),ii(9,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,nc)),ii(11,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,rc)),ii(13,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,oc)),ii(15,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,ic)),ii(17,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null),(e()(),yo(16777216,null,null,1,null,yc)),ii(19,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,9,0,!n.interaction.UIHeadersData.displayHoldCounter),e(t,11,0,n.interaction.UIHeadersData.displayHoldCounter),e(t,13,0,!n._minimized),e(t,15,0,n._minimized),e(t,17,0,n.interaction.displayCallTimer),e(t,19,0,!n._minimized)}),(function(e,t){var n=t.component;e(t,2,0,n.interaction.UIHeadersData.statusUrl),e(t,4,0,n.interaction.UIHeadersData.statusText),e(t,5,0,n.interaction.UIHeadersData.statusText)}))}var vc=zr({encapsulation:0,styles:[[""],ta],data:{}});function bc(e){return Di(0,[(e()(),mo(0,0,null,null,1,"amc-interaction",[],null,[[null,"minimizedChanged"],[null,"isAgentTyping"],[null,"newMessage"]],(function(e,t,n){var r=!0,o=e.component;return"minimizedChanged"===t&&(r=!1!==o.onMinimizedChanged()&&r),"isAgentTyping"===t&&(r=!1!==o.isAgentTyping.emit(n)&&r),"newMessage"===t&&(r=!1!==o.newMessage.emit(n)&&r),r}),mc,ec)),ii(1,114688,null,0,Xu,[],{interaction:[0,"interaction"]},{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage"})],(function(e,t){e(t,1,0,t.context.$implicit)}),null)}function _c(e){return Di(0,[(e()(),mo(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,bc)),ii(2,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null),(e()(),yo(0,null,null,0))],(function(e,t){e(t,2,0,t.component.scenario.interactions)}),null)}function wc(e){return Di(0,[(e()(),yo(16777216,null,null,1,null,_c)),ii(1,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.scenario&&n.scenario.interactions)}),null)}function Cc(e){return Di(0,[(e()(),mo(0,0,null,null,1,"amc-scenario",[],null,null,null,wc,vc)),ii(1,8437760,null,0,Hl,[],null,null)],null,null)}var xc=No("amc-scenario",Hl,Cc,{scenario:"scenario"},{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage",afterViewChecked:"afterViewChecked"},[]),Ec=zr({encapsulation:0,styles:[[".disposition-container[_ngcontent-%COMP%]{border:1px solid #939598;white-space:nowrap;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;max-height:180px;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;white-space:nowrap;height:28px;position:-webkit-sticky;position:sticky;overflow-x:hidden;overflow-y:hidden}.disposition-header[_ngcontent-%COMP%]{margin-top:auto;margin-left:7px;padding:5px;white-space:nowrap;text-overflow:ellipsis;font-weight:700;font-size:.9em;font-family:Arial;overflow-x:hidden}.disposition[_ngcontent-%COMP%]{margin-left:5px;padding-left:5px;white-space:nowrap}.disposition-label[_ngcontent-%COMP%]{text-overflow:ellipsis;font-weight:400;white-space:nowrap;font-size:.9em;overflow-x:hidden}.disposition-label-selected[_ngcontent-%COMP%]{text-overflow:ellipsis;font-weight:700;white-space:nowrap;font-size:.9em}.dispositions-container[_ngcontent-%COMP%]{padding:3px;overflow-y:scroll;max-height:150px}.disposition-label[_ngcontent-%COMP%]:focus{outline:#3296da solid 2px;outline-offset:5px}.first-disposition[_ngcontent-%COMP%]{margin-top:5px}"]],data:{}});function Tc(e){return Di(0,[(e()(),mo(0,0,null,null,13,"div",[["class","disposition"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,12,"label",[["class","disposition-label"],["tabindex","0"]],[[8,"id",0]],[[null,"keypress"]],(function(e,t,n){var r=!0;return"keypress"===t&&(r=!1!==e.component.selectAndSubmitDisposition(n,e.context.$implicit.key)&&r),r}),null,null)),ii(2,278528,null,0,ma,[gr,yr,ht,bt],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oi(3,{"disposition-label-selected":0,"first-disposition":1}),(e()(),mo(4,0,null,null,8,"input",[["class","disposition-input"],["tabindex","-1"],["type","radio"]],[[1,"aria-label",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==$o(e,5)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==$o(e,5).onTouched()&&r),"compositionstart"===t&&(r=!1!==$o(e,5)._compositionStart()&&r),"compositionend"===t&&(r=!1!==$o(e,5)._compositionEnd(n.target.value)&&r),"change"===t&&(r=!1!==$o(e,6).onChange()&&r),"blur"===t&&(r=!1!==$o(e,6).onTouched()&&r),"change"===t&&(r=!1!==o.submitDisposition()&&r),"ngModelChange"===t&&(r=!1!==(o.selectedDispositionValue=n)&&r),r}),null,null)),ii(5,16384,null,0,iu,[bt,ht,[2,ou]],null,null),ii(6,212992,null,0,du,[bt,ht,pu,Ze],{name:[0,"name"],value:[1,"value"]},null),ii(7,16384,null,0,zu,[],{required:[0,"required"]},null),li(1024,null,Ws,(function(e){return[e]}),[zu]),li(1024,null,nu,(function(e,t){return[e,t]}),[iu,du]),ii(10,671744,null,0,Hu,[[8,null],[6,Ws],[8,null],[6,nu]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),li(2048,null,cu,null,[Hu]),ii(12,16384,null,0,Eu,[[4,cu]],null,null),(e()(),ki(13,null,[" "," "]))],(function(e,t){var n=t.component,r=e(t,3,0,n.selectedDispositionValue===t.context.$implicit.key,0===t.context.index);e(t,2,0,"disposition-label",r),e(t,6,0,n.dispositionName,ho(1,"",t.context.$implicit.key,"")),e(t,7,0,!n.selectedDispositionValue),e(t,10,0,n.dispositionName,n.selectedDispositionValue)}),(function(e,t){e(t,1,0,t.context.$implicit.key),e(t,4,0,ho(1,"",t.context.$implicit.value,""),$o(t,7).required?"":null,$o(t,12).ngClassUntouched,$o(t,12).ngClassTouched,$o(t,12).ngClassPristine,$o(t,12).ngClassDirty,$o(t,12).ngClassValid,$o(t,12).ngClassInvalid,$o(t,12).ngClassPending),e(t,13,0,t.context.$implicit.value)}))}function Ic(e){return Di(0,[(e()(),mo(0,0,null,null,7,"div",[["class","disposition-container"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,2,"div",[["class","header-container"]],null,null,null,null,null)),(e()(),mo(2,0,null,null,1,"label",[["attr.aria-label","set disposition"],["class","disposition-header"]],null,null,null,null,null)),(e()(),ki(3,null,["",""])),(e()(),mo(4,0,null,null,3,"div",[["class","dispositions-container"]],null,null,null,null,null)),(e()(),yo(16777216,null,null,2,null,Tc)),ii(6,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null),(t=0,n=Ea,r=[yr],ai(-1,t|=16,null,0,n,n,r))],(function(e,t){var n=t.component;e(t,6,0,function(e,t,n,r){if(Re.isWrapped(r)){r=Re.unwrap(r);var o=e.def.nodes[6].bindingIndex+0,i=Re.unwrap(e.oldValues[o]);e.oldValues[o]=new Re(i)}return r}(t,0,0,$o(t,7).transform(n.disposition.disposition)))}),(function(e,t){e(t,3,0,t.component.disposition.dispositionHeader)}));var t,n,r}function Oc(e){return Di(0,[(e()(),mo(0,0,null,null,1,"amc-disposition",[],null,null,null,Ic,Ec)),ii(1,114688,null,0,Jl,[],null,null)],(function(e,t){e(t,1,0)}),null)}var kc=No("amc-disposition",Jl,Oc,{disposition:"disposition"},{dispositionEmitter:"dispositionEmitter"},[]),Pc=zr({encapsulation:0,styles:[[".login-container[_ngcontent-%COMP%]{border:1px solid #939598;white-space:nowrap;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;max-height:200px;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;position:-webkit-sticky;position:sticky}.login-header[_ngcontent-%COMP%]{margin-top:auto;margin-left:7px;padding:5px;font-weight:700;font-size:.9em}.fields-container[_ngcontent-%COMP%]{overflow-y:auto;max-height:160px;font-size:.9em;padding:5px}.field[_ngcontent-%COMP%]{display:table-row;margin:5px}.field-label[_ngcontent-%COMP%]{padding:10px;display:table-cell}.field-input[_ngcontent-%COMP%]{display:table-cell;border:1px solid #939598;border-radius:5px}.field-input[_ngcontent-%COMP%]:focus{box-shadow:0 0 5px #38badf}.form-submit[_ngcontent-%COMP%]{margin:15px 10px 10px;display:table-row;border:1px solid #00a4b0;border-radius:5px;background-color:#00a4b0;color:#f7f7f7;width:10em;height:2em;transition:all .2s;font-size:1.1em;position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}.form-submit[_ngcontent-%COMP%]:hover{background-color:#01858f}.form-submit[_ngcontent-%COMP%]:disabled{background-color:silver;border-color:silver;color:#fff}input.ng-invalid.ng-touched[required][_ngcontent-%COMP%]{border-color:#a94442}.form-submit[_ngcontent-%COMP%]:focus{outline:#3296da solid 2px;outline-offset:5px}.invalid-input[_ngcontent-%COMP%]{margin:0;padding:0;color:#a94442;font-size:x-small}"]],data:{}});function Sc(e){return Di(0,[(e()(),mo(0,0,null,null,1,"p",[["class","invalid-input"]],null,null,null,null,null)),(e()(),ki(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.parent.context.$implicit.invalidMessage)}))}function Dc(e){return Di(0,[(e()(),mo(0,0,null,null,12,"div",[["class","field"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,1,"label",[["class","field-label"]],null,null,null,null,null)),(e()(),ki(2,null,[" ",": "])),(e()(),mo(3,0,null,null,7,"input",[["class","field-input"],["ngModel",""]],[[1,"aria-label",0],[8,"type",0],[8,"value",0],[8,"placeholder",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focusout"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==$o(e,4)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==$o(e,4).onTouched()&&r),"compositionstart"===t&&(r=!1!==$o(e,4)._compositionStart()&&r),"compositionend"===t&&(r=!1!==$o(e,4)._compositionEnd(n.target.value)&&r),"focusout"===t&&(r=!1!==o.focusOutOfInput($o(e.parent,3),e.context.$implicit)&&r),r}),null,null)),ii(4,16384,null,0,iu,[bt,ht,[2,ou]],null,null),ii(5,16384,null,0,zu,[],{required:[0,"required"]},null),li(1024,null,Ws,(function(e){return[e]}),[zu]),li(1024,null,nu,(function(e){return[e]}),[iu]),ii(8,671744,null,0,Hu,[[2,Qs],[6,Ws],[8,null],[6,nu]],{name:[0,"name"],model:[1,"model"]},null),li(2048,null,cu,null,[Hu]),ii(10,16384,null,0,Eu,[[4,cu]],null,null),(e()(),yo(16777216,null,null,1,null,Sc)),ii(12,16384,null,0,wa,[Kn,Kt],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,5,0,t.context.$implicit.isRequired||!1),e(t,8,0,t.context.$implicit.name,""),e(t,12,0,t.context.$implicit.isInvalid)}),(function(e,t){e(t,2,0,t.context.$implicit.name),e(t,3,1,[ho(1,"",t.context.$implicit.name,""),t.context.$implicit.type,t.context.$implicit.value,t.context.$implicit.placeholder||"",$o(t,5).required?"":null,$o(t,10).ngClassUntouched,$o(t,10).ngClassTouched,$o(t,10).ngClassPristine,$o(t,10).ngClassDirty,$o(t,10).ngClassValid,$o(t,10).ngClassInvalid,$o(t,10).ngClassPending])}))}function Ac(e){return Di(0,[(e()(),mo(0,0,null,null,13,"div",[["class","login-container"]],null,null,null,null,null)),(e()(),mo(1,0,null,null,12,"form",[["class","login-form"],["id","login-form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(e,t,n){var r=!0,o=e.component;return"submit"===t&&(r=!1!==$o(e,3).onSubmit(n)&&r),"reset"===t&&(r=!1!==$o(e,3).onReset()&&r),"ngSubmit"===t&&(r=!1!==o.onLogin($o(e,3))&&r),r}),null,null)),ii(2,16384,null,0,Lu,[],null,null),ii(3,4210688,[["loginForm",4]],0,Vu,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),li(2048,null,Qs,null,[Vu]),ii(5,16384,null,0,Tu,[[4,Qs]],null,null),(e()(),mo(6,0,null,null,2,"div",[["class","header-container"]],null,null,null,null,null)),(e()(),mo(7,0,null,null,1,"label",[["attr.aria-label","login"],["class","login-header"]],null,null,null,null,null)),(e()(),ki(8,null,["",""])),(e()(),mo(9,0,null,null,4,"div",[["class","fields-container"]],null,null,null,null,null)),(e()(),yo(16777216,null,null,1,null,Dc)),ii(11,278528,null,0,ba,[Kn,Kt,gr],{ngForOf:[0,"ngForOf"]},null),(e()(),mo(12,0,null,null,1,"button",[["attr.aria-label","send"],["class","form-submit"],["form","login-form"],["tabindex","0"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(e()(),ki(-1,null,["Login"]))],(function(e,t){e(t,11,0,t.component.loginData.fields)}),(function(e,t){var n=t.component;e(t,1,0,$o(t,5).ngClassUntouched,$o(t,5).ngClassTouched,$o(t,5).ngClassPristine,$o(t,5).ngClassDirty,$o(t,5).ngClassValid,$o(t,5).ngClassInvalid,$o(t,5).ngClassPending),e(t,8,0,n.loginData.header),e(t,12,0,!$o(t,3).valid)}))}function Mc(e){return Di(0,[(e()(),mo(0,0,null,null,1,"amc-login",[],null,null,null,Ac,Pc)),ii(1,114688,null,0,Yl,[],null,null)],(function(e,t){e(t,1,0)}),null)}var Vc=No("amc-login",Yl,Mc,{loginData:"loginData"},{loginDetailsProvided:"loginDetailsProvided"},[]),Nc=jl(ea,[],(function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===rt&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Hr(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([Io(512,ut,ct,[[8,[xc,kc,Vc]],[3,ut],dt]),Io(5120,wr,Er,[[3,wr]]),Io(4608,ga,ya,[wr,[2,ha]]),Io(4608,Cn,Cn,[]),Io(5120,sn,un,[]),Io(5120,gr,Cr,[]),Io(5120,yr,xr,[]),Io(4608,Rs,js,[Oa]),Io(6144,Ct,null,[Rs]),Io(4608,Ps,Ds,[]),Io(5120,os,(function(e,t,n,r,o,i,l,a){return[new Os(e,t,n),new Ns(r),new As(o,i,l,a)]}),[Oa,Pn,dn,Oa,Oa,Ps,hn,[2,Ss]]),Io(4608,is,is,[os,Pn]),Io(135680,ss,ss,[Oa]),Io(4608,fs,fs,[is,ss]),Io(6144,mt,null,[fs]),Io(6144,as,null,[ss]),Io(4608,jn,jn,[Pn]),Io(4608,pu,pu,[]),Io(1073742336,Ia,Ia,[]),Io(1024,nn,Gs,[]),Io(1024,ln,(function(e){return[(t=e,ts("probe",rs),ts("coreTokens",i({},ns,(t||[]).reduce((function(e,t){return e[t.name]=t.token,e}),{}))),function(){return rs})];var t}),[[2,Ln]]),Io(512,an,an,[[2,ln]]),Io(131584,$n,$n,[Pn,hn,Ze,nn,ut,an]),Io(1073742336,Tr,Tr,[$n]),Io(1073742336,$s,$s,[[3,$s]]),Io(1073742336,Uu,Uu,[]),Io(1073742336,Bu,Bu,[]),Io(1073742336,ea,ea,[Ze]),Io(256,rt,!0,[])])}));(function(){if(Tt)throw new Error("Cannot enable prod mode after platform setup.");Et=!1})(),Zs().bootstrapModuleFactory(Nc).catch((function(e){return 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]]]);
1
+ !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()}([]);
2
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(e,t,n){e.exports=n("hN/g")},"5MeN":function(e,t,n){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}()},UGdZ:function(e,t){(function(){"use strict";var e=window.Document.prototype.createElement,t=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,s=window.DocumentFragment.prototype.append,a=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,u=window.Node.prototype.removeChild,h=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,g=window.Element.prototype.setAttribute,y=window.Element.prototype.removeAttribute,_=window.Element.prototype.getAttributeNS,v=window.Element.prototype.setAttributeNS,b=window.Element.prototype.removeAttributeNS,k=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,w=window.Element.prototype.prepend,T=window.Element.prototype.append,C=window.Element.prototype.before,S=window.Element.prototype.after,D=window.Element.prototype.replaceWith,Z=window.Element.prototype.remove,O=window.HTMLElement,P=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),N=window.HTMLElement.prototype.insertAdjacentElement,j=window.HTMLElement.prototype.insertAdjacentHTML,z=new Set;function M(e){var t=z.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(e){return z.add(e)}));var L=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function A(e){var t=e.isConnected;if(void 0!==t)return t;if(L(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function x(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function I(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function F(){var e=!(null==ie||!ie.noDocumentConstructionObserver),t=!(null==ie||!ie.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=t,this.I=!e}function H(e,t,n,o){var r=window.ShadyDOM;if(e.shadyDomFastWalk&&r&&r.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=r.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)n(e[t])}else!function e(t,n,o){for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var s=i.localName;if("link"===s&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)e(r,n,o);r=I(t,i);continue}if("template"===s){r=I(t,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)e(i,n,o)}r=r.firstChild?r.firstChild:I(t,r)}}(t,n,o)}function R(e,t){e.j&&H(e,t,(function(t){return W(e,t)}))}function W(e,t){if(e.j&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.m.length;n++)e.m[n](t);for(n=0;n<e.g.length;n++)e.g[n](t)}}function B(e,t){var n=[];for(H(e,t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var o=n[t];1===o.__CE_state?e.connectedCallback(o):q(e,o)}}function G(e,t){var n=[];for(H(e,t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var o=n[t];1===o.__CE_state&&e.disconnectedCallback(o)}}function U(e,t,n){var o=(n=void 0===n?{}:n).J,r=n.upgrade||function(t){return q(e,t)},i=[];for(H(e,t,(function(t){if(e.j&&W(e,t),"link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:t.addEventListener("load",(function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(e){return i.add(e)})),i.delete(n)),U(e,n,{J:i,upgrade:r})}}))}else i.push(t)}),o),t=0;t<i.length;t++)r(i[t])}function q(e,t){try{var n=t.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?ne(o,t.localName):void 0;if(r&&void 0===t.__CE_state){r.constructionStack.push(t);try{try{if(new r.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(c){throw t.__CE_state=2,c}if(t.__CE_state=1,t.__CE_definition=r,r.attributeChangedCallback&&t.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var s=i[r],a=t.getAttribute(s);null!==a&&e.attributeChangedCallback(t,s,null,a,null)}}A(t)&&e.connectedCallback(t)}}catch(c){$(c)}}function V(n,o,r,i){var s=o.__CE_registry;if(s&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(s=ne(s,r)))try{var a=new s.constructorFunction;if(void 0===a.__CE_state||void 0===a.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==a.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(a.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==a.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==a.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(a.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(a.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return a}catch(c){return $(c),o=null===i?e.call(o,r):t.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,W(n,o),o}return W(n,o=null===i?e.call(o,r):t.call(o,i,r)),o}function $(e){var t=e.message,n=e.sourceURL||e.fileName||"",o=e.line||e.lineNumber||0,r=void 0;void 0===ErrorEvent.prototype.initErrorEvent?r=new ErrorEvent("error",{cancelable:!0,message:t,filename:n,lineno:o,colno:e.column||e.columnNumber||0,error:e}):((r=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,n,o),r.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===r.error&&Object.defineProperty(r,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(r),r.defaultPrevented||console.error(e)}function X(){var e=this;this.g=void 0,this.F=new Promise((function(t){e.l=t}))}function J(e){var t=document;this.l=void 0,this.h=e,this.g=t,U(this.h,this.g),"loading"===this.g.readyState&&(this.l=new MutationObserver(this.G.bind(this)),this.l.observe(this.g,{childList:!0,subtree:!0}))}function Y(e){e.l&&e.l.disconnect()}function K(e){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(e){return e()},this.i=!1,this.v=[],this.h=e,this.D=e.I?new J(e):void 0}function Q(e,t){if(!M(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(ne(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.A)throw Error("A custom element is already being defined.")}function ee(e,t,n){var o;e.A=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(e){var t=r[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},s=i("connectedCallback"),a=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(u){throw u}finally{e.A=!1}return e.u.set(t,n={localName:t,constructorFunction:n,connectedCallback:s,disconnectedCallback:a,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]}),e.C.set(n.constructorFunction,n),n}function te(e){if(!1!==e.i){e.i=!1;for(var t=[],n=e.v,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(U(e.h,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):e.u.has(r)&&t.push(n)}}}),r=0;r<t.length;r++)q(e.h,t[r]);for(r=0;r<n.length;r++){for(var i=n[r],s=o.get(i),a=0;a<s.length;a++)q(e.h,s[a]);(i=e.B.get(i))&&i.resolve(void 0)}n.length=0}}function ne(e,t){var n=e.u.get(t);if(n)return n;if(n=e.s.get(t)){e.s.delete(t);try{return ee(e,t,n())}catch(o){$(o)}}}function oe(e,t,n){function o(t){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],s=0;s<o.length;s++){var a=o[s];if(a instanceof Element&&A(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(t.apply(this,o),o=0;o<i.length;o++)G(e,i[o]);if(A(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&B(e,i)}}void 0!==n.prepend&&(t.prepend=o(n.prepend)),void 0!==n.append&&(t.append=o(n.append))}F.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(n){$(n)}},F.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(n){$(n)}},F.prototype.attributeChangedCallback=function(e,t,n,o,r){var i=e.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t))try{i.attributeChangedCallback.call(e,t,n,o,r)}catch(s){$(s)}},X.prototype.resolve=function(e){if(this.g)throw Error("Already resolved.");this.g=e,this.l(e)},J.prototype.G=function(e){var t=this.g.readyState;for("interactive"!==t&&"complete"!==t||Y(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,o=0;o<n.length;o++)U(this.h,n[o])},K.prototype.H=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,e),this.s.set(e,t),this.v.push(e),this.i||(this.i=!0,this.o((function(){return te(n)})))},K.prototype.define=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,e),ee(this,e,t),this.v.push(e),this.i||(this.i=!0,this.o((function(){return te(n)})))},K.prototype.upgrade=function(e){U(this.h,e)},K.prototype.get=function(e){if(e=ne(this,e))return e.constructorFunction},K.prototype.whenDefined=function(e){if(!M(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.B.get(e);if(t)return t.F;t=new X,this.B.set(e,t);var n=this.u.has(e)||this.s.has(e);return e=-1===this.v.indexOf(e),n&&e&&t.resolve(void 0),t.F},K.prototype.polyfillWrapFlushCallback=function(e){this.D&&Y(this.D);var t=this.o;this.o=function(n){return e((function(){return t(n)}))}},window.CustomElementRegistry=K,K.prototype.define=K.prototype.define,K.prototype.upgrade=K.prototype.upgrade,K.prototype.get=K.prototype.get,K.prototype.whenDefined=K.prototype.whenDefined,K.prototype.polyfillDefineLazy=K.prototype.H,K.prototype.polyfillWrapFlushCallback=K.prototype.polyfillWrapFlushCallback;var re={},ie=window.customElements;function se(){var z=new F;!function(t){function n(){var n=this.constructor,o=document.__CE_registry.C.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=e.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,W(t,r),r;var i=r.length-1,s=r[i];if(s===re)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=re,Object.setPrototypeOf(s,n.prototype),W(t,s),s}n.prototype=O.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(z),function(e){Document.prototype.createElement=function(t){return V(e,this,t,null)},Document.prototype.importNode=function(t,o){return t=n.call(this,t,!!o),this.__CE_registry?U(e,t):R(e,t),t},Document.prototype.createElementNS=function(t,n){return V(e,this,n,t)},oe(e,Document.prototype,{prepend:o,append:r})}(z),oe(z,DocumentFragment.prototype,{prepend:i,append:s}),function(e){function t(t,n){Object.defineProperty(t,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&A(this)){o=Array(i);for(var s=0;s<i;s++)o[s]=r[s]}}if(n.set.call(this,t),o)for(t=0;t<o.length;t++)G(e,o[t])}}})}Node.prototype.insertBefore=function(t,n){if(t instanceof DocumentFragment){var o=x(t);if(t=l.call(this,t,n),A(this))for(n=0;n<o.length;n++)B(e,o[n]);return t}return o=t instanceof Element&&A(t),n=l.call(this,t,n),o&&G(e,t),A(this)&&B(e,t),n},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var n=x(t);if(t=c.call(this,t),A(this))for(var o=0;o<n.length;o++)B(e,n[o]);return t}return n=t instanceof Element&&A(t),o=c.call(this,t),n&&G(e,t),A(this)&&B(e,t),o},Node.prototype.cloneNode=function(t){return t=a.call(this,!!t),this.ownerDocument.__CE_registry?U(e,t):R(e,t),t},Node.prototype.removeChild=function(t){var n=t instanceof Element&&A(t),o=u.call(this,t);return n&&G(e,t),o},Node.prototype.replaceChild=function(t,n){if(t instanceof DocumentFragment){var o=x(t);if(t=h.call(this,t,n),A(this))for(G(e,n),n=0;n<o.length;n++)B(e,o[n]);return t}o=t instanceof Element&&A(t);var r=h.call(this,t,n),i=A(this);return i&&G(e,n),o&&G(e,t),i&&B(e,t),r},p&&p.get?t(Node.prototype,p):function(e,t){e.j=!0,e.m.push(t)}(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")},set:function(e){for(;this.firstChild;)u.call(this,this.firstChild);null!=e&&""!==e&&c.call(this,document.createTextNode(e))}})}))}(z),function(e){function n(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var o=this,r=void 0;if(A(this)&&(r=[],H(e,this,(function(e){e!==o&&r.push(e)}))),n.set.call(this,t),r)for(var i=0;i<r.length;i++){var s=r[i];1===s.__CE_state&&e.disconnectedCallback(s)}return this.ownerDocument.__CE_registry?U(e,this):R(e,this),t}})}function o(t,n){t.insertAdjacentElement=function(t,o){var r=A(o);return t=n.call(this,t,o),r&&G(e,o),A(t)&&B(e,o),t}}function r(t,n){function o(t,n){for(var o=[];t!==n;t=t.nextSibling)o.push(t);for(n=0;n<o.length;n++)U(e,o[n])}t.insertAdjacentHTML=function(e,t){if("beforebegin"===(e=e.toLowerCase())){var r=this.previousSibling;n.call(this,e,t),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===e)r=this.firstChild,n.call(this,e,t),o(this.firstChild,r);else if("beforeend"===e)r=this.lastChild,n.call(this,e,t),o(r||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,e,t),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(t){if(t=f.call(this,t),e.j&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.m.length;n++)e.m[n](t)}return this.__CE_shadowRoot=t}),d&&d.get?n(Element.prototype,d):P&&P.get?n(HTMLElement.prototype,P):function(e,t){e.j=!0,e.g.push(t)}(e,(function(e){n(e,{enumerable:!0,configurable:!0,get:function(){return a.call(this,!0).innerHTML},set:function(e){var n="template"===this.localName,o=n?this.content:this,r=t.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<o.childNodes.length;)u.call(o,o.childNodes[0]);for(e=n?r.content:r;0<e.childNodes.length;)c.call(o,e.childNodes[0])}})})),Element.prototype.setAttribute=function(t,n){if(1!==this.__CE_state)return g.call(this,t,n);var o=m.call(this,t);g.call(this,t,n),n=m.call(this,t),e.attributeChangedCallback(this,t,o,n,null)},Element.prototype.setAttributeNS=function(t,n,o){if(1!==this.__CE_state)return v.call(this,t,n,o);var r=_.call(this,t,n);v.call(this,t,n,o),o=_.call(this,t,n),e.attributeChangedCallback(this,n,r,o,t)},Element.prototype.removeAttribute=function(t){if(1!==this.__CE_state)return y.call(this,t);var n=m.call(this,t);y.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)},Element.prototype.removeAttributeNS=function(t,n){if(1!==this.__CE_state)return b.call(this,t,n);var o=_.call(this,t,n);b.call(this,t,n);var r=_.call(this,t,n);o!==r&&e.attributeChangedCallback(this,n,o,r,t)},N?o(HTMLElement.prototype,N):k&&o(Element.prototype,k),j?r(HTMLElement.prototype,j):E&&r(Element.prototype,E),oe(e,Element.prototype,{prepend:w,append:T}),function(e){function t(t){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],s=0;s<o.length;s++){var a=o[s];if(a instanceof Element&&A(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(t.apply(this,o),o=0;o<i.length;o++)G(e,i[o]);if(A(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&B(e,i)}}var n=Element.prototype;void 0!==C&&(n.before=t(C)),void 0!==S&&(n.after=t(S)),void 0!==D&&(n.replaceWith=function(t){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var s=n[i];if(s instanceof Element&&A(s)&&r.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(i=A(this),D.apply(this,n),n=0;n<r.length;n++)G(e,r[n]);if(i)for(G(e,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&B(e,r)}),void 0!==Z&&(n.remove=function(){var t=A(this);Z.call(this),t&&G(e,this)})}(e)}(z),z=new K(z),document.__CE_registry=z,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:z})}ie&&!ie.forcePolyfill&&"function"==typeof ie.define&&"function"==typeof ie.get||se(),window.__CE_installPolyfill=se}).call(self)},"hN/g":function(e,t,n){"use strict";n.r(t),n("nf2o"),n("5MeN"),n("UGdZ")},nf2o: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 i(e){return r+e}const s=!0===e[i("forceDuplicateZoneCheck")];if(e.Zone){if(s||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class a{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!==O.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=a.current;for(;e.parent;)e=e.parent;return e}static get current(){return N.zone}static get currentTask(){return j}static __load_patch(t,r){if(O.hasOwnProperty(t)){if(s)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const i="Zone:"+t;n(i),O[t]=r(e,a,P),o(i,i)}}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){N={parent:N,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{N=N.parent}}runGuarded(e,t=null,n,o){N={parent:N,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{N=N.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===b&&(e.type===Z||e.type===D))return;const o=e.state!=w;o&&e._transitionTo(w,E),e.runCount++;const r=j;j=e,N={parent:N,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==b&&e.state!==C&&(e.type==Z||e.data&&e.data.isPeriodic?o&&e._transitionTo(E,w):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(b,w,b))),N=N.parent,j=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,b);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(C,k,b),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(E,k),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(Z,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(T,E,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(C,T),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(b,T),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)}}a.__symbol__=i;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,i)=>e.invokeTask(n,o,r,i),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 a(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!=S)throw new Error("Task is missing scheduleFn.");y(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,i,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=i,this.cancelFn=s,!o)throw new Error("callback is not defined");this.callback=o;const a=this;this.invoke=t===Z&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),z++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==z&&_(),z--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,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==b&&(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=i("setTimeout"),p=i("Promise"),f=i("then");let d,m=[],g=!1;function y(t){if(0===z&&0===m.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,_)}else e[h](_,0);t&&m.push(t)}function _(){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){P.onUnhandledError(e)}}}P.microtaskDrainDone(),g=!1}}const v={name:"NO ZONE"},b="notScheduled",k="scheduling",E="scheduled",w="running",T="canceling",C="unknown",S="microTask",D="macroTask",Z="eventTask",O={},P={symbol:i,currentZoneFrame:()=>N,onUnhandledError:M,microtaskDrainDone:M,scheduleMicroTask:y,showUncaughtError:()=>!a[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:M,patchMethod:()=>M,bindArguments:()=>[],patchThen:()=>M,patchMacroTask:()=>M,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>M,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>M,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>M,wrapWithCurrentZone:()=>M,filterProperties:()=>[],attachOriginToPatched:()=>M,_redefineProperty:()=>M,patchCallbacks:()=>M};let N={parent:null,zone:new a(null,null)},j=null,z=0;function M(){}o("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=n.symbol,s=[],a=!0===e[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),l=i("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(;s.length;){const t=s.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=i("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 D.reject(e)}const m=i("state"),g=i("value"),y=i("finally"),_=i("parentPromiseValue"),v=i("parentPromiseState");function b(e,t){return n=>{try{E(e,t,n)}catch(o){E(e,!1,o)}}}const k=i("currentTaskTrace");function E(e,o,i){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===i)throw new TypeError("Promise resolved with itself");if(null===e[m]){let h=null;try{"object"!=typeof i&&"function"!=typeof i||(h=i&&i.then)}catch(u){return c(()=>{E(e,!1,u)})(),e}if(!1!==o&&i instanceof D&&i.hasOwnProperty(m)&&i.hasOwnProperty(g)&&null!==i[m])T(i),E(e,i[m],i[g]);else if(!1!==o&&"function"==typeof h)try{h.call(i,c(b(e,o)),c(b(e,!1)))}catch(u){c(()=>{E(e,!1,u)})()}else{e[m]=o;const c=e[g];if(e[g]=i,e[y]===y&&!0===o&&(e[m]=e[v],e[g]=e[_]),!1===o&&i instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(i,k,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<c.length;)C(e,c[t++],c[t++],c[t++],c[t++]);if(0==c.length&&0==o){e[m]=0;let o=i;if(!a)try{throw new Error("Uncaught (in promise): "+((l=i)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(i&&i.stack?"\n"+i.stack:""))}catch(u){o=u}o.rejection=i,o.promise=e,o.zone=t.current,o.task=t.currentTask,s.push(o),n.scheduleMicroTask()}}}var l;return e}const w=i("rejectionHandledHandler");function T(e){if(0===e[m]){try{const n=t[w];n&&"function"==typeof n&&n.call(this,{rejection:e[g],promise:e})}catch(n){}e[m]=!1;for(let t=0;t<s.length;t++)e===s[t].promise&&s.splice(t,1)}}function C(e,t,n,o,r){T(e);const i=e[m],s=i?"function"==typeof o?o:f:"function"==typeof r?r:d;t.scheduleMicroTask("Promise.then",()=>{try{const o=e[g],r=!!n&&y===n[y];r&&(n[_]=o,n[v]=i);const a=t.run(s,void 0,r&&s!==d&&s!==f?[]:[o]);E(n,!0,a)}catch(o){E(n,!1,o)}},n)}const S=function(){};class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return E(new this(null),!0,e)}static reject(e){return E(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function i(e){n(e)}for(let s of e)p(s)||(s=this.resolve(s)),s.then(r,i);return o}static all(e){return D.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof D?this:D).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}),i=2,s=0;const a=[];for(let l of e){p(l)||(l=this.resolve(l));const e=s;try{l.then(o=>{a[e]=t?t.thenCallback(o):o,i--,0===i&&n(a)},r=>{t?(a[e]=t.errorCallback(r),i--,0===i&&n(a)):o(r)})}catch(c){o(c)}i++,s++}return i-=2,0===i&&n(a),r}constructor(e){const t=this;if(!(t instanceof D))throw new Error("Must be an instanceof Promise.");t[m]=null,t[g]=[];try{e&&e(b(t,!0),b(t,!1))}catch(n){E(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||D);const r=new o(S),i=t.current;return null==this[m]?this[g].push(i,r,e,n):C(this,i,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=D);const o=new n(S);o[y]=y;const r=t.current;return null==this[m]?this[g].push(r,o,e,e):C(this,r,o,e,e),o}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const Z=e[c]=e.Promise,O=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[O]?e[O]:e[c]},P.set=function(t){t===D?e[O]=t:(e[c]=t,t.prototype[l]||j(t),n.setNativePromise(t))},r(e,"Promise",P)),e.Promise=D;const N=i("thenPatched");function j(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 D((e,t)=>{r.call(this,e,t)}).then(e,t)},e[N]=!0}if(n.patchThen=j,Z){j(Z);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(z=t,function(){let e=z.apply(this,arguments);if(e instanceof D)return e;let t=e.constructor;return t[N]||j(t),e}))}var z;return Promise[t.__symbol__("uncaughtPromiseErrors")]=s,D});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,i=Zone.__symbol__("addEventListener"),s=Zone.__symbol__("removeEventListener"),a=Zone.__symbol__("");function c(e,t){return Zone.current.wrap(e,t)}function l(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function m(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=c(e[n],t+"_"+n));return e}function g(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,_=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),v=!_&&!y&&!(!h||!p.HTMLElement),b=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!y&&!(!h||!p.HTMLElement),k={},E=function(e){if(!(e=e||f.event))return;let t=k[e.type];t||(t=k[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,o=n[t];let r;if(v&&n===p&&"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 w(n,o,r){let i=e(n,o);if(!i&&r&&e(r,o)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const s=u("on"+o+"patched");if(n.hasOwnProperty(s)&&n[s])return;delete i.writable,delete i.value;const a=i.get,c=i.set,l=o.substr(2);let h=k[l];h||(h=k[l]=u("ON_PROPERTY"+l)),i.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(l,E),c&&c.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(l,E,!1)):t[h]=null)},i.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(a){let t=a&&a.call(this);if(t)return i.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,i),n[s]=!0}function T(e,t,n){if(t)for(let o=0;o<t.length;o++)w(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++)w(e,t[o],n)}}const C=u("originalInstance");function S(e){const n=f[e];if(!n)return;f[u(e)]=n,f[e]=function(){const t=m(arguments,e);switch(t.length){case 0:this[C]=new n;break;case 1:this[C]=new n(t[0]);break;case 2:this[C]=new n(t[0],t[1]);break;case 3:this[C]=new n(t[0],t[1],t[2]);break;case 4:this[C]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},O(f[e],n);const o=new n((function(){}));let r;for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof o[n]?f[e].prototype[n]=function(){return this[C][n].apply(this[C],arguments)}:t(f[e].prototype,n,{set:function(t){"function"==typeof t?(this[C][n]=c(t,e+"."+n),O(this[C][n],t)):this[C][n]=t},get:function(){return this[C][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(f[e][r]=n[r])}function D(t,o,r){let i=t;for(;i&&!i.hasOwnProperty(o);)i=n(i);!i&&t[o]&&(i=t);const s=u(o);let a=null;if(i&&!(a=i[s])&&(a=i[s]=i[o],g(i&&e(i,o)))){const e=r(a,s,o);i[o]=function(){return e(this,arguments)},O(i[o],a)}return a}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=D(e,t,e=>function(t,o){const i=n(t,o);return i.cbIdx>=0&&"function"==typeof o[i.cbIdx]?l(i.name,o[i.cbIdx],i,r):e.apply(t,o)})}function O(e,t){e[u("OriginalDelegate")]=t}let P=!1,N=!1;function j(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function z(){if(P)return N;P=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(N=!0)}catch(e){}return N}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),o=u("Promise"),r=u("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);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)};i[n]=t,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":s.call(this)}});let M=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){M=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ae){M=!1}const L={useG:!0},A={},x={},I=new RegExp("^"+a+"(\\w+)(true|false)$"),F=u("propagationStopped");function H(e,t){const n=(t?t(e):e)+"false",o=(t?t(e):e)+"true",r=a+n,i=a+o;A[e]={},A[e].false=r,A[e].true=i}function R(e,t,o){const r=o&&o.add||"addEventListener",i=o&&o.rm||"removeEventListener",s=o&&o.listeners||"eventListeners",c=o&&o.rmAll||"removeAllListeners",l=u(r),h="."+r+":",p=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[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[A[t.type].false];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[F]);o++)p(e[o],n,t)}},d=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[A[t.type].true];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[F]);o++)p(e[o],n,t)}};function m(t,o){if(!t)return!1;let p=!0;o&&void 0!==o.useG&&(p=o.useG);const m=o&&o.vh;let g=!0;o&&void 0!==o.chkDup&&(g=o.chkDup);let y=!1;o&&void 0!==o.rt&&(y=o.rt);let v=t;for(;v&&!v.hasOwnProperty(r);)v=n(v);if(!v&&t[r]&&(v=t),!v)return!1;if(v[l])return!1;const b=o&&o.eventNameToString,k={},E=v[l]=v[r],w=v[u(i)]=v[i],T=v[u(s)]=v[s],C=v[u(c)]=v[c];let S;function D(e,t){return!M&&"object"==typeof e&&e?!!e.capture:M&&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=v[u(o.prepend)]=v[o.prepend]);const Z=p?function(e){if(!k.isExisting)return E.call(k.target,k.eventName,k.capture?d:f,k.options)}:function(e){return E.call(k.target,k.eventName,e.invoke,k.options)},P=p?function(e){if(!e.isRemoved){const t=A[e.eventName];let n;t&&(n=t[e.capture?"true":"false"]);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 w.call(e.target,e.eventName,e.capture?d:f,e.options)}:function(e){return w.call(e.target,e.eventName,e.invoke,e.options)},N=o&&o.diff?o.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},j=Zone[u("BLACK_LISTED_EVENTS")],z=e[u("PASSIVE_EVENTS")],F=function(t,n,r,i,s=!1,a=!1){return function(){const c=this||e;let l=arguments[0];o&&o.transferEventName&&(l=o.transferEventName(l));let u=arguments[1];if(!u)return t.apply(this,arguments);if(_&&"uncaughtException"===l)return t.apply(this,arguments);let h=!1;if("function"!=typeof u){if(!u.handleEvent)return t.apply(this,arguments);h=!0}if(m&&!m(t,u,c,arguments))return;const f=M&&!!z&&-1!==z.indexOf(l),d=D(arguments[2],f);if(j)for(let e=0;e<j.length;e++)if(l===j[e])return f?t.call(c,l,u,d):t.apply(this,arguments);const y=!!d&&("boolean"==typeof d||d.capture),v=!(!d||"object"!=typeof d)&&d.once,E=Zone.current;let w=A[l];w||(H(l,b),w=A[l]);const T=w[y?"true":"false"];let C,S=c[T],Z=!1;if(S){if(Z=!0,g)for(let e=0;e<S.length;e++)if(N(S[e],u))return}else S=c[T]=[];const O=c.constructor.name,P=x[O];P&&(C=P[l]),C||(C=O+n+(b?b(l):l)),k.options=d,v&&(k.options.once=!1),k.target=c,k.capture=y,k.eventName=l,k.isExisting=Z;const I=p?L:void 0;I&&(I.taskData=k);const F=E.scheduleEventTask(C,u,I,r,i);return k.target=null,I&&(I.taskData=null),v&&(d.once=!0),(M||"boolean"!=typeof F.options)&&(F.options=d),F.target=c,F.capture=y,F.eventName=l,h&&(F.originalDelegate=u),a?S.unshift(F):S.push(F),s?c:void 0}};return v[r]=F(E,h,Z,P,y),S&&(v.prependListener=F(S,".prependListener:",(function(e){return S.call(k.target,k.eventName,e.invoke,k.options)}),P,y,!0)),v[i]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=arguments[2],i=!!r&&("boolean"==typeof r||r.capture),s=arguments[1];if(!s)return w.apply(this,arguments);if(m&&!m(w,s,t,arguments))return;const c=A[n];let l;c&&(l=c[i?"true":"false"]);const u=l&&t[l];if(u)for(let e=0;e<u.length;e++){const o=u[e];if(N(o,s))return u.splice(e,1),o.isRemoved=!0,0===u.length&&(o.allRemoved=!0,t[l]=null,"string"==typeof n)&&(t[a+"ON_PROPERTY"+n]=null),o.zone.cancelTask(o),y?t:void 0}return w.apply(this,arguments)},v[s]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=[],i=W(t,b?b(n):n);for(let e=0;e<i.length;e++){const t=i[e];r.push(t.originalDelegate?t.originalDelegate:t.callback)}return r},v[c]=function(){const t=this||e;let n=arguments[0];if(n){o&&o.transferEventName&&(n=o.transferEventName(n));const e=A[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[i].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[i].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=I.exec(e[t]);let o=n&&n[1];o&&"removeListener"!==o&&this[c].call(this,o)}this[c].call(this,"removeListener")}if(y)return this},O(v[r],E),O(v[i],w),C&&O(v[c],C),T&&O(v[s],T),!0}let g=[];for(let n=0;n<t.length;n++)g[n]=m(t[n],o);return g}function W(e,t){if(!t){const n=[];for(let o in e){const r=I.exec(o);let i=r&&r[1];if(i&&(!t||i===t)){const t=e[o];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=A[t];n||(H(t),n=A[t]);const o=e[n.false],r=e[n.true];return o?r?o.concat(r):o.slice():r?r.slice():[]}function B(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[F]=!0,e&&e.apply(t,n)})}function G(e,t,n,o,r){const i=Zone.__symbol__(o);if(t[i])return;const s=t[i]=t[o];t[o]=function(i,a,c){return a&&a.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,i=a.prototype;if(i.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(i,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],r))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],r))})),s.call(t,i,a,c)},e.attachOriginToPatched(t[o],s)}const U=["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"],q=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],V=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Y=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],K=["close","error","open","message"],Q=["error","message"],ee=["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"],U,["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 te(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 ne(e,t,n,o){e&&T(e,te(e,t,n),o)}function oe(e,t){if(_&&!b)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(v){const e=window,t=j?[{target:e,ignoreProperties:["error"]}]:[];ne(e,ee.concat(["messageerror"]),r?r.concat(t):r,n(e)),ne(Document.prototype,ee,r),void 0!==e.SVGElement&&ne(e.SVGElement.prototype,ee,r),ne(Element.prototype,ee,r),ne(HTMLElement.prototype,ee,r),ne(HTMLMediaElement.prototype,q,r),ne(HTMLFrameSetElement.prototype,U.concat($),r),ne(HTMLBodyElement.prototype,U.concat($),r),ne(HTMLFrameElement.prototype,V,r),ne(HTMLIFrameElement.prototype,V,r);const o=e.HTMLMarqueeElement;o&&ne(o.prototype,X,r);const i=e.Worker;i&&ne(i.prototype,Q,r)}const i=t.XMLHttpRequest;i&&ne(i.prototype,J,r);const s=t.XMLHttpRequestEventTarget;s&&ne(s&&s.prototype,J,r),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,Y,r),ne(IDBRequest.prototype,Y,r),ne(IDBOpenDBRequest.prototype,Y,r),ne(IDBDatabase.prototype,Y,r),ne(IDBTransaction.prototype,Y,r),ne(IDBCursor.prototype,Y,r)),o&&ne(WebSocket.prototype,K,r)}Zone.__load_patch("util",(n,i,s)=>{s.patchOnProperties=T,s.patchMethod=D,s.bindArguments=m,s.patchMacroTask=Z;const l=i.__symbol__("BLACK_LISTED_EVENTS"),u=i.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(i[l]=i[u]=n[l]),s.patchEventPrototype=B,s.patchEventTarget=R,s.isIEOrEdge=z,s.ObjectDefineProperty=t,s.ObjectGetOwnPropertyDescriptor=e,s.ObjectCreate=o,s.ArraySlice=r,s.patchClass=S,s.wrapWithCurrentZone=c,s.filterProperties=te,s.attachOriginToPatched=O,s._redefineProperty=Object.defineProperty,s.patchCallbacks=G,s.getGlobalObjects=()=>({globalSources:x,zoneSymbolEventNames:A,eventNames:ee,isBrowser:v,isMix:b,isNode:_,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:a,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const re=u("zoneTask");function ie(e,t,n,o){let r=null,i=null;n+=o;const s={};function a(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 s[n.handleId]:n.handleId&&(n.handleId[re]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return i(e.data.handleId)}r=D(e,t+=o,n=>function(r,i){if("function"==typeof i[0]){const e=l(t,i[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?i[1]||0:void 0,args:i},a,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?s[n]=e:n&&(n[re]=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,i)}),i=D(e,n,t=>function(n,o){const r=o[0];let i;"number"==typeof r?i=s[r]:(i=r&&r[re],i||(i=r)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof r?delete s[r]:r&&(r[re]=null),i.zone.cancelTask(i)):t.apply(e,o)})}function se(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=s+(e+i),a=s+(e+r);o[e]={},o[e][i]=t,o[e][r]=a}const a=e.EventTarget;return a&&a.prototype?(t.patchEventTarget(e,[a&&a.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{ie(e,"set","clear","Timeout"),ie(e,"set","clear","Interval"),ie(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ie(e,"request","cancel","AnimationFrame"),ie(e,"mozRequest","mozCancel","AnimationFrame"),ie(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)D(e,n[o],(n,o,r)=>function(o,i){return t.current.run(n,e,i,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),se(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{oe(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 p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[i],m=f[s];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[i],m=e[s]}}function g(e){const o=e.data,c=o.target;c[a]=!1,c[h]=!1;const l=c[r];d||(d=c[i],m=c[s]),l&&m.call(c,"readystatechange",l);const u=c[r]=()=>{if(c.readyState===c.DONE)if(!o.aborted&&c[a]&&"scheduled"===e.state){const n=c[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=c[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);o.aborted||"scheduled"!==e.state||r.call(e)},n.push(e)}else e.invoke()}else o.aborted||!1!==c[a]||(c[h]=!0)};return d.call(c,"readystatechange",u),c[n]||(c[n]=e),E.apply(c,o.args),c[a]=!0,e}function y(){}function _(e){const t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}const v=D(f,"open",()=>function(e,t){return e[o]=0==t[2],e[c]=t[1],v.apply(e,t)}),b=u("fetchTaskAborting"),k=u("fetchTaskScheduling"),E=D(f,"send",()=>function(e,n){if(!0===t.current[k])return E.apply(e,n);if(e[o])return E.apply(e,n);{const t={target:e,url:e[c],isPeriodic:!1,args:n,aborted:!1},o=l("XMLHttpRequest.send",y,t,g,_);e&&!0===e[h]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),w=D(f,"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 w.apply(e,o)})}(e);const n=u("xhrTask"),o=u("xhrSync"),r=u("xhrListener"),a=u("xhrScheduled"),c=u("xhrURL"),h=u("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 i=n[r],s=t[i];if(s){if(!g(e(t,i)))continue;t[i]=(e=>{const t=function(){return e.apply(this,m(arguments,o+"."+i))};return O(t,e),t})(s)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){W(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[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[2,0]]]);
3
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let i=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function s(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(o.useDeprecatedSynchronousErrorHandling)throw t;s(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let d=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(r(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(a){e=a instanceof u?h(a.errors):[a]}}if(l(s)){let t=-1,n=s.length;for(;++t<n;){const n=s[t];if(c(n))try{n.unsubscribe()}catch(a){e=e||[],a instanceof u?e=e.concat(h(a.errors)):e.push(a)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function h(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends d{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,i){let o;super(),this._parentSubscriber=t;let s=this;r(e)?o=e:e&&(o=e.next,n=e.error,i=e.complete,e!==a&&(s=Object.create(e),r(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):s(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;s(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;s(n)}}__tryOrSetError(t,e,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(s(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,i=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),o.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){o.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=b(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=b(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function b(t){if(t||(t=o.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class v extends d{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let x=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new O(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].next(t)}}error(t){if(this.closed)throw new w;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new w;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new w;return this.hasError?(t.error(this.thrownError),d.EMPTY):this.isStopped?(t.complete(),d.EMPTY):(this.observers.push(t),new v(this,t))}asObservable(){const t=new _;return t.source=this,t}}return t.create=(t,e)=>new O(t,e),t})();class O extends x{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):d.EMPTY}}function E(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new T(t,e))}}class T{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new I(t,this.project,this.thisArg))}}class I extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const M=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function k(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const P=k(),D=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function A(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const S=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(D(t))return M(t);if(A(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s),t);if(t&&"function"==typeof t[P])return e=t,t=>{const n=e[P]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function V(t,e){return new _(n=>{const r=new d;let i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function N(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new _(n=>{const r=new d;return r.add(e.schedule(()=>{const i=t[m]();r.add(i.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(A(t))return function(t,e){return new _(n=>{const r=new d;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(D(t))return V(t,e);if(function(t){return t&&"function"==typeof t[P]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const r=new d;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[P](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(S(t))}class R extends f{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}class H{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new j(t,this.project,this.concurrent))}}class j extends F{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e)}_innerSub(t){const e=new R(this),n=this.destination;n.add(e);const r=function(t,e){if(e.closed)return;if(t instanceof _)return t.subscribe(e);let n;try{n=S(t)(e)}catch(r){e.error(r)}return n}(t,e);r!==e&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function z(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];var i;return(i=r)&&"function"==typeof i.schedule?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:function(t=Number.POSITIVE_INFINITY){return function t(e,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(t((t,r)=>N(e(t,r)).pipe(E((e,i)=>n(t,e,r,i))),r)):("number"==typeof n&&(r=n),t=>t.lift(new H(e,r)))}(y,t)}(e)(function(t,e){return e?V(t,e):new _(M(t))}(t,n))}function L(){return function(t){return t.lift(new B(t))}}class B{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new U(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class U extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class $ extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new d,t.add(this.source.subscribe(new G(this.getSubject(),this))),t.closed&&(this._connection=null,t=d.EMPTY)),t}refCount(){return L()(this)}}const q=(()=>{const t=$.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class G extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function Z(){return new x}function W(t){return{toString:t}.toString()}function Q(t,e,n){return W(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}const K=Q("Inject",t=>({token:t})),J=Q("Optional"),Y=Q("Self"),X=Q("SkipSelf");var tt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function et(t){for(let e in t)if(t[e]===et)return e;throw Error("Could not find renamed property on target object.")}function nt(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function rt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function it(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ot(t){return st(t,t[lt])||st(t,t[dt])}function st(t,e){return e&&e.token===t?e:null}function at(t){return t&&(t.hasOwnProperty(ct)||t.hasOwnProperty(ht))?t[ct]:null}const lt=et({"\u0275prov":et}),ct=et({"\u0275inj":et}),ut=et({"\u0275provFallback":et}),dt=et({ngInjectableDef:et}),ht=et({ngInjectorDef:et});function pt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(pt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function ft(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const gt=et({__forward_ref__:et});function mt(t){return t.__forward_ref__=mt,t.toString=function(){return pt(this())},t}function yt(t){return _t(t)?t():t}function _t(t){return"function"==typeof t&&t.hasOwnProperty(gt)&&t.__forward_ref__===mt}const bt="undefined"!=typeof globalThis&&globalThis,wt="undefined"!=typeof window&&window,vt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ct="undefined"!=typeof global&&global,xt=bt||Ct||wt||vt,Ot=et({"\u0275cmp":et}),Et=et({"\u0275dir":et}),Tt=et({"\u0275pipe":et}),It=et({"\u0275mod":et}),Mt=et({"\u0275loc":et}),kt=et({"\u0275fac":et}),Pt=et({__NG_ELEMENT_ID__:et});class Dt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=rt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const At=new Dt("INJECTOR",-1),St={},Vt=/\n/gm,Nt=et({provide:String,useValue:et});let Rt,Ft=void 0;function Ht(t){const e=Ft;return Ft=t,e}function jt(t){const e=Rt;return Rt=t,e}function zt(t,e=tt.Default){if(void 0===Ft)throw new Error("inject() must be called from an injection context");return null===Ft?Bt(t,void 0,e):Ft.get(t,e&tt.Optional?null:void 0,e)}function Lt(t,e=tt.Default){return(Rt||zt)(yt(t),e)}function Bt(t,e,n){const r=ot(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&tt.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${pt(t)}]`)}function Ut(t){const e=[];for(let n=0;n<t.length;n++){const r=yt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=tt.Default;for(let e=0;e<r.length;e++){const i=r[e];i instanceof J||"Optional"===i.ngMetadataName||i===J?n|=tt.Optional:i instanceof X||"SkipSelf"===i.ngMetadataName||i===X?n|=tt.SkipSelf:i instanceof Y||"Self"===i.ngMetadataName||i===Y?n|=tt.Self:t=i instanceof K||i===K?i.token:i}e.push(Lt(t,n))}else e.push(Lt(r))}return e}class $t{get(t,e=St){if(e===St){const e=new Error(`NullInjectorError: No provider for ${pt(t)}!`);throw e.name="NullInjectorError",e}return e}}class qt{}function Gt(t,e){t.forEach(t=>Array.isArray(t)?Gt(t,e):e(t))}function Zt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Wt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Qt(t,e,n){let r=Jt(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Kt(t,e){const n=Jt(t,e);if(n>=0)return t[1|n]}function Jt(t,e){return function(t,e,n){let r=0,i=t.length>>1;for(;i!==r;){const n=r+(i-r>>1),o=t[n<<1];if(e===o)return n<<1;o>e?i=n:r=n+1}return~(i<<1)}(t,e)}const Yt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),Xt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),te={},ee=[];let ne=0;function re(t){return W(()=>{const e=t.type,n=e.prototype,r={},i={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===Yt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||ee,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Xt.Emulated,id:"c",styles:t.styles||ee,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,s=t.features,a=t.pipes;return i.id+=ne++,i.inputs=le(t.inputs,r),i.outputs=le(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(ie):null,i.pipeDefs=a?()=>("function"==typeof a?a():a).map(oe):null,i})}function ie(t){return de(t)||function(t){return t[Et]||null}(t)}function oe(t){return function(t){return t[Tt]||null}(t)}const se={};function ae(t){const e={type:t.type,bootstrap:t.bootstrap||ee,declarations:t.declarations||ee,imports:t.imports||ee,exports:t.exports||ee,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&W(()=>{se[t.id]=t.type}),e}function le(t,e){if(null==t)return te;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}const ce=re;function ue(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function de(t){return t[Ot]||null}function he(t,e){return t.hasOwnProperty(kt)?t[kt]:null}function pe(t,e){const n=t[It]||null;if(!n&&!0===e)throw new Error(`Type ${pt(t)} does not have '\u0275mod' property.`);return n}function fe(t){return Array.isArray(t)&&"object"==typeof t[1]}function ge(t){return Array.isArray(t)&&!0===t[1]}function me(t){return 0!=(8&t.flags)}function ye(t){return 2==(2&t.flags)}function _e(t){return 1==(1&t.flags)}function be(t){return null!==t.template}function we(t){return 0!=(512&t[2])}let ve=void 0;function Ce(){return void 0!==ve?ve:"undefined"!=typeof document?document:void 0}function xe(t){return!!t.listen}const Oe={createRenderer:(t,e)=>Ce()};function Ee(t){for(;Array.isArray(t);)t=t[0];return t}function Te(t,e){return Ee(e[t+20])}function Ie(t,e){return Ee(e[t.index])}function Me(t,e){return t.data[e+20]}function ke(t,e){return t[e+20]}function Pe(t,e){const n=e[t];return fe(n)?n:n[0]}function De(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ae(t){return 4==(4&t[2])}function Se(t){return 128==(128&t[2])}function Ve(t,e){return null===t||null==e?null:t[e]}function Ne(t){t[18]=0}function Re(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Fe={lFrame:on(null),bindingsEnabled:!0,checkNoChangesMode:!1};function He(){return Fe.bindingsEnabled}function je(){return Fe.lFrame.lView}function ze(){return Fe.lFrame.tView}function Le(t){Fe.lFrame.contextLView=t}function Be(){return Fe.lFrame.previousOrParentTNode}function Ue(t,e){Fe.lFrame.previousOrParentTNode=t,Fe.lFrame.isParent=e}function $e(){return Fe.lFrame.isParent}function qe(){Fe.lFrame.isParent=!1}function Ge(){return Fe.checkNoChangesMode}function Ze(t){Fe.checkNoChangesMode=t}function We(){const t=Fe.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qe(){return Fe.lFrame.bindingIndex++}function Ke(t){const e=Fe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Je(t,e){const n=Fe.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ye(e)}function Ye(t){Fe.lFrame.currentDirectiveIndex=t}function Xe(){return Fe.lFrame.currentQueryIndex}function tn(t){Fe.lFrame.currentQueryIndex=t}function en(t,e){const n=rn();Fe.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function nn(t,e){const n=rn(),r=t[1];Fe.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function rn(){const t=Fe.lFrame,e=null===t?null:t.child;return null===e?on(t):e}function on(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function sn(){const t=Fe.lFrame;return Fe.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const an=sn;function ln(){const t=sn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function cn(){return Fe.lFrame.selectedIndex}function un(t){Fe.lFrame.selectedIndex=t}function dn(){const t=Fe.lFrame;return Me(t.tView,t.selectedIndex)}function hn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function pn(t,e,n){mn(t,e,3,n)}function fn(t,e,n,r){(3&t[2])===n&&mn(t,e,n,r)}function gn(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function mn(t,e,n,r){const i=null!=r?r:-1;let o=0;for(let s=void 0!==r?65535&t[18]:0;s<e.length;s++)if("number"==typeof e[s+1]){if(o=e[s],null!=r&&o>=r)break}else e[s]<0&&(t[18]+=65536),(o<i||-1==i)&&(yn(t,n,e,s),t[18]=(4294901760&t[18])+s+2),s++}function yn(t,e,n,r){const i=n[r]<0,o=n[r+1],s=t[i?-n[r]:n[r]];i?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,o.call(s)):o.call(s)}class _n{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function bn(t,e,n){const r=xe(t);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],l=n[i++];r?t.setAttribute(e,a,l,s):e.setAttributeNS(s,a,l)}else{const s=o,a=n[++i];wn(s)?r&&t.setProperty(e,s,a):r?t.setAttribute(e,s,a):e.setAttribute(s,a),i++}}return i}function wn(t){return 64===t.charCodeAt(0)}function vn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||Cn(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function Cn(t,e,n,r,i){let o=0,s=t.length;if(-1===e)s=-1;else for(;o<t.length;){const n=t[o++];if("number"==typeof n){if(n===e){s=-1;break}if(n>e){s=o-1;break}}}for(;o<t.length;){const e=t[o];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==i&&(t[o+1]=i));if(r===t[o+1])return void(t[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),null!==r&&t.splice(o++,0,r),null!==i&&t.splice(o++,0,i)}function xn(t){return-1!==t}function On(t){return 32767&t}function En(t){return t>>16}function Tn(t,e){let n=En(t),r=e;for(;n>0;)r=r[15],n--;return r}function In(t){return"string"==typeof t?t:null==t?"":""+t}function Mn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():In(t)}const kn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(xt))();function Pn(t){return t instanceof Function?t():t}let Dn=!0;function An(t){const e=Dn;return Dn=t,e}let Sn=0;function Vn(t,e){const n=Rn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Nn(r.data,t),Nn(e,null),Nn(r.blueprint,null));const i=Fn(t,e),o=t.injectorIndex;if(xn(i)){const t=On(i),n=Tn(i,e),r=n[1].data;for(let i=0;i<8;i++)e[o+i]=n[t+i]|r[t+i]}return e[o+8]=i,o}function Nn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Rn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Fn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Hn(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[Pt]:n.charCodeAt(0)||0;null==r&&(r=n[Pt]=Sn++);const i=255&r,o=1<<i,s=64&i,a=32&i,l=e.data;128&i?s?a?l[t+7]|=o:l[t+6]|=o:a?l[t+5]|=o:l[t+4]|=o:s?a?l[t+3]|=o:l[t+2]|=o:a?l[t+1]|=o:l[t]|=o}(t,e,n)}function jn(t,e,n,r=tt.Default,i){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t[Pt];return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof i){en(e,t);try{const t=i();if(null!=t||r&tt.Optional)return t;throw new Error(`No provider for ${Mn(n)}!`)}finally{an()}}else if("number"==typeof i){if(-1===i)return new Gn(t,e);let o=null,s=Rn(t,e),a=-1,l=r&tt.Host?e[16][6]:null;for((-1===s||r&tt.SkipSelf)&&(a=-1===s?Fn(t,e):e[s+8],qn(r,!1)?(o=e[1],s=On(a),e=Tn(a,e)):s=-1);-1!==s;){a=e[s+8];const t=e[1];if($n(i,s,t.data)){const t=Ln(s,e,n,o,r,l);if(t!==zn)return t}qn(r,e[1].data[s+8]===l)&&$n(i,s,e)?(o=t,s=On(a),e=Tn(a,e)):s=-1}}}if(r&tt.Optional&&void 0===i&&(i=null),0==(r&(tt.Self|tt.Host))){const t=e[9],o=jt(void 0);try{return t?t.get(n,i,r&tt.Optional):Bt(n,i,r&tt.Optional)}finally{jt(o)}}if(r&tt.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${Mn(n)}]`)}const zn={};function Ln(t,e,n,r,i,o){const s=e[1],a=s.data[t+8],l=Bn(a,s,n,null==r?ye(a)&&Dn:r!=s&&3===a.type,i&tt.Host&&o===a);return null!==l?Un(e,s,l,a):zn}function Bn(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=65535&o,l=t.directiveStart,c=o>>16,u=i?a+c:t.directiveEnd;for(let d=r?a:a+c;d<u;d++){const t=s[d];if(d<l&&n===t||d>=l&&t.type===n)return d}if(i){const t=s[l];if(t&&be(t)&&t.type===n)return l}return null}function Un(t,e,n,r){let i=t[n];const o=e.data;if(i instanceof _n){const s=i;if(s.resolving)throw new Error("Circular dep for "+Mn(o[n]));const a=An(s.canSeeViewProviders);let l;s.resolving=!0,s.injectImpl&&(l=jt(s.injectImpl)),en(t,r);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{onChanges:r,onInit:i,doCheck:o}=e;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{s.injectImpl&&jt(l),An(a),s.resolving=!1,an()}}return i}function $n(t,e,n){const r=64&t,i=32&t;let o;return o=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(o&1<<t)}function qn(t,e){return!(t&tt.Self||t&tt.Host&&e)}class Gn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return jn(this._tNode,this._lView,t,void 0,e)}}function Zn(t){const e=t;if(_t(t))return()=>{const t=Zn(yt(e));return t?t():null};let n=he(e);if(null===n){const t=at(e);n=t&&t.factory}return n||null}function Wn(t){return W(()=>{const e=t.prototype.constructor,n=e[kt]||Zn(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[kt]||Zn(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function Qn(t){return t.ngDebugContext}function Kn(t){return t.ngOriginalError}function Jn(t,...e){t.error(...e)}class Yn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Jn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Qn(t)?Qn(t):this._findContext(Kn(t)):null}_findOriginalError(t){let e=Kn(t);for(;e&&Kn(e);)e=Kn(e);return e}}class Xn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}function tr(t){return t instanceof Xn?t.changingThisBreaksApplicationSecurity:t}function er(t,e){const n=function(t){return t instanceof Xn&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}let nr=!0,rr=!1;function ir(){return rr=!0,nr}class or{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!e.querySelector||e.querySelector("svg")?(e.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const sr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,ar=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function lr(t){return(t=String(t)).match(sr)||t.match(ar)?t:(ir()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function cr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ur(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const dr=cr("area,br,col,hr,img,wbr"),hr=cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pr=cr("rp,rt"),fr=ur(pr,hr),gr=ur(dr,ur(hr,cr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ur(pr,cr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),fr),mr=cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yr=cr("srcset"),_r=ur(mr,yr,cr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),cr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),br=cr("script,style,template");class wr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!gr.hasOwnProperty(e))return this.sanitizedSomething=!0,!br.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,o=e.toLowerCase();if(!_r.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let s=t.value;mr[o]&&(s=lr(s)),yr[o]&&(r=s,s=(r=String(r)).split(",").map(t=>lr(t.trim())).join(", ")),this.buf.push(" ",e,'="',xr(s),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();gr.hasOwnProperty(e)&&!dr.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(xr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const vr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cr=/([^\#-~ |!])/g;function xr(t){return t.replace(/&/g,"&amp;").replace(vr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Cr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Or;function Er(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const Tr=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();function Ir(t){const e=kr();return e?e.sanitize(Tr.HTML,t)||"":er(t,"HTML")?tr(t):function(t,e){let n=null;try{Or=Or||new or(t);let r=e?String(e):"";n=Or.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Or.getInertBodyElement(r)}while(r!==o);const s=new wr,a=s.sanitizeChildren(Er(n)||n);return ir()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=Er(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}(Ce(),In(t))}function Mr(t){const e=kr();return e?e.sanitize(Tr.URL,t)||"":er(t,"URL")?tr(t):lr(In(t))}function kr(){const t=je();return t&&t[12]}function Pr(t,e){t.__ngContext__=e}function Dr(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function Ar(){throw new Error("Cannot mix multi providers and regular providers")}function Sr(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}function Vr(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==Sr(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function Nr(t){return 0===t.type&&"ng-template"!==t.tagName}function Rr(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function Fr(t,e,n){let r=4;const i=t.attrs||[],o=function(t){for(let n=0;n<t.length;n++)if(3===(e=t[n])||4===e||6===e)return n;var e;return t.length}(i);let s=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!Rr(t,l,n)||""===l&&1===e.length){if(Hr(r))return!1;s=!0}}else{const c=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!Vr(t.attrs,c,n)){if(Hr(r))return!1;s=!0}continue}const u=jr(8&r?"class":l,i,Nr(t),n);if(-1===u){if(Hr(r))return!1;s=!0;continue}if(""!==c){let t;t=u>o?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Sr(e,c,0)||2&r&&c!==t){if(Hr(r))return!1;s=!0}}}}else{if(!s&&!Hr(r)&&!Hr(l))return!1;if(s&&Hr(l))continue;s=!1,r=l|1&r}}return Hr(r)||s}function Hr(t){return 0==(1&t)}function jr(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function zr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Fr(t,e[r],n))return!0;return!1}function Lr(t,e){return t?":not("+e.trim()+")":e}function Br(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const e=t[++n];i+="["+s+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||Hr(s)||(e+=Lr(o,i),i=""),r=s,o=o||!Hr(r);n++}return""!==i&&(e+=Lr(o,i)),e}const Ur={};function $r(t){const e=t[3];return ge(e)?e[3]:e}function qr(t){return Zr(t[13])}function Gr(t){return Zr(t[4])}function Zr(t){for(;null!==t&&!ge(t);)t=t[4];return t}function Wr(t){Qr(ze(),je(),cn()+t,Ge())}function Qr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&pn(e,r,n)}else{const r=t.preOrderHooks;null!==r&&fn(e,r,0,n)}un(n)}function Kr(t,e){return t<<17|e<<2}function Jr(t){return t>>17&32767}function Yr(t){return 2|t}function Xr(t){return(131068&t)>>2}function ti(t,e){return-131069&t|e<<2}function ei(t){return 1|t}function ni(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=t.data[o];tn(i),n.contentQueries(2,e[o],o)}}}function ri(t,e,n){return xe(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function ii(t,e,n,r,i,o,s,a,l,c){const u=e.blueprint.slice();return u[0]=i,u[2]=140|r,Ne(u),u[3]=u[15]=t,u[8]=n,u[10]=s||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=o,u[16]=2==e.type?t[16]:u,u}function oi(t,e,n,r,i,o){const s=n+20,a=t.data[s]||function(t,e,n,r,i,o){const s=Be(),a=$e(),l=a?s:s&&s.parent,c=t.data[n]=gi(0,l&&l!==e?l:null,r,n,i,o);return null===t.firstChild&&(t.firstChild=c),s&&(!a||null!=s.child||null===c.parent&&2!==s.type?a||(s.next=c):s.child=c),c}(t,e,s,r,i,o);return Ue(a,!0),a}function si(t,e,n){nn(e,e[6]);try{const r=t.viewQuery;null!==r&&Fi(1,r,n);const i=t.template;null!==i&&ci(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&ni(t,e),t.staticViewQueries&&Fi(2,t.viewQuery,n);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)Ai(t,e[n])}(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,ln()}}function ai(t,e,n,r){const i=e[2];if(256==(256&i))return;nn(e,e[6]);const o=Ge();try{Ne(e),Fe.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&ci(t,e,n,2,r);const s=3==(3&i);if(!o)if(s){const n=t.preOrderCheckHooks;null!==n&&pn(e,n,null)}else{const n=t.preOrderHooks;null!==n&&fn(e,n,0,null),gn(e,0)}if(function(t){for(let e=qr(t);null!==e;e=Gr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Re(r,1),n[2]|=1024}}}(e),function(t){for(let e=qr(t);null!==e;e=Gr(e))for(let t=10;t<e.length;t++){const n=e[t],r=n[1];Se(n)&&ai(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&ni(t,e),!o)if(s){const n=t.contentCheckHooks;null!==n&&pn(e,n)}else{const n=t.contentHooks;null!==n&&fn(e,n,1),gn(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,i=-1,o=-1;for(let t=0;t<n.length;t++){const s=n[t];"number"==typeof s?s<=0?(o=0-s,un(o),r+=9+n[++t],i=r):r+=s:(null!==s&&(Je(r,i),s(2,e[i])),i++)}}}finally{un(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Di(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Fi(2,l,r),!o)if(s){const n=t.viewCheckHooks;null!==n&&pn(e,n)}else{const n=t.viewHooks;null!==n&&fn(e,n,2),gn(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Re(e[3],-1))}finally{ln()}}function li(t,e,n,r){const i=e[10],o=!Ge(),s=Ae(e);try{o&&!s&&i.begin&&i.begin(),s&&si(t,e,r),ai(t,e,n,r)}finally{o&&!s&&i.end&&i.end()}}function ci(t,e,n,r,i){const o=cn();try{un(-1),2&r&&e.length>20&&Qr(t,e,0,Ge()),n(r,i)}finally{un(o)}}function ui(t,e,n){if(me(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i<r;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}function di(t,e,n){He()&&(function(t,e,n,r){const i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||Vn(n,e),Pr(r,e);const s=n.initialInputs;for(let a=i;a<o;a++){const r=t.data[a],o=be(r);o&&Ii(e,n,r);const l=Un(e,t,a,n);Pr(l,e),null!==s&&Mi(0,a-i,l,r,0,s),o&&(Pe(n.index,e)[8]=l)}}(t,e,n,Ie(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,o=t.expandoInstructions,s=t.firstCreatePass,a=n.index-20,l=Fe.lFrame.currentDirectiveIndex;try{un(a);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];Ye(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?vi(r,i):s&&o.push(null)}}finally{un(-1),Ye(l)}}(t,e,n))}function hi(t,e,n=Ie){const r=e.localNames;if(null!==r){let i=e.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(e,t):t[s];t[i++]=a}}}function pi(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=fi(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function fi(t,e,n,r,i,o,s,a,l,c){const u=20+r,d=u+i,h=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Ur);return n}(u,d);return h[1]={type:t,id:e,blueprint:h,template:n,queries:null,viewQuery:a,node:null,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:c,incompleteFirstPass:!1}}function gi(t,e,n,r,i,o){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function mi(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function yi(t,e,n,r,i,o,s,a){const l=Ie(e,n);let c,u=e.inputs;var d;!a&&null!=u&&(c=u[r])?(Bi(t,n,c,r,i),ye(e)&&function(t,e){const n=Pe(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3===e.type&&(r="class"===(d=r)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,i=null!=s?s(i,e.tagName||"",r):i,xe(o)?o.setProperty(l,r,i):wn(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function _i(t,e,n,r){let i=!1;if(He()){const o=function(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];zr(n,s.selectors,!1)&&(i||(i=[]),Hn(Vn(n,e),t,s.type),be(s)?(2&n.flags&&Dr(n),xi(t,n),i.unshift(s)):i.push(s))}return i}(t,e,n),s=null===r?null:{"":-1};if(null!==o){let r=0;i=!0,Ei(n,t.data.length,o.length);for(let t=0;t<o.length;t++){const e=o[t];e.providersResolver&&e.providersResolver(e)}Ci(t,n,o.length);let a=!1,l=!1;for(let i=0;i<o.length;i++){const c=o[i];n.mergedAttrs=vn(n.mergedAttrs,c.hostAttrs),Ti(t,e,c),Oi(t.data.length-1,c,s),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!a&&(c.onChanges||c.onInit||c.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-20),a=!0),l||!c.onChanges&&!c.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-20),l=!0),bi(t,c),r+=c.hostVars}!function(t,e){const n=e.directiveEnd,r=t.data,i=e.attrs,o=[];let s=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,c=null===i||Nr(e)?null:ki(n,i);o.push(c),s=mi(n,l,s),a=mi(t.outputs,l,a)}null!==s&&(s.hasOwnProperty("class")&&(e.flags|=16),s.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=s,e.outputs=a}(t,n),wi(t,e,r)}s&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],i)}}}(n,r,s)}return n.mergedAttrs=vn(n.mergedAttrs,n.attrs),i}function bi(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function wi(t,e,n){for(let r=0;r<n;r++)e.push(Ur),t.blueprint.push(Ur),t.data.push(null)}function vi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ci(t,e,n){const r=20-e.index,i=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,i,n)}function xi(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Oi(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;be(e)&&(n[""]=t)}}function Ei(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ti(t,e,n){t.data.push(n);const r=n.factory||(n.factory=he(n.type)),i=new _n(r,be(n),null);t.blueprint.push(i),e.push(i)}function Ii(t,e,n){const r=Ie(e,t),i=pi(n),o=t[10],s=Si(t,ii(t,i,null,n.onPush?64:16,r,e,o,o.createRenderer(r,n)));t[e.index]=s}function Mi(t,e,n,r,i,o){const s=o[e];if(null!==s){const t=r.setInput;for(let e=0;e<s.length;){const i=s[e++],o=s[e++],a=s[e++];null!==t?r.setInput(n,a,i,o):n[o]=a}}}function ki(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Pi(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function Di(t,e){const n=Pe(e,t);if(Se(n)){const t=n[1];80&n[2]?ai(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let r=qr(e);null!==r;r=Gr(r))for(let e=10;e<r.length;e++){const n=r[e];if(1024&n[2]){const t=n[1];ai(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Pe(n[r],e);Se(i)&&i[5]>0&&t(i)}}(n)}}function Ai(t,e){const n=Pe(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),si(r,n,n[8])}function Si(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Vi(t){for(;t;){t[2]|=64;const e=$r(t);if(we(t)&&!e)return t;t=e}return null}function Ni(t,e,n){const r=e[10];r.begin&&r.begin();try{ai(t,e,t.template,n)}catch(i){throw Li(e,i),i}finally{r.end&&r.end()}}function Ri(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=De(n),i=r[1];li(i,r,i.template,n)}}(t[8])}function Fi(t,e,n){tn(0),e(t,n)}const Hi=(()=>Promise.resolve(null))();function ji(t){return t[7]||(t[7]=[])}function zi(t){return t.cleanup||(t.cleanup=[])}function Li(t,e){const n=t[9],r=n?n.get(Yn,null):null;r&&r.handleError(e)}function Bi(t,e,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=e[s],c=t.data[s];null!==c.setInput?c.setInput(l,i,r,a):l[a]=i}}function Ui(t,e){const n=e[3];return-1===t.index?ge(n)?n:null:n}function $i(t,e){const n=Ui(t,e);return n?eo(e[11],n[7]):null}function qi(t,e,n,r,i){if(null!=r){let o,s=!1;ge(r)?o=r:fe(r)&&(s=!0,r=r[0]);const a=Ee(r);0===t&&null!==n?null==i?Xi(e,n,a):Yi(e,n,a,i||null):1===t&&null!==n?Yi(e,n,a,i||null):2===t?function(t,e,n){const r=eo(t,e);r&&function(t,e,n,r){xe(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,r,i){const o=n[7];o!==Ee(n)&&qi(e,t,r,o,i);for(let s=10;s<n.length;s++){const i=n[s];oo(i[1],i,t,e,r,o)}}(e,t,o,n,i)}}function Gi(t,e,n,r){const i=$i(t.node,e);i&&oo(t,e,e[11],n?1:2,i,r)}function Zi(t,e){const n=t[9],r=n.indexOf(e);1024&e[2]&&Re(e[3],-1),n.splice(r,1)}function Wi(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&Zi(i,r),e>0&&(t[n-1][4]=r[4]);const o=Wt(t,10+e);Gi(r[1],r,!1,null);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qi(t,e){if(!(256&e[2])){const n=e[11];xe(n)&&n.destroyNode&&oo(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ji(t[1],t);for(;e;){let n=null;if(fe(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)fe(e)&&Ji(e[1],e),e=Ki(e,t);null===e&&(e=t),fe(e)&&Ji(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ki(t,e){let n;return fe(t)&&(n=t[6])&&2===n.type?Ui(n,t):t[3]===e?null:t[3]}function Ji(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof _n)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],o="function"==typeof i?i(e):Ee(e[i]),s=t[n[r+2]],a=n[r+3];"boolean"==typeof a?o.removeEventListener(n[r],s,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&xe(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&ge(e[3])){r!==e[3]&&Zi(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function Yi(t,e,n,r){xe(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Xi(t,e,n){xe(t)?t.appendChild(e,n):e.appendChild(n)}function to(t,e,n,r){null!==r?Yi(t,e,n,r):Xi(t,e,n)}function eo(t,e){return xe(t)?t.parentNode(e):e.parentNode}function no(t,e,n,r){const i=function(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?$i(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Ie(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==Xt.ShadowDom&&n!==Xt.Native)return null}return Ie(r,n)}(t,r,e);if(null!=i){const t=e[11],o=function(t,e){if(2===t.type){const n=Ui(t,e);return null===n?null:ro(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?Ie(t,e):null}(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)to(t,i,n[e],o);else to(t,i,n,o)}}function ro(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return function t(e,n){if(null!==n){const r=n.type;if(3===r)return Ie(n,e);if(0===r)return ro(-1,e[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return t(e,r);{const t=e[n.index];return ge(t)?ro(-1,t):Ee(t)}}{const r=e[16],i=r[6],o=$r(r),s=i.projection[n.projection];return null!=s?t(o,s):t(e,n.next)}}return null}(t,r)}return e[7]}function io(t,e,n,r,i,o,s){for(;null!=n;){const a=r[n.index],l=n.type;s&&0===e&&(a&&Pr(Ee(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(io(t,e,n.child,r,i,o,!1),qi(e,t,i,a,o)):1===l?so(t,e,r,n,i,o):qi(e,t,i,a,o)),n=s?n.projectionNext:n.next}}function oo(t,e,n,r,i,o){io(n,r,t.node.child,e,i,o,!1)}function so(t,e,n,r,i,o){const s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)qi(e,t,i,a[l],o);else io(t,e,a,s[3],i,o,!0)}function ao(t,e,n){xe(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function lo(t,e,n){xe(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class co{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,r,i,o=!1){for(;null!==r;){const s=n[r.index];if(null!==s&&i.push(Ee(s)),ge(s))for(let e=10;e<s.length;e++){const n=s[e],r=n[1].firstChild;null!==r&&t(n[1],n,r,i)}const a=r.type;if(4===a||5===a)t(e,n,r.child,i);else if(1===a){const e=n[16],o=e[6].projection[r.projection];if(Array.isArray(o))i.push(...o);else{const n=$r(e);t(n[1],n,o,i,!0)}}r=o?r.projectionNext:r.next}return i}(t[1],t,t[6].child,[]):[]}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 t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Qi(this._lView[1],this._lView)}onDestroy(t){var e,n,r;e=this._lView[1],r=t,ji(n=this._lView).push(r),e.firstCreatePass&&zi(e).push(n[7].length-1,null)}markForCheck(){Vi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ni(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ze(!0);try{Ni(t,e,n)}finally{Ze(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,oo(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class uo extends co{constructor(t){super(t),this._view=t}detectChanges(){Ri(this._view)}checkNoChanges(){!function(t){Ze(!0);try{Ri(t)}finally{Ze(!1)}}(this._view)}get context(){return null}}let ho,po,fo;function go(t,e,n){return ho||(ho=class extends t{}),new ho(Ie(e,n))}function mo(t,e,n,r){return po||(po=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=ii(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),si(e,n,t),new co(n)}}),0===n.type?new po(r,n,go(e,n,r)):null}function yo(t,e,n,r){let i;fo||(fo=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return go(e,this._hostTNode,this._hostView)}get injector(){return new Gn(this._hostTNode,this._hostView)}get parentInjector(){const t=Fn(this._hostTNode,this._hostView),e=Tn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let r=En(t),i=e,o=e[6];for(;r>1;)i=i[15],o=i[6],r--;return o}(t,this._hostView,this._hostTNode);return xn(t)&&null!=n?new Gn(n,e):new Gn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){const t=o.get(qt,null);t&&(i=t)}const s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),ge(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new fo(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e);return function(t,e,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=e),r<o-10?(e[4]=n[i],Zt(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const s=e[17];null!==s&&n!==s&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(s,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,this._lContainer,i),Gi(r,n,!0,ro(i,this._lContainer)),t.attachToViewContainerRef(this),Zt(this._lContainer[8],i,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);!function(t,e){const n=Wi(t,e);n&&Qi(n[1],n)}(this._lContainer,e),Wt(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Wi(this._lContainer,e);return n&&null!=Wt(this._lContainer[8],e)?new co(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=r[n.index];if(ge(o))i=o;else{let t;if(4===n.type)t=Ee(o);else if(t=r[11].createComment(""),we(r)){const e=r[11],i=Ie(n,r);Yi(e,eo(e,i),t,function(t,e){return xe(t)?t.nextSibling(e):e.nextSibling}(e,i))}else no(r[1],r,t,n);r[n.index]=i=Pi(o,r,t,n),Si(r,i)}return new fo(i,n,r)}const _o=new Dt("Set Injector scope."),bo={},wo={},vo=[];let Co=void 0;function xo(){return void 0===Co&&(Co=new $t),Co}function Oo(t,e=null,n=null,r){return new Eo(t,n,e||xo(),r)}class Eo{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&Gt(e,n=>this.processProvider(n,t,e)),Gt([t],t=>this.processInjectorType(t,[],i)),this.records.set(At,Mo(void 0,this));const o=this.records.get(_o);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:pt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=St,n=tt.Default){this.assertNotDestroyed();const r=Ht(this);try{if(!(n&tt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Dt)&&ot(t);e=n&&this.injectableDefInScope(n)?Mo(To(t),bo):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&tt.Self?xo():this.parent).get(t,e=n&tt.Optional&&e===St?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(pt(t)),r)throw o;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=pt(e);if(Array.isArray(e))i=e.map(pt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):pt(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Vt,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{Ht(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(pt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=yt(t)))return!1;let r=at(t);const i=null==r&&t.ngModule||void 0,o=void 0===i?t:i,s=-1!==n.indexOf(o);if(void 0!==i&&(r=at(i)),null==r)return!1;if(null!=r.imports&&!s){let t;n.push(o);try{Gt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];Gt(r,t=>this.processProvider(t,n,r||vo))}}this.injectorDefTypes.add(o),this.records.set(o,Mo(r.factory,bo));const a=r.providers;if(null!=a&&!s){const e=t;Gt(a,t=>this.processProvider(t,e,a))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=Po(t=yt(t))?t:yt(t&&t.provide);const i=function(t,e,n){return ko(t)?Mo(void 0,t.useValue):Mo(Io(t,e,n),bo)}(t,e,n);if(Po(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&Ar()}else{let e=this.records.get(r);e?void 0===e.multi&&Ar():(e=Mo(void 0,bo,!0),e.factory=()=>Ut(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===wo?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(pt(t)):e.value===bo&&(e.value=wo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function To(t){const e=ot(t),n=null!==e?e.factory:he(t);if(null!==n)return n;const r=at(t);if(null!==r)return r.factory;if(t instanceof Dt)throw new Error(`Token ${pt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;r<t;r++)n.push("?");return n}(e);throw new Error(`Can't resolve all parameters for ${pt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[lt]||t[dt]||t[ut]&&t[ut]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Io(t,e,n){let r=void 0;if(Po(t)){const e=yt(t);return he(e)||To(e)}if(ko(t))r=()=>yt(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...Ut(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Lt(yt(t.useExisting));else{const i=yt(t&&(t.useClass||t.provide));if(i||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${pt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return he(i)||To(i);r=()=>new i(...Ut(t.deps))}var i;return r}function Mo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function ko(t){return null!==t&&"object"==typeof t&&Nt in t}function Po(t){return"function"==typeof t}const Do=function(t,e,n){return function(t,e=null,n=null,r){const i=Oo(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let Ao=(()=>{class t{static create(t,e){return Array.isArray(t)?Do(t,e,""):Do(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=St,t.NULL=new $t,t.\u0275prov=rt({token:t,providedIn:"any",factory:()=>Lt(At)}),t.__NG_ELEMENT_ID__=-1,t})(),So=new Map;const Vo=new Set;function No(t){return"string"==typeof t?t:t.text()}function Ro(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(null!==e)for(let s=0;s<e.length;s++){const t=e[s];"number"==typeof t?o=t:1==o?i=ft(i,t):2==o&&(r=ft(r,t+": "+e[++s]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}let Fo=null;function Ho(){if(!Fo){const t=xt.Symbol;if(t&&t.iterator)Fo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Fo=n)}}}return Fo}function jo(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}class zo{constructor(t){this.wrapped=t}static wrap(t){return new zo(t)}static unwrap(t){return zo.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof zo}}function Lo(t){return!!Bo(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ho()in t)}function Bo(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Uo(t,e,n){return t[e]=n}function $o(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function qo(t,e,n,r){const i=je();return $o(i,Qe(),e)&&(ze(),function(t,e,n,r,i,o){const s=Ie(t,e),a=e[11];if(null==r)xe(a)?a.removeAttribute(s,n,o):s.removeAttribute(n);else{const e=null==i?In(r):i(r,t.tagName||"",n);xe(a)?a.setAttribute(s,n,e,o):o?s.setAttributeNS(o,n,e):s.setAttribute(n,e)}}(dn(),i,t,e,n,r)),qo}function Go(t,e,n,r){return $o(t,Qe(),n)?e+In(n)+r:Ur}function Zo(t,e,n,r,i,o,s,a){const l=je(),c=ze(),u=t+20,d=c.firstCreatePass?function(t,e,n,r,i,o,s,a,l){const c=e.consts,u=oi(e,n[6],t,0,s||null,Ve(c,a));_i(e,n,u,Ve(c,l)),hn(e,u);const d=u.tViews=fi(2,-1,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),h=gi(0,null,2,-1,null,null);return h.injectorIndex=u.injectorIndex,d.node=h,null!==e.queries&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}(t,c,l,e,n,r,i,o,s):c.data[u];Ue(d,!1);const h=l[11].createComment("");no(c,l,h,d),Pr(h,l),Si(l,l[u]=Pi(h,l,h,d)),_e(d)&&di(c,l,d),null!=s&&hi(l,d,a)}function Wo(t){return ke(Fe.lFrame.contextLView,t)}function Qo(t,e=tt.Default){const n=je();return null==n?Lt(t,e):jn(Be(),n,yt(t),e)}function Ko(t,e,n){const r=je();return $o(r,Qe(),e)&&yi(ze(),dn(),r,t,e,r[11],n,!1),Ko}function Jo(t,e,n,r,i){const o=i?"class":"style";Bi(t,n,e.inputs[o],o,r)}function Yo(t,e,n,r){const i=je(),o=ze(),s=20+t,a=i[11],l=i[s]=ri(e,a,Fe.lFrame.currentNamespace),c=o.firstCreatePass?function(t,e,n,r,i,o,s){const a=e.consts,l=Ve(a,o),c=oi(e,n[6],t,3,i,l);return _i(e,n,c,Ve(a,s)),null!==c.attrs&&Ro(c,c.attrs,!1),null!==c.mergedAttrs&&Ro(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(t,o,i,0,e,n,r):o.data[s];Ue(c,!0);const u=c.mergedAttrs;null!==u&&bn(a,l,u);const d=c.classes;null!==d&&lo(a,l,d);const h=c.styles;null!==h&&ao(a,l,h),no(o,i,l,c),0===Fe.lFrame.elementDepthCount&&Pr(l,i),Fe.lFrame.elementDepthCount++,_e(c)&&(di(o,i,c),ui(o,c,i)),null!==r&&hi(i,c)}function Xo(){let t=Be();$e()?qe():(t=t.parent,Ue(t,!1));const e=t;Fe.lFrame.elementDepthCount--;const n=ze();n.firstCreatePass&&(hn(n,t),me(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Jo(n,e,je(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Jo(n,e,je(),e.stylesWithoutHost,!1)}function ts(t,e,n,r){Yo(t,e,n,r),Xo()}function es(t,e,n){const r=je(),i=ze(),o=t+20,s=i.firstCreatePass?function(t,e,n,r,i){const o=e.consts,s=Ve(o,r),a=oi(e,n[6],t,4,"ng-container",s);return null!==s&&Ro(a,s,!0),_i(e,n,a,Ve(o,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(t,i,r,e,n):i.data[o];Ue(s,!0);const a=r[o]=r[11].createComment("");no(i,r,a,s),Pr(a,r),_e(s)&&(di(i,r,s),ui(i,s,r)),null!=n&&hi(r,s)}function ns(){let t=Be();const e=ze();$e()?qe():(t=t.parent,Ue(t,!1)),e.firstCreatePass&&(hn(e,t),me(t)&&e.queries.elementEnd(t))}function rs(){return je()}function is(t){return!!t&&"function"==typeof t.then}function os(t,e,n=!1,r){const i=je(),o=ze(),s=Be();return function(t,e,n,r,i,o,s=!1,a){const l=_e(r),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),u=ji(e);let d=!0;if(3===r.type){const h=Ie(r,e),p=a?a(h):te,f=p.target||h,g=u.length,m=a?t=>a(Ee(t[r.index])).target:r.index;if(xe(n)){let s=null;if(!a&&l&&(s=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const t=i[o];if(t===n&&i[o+1]===r){const t=e[7],n=i[o+2];return t.length>n?t[n]:null}"string"==typeof t&&(o+=2)}return null}(t,e,i,r.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,d=!1;else{o=as(r,e,o,!1);const t=n.listen(p.name||f,i,o);u.push(o,t),c&&c.push(i,m,g,g+1)}}else o=as(r,e,o,!0),f.addEventListener(i,o,s),u.push(o),c&&c.push(i,m,g,s)}const h=r.outputs;let p;if(d&&null!==h&&(p=h[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(o),s=u.length;u.push(o,t),c&&c.push(i,r.index,s,-(s+1))}}}(o,i,i[11],s,t,e,n,r),os}function ss(t,e,n){try{return!1!==e(n)}catch(r){return Li(t,r),!1}}function as(t,e,n,r){return function i(o){if(o===Function)return n;const s=2&t.flags?Pe(t.index,e):e;0==(32&e[2])&&Vi(s);let a=ss(e,n,o),l=i.__ngNextListenerFn__;for(;l;)a=ss(e,l,o)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function ls(t=1){return function(t){return(Fe.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Fe.lFrame.contextLView))[8]}(t)}function cs(t,e,n){return us(t,"",e,"",n),cs}function us(t,e,n,r,i){const o=je(),s=Go(o,e,n,r);return s!==Ur&&yi(ze(),dn(),o,t,s,o[11],i,!1),us}const ds=[];function hs(t,e,n,r,i){const o=t[n+1],s=null===e;let a=r?Jr(o):Xr(o),l=!1;for(;0!==a&&(!1===l||s);){const n=t[a+1];ps(t[a],e)&&(l=!0,t[a+1]=r?ei(n):Yr(n)),a=r?Jr(n):Xr(n)}l&&(t[n+1]=r?Yr(o):ei(o))}function ps(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Jt(t,e)>=0}const fs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gs(t){return t.substring(fs.key,fs.keyEnd)}function ms(t,e){const n=fs.textEnd;return n===e?-1:(e=fs.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,fs.key=e,n),ys(t,e,n))}function ys(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function _s(t,e,n){return vs(t,e,n,!1),_s}function bs(t,e){return vs(t,e,null,!0),bs}function ws(t,e){for(let n=function(t){return function(t){fs.key=0,fs.keyEnd=0,fs.value=0,fs.valueEnd=0,fs.textEnd=t.length}(t),ms(t,ys(t,0,fs.textEnd))}(e);n>=0;n=ms(e,n))Qt(t,gs(e),!0)}function vs(t,e,n,r){const i=je(),o=ze(),s=Ke(2);if(o.firstUpdatePass&&xs(o,t,s,r),e!==Ur&&$o(i,s,e)){let a;null==n&&(a=function(){const t=Fe.lFrame;return null===t?null:t.currentSanitizer}())&&(n=a),Ts(o,o.data[cn()+20],i,i[11],t,i[s+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=pt(tr(t)))),t}(e,n),r,s)}}function Cs(t,e){return e>=t.expandoStartIndex}function xs(t,e,n,r){const i=t.data;if(null===i[n+1]){const o=i[cn()+20],s=Cs(t,n);ks(o,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){const i=function(t){const e=Fe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=Es(n=Os(null,t,e,n,r),e.attrs,r),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=Os(i,t,e,n,r),null===o){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Xr(r))return t[Jr(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=Os(null,t,e,n[1],r),n=Es(n,e.attrs,r),function(t,e,n,r){t[Jr(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else o=function(t,e,n){let r=void 0;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++)r=Es(r,t[o].hostAttrs,n);return Es(r,e.attrs,n)}(t,e,r)}return void 0!==o&&(r?e.residualClasses=o:e.residualStyles=o),n}(i,o,e,r),function(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Jr(s),l=Xr(s);t[r]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||Jt(t,c)>0)&&(u=!0)}else c=n;if(i)if(0!==l){const e=Jr(t[a+1]);t[r+1]=Kr(e,a),0!==e&&(t[e+1]=ti(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Kr(a,0),0!==a&&(t[a+1]=ti(t[a+1],r)),a=r;else t[r+1]=Kr(l,0),0===a?a=r:t[l+1]=ti(t[l+1],r),l=r;u&&(t[r+1]=Yr(t[r+1])),hs(t,c,r,!0),hs(t,c,r,!1),function(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Jt(o,e)>=0&&(n[r+1]=ei(n[r+1]))}(e,c,t,r,o),s=Kr(a,l),o?e.classBindings=s:e.styleBindings=s}(i,o,e,n,s,r)}}function Os(t,e,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=e[a],r=Es(r,o.hostAttrs,i),o!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function Es(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let o=0;o<e.length;o++){const s=e[o];"number"==typeof s?i=s:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Qt(t,s,!!n||e[++o]))}return void 0===t?null:t}function Ts(t,e,n,r,i,o,s,a){if(3!==e.type)return;const l=t.data,c=l[a+1];Ms(1==(1&c)?Is(l,e,n,i,Xr(c),s):void 0)||(Ms(o)||function(t){return 2==(2&t)}(c)&&(o=Is(l,null,n,i,a,s)),function(t,e,n,r,i){const o=xe(t);if(e)i?o?t.addClass(n,r):n.classList.add(r):o?t.removeClass(n,r):n.classList.remove(r);else{const e=-1==r.indexOf("-")?void 0:2;null==i?o?t.removeStyle(n,r,e):n.style.removeProperty(r):o?t.setStyle(n,r,i,e):n.style.setProperty(r,i)}}(r,s,Te(cn(),n),i,o))}function Is(t,e,n,r,i,o){const s=null===e;let a=void 0;for(;i>0;){const e=t[i],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[i+1];u===Ur&&(u=c?ds:void 0);let d=c?Kt(u,r):l===r?u:void 0;if(o&&!Ms(d)&&(d=Kt(e,r)),Ms(d)&&(a=d,s))return a;const h=t[i+1];i=s?Jr(h):Xr(h)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=Kt(t,r))}return a}function Ms(t){return void 0!==t}function ks(t,e){return 0!=(t.flags&(e?16:32))}function Ps(t,e=""){const n=je(),r=ze(),i=t+20,o=r.firstCreatePass?oi(r,n[6],t,3,null,null):r.data[i],s=n[i]=function(t,e){return xe(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);no(r,n,s,o),Ue(o,!1)}function Ds(t){return As("",t,""),Ds}function As(t,e,n){const r=je(),i=Go(r,t,e,n);return i!==Ur&&function(t,e,n){const r=Te(e,t),i=t[11];xe(i)?i.setValue(r,n):r.textContent=n}(r,cn(),i),As}function Ss(t,e){const n=De(t)[1],r=n.data.length-1;hn(n,{directiveStart:r,directiveEnd:r+1})}function Vs(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let i=void 0;if(be(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=Ns(t.inputs),e.declaredInputs=Ns(t.declaredInputs),e.outputs=Ns(t.outputs);const n=i.hostBindings;n&&Hs(t,n);const o=i.viewQuery,s=i.contentQueries;if(o&&Rs(t,o),s&&Fs(t,s),nt(t.inputs,i.inputs),nt(t.declaredInputs,i.declaredInputs),nt(t.outputs,i.outputs),be(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}e.afterContentChecked=e.afterContentChecked||i.afterContentChecked,e.afterContentInit=t.afterContentInit||i.afterContentInit,e.afterViewChecked=t.afterViewChecked||i.afterViewChecked,e.afterViewInit=t.afterViewInit||i.afterViewInit,e.doCheck=t.doCheck||i.doCheck,e.onDestroy=t.onDestroy||i.onDestroy,e.onInit=t.onInit||i.onInit}const e=i.features;if(e)for(let r=0;r<e.length;r++){const i=e[r];i&&i.ngInherit&&i(t),i===Vs&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=vn(i.hostAttrs,n=vn(n,i.hostAttrs))}}(r)}function Ns(t){return t===te?{}:t===ee?[]:t}function Rs(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Fs(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function Hs(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}class js{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function zs(t){t.type.prototype.ngOnChanges&&(t.setInput=Ls,t.onChanges=function(){const t=Bs(this),e=t&&t.current;if(e){const n=t.previous;if(n===te)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function Ls(t,e,n,r){const i=Bs(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:te,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new js(l&&l.currentValue,e,s===te),t[r]=e}function Bs(t){return t.__ngSimpleChanges__||null}function Us(t,e,n,r,i){if(t=yt(t),Array.isArray(t))for(let o=0;o<t.length;o++)Us(t[o],e,n,r,i);else{const o=ze(),s=je();let a=Po(t)?t:yt(t.provide),l=Io(t);const c=Be(),u=65535&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>16;if(Po(t)||!t.multi){const r=new _n(l,i,Qo),p=Gs(a,e,i?u:u+h,d);-1===p?(Hn(Vn(c,s),o,a),$s(o,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(r),s.push(r)):(n[p]=r,s[p]=r)}else{const p=Gs(a,e,u+h,d),f=Gs(a,e,u,u+h),g=p>=0&&n[p],m=f>=0&&n[f];if(i&&!m||!i&&!g){Hn(Vn(c,s),o,a);const u=function(t,e,n,r,i){const o=new _n(t,n,Qo);return o.multi=[],o.index=e,o.componentProviders=0,qs(o,i,r&&!n),o}(i?Ws:Zs,n.length,i,r,l);!i&&m&&(n[f].providerFactory=u),$s(o,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(u),s.push(u)}else $s(o,t,p>-1?p:f,qs(n[i?f:p],l,!i&&r));!i&&r&&m&&n[f].componentProviders++}}}function $s(t,e,n,r){const i=Po(e);if(i||e.useClass){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const s=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=s.indexOf(n);-1===t?s.push(n,[r,o]):s[t+1].push(r,o)}else s.push(n,o)}}}function qs(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Gs(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function Zs(t,e,n,r){return Qs(this.multi,[])}function Ws(t,e,n,r){const i=this.multi;let o;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Un(n,n[1],this.providerFactory.index,r);o=e.slice(0,t),Qs(i,o);for(let n=t;n<e.length;n++)o.push(e[n])}else o=[],Qs(i,o);return o}function Qs(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Ks(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=ze();if(r.firstCreatePass){const i=be(t);Us(n,r.data,r.blueprint,i,!0),Us(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}zs.ngInherit=!0;class Js{}class Ys{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${pt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Xs=(()=>{class t{}return t.NULL=new Ys,t})(),ta=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>ea(t),t})();const ea=function(t){return go(t,Be(),je())};class na{}const ra=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let ia=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>oa(),t})();const oa=function(){const t=je(),e=Pe(Be().index,t);return function(t){const e=t[11];if(xe(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(fe(e)?e:t)};let sa=(()=>{class t{}return t.\u0275prov=rt({token:t,providedIn:"root",factory:()=>null}),t})();class aa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const la=new aa("9.1.13");class ca{constructor(){}supports(t){return Lo(t)}create(t){return new da(t)}}const ua=(t,e)=>e;class da{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ua}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const o=!n||e&&e.currentIndex<ga(n,r,i)?e:n,s=ga(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);const t=s-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;e<=o&&o<t&&(i[n]=r+1)}i[o.previousIndex]=e-t}}s!==a&&t(o,s,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Lo(t))throw new Error(`Error trying to diff '${pt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,i=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&jo(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,e)),jo(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),o=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ho()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==i&&jo(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,t,r,e)),jo(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),o=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(jo(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(jo(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new ha(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new fa),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fa),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ha{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pa{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&jo(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class fa{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new pa,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ga(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class ma{constructor(){}supports(t){return t instanceof Map||Bo(t)}create(){return new ya}}class ya{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(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Bo(t)))throw new Error(`Error trying to diff '${pt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new _a(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){jo(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class _a{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ba=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new X,new J]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=rt({token:t,providedIn:"root",factory:()=>new t([new ca])}),t})(),wa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new X,new J]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=rt({token:t,providedIn:"root",factory:()=>new t([new ma])}),t})();const va=[new ma],Ca=new ba([new ca]),xa=new wa(va);let Oa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ea(t,ta),t})();const Ea=function(t,e){return mo(t,e,Be(),je())};let Ta=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ia(t,ta),t})();const Ia=function(t,e){return yo(t,e,Be(),je())},Ma={};class ka extends Xs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=de(t);return new Aa(e,this.ngModule)}}function Pa(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Da=new Dt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>kn});class Aa extends Js{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Br).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Pa(this.componentDef.inputs)}get outputs(){return Pa(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const o=t.get(n,Ma,i);return o!==Ma||r===Ma?o:e.get(n,r,i)}}}(t,r.injector):t,o=i.get(na,Oe),s=i.get(sa,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(xe(t))return t.selectRootElement(e,n===Xt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):ri(l,o.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,d="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),h={components:[],scheduler:kn,clean:Hi,playerHandler:null,flags:0},p=fi(0,-1,null,1,0,null,null,null,null,null),f=ii(null,p,h,u,null,null,o,a,s,i);let g,m;nn(f,null);try{const t=function(t,e,n,r,i,o){const s=n[1];n[20]=t;const a=oi(s,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Ro(a,l,!0),null!==t&&(bn(i,t,l),null!==a.classes&&lo(i,t,a.classes),null!==a.styles&&ao(i,t,a.styles)));const c=r.createRenderer(t,e),u=ii(n,pi(e),null,e.onPush?64:16,n[20],a,r,c,void 0);return s.firstCreatePass&&(Hn(Vn(a,n),s,e.type),xi(s,a),Ei(a,n.length,1)),Si(n,u),n[20]=u}(c,this.componentDef,f,o,a);if(c)if(n)bn(a,c,["ng-version",la.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===i?""!==o&&e.push(o,t[++r]):8===i&&n.push(o);else{if(!Hr(i))break;i=o}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&bn(a,c,t),e&&e.length>0&&lo(a,c,e.join(" "))}if(m=Me(p,0),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}g=function(t,e,n,r,i){const o=n[1],s=function(t,e,n){const r=Be();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ci(t,r,1),Ti(t,e,n));const i=Un(e,t,e.length-1,r);Pr(i,e);const o=Ie(r,e);return o&&Pr(o,e),i}(o,n,e);r.components.push(s),t[8]=s,i&&i.forEach(t=>t(s,e)),e.contentQueries&&e.contentQueries(1,s,n.length-1);const a=Be();if(o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){un(a.index-20);const t=n[1];bi(t,e),wi(t,n,e.hostVars),vi(e,s)}return s}(t,this.componentDef,f,h,[Ss]),si(p,f,null)}finally{ln()}const y=new Sa(this.componentType,g,go(ta,m,f),f,m);return n&&!d||(p.node.child=m),y}}class Sa extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new uo(r),function(t,e,n,r){let i=t.node;null==i&&(t.node=i=gi(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=t}get injector(){return new Gn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Va=void 0;var Na=["en",[["a","p"],["AM","PM"],Va],[["AM","PM"],Va,Va],[["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"]],Va,[["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"]],Va,[["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}",Va,"{1} 'at' {0}",Va],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ra={};function Fa(t){return t in Ra||(Ra[t]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[t]),Ra[t]}const Ha=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.Directionality]="Directionality",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let ja="en-US";function za(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(ja=t.toLowerCase().replace(/_/g,"-"))}const La=new Map;class Ba extends qt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ka(this);const n=pe(t),r=t[Mt]||null;r&&za(r),this._bootstrapComponents=Pn(n.bootstrap),this._r3Injector=Oo(t,e,[{provide:qt,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],pt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ao.THROW_IF_NOT_FOUND,n=tt.Default){return t===Ao||t===qt||t===At?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ua extends class{}{constructor(t){super(),this.moduleType=t,null!==pe(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${pt(e)} vs ${pt(e.name)}`)})(t,La.get(t),e),La.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Ba(this.moduleType,t)}}function $a(t,e){const n=t[e];return n===Ur?void 0:n}class qa extends x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,o=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,i,o);return t instanceof d&&t.add(s),s}}function Ga(){return this._results[Ho()]()}class Za{constructor(){this.dirty=!0,this._results=[],this.changes=new qa,this.length=0;const t=Ho(),e=Za.prototype;e[t]||(e[t]=Ga)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?(n===e&&(n=e.slice(0,r)),t(i,n)):n!==e&&n.push(i)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Wa{constructor(t){this.queryList=t,this.matches=null}clone(){return new Wa(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qa{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new Qa(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==nl(t,e).matches&&this.queries[e].setDirty()}}class Ka{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class Ja{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new Ja(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ya{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Ya(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let r=0;r<n.length;r++)this.matchTNodeWithReadOption(t,e,Xa(e,n[r]))}else{const n=this.metadata.predicate;n===Oa?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Bn(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===ta||r===Ta||r===Oa&&0===e.type)this.addMatch(e.index,-2);else{const n=Bn(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Xa(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function tl(t,e,n,r){return-1===n?function(t,e){return 3===t.type||4===t.type?go(ta,t,e):0===t.type?mo(Oa,ta,t,e):null}(e,t):-2===n?function(t,e,n){return n===ta?go(ta,e,t):n===Oa?mo(Oa,ta,e,t):n===Ta?yo(Ta,ta,e,t):void 0}(t,e,r):Un(t,t[1],n,e)}function el(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const r=t.data,o=n.matches,s=[];for(let t=0;t<o.length;t+=2){const i=o[t];s.push(i<0?null:tl(e,r[i],o[t+1],n.metadata.read))}i.matches=s}return i.matches}function nl(t,e){return t.queries.getByIndex(e)}const rl=new Dt("Application Initializer");let il=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();is(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Lt(rl,8))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const ol=new Dt("AppId"),sl={provide:ol,useFactory:function(){return`${al()}${al()}${al()}`},deps:[]};function al(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ll=new Dt("Platform Initializer"),cl=new Dt("Platform ID"),ul=new Dt("appBootstrapListener");let dl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const hl=new Dt("LocaleId"),pl=new Dt("DefaultCurrencyCode");class fl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const gl=function(t){return new Ua(t)},ml=gl,yl=function(t){return Promise.resolve(gl(t))},_l=function(t){const e=gl(t),n=Pn(pe(t).declarations).reduce((t,e)=>{const n=de(e);return n&&t.push(new Aa(n)),t},[]);return new fl(e,n)},bl=_l,wl=function(t){return Promise.resolve(_l(t))};let vl=(()=>{class t{constructor(){this.compileModuleSync=ml,this.compileModuleAsync=yl,this.compileModuleAndAllComponentsSync=bl,this.compileModuleAndAllComponentsAsync=wl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const Cl=new Dt("compilerOptions"),xl=(()=>Promise.resolve(0))();function Ol(t){"undefined"==typeof Zone?xl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class El{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qa(!1),this.onMicrotaskEmpty=new qa(!1),this.onStable=new qa(!1),this.onError=new qa(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=xt.requestAnimationFrame,e=xt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(xt,()=>{t.lastRequestAnimationFrameId=-1,kl(t),Ml(t)}),kl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,o,s,a)=>{try{return Pl(t),n.invokeTask(i,o,s,a)}finally{e&&"eventTask"===o.type&&e(),Dl(t)}},onInvoke:(e,n,r,i,o,s,a)=>{try{return Pl(t),e.invoke(r,i,o,s,a)}finally{Dl(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,kl(t),Ml(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!El.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(El.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Il,Tl,Tl);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Tl(){}const Il={};function Ml(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function kl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Pl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Dl(t){t._nesting--,Ml(t)}class Al{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qa,this.onMicrotaskEmpty=new qa,this.onStable=new qa,this.onError=new qa}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Sl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{El.assertNotInAngularZone(),Ol(()=>{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())Ol(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Lt(El))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})(),Vl=(()=>{class t{constructor(){this._applications=new Map,Fl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Fl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();class Nl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Rl,Fl=new Nl,Hl=function(t,e,n){const r=t.get(Cl,[]).concat(e),i=new Ua(n);if(0===So.size)return Promise.resolve(i);const o=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(r.map(t=>t.providers));if(0===o.length)return Promise.resolve(i);const s=function(){const t=xt.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),a=Ao.create({providers:o}).get(s.ResourceLoader);return function(t){const e=[],n=new Map;function r(t){let e=n.get(t);if(!e){const r=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=r.then(No))}return e}return So.forEach((t,n)=>{const i=[];t.templateUrl&&i.push(r(t.templateUrl).then(e=>{t.template=e}));const o=t.styleUrls,s=t.styles||(t.styles=[]),a=t.styles.length;o&&o.forEach((e,n)=>{s.push(""),i.push(r(e).then(r=>{s[a+n]=r,o.splice(o.indexOf(e),1),0==o.length&&(t.styleUrls=void 0)}))});const l=Promise.all(i).then(()=>function(t){Vo.delete(t)}(n));e.push(l)}),So=new Map,Promise.all(e).then(()=>{})}().then(()=>i)};const jl=new Dt("AllowMultipleToken");function zl(t,e,n=[]){const r="Platform: "+e,i=new Dt(r);return(e=[])=>{let o=Ll();if(!o||o.injector.get(jl,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:_o,useValue:"platform"});!function(t){if(Rl&&!Rl.destroyed&&!Rl.injector.get(jl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Rl=t.get(Bl);const e=t.get(ll,null);e&&e.forEach(t=>t())}(Ao.create({providers:t,name:r}))}return function(t){const e=Ll();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function Ll(){return Rl&&!Rl.destroyed?Rl:null}let Bl=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Al:("zone.js"===t?void 0:t)||new El({enableLongStackTrace:ir(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:El,useValue:n}];return n.run(()=>{const e=Ao.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),o=i.injector.get(Yn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>ql(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{o.handleError(t)}})),function(t,e,n){try{const r=n();return is(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(o,n,()=>{const t=i.injector.get(il);return t.runInitializers(),t.donePromise.then(()=>(za(i.injector.get(hl,"en-US")||"en-US"),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=Ul({},e);return Hl(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get($l);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${pt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Lt(Ao))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();function Ul(t,e){return Array.isArray(e)?e.reduce(Ul,t):Object.assign(Object.assign({},t),e)}let $l=(()=>{class t{constructor(t,e,n,r,i,o){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ir(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{El.assertNotInAngularZone(),Ol(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{El.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=z(s,a.pipe(t=>{return L()((e=Z,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,q);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Js?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(qt),i=n.create(Ao.NULL,[],e||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(Sl,null);return o&&i.injector.get(Vl).registerApplication(i.location.nativeElement,o),this._loadComponent(i),ir()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;ql(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ul,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),ql(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Lt(El),Lt(dl),Lt(Ao),Lt(Yn),Lt(Xs),Lt(il))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();function ql(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Gl=zl(null,"core",[{provide:cl,useValue:"unknown"},{provide:Bl,deps:[Ao]},{provide:Vl,deps:[]},{provide:dl,deps:[]}]),Zl=[{provide:$l,useClass:$l,deps:[El,dl,Ao,Yn,Xs,il]},{provide:Da,deps:[El],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:il,useClass:il,deps:[[new J,rl]]},{provide:vl,useClass:vl,deps:[]},sl,{provide:ba,useFactory:function(){return Ca},deps:[]},{provide:wa,useFactory:function(){return xa},deps:[]},{provide:hl,useFactory:function(t){return za(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new K(hl),new J,new X]]},{provide:pl,useValue:"USD"}];let Wl=(()=>{class t{constructor(t){}}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)(Lt($l))},providers:Zl}),t})(),Ql=null;function Kl(){return Ql}const Jl=new Dt("DocumentToken"),Yl=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}();class Xl{}let tc=(()=>{class t extends Xl{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Fa(e);if(n)return n;const r=e.split("-")[0];if(n=Fa(r),n)return n;if("en"===r)return Na;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Ha.PluralCase]}(e||this.locale)(t)){case Yl.Zero:return"zero";case Yl.One:return"one";case Yl.Two:return"two";case Yl.Few:return"few";case Yl.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Lt(hl))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})(),ec=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Lo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+pt(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(Qo(ba),Qo(wa),Qo(ta),Qo(ia))},t.\u0275dir=ce({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class nc{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let rc=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){ir()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new nc(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new ic(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const o=new ic(t,i);e.push(o)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Qo(Ta),Qo(Oa),Qo(ba))},t.\u0275dir=ce({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ic{constructor(t,e){this.record=t,this.view=e}}let oc=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new sc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ac("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ac("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Qo(Ta),Qo(Oa))},t.\u0275dir=ce({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class sc{constructor(){this.$implicit=null,this.ngIf=null}}function ac(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${pt(e)}'.`)}let lc=(()=>{class t{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=cc){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(Qo(wa))},t.\u0275pipe=ue({name:"keyvalue",type:t,pure:!1}),t})();function cc(t,e){const n=t.key,r=e.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const i=String(n),o=String(r);return i==o?0:i<o?-1:1}let uc=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)},providers:[{provide:Xl,useClass:tc}]}),t})();function dc(t){t=Number(t);const e=Math.floor(t/3600),n=Math.floor(t%3600/60),r=Math.floor(t%3600%60);return(e>0?e.toString()+":":"")+(n>0?("0"+n.toString()).slice(-2)+":":"00:")+(r>0?("0"+r.toString()).slice(-2):"00")}let hc=(()=>{class t{constructor(){this.labelledByText="",this.displayTime="00:00/00:00"}ngOnInit(){this.statusText&&this.callId?this.labelledByText=`${this.statusText} ${this.callId}`:this.statusText?this.labelledByText=this.statusText:this.callId&&(this.labelledByText=this.callId),this.startCallCounter()}startCallCounter(){const t=this.CaculatePastHoldDuration();null==this._timerId&&(this._timerId=window.setInterval(()=>{const e=(new Date).getTime()/1e3,n=Math.floor(e-this.holdCounterData.currentHoldStartTime/1e3);this.displayTime=dc(n)+"/"+dc(t+n)},1e3))}CaculatePastHoldDuration(){let t=0;return this.holdCounterData.pastCallDurations&&this.holdCounterData.pastCallDurations.forEach(e=>{t+=(e.endTime-e.startTime)/1e3}),t}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-holdtimer"]],inputs:{holdCounterData:"holdCounterData",statusText:"statusText",callId:"callId"},decls:2,vars:2,consts:[[1,"holdCallDurationDiv"],["readonly","","name","HoldCallDuration/TotalHoldCallDuration","type","text","tabindex","-1","title","Hold Duration",1,"holdCallDurationTimer",3,"value"]],template:function(t,e){1&t&&(Yo(0,"div",0),ts(1,"input",1),Xo()),2&t&&(Wr(1),Ko("value",e.displayTime),qo("aria-labelledby",e.labelledByText||null))},styles:[".holdCallDurationTimer[_ngcontent-%COMP%]:focus{outline-style:none}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:5px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})(),pc=(()=>{class t{constructor(){this.labelledByText="",this.displayTime="00:00/00:00"}ngOnInit(){this.statusText&&this.callId?this.labelledByText=`${this.statusText} ${this.callId}`:this.statusText?this.labelledByText=this.statusText:this.callId&&(this.labelledByText=this.callId),this.startCallCounter()}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const t=this.startTime,e=(new Date).getTime()/1e3,n=Math.floor(e-t/1e3);this.displayTime=Math.floor(n/60)+":"+("0"+n%60).slice(-2)},1e3))}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-duration"]],inputs:{statusText:"statusText",callId:"callId",startTime:"startTime"},decls:2,vars:2,consts:[[1,"holdCallDurationDiv"],["readonly","","name","CallDuration","type","text","tabindex","-1","title","Call Duration",1,"block","durationInput",3,"value"]],template:function(t,e){1&t&&(Yo(0,"div",0),ts(1,"input",1),Xo()),2&t&&(Wr(1),Ko("value",e.displayTime),qo("aria-labelledby",e.labelledByText||null))},styles:[".durationInput[_ngcontent-%COMP%]:focus{outline-style:none}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:5px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();function fc(t,e){if(1&t){const t=rs();Yo(0,"img",2),os("click",(function(){const t=e.$implicit;return t.handler(t.operationName,t.operationMetadata)}))("keypress",(function(n){Le(t);const r=e.$implicit;return ls().operationKeypress(n,r)})),Xo()}if(2&t){const t=e.$implicit,n=ls();Ko("title",t.title)("src",t.icon,Mr),qo("aria-label",t.title)("accesskey",t.accesskey||null)("aria-labelledby",n.labelledByText||null)("aria-describedby",n.describedByText||null)}}let gc=(()=>{class t{constructor(){this.labelledByText="",this.describedByText=""}ngOnInit(){this.statusText&&this.callType?this.describedByText=`${this.statusText} ${this.callType}`:this.statusText?this.describedByText=this.statusText:this.callType&&(this.describedByText=this.callType),this.callId&&(this.labelledByText=this.callId)}operationKeypress(t,e){"Enter"===t.code&&e.handler(e.operationName,e.operationMetadata)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-operation"]],inputs:{statusText:"statusText",callId:"callId",callType:"callType",operations:"operations"},decls:2,vars:1,consts:[[1,"callOptions"],["class","AnswerCallImages","tabindex","0","role","button",3,"title","src","click","keypress",4,"ngFor","ngForOf"],["tabindex","0","role","button",1,"AnswerCallImages",3,"title","src","click","keypress"]],template:function(t,e){1&t&&(Yo(0,"div",0),Zo(1,fc,1,6,"img",1),Xo()),2&t&&(Wr(1),Ko("ngForOf",e.operations))},directives:[rc],styles:[".AnswerCallImages[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:1px}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:5px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();var mc=function(t){return t.AGENT="AGENT",t.OTHER_PERSON="OTHER_PERSON",t.INFORMATION="INFORMATION",t}({}),yc=function(t){return t[t.STRING=0]="STRING",t[t.COUNTER=1]="COUNTER",t}({});function _c(t,e){if(1&t&&ts(0,"input",2),2&t){const t=ls();Ko("name",t.processedDisplayValue)("title",t.title||null)("value",t.processedDisplayValue),qo("aria-labelledby",t.labelledByText||null)}}function bc(t,e){if(1&t){const t=rs();Yo(0,"input",3),os("click",(function(){Le(t);const e=ls();return e.property.customOperations.handler(e.property.customOperations.eventName,e.property.customOperations.eventMetadata)})),Xo()}if(2&t){const t=ls();Ko("name",t.processedDisplayValue)("title",t.title||null)("value",t.processedDisplayValue),qo("aria-labelledby",t.labelledByText||null)}}let wc=(()=>{class t{constructor(){this.labelledByText="",this.title="",this._timerId=null,this.processedDisplayValue=""}ngOnInit(){this.statusText&&this.callType?this.labelledByText=`${this.statusText} ${this.callType}`:this.statusText?this.labelledByText=this.statusText:this.callType&&(this.labelledByText=this.callType),this.callType&&this.callId?this.title=`${this.callType} ${this.callId}`:this.callType?this.title=this.callType:this.callId&&(this.title=this.callId),this.initValues()}initValues(){this.property.displayValueType===yc.COUNTER?this.startCallCounter():this.processedDisplayValue=this.property.displayValue}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const t=this.property.displayValue,e=(new Date).getTime()/1e3,n=Math.floor(e-t/1e3);this.processedDisplayValue=dc(n)},1e3))}ngOnDestroy(){this.property.displayValueType===yc.COUNTER&&null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-property"]],inputs:{statusText:"statusText",callId:"callId",callType:"callType",property:"property"},decls:2,vars:2,consts:[["readonly","","class","displayData","tabindex","0","type","text",3,"name","title","value",4,"ngIf"],["readonly","","class","cursor displayData","type","text","tabindex","0",3,"name","title","value","click",4,"ngIf"],["readonly","","tabindex","0","type","text",1,"displayData",3,"name","title","value"],["readonly","","type","text","tabindex","0",1,"cursor","displayData",3,"name","title","value","click"]],template:function(t,e){1&t&&(Zo(0,_c,1,4,"input",0),Zo(1,bc,1,4,"input",1)),2&t&&(Ko("ngIf",!e.property.customOperations),Wr(1),Ko("ngIf",e.property.customOperations))},directives:[oc],styles:["input[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:5px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();function vc(t,e){return new _(n=>{const r=t.length;if(0===r)return void n.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a<r;a++){const l=N(t[a]);let c=!1;n.add(l.subscribe({next:t=>{c||(c=!0,s++),i[a]=t},error:t=>n.error(t),complete:()=>{o++,o!==r&&c||(s===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}const Cc=new Dt("NgValueAccessor"),xc={provide:Cc,useExisting:mt(()=>Oc),multi:!0};let Oc=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[Ks([xc])]}),t})();const Ec={provide:Cc,useExisting:mt(()=>Ic),multi:!0},Tc=new Dt("CompositionEventMode");let Ic=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Kl()?Kl().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta),Qo(Tc,8))},t.\u0275dir=ce({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&os("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[Ks([Ec])]}),t})(),Mc=(()=>{class t{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ce({type:t}),t})(),kc=(()=>{class t extends Mc{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return Pc(e||t)},t.\u0275dir=ce({type:t,features:[Vs]}),t})();const Pc=Wn(kc);function Dc(){throw new Error("unimplemented")}class Ac extends Mc{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return Dc()}get asyncValidator(){return Dc()}}class Sc{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let Vc=(()=>{class t extends Sc{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(Ac,2))},t.\u0275dir=ce({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&bs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[Vs]}),t})(),Nc=(()=>{class t extends Sc{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(kc,2))},t.\u0275dir=ce({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&bs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[Vs]}),t})();function Rc(t){return null==t||0===t.length}const Fc=new Dt("NgValidators"),Hc=new Dt("NgAsyncValidators"),jc=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class zc{static min(t){return e=>{if(Rc(e.value)||Rc(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(Rc(e.value)||Rc(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return Rc(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return Rc(t.value)||jc.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(Rc(e.value))return null;const n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}static maxLength(t){return e=>{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return zc.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(Rc(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(Lc);return 0==e.length?null:function(t){return Uc(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(Lc);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(l(e))return vc(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return vc(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return vc(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(E(t=>e(...t)))}return vc(t,null)}(function(t,e){return e.map(e=>e(t))}(t,e).map(Bc)).pipe(E(Uc))}}}function Lc(t){return null!=t}function Bc(t){const e=is(t)?N(t):t;if(!(n=e)||"function"!=typeof n.subscribe)throw new Error("Expected validator to return Promise or Observable.");var n;return e}function Uc(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function $c(t){return t.validate?e=>t.validate(e):t}function qc(t){return t.validate?e=>t.validate(e):t}const Gc={provide:Cc,useExisting:mt(()=>Zc),multi:!0};let Zc=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Ks([Gc])]}),t})();const Wc={provide:Cc,useExisting:mt(()=>Kc),multi:!0};let Qc=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})(),Kc=(()=>{class t{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(Ac),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta),Qo(Qc),Qo(Ao))},t.\u0275dir=ce({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ks([Wc])]}),t})();const Jc={provide:Cc,useExisting:mt(()=>Yc),multi:!0};let Yc=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Ks([Jc])]}),t})();const Xc='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',tu='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',eu={provide:Cc,useExisting:mt(()=>nu),multi:!0};let nu=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=jo}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ks([eu])]}),t})();const ru={provide:Cc,useExisting:mt(()=>iu),multi:!0};let iu=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=jo}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty("selectedOptions")){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const r=t.item(e),i=this._getOptionValue(r.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const r=t.item(e);if(r.selected){const t=this._getOptionValue(r.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ks([ru])]}),t})();function ou(t,e){return[...e.path,t]}function su(t,e){t||lu(e,"Cannot find control with"),e.valueAccessor||lu(e,"No value accessor for form control with"),t.validator=zc.compose([t.validator,e.validator]),t.asyncValidator=zc.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&au(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&au(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function au(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lu(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function cu(t){return null!=t?zc.compose(t.map($c)):null}function uu(t){return null!=t?zc.composeAsync(t.map(qc)):null}const du=[Oc,Yc,Zc,nu,iu,Kc];function hu(t){const e=fu(t)?t.validators:t;return Array.isArray(e)?cu(e):e||null}function pu(t,e){const n=fu(e)?e.asyncValidators:t;return Array.isArray(n)?uu(n):n||null}function fu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class gu{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=hu(t)}setAsyncValidators(t){this.asyncValidator=pu(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING";const e=Bc(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let r=t;return e.forEach(t=>{r=r instanceof yu?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof _u&&r.at(t)||null}),r}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new qa,this.statusChanges=new qa}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){fu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class mu extends gu{constructor(t=null,e,n){super(hu(e),pu(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class yu extends gu{constructor(t,e,n){super(hu(e),pu(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof mu?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,r)=>{e=e||this.contains(r)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,r)=>{n=e(n,t,r)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class _u extends gu{constructor(t,e,n){super(hu(e),pu(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof mu?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const bu={provide:kc,useExisting:mt(()=>vu)},wu=(()=>Promise.resolve(null))();let vu=(()=>{class t extends kc{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new qa,this.form=new yu({},cu(t),uu(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){wu.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),su(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){wu.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this._directives,t)})}addFormGroup(t){wu.then(()=>{const e=this._findContainer(t.path),n=new yu({});(function(t,e){null==t&&lu(e,"Cannot find control with"),t.validator=zc.compose([t.validator,e.validator]),t.asyncValidator=zc.composeAsync([t.asyncValidator,e.asyncValidator])})(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){wu.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){wu.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(Qo(Fc,10),Qo(Hc,10))},t.\u0275dir=ce({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&os("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ks([bu]),Vs]}),t})(),Cu=(()=>{class t extends kc{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ou(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return cu(this._validators)}get asyncValidator(){return uu(this._asyncValidators)}_checkParentType(){}}return t.\u0275fac=function(e){return xu(e||t)},t.\u0275dir=ce({type:t,features:[Vs]}),t})();const xu=Wn(Cu);class Ou{static modelParentException(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${Xc}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${tu}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${Xc}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${tu}`)}}const Eu={provide:kc,useExisting:mt(()=>Tu)};let Tu=(()=>{class t extends Cu{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof t||this._parent instanceof vu||Ou.modelGroupParentException()}}return t.\u0275fac=function(e){return new(e||t)(Qo(kc,5),Qo(Fc,10),Qo(Hc,10))},t.\u0275dir=ce({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Ks([Eu]),Vs]}),t})();const Iu={provide:Ac,useExisting:mt(()=>ku)},Mu=(()=>Promise.resolve(null))();let ku=(()=>{class t extends Ac{constructor(t,e,n,r){super(),this.control=new mu,this._registered=!1,this.update=new qa,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||lu(t,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,i=void 0;return e.forEach(e=>{var o;e.constructor===Ic?n=e:(o=e,du.some(t=>o.constructor===t)?(r&&lu(t,"More than one built-in value accessor matches form control with"),r=e):(i&&lu(t,"More than one custom value accessor matches form control with"),i=e))}),i||r||n||(lu(t,"No valid value accessor for form control with"),null)}(this,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!jo(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?ou(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return cu(this._rawValidators)}get asyncValidator(){return uu(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){su(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof Tu)&&this._parent instanceof Cu?Ou.formGroupNameException():this._parent instanceof Tu||this._parent instanceof vu||Ou.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ou.missingNameException()}_updateValue(t){Mu.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Mu.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(Qo(kc,9),Qo(Fc,10),Qo(Hc,10),Qo(Cc,10))},t.\u0275dir=ce({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ks([Iu]),Vs,zs]}),t})(),Pu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ce({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Du={provide:Fc,useExisting:mt(()=>Au),multi:!0};let Au=(()=>{class t{get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?zc.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ce({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&qo("required",e.required?"":null)},inputs:{required:"required"},features:[Ks([Du])]}),t})(),Su=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)}}),t})(),Vu=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)},providers:[Qc],imports:[Su]}),t})();function Nu(t,e){if(1&t){const t=rs();Yo(0,"img",7),os("error",(function(){Le(t);const e=ls();return e.image=e.fallbackImage})),Xo()}if(2&t){const t=ls();_s("border-color",t.color),Ko("src",t.image,Mr)}}function Ru(t,e){if(1&t&&(Yo(0,"span",8),Ps(1),Xo()),2&t){const t=ls();Wr(1),Ds(t.username)}}function Fu(t,e){if(1&t&&(Yo(0,"span",9),Ps(1),Xo()),2&t){const t=ls();Wr(1),Ds(t.timestamp)}}let Hu=(()=>{class t{constructor(){this.alignRight=!1}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["app-chat-message"]],inputs:{message:"message",alignRight:"alignRight",username:"username",color:"color",timestamp:"timestamp",image:"image",fallbackImage:"fallbackImage"},decls:9,vars:10,consts:[[1,"message-header"],["class","image",3,"src","border-color","error",4,"ngIf"],["class","username",4,"ngIf"],["class","timestamp",4,"ngIf"],[1,"message-body-container"],[1,"message-body"],[3,"innerHTML"],[1,"image",3,"src","error"],[1,"username"],[1,"timestamp"]],template:function(t,e){1&t&&(Yo(0,"div"),Yo(1,"div",0),Zo(2,Nu,1,3,"img",1),Zo(3,Ru,2,1,"span",2),Zo(4,Fu,2,1,"span",3),Xo(),Yo(5,"div",4),Yo(6,"div"),Yo(7,"div",5),ts(8,"span",6),Xo(),Xo(),Xo(),Xo()),2&t&&(function(t,e,n,r){const i=ze(),o=Ke(2);i.firstUpdatePass&&xs(i,null,o,!0);const s=je();if(n!==Ur&&$o(s,o,n)){const r=i.data[cn()+20];if(ks(r,!0)&&!Cs(i,o)){let t=r.classesWithoutHost;null!==t&&(n=ft(t,n||"")),Jo(i,r,s,n,!0)}else!function(t,e,n,r,i,o,s,a){i===Ur&&(i=ds);let l=0,c=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const s=l<i.length?i[l+1]:void 0,h=c<o.length?o[c+1]:void 0;let p=null,f=void 0;u===d?(l+=2,c+=2,s!==h&&(p=d,f=h)):null===d||null!==u&&u<d?(l+=2,p=u):(c+=2,p=d,f=h),null!==p&&Ts(t,e,n,r,p,f,!0,a),u=l<i.length?i[l]:null,d=c<o.length?o[c]:null}}(i,r,s,s[11],s[o+1],s[o+1]=function(t,e,n){if(null==n||""===n)return ds;const r=[],i=tr(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else"string"==typeof i&&e(r,i);return r}(t,e,n),0,o)}}(Qt,ws,e.alignRight?"message right-message":"message left-message"),Wr(2),Ko("ngIf",e.image),Wr(1),Ko("ngIf",e.username),Wr(1),Ko("ngIf",e.timestamp),Wr(3),_s("background-color",e.color)("border-color",e.color),Wr(1),Ko("innerHTML",e.message,Ir))},directives:[oc],styles:['[_nghost-%COMP%]{display:block;margin-top:2px;margin-bottom:2px}.right-message[_ngcontent-%COMP%]{text-align:end}.message-header[_ngcontent-%COMP%]{display:flex;-webkit-text-emphasis:none;text-emphasis:none;font-style:italic;font-size:.7em;align-items:center;margin-bottom:.5em}.message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:30px;border-radius:50%;border:2px solid red}.message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{font-weight:700}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%]{flex-direction:row-reverse;margin-right:1px}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{margin-left:5px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%]{margin-left:1px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{margin-right:5px}.message-body-container[_ngcontent-%COMP%]{display:flex}.right-message[_ngcontent-%COMP%] > .message-body-container[_ngcontent-%COMP%]{flex-direction:row-reverse}.message-body[_ngcontent-%COMP%]{display:inline-block;position:relative;border-radius:.4em;padding:3px;font-style:normal;font-size:1em;text-align:start;min-width:2em;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.left-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{left:.8em}.left-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after, .right-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;top:-.4em;border-bottom:.4em solid #000;border-bottom-color:inherit;border-left:.4em solid transparent;border-right:.4em solid transparent}.right-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{right:.8em}']}),t})();const ju=["MessagesContainer"];function zu(t,e){if(1&t&&(es(0),ts(1,"app-chat-message",9),ns()),2&t){const t=e.$implicit,n=ls();Wr(1),Ko("alignRight",n.shouldAlignRight(t))("message",t.text)("username",t.username)("timestamp",t.timestamp)("image",t.userIcon)("fallbackImage",n.settings.fallbackUserIcon)("color",n.getColor(t))}}function Lu(t,e){1&t&&(Yo(0,"div",10),Ps(1," Someone is typing "),ts(2,"span"),ts(3,"span"),ts(4,"span"),Xo())}let Bu=(()=>{class t{constructor(){this.isTyping=!1,this.lastCount=-1,this._isAgentTyping=!1,this.isAgentTyping=new qa,this.newMessage=new qa,this.newMessageText="",this.usernameToColor={},this.colors=["#81c784","#ffab91","#f48fb1","#29b6f6","#e1bee7","#9ccc65","#ffc107","#26c6da","#cddc39"],this.colorsIndex=0,this.agentColor="#29b6f6"}ngAfterViewChecked(){this.lastCount!==this.messages.length&&(this.lastCount=this.messages.length,this.scrollToBottom())}getColor(t){return t.type&&t.type===mc.AGENT?this.agentColor:t.username?(this.usernameToColor[t.username]||(this.usernameToColor[t.username]=this.colors[this.colorsIndex],this.colorsIndex=(this.colorsIndex+1)%this.colors.length),this.usernameToColor[t.username]):this.colors[0]}shouldAlignRight(t){return t.type&&t.type===mc.AGENT}sendNewMessage(){this.newMessageText&&(this.newMessage.emit(this.newMessageText),this.newMessageText="")}onNewMessageFocus(t){const e=t&&this.newMessageText.length>0;e!==this._isAgentTyping&&(this._isAgentTyping=e,this.isAgentTyping.emit(e))}onKeyup(){const t=this.newMessageText.length>0;t!==this._isAgentTyping&&(this._isAgentTyping=t,this.isAgentTyping.emit(t))}scrollToBottom(){try{this.messagesContainer.nativeElement.scrollTop=this.messagesContainer.nativeElement.scrollHeight}catch(t){}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["app-chat-box"]],viewQuery:function(t,e){var n,r,i,o,s,a;1&t&&(o=ju,s=!0,function(t,e,n,r,i,o){t.firstCreatePass&&(function(t,e,n){null===t.queries&&(t.queries=new Ja),t.queries.track(new Ya(e,-1))}(t,new Ka(n,r,!0,i)),t.staticViewQueries=!0),function(t,e){const n=new Za;!function(t,e,n,r){const i=ji(e);i.push(n),t.firstCreatePass&&zi(t).push(r,i.length-1)}(t,e,n,n.destroy),null===e[19]&&(e[19]=new Qa),e[19].queries.push(new Wa(n))}(t,e)}(ze(),je(),o,s,a)),2&t&&function(t){const e=je(),n=ze(),r=Xe();tn(r+1);const i=nl(n,r);if(t.dirty&&Ae(e)===i.metadata.isStatic){if(null===i.matches)t.reset([]);else{const o=i.crossesNgTemplate?function t(e,n,r,i){const o=e.queries.getByIndex(r),s=o.matches;if(null!==s){const a=el(e,n,o,r);for(let e=0;e<s.length;e+=2){const r=s[e];if(r>0)i.push(a[e/2]);else{const o=s[e+1],a=n[-r];for(let e=10;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n[1],n,o,i)}if(null!==a[9]){const e=a[9];for(let n=0;n<e.length;n++){const r=e[n];t(r[1],r,o,i)}}}}}return i}(n,e,r,[]):el(n,e,i,r);t.reset(o),t.notifyOnChanges()}return!0}return!1}((r=je(),i=Xe(),n=r[19].queries[i].queryList))&&(e.messagesContainer=n.first)},inputs:{settings:"settings",isTyping:"isTyping",messages:"messages"},outputs:{isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:9,vars:8,consts:[[1,"chat-box"],[1,"messages"],["MessagesContainer",""],[4,"ngFor","ngForOf"],["class","typing-indicator",4,"ngIf"],[1,"new-message"],["type","text","placeholder","Type a message",3,"ngModel","disabled","ngModelChange","focus","blur","keydown.enter","keyup"],["NewMessageText",""],["type","image",3,"src","disabled","click"],[3,"alignRight","message","username","timestamp","image","fallbackImage","color"],[1,"typing-indicator"]],template:function(t,e){1&t&&(Yo(0,"div",0),Yo(1,"div",1,2),Zo(3,zu,2,7,"ng-container",3),Zo(4,Lu,5,0,"div",4),Xo(),Yo(5,"div",5),Yo(6,"input",6,7),os("ngModelChange",(function(t){return e.newMessageText=t}))("focus",(function(){return e.onNewMessageFocus(!0)}))("blur",(function(){return e.onNewMessageFocus(!1)}))("keydown.enter",(function(){return e.sendNewMessage()}))("keyup",(function(){return e.onKeyup()})),Xo(),Yo(8,"input",8),os("click",(function(){return e.sendNewMessage()})),Xo(),Xo(),Xo()),2&t&&(Wr(1),_s("max-height",e.settings.maxHeight),Wr(2),Ko("ngForOf",e.messages),Wr(1),Ko("ngIf",e.isTyping),Wr(2),Ko("ngModel",e.newMessageText)("disabled",e.settings.disableSendMessage),Wr(2),Ko("src",e.settings.sendImage,Mr)("disabled",e.settings.disableSendMessage))},directives:[rc,oc,Ic,Vc,ku,Hu],styles:[".chat-box[_ngcontent-%COMP%]{background-color:#eceff1}.messages[_ngcontent-%COMP%]{padding:5px;overflow:auto;min-height:50px}.new-message[_ngcontent-%COMP%]{border-top:1px solid #000;display:flex;align-content:center;height:25px}.new-message[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{flex:1 1 0;background-color:#eceff1;border:none;min-width:0}.new-message[_ngcontent-%COMP%] input[type=image][_ngcontent-%COMP%]{position:relative;top:50%;transform:translateY(-50%);height:20px;cursor:pointer}.new-message[_ngcontent-%COMP%] input[type=image][_ngcontent-%COMP%]:disabled{opacity:.5;cursor:auto}.new-message[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}.typing-indicator[_ngcontent-%COMP%]{font-size:1em;font-style:italic}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;height:10px;width:10px;border-radius:50%;background-color:#9e9e9e;margin:0 1px;opacity:.2}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{-webkit-animation:blink 1.5s .33333s infinite;animation:blink 1.5s .33333s infinite}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2){-webkit-animation:blink 1.5s .66666s infinite;animation:blink 1.5s .66666s infinite}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(3){-webkit-animation:blink 1.5s .99999s infinite;animation:blink 1.5s .99999s infinite}@-webkit-keyframes blink{50%{opacity:1}}@keyframes blink{50%{opacity:1}}"]}),t})();function Uu(t,e){if(1&t&&(Yo(0,"label",12),Ps(1),Xo()),2&t){const t=ls();Wr(1),Ds(t.interaction.UIHeadersData.directionText)}}function $u(t,e){if(1&t&&(Yo(0,"div",13),ts(1,"amc-holdtimer",14),Xo()),2&t){const t=ls();Wr(1),Ko("holdCounterData",t.interaction.UIHeadersData.holdCounterData)("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)}}function qu(t,e){if(1&t){const t=rs();Yo(0,"img",15),os("click",(function(){return Le(t),ls().minimize()}))("keypress",(function(e){return Le(t),ls().collapseKeypress(e)})),Xo()}2&t&&Ko("src",ls().interaction.UIHeadersData.minimizeUrl,Mr)}function Gu(t,e){if(1&t){const t=rs();Yo(0,"img",16),os("click",(function(){return Le(t),ls().maximize()}))("keypress",(function(e){return Le(t),ls().expandKeypress(e)})),Xo()}2&t&&Ko("src",ls().interaction.UIHeadersData.maximizeUrl,Mr)}function Zu(t,e){if(1&t&&(Yo(0,"div",17),ts(1,"amc-duration",18),Xo()),2&t){const t=ls();Wr(1),Ko("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)("startTime",t.interaction.startTime)}}function Wu(t,e){if(1&t&&(es(0),Yo(1,"label",26),Ps(2),Xo(),ts(3,"amc-property",27),ns()),2&t){const t=ls().$implicit,e=ls(3);Wr(1),Ko("title",t.displayKey),Wr(1),Ds(t.displayKey),Wr(1),Ko("callType",e.interaction.UIHeadersData.directionText)("statusText",e.interaction.UIHeadersData.statusText)("callId",e.interaction.subheaderData.value)("property",t)}}function Qu(t,e){if(1&t&&(es(0),Zo(1,Wu,4,6,"ng-container",11),ns()),2&t){const t=e.$implicit;Wr(1),Ko("ngIf",t.visible)}}function Ku(t,e){if(1&t&&(es(0),Yo(1,"div",28),Yo(2,"label",29),Ps(3),Xo(),ts(4,"amc-property",27),Xo(),ns()),2&t){const t=ls().$implicit,e=ls(3);Wr(2),Ko("title",t.displayKey),Wr(1),Ds(t.displayKey),Wr(1),Ko("callType",e.interaction.UIHeadersData.directionText)("statusText",e.interaction.UIHeadersData.statusText)("callId",e.interaction.subheaderData.value)("property",t)}}function Ju(t,e){if(1&t&&(es(0),Zo(1,Ku,5,6,"ng-container",11),ns()),2&t){const t=e.$implicit;Wr(1),Ko("ngIf",t.visible)}}function Yu(t,e){if(1&t){const t=rs();Yo(0,"app-chat-box",30),os("isAgentTyping",(function(e){return Le(t),ls(3).isAgentTyping.emit(e)}))("newMessage",(function(e){return Le(t),ls(3).newMessage.emit(e)})),Xo()}if(2&t){const t=ls(3);Ko("isTyping",t.interaction.chat.isCustomerTyping)("settings",t.interaction.chat.settings)("messages",t.interaction.chat.messages)}}function Xu(t,e){if(1&t&&(Yo(0,"div"),Yo(1,"div",19),ts(2,"input",20),ts(3,"input",21),Xo(),Yo(4,"div",22),Zo(5,Qu,2,1,"ng-container",23),Zo(6,Ju,2,1,"ng-container",23),Xo(),Zo(7,Yu,1,3,"app-chat-box",24),ts(8,"div",4),ts(9,"amc-operation",25),Xo()),2&t){const t=ls(2);Wr(2),Ko("src",t.interaction.subheaderData.image.href,Mr)("title",t.interaction.subheaderData.tooltip||""),Wr(1),Ko("value",t.interaction.subheaderData.value)("id",t.interaction.subheaderData.value),qo("aria-labelledby",t.interaction.UIHeadersData.statusText+" "+t.interaction.subheaderData.value),Wr(2),Ko("ngForOf",t.interaction.properties),Wr(1),Ko("ngForOf",t.interaction.associatedData),Wr(1),Ko("ngIf",t.interaction.chat),Wr(1),Ko("id",t.interaction.interactionId),Wr(1),Ko("callType",t.interaction.UIHeadersData.directionText)("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)("operations",t.interaction.operations)}}function td(t,e){if(1&t&&(es(0),Yo(1,"label",26),Ps(2),Xo(),ts(3,"amc-property",27),ns()),2&t){const t=ls().$implicit,e=ls().$implicit,n=ls(3);Wr(1),Ko("title",t.displayKey),Wr(1),Ds(t.displayKey),Wr(1),Ko("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",e.header.value)("property",t)}}function ed(t,e){if(1&t&&(es(0),Zo(1,td,4,6,"ng-container",11),ns()),2&t){const t=e.$implicit;Wr(1),Ko("ngIf",t.visible)}}function nd(t,e){if(1&t&&(Yo(0,"div"),Yo(1,"div",19),ts(2,"input",20),ts(3,"input",31),Xo(),Yo(4,"div",32),Zo(5,ed,2,1,"ng-container",23),Xo(),ts(6,"amc-operation",25),ts(7,"div",0),Xo()),2&t){const t=e.$implicit,n=ls(3);Wr(2),Ko("src",t.header.image.href,Mr)("title",t.header.tooltip||""),Wr(1),Ko("value",t.header.value),Wr(2),Ko("ngForOf",t.properties),Wr(1),Ko("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",t.header.value)("operations",t.operations)}}function rd(t,e){if(1&t&&(Yo(0,"div"),Zo(1,nd,8,8,"div",23),ts(2,"amc-operation",25),Xo()),2&t){const t=ls(2);Wr(1),Ko("ngForOf",t.interaction.parties),Wr(1),Ko("callType",t.interaction.UIHeadersData.directionText)("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)("operations",t.interaction.operations)}}function id(t,e){if(1&t&&(Yo(0,"div"),Zo(1,Xu,10,13,"div",11),Zo(2,rd,3,5,"div",11),Xo()),2&t){const t=ls();Wr(1),Ko("ngIf",!t.isConferenceCall()),Wr(1),Ko("ngIf",t.isConferenceCall())}}let od=(()=>{class t{constructor(){this.minimizedChanged=new qa,this.isAgentTyping=new qa,this.newMessage=new qa,this._minimized=!1}set _minimized(t){this.minimized=t,this.minimizedChanged.emit(t)}get _minimized(){return this.minimized}ngOnInit(){}minimize(){this._minimized=!0}maximize(){this._minimized=!1}isConferenceCall(){return!!(this.interaction.parties&&this.interaction.parties.length>1)}collapseKeypress(t){"Enter"===t.code&&this.minimize()}expandKeypress(t){"Enter"===t.code&&this.maximize()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-interaction"]],inputs:{interaction:"interaction"},outputs:{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:14,vars:9,consts:[[1,"AnswerCallFocused"],[1,"editor","callHeaderTop"],["aria-hidden","true",1,"statusImage",3,"src","click"],[1,"statusText"],[3,"id"],[1,"verticalDivider"],["class","directionText",4,"ngIf"],["class","holdCallDurationDiv",4,"ngIf"],["class","ViewExpandImage","alt","Minimize","tabindex","0","role","button","aria-label","collapse Call Section",3,"src","click","keypress",4,"ngIf"],["class","ViewCollapseImage","alt","Maximize","tabindex","0","role","button","aria-label","expand Call Section",3,"src","click","keypress",4,"ngIf"],["class","DurationDiv",4,"ngIf"],[4,"ngIf"],[1,"directionText"],[1,"holdCallDurationDiv"],[3,"holdCounterData","statusText","callId"],["alt","Minimize","tabindex","0","role","button","aria-label","collapse Call Section",1,"ViewExpandImage",3,"src","click","keypress"],["alt","Maximize","tabindex","0","role","button","aria-label","expand Call Section",1,"ViewCollapseImage",3,"src","click","keypress"],[1,"DurationDiv"],[3,"statusText","callId","startTime"],[1,"editor","phoneNumberContainer"],["type","image","tabindex","-1",1,"callImage",3,"src","title"],["readonly","","type","text","tabindex","-1",1,"editor","phoneNumberValue",3,"value","id"],[1,"cadSection"],[4,"ngFor","ngForOf"],[3,"isTyping","settings","messages","isAgentTyping","newMessage",4,"ngIf"],[3,"callType","statusText","callId","operations"],[1,"col1",3,"title"],[1,"col2",3,"callType","statusText","callId","property"],[1,"editor","displayDiv"],[1,"displayLabels",3,"title"],[3,"isTyping","settings","messages","isAgentTyping","newMessage"],["readonly","","type","text","tabindex","-1",1,"editor","phoneNumberValue",3,"value"],[1,"grid-container"]],template:function(t,e){1&t&&(Yo(0,"div",0),Yo(1,"div",1),Yo(2,"img",2),os("click",(function(){return e.interaction.UIHeadersData.focusHandler.handler(e.interaction.UIHeadersData.focusHandler.operationName,e.interaction.UIHeadersData.focusHandler.operationMetadata)})),Xo(),Yo(3,"label",3),Yo(4,"b",4),Ps(5),Xo(),Xo(),Yo(6,"label",5),Ps(7,"|"),Xo(),Zo(8,Uu,2,1,"label",6),Zo(9,$u,2,3,"div",7),Zo(10,qu,1,1,"img",8),Zo(11,Gu,1,1,"img",9),Zo(12,Zu,2,3,"div",10),Xo(),Zo(13,id,3,2,"div",11),Xo()),2&t&&(Wr(2),Ko("src",e.interaction.UIHeadersData.statusUrl,Mr),Wr(2),Ko("id",e.interaction.UIHeadersData.statusText),Wr(1),Ds(e.interaction.UIHeadersData.statusText),Wr(3),Ko("ngIf",!e.interaction.UIHeadersData.displayHoldCounter),Wr(1),Ko("ngIf",e.interaction.UIHeadersData.displayHoldCounter),Wr(1),Ko("ngIf",!e._minimized),Wr(1),Ko("ngIf",e._minimized),Wr(1),Ko("ngIf",e.interaction.displayCallTimer),Wr(1),Ko("ngIf",!e._minimized))},directives:[oc,hc,pc,rc,gc,wc,Bu],styles:["[_nghost-%COMP%]{display:block}.phoneNumberContainer[_ngcontent-%COMP%]{margin-left:5px!important;padding-left:0;display:flex;align-items:center}.cadSection[_ngcontent-%COMP%]{margin-bottom:5px}.grid-container[_ngcontent-%COMP%]{margin-left:5px;display:grid;grid-template-columns:auto 1fr;grid-column-gap:10px;max-width:calc(100% - 5px);overflow:hidden}.col1[_ngcontent-%COMP%]{grid-column:1/2}.col2[_ngcontent-%COMP%]{grid-column:2/3}.ViewExpandImage[_ngcontent-%COMP%]{margin:3px}.ViewExpandImage[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:0}.ViewCollapseImage[_ngcontent-%COMP%]{margin:3px}.ViewCollapseImage[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:0}.callImage[_ngcontent-%COMP%]{cursor:default}.phoneNumberValue[_ngcontent-%COMP%]:focus{outline-style:none}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:5px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();function sd(t,e){if(1&t){const t=rs();Yo(0,"amc-interaction",2),os("minimizedChanged",(function(){return Le(t),ls(2).onMinimizedChanged()}))("isAgentTyping",(function(e){return Le(t),ls(2).isAgentTyping.emit(e)}))("newMessage",(function(e){return Le(t),ls(2).newMessage.emit(e)})),Xo()}2&t&&Ko("interaction",e.$implicit)}function ad(t,e){if(1&t&&(es(0),Zo(1,sd,1,1,"amc-interaction",1),ns()),2&t){const t=ls();Wr(1),Ko("ngForOf",t.scenario.interactions)}}let ld=(()=>{class t{constructor(){this.minimizedChanged=new qa,this.isAgentTyping=new qa,this.newMessage=new qa,this.afterViewChecked=new qa}ngAfterViewChecked(){this.afterViewChecked.emit()}onMinimizedChanged(){this.minimizedChanged.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-scenario"]],inputs:{scenario:"scenario"},outputs:{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage",afterViewChecked:"afterViewChecked"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"interaction","minimizedChanged","isAgentTyping","newMessage",4,"ngFor","ngForOf"],[3,"interaction","minimizedChanged","isAgentTyping","newMessage"]],template:function(t,e){1&t&&Zo(0,ad,2,1,"ng-container",0),2&t&&Ko("ngIf",e.scenario&&e.scenario.interactions)},directives:[oc,rc,od],styles:["","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:5px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();const cd=(()=>{const t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector})(),ud={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return ud.schedule(t,0);if(void 0===window.requestAnimationFrame)return ud.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function dd(t,e,n){let r=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){return cd.call(t,e)}(t,e)||(r=n,0))),r}class hd{constructor(t,e){this.componentFactory=e.get(Xs).resolveComponentFactory(t)}create(t){return new pd(this.componentFactory,t)}}class pd{constructor(t,e){this.componentFactory=t,this.injector=e,this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set}connect(t){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)}disconnect(){null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=ud.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))}getInputValue(t){return null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t]}setInputValue(t,e){var n,r;null!==this.componentRef?((n=e)!==(r=this.getInputValue(t))&&(n==n||r==r)||void 0===e&&this.unchangedInputs.has(t))&&(this.recordInputChange(t,e),this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)}initializeComponent(t){const e=Ao.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,r=e.map(()=>[]);let i=-1;e.some((t,e)=>"*"===t&&(i=e,!0));for(let o=0,s=n.length;o<s;++o){const t=n[o],s=dd(t,e,i);-1!==s&&r[s].push(t)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get($l).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.implementsOnChanges&&this.unchangedInputs.add(t),this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:e,templateName:n})=>t.instance[e].pipe(E(t=>({name:n,value:t}))));this.events=z(...e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ud.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const r=this.unchangedInputs.has(t);this.unchangedInputs.delete(t);const i=r?void 0:this.getInputValue(t);this.inputChanges[t]=new js(i,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}}class fd extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function gd(t,e){const n=function(t,e){return e.get(Xs).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new hd(t,e.injector),i=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{var r;e[(r=n,r.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()))]=t}),e}(n);class o extends fd{constructor(t){super(),this.injector=t}get ngElementStrategy(){if(!this._ngElementStrategy){const t=this._ngElementStrategy=r.create(this.injector||e.injector),i=n.filter(({propName:t})=>this.hasOwnProperty(t)).map(({propName:t})=>[t,this[t]]);this instanceof o?i.forEach(([t])=>delete this[t]):md(n,this),i.forEach(([e,n])=>t.setInputValue(e,n))}return this._ngElementStrategy}attributeChangedCallback(t,e,n,r){this.ngElementStrategy.setInputValue(i[t],n)}connectedCallback(){this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const r=t.createEvent("CustomEvent");return r.initCustomEvent(e,!1,!1,n),r}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}}return o.observedAttributes=Object.keys(i),md(n,o.prototype),o}function md(t,e){t.forEach(({propName:t})=>{Object.defineProperty(e,t,{get(){return this.ngElementStrategy.getInputValue(t)},set(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})})}class yd extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new yd,Ql||(Ql=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=bd||(bd=document.querySelector("base"),bd)?bd.getAttribute("href"):null;return null==e?null:(n=e,_d||(_d=document.createElement("a")),_d.setAttribute("href",n),"/"===_d.pathname.charAt(0)?_d.pathname:"/"+_d.pathname);var n}resetBaseElement(){bd=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}(document.cookie,t)}}let _d,bd=null;const wd=new Dt("TRANSITION_ID"),vd=[{provide:rl,useFactory:function(t,e,n){return()=>{n.get(il).donePromise.then(()=>{const n=Kl();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[wd,Jl,Ao],multi:!0}];class Cd{static init(){var t;t=new Cd,Fl=t}addToWindow(t){xt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},xt.getAllAngularTestabilities=()=>t.getAllTestabilities(),xt.getAllAngularRootElements=()=>t.getAllRootElements(),xt.frameworkStabilizers||(xt.frameworkStabilizers=[]),xt.frameworkStabilizers.push(t=>{const e=xt.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(i)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Kl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const xd=new Dt("EventManagerPlugins");let Od=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(Lt(xd),Lt(El))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();class Ed{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Kl().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Td=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})(),Id=(()=>{class t extends Td{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Kl().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Lt(Jl))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const Md={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/"},kd=/%COMP%/g;function Pd(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?Pd(t,i,n):(i=i.replace(kd,t),n.push(i))}return n}function Dd(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Ad=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Sd(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Xt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Vd(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Xt.Native:case Xt.ShadowDom:return new Nd(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Pd(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Lt(Od),Lt(Id),Lt(ol))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();class Sd{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Md[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=Md[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Md[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&ra.DashCase?t.style.setProperty(e,n,r&ra.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ra.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Dd(n)):this.eventManager.addEventListener(t,e,Dd(n))}}class Vd extends Sd{constructor(t,e,n,r){super(t),this.component=n;const i=Pd(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(kd,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(kd,t)}(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Nd extends Sd{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Xt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=Pd(r.id,r.styles,[]);for(let o=0;o<i.length;o++){const t=document.createElement("style");t.textContent=i[o],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let Rd=(()=>{class t extends Ed{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Lt(Jl))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const Fd=["alt","control","meta","shift"],Hd={"\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"},jd={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"},zd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Ld=(()=>{class t extends Ed{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),o=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kl().onAndCancel(e,i.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let o="";if(Fd.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;const s={};return s.domEventName=r,s.fullKey=o,s}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&jd.hasOwnProperty(e)&&(e=jd[e]))}return Hd[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Fd.forEach(r=>{r!=n&&(0,zd[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Lt(Jl))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const Bd=zl(Gl,"browser",[{provide:cl,useValue:"browser"},{provide:ll,useValue:function(){yd.makeCurrent(),Cd.init()},multi:!0},{provide:Jl,useFactory:function(){return function(t){ve=t}(document),document},deps:[]}]),Ud=[[],{provide:_o,useValue:"root"},{provide:Yn,useFactory:function(){return new Yn},deps:[]},{provide:xd,useClass:Rd,multi:!0,deps:[Jl,El,cl]},{provide:xd,useClass:Ld,multi:!0,deps:[Jl]},[],{provide:Ad,useClass:Ad,deps:[Od,Id,ol]},{provide:na,useExisting:Ad},{provide:Td,useExisting:Id},{provide:Id,useClass:Id,deps:[Jl]},{provide:Sl,useClass:Sl,deps:[El]},{provide:Od,useClass:Od,deps:[xd,El]},[]];let $d=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:ol,useValue:e.appId},{provide:wd,useExisting:ol},vd]}}}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)(Lt(t,12))},providers:Ud,imports:[uc,Wl]}),t})();"undefined"!=typeof window&&window;class qd{constructor(t,e){this.strategy=t,this.injector=e,this.ngZone=this.injector.get(El)}connect(t){this.runInZone(()=>{this.strategy.connect(t)}),this.events=this.strategy.events}disconnect(){this.runInZone(()=>{this.strategy.disconnect()})}getInputValue(t){return this.runInZone(()=>this.strategy.getInputValue(t))}setInputValue(t,e){this.runInZone(()=>{this.strategy.setInputValue(t,e)})}runInZone(t){return this.ngZone.run(t)}}let Gd=(()=>{class t{constructor(t,e){this.component=t,this.injector=e,this.ngElement=gd(this.component,{injector:this.injector}),customElements.define(this.generateName(),this.ngElement)}string4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}generateName(){let e="dummy-name-n";return e=e+(t.counter+"-")+this.string4()+this.string4()+this.string4()+"-"+this.string4()+this.string4()+"-"+this.string4(),t.counter++,e}create(t){let e=new this.ngElement(this.injector);const n=e.ngElementStrategy;return e=null,new qd(n,this.injector)}}return t.counter=1,t})();const Zd=function(t,e){return{"disposition-label-selected":t,"first-disposition":e}};function Wd(t,e){if(1&t){const t=rs();Yo(0,"div",5),Yo(1,"label",6),os("keypress",(function(n){Le(t);const r=e.$implicit;return ls().selectAndSubmitDisposition(n,r.key)})),Yo(2,"input",7),os("change",(function(){return Le(t),ls().submitDisposition()}))("ngModelChange",(function(e){return Le(t),ls().selectedDispositionValue=e})),Xo(),Ps(3),Xo(),Xo()}if(2&t){const t=e.$implicit,a=e.index,l=ls();Wr(1),Ko("id",t.key)("ngClass",(n=8,r=Zd,i=l.selectedDispositionValue===t.key,o=0===a,function(t,e,n,r,i,o,s){const a=e+n;return function(t,e,n,r){const i=$o(t,e,n);return $o(t,e+1,r)||i}(t,a,i,o)?Uo(t,a+2,s?r.call(s,i,o):r(i,o)):$a(t,a+2)}(je(),We(),n,r,i,o,s))),Wr(1),cs("value",t.key),Ko("required",!l.selectedDispositionValue)("name",l.dispositionName)("ngModel",l.selectedDispositionValue),qo("aria-label",t.value),Wr(1),As(" ",t.value," ")}var n,r,i,o,s}let Qd=(()=>{class t{constructor(){this.dispositionEmitter=new qa,this.selectedDispositionValue="",this.dispositionName=""}ngOnInit(){for(const t of this.disposition.dispositionMetadata)if("callId"===t.key){this.dispositionName="disposition_"+t.value;break}this.disposition.checkedDisposition&&(this.selectedDispositionValue=this.disposition.checkedDisposition)}submitDisposition(){const t={dispositionId:this.selectedDispositionValue,dispositionName:this.disposition.disposition.get(this.selectedDispositionValue),dispositionMetadata:this.disposition.dispositionMetadata};this.dispositionEmitter.emit(t)}selectAndSubmitDisposition(t,e){"Enter"===t.code&&(this.selectedDispositionValue=e,this.submitDisposition())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-disposition"]],inputs:{disposition:"disposition"},outputs:{dispositionEmitter:"dispositionEmitter"},decls:7,vars:4,consts:[[1,"disposition-container"],[1,"header-container"],["attr.aria-label","set disposition",1,"disposition-header"],[1,"dispositions-container"],["class","disposition",4,"ngFor","ngForOf"],[1,"disposition"],["tabindex","0",1,"disposition-label",3,"id","ngClass","keypress"],["type","radio","tabindex","-1",1,"disposition-input",3,"value","required","name","ngModel","change","ngModelChange"]],template:function(t,e){1&t&&(Yo(0,"div",0),Yo(1,"div",1),Yo(2,"label",2),Ps(3),Xo(),Xo(),Yo(4,"div",3),Zo(5,Wd,4,11,"div",4),function(t,e){const n=ze();let r;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const t=e[n];if("keyvalue"===t.name)return t}throw new Error("The pipe 'keyvalue' could not be found!")}(0,n.pipeRegistry),n.data[26]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(26,r.onDestroy)):r=n.data[26];const i=r.factory||(r.factory=he(r.type)),o=jt(Qo),s=An(!1),a=i();An(s),jt(o),function(t,e,n,r){26>=t.data.length&&(t.data[26]=null,t.blueprint[26]=null),e[26]=r}(n,je(),0,a)}(),Xo(),Xo()),2&t&&(Wr(3),Ds(e.disposition.dispositionHeader),Wr(2),Ko("ngForOf",function(t,e,n){const r=je(),i=ke(r,t);return function(t,e){return zo.isWrapped(e)&&(e=zo.unwrap(e),t[Fe.lFrame.bindingIndex]=Ur),e}(r,function(t,e){return t[1].data[e+20].pure}(r,t)?function(t,e,n,r,i,o){const s=e+n;return $o(t,s,i)?Uo(t,s+1,o?r.call(o,i):r(i)):$a(t,s+1)}(r,We(),e,i.transform,n,i):i.transform(n))}(6,2,e.disposition.disposition)))},directives:[rc,ec,Kc,Ic,Au,Vc,ku],pipes:[lc],styles:[".disposition-container[_ngcontent-%COMP%]{border:1px solid #939598;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;max-height:180px}.disposition-container[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%]{white-space:nowrap;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;position:-webkit-sticky;position:sticky}.disposition-header[_ngcontent-%COMP%]{margin-top:auto;margin-left:7px;padding:5px;white-space:nowrap;text-overflow:ellipsis;font-weight:700;font-size:.9em;font-family:Arial;overflow-x:hidden}.disposition[_ngcontent-%COMP%]{margin-left:5px;padding-left:5px;white-space:nowrap}.disposition-label[_ngcontent-%COMP%]{font-weight:400;overflow-x:hidden}.disposition-label[_ngcontent-%COMP%], .disposition-label-selected[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;font-size:.9em}.disposition-label-selected[_ngcontent-%COMP%]{font-weight:700}.dispositions-container[_ngcontent-%COMP%]{overflow-y:scroll;max-height:150px;padding:3px}.disposition-label[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:5px}.first-disposition[_ngcontent-%COMP%]{margin-top:5px}"]}),t})();function Kd(t,e){if(1&t&&(Yo(0,"p",12),Ps(1),Xo()),2&t){const t=ls().$implicit;Wr(1),Ds(t.invalidMessage)}}function Jd(t,e){if(1&t){const t=rs();Yo(0,"div",8),Yo(1,"label",9),Ps(2),Xo(),Yo(3,"input",10),os("focusout",(function(){Le(t);const n=e.$implicit,r=ls(),i=Wo(2);return r.focusOutOfInput(i,n)})),Xo(),Zo(4,Kd,2,1,"p",11),Xo()}if(2&t){const t=e.$implicit;Wr(2),As(" ",t.name,": "),Wr(1),Ko("name",t.name)("type",t.type)("value",t.value)("placeholder",t.placeholder||"")("required",t.isRequired||!1),qo("aria-label",t.name),Wr(1),Ko("ngIf",t.isInvalid)}}let Yd=(()=>{class t{constructor(){this.loginDetailsProvided=new qa}ngOnInit(){this.loginData.header||(this.loginData.header="Login");for(let t of this.loginData.fields)t.isInvalid||(t.isInvalid=!1)}onLogin(t){for(const e of this.loginData.fields)e.value=t.value[e.name];this.loginDetailsProvided.emit(this.loginData)}focusOutOfInput(t,e){t.controls[e.name].valid||(e.isInvalid=!0)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-login"]],inputs:{loginData:"loginData"},outputs:{loginDetailsProvided:"loginDetailsProvided"},decls:10,vars:3,consts:[[1,"login-container"],["id","login-form",1,"login-form",3,"ngSubmit"],["loginForm","ngForm"],[1,"header-container"],["attr.aria-label","login",1,"login-header"],[1,"fields-container"],["class","field",4,"ngFor","ngForOf"],["type","submit","form","login-form","tabindex","0","attr.aria-label","send",1,"form-submit",3,"disabled"],[1,"field"],[1,"field-label"],["ngModel","",1,"field-input",3,"name","type","value","placeholder","required","focusout"],["class","invalid-input",4,"ngIf"],[1,"invalid-input"]],template:function(t,e){if(1&t){const t=rs();Yo(0,"div",0),Yo(1,"form",1,2),os("ngSubmit",(function(){Le(t);const n=Wo(2);return e.onLogin(n)})),Yo(3,"div",3),Yo(4,"label",4),Ps(5),Xo(),Xo(),Yo(6,"div",5),Zo(7,Jd,5,8,"div",6),Yo(8,"button",7),Ps(9,"Login"),Xo(),Xo(),Xo(),Xo()}if(2&t){const t=Wo(2);Wr(5),Ds(e.loginData.header),Wr(2),Ko("ngForOf",e.loginData.fields),Wr(1),Ko("disabled",!t.valid)}},directives:[Pu,Nc,vu,rc,Ic,Vc,ku,Au,oc],styles:[".login-container[_ngcontent-%COMP%]{border:1px solid #939598;white-space:nowrap;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;max-height:200px;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;position:-webkit-sticky;position:sticky}.login-header[_ngcontent-%COMP%]{margin-top:auto;margin-left:7px;padding:5px;font-weight:700;font-size:.9em}.fields-container[_ngcontent-%COMP%]{overflow-y:auto;max-height:160px;font-size:.9em;padding:5px}.field[_ngcontent-%COMP%]{display:table-row;margin:5px}.field-label[_ngcontent-%COMP%]{padding:10px;display:table-cell}.field-input[_ngcontent-%COMP%]{display:table-cell;border:1px solid #939598;border-radius:5px}.field-input[_ngcontent-%COMP%]:focus{box-shadow:0 0 5px #38badf}.form-submit[_ngcontent-%COMP%]{margin:15px 10px 10px;display:table-row;border:1px solid #00a4b0;border-radius:5px;background-color:#00a4b0;color:#f7f7f7;width:10em;height:2em;transition:all .2s;font-size:1.1em;position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}.form-submit[_ngcontent-%COMP%]:hover{background-color:#01858f}.form-submit[_ngcontent-%COMP%]:disabled{background-color:silver;border-color:silver;color:#fff}input.ng-invalid.ng-touched[required][_ngcontent-%COMP%]{border-color:#a94442}.form-submit[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:5px}.invalid-input[_ngcontent-%COMP%]{margin:0;padding:0;color:#a94442;font-size:x-small}"]}),t})(),Xd=(()=>{class t{constructor(t){this.injector=t}ngDoBootstrap(t){if(!customElements.get("amc-webcomponents-scenario")){const t=new Gd(ld,this.injector);customElements.define("amc-webcomponents-scenario",gd(ld,{injector:this.injector,strategyFactory:t}))}if(!customElements.get("amc-webcomponents-disposition")){const t=new Gd(Qd,this.injector);customElements.define("amc-webcomponents-disposition",gd(Qd,{injector:this.injector,strategyFactory:t}))}if(!customElements.get("amc-webcomponents-login")){const t=new Gd(Yd,this.injector);customElements.define("amc-webcomponents-disposition",gd(Yd,{injector:this.injector,strategyFactory:t}))}}}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)(Lt(Ao))},imports:[[$d,uc,Vu]]}),t})();(function(){if(rr)throw new Error("Cannot enable prod mode after platform setup.");nr=!1})(),Bd().bootstrapModule(Xd).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);