@amc-technology/ui-library 1.0.103 → 1.0.105
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.
- package/esm2022/projects/UILibrary/src/app/components/activity/activity.component.mjs +2 -2
- package/esm2022/projects/UILibrary/src/app/components/chat-box/chat-box.component.mjs +5 -5
- package/esm2022/projects/UILibrary/src/app/components/create/create.component.mjs +5 -5
- package/esm2022/projects/UILibrary/src/app/components/current-activity/current-activity.component.mjs +2 -2
- package/esm2022/projects/UILibrary/src/app/components/disposition/disposition.component.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/components/duration/duration.component.mjs +8 -8
- package/esm2022/projects/UILibrary/src/app/components/hold-timer/hold-timer.component.mjs +11 -11
- package/esm2022/projects/UILibrary/src/app/components/interaction/interaction.component.mjs +11 -11
- package/esm2022/projects/UILibrary/src/app/components/login/login.component.mjs +2 -2
- package/esm2022/projects/UILibrary/src/app/components/operation/operation.component.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/components/property/property.component.mjs +13 -13
- package/esm2022/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/components/scenario/scenario.component.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/components/search-information/search-information.component.mjs +25 -14
- package/esm2022/projects/UILibrary/src/app/models/disposition.interface.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/models/uilibrary.model.mjs +20 -22
- package/esm2022/projects/UILibrary/src/app/uilibrary.module.mjs +2 -3
- package/esm2022/public_api.mjs +1 -1
- package/fesm2022/amc-technology-ui-library.mjs +97 -89
- package/fesm2022/amc-technology-ui-library.mjs.map +1 -1
- package/package.json +2 -3
- package/projects/UILibrary/src/app/components/activity/activity.component.d.ts +1 -1
- package/projects/UILibrary/src/app/components/chat-box/chat-box.component.d.ts +6 -6
- package/projects/UILibrary/src/app/components/create/create.component.d.ts +1 -1
- package/projects/UILibrary/src/app/components/current-activity/current-activity.component.d.ts +1 -1
- package/projects/UILibrary/src/app/components/duration/duration.component.d.ts +1 -1
- package/projects/UILibrary/src/app/components/hold-timer/hold-timer.component.d.ts +3 -3
- package/projects/UILibrary/src/app/components/interaction/interaction.component.d.ts +4 -4
- package/projects/UILibrary/src/app/components/property/property.component.d.ts +3 -3
- package/projects/UILibrary/src/app/components/search-information/search-information.component.d.ts +4 -3
- package/projects/UILibrary/src/app/models/disposition.interface.d.ts +1 -1
- package/projects/UILibrary/src/app/models/uilibrary.model.d.ts +13 -13
- package/projects/UILibrary/src/app/uilibrary.module.d.ts +4 -4
- package/webcomponents/webcomponents.js +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
(()=>{"use strict";var e,_={},b={};function n(e){var a=b[e];if(void 0!==a)return a.exports;var r=b[e]={exports:{}};return _[e].call(r.exports,r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],s=!0,t=0;t<r.length;t++)(!1&l||o>=l)&&Object.keys(n.O).every(d=>n.O[d](r[t]))?r.splice(t--,1):(s=!1,l<o&&(o=l));if(s){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,s]=l,v=0;if(f.some(p=>0!==e[p])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(s)var i=s(n)}for(u&&u(l);v<f.length;v++)n.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return n.O(i)},r=self.webpackChunkUILibrary=self.webpackChunkUILibrary||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
|
|
2
2
|
(self.webpackChunkUILibrary=self.webpackChunkUILibrary||[]).push([[429],{874:(ae,ge,pe)=>{"use strict";pe(242),pe(541),pe(518)},518:()=>{(function(){"use strict";var ae=window.Document.prototype.createElement,ge=window.Document.prototype.createElementNS,pe=window.Document.prototype.importNode,be=window.Document.prototype.prepend,We=window.Document.prototype.append,Re=window.DocumentFragment.prototype.prepend,ce=window.DocumentFragment.prototype.append,le=window.Node.prototype.cloneNode,fe=window.Node.prototype.appendChild,Ve=window.Node.prototype.insertBefore,Pe=window.Node.prototype.removeChild,ze=window.Node.prototype.replaceChild,Ie=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Xe=window.Element.prototype.attachShadow,je=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),se=window.Element.prototype.getAttribute,_e=window.Element.prototype.setAttribute,Me=window.Element.prototype.removeAttribute,He=window.Element.prototype.toggleAttribute,Le=window.Element.prototype.getAttributeNS,H=window.Element.prototype.setAttributeNS,Fe=window.Element.prototype.removeAttributeNS,Se=window.Element.prototype.insertAdjacentElement,$=window.Element.prototype.insertAdjacentHTML,yt=window.Element.prototype.prepend,et=window.Element.prototype.append,dt=window.Element.prototype.before,tt=window.Element.prototype.after,rt=window.Element.prototype.replaceWith,xe=window.Element.prototype.remove,nt=window.HTMLElement,Ye=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Be=window.HTMLElement.prototype.insertAdjacentElement,ot=window.HTMLElement.prototype.insertAdjacentHTML,it=new Set;function at(e){var t=it.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 it.add(e)});var he=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function B(e){var t=e.isConnected;if(void 0!==t)return t;if(he(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 ve(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 st(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function de(e,t,r){for(var i=e;i;){if(i.nodeType===Node.ELEMENT_NODE){var n=i;t(n);var a=n.localName;if("link"===a&&"import"===n.getAttribute("rel")){if(i=n.import,void 0===r&&(r=new Set),i instanceof Node&&!r.has(i))for(r.add(i),i=i.firstChild;i;i=i.nextSibling)de(i,t,r);i=st(e,n);continue}if("template"===a){i=st(e,n);continue}if(n=n.__CE_shadowRoot)for(n=n.firstChild;n;n=n.nextSibling)de(n,t,r)}i=i.firstChild?i.firstChild:st(e,i)}}function Ue(){var e=!(null==s||!s.noDocumentConstructionObserver),t=!(null==s||!s.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=t,this.I=!e}function De(e,t,r,i){var n=window.ShadyDOM;if(e.shadyDomFastWalk&&n&&n.inUse){if(t.nodeType===Node.ELEMENT_NODE&&r(t),t.querySelectorAll)for(e=n.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)r(e[t])}else de(t,r,i)}function Ce(e,t){e.j&&De(e,t,function(r){return we(e,r)})}function we(e,t){if(e.j&&!t.__CE_patched){t.__CE_patched=!0;for(var r=0;r<e.m.length;r++)e.m[r](t);for(r=0;r<e.g.length;r++)e.g[r](t)}}function Ee(e,t){var r=[];for(De(e,t,function(n){return r.push(n)}),t=0;t<r.length;t++){var i=r[t];1===i.__CE_state?e.connectedCallback(i):Ge(e,i)}}function G(e,t){var r=[];for(De(e,t,function(n){return r.push(n)}),t=0;t<r.length;t++){var i=r[t];1===i.__CE_state&&e.disconnectedCallback(i)}}function me(e,t,r){var i=(r=void 0===r?{}:r).J,n=r.upgrade||function(c){return Ge(e,c)},a=[];for(De(e,t,function(c){if(e.j&&we(e,c),"link"===c.localName&&"import"===c.getAttribute("rel")){var v=c.import;v instanceof Node&&(v.__CE_isImportDocument=!0,v.__CE_registry=document.__CE_registry),v&&"complete"===v.readyState?v.__CE_documentLoadHandled=!0:c.addEventListener("load",function(){var d=c.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var E=new Set;i&&(i.forEach(function(w){return E.add(w)}),E.delete(d)),me(e,d,{J:E,upgrade:n})}})}else a.push(c)},i),t=0;t<a.length;t++)n(a[t])}function Ge(e,t){try{var r=t.ownerDocument,i=r.__CE_registry,n=i&&(r.defaultView||r.__CE_isImportDocument)?qe(i,t.localName):void 0;if(n&&void 0===t.__CE_state){n.constructionStack.push(t);try{try{if(new n.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{n.constructionStack.pop()}}catch(d){throw t.__CE_state=2,d}if(t.__CE_state=1,t.__CE_definition=n,n.attributeChangedCallback&&t.hasAttributes()){var a=n.observedAttributes;for(n=0;n<a.length;n++){var c=a[n],v=t.getAttribute(c);null!==v&&e.attributeChangedCallback(t,c,null,v,null)}}B(t)&&e.connectedCallback(t)}}catch(d){Oe(d)}}function ut(e,t,r,i){var n=t.__CE_registry;if(n&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(n=qe(n,r)))try{var a=new n.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!==t)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 Oe(c),t=null===i?ae.call(t,r):ge.call(t,i,r),Object.setPrototypeOf(t,HTMLUnknownElement.prototype),t.__CE_state=2,t.__CE_definition=void 0,we(e,t),t}return we(e,t=null===i?ae.call(t,r):ge.call(t,i,r)),t}function Oe(e){var t="",r="",i=0,n=0;e instanceof Error?(t=e.message,r=e.sourceURL||e.fileName||"",i=e.line||e.lineNumber||0,n=e.column||e.columnNumber||0):t="Uncaught "+String(e);var a=void 0;void 0===ErrorEvent.prototype.initErrorEvent?a=new ErrorEvent("error",{cancelable:!0,message:t,filename:r,lineno:i,colno:n,error:e}):((a=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,r,i),a.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===a.error&&Object.defineProperty(a,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(a),a.defaultPrevented||console.error(e)}function pt(){var e=this;this.g=void 0,this.F=new Promise(function(t){e.l=t})}function ct(e){var t=document;this.l=void 0,this.h=e,this.g=t,me(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 _t(e){e.l&&e.l.disconnect()}function q(e){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(t){return t()},this.i=!1,this.v=[],this.h=e,this.D=e.I?new ct(e):void 0}function lt(e,t){if(!at(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(qe(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 ft(e,t,r){var i;e.A=!0;try{var n=r.prototype;if(!(n instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var a=function(w){var I=n[w];if(void 0!==I&&!(I instanceof Function))throw Error("The '"+w+"' callback must be a function.");return I},c=a("connectedCallback"),v=a("disconnectedCallback"),d=a("adoptedCallback"),E=(i=a("attributeChangedCallback"))&&r.observedAttributes||[]}catch(w){throw w}finally{e.A=!1}return e.u.set(t,r={localName:t,constructorFunction:r,connectedCallback:c,disconnectedCallback:v,adoptedCallback:d,attributeChangedCallback:i,observedAttributes:E,constructionStack:[]}),e.C.set(r.constructorFunction,r),r}function Ke(e){if(!1!==e.i){e.i=!1;for(var t=[],r=e.v,i=new Map,n=0;n<r.length;n++)i.set(r[n],[]);for(me(e.h,document,{upgrade:function(d){if(void 0===d.__CE_state){var E=d.localName,w=i.get(E);w?w.push(d):e.u.has(E)&&t.push(d)}}}),n=0;n<t.length;n++)Ge(e.h,t[n]);for(n=0;n<r.length;n++){for(var a=r[n],c=i.get(a),v=0;v<c.length;v++)Ge(e.h,c[v]);(a=e.B.get(a))&&a.resolve(void 0)}r.length=0}}function qe(e,t){var r=e.u.get(t);if(r)return r;if(r=e.s.get(t)){e.s.delete(t);try{return ft(e,t,r())}catch(i){Oe(i)}}}function ht(e,t,r){function i(n){return function(a){for(var c=[],v=0;v<arguments.length;++v)c[v]=arguments[v];v=[];for(var d=[],E=0;E<c.length;E++){var w=c[E];if(w instanceof Element&&B(w)&&d.push(w),w instanceof DocumentFragment)for(w=w.firstChild;w;w=w.nextSibling)v.push(w);else v.push(w)}for(n.apply(this,c),c=0;c<d.length;c++)G(e,d[c]);if(B(this))for(c=0;c<v.length;c++)(d=v[c])instanceof Element&&Ee(e,d)}}void 0!==r.prepend&&(t.prepend=i(r.prepend)),void 0!==r.append&&(t.append=i(r.append))}Ue.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(r){Oe(r)}},Ue.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(r){Oe(r)}},Ue.prototype.attributeChangedCallback=function(e,t,r,i,n){var a=e.__CE_definition;if(a.attributeChangedCallback&&-1<a.observedAttributes.indexOf(t))try{a.attributeChangedCallback.call(e,t,r,i,n)}catch(c){Oe(c)}},pt.prototype.resolve=function(e){if(this.g)throw Error("Already resolved.");this.g=e,this.l(e)},ct.prototype.G=function(e){var t=this.g.readyState;for("interactive"!==t&&"complete"!==t||_t(this),t=0;t<e.length;t++)for(var r=e[t].addedNodes,i=0;i<r.length;i++)me(this.h,r[i])},q.prototype.H=function(e,t){var r=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");lt(this,e),this.s.set(e,t),this.v.push(e),this.i||(this.i=!0,this.o(function(){return Ke(r)}))},q.prototype.define=function(e,t){var r=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");lt(this,e),ft(this,e,t),this.v.push(e),this.i||(this.i=!0,this.o(function(){return Ke(r)}))},q.prototype.upgrade=function(e){me(this.h,e)},q.prototype.get=function(e){if(e=qe(this,e))return e.constructorFunction},q.prototype.whenDefined=function(e){if(!at(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 pt,this.B.set(e,t);var r=this.u.has(e)||this.s.has(e);return e=-1===this.v.indexOf(e),r&&e&&t.resolve(void 0),t.F},q.prototype.polyfillWrapFlushCallback=function(e){this.D&&_t(this.D);var t=this.o;this.o=function(r){return e(function(){return t(r)})}},q.prototype.define=q.prototype.define,q.prototype.upgrade=q.prototype.upgrade,q.prototype.get=q.prototype.get,q.prototype.whenDefined=q.prototype.whenDefined,q.prototype.polyfillDefineLazy=q.prototype.H,q.prototype.polyfillWrapFlushCallback=q.prototype.polyfillWrapFlushCallback;var Et={},s=window.customElements;function f(){var e=new Ue;(function bt(e){function t(){var r=this.constructor,i=document.__CE_registry.C.get(r);if(!i)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var n=i.constructionStack;if(0===n.length)return n=ae.call(document,i.localName),Object.setPrototypeOf(n,r.prototype),n.__CE_state=1,n.__CE_definition=i,we(e,n),n;var a=n.length-1,c=n[a];if(c===Et)throw Error("Failed to construct '"+i.localName+"': This element was already constructed.");return n[a]=Et,Object.setPrototypeOf(c,r.prototype),we(e,c),c}t.prototype=nt.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),window.HTMLElement=t})(e),function Je(e){Document.prototype.createElement=function(t){return ut(e,this,t,null)},Document.prototype.importNode=function(t,r){return t=pe.call(this,t,!!r),this.__CE_registry?me(e,t):Ce(e,t),t},Document.prototype.createElementNS=function(t,r){return ut(e,this,r,t)},ht(e,Document.prototype,{prepend:be,append:We})}(e),ht(e,DocumentFragment.prototype,{prepend:Re,append:ce}),function o(e){function t(r,i){Object.defineProperty(r,"textContent",{enumerable:i.enumerable,configurable:!0,get:i.get,set:function(n){if(this.nodeType===Node.TEXT_NODE)i.set.call(this,n);else{var a=void 0;if(this.firstChild){var c=this.childNodes,v=c.length;if(0<v&&B(this)){a=Array(v);for(var d=0;d<v;d++)a[d]=c[d]}}if(i.set.call(this,n),a)for(n=0;n<a.length;n++)G(e,a[n])}}})}Node.prototype.insertBefore=function(r,i){if(r instanceof DocumentFragment){var n=ve(r);if(r=Ve.call(this,r,i),B(this))for(i=0;i<n.length;i++)Ee(e,n[i]);return r}return n=r instanceof Element&&B(r),i=Ve.call(this,r,i),n&&G(e,r),B(this)&&Ee(e,r),i},Node.prototype.appendChild=function(r){if(r instanceof DocumentFragment){var i=ve(r);if(r=fe.call(this,r),B(this))for(var n=0;n<i.length;n++)Ee(e,i[n]);return r}return i=r instanceof Element&&B(r),n=fe.call(this,r),i&&G(e,r),B(this)&&Ee(e,r),n},Node.prototype.cloneNode=function(r){return r=le.call(this,!!r),this.ownerDocument.__CE_registry?me(e,r):Ce(e,r),r},Node.prototype.removeChild=function(r){var i=r instanceof Element&&B(r),n=Pe.call(this,r);return i&&G(e,r),n},Node.prototype.replaceChild=function(r,i){if(r instanceof DocumentFragment){var n=ve(r);if(r=ze.call(this,r,i),B(this))for(G(e,i),i=0;i<n.length;i++)Ee(e,n[i]);return r}n=r instanceof Element&&B(r);var a=ze.call(this,r,i),c=B(this);return c&&G(e,i),n&&G(e,r),c&&Ee(e,r),a},Ie&&Ie.get?t(Node.prototype,Ie):function Tt(e,t){e.j=!0,e.m.push(t)}(e,function(r){t(r,{enumerable:!0,configurable:!0,get:function(){for(var i=[],n=this.firstChild;n;n=n.nextSibling)n.nodeType!==Node.COMMENT_NODE&&i.push(n.textContent);return i.join("")},set:function(i){for(;this.firstChild;)Pe.call(this,this.firstChild);null!=i&&""!==i&&fe.call(this,document.createTextNode(i))}})})}(e),function wt(e){function t(n,a){Object.defineProperty(n,"innerHTML",{enumerable:a.enumerable,configurable:!0,get:a.get,set:function(c){var v=this,d=void 0;if(B(this)&&(d=[],De(e,this,function(I){I!==v&&d.push(I)})),a.set.call(this,c),d)for(var E=0;E<d.length;E++){var w=d[E];1===w.__CE_state&&e.disconnectedCallback(w)}return this.ownerDocument.__CE_registry?me(e,this):Ce(e,this),c}})}function r(n,a){n.insertAdjacentElement=function(c,v){var d=B(v);return c=a.call(this,c,v),d&&G(e,v),B(c)&&Ee(e,v),c}}function i(n,a){function c(v,d){for(var E=[];v!==d;v=v.nextSibling)E.push(v);for(d=0;d<E.length;d++)me(e,E[d])}n.insertAdjacentHTML=function(v,d){if("beforebegin"===(v=v.toLowerCase())){var E=this.previousSibling;a.call(this,v,d),c(E||this.parentNode.firstChild,this)}else if("afterbegin"===v)E=this.firstChild,a.call(this,v,d),c(this.firstChild,E);else if("beforeend"===v)E=this.lastChild,a.call(this,v,d),c(E||this.firstChild,null);else{if("afterend"!==v)throw new SyntaxError("The value provided ("+String(v)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");E=this.nextSibling,a.call(this,v,d),c(this.nextSibling,E)}}}Xe&&(Element.prototype.attachShadow=function(n){if(n=Xe.call(this,n),e.j&&!n.__CE_patched){n.__CE_patched=!0;for(var a=0;a<e.m.length;a++)e.m[a](n)}return this.__CE_shadowRoot=n}),je&&je.get?t(Element.prototype,je):Ye&&Ye.get?t(HTMLElement.prototype,Ye):function gt(e,t){e.j=!0,e.g.push(t)}(e,function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return le.call(this,!0).innerHTML},set:function(a){var c="template"===this.localName,v=c?this.content:this,d=ge.call(document,this.namespaceURI,this.localName);for(d.innerHTML=a;0<v.childNodes.length;)Pe.call(v,v.childNodes[0]);for(a=c?d.content:d;0<a.childNodes.length;)fe.call(v,a.childNodes[0])}})}),Element.prototype.setAttribute=function(n,a){if(1!==this.__CE_state)return _e.call(this,n,a);var c=se.call(this,n);_e.call(this,n,a),a=se.call(this,n),e.attributeChangedCallback(this,n,c,a,null)},Element.prototype.setAttributeNS=function(n,a,c){if(1!==this.__CE_state)return H.call(this,n,a,c);var v=Le.call(this,n,a);H.call(this,n,a,c),c=Le.call(this,n,a),e.attributeChangedCallback(this,a,v,c,n)},Element.prototype.removeAttribute=function(n){if(1!==this.__CE_state)return Me.call(this,n);var a=se.call(this,n);Me.call(this,n),null!==a&&e.attributeChangedCallback(this,n,a,null,null)},He&&(Element.prototype.toggleAttribute=function(n,a){if(1!==this.__CE_state)return He.call(this,n,a);var c=se.call(this,n);return null!==c!==(a=He.call(this,n,a))&&e.attributeChangedCallback(this,n,c,a?"":null,null),a}),Element.prototype.removeAttributeNS=function(n,a){if(1!==this.__CE_state)return Fe.call(this,n,a);var c=Le.call(this,n,a);Fe.call(this,n,a);var v=Le.call(this,n,a);c!==v&&e.attributeChangedCallback(this,a,c,v,n)},Be?r(HTMLElement.prototype,Be):Se&&r(Element.prototype,Se),ot?i(HTMLElement.prototype,ot):$&&i(Element.prototype,$),ht(e,Element.prototype,{prepend:yt,append:et}),function Ae(e){function t(i){return function(n){for(var a=[],c=0;c<arguments.length;++c)a[c]=arguments[c];c=[];for(var v=[],d=0;d<a.length;d++){var E=a[d];if(E instanceof Element&&B(E)&&v.push(E),E instanceof DocumentFragment)for(E=E.firstChild;E;E=E.nextSibling)c.push(E);else c.push(E)}for(i.apply(this,a),a=0;a<v.length;a++)G(e,v[a]);if(B(this))for(a=0;a<c.length;a++)(v=c[a])instanceof Element&&Ee(e,v)}}var r=Element.prototype;void 0!==dt&&(r.before=t(dt)),void 0!==tt&&(r.after=t(tt)),void 0!==rt&&(r.replaceWith=function(i){for(var n=[],a=0;a<arguments.length;++a)n[a]=arguments[a];a=[];for(var c=[],v=0;v<n.length;v++){var d=n[v];if(d instanceof Element&&B(d)&&c.push(d),d instanceof DocumentFragment)for(d=d.firstChild;d;d=d.nextSibling)a.push(d);else a.push(d)}for(v=B(this),rt.apply(this,n),n=0;n<c.length;n++)G(e,c[n]);if(v)for(G(e,this),n=0;n<a.length;n++)(c=a[n])instanceof Element&&Ee(e,c)}),void 0!==xe&&(r.remove=function(){var i=B(this);xe.call(this),i&&G(e,this)})}(e)}(e),window.CustomElementRegistry=q,e=new q(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}s&&!s.forcePolyfill&&"function"==typeof s.define&&"function"==typeof s.get||f(),window.__CE_installPolyfill=f}).call(self)},541:()=>{"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const ae=HTMLElement;window.HTMLElement=function(){return Reflect.construct(ae,[],this.constructor)},HTMLElement.prototype=ae.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,ae)}()},242:function(ae,ge,pe){"use strict";var be,We,Re=this&&this.__assign||function(){return Re=Object.assign||function(ce){for(var le,fe=1,Ve=arguments.length;fe<Ve;fe++)for(var Pe in le=arguments[fe])Object.prototype.hasOwnProperty.call(le,Pe)&&(ce[Pe]=le[Pe]);return ce},Re.apply(this,arguments)};be=function(){!function(o){var s,f=o.performance;function e(y){f&&f.mark&&f.mark(y)}function t(y,u){f&&f.measure&&f.measure(y,u)}e("Zone");var r=o.__Zone_symbol_prefix||"__zone_symbol__";function i(y){return r+y}var n=!0===o[i("forceDuplicateZoneCheck")];if(o.Zone){if(n||"function"!=typeof o.Zone.__symbol__)throw new Error("Zone already loaded.");return o.Zone}var a=function(){function y(u,l){this._parent=u,this._name=l?l.name||"unnamed":"<root>",this._properties=l&&l.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,l)}return y.assertZonePatched=function(){if(o.Promise!==K.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(y,"root",{get:function(){for(var u=s.current;u.parent;)u=u.parent;return u},enumerable:!1,configurable:!0}),Object.defineProperty(y,"current",{get:function(){return ee.zone},enumerable:!1,configurable:!0}),Object.defineProperty(y,"currentTask",{get:function(){return ue},enumerable:!1,configurable:!0}),y.__load_patch=function(u,l,h){if(void 0===h&&(h=!1),K.hasOwnProperty(u)){if(!h&&n)throw Error("Already loaded patch: "+u)}else if(!o["__Zone_disable_"+u]){var k="Zone:"+u;e(k),K[u]=l(o,s,Te),t(k,k)}},Object.defineProperty(y.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),y.prototype.get=function(u){var l=this.getZoneWith(u);if(l)return l._properties[u]},y.prototype.getZoneWith=function(u){for(var l=this;l;){if(l._properties.hasOwnProperty(u))return l;l=l._parent}return null},y.prototype.fork=function(u){if(!u)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,u)},y.prototype.wrap=function(u,l){if("function"!=typeof u)throw new Error("Expecting function got: "+u);var h=this._zoneDelegate.intercept(this,u,l),k=this;return function(){return k.runGuarded(h,this,arguments,l)}},y.prototype.run=function(u,l,h,k){ee={parent:ee,zone:this};try{return this._zoneDelegate.invoke(this,u,l,h,k)}finally{ee=ee.parent}},y.prototype.runGuarded=function(u,l,h,k){void 0===l&&(l=null),ee={parent:ee,zone:this};try{try{return this._zoneDelegate.invoke(this,u,l,h,k)}catch(X){if(this._zoneDelegate.handleError(this,X))throw X}}finally{ee=ee.parent}},y.prototype.runTask=function(u,l,h){if(u.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(u.zone||oe).name+"; Execution: "+this.name+")");if(u.state!==U||u.type!==O&&u.type!==Z){var k=u.state!=C;k&&u._transitionTo(C,x),u.runCount++;var X=ue;ue=u,ee={parent:ee,zone:this};try{u.type==Z&&u.data&&!u.data.isPeriodic&&(u.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,u,l,h)}catch(p){if(this._zoneDelegate.handleError(this,p))throw p}}finally{u.state!==U&&u.state!==M&&(u.type==O||u.data&&u.data.isPeriodic?k&&u._transitionTo(x,C):(u.runCount=0,this._updateTaskCount(u,-1),k&&u._transitionTo(U,C,U))),ee=ee.parent,ue=X}}},y.prototype.scheduleTask=function(u){if(u.zone&&u.zone!==this)for(var l=this;l;){if(l===u.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(u.zone.name));l=l.parent}u._transitionTo(z,U);var h=[];u._zoneDelegates=h,u._zone=this;try{u=this._zoneDelegate.scheduleTask(this,u)}catch(k){throw u._transitionTo(M,z,U),this._zoneDelegate.handleError(this,k),k}return u._zoneDelegates===h&&this._updateTaskCount(u,1),u.state==z&&u._transitionTo(x,z),u},y.prototype.scheduleMicroTask=function(u,l,h,k){return this.scheduleTask(new d(D,u,l,h,k,void 0))},y.prototype.scheduleMacroTask=function(u,l,h,k,X){return this.scheduleTask(new d(Z,u,l,h,k,X))},y.prototype.scheduleEventTask=function(u,l,h,k,X){return this.scheduleTask(new d(O,u,l,h,k,X))},y.prototype.cancelTask=function(u){if(u.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(u.zone||oe).name+"; Execution: "+this.name+")");if(u.state===x||u.state===C){u._transitionTo(Y,x,C);try{this._zoneDelegate.cancelTask(this,u)}catch(l){throw u._transitionTo(M,Y),this._zoneDelegate.handleError(this,l),l}return this._updateTaskCount(u,-1),u._transitionTo(U,Y),u.runCount=0,u}},y.prototype._updateTaskCount=function(u,l){var h=u._zoneDelegates;-1==l&&(u._zoneDelegates=null);for(var k=0;k<h.length;k++)h[k]._updateTaskCount(u.type,l)},y}();(s=a).__symbol__=i;var W,c={name:"",onHasTask:function(y,u,l,h){return y.hasTask(l,h)},onScheduleTask:function(y,u,l,h){return y.scheduleTask(l,h)},onInvokeTask:function(y,u,l,h,k,X){return y.invokeTask(l,h,k,X)},onCancelTask:function(y,u,l,h){return y.cancelTask(l,h)}},v=function(){function y(u,l,h){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=u,this._parentDelegate=l,this._forkZS=h&&(h&&h.onFork?h:l._forkZS),this._forkDlgt=h&&(h.onFork?l:l._forkDlgt),this._forkCurrZone=h&&(h.onFork?this.zone:l._forkCurrZone),this._interceptZS=h&&(h.onIntercept?h:l._interceptZS),this._interceptDlgt=h&&(h.onIntercept?l:l._interceptDlgt),this._interceptCurrZone=h&&(h.onIntercept?this.zone:l._interceptCurrZone),this._invokeZS=h&&(h.onInvoke?h:l._invokeZS),this._invokeDlgt=h&&(h.onInvoke?l:l._invokeDlgt),this._invokeCurrZone=h&&(h.onInvoke?this.zone:l._invokeCurrZone),this._handleErrorZS=h&&(h.onHandleError?h:l._handleErrorZS),this._handleErrorDlgt=h&&(h.onHandleError?l:l._handleErrorDlgt),this._handleErrorCurrZone=h&&(h.onHandleError?this.zone:l._handleErrorCurrZone),this._scheduleTaskZS=h&&(h.onScheduleTask?h:l._scheduleTaskZS),this._scheduleTaskDlgt=h&&(h.onScheduleTask?l:l._scheduleTaskDlgt),this._scheduleTaskCurrZone=h&&(h.onScheduleTask?this.zone:l._scheduleTaskCurrZone),this._invokeTaskZS=h&&(h.onInvokeTask?h:l._invokeTaskZS),this._invokeTaskDlgt=h&&(h.onInvokeTask?l:l._invokeTaskDlgt),this._invokeTaskCurrZone=h&&(h.onInvokeTask?this.zone:l._invokeTaskCurrZone),this._cancelTaskZS=h&&(h.onCancelTask?h:l._cancelTaskZS),this._cancelTaskDlgt=h&&(h.onCancelTask?l:l._cancelTaskDlgt),this._cancelTaskCurrZone=h&&(h.onCancelTask?this.zone:l._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var k=h&&h.onHasTask;(k||l&&l._hasTaskZS)&&(this._hasTaskZS=k?h:c,this._hasTaskDlgt=l,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=u,h.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=l,this._scheduleTaskCurrZone=this.zone),h.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=l,this._invokeTaskCurrZone=this.zone),h.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=l,this._cancelTaskCurrZone=this.zone))}return y.prototype.fork=function(u,l){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,u,l):new a(u,l)},y.prototype.intercept=function(u,l,h){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,u,l,h):l},y.prototype.invoke=function(u,l,h,k,X){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,u,l,h,k,X):l.apply(h,k)},y.prototype.handleError=function(u,l){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,u,l)},y.prototype.scheduleTask=function(u,l){var h=l;if(this._scheduleTaskZS)this._hasTaskZS&&h._zoneDelegates.push(this._hasTaskDlgtOwner),(h=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,u,l))||(h=l);else if(l.scheduleFn)l.scheduleFn(l);else{if(l.type!=D)throw new Error("Task is missing scheduleFn.");j(l)}return h},y.prototype.invokeTask=function(u,l,h,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,u,l,h,k):l.callback.apply(h,k)},y.prototype.cancelTask=function(u,l){var h;if(this._cancelTaskZS)h=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,u,l);else{if(!l.cancelFn)throw Error("Task is not cancelable");h=l.cancelFn(l)}return h},y.prototype.hasTask=function(u,l){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,u,l)}catch(h){this.handleError(u,h)}},y.prototype._updateTaskCount=function(u,l){var h=this._taskCounts,k=h[u],X=h[u]=k+l;if(X<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=X||this.hasTask(this.zone,{microTask:h.microTask>0,macroTask:h.macroTask>0,eventTask:h.eventTask>0,change:u})},y}(),d=function(){function y(u,l,h,k,X,p){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=u,this.source=l,this.data=k,this.scheduleFn=X,this.cancelFn=p,!h)throw new Error("callback is not defined");this.callback=h;var T=this;this.invoke=u===O&&k&&k.useG?y.invokeTask:function(){return y.invokeTask.call(o,T,this,arguments)}}return y.invokeTask=function(u,l,h){u||(u=this),ke++;try{return u.runCount++,u.zone.runTask(u,l,h)}finally{1==ke&&b(),ke--}},Object.defineProperty(y.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),y.prototype.cancelScheduleRequest=function(){this._transitionTo(U,z)},y.prototype._transitionTo=function(u,l,h){if(this._state!==l&&this._state!==h)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(u,"', expecting state '").concat(l,"'").concat(h?" or '"+h+"'":"",", was '").concat(this._state,"'."));this._state=u,u==U&&(this._zoneDelegates=null)},y.prototype.toString=function(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)},y.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},y}(),E=i("setTimeout"),w=i("Promise"),I=i("then"),F=[],ye=!1;function J(y){if(W||o[w]&&(W=o[w].resolve(0)),W){var u=W[I];u||(u=W.then),u.call(W,y)}else o[E](y,0)}function j(y){0===ke&&0===F.length&&J(b),y&&F.push(y)}function b(){if(!ye){for(ye=!0;F.length;){var y=F;F=[];for(var u=0;u<y.length;u++){var l=y[u];try{l.zone.runTask(l,null,null)}catch(h){Te.onUnhandledError(h)}}}Te.microtaskDrainDone(),ye=!1}}var oe={name:"NO ZONE"},U="notScheduled",z="scheduling",x="scheduled",C="running",Y="canceling",M="unknown",D="microTask",Z="macroTask",O="eventTask",K={},Te={symbol:i,currentZoneFrame:function(){return ee},onUnhandledError:Q,microtaskDrainDone:Q,scheduleMicroTask:j,showUncaughtError:function(){return!a[i("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:Q,patchMethod:function(){return Q},bindArguments:function(){return[]},patchThen:function(){return Q},patchMacroTask:function(){return Q},patchEventPrototype:function(){return Q},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return Q},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return Q},wrapWithCurrentZone:function(){return Q},filterProperties:function(){return[]},attachOriginToPatched:function(){return Q},_redefineProperty:function(){return Q},patchCallbacks:function(){return Q},nativeScheduleMicroTask:J},ee={parent:null,zone:new a(null,null)},ue=null,ke=0;function Q(){}t("Zone","Zone"),o.Zone=a}(typeof window<"u"&&window||typeof self<"u"&&self||global);var ce=Object.getOwnPropertyDescriptor,le=Object.defineProperty,fe=Object.getPrototypeOf,Ve=Object.create,Pe=Array.prototype.slice,ze="addEventListener",Ie="removeEventListener",Xe=Zone.__symbol__(ze),je=Zone.__symbol__(Ie),se="true",_e="false",Me=Zone.__symbol__("");function He(o,s){return Zone.current.wrap(o,s)}function Le(o,s,f,e,t){return Zone.current.scheduleMacroTask(o,s,f,e,t)}var H=Zone.__symbol__,Fe=typeof window<"u",Se=Fe?window:void 0,$=Fe&&Se||"object"==typeof self&&self||global,yt="removeAttribute";function et(o,s){for(var f=o.length-1;f>=0;f--)"function"==typeof o[f]&&(o[f]=He(o[f],s+"_"+f));return o}function tt(o){return!o||!1!==o.writable&&!("function"==typeof o.get&&typeof o.set>"u")}var rt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,xe=!("nw"in $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),nt=!xe&&!rt&&!(!Fe||!Se.HTMLElement),Ye=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!rt&&!(!Fe||!Se.HTMLElement),Be={},ot=function(o){if(o=o||$.event){var s=Be[o.type];s||(s=Be[o.type]=H("ON_PROPERTY"+o.type));var t,f=this||o.target||$,e=f[s];return nt&&f===Se&&"error"===o.type?!0===(t=e&&e.call(this,o.message,o.filename,o.lineno,o.colno,o.error))&&o.preventDefault():null!=(t=e&&e.apply(this,arguments))&&!t&&o.preventDefault(),t}};function it(o,s,f){var e=ce(o,s);if(!e&&f&&ce(f,s)&&(e={enumerable:!0,configurable:!0}),e&&e.configurable){var r=H("on"+s+"patched");if(!o.hasOwnProperty(r)||!o[r]){delete e.writable,delete e.value;var i=e.get,n=e.set,a=s.slice(2),c=Be[a];c||(c=Be[a]=H("ON_PROPERTY"+a)),e.set=function(v){var d=this;!d&&o===$&&(d=$),d&&("function"==typeof d[c]&&d.removeEventListener(a,ot),n&&n.call(d,null),d[c]=v,"function"==typeof v&&d.addEventListener(a,ot,!1))},e.get=function(){var v=this;if(!v&&o===$&&(v=$),!v)return null;var d=v[c];if(d)return d;if(i){var E=i.call(this);if(E)return e.set.call(this,E),"function"==typeof v[yt]&&v.removeAttribute(s),E}return null},le(o,s,e),o[r]=!0}}}function at(o,s,f){if(s)for(var e=0;e<s.length;e++)it(o,"on"+s[e],f);else{var t=[];for(var r in o)"on"==r.slice(0,2)&&t.push(r);for(var i=0;i<t.length;i++)it(o,t[i],f)}}var he=H("originalInstance");function B(o){var s=$[o];if(s){$[H(o)]=s,$[o]=function(){var t=et(arguments,o);switch(t.length){case 0:this[he]=new s;break;case 1:this[he]=new s(t[0]);break;case 2:this[he]=new s(t[0],t[1]);break;case 3:this[he]=new s(t[0],t[1],t[2]);break;case 4:this[he]=new s(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},de($[o],s);var e,f=new s(function(){});for(e in f)"XMLHttpRequest"===o&&"responseBlob"===e||function(t){"function"==typeof f[t]?$[o].prototype[t]=function(){return this[he][t].apply(this[he],arguments)}:le($[o].prototype,t,{set:function(r){"function"==typeof r?(this[he][t]=He(r,o+"."+t),de(this[he][t],r)):this[he][t]=r},get:function(){return this[he][t]}})}(e);for(e in s)"prototype"!==e&&s.hasOwnProperty(e)&&($[o][e]=s[e])}}function ve(o,s,f){for(var e=o;e&&!e.hasOwnProperty(s);)e=fe(e);!e&&o[s]&&(e=o);var t=H(s),r=null;if(e&&(!(r=e[t])||!e.hasOwnProperty(t))&&(r=e[t]=e[s],tt(e&&ce(e,s)))){var n=f(r,t,s);e[s]=function(){return n(this,arguments)},de(e[s],r)}return r}function st(o,s,f){var e=null;function t(r){var i=r.data;return i.args[i.cbIdx]=function(){r.invoke.apply(this,arguments)},e.apply(i.target,i.args),r}e=ve(o,s,function(r){return function(i,n){var a=f(i,n);return a.cbIdx>=0&&"function"==typeof n[a.cbIdx]?Le(a.name,n[a.cbIdx],a,t):r.apply(i,n)}})}function de(o,s){o[H("OriginalDelegate")]=s}var Ue=!1,De=!1;function gt(){if(Ue)return De;Ue=!0;try{var o=Se.navigator.userAgent;(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/")||-1!==o.indexOf("Edge/"))&&(De=!0)}catch{}return De}Zone.__load_patch("ZoneAwarePromise",function(o,s,f){var e=Object.getOwnPropertyDescriptor,t=Object.defineProperty;var i=f.symbol,n=[],a=!0===o[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),v=i("then"),d="__creationTrace__";f.onUnhandledError=function(p){if(f.showUncaughtError()){var T=p&&p.rejection;T?console.error("Unhandled Promise rejection:",T instanceof Error?T.message:T,"; Zone:",p.zone.name,"; Task:",p.task&&p.task.source,"; Value:",T,T instanceof Error?T.stack:void 0):console.error(p)}},f.microtaskDrainDone=function(){for(var p=function(){var T=n.shift();try{T.zone.runGuarded(function(){throw T.throwOriginal?T.rejection:T})}catch(m){!function w(p){f.onUnhandledError(p);try{var T=s[E];"function"==typeof T&&T.call(this,p)}catch{}}(m)}};n.length;)p()};var E=i("unhandledPromiseRejectionHandler");function I(p){return p&&p.then}function F(p){return p}function ye(p){return u.reject(p)}var W=i("state"),J=i("value"),j=i("finally"),b=i("parentPromiseValue"),oe=i("parentPromiseState"),U="Promise.then",z=null,x=!0,C=!1,Y=0;function M(p,T){return function(m){try{K(p,T,m)}catch(_){K(p,!1,_)}}}var D=function(){var p=!1;return function(m){return function(){p||(p=!0,m.apply(null,arguments))}}},Z="Promise resolved with itself",O=i("currentTaskTrace");function K(p,T,m){var _=D();if(p===m)throw new TypeError(Z);if(p[W]===z){var g=null;try{("object"==typeof m||"function"==typeof m)&&(g=m&&m.then)}catch(L){return _(function(){K(p,!1,L)})(),p}if(T!==C&&m instanceof u&&m.hasOwnProperty(W)&&m.hasOwnProperty(J)&&m[W]!==z)ee(m),K(p,m[W],m[J]);else if(T!==C&&"function"==typeof g)try{g.call(m,_(M(p,T)),_(M(p,!1)))}catch(L){_(function(){K(p,!1,L)})()}else{p[W]=T;var S=p[J];if(p[J]=m,p[j]===j&&T===x&&(p[W]=p[oe],p[J]=p[b]),T===C&&m instanceof Error){var P=s.currentTask&&s.currentTask.data&&s.currentTask.data[d];P&&t(m,O,{configurable:!0,enumerable:!1,writable:!0,value:P})}for(var N=0;N<S.length;)ue(p,S[N++],S[N++],S[N++],S[N++]);if(0==S.length&&T==C){p[W]=Y;var R=m;try{throw new Error("Uncaught (in promise): "+function r(p){return p&&p.toString===Object.prototype.toString?(p.constructor&&p.constructor.name||"")+": "+JSON.stringify(p):p?p.toString():Object.prototype.toString.call(p)}(m)+(m&&m.stack?"\n"+m.stack:""))}catch(L){R=L}a&&(R.throwOriginal=!0),R.rejection=m,R.promise=p,R.zone=s.current,R.task=s.currentTask,n.push(R),f.scheduleMicroTask()}}}return p}var Te=i("rejectionHandledHandler");function ee(p){if(p[W]===Y){try{var T=s[Te];T&&"function"==typeof T&&T.call(this,{rejection:p[J],promise:p})}catch{}p[W]=C;for(var m=0;m<n.length;m++)p===n[m].promise&&n.splice(m,1)}}function ue(p,T,m,_,g){ee(p);var S=p[W],P=S?"function"==typeof _?_:F:"function"==typeof g?g:ye;T.scheduleMicroTask(U,function(){try{var N=p[J],R=!!m&&j===m[j];R&&(m[b]=N,m[oe]=S);var L=T.run(P,void 0,R&&P!==ye&&P!==F?[]:[N]);K(m,!0,L)}catch(A){K(m,!1,A)}},m)}var Q=function(){},y=o.AggregateError,u=function(){function p(T){var m=this;if(!(m instanceof p))throw new Error("Must be an instanceof Promise.");m[W]=z,m[J]=[];try{var _=D();T&&T(_(M(m,x)),_(M(m,C)))}catch(g){K(m,!1,g)}}return p.toString=function(){return"function ZoneAwarePromise() { [native code] }"},p.resolve=function(T){return K(new this(null),x,T)},p.reject=function(T){return K(new this(null),C,T)},p.any=function(T){if(!T||"function"!=typeof T[Symbol.iterator])return Promise.reject(new y([],"All promises were rejected"));var m=[],_=0;try{for(var g=0,S=T;g<S.length;g++)_++,m.push(p.resolve(S[g]))}catch{return Promise.reject(new y([],"All promises were rejected"))}if(0===_)return Promise.reject(new y([],"All promises were rejected"));var N=!1,R=[];return new p(function(L,A){for(var V=0;V<m.length;V++)m[V].then(function(ie){N||(N=!0,L(ie))},function(ie){R.push(ie),0==--_&&(N=!0,A(new y(R,"All promises were rejected")))})})},p.race=function(T){var m,_,g=new this(function(A,V){m=A,_=V});function S(A){m(A)}function P(A){_(A)}for(var N=0,R=T;N<R.length;N++){var L=R[N];I(L)||(L=this.resolve(L)),L.then(S,P)}return g},p.all=function(T){return p.allWithCallback(T)},p.allSettled=function(T){return(this&&this.prototype instanceof p?this:p).allWithCallback(T,{thenCallback:function(_){return{status:"fulfilled",value:_}},errorCallback:function(_){return{status:"rejected",reason:_}}})},p.allWithCallback=function(T,m){for(var _,g,S=new this(function(re,ne){_=re,g=ne}),P=2,N=0,R=[],L=function(re){I(re)||(re=A.resolve(re));var ne=N;try{re.then(function(te){R[ne]=m?m.thenCallback(te):te,0==--P&&_(R)},function(te){m?(R[ne]=m.errorCallback(te),0==--P&&_(R)):g(te)})}catch(te){g(te)}P++,N++},A=this,V=0,ie=T;V<ie.length;V++)L(ie[V]);return 0==(P-=2)&&_(R),S},Object.defineProperty(p.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,Symbol.species,{get:function(){return p},enumerable:!1,configurable:!0}),p.prototype.then=function(T,m){var _,g=null===(_=this.constructor)||void 0===_?void 0:_[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||p);var S=new g(Q),P=s.current;return this[W]==z?this[J].push(P,S,T,m):ue(this,P,S,T,m),S},p.prototype.catch=function(T){return this.then(null,T)},p.prototype.finally=function(T){var m,_=null===(m=this.constructor)||void 0===m?void 0:m[Symbol.species];(!_||"function"!=typeof _)&&(_=p);var g=new _(Q);g[j]=j;var S=s.current;return this[W]==z?this[J].push(S,g,T,T):ue(this,S,g,T,T),g},p}();u.resolve=u.resolve,u.reject=u.reject,u.race=u.race,u.all=u.all;var l=o[c]=o.Promise;o.Promise=u;var h=i("thenPatched");function k(p){var T=p.prototype,m=e(T,"then");if(!m||!1!==m.writable&&m.configurable){var _=T.then;T[v]=_,p.prototype.then=function(g,S){var P=this;return new u(function(R,L){_.call(P,R,L)}).then(g,S)},p[h]=!0}}return f.patchThen=k,l&&(k(l),ve(o,"fetch",function(p){return function X(p){return function(T,m){var _=p.apply(T,m);if(_ instanceof u)return _;var g=_.constructor;return g[h]||k(g),_}}(p)})),Promise[s.__symbol__("uncaughtPromiseErrors")]=n,u}),Zone.__load_patch("toString",function(o){var s=Function.prototype.toString,f=H("OriginalDelegate"),e=H("Promise"),t=H("Error"),r=function(){if("function"==typeof this){var c=this[f];if(c)return"function"==typeof c?s.call(c):Object.prototype.toString.call(c);if(this===Promise){var v=o[e];if(v)return s.call(v)}if(this===Error){var d=o[t];if(d)return s.call(d)}}return s.call(this)};r[f]=s,Function.prototype.toString=r;var i=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":i.call(this)}});var Ce=!1;if(typeof window<"u")try{var we=Object.defineProperty({},"passive",{get:function(){Ce=!0}});window.addEventListener("test",we,we),window.removeEventListener("test",we,we)}catch{Ce=!1}var Ee={useG:!0},G={},me={},Ge=new RegExp("^"+Me+"(\\w+)(true|false)$"),ut=H("propagationStopped");function Oe(o,s){var f=(s?s(o):o)+_e,e=(s?s(o):o)+se,t=Me+f,r=Me+e;G[o]={},G[o][_e]=t,G[o][se]=r}function pt(o,s,f,e){var t=e&&e.add||ze,r=e&&e.rm||Ie,i=e&&e.listeners||"eventListeners",n=e&&e.rmAll||"removeAllListeners",a=H(t),c="."+t+":",v="prependListener",d="."+v+":",E=function(j,b,oe){if(!j.isRemoved){var z,U=j.callback;"object"==typeof U&&U.handleEvent&&(j.callback=function(Y){return U.handleEvent(Y)},j.originalDelegate=U);try{j.invoke(j,b,[oe])}catch(Y){z=Y}var x=j.options;return x&&"object"==typeof x&&x.once&&b[r].call(b,oe.type,j.originalDelegate?j.originalDelegate:j.callback,x),z}};function w(j,b,oe){if(b=b||o.event){var U=j||b.target||o,z=U[G[b.type][oe?se:_e]];if(z){var x=[];if(1===z.length)(C=E(z[0],U,b))&&x.push(C);else for(var Y=z.slice(),M=0;M<Y.length&&(!b||!0!==b[ut]);M++){var C;(C=E(Y[M],U,b))&&x.push(C)}if(1===x.length)throw x[0];var D=function(Z){var O=x[Z];s.nativeScheduleMicroTask(function(){throw O})};for(M=0;M<x.length;M++)D(M)}}}var I=function(j){return w(this,j,!1)},F=function(j){return w(this,j,!0)};function ye(j,b){if(!j)return!1;var oe=!0;b&&void 0!==b.useG&&(oe=b.useG);var U=b&&b.vh,z=!0;b&&void 0!==b.chkDup&&(z=b.chkDup);var x=!1;b&&void 0!==b.rt&&(x=b.rt);for(var C=j;C&&!C.hasOwnProperty(t);)C=fe(C);if(!C&&j[t]&&(C=j),!C||C[a])return!1;var Te,Y=b&&b.eventNameToString,M={},D=C[a]=C[t],Z=C[H(r)]=C[r],O=C[H(i)]=C[i],K=C[H(n)]=C[n];b&&b.prepend&&(Te=C[H(b.prepend)]=C[b.prepend]);var l=oe?function(_){if(!M.isExisting)return D.call(M.target,M.eventName,M.capture?F:I,M.options)}:function(_){return D.call(M.target,M.eventName,_.invoke,M.options)},h=oe?function(_){if(!_.isRemoved){var g=G[_.eventName],S=void 0;g&&(S=g[_.capture?se:_e]);var P=S&&_.target[S];if(P)for(var N=0;N<P.length;N++)if(P[N]===_){P.splice(N,1),_.isRemoved=!0,0===P.length&&(_.allRemoved=!0,_.target[S]=null);break}}if(_.allRemoved)return Z.call(_.target,_.eventName,_.capture?F:I,_.options)}:function(_){return Z.call(_.target,_.eventName,_.invoke,_.options)},X=b&&b.diff?b.diff:function(_,g){var S=typeof g;return"function"===S&&_.callback===g||"object"===S&&_.originalDelegate===g},p=Zone[H("UNPATCHED_EVENTS")],T=o[H("PASSIVE_EVENTS")],m=function(_,g,S,P,N,R){return void 0===N&&(N=!1),void 0===R&&(R=!1),function(){var L=this||o,A=arguments[0];b&&b.transferEventName&&(A=b.transferEventName(A));var V=arguments[1];if(!V)return _.apply(this,arguments);if(xe&&"uncaughtException"===A)return _.apply(this,arguments);var ie=!1;if("function"!=typeof V){if(!V.handleEvent)return _.apply(this,arguments);ie=!0}if(!U||U(_,V,L,arguments)){var Ne=Ce&&!!T&&-1!==T.indexOf(A),re=function ee(_,g){return!Ce&&"object"==typeof _&&_?!!_.capture:Ce&&g?"boolean"==typeof _?{capture:_,passive:!0}:_?"object"==typeof _&&!1!==_.passive?Re(Re({},_),{passive:!0}):_:{passive:!0}:_}(arguments[2],Ne);if(p)for(var ne=0;ne<p.length;ne++)if(A===p[ne])return Ne?_.call(L,A,V,re):_.apply(this,arguments);var te=!!re&&("boolean"==typeof re||re.capture),Qe=!(!re||"object"!=typeof re)&&re.once,Ot=Zone.current,Ct=G[A];Ct||(Oe(A,Y),Ct=G[A]);var kt=Ct[te?se:_e],$e=L[kt],Pt=!1;if($e){if(Pt=!0,z)for(ne=0;ne<$e.length;ne++)if(X($e[ne],V))return}else $e=L[kt]=[];var mt,St=L.constructor.name,Dt=me[St];Dt&&(mt=Dt[A]),mt||(mt=St+g+(Y?Y(A):A)),M.options=re,Qe&&(M.options.once=!1),M.target=L,M.capture=te,M.eventName=A,M.isExisting=Pt;var vt=oe?Ee:void 0;vt&&(vt.taskData=M);var Ze=Ot.scheduleEventTask(mt,V,vt,S,P);if(M.target=null,vt&&(vt.taskData=null),Qe&&(re.once=!0),!Ce&&"boolean"==typeof Ze.options||(Ze.options=re),Ze.target=L,Ze.capture=te,Ze.eventName=A,ie&&(Ze.originalDelegate=V),R?$e.unshift(Ze):$e.push(Ze),N)return L}}};return C[t]=m(D,c,l,h,x),Te&&(C[v]=m(Te,d,function(_){return Te.call(M.target,M.eventName,_.invoke,M.options)},h,x,!0)),C[r]=function(){var _=this||o,g=arguments[0];b&&b.transferEventName&&(g=b.transferEventName(g));var S=arguments[2],P=!!S&&("boolean"==typeof S||S.capture),N=arguments[1];if(!N)return Z.apply(this,arguments);if(!U||U(Z,N,_,arguments)){var L,R=G[g];R&&(L=R[P?se:_e]);var A=L&&_[L];if(A)for(var V=0;V<A.length;V++){var ie=A[V];if(X(ie,N))return A.splice(V,1),ie.isRemoved=!0,0===A.length&&(ie.allRemoved=!0,_[L]=null,"string"==typeof g)&&(_[Me+"ON_PROPERTY"+g]=null),ie.zone.cancelTask(ie),x?_:void 0}return Z.apply(this,arguments)}},C[i]=function(){var _=this||o,g=arguments[0];b&&b.transferEventName&&(g=b.transferEventName(g));for(var S=[],P=ct(_,Y?Y(g):g),N=0;N<P.length;N++){var R=P[N];S.push(R.originalDelegate?R.originalDelegate:R.callback)}return S},C[n]=function(){var _=this||o,g=arguments[0];if(g){b&&b.transferEventName&&(g=b.transferEventName(g));var A=G[g];if(A){var Ne=_[A[_e]],re=_[A[se]];if(Ne)for(var ne=Ne.slice(),P=0;P<ne.length;P++)this[r].call(this,g,(te=ne[P]).originalDelegate?te.originalDelegate:te.callback,te.options);if(re)for(ne=re.slice(),P=0;P<ne.length;P++){var te;this[r].call(this,g,(te=ne[P]).originalDelegate?te.originalDelegate:te.callback,te.options)}}}else{var S=Object.keys(_);for(P=0;P<S.length;P++){var R=Ge.exec(S[P]),L=R&&R[1];L&&"removeListener"!==L&&this[n].call(this,L)}this[n].call(this,"removeListener")}if(x)return this},de(C[t],D),de(C[r],Z),K&&de(C[n],K),O&&de(C[i],O),!0}for(var W=[],J=0;J<f.length;J++)W[J]=ye(f[J],e);return W}function ct(o,s){if(!s){var f=[];for(var e in o){var t=Ge.exec(e),r=t&&t[1];if(r&&(!s||r===s)){var i=o[e];if(i)for(var n=0;n<i.length;n++)f.push(i[n])}}return f}var a=G[s];a||(Oe(s),a=G[s]);var c=o[a[_e]],v=o[a[se]];return c?v?c.concat(v):c.slice():v?v.slice():[]}function _t(o,s){var f=o.Event;f&&f.prototype&&s.patchMethod(f.prototype,"stopImmediatePropagation",function(e){return function(t,r){t[ut]=!0,e&&e.apply(t,r)}})}function q(o,s,f,e,t){var r=Zone.__symbol__(e);if(!s[r]){var i=s[r]=s[e];s[e]=function(n,a,c){return a&&a.prototype&&t.forEach(function(v){var d="".concat(f,".").concat(e,"::")+v,E=a.prototype;try{if(E.hasOwnProperty(v)){var w=o.ObjectGetOwnPropertyDescriptor(E,v);w&&w.value?(w.value=o.wrapWithCurrentZone(w.value,d),o._redefineProperty(a.prototype,v,w)):E[v]&&(E[v]=o.wrapWithCurrentZone(E[v],d))}else E[v]&&(E[v]=o.wrapWithCurrentZone(E[v],d))}catch{}}),i.call(s,n,a,c)},o.attachOriginToPatched(s[e],i)}}function lt(o,s,f){if(!f||0===f.length)return s;var e=f.filter(function(r){return r.target===o});if(!e||0===e.length)return s;var t=e[0].ignoreProperties;return s.filter(function(r){return-1===t.indexOf(r)})}function ft(o,s,f,e){o&&at(o,lt(o,s,f),e)}function Ke(o){return Object.getOwnPropertyNames(o).filter(function(s){return s.startsWith("on")&&s.length>2}).map(function(s){return s.substring(2)})}function qe(o,s){if((!xe||Ye)&&!Zone[o.symbol("patchEvents")]){var f=s.__Zone_ignore_on_properties,e=[];if(nt){var t=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);var r=function Tt(){try{var o=Se.navigator.userAgent;if(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:t,ignoreProperties:["error"]}]:[];ft(t,Ke(t),f&&f.concat(r),fe(t))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(var i=0;i<e.length;i++){var n=s[e[i]];n&&n.prototype&&ft(n.prototype,Ke(n.prototype),f)}}}Zone.__load_patch("util",function(o,s,f){var e=Ke(o);f.patchOnProperties=at,f.patchMethod=ve,f.bindArguments=et,f.patchMacroTask=st;var t=s.__symbol__("BLACK_LISTED_EVENTS"),r=s.__symbol__("UNPATCHED_EVENTS");o[r]&&(o[t]=o[r]),o[t]&&(s[t]=s[r]=o[t]),f.patchEventPrototype=_t,f.patchEventTarget=pt,f.isIEOrEdge=gt,f.ObjectDefineProperty=le,f.ObjectGetOwnPropertyDescriptor=ce,f.ObjectCreate=Ve,f.ArraySlice=Pe,f.patchClass=B,f.wrapWithCurrentZone=He,f.filterProperties=lt,f.attachOriginToPatched=de,f._redefineProperty=Object.defineProperty,f.patchCallbacks=q,f.getGlobalObjects=function(){return{globalSources:me,zoneSymbolEventNames:G,eventNames:e,isBrowser:nt,isMix:Ye,isNode:xe,TRUE_STR:se,FALSE_STR:_e,ZONE_SYMBOL_PREFIX:Me,ADD_EVENT_LISTENER_STR:ze,REMOVE_EVENT_LISTENER_STR:Ie}}});var Je=H("zoneTask");function Ae(o,s,f,e){var t=null,r=null;f+=e;var i={};function n(c){var v=c.data;return v.args[0]=function(){return c.invoke.apply(this,arguments)},v.handleId=t.apply(o,v.args),c}function a(c){return r.call(o,c.data.handleId)}t=ve(o,s+=e,function(c){return function(v,d){if("function"==typeof d[0]){var E={isPeriodic:"Interval"===e,delay:"Timeout"===e||"Interval"===e?d[1]||0:void 0,args:d},w=d[0];d[0]=function(){try{return w.apply(this,arguments)}finally{E.isPeriodic||("number"==typeof E.handleId?delete i[E.handleId]:E.handleId&&(E.handleId[Je]=null))}};var I=Le(s,d[0],E,n,a);if(!I)return I;var F=I.data.handleId;return"number"==typeof F?i[F]=I:F&&(F[Je]=I),F&&F.ref&&F.unref&&"function"==typeof F.ref&&"function"==typeof F.unref&&(I.ref=F.ref.bind(F),I.unref=F.unref.bind(F)),"number"==typeof F||F?F:I}return c.apply(o,d)}}),r=ve(o,f,function(c){return function(v,d){var w,E=d[0];"number"==typeof E?w=i[E]:(w=E&&E[Je])||(w=E),w&&"string"==typeof w.type?"notScheduled"!==w.state&&(w.cancelFn&&w.data.isPeriodic||0===w.runCount)&&("number"==typeof E?delete i[E]:E&&(E[Je]=null),w.zone.cancelTask(w)):c.apply(o,d)}})}Zone.__load_patch("legacy",function(o){var s=o[Zone.__symbol__("legacyPatch")];s&&s()}),Zone.__load_patch("timers",function(o){var s="set",f="clear";Ae(o,s,f,"Timeout"),Ae(o,s,f,"Interval"),Ae(o,s,f,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(o){Ae(o,"request","cancel","AnimationFrame"),Ae(o,"mozRequest","mozCancel","AnimationFrame"),Ae(o,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(o,s){for(var f=["alert","prompt","confirm"],e=0;e<f.length;e++)ve(o,f[e],function(r,i,n){return function(a,c){return s.current.run(r,o,c,n)}})}),Zone.__load_patch("EventTarget",function(o,s,f){(function bt(o,s){s.patchEventPrototype(o,s)})(o,f),function Et(o,s){if(!Zone[s.symbol("patchEventTarget")]){for(var f=s.getGlobalObjects(),e=f.eventNames,t=f.zoneSymbolEventNames,r=f.TRUE_STR,i=f.FALSE_STR,n=f.ZONE_SYMBOL_PREFIX,a=0;a<e.length;a++){var c=e[a],E=n+(c+i),w=n+(c+r);t[c]={},t[c][i]=E,t[c][r]=w}var I=o.EventTarget;if(I&&I.prototype)return s.patchEventTarget(o,s,[I&&I.prototype]),!0}}(o,f);var e=o.XMLHttpRequestEventTarget;e&&e.prototype&&f.patchEventTarget(o,f,[e.prototype])}),Zone.__load_patch("MutationObserver",function(o,s,f){B("MutationObserver"),B("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(o,s,f){B("IntersectionObserver")}),Zone.__load_patch("FileReader",function(o,s,f){B("FileReader")}),Zone.__load_patch("on_property",function(o,s,f){qe(f,o)}),Zone.__load_patch("customElements",function(o,s,f){!function wt(o,s){var f=s.getGlobalObjects();(f.isBrowser||f.isMix)&&o.customElements&&"customElements"in o&&s.patchCallbacks(s,o.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(o,f)}),Zone.__load_patch("XHR",function(o,s){!function a(c){var v=c.XMLHttpRequest;if(v){var d=v.prototype,w=d[Xe],I=d[je];if(!w){var F=c.XMLHttpRequestEventTarget;if(F){var ye=F.prototype;w=ye[Xe],I=ye[je]}}var W="readystatechange",J="scheduled",U=ve(d,"open",function(){return function(D,Z){return D[e]=0==Z[2],D[i]=Z[1],U.apply(D,Z)}}),x=H("fetchTaskAborting"),C=H("fetchTaskScheduling"),Y=ve(d,"send",function(){return function(D,Z){if(!0===s.current[C]||D[e])return Y.apply(D,Z);var O={target:D,url:D[i],isPeriodic:!1,args:Z,aborted:!1},K=Le("XMLHttpRequest.send",b,O,j,oe);D&&!0===D[n]&&!O.aborted&&K.state===J&&K.invoke()}}),M=ve(d,"abort",function(){return function(D,Z){var O=function E(D){return D[f]}(D);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===s.current[x])return M.apply(D,Z)}})}function j(D){var Z=D.data,O=Z.target;O[r]=!1,O[n]=!1;var K=O[t];w||(w=O[Xe],I=O[je]),K&&I.call(O,W,K);var Te=O[t]=function(){if(O.readyState===O.DONE)if(!Z.aborted&&O[r]&&D.state===J){var ue=O[s.__symbol__("loadfalse")];if(0!==O.status&&ue&&ue.length>0){var ke=D.invoke;D.invoke=function(){for(var Q=O[s.__symbol__("loadfalse")],y=0;y<Q.length;y++)Q[y]===D&&Q.splice(y,1);!Z.aborted&&D.state===J&&ke.call(D)},ue.push(D)}else D.invoke()}else!Z.aborted&&!1===O[r]&&(O[n]=!0)};return w.call(O,W,Te),O[f]||(O[f]=D),Y.apply(O,Z.args),O[r]=!0,D}function b(){}function oe(D){var Z=D.data;return Z.aborted=!0,M.apply(Z.target,Z.args)}}(o);var f=H("xhrTask"),e=H("xhrSync"),t=H("xhrListener"),r=H("xhrScheduled"),i=H("xhrURL"),n=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(o){o.navigator&&o.navigator.geolocation&&function dt(o,s){for(var f=o.constructor.name,e=function(r){var c,v,i=s[r],n=o[i];if(n){if(!tt(ce(o,i)))return"continue";o[i]=(v=function(){return c.apply(this,et(arguments,f+"."+i))},de(v,c=n),v)}},t=0;t<s.length;t++)e(t)}(o.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(o,s){function f(e){return function(t){ct(o,e).forEach(function(i){var n=o.PromiseRejectionEvent;if(n){var a=new n(e,{promise:t.promise,reason:t.rejection});i.invoke(a)}})}}o.PromiseRejectionEvent&&(s[H("unhandledPromiseRejectionHandler")]=f("unhandledrejection"),s[H("rejectionHandledHandler")]=f("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",function(o,s,f){!function ht(o,s){s.patchMethod(o,"queueMicrotask",function(f){return function(e,t){Zone.current.scheduleMicroTask("queueMicrotask",t[0])}})}(o,f)})},void 0!==(We=be.call(ge,pe,ge,ae))&&(ae.exports=We)}},ae=>{ae(ae.s=874)}]);
|
|
3
|
-
"use strict";(self.webpackChunkUILibrary=self.webpackChunkUILibrary||[]).push([[179],{697:()=>{function ge(e){return"function"==typeof e}function yo(e){const n=e(i=>{Error.call(i),i.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const vo=yo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Kn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ct{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(ge(i))try{i()}catch(o){t=o instanceof vo?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Pd(o)}catch(s){t=t??[],s instanceof vo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new vo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Pd(t);else{if(t instanceof Ct){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Kn(n,t)}remove(t){const{_finalizers:n}=this;n&&Kn(n,t),t instanceof Ct&&t._removeParent(this)}}Ct.EMPTY=(()=>{const e=new Ct;return e.closed=!0,e})();const Fd=Ct.EMPTY;function Rd(e){return e instanceof Ct||e&&"closed"in e&&ge(e.remove)&&ge(e.add)&&ge(e.unsubscribe)}function Pd(e){ge(e)?e():e.unsubscribe()}const An={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bo={setTimeout(e,t,...n){const{delegate:i}=bo;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=bo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function kd(e){bo.setTimeout(()=>{const{onUnhandledError:t}=An;if(!t)throw e;t(e)})}function Ia(){}const dD=Ta("C",void 0,void 0);function Ta(e,t,n){return{kind:e,value:t,error:n}}let Sn=null;function Do(e){if(An.useDeprecatedSynchronousErrorHandling){const t=!Sn;if(t&&(Sn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=Sn;if(Sn=null,n)throw i}}else e()}class xa extends Ct{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Rd(t)&&t.add(this)):this.destination=yD}static create(t,n,i){return new tr(t,n,i)}next(t){this.isStopped?Sa(function hD(e){return Ta("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Sa(function fD(e){return Ta("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Sa(dD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const gD=Function.prototype.bind;function Aa(e,t){return gD.call(e,t)}class mD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Co(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Co(i)}else Co(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Co(n)}}}class tr extends xa{constructor(t,n,i){let r;if(super(),ge(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&An.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Aa(t.next,o),error:t.error&&Aa(t.error,o),complete:t.complete&&Aa(t.complete,o)}):r=t}this.destination=new mD(r)}}function Co(e){An.useDeprecatedSynchronousErrorHandling?function pD(e){An.useDeprecatedSynchronousErrorHandling&&Sn&&(Sn.errorThrown=!0,Sn.error=e)}(e):kd(e)}function Sa(e,t){const{onStoppedNotification:n}=An;n&&bo.setTimeout(()=>n(e,t))}const yD={closed:!0,next:Ia,error:function _D(e){throw e},complete:Ia},Na="function"==typeof Symbol&&Symbol.observable||"@@observable";function nr(e){return e}let Te=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){const o=function bD(e){return e&&e instanceof xa||function vD(e){return e&&ge(e.next)&&ge(e.error)&&ge(e.complete)}(e)&&Rd(e)}(n)?n:new tr(n,i,r);return Do(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=Vd(i))((r,o)=>{const s=new tr({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[Na](){return this}pipe(...n){return function Ld(e){return 0===e.length?nr:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=Vd(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function Vd(e){var t;return null!==(t=e??An.Promise)&&void 0!==t?t:Promise}const DD=yo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Xn=(()=>{class e extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new Bd(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new DD}next(n){Do(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){Do(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){Do(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Fd:(this.currentObservers=null,o.push(n),new Ct(()=>{this.currentObservers=null,Kn(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new Te;return n.source=this,n}}return e.create=(t,n)=>new Bd(t,n),e})();class Bd extends Xn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===i||i.call(n,t)}error(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===i||i.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,i;return null!==(i=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==i?i:Fd}}function pt(e){return t=>{if(function CD(e){return ge(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function rt(e,t,n,i,r){return new wD(e,t,n,i,r)}class wD extends xa{constructor(t,n,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=r?function(a){try{r(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Jn(e,t){return pt((n,i)=>{let r=0;n.subscribe(rt(i,o=>{i.next(e.call(t,o,r++))}))})}function hn(e){return this instanceof hn?(this.v=e,this):new hn(e)}function Ud(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Pa(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(a,c){!function r(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}(a,c,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Gd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function zd(e){return ge(e?.then)}function Wd(e){return ge(e[Na])}function qd(e){return Symbol.asyncIterator&&ge(e?.[Symbol.asyncIterator])}function Zd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Qd=function zD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Yd(e){return ge(e?.[Qd])}function Kd(e){return function $d(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function c(f){f.value instanceof hn?Promise.resolve(f.value.v).then(l,u):d(o[0][2],f)}(i[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield hn(n.read());if(r)return yield hn(void 0);yield yield hn(i)}}finally{n.releaseLock()}})}function Xd(e){return ge(e?.getReader)}function wt(e){if(e instanceof Te)return e;if(null!=e){if(Wd(e))return function WD(e){return new Te(t=>{const n=e[Na]();if(ge(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Gd(e))return function qD(e){return new Te(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(zd(e))return function ZD(e){return new Te(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,kd)})}(e);if(qd(e))return Jd(e);if(Yd(e))return function QD(e){return new Te(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Xd(e))return function YD(e){return Jd(Kd(e))}(e)}throw Zd(e)}function Jd(e){return new Te(t=>{(function KD(e,t){var n,i,r,o;return function jd(e,t,n,i){return new(n||(n=Promise))(function(o,s){function a(u){try{l(i.next(u))}catch(d){s(d)}}function c(u){try{l(i.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):function r(o){return o instanceof n?o:new n(function(s){s(o)})}(u.value).then(a,c)}l((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Ud(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Qt(e,t,n,i=0,r=!1){const o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function ef(e,t,n=1/0){return ge(t)?ef((i,r)=>Jn((o,s)=>t(i,o,r,s))(wt(e(i,r))),n):("number"==typeof t&&(n=t),pt((i,r)=>function XD(e,t,n,i,r,o,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=g=>l<i?p(g):c.push(g),p=g=>{o&&t.next(g),l++;let y=!1;wt(n(g,u++)).subscribe(rt(t,b=>{r?.(b),o?h(b):t.next(b)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;c.length&&l<i;){const b=c.shift();s?Qt(t,s,()=>p(b)):p(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(rt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}function tf(e=1/0){return ef(nr,e)}const ka=new Te(e=>e.complete());function La(e){return e[e.length-1]}function nf(e){return ge(La(e))?e.pop():void 0}function ir(e){return function eC(e){return e&&ge(e.schedule)}(La(e))?e.pop():void 0}function rf(e,t=0){return pt((n,i)=>{n.subscribe(rt(i,r=>Qt(i,e,()=>i.next(r),t),()=>Qt(i,e,()=>i.complete(),t),r=>Qt(i,e,()=>i.error(r),t)))})}function sf(e,t=0){return pt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function af(e,t){if(!e)throw new Error("Iterable cannot be null");return new Te(n=>{Qt(n,t,()=>{const i=e[Symbol.asyncIterator]();Qt(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function ei(e,t){return t?function aC(e,t){if(null!=e){if(Wd(e))return function nC(e,t){return wt(e).pipe(sf(t),rf(t))}(e,t);if(Gd(e))return function rC(e,t){return new Te(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(zd(e))return function iC(e,t){return wt(e).pipe(sf(t),rf(t))}(e,t);if(qd(e))return af(e,t);if(Yd(e))return function oC(e,t){return new Te(n=>{let i;return Qt(n,t,()=>{i=e[Qd](),Qt(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void n.error(s)}o?n.complete():n.next(r)},0,!0)}),()=>ge(i?.return)&&i.return()})}(e,t);if(Xd(e))return function sC(e,t){return af(Kd(e),t)}(e,t)}throw Zd(e)}(e,t):wt(e)}function cf(...e){const t=ir(e),n=function tC(e,t){return"number"==typeof La(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?wt(i[0]):tf(n)(ei(i,t)):ka}class cC extends Xn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function lf(e={}){const{connector:t=(()=>new Xn),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,c,l=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,u=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return pt((g,y)=>{l++,!d&&!u&&f();const b=c=c??t();y.add(()=>{l--,0===l&&!d&&!u&&(a=Va(p,r))}),b.subscribe(y),!s&&l>0&&(s=new tr({next:m=>b.next(m),error:m=>{d=!0,f(),a=Va(h,n,m),b.error(m)},complete:()=>{u=!0,f(),a=Va(h,i),b.complete()}}),wt(g).subscribe(s))})(o)}}function Va(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new tr({next:()=>{i.unsubscribe(),e()}});return wt(t(...n)).subscribe(i)}function uf(e,t){return pt((n,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();n.subscribe(rt(i,c=>{r?.unsubscribe();let l=0;const u=o++;wt(e(c,u)).subscribe(r=rt(i,d=>i.next(t?t(c,d,u,l++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function dC(e,t){return e===t}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function wo(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function we(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(we).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ba(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const fC=ee({__forward_ref__:ee});function oe(e){return e.__forward_ref__=oe,e.toString=function(){return we(this())},e}function R(e){return ja(e)?e():e}function ja(e){return"function"==typeof e&&e.hasOwnProperty(fC)&&e.__forward_ref__===oe}function Ha(e){return e&&!!e.\u0275providers}const df="https://g.co/ng/security#xss";class D extends Error{constructor(t,n){super(function Eo(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function k(e){return"string"==typeof e?e:null==e?"":String(e)}function $a(e,t){throw new D(-201,!1)}function gt(e,t){null==e&&function N(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Re(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mo(e){return ff(e,To)||ff(e,hf)}function ff(e,t){return e.hasOwnProperty(t)?e[t]:null}function Io(e){return e&&(e.hasOwnProperty(Ua)||e.hasOwnProperty(vC))?e[Ua]:null}const To=ee({\u0275prov:ee}),Ua=ee({\u0275inj:ee}),hf=ee({ngInjectableDef:ee}),vC=ee({ngInjectorDef:ee});var U=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}(U||{});let Ga;function Ye(e){const t=Ga;return Ga=e,t}function gf(e,t,n){const i=Mo(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&U.Optional?null:void 0!==t?t:void $a(we(e))}const se=globalThis;class M{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const rr={},Qa="__NG_DI_FLAG__",xo="ngTempTokenPath",CC=/\n/gm,_f="__source";let ti;function pn(e){const t=ti;return ti=e,t}function MC(e,t=U.Default){if(void 0===ti)throw new D(-203,!1);return null===ti?gf(e,void 0,t):ti.get(e,t&U.Optional?null:void 0,t)}function P(e,t=U.Default){return(function pf(){return Ga}()||MC)(R(e),t)}function J(e,t=U.Default){return P(e,Ao(t))}function Ao(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ya(e){const t=[];for(let n=0;n<e.length;n++){const i=R(e[n]);if(Array.isArray(i)){if(0===i.length)throw new D(900,!1);let r,o=U.Default;for(let s=0;s<i.length;s++){const a=i[s],c=IC(a);"number"==typeof c?-1===c?r=a.token:o|=c:r=a}t.push(P(r,o))}else t.push(P(i))}return t}function or(e,t){return e[Qa]=t,e.prototype[Qa]=t,e}function IC(e){return e[Qa]}function Yt(e){return{toString:e}.toString()}var So=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(So||{}),Et=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Et||{});const Pt={},Q=[],No=ee({\u0275cmp:ee}),Ka=ee({\u0275dir:ee}),Xa=ee({\u0275pipe:ee}),vf=ee({\u0275mod:ee}),Kt=ee({\u0275fac:ee}),sr=ee({__NG_ELEMENT_ID__:ee}),bf=ee({__NG_ENV_ID__:ee});function Df(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}function Ja(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],s=n[i++],a=n[i++];e.setAttribute(t,s,a,o)}else{const o=r,s=n[++i];wf(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),i++}}return i}function Cf(e){return 3===e||4===e||6===e}function wf(e){return 64===e.charCodeAt(0)}function ar(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Ef(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Ef(e,t,n,i,r){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const Mf="ng-template";function AC(e,t,n){let i=0,r=!0;for(;i<e.length;){let o=e[i++];if("string"==typeof o&&r){const s=e[i++];if(n&&"class"===o&&-1!==Df(s.toLowerCase(),t,0))return!0}else{if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(r=!1)}}return!1}function If(e){return 4===e.type&&e.value!==Mf}function SC(e,t,n){return t===(4!==e.type||n?e.value:Mf)}function NC(e,t,n){let i=4;const r=e.attrs||[],o=function RC(e){for(let t=0;t<e.length;t++)if(Cf(e[t]))return t;return e.length}(r);let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&i){if(i=2|1&i,""!==c&&!SC(e,c,n)||""===c&&1===t.length){if(Mt(i))return!1;s=!0}}else{const l=8&i?c:t[++a];if(8&i&&null!==e.attrs){if(!AC(e.attrs,l,n)){if(Mt(i))return!1;s=!0}continue}const d=OC(8&i?"class":c,r,If(e),n);if(-1===d){if(Mt(i))return!1;s=!0;continue}if(""!==l){let f;f=d>o?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==Df(h,l,0)||2&i&&l!==f){if(Mt(i))return!1;s=!0}}}}else{if(!s&&!Mt(i)&&!Mt(c))return!1;if(s&&Mt(c))continue;s=!1,i=c|1&i}}return Mt(i)||s}function Mt(e){return 0==(1&e)}function OC(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const s=t[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function PC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Tf(e,t,n=!1){for(let i=0;i<t.length;i++)if(NC(e,t[i],n))return!0;return!1}function xf(e,t){return e?":not("+t.trim()+")":t}function LC(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const a=e[++n];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Mt(s)&&(t+=xf(o,r),r=""),i=s,o=o||!Mt(i);n++}return""!==r&&(t+=xf(o,r)),t}function It(e){return Yt(()=>{const t=Sf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===So.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Et.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""};Nf(n);const i=e.dependencies;return n.directiveDefs=Oo(i,!1),n.pipeDefs=Oo(i,!0),n.id=function zC(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function HC(e){return G(e)||xe(e)}function $C(e){return null!==e}function je(e){return Yt(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Af(e,t){if(null==e)return Pt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}function V(e){return Yt(()=>{const t=Sf(e);return Nf(t),t})}function Ke(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function G(e){return e[No]||null}function xe(e){return e[Ka]||null}function He(e){return e[Xa]||null}function Sf(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Pt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Af(e.inputs,t),outputs:Af(e.outputs)}}function Nf(e){e.features?.forEach(t=>t(e))}function Oo(e,t){if(!e)return null;const n=t?He:HC;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter($C)}const _e=0,C=1,j=2,fe=3,Tt=4,lr=5,Pe=6,ni=7,ve=8,gn=9,ii=10,L=11,ur=12,Of=13,ri=14,be=15,dr=16,oi=17,kt=18,fr=19,Ff=20,mn=21,Xt=22,hr=23,pr=24,H=25,ec=1,Rf=2,Lt=7,si=9,Ae=11;function Xe(e){return Array.isArray(e)&&"object"==typeof e[ec]}function $e(e){return Array.isArray(e)&&!0===e[ec]}function tc(e){return 0!=(4&e.flags)}function On(e){return e.componentOffset>-1}function Ro(e){return 1==(1&e.flags)}function xt(e){return!!e.template}function nc(e){return 0!=(512&e[j])}function Fn(e,t){return e.hasOwnProperty(Kt)?e[Kt]:null}let Se=null,Po=!1;function mt(e){const t=Se;return Se=e,t}const Lf={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Bf(e){if(!mr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!$f(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Hf(e){e.dirty=!0,function jf(e){if(void 0===e.liveConsumerNode)return;const t=Po;Po=!0;try{for(const n of e.liveConsumerNode)n.dirty||Hf(n)}finally{Po=t}}(e),e.consumerMarkedDirty?.(e)}function rc(e){return e&&(e.nextProducerIndex=0),mt(e)}function oc(e,t){if(mt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(mr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ko(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function $f(e){ai(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Bf(n),i!==n.version))return!0}return!1}function Uf(e){if(ai(e),mr(e))for(let t=0;t<e.producerNode.length;t++)ko(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function ko(e,t){if(function zf(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),ai(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)ko(e.producerNode[i],e.producerIndexOfThis[i]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];ai(r),r.producerIndexOfThis[i]=t}}function mr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ai(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Wf=null;const Yf=()=>{},rw=(()=>({...Lf,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Yf}))();class Kf{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Jt(){return Xf}function Xf(e){return e.type.prototype.ngOnChanges&&(e.setInput=sw),ow}function ow(){const e=eh(this),t=e?.current;if(t){const n=e.previous;if(n===Pt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function sw(e,t,n,i){const r=this.declaredInputs[n],o=eh(e)||function aw(e,t){return e[Jf]=t}(e,{previous:Pt,current:null}),s=o.current||(o.current={}),a=o.previous,c=a[r];s[r]=new Kf(c&&c.currentValue,t,a===Pt),e[i]=t}Jt.ngInherit=!0;const Jf="__ngSimpleChanges__";function eh(e){return e[Jf]||null}const Vt=function(e,t,n){};function ae(e){for(;Array.isArray(e);)e=e[_e];return e}function Lo(e,t){return ae(t[e])}function Je(e,t){return ae(t[e.index])}function ih(e,t){return e.data[t]}function ci(e,t){return e[t]}function at(e,t){const n=t[e];return Xe(n)?n:n[_e]}function yn(e,t){return null==t?null:e[t]}function rh(e){e[oi]=0}function hw(e){1024&e[j]||(e[j]|=1024,sh(e,1))}function oh(e){1024&e[j]&&(e[j]&=-1025,sh(e,-1))}function sh(e,t){let n=e[fe];if(null===n)return;n[lr]+=t;let i=n;for(n=n[fe];null!==n&&(1===t&&1===i[lr]||-1===t&&0===i[lr]);)n[lr]+=t,i=n,n=n[fe]}const O={lFrame:_h(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function lh(){return O.bindingsEnabled}function _(){return O.lFrame.lView}function z(){return O.lFrame.tView}function ue(e){return O.lFrame.contextLView=e,e[ve]}function de(e){return O.lFrame.contextLView=null,e}function Ne(){let e=uh();for(;null!==e&&64===e.type;)e=e.parent;return e}function uh(){return O.lFrame.currentTNode}function Bt(e,t){const n=O.lFrame;n.currentTNode=e,n.isParent=t}function uc(){return O.lFrame.isParent}function dc(){O.lFrame.isParent=!1}function Ue(){const e=O.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ui(){return O.lFrame.bindingIndex++}function tn(e){const t=O.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Mw(e,t){const n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,fc(t)}function fc(e){O.lFrame.currentDirectiveIndex=e}function ph(){return O.lFrame.currentQueryIndex}function pc(e){O.lFrame.currentQueryIndex=e}function Tw(e){const t=e[C];return 2===t.type?t.declTNode:1===t.type?e[Pe]:null}function gh(e,t,n){if(n&U.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&U.Host||(r=Tw(o),null===r||(o=o[ri],10&r.type))););if(null===r)return!1;t=r,e=o}const i=O.lFrame=mh();return i.currentTNode=t,i.lView=e,!0}function gc(e){const t=mh(),n=e[C];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function mh(){const e=O.lFrame,t=null===e?null:e.child;return null===t?_h(e):t}function _h(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function yh(){const e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const vh=yh;function mc(){const e=yh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ge(){return O.lFrame.selectedIndex}function Rn(e){O.lFrame.selectedIndex=e}function me(){const e=O.lFrame;return ih(e.tView,e.selectedIndex)}let Dh=!0;function Vo(){return Dh}function vn(e){Dh=e}function Bo(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=u&&(e.destroyHooks??=[]).push(n,u)}}function jo(e,t,n){Ch(e,t,3,n)}function Ho(e,t,n,i){(3&e[j])===n&&Ch(e,t,n,i)}function _c(e,t){let n=e[j];(3&n)===t&&(n&=8191,n+=1,e[j]=n)}function Ch(e,t,n,i){const o=i??-1,s=t.length-1;let a=0;for(let c=void 0!==i?65535&e[oi]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=i&&a>=i)break}else t[c]<0&&(e[oi]+=65536),(a<o||-1==o)&&(Pw(e,n,t,c),e[oi]=(4294901760&e[oi])+c+2),c++}function wh(e,t){Vt(4,e,t);const n=mt(null);try{t.call(e)}finally{mt(n),Vt(5,e,t)}}function Pw(e,t,n,i){const r=n[i]<0,o=n[i+1],a=e[r?-n[i]:n[i]];r?e[j]>>13<e[oi]>>16&&(3&e[j])===t&&(e[j]+=8192,wh(a,o)):wh(a,o)}const di=-1;class yr{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function vc(e){return e!==di}function vr(e){return 32767&e}function br(e,t){let n=function Bw(e){return e>>16}(e),i=t;for(;n>0;)i=i[ri],n--;return i}let bc=!0;function $o(e){const t=bc;return bc=e,t}const Eh=255,Mh=5;let jw=0;const jt={};function Uo(e,t){const n=Ih(e,t);if(-1!==n)return n;const i=t[C];i.firstCreatePass&&(e.injectorIndex=t.length,Dc(i.data,e),Dc(t,null),Dc(i.blueprint,null));const r=Go(e,t),o=e.injectorIndex;if(vc(r)){const s=vr(r),a=br(r,t),c=a[C].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|c[s+l]}return t[o+8]=r,o}function Dc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ih(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Go(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=Fh(r),null===i)return di;if(n++,r=r[ri],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return di}function Cc(e,t,n){!function Hw(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(sr)&&(i=n[sr]),null==i&&(i=n[sr]=jw++);const r=i&Eh;t.data[e+(r>>Mh)]|=1<<r}(e,t,n)}function Th(e,t,n){if(n&U.Optional||void 0!==e)return e;$a()}function xh(e,t,n,i){if(n&U.Optional&&void 0===i&&(i=null),!(n&(U.Self|U.Host))){const r=e[gn],o=Ye(void 0);try{return r?r.get(t,i,n&U.Optional):gf(t,i,n&U.Optional)}finally{Ye(o)}}return Th(i,0,n)}function Ah(e,t,n,i=U.Default,r){if(null!==e){if(2048&t[j]&&!(i&U.Self)){const s=function qw(e,t,n,i,r){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[j]&&!(512&s[j]);){const a=Sh(o,s,n,i|U.Self,jt);if(a!==jt)return a;let c=o.parent;if(!c){const l=s[Ff];if(l){const u=l.get(n,jt,i);if(u!==jt)return u}c=Fh(s),s=s[ri]}o=c}return r}(e,t,n,i,jt);if(s!==jt)return s}const o=Sh(e,t,n,i,jt);if(o!==jt)return o}return xh(t,n,i,r)}function Sh(e,t,n,i,r){const o=function Gw(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(sr)?e[sr]:void 0;return"number"==typeof t?t>=0?t&Eh:Ww:t}(n);if("function"==typeof o){if(!gh(t,e,i))return i&U.Host?Th(r,0,i):xh(t,n,i,r);try{let s;if(s=o(i),null!=s||i&U.Optional)return s;$a()}finally{vh()}}else if("number"==typeof o){let s=null,a=Ih(e,t),c=di,l=i&U.Host?t[be][Pe]:null;for((-1===a||i&U.SkipSelf)&&(c=-1===a?Go(e,t):t[a+8],c!==di&&Oh(i,!1)?(s=t[C],a=vr(c),t=br(c,t)):a=-1);-1!==a;){const u=t[C];if(Nh(o,a,u.data)){const d=Uw(a,t,n,s,i,l);if(d!==jt)return d}c=t[a+8],c!==di&&Oh(i,t[C].data[a+8]===l)&&Nh(o,a,t)?(s=u,a=vr(c),t=br(c,t)):a=-1}}return r}function Uw(e,t,n,i,r,o){const s=t[C],a=s.data[e+8],u=zo(a,s,n,null==i?On(a)&&bc:i!=s&&0!=(3&a.type),r&U.Host&&o===a);return null!==u?Pn(t,s,u,a):jt}function zo(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,c=e.directiveStart,u=o>>20,f=r?a+u:e.directiveEnd;for(let h=i?a:a+u;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(r){const h=s[c];if(h&&xt(h)&&h.type===n)return c}return null}function Pn(e,t,n,i){let r=e[n];const o=t.data;if(function kw(e){return e instanceof yr}(r)){const s=r;s.resolving&&function hC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${n}`)}(function X(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():k(e)}(o[n]));const a=$o(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Ye(s.injectImpl):null;gh(e,i,U.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Rw(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Xf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==l&&Ye(l),$o(a),s.resolving=!1,vh()}}return r}function Nh(e,t,n){return!!(n[t+(e>>Mh)]&1<<e)}function Oh(e,t){return!(e&U.Self||e&U.Host&&t)}class ze{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Ah(this._tNode,this._lView,t,Ao(i),n)}}function Ww(){return new ze(Ne(),_())}function ke(e){return Yt(()=>{const t=e.prototype.constructor,n=t[Kt]||wc(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Kt]||wc(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function wc(e){return ja(e)?()=>{const t=wc(R(e));return t&&t()}:Fn(e)}function Fh(e){const t=e[C],n=t.type;return 2===n?t.declTNode:1===n?e[Pe]:null}const hi="__parameters__";function gi(e,t,n){return Yt(()=>{const i=function Mc(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(hi)?c[hi]:Object.defineProperty(c,hi,{value:[]})[hi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function _i(e,t){e.forEach(n=>Array.isArray(n)?_i(n,t):t(n))}function Ph(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ct(e,t,n){let i=yi(e,t);return i>=0?e[1|i]=n:(i=~i,function eE(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ic(e,t){const n=yi(e,t);if(n>=0)return e[1|n]}function yi(e,t){return function kh(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<n];if(t===s)return o<<n;s>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const xc=or(gi("Optional"),8),Ac=or(gi("SkipSelf"),4);function Xo(e){return 128==(128&e.flags)}var bn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bn||{});const DE=/^>|^->|<!--|-->|--!>|<!-$/g,CE=/(<|>)/g,wE="\u200b$1\u200b";const Fc=new Map;let EE=0;const Pc="__ngContext__";function Le(e,t){Xe(t)?(e[Pc]=t[fr],function IE(e){Fc.set(e[fr],e)}(t)):e[Pc]=t}let kc;function Lc(e,t){return kc(e,t)}function Ir(e){const t=e[fe];return $e(t)?t[fe]:t}function np(e){return rp(e[ur])}function ip(e){return rp(e[Tt])}function rp(e){for(;null!==e&&!$e(e);)e=e[Tt];return e}function Di(e,t,n,i,r){if(null!=i){let o,s=!1;$e(i)?o=i:Xe(i)&&(s=!0,i=i[_e]);const a=ae(i);0===e&&null!==n?null==r?cp(t,n,a):kn(t,n,a,r||null,!0):1===e&&null!==n?kn(t,n,a,r||null,!0):2===e?function os(e,t,n){const i=is(e,t);i&&function zE(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function ZE(e,t,n,i,r){const o=n[Lt];o!==ae(n)&&Di(t,e,i,o,r);for(let a=Ae;a<n.length;a++){const c=n[a];xr(c[C],c,e,t,i,o)}}(t,e,o,n,r)}}function Vc(e,t){return e.createComment(function Zh(e){return e.replace(DE,t=>t.replace(CE,wE))}(t))}function ts(e,t,n){return e.createElement(t,n)}function sp(e,t){const n=e[si],i=n.indexOf(t);oh(t),n.splice(i,1)}function ns(e,t){if(e.length<=Ae)return;const n=Ae+t,i=e[n];if(i){const r=i[dr];null!==r&&r!==e&&sp(r,i),t>0&&(e[n-1][Tt]=i[Tt]);const o=Wo(e,Ae+t);!function LE(e,t){xr(e,t,t[L],2,null,null),t[_e]=null,t[Pe]=null}(i[C],i);const s=o[kt];null!==s&&s.detachView(o[C]),i[fe]=null,i[Tt]=null,i[j]&=-129}return i}function Bc(e,t){if(!(256&t[j])){const n=t[L];t[hr]&&Uf(t[hr]),t[pr]&&Uf(t[pr]),n.destroyNode&&xr(e,t,n,3,null,null),function jE(e){let t=e[ur];if(!t)return jc(e[C],e);for(;t;){let n=null;if(Xe(t))n=t[ur];else{const i=t[Ae];i&&(n=i)}if(!n){for(;t&&!t[Tt]&&t!==e;)Xe(t)&&jc(t[C],t),t=t[fe];null===t&&(t=e),Xe(t)&&jc(t[C],t),n=t&&t[Tt]}t=n}}(t)}}function jc(e,t){if(!(256&t[j])){t[j]&=-129,t[j]|=256,function GE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof yr)){const o=n[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],c=o[s+1];Vt(4,a,c);try{c.call(a)}finally{Vt(5,a,c)}}else{Vt(4,r,o);try{o.call(r)}finally{Vt(5,r,o)}}}}}(e,t),function UE(e,t){const n=e.cleanup,i=t[ni];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else n[o].call(i[n[o+1]]);null!==i&&(t[ni]=null);const r=t[mn];if(null!==r){t[mn]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(e,t),1===t[C].type&&t[L].destroy();const n=t[dr];if(null!==n&&$e(t[fe])){n!==t[fe]&&sp(n,t);const i=t[kt];null!==i&&i.detachView(e)}!function TE(e){Fc.delete(e[fr])}(t)}}function Hc(e,t,n){return function ap(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[_e];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Et.None||o===Et.Emulated)return null}return Je(i,n)}}(e,t.parent,n)}function kn(e,t,n,i,r){e.insertBefore(t,n,i,r)}function cp(e,t,n){e.appendChild(t,n)}function lp(e,t,n,i,r){null!==i?kn(e,t,n,i,r):cp(e,t,n)}function is(e,t){return e.parentNode(t)}let $c,ss,Wc,as,fp=function dp(e,t,n){return 40&e.type?Je(e,n):null};function rs(e,t,n,i){const r=Hc(e,i,t),o=t[L],a=function up(e,t,n){return fp(e,t,n)}(i.parent||t[Pe],i,t);if(null!=r)if(Array.isArray(n))for(let c=0;c<n.length;c++)lp(o,r,n[c],a,!1);else lp(o,r,n,a,!1);void 0!==$c&&$c(o,i,t,n,r)}function Tr(e,t){if(null!==t){const n=t.type;if(3&n)return Je(t,e);if(4&n)return Uc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Tr(e,i);{const r=e[t.index];return $e(r)?Uc(-1,r):ae(r)}}if(32&n)return Lc(t,e)()||ae(e[t.index]);{const i=pp(e,t);return null!==i?Array.isArray(i)?i[0]:Tr(Ir(e[be]),i):Tr(e,t.next)}}return null}function pp(e,t){return null!==t?e[be][Pe].projection[t.projection]:null}function Uc(e,t){const n=Ae+e+1;if(n<t.length){const i=t[n],r=i[C].firstChild;if(null!==r)return Tr(i,r)}return t[Lt]}function Gc(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],c=n.type;if(s&&0===t&&(a&&Le(ae(a),i),n.flags|=2),32!=(32&n.flags))if(8&c)Gc(e,t,n.child,i,r,o,!1),Di(t,e,r,a,o);else if(32&c){const l=Lc(n,i);let u;for(;u=l();)Di(t,e,r,u,o);Di(t,e,r,a,o)}else 16&c?mp(e,t,i,n,r,o):Di(t,e,r,a,o);n=s?n.projectionNext:n.next}}function xr(e,t,n,i,r,o){Gc(n,i,e.firstChild,t,r,o,!1)}function mp(e,t,n,i,r,o){const s=n[be],c=s[Pe].projection[i.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)Di(t,e,r,c[l],o);else{let l=c;const u=s[fe];Xo(i)&&(l.flags|=128),Gc(e,t,l,u,r,o,!0)}}function _p(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function yp(e,t,n){const{mergedAttrs:i,classes:r,styles:o}=n;null!==i&&Ja(e,t,i),null!==r&&_p(e,t,r),null!==o&&function YE(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Ci(e){return function zc(){if(void 0===ss&&(ss=null,se.trustedTypes))try{ss=se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ss}()?.createHTML(e)||e}function wi(){if(void 0!==Wc)return Wc;if(typeof document<"u")return document;throw new D(210,!1)}function vp(e){return function qc(){if(void 0===as&&(as=null,se.trustedTypes))try{as=se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return as}()?.createHTML(e)||e}class Cp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${df})`}}function Dn(e){return e instanceof Cp?e.changingThisBreaksApplicationSecurity:e}function Ar(e,t){const n=function sM(e){return e instanceof Cp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${df})`)}return n===t}class aM{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ci(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class cM{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ci(t),n}}const uM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zc(e){return(e=String(e)).match(uM)?e:"unsafe:"+e}function nn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sr(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Ep=nn("area,br,col,hr,img,wbr"),Mp=nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ip=nn("rp,rt"),Qc=Sr(Ep,Sr(Mp,nn("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")),Sr(Ip,nn("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")),Sr(Ip,Mp)),Yc=nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tp=Sr(Yc,nn("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),nn("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")),dM=nn("script,style,template");class fM{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Qc.hasOwnProperty(n))return this.sanitizedSomething=!0,!dM.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!Tp.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;Yc[a]&&(c=Zc(c)),this.buf.push(" ",s,'="',xp(c),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Qc.hasOwnProperty(n)&&!Ep.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(xp(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&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 n}}const hM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pM=/([^\#-~ |!])/g;function xp(e){return e.replace(/&/g,"&").replace(hM,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(pM,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let cs;function Kc(e){return"content"in e&&function mM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ei=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}(Ei||{});function Ap(e){const t=Nr();return t?vp(t.sanitize(Ei.HTML,e)||""):Ar(e,"HTML")?vp(Dn(e)):function gM(e,t){let n=null;try{cs=cs||function wp(e){const t=new cM(e);return function lM(){try{return!!(new window.DOMParser).parseFromString(Ci(""),"text/html")}catch{return!1}}()?new aM(t):t}(e);let i=t?String(t):"";n=cs.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=cs.getInertBodyElement(i)}while(i!==o);return Ci((new fM).sanitizeChildren(Kc(n)||n))}finally{if(n){const i=Kc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(wi(),k(e))}function rn(e){const t=Nr();return t?t.sanitize(Ei.URL,e)||"":Ar(e,"URL")?Dn(e):Zc(k(e))}function Nr(){const e=_();return e&&e[ii].sanitizer}const ls=new M("ENVIRONMENT_INITIALIZER"),Np=new M("INJECTOR",-1),Op=new M("INJECTOR_DEF_TYPES");class Xc{get(t,n=rr){if(n===rr){const i=new Error(`NullInjectorError: No provider for ${we(t)}!`);throw i.name="NullInjectorError",i}return n}}function wM(...e){return{\u0275providers:Rp(0,e),\u0275fromNgModule:!0}}function Rp(e,...t){const n=[],i=new Set;let r;const o=s=>{n.push(s)};return _i(t,s=>{const a=s;us(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Pp(r,o),n}function Pp(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];Jc(r,o=>{t(o,i)})}}function us(e,t,n,i){if(!(e=R(e)))return!1;let r=null,o=Io(e);const s=!o&&G(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const c=e.ngModule;if(o=Io(c),!o)return!1;r=c}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)us(l,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let l;i.add(r);try{_i(o.imports,u=>{us(u,t,n,i)&&(l||=[],l.push(u))})}finally{}void 0!==l&&Pp(l,t)}if(!a){const l=Fn(r)||(()=>new r);t({provide:r,useFactory:l,deps:Q},r),t({provide:Op,useValue:r,multi:!0},r),t({provide:ls,useValue:()=>P(r),multi:!0},r)}const c=o.providers;if(null!=c&&!a){const l=e;Jc(c,u=>{t(u,l)})}}}return r!==e&&void 0!==e.providers}function Jc(e,t){for(let n of e)Ha(n)&&(n=n.\u0275providers),Array.isArray(n)?Jc(n,t):t(n)}const EM=ee({provide:String,useValue:ee});function el(e){return null!==e&&"object"==typeof e&&EM in e}function Ln(e){return"function"==typeof e}const tl=new M("Set Injector scope."),ds={},IM={};let nl;function fs(){return void 0===nl&&(nl=new Xc),nl}class on{}class Mi extends on{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,rl(t,s=>this.processProvider(s)),this.records.set(Np,Ii(void 0,this)),r.has("environment")&&this.records.set(on,Ii(void 0,this));const o=this.records.get(tl);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Op.multi,Q,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=pn(this),i=Ye(void 0);try{return t()}finally{pn(n),Ye(i)}}get(t,n=rr,i=U.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(bf))return t[bf](this);i=Ao(i);const o=pn(this),s=Ye(void 0);try{if(!(i&U.SkipSelf)){let c=this.records.get(t);if(void 0===c){const l=function NM(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&Mo(t);c=l&&this.injectableDefInScope(l)?Ii(il(t),ds):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(i&U.Self?fs():this.parent).get(t,n=i&U.Optional&&n===rr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[xo]=a[xo]||[]).unshift(we(t)),o)throw a;return function TC(e,t,n,i){const r=e[xo];throw t[_f]&&r.unshift(t[_f]),e.message=function xC(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=we(t);if(Array.isArray(t))r=t.map(we).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):we(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(CC,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[xo]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ye(s),pn(o)}}resolveInjectorInitializers(){const t=pn(this),n=Ye(void 0);try{const r=this.get(ls.multi,Q,U.Self);for(const o of r)o()}finally{pn(t),Ye(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(we(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let n=Ln(t=R(t))?t:R(t&&t.provide);const i=function xM(e){return el(e)?Ii(void 0,e.useValue):Ii(Vp(e),ds)}(t);if(Ln(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=Ii(void 0,ds,!0),r.factory=()=>Ya(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===ds&&(n.value=IM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function SM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=R(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function il(e){const t=Mo(e),n=null!==t?t.factory:Fn(e);if(null!==n)return n;if(e instanceof M)throw new D(204,!1);if(e instanceof Function)return function TM(e){const t=e.length;if(t>0)throw function wr(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(t,"?"),new D(204,!1);const n=function yC(e){return e&&(e[To]||e[hf])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new D(204,!1)}function Vp(e,t,n){let i;if(Ln(e)){const r=R(e);return Fn(r)||il(r)}if(el(e))i=()=>R(e.useValue);else if(function Lp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ya(e.deps||[]));else if(function kp(e){return!(!e||!e.useExisting)}(e))i=()=>P(R(e.useExisting));else{const r=R(e&&(e.useClass||e.provide));if(!function AM(e){return!!e.deps}(e))return Fn(r)||il(r);i=()=>new r(...Ya(e.deps))}return i}function Ii(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function rl(e,t){for(const n of e)Array.isArray(n)?rl(n,t):n&&Ha(n)?rl(n.\u0275providers,t):t(n)}const hs=new M("AppId",{providedIn:"root",factory:()=>OM}),OM="ng",Bp=new M("Platform Initializer"),Vn=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ol=new M("CSP nonce",{providedIn:"root",factory:()=>wi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let jp=(e,t,n)=>null;function hl(e,t,n=!1){return jp(e,t,n)}class $M{}class Up{}class GM{resolveComponentFactory(t){throw function UM(e){const t=Error(`No component factory found for ${we(e)}.`);return t.ngComponent=e,t}(t)}}let Ai=(()=>{class e{static#e=this.NULL=new GM}return e})();function zM(){return Si(Ne(),_())}function Si(e,t){return new yt(Je(e,t))}let yt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=zM}return e})();function WM(e){return e instanceof yt?e.nativeElement:e}class zp{}let Cn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function qM(){const e=_(),n=at(Ne().index,e);return(Xe(n)?n:e)[L]}()}return e})(),ZM=(()=>{class e{static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:()=>null})}return e})();class Bn{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const QM=new Bn("16.2.12"),ml={};function Qp(e,t=null,n=null,i){const r=Yp(e,t,n,i);return r.resolveInjectorInitializers(),r}function Yp(e,t=null,n=null,i,r=new Set){const o=[n||Q,wM(e)];return i=i||("object"==typeof e?void 0:we(e)),new Mi(o,t||fs(),i||null,r)}let lt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=rr;static#t=this.NULL=new Xc;static create(n,i){if(Array.isArray(n))return Qp({name:""},i,n,"");{const r=n.name??"";return Qp({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=W({token:e,providedIn:"any",factory:()=>P(Np)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function yl(e){return e.ngOriginalError}class sn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yl(t);for(;n&&yl(n);)n=yl(n);return n||null}}function bl(e){return t=>{setTimeout(e,void 0,t)}}const ne=class nI extends Xn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,o=n||(()=>null),s=i;if(t&&"object"==typeof t){const c=t;r=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=bl(o),r&&(r=bl(r)),s&&(s=bl(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof Ct&&t.add(a),a}};function Xp(...e){}class he{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ne(!1),this.onMicrotaskEmpty=new ne(!1),this.onStable=new ne(!1),this.onError=new ne(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function iI(){const e="function"==typeof se.requestAnimationFrame;let t=se[e?"requestAnimationFrame":"setTimeout"],n=se[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function sI(e){const t=()=>{!function oI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(se,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Cl(e),e.isCheckStableRunning=!0,Dl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Cl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{if(function cI(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(r,o,s,a);try{return Jp(e),n.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),eg(e)}},onInvoke:(n,i,r,o,s,a,c)=>{try{return Jp(e),n.invoke(r,o,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),eg(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Cl(e),Dl(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!he.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(he.isInAngularZone())throw new D(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,rI,Xp,Xp);try{return o.runTask(s,n,i)}finally{o.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const rI={};function Dl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Cl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Jp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eg(e){e._nesting--,Dl(e)}class aI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ne,this.onMicrotaskEmpty=new ne,this.onStable=new ne,this.onError=new ne}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const tg=new M("",{providedIn:"root",factory:ng});function ng(){const e=J(he);let t=!0;return cf(new Te(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),new Te(r=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{he.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const s=e.onUnstable.subscribe(()=>{he.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(lf()))}let wl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();function Rr(e){for(;e;){e[j]|=64;const t=Ir(e);if(nc(e)&&!t)return e;e=t}return null}const ag=new M("",{providedIn:"root",factory:()=>!1});let bs=null;function dg(e,t){return e[t]??pg()}function fg(e,t){const n=pg();n.producerNode?.length&&(e[t]=bs,n.lView=e,bs=hg())}const yI={...Lf,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Rr(e.lView)},lView:null};function hg(){return Object.create(yI)}function pg(){return bs??=hg(),bs}const B={};function w(e){gg(z(),_(),Ge()+e,!1)}function gg(e,t,n,i){if(!i)if(3==(3&t[j])){const o=e.preOrderCheckHooks;null!==o&&jo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ho(t,o,0,n)}Rn(n)}function v(e,t=U.Default){const n=_();return null===n?P(e,t):Ah(Ne(),n,R(e),t)}function Ds(e,t,n,i,r,o,s,a,c,l,u){const d=t.blueprint.slice();return d[_e]=r,d[j]=140|i,(null!==l||e&&2048&e[j])&&(d[j]|=2048),rh(d),d[fe]=d[ri]=e,d[ve]=n,d[ii]=s||e&&e[ii],d[L]=a||e&&e[L],d[gn]=c||e&&e[gn]||null,d[Pe]=o,d[fr]=function ME(){return EE++}(),d[Xt]=u,d[Ff]=l,d[be]=2==t.type?e[be]:d,d}function Fi(e,t,n,i,r){let o=e.data[t];if(null===o)o=function El(e,t,n,i,r){const o=uh(),s=uc(),c=e.data[t]=function TI(e,t,n,i,r,o){let s=t?t.injectorIndex:-1,a=0;return function li(){return null!==O.skipHydrationRootTNode}()&&(a|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,t,n,i,r),function Ew(){return O.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const s=function _r(){const e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Bt(o,!0),o}function Pr(e,t,n,i){if(0===n)return-1;const r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function mg(e,t,n,i,r){const o=dg(t,hr),s=Ge(),a=2&i;try{Rn(-1),a&&t.length>H&&gg(e,t,H,!1),Vt(a?2:0,r);const l=a?o:null,u=rc(l);try{null!==l&&(l.dirty=!1),n(i,r)}finally{oc(l,u)}}finally{a&&null===t[hr]&&fg(t,hr),Rn(s),Vt(a?3:1,r)}}function Ml(e,t,n){if(tc(t)){const i=mt(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{mt(i)}}}function Il(e,t,n){lh()&&(function RI(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;On(n)&&function HI(e,t,n){const i=Je(t,e),r=_g(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=Cs(e,Ds(e,r,null,s,i,t,null,e[ii].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=a}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Uo(n,t),Le(i,t);const s=n.initialInputs;for(let a=r;a<o;a++){const c=e.data[a],l=Pn(t,e,a,n);Le(l,t),null!==s&&$I(0,a-r,l,c,0,s),xt(c)&&(at(n.index,t)[ve]=Pn(t,e,a,n))}}(e,t,n,Je(n,t)),64==(64&n.flags)&&Cg(e,t,n))}function Tl(e,t,n=Je){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?n(t,e):e[s];e[r++]=a}}}function _g(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=xl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function xl(e,t,n,i,r,o,s,a,c,l,u){const d=H+i,f=d+r,h=function DI(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:B);return n}(d,f),p="function"==typeof l?l():l;return h[C]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes: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:c,consts:p,incompleteFirstPass:!1,ssrId:u}}let yg=e=>null;function vg(e,t,n,i){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const o=e[r];null===i?bg(n,t,r,o):i.hasOwnProperty(r)&&bg(n,t,i[r],o)}return n}function bg(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function ut(e,t,n,i,r,o,s,a){const c=Je(t,n);let u,l=t.inputs;!a&&null!=l&&(u=l[i])?(Fl(e,n,u,i,r),On(t)&&function SI(e,t){const n=at(t,e);16&n[j]||(n[j]|=64)}(n,t.index)):3&t.type&&(i=function AI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,t.value||"",i):r,o.setProperty(c,i,r))}function Al(e,t,n,i){if(lh()){const r=null===i?null:{"":-1},o=function kI(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];if(Tf(t,s.selectors,!1))if(i||(i=[]),xt(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),Sl(e,t,a.length)}else i.unshift(s),Sl(e,t,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(e,n);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&Dg(e,t,n,s,r,a),r&&function LI(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const o=n[t[r+1]];if(null==o)throw new D(-301,!1);i.push(t[r],o)}}}(n,i,r)}n.mergedAttrs=ar(n.mergedAttrs,n.attrs)}function Dg(e,t,n,i,r,o){for(let l=0;l<i.length;l++)Cc(Uo(n,t),e,i[l].type);!function BI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let l=0;l<i.length;l++){const u=i[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=Pr(e,t,i.length,null);for(let l=0;l<i.length;l++){const u=i[l];n.mergedAttrs=ar(n.mergedAttrs,u.hostAttrs),jI(e,n,t,c,u),VI(c,u,r),null!==u.contentQueries&&(n.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(n.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}!function xI(e,t,n){const r=t.directiveEnd,o=e.data,s=t.attrs,a=[];let c=null,l=null;for(let u=t.directiveStart;u<r;u++){const d=o[u],f=n?n.get(d):null,p=f?f.outputs:null;c=vg(d.inputs,u,c,f?f.inputs:null),l=vg(d.outputs,u,l,p);const g=null===c||null===s||If(t)?null:UI(c,u,s);a.push(g)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}(e,n,o)}function Cg(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,s=function Iw(){return O.lFrame.currentDirectiveIndex}();try{Rn(o);for(let a=i;a<r;a++){const c=e.data[a],l=t[a];fc(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&PI(c,l)}}finally{Rn(-1),fc(s)}}function PI(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Sl(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function VI(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;xt(t)&&(n[""]=e)}}function jI(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=Fn(r.type)),s=new yr(o,xt(r),v);e.blueprint[i]=s,n[i]=s,function OI(e,t,n,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function FI(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,i,o)}}(e,t,i,Pr(e,n,r.hostVars,B),r)}function Ht(e,t,n,i,r,o){const s=Je(e,t);!function Nl(e,t,n,i,r,o,s){if(null==o)e.removeAttribute(t,r,n);else{const a=null==s?k(o):s(o,i||"",r);e.setAttribute(t,r,a,n)}}(t[L],s,o,e.value,n,i,r)}function $I(e,t,n,i,r,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;)wg(i,n,s[a++],s[a++],s[a++])}function wg(e,t,n,i,r){const o=mt(null);try{const s=e.inputTransforms;null!==s&&s.hasOwnProperty(i)&&(r=s[i].call(t,r)),null!==e.setInput?e.setInput(t,r,n,i):t[i]=r}finally{mt(o)}}function UI(e,t,n){let i=null,r=0;for(;r<n.length;){const o=n[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const s=e[o];for(let a=0;a<s.length;a+=2)if(s[a]===t){i.push(o,s[a+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function Eg(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null,null]}function Mg(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i+1];if(-1!==o){const s=e.data[o];pc(n[i]),s.contentQueries(2,t[o],o)}}}function Cs(e,t){return e[ur]?e[Of][Tt]=t:e[ur]=t,e[Of]=t,t}function Ol(e,t,n){pc(0);const i=mt(null);try{t(e,n)}finally{mt(i)}}function Ig(e){return e[ni]||(e[ni]=[])}function Tg(e){return e.cleanup||(e.cleanup=[])}function Ag(e,t){const n=e[gn],i=n?n.get(sn,null):null;i&&i.handleError(t)}function Fl(e,t,n,i,r){for(let o=0;o<n.length;){const s=n[o++],a=n[o++];wg(e.data[s],t[s],i,a,r)}}function GI(e,t){const n=at(t,e),i=n[C];!function zI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[_e];null!==r&&null===n[Xt]&&(n[Xt]=hl(r,n[gn])),Rl(i,n,n[ve])}function Rl(e,t,n){gc(t);try{const i=e.viewQuery;null!==i&&Ol(1,i,n);const r=e.template;null!==r&&mg(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Mg(e,t),e.staticViewQueries&&Ol(2,e.viewQuery,n);const o=e.components;null!==o&&function WI(e,t){for(let n=0;n<t.length;n++)GI(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[j]&=-5,mc()}}let Sg=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,i,r){const o=typeof Zone>"u"?null:Zone.current,s=function iw(e,t,n){const i=Object.create(rw);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const r=s=>{i.cleanupFn=s};return i.ref={notify:()=>Hf(i),run:()=>{if(i.dirty=!1,i.hasRun&&!$f(i))return;i.hasRun=!0;const s=rc(i);try{i.cleanupFn(),i.cleanupFn=Yf,i.fn(r)}finally{oc(i,s)}},cleanup:()=>i.cleanupFn()},i.ref}(n,l=>{this.all.has(l)&&this.queue.set(l,o)},r);let a;this.all.add(s),s.notify();const c=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=i?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();function ws(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?r=Ba(r,a):2==o&&(i=Ba(i,a+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function kr(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];null!==o&&i.push(ae(o)),$e(o)&&Ng(o,i);const s=n.type;if(8&s)kr(e,t,n.child,i);else if(32&s){const a=Lc(n,t);let c;for(;c=a();)i.push(c)}else if(16&s){const a=pp(t,n);if(Array.isArray(a))i.push(...a);else{const c=Ir(t[be]);kr(c[C],c,a,i,!0)}}n=r?n.projectionNext:n.next}return i}function Ng(e,t){for(let n=Ae;n<e.length;n++){const i=e[n],r=i[C].firstChild;null!==r&&kr(i[C],i,r,t)}e[Lt]!==e[_e]&&t.push(e[Lt])}function Es(e,t,n,i=!0){const r=t[ii],o=r.rendererFactory,s=r.afterRenderEventManager;o.begin?.(),s?.begin();try{Og(e,t,e.template,n)}catch(c){throw i&&Ag(t,c),c}finally{o.end?.(),r.effectManager?.flush(),s?.end()}}function Og(e,t,n,i){const r=t[j];if(256!=(256&r)){t[ii].effectManager?.flush(),gc(t);try{rh(t),function fh(e){return O.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&mg(e,t,n,2,i);const s=3==(3&r);if(s){const l=e.preOrderCheckHooks;null!==l&&jo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Ho(t,l,0,null),_c(t,0)}if(function QI(e){for(let t=np(e);null!==t;t=ip(t)){if(!t[Rf])continue;const n=t[si];for(let i=0;i<n.length;i++){hw(n[i])}}}(t),Fg(t,2),null!==e.contentQueries&&Mg(e,t),s){const l=e.contentCheckHooks;null!==l&&jo(t,l)}else{const l=e.contentHooks;null!==l&&Ho(t,l,1),_c(t,1)}!function bI(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const i=dg(t,pr);try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Rn(~o);else{const s=o,a=n[++r],c=n[++r];Mw(a,s),i.dirty=!1;const l=rc(i);try{c(2,t[s])}finally{oc(i,l)}}}}finally{null===t[pr]&&fg(t,pr),Rn(-1)}}(e,t);const a=e.components;null!==a&&Pg(t,a,0);const c=e.viewQuery;if(null!==c&&Ol(2,c,i),s){const l=e.viewCheckHooks;null!==l&&jo(t,l)}else{const l=e.viewHooks;null!==l&&Ho(t,l,2),_c(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[j]&=-73,oh(t)}finally{mc()}}}function Fg(e,t){for(let n=np(e);null!==n;n=ip(n))for(let i=Ae;i<n.length;i++)Rg(n[i],t)}function YI(e,t,n){Rg(at(t,e),n)}function Rg(e,t){if(!function dw(e){return 128==(128&e[j])}(e))return;const n=e[C],i=e[j];if(80&i&&0===t||1024&i||2===t)Og(n,e,n.template,e[ve]);else if(e[lr]>0){Fg(e,1);const r=n.components;null!==r&&Pg(e,r,1)}}function Pg(e,t,n){for(let i=0;i<t.length;i++)YI(e,t[i],n)}class Lr{get rootNodes(){const t=this._lView,n=t[C];return kr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ve]}set context(t){this._lView[ve]=t}get destroyed(){return 256==(256&this._lView[j])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[fe];if($e(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(ns(t,i),Wo(n,i))}this._attachedToViewContainer=!1}Bc(this._lView[C],this._lView)}onDestroy(t){!function ah(e,t){if(256==(256&e[j]))throw new D(911,!1);null===e[mn]&&(e[mn]=[]),e[mn].push(t)}(this._lView,t)}markForCheck(){Rr(this._cdRefInjectingView||this._lView)}detach(){this._lView[j]&=-129}reattach(){this._lView[j]|=128}detectChanges(){Es(this._lView[C],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function BE(e,t){xr(e,t,t[L],2,null,null)}(this._lView[C],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}class KI extends Lr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Es(t[C],t,t[ve],!1)}checkNoChanges(){}get context(){return null}}class kg extends Ai{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=G(t);return new Vr(n,this.ngModule)}}function Lg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class JI{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=Ao(i);const r=this.injector.get(t,ml,i);return r!==ml||n===ml?r:this.parentInjector.get(t,n,i)}}class Vr extends Up{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=Lg(t.inputs);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return Lg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function VC(e){return e.map(LC).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof on?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new JI(t,o):t,a=s.get(zp,null);if(null===a)throw new D(407,!1);const d={rendererFactory:a,sanitizer:s.get(ZM,null),effectManager:s.get(Sg,null),afterRenderEventManager:s.get(wl,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=i?function CI(e,t,n,i){const o=i.get(ag,!1)||n===Et.ShadowDom,s=e.selectRootElement(t,o);return function wI(e){yg(e)}(s),s}(f,i,this.componentDef.encapsulation,s):ts(f,h,function XI(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),b=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=hl(p,s,!0));const I=xl(0,null,null,1,0,null,null,null,null,null,null),F=Ds(null,I,null,b,null,null,d,f,s,null,m);let $,it;gc(F);try{const fn=this.componentDef;let er,Od=null;fn.findHostDirectiveDefs?(er=[],Od=new Map,fn.findHostDirectiveDefs(fn,er,Od),er.push(fn)):er=[fn];const WP=function t0(e,t){const n=e[C],i=H;return e[i]=t,Fi(n,i,2,"#host",null)}(F,p),qP=function n0(e,t,n,i,r,o,s){const a=r[C];!function r0(e,t,n,i){for(const r of e)t.mergedAttrs=ar(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(ws(t,t.mergedAttrs,!0),null!==n&&yp(i,n,t))}(i,e,t,s);let c=null;null!==t&&(c=hl(t,r[gn]));const l=o.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=Ds(r,_g(n),null,u,r[e.index],e,o,l,null,null,c);return a.firstCreatePass&&Sl(a,e,i.length-1),Cs(r,d),r[e.index]=d}(WP,p,fn,er,F,d,f);it=ih(I,H),p&&function s0(e,t,n,i){if(i)Ja(e,n,["ng-version",QM.full]);else{const{attrs:r,classes:o}=function BC(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!Mt(r))break;r=o}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&Ja(e,n,r),o&&o.length>0&&_p(e,n,o.join(" "))}}(f,fn,p,i),void 0!==n&&function a0(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const o=n[r];i.push(null!=o?Array.from(o):null)}}(it,this.ngContentSelectors,n),$=function o0(e,t,n,i,r,o){const s=Ne(),a=r[C],c=Je(s,r);Dg(a,r,s,n,null,i);for(let u=0;u<n.length;u++)Le(Pn(r,a,s.directiveStart+u,s),r);Cg(a,r,s),c&&Le(c,r);const l=Pn(r,a,s.directiveStart+s.componentOffset,s);if(e[ve]=r[ve]=l,null!==o)for(const u of o)u(l,t);return Ml(a,s,e),l}(qP,fn,er,Od,F,[c0]),Rl(I,F,null)}finally{mc()}return new e0(this.componentType,$,Si(it,F),F,it)}}class e0 extends $M{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new KI(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Fl(o[C],o,r,t,n),this.previousInputValues.set(t,n),Rr(at(this._tNode.index,o))}}get injector(){return new ze(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function c0(){const e=Ne();Bo(_()[C],e)}function te(e){let t=function Vg(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(xt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const s=e;s.inputs=Ms(e.inputs),s.inputTransforms=Ms(e.inputTransforms),s.declaredInputs=Ms(e.declaredInputs),s.outputs=Ms(e.outputs);const a=r.hostBindings;a&&f0(e,a);const c=r.viewQuery,l=r.contentQueries;if(c&&u0(e,c),l&&d0(e,l),wo(e.inputs,r.inputs),wo(e.declaredInputs,r.declaredInputs),wo(e.outputs,r.outputs),null!==r.inputTransforms&&(null===s.inputTransforms&&(s.inputTransforms={}),wo(s.inputTransforms,r.inputTransforms)),xt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===te&&(n=!1)}}t=Object.getPrototypeOf(t)}!function l0(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=ar(r.hostAttrs,n=ar(n,r.hostAttrs))}}(i)}function Ms(e){return e===Pt?{}:e===Q?[]:e}function u0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function d0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function f0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function Is(e){return!!Pl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Pl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $t(e,t,n){return e[t]=n}function Ve(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Oe(e,t,n,i){const r=_();return Ve(r,ui(),t)&&(z(),Ht(me(),r,e,t,n,i)),Oe}function Pi(e,t,n,i){return Ve(e,ui(),n)?t+k(n)+i:B}function q(e,t,n,i,r,o,s,a){const c=_(),l=z(),u=e+H,d=l.firstCreatePass?function V0(e,t,n,i,r,o,s,a,c){const l=t.consts,u=Fi(t,e,4,s||null,yn(l,a));Al(t,n,u,yn(l,c)),Bo(t,u);const d=u.tView=xl(2,u,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,l,c,t,n,i,r,o,s):l.data[u];Bt(d,!1);const f=em(l,c,d,e);Vo()&&rs(l,c,f,d),Le(f,c),Cs(c,c[u]=Eg(f,c,f,d)),Ro(d)&&Il(l,c,d),null!=s&&Tl(c,d,a)}let em=function tm(e,t,n,i){return vn(!0),t[L].createComment("")};function Ns(e){return ci(function ww(){return O.lFrame.contextLView}(),H+e)}function E(e,t,n){const i=_();return Ve(i,ui(),t)&&ut(z(),me(),i,e,t,i[L],n,!1),E}function Hl(e,t,n,i,r){const s=r?"class":"style";Fl(e,n,t.inputs[s],s,i)}function S(e,t,n,i){const r=_(),o=z(),s=H+e,a=r[L],c=o.firstCreatePass?function $0(e,t,n,i,r,o){const s=t.consts,c=Fi(t,e,2,i,yn(s,r));return Al(t,n,c,yn(s,o)),null!==c.attrs&&ws(c,c.attrs,!1),null!==c.mergedAttrs&&ws(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,o,r,t,n,i):o.data[s],l=nm(o,r,c,a,t,e);r[s]=l;const u=Ro(c);return Bt(c,!0),yp(a,l,c),32!=(32&c.flags)&&Vo()&&rs(o,r,l,c),0===function gw(){return O.lFrame.elementDepthCount}()&&Le(l,r),function mw(){O.lFrame.elementDepthCount++}(),u&&(Il(o,r,c),Ml(o,c,r)),null!==i&&Tl(r,c),S}function T(){let e=Ne();uc()?dc():(e=e.parent,Bt(e,!1));const t=e;(function yw(e){return O.skipHydrationRootTNode===e})(t)&&function Cw(){O.skipHydrationRootTNode=null}(),function _w(){O.lFrame.elementDepthCount--}();const n=z();return n.firstCreatePass&&(Bo(n,e),tc(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Lw(e){return 0!=(8&e.flags)}(t)&&Hl(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Vw(e){return 0!=(16&e.flags)}(t)&&Hl(n,t,_(),t.stylesWithoutHost,!1),T}function Me(e,t,n,i){return S(e,t,n,i),T(),Me}let nm=(e,t,n,i,r,o)=>(vn(!0),ts(i,r,function bh(){return O.lFrame.currentNamespace}()));function At(e,t,n){const i=_(),r=z(),o=e+H,s=r.firstCreatePass?function z0(e,t,n,i,r){const o=t.consts,s=yn(o,i),a=Fi(t,e,8,"ng-container",s);return null!==s&&ws(a,s,!0),Al(t,n,a,yn(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,r,i,t,n):r.data[o];Bt(s,!0);const a=rm(r,i,s,e);return i[o]=a,Vo()&&rs(r,i,a,s),Le(a,i),Ro(s)&&(Il(r,i,s),Ml(r,s,i)),null!=n&&Tl(i,s),At}function St(){let e=Ne();const t=z();return uc()?dc():(e=e.parent,Bt(e,!1)),t.firstCreatePass&&(Bo(t,e),tc(e)&&t.queries.elementEnd(e)),St}let rm=(e,t,n,i)=>(vn(!0),Vc(t[L],""));function dt(){return _()}function Os(e){return!!e&&"function"==typeof e.then}function om(e){return!!e&&"function"==typeof e.subscribe}function ie(e,t,n,i){const r=_(),o=z(),s=Ne();return function am(e,t,n,i,r,o,s){const a=Ro(i),l=e.firstCreatePass&&Tg(e),u=t[ve],d=Ig(t);let f=!0;if(3&i.type||s){const g=Je(i,t),y=s?s(g):g,b=d.length,m=s?F=>s(ae(F[i.index])):i.index;let I=null;if(!s&&a&&(I=function Z0(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===n&&r[o+1]===i){const a=t[ni],c=r[o+2];return a.length>c?a[c]:null}"string"==typeof s&&(o+=2)}return null}(e,t,r,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,f=!1;else{o=lm(i,t,u,o,!1);const F=n.listen(y,r,o);d.push(o,F),l&&l.push(r,m,b,b+1)}}else o=lm(i,t,u,o,!1);const h=i.outputs;let p;if(f&&null!==h&&(p=h[r])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const $=t[p[y]][p[y+1]].subscribe(o),it=d.length;d.push(o,$),l&&l.push(r,i.index,it,-(it+1))}}}(o,r,r[L],s,e,t,i),ie}function cm(e,t,n,i){try{return Vt(6,t,n),!1!==n(i)}catch(r){return Ag(e,r),!1}finally{Vt(7,t,n)}}function lm(e,t,n,i,r){return function o(s){if(s===Function)return i;Rr(e.componentOffset>-1?at(e.index,t):t);let c=cm(t,n,i,s),l=o.__ngNextListenerFn__;for(;l;)c=cm(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return r&&!1===c&&s.preventDefault(),c}}function x(e=1){return function xw(e){return(O.lFrame.contextLView=function Aw(e,t){for(;e>0;)t=t[ri],e--;return t}(e,O.lFrame.contextLView))[ve]}(e)}function $l(e,t,n){return Ul(e,"",t,"",n),$l}function Ul(e,t,n,i,r){const o=_(),s=Pi(o,t,n,i);return s!==B&&ut(z(),me(),o,e,s,o[L],r,!1),Ul}function Fs(e,t){return e<<17|t<<2}function wn(e){return e>>17&32767}function Gl(e){return 2|e}function Hn(e){return(131068&e)>>2}function zl(e,t){return-131069&e|t<<2}function Wl(e){return 1|e}function ym(e,t,n,i,r){const o=e[n+1],s=null===t;let a=i?wn(o):Hn(o),c=!1;for(;0!==a&&(!1===c||s);){const u=e[a+1];iT(e[a],t)&&(c=!0,e[a+1]=i?Wl(u):Gl(u)),a=i?wn(u):Hn(u)}c&&(e[n+1]=i?Gl(o):Wl(o))}function iT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&yi(e,t)>=0}const Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vm(e){return e.substring(Ie.key,Ie.keyEnd)}function bm(e,t){const n=Ie.textEnd;return n===t?-1:(t=Ie.keyEnd=function aT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ie.key=t,n),Ui(e,t,n))}function Ui(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ur(e,t,n){return Nt(e,t,n,!1),Ur}function Rs(e,t){return Nt(e,t,null,!0),Rs}function Mm(e){!function Ot(e,t,n,i){const r=z(),o=tn(2);r.firstUpdatePass&&Tm(r,null,o,i);const s=_();if(n!==B&&Ve(s,o,n)){const a=r.data[Ge()];if(Nm(a,i)&&!Im(r,o)){let c=i?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(n=Ba(c,n||"")),Hl(r,a,s,n,i)}else!function _T(e,t,n,i,r,o,s,a){r===B&&(r=Q);let c=0,l=0,u=0<r.length?r[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const f=c<r.length?r[c+1]:void 0,h=l<o.length?o[l+1]:void 0;let g,p=null;u===d?(c+=2,l+=2,f!==h&&(p=d,g=h)):null===d||null!==u&&u<d?(c+=2,p=u):(l+=2,p=d,g=h),null!==p&&Am(e,t,n,i,p,g,s,a),u=c<r.length?r[c]:null,d=l<o.length?o[l]:null}}(r,a,s,s[L],s[o+1],s[o+1]=function gT(e,t,n){if(null==n||""===n)return Q;const i=[],r=Dn(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}(mT,Gt,e,!0)}function Gt(e,t){for(let n=function oT(e){return function Cm(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}(e),bm(e,Ui(e,0,Ie.textEnd))}(t);n>=0;n=bm(t,n))ct(e,vm(t),!0)}function Nt(e,t,n,i){const r=_(),o=z(),s=tn(2);o.firstUpdatePass&&Tm(o,e,s,i),t!==B&&Ve(r,s,t)&&Am(o,o.data[Ge()],r,r[L],e,r[s+1]=function yT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=we(Dn(e)))),e}(t,n),i,s)}function Im(e,t){return t>=e.expandoStartIndex}function Tm(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Ge()],s=Im(e,n);Nm(o,i)&&null===t&&!s&&(t=!1),t=function dT(e,t,n,i){const r=function hc(e){const t=O.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Gr(n=ql(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=ql(r,e,t,n,i),null===o){let c=function fT(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Hn(i))return e[wn(i)]}(e,t,i);void 0!==c&&Array.isArray(c)&&(c=ql(null,e,t,c[1],i),c=Gr(c,t.attrs,i),function hT(e,t,n,i){e[wn(n?t.classBindings:t.styleBindings)]=i}(e,t,i,c))}else o=function pT(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=Gr(i,e[o].hostAttrs,n);return Gr(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function tT(e,t,n,i,r,o){let s=o?t.classBindings:t.styleBindings,a=wn(s),c=Hn(s);e[i]=n;let u,l=!1;if(Array.isArray(n)?(u=n[1],(null===u||yi(n,u)>0)&&(l=!0)):u=n,r)if(0!==c){const f=wn(e[a+1]);e[i+1]=Fs(f,a),0!==f&&(e[f+1]=zl(e[f+1],i)),e[a+1]=function J0(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=Fs(a,0),0!==a&&(e[a+1]=zl(e[a+1],i)),a=i;else e[i+1]=Fs(c,0),0===a?a=i:e[c+1]=zl(e[c+1],i),c=i;l&&(e[i+1]=Gl(e[i+1])),ym(e,u,i,!0),ym(e,u,i,!1),function nT(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&yi(o,t)>=0&&(n[i+1]=Wl(n[i+1]))}(t,u,e,i,o),s=Fs(a,c),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function ql(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],i=Gr(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function Gr(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ct(e,s,!!n||t[++o]))}return void 0===e?null:e}function mT(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&ct(e,i,n)}function Am(e,t,n,i,r,o,s,a){if(!(3&t.type))return;const c=e.data,l=c[a+1],u=function eT(e){return 1==(1&e)}(l)?Sm(c,t,n,r,Hn(l),s):void 0;Ps(u)||(Ps(o)||function X0(e){return 2==(2&e)}(l)&&(o=Sm(c,null,n,r,a,s)),function QE(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=-1===i.indexOf("-")?void 0:bn.DashCase;null==r?e.removeStyle(n,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=bn.Important),e.setStyle(n,i,r,o))}}(i,s,Lo(Ge(),n),r,o))}function Sm(e,t,n,i,r,o){const s=null===t;let a;for(;r>0;){const c=e[r],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let f=n[r+1];f===B&&(f=d?Q:void 0);let h=d?Ic(f,i):u===i?f:void 0;if(l&&!Ps(h)&&(h=Ic(c,i)),Ps(h)&&(a=h,s))return a;const p=e[r+1];r=s?wn(p):Hn(p)}if(null!==t){let c=o?t.residualClasses:t.residualStyles;null!=c&&(a=Ic(c,i))}return a}function Ps(e){return void 0!==e}function Nm(e,t){return 0!=(e.flags&(t?8:16))}function Fe(e,t=""){const n=_(),i=z(),r=e+H,o=i.firstCreatePass?Fi(i,r,1,t,null):i.data[r],s=Om(i,n,o,t,e);n[r]=s,Vo()&&rs(i,n,s,o),Bt(o,!1)}let Om=(e,t,n,i,r)=>(vn(!0),function es(e,t){return e.createText(t)}(t[L],i));function ft(e){return zr("",e,""),ft}function zr(e,t,n){const i=_(),r=Pi(i,e,t,n);return r!==B&&function cn(e,t,n){const i=Lo(t,e);!function op(e,t,n){e.setValue(t,n)}(e[L],i,n)}(i,Ge(),r),zr}const zi="en-US";let e_=zi;function Yl(e,t,n,i,r){if(e=R(e),Array.isArray(e))for(let o=0;o<e.length;o++)Yl(e[o],t,n,i,r);else{const o=z(),s=_(),a=Ne();let c=Ln(e)?e:R(e.provide);const l=Vp(e),u=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(Ln(e)||!e.multi){const h=new yr(l,r,v),p=Xl(c,t,r?u:u+f,d);-1===p?(Cc(Uo(a,s),o,c),Kl(o,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Xl(c,t,u+f,d),p=Xl(c,t,u,u+f),y=p>=0&&n[p];if(r&&!y||!r&&!(h>=0&&n[h])){Cc(Uo(a,s),o,c);const b=function Bx(e,t,n,i,r){const o=new yr(e,n,v);return o.multi=[],o.index=t,o.componentProviders=0,M_(o,r,i&&!n),o}(r?Vx:Lx,n.length,r,i,l);!r&&y&&(n[p].providerFactory=b),Kl(o,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else Kl(o,e,h>-1?h:p,M_(n[r?p:h],l,!r&&i));!r&&i&&y&&n[p].componentProviders++}}}function Kl(e,t,n,i){const r=Ln(t),o=function MM(e){return!!e.useClass}(t);if(r||o){const c=(o?R(t.useClass):t).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const u=l.indexOf(n);-1===u?l.push(n,[i,c]):l[u+1].push(i,c)}else l.push(n,c)}}}function M_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xl(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function Lx(e,t,n,i){return Jl(this.multi,[])}function Vx(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Pn(n,n[C],this.providerFactory.index,i);o=a.slice(0,s),Jl(r,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],Jl(r,o);return o}function Jl(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function pe(e,t=[]){return n=>{n.providersResolver=(i,r)=>function kx(e,t,n){const i=z();if(i.firstCreatePass){const r=xt(e);Yl(n,i.data,i.blueprint,r,!0),Yl(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Un{}class jx{}class eu extends Un{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new kg(this);const r=function st(e,t){const n=e[vf]||null;if(!n&&!0===t)throw new Error(`Type ${we(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function an(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Yp(t,n,[{provide:Un,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver},...i],we(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class tu extends jx{constructor(t){super(),this.moduleType=t}create(t){return new eu(this.moduleType,t,[])}}function F_(e,t,n,i,r){return function P_(e,t,n,i,r,o,s){const a=t+n;return function jn(e,t,n,i){const r=Ve(e,t,n);return Ve(e,t+1,i)||r}(e,a,r,o)?$t(e,a+2,s?i.call(s,r,o):i(r,o)):Kr(e,a+2)}(_(),Ue(),e,t,n,i,r)}function Kr(e,t){const n=e[t];return n===B?void 0:n}function j_(e,t,n){const i=e+H,r=_(),o=ci(r,i);return function Xr(e,t){return e[C].data[t].pure}(r,i)?function R_(e,t,n,i,r,o){const s=t+n;return Ve(e,s,r)?$t(e,s+1,o?i.call(o,r):i(r)):Kr(e,s+1)}(r,Ue(),t,o.transform,n,o):o.transform(n)}function pA(){return this._results[Symbol.iterator]()}class iu{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ne)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=iu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=pA)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}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,n){const i=this;i.dirty=!1;const r=function _t(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Xw(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function mA(e,t,n,i=!0){const r=t[C];if(function HE(e,t,n,i){const r=Ae+i,o=n.length;i>0&&(n[r-1][Tt]=t),i<o-Ae?(t[Tt]=n[r],Ph(n,Ae+i,t)):(n.push(t),t[Tt]=null),t[fe]=n;const s=t[dr];null!==s&&n!==s&&function $E(e,t){const n=e[si];t[be]!==t[fe][fe][be]&&(e[Rf]=!0),null===n?e[si]=[t]:n.push(t)}(s,t);const a=t[kt];null!==a&&a.insertView(e),t[j]|=128}(r,t,e,n),i){const o=Uc(n,e),s=t[L],a=is(s,e[Lt]);null!==a&&function VE(e,t,n,i,r,o){i[_e]=r,i[Pe]=t,xr(e,i,n,1,r,o)}(r,e[Pe],s,t,a,o)}}let ln=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=vA}return e})();const _A=ln,yA=class extends _A{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const r=function gA(e,t,n,i){const r=t.tView,a=Ds(e,r,n,4096&e[j]?4096:16,null,t,null,null,null,i?.injector??null,i?.hydrationInfo??null);a[dr]=e[t.index];const l=e[kt];return null!==l&&(a[kt]=l.createEmbeddedView(r)),Rl(r,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:i});return new Lr(r)}};function vA(){return js(Ne(),_())}function js(e,t){return 4&e.type?new yA(t,e,Si(e,t)):null}let zt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MA}return e})();function MA(){return q_(Ne(),_())}const IA=zt,z_=class extends IA{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Si(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const t=Go(this._hostTNode,this._hostLView);if(vc(t)){const n=br(t,this._hostLView),i=vr(t);return new ze(n[C].data[i+8],n)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=W_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Ae}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(a,r,false),a}createComponent(t,n,i,r,o){const s=t&&!function Cr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const c=s?t:new Vr(G(t)),l=i||this.parentInjector;if(!o&&null==c.ngModule){const y=(s?l:this.parentInjector).get(on,null);y&&(o=y)}G(c.componentType??{});const h=c.create(l,r,null,o);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,i){const r=t._lView;if(function fw(e){return $e(e[fe])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const l=r[fe],u=new z_(l,l[Pe],l[fe]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return mA(a,r,s,!i),t.attachToViewContainerRef(),Ph(ru(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=W_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=ns(this._lContainer,n);i&&(Wo(ru(this._lContainer),n),Bc(i[C],i))}detach(t){const n=this._adjustIndex(t,-1),i=ns(this._lContainer,n);return i&&null!=Wo(ru(this._lContainer),n)?new Lr(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function W_(e){return e[8]}function ru(e){return e[8]||(e[8]=[])}function q_(e,t){let n;const i=t[e.index];return $e(i)?n=i:(n=Eg(i,t,null,e),t[e.index]=n,Cs(t,n)),Z_(n,t,e,i),new z_(n,e,t)}let Z_=function Q_(e,t,n,i){if(e[Lt])return;let r;r=8&n.type?ae(i):function TA(e,t){const n=e[L],i=n.createComment(""),r=Je(t,e);return kn(n,is(n,r),i,function WE(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[Lt]=r};class ou{constructor(t){this.queryList=t,this.matches=null}clone(){return new ou(this.queryList)}setDirty(){this.queryList.setDirty()}}class su{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let o=0;o<i;o++){const s=n.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new su(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==ey(t,n).matches&&this.queries[n].setDirty()}}class Y_{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class au{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new au(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class cu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new cu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,n,SA(n,o)),this.matchTNodeWithReadOption(t,n,zo(n,t,o,!1,!1))}else i===ln?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,zo(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===yt||r===zt||r===ln&&4&n.type)this.addMatch(n.index,-2);else{const o=zo(n,t,r,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function SA(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function OA(e,t,n,i){return-1===n?function NA(e,t){return 11&e.type?Si(e,t):4&e.type?js(e,t):null}(t,e):-2===n?function FA(e,t,n){return n===yt?Si(t,e):n===ln?js(t,e):n===zt?q_(t,e):void 0}(e,t,i):Pn(e,e[C],n,t)}function K_(e,t,n,i){const r=t[kt].queries[i];if(null===r.matches){const o=e.data,s=n.matches,a=[];for(let c=0;c<s.length;c+=2){const l=s[c];a.push(l<0?null:OA(t,o[l],s[c+1],n.metadata.read))}r.matches=a}return r.matches}function lu(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const s=K_(e,t,r,n);for(let a=0;a<o.length;a+=2){const c=o[a];if(c>0)i.push(s[a/2]);else{const l=o[a+1],u=t[-c];for(let d=Ae;d<u.length;d++){const f=u[d];f[dr]===f[fe]&&lu(f[C],f,l,i)}if(null!==u[si]){const d=u[si];for(let f=0;f<d.length;f++){const h=d[f];lu(h[C],h,l,i)}}}}}return i}function uu(e){const t=_(),n=z(),i=ph();pc(i+1);const r=ey(n,i);if(e.dirty&&function uw(e){return 4==(4&e[j])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?lu(n,t,i,[]):K_(n,t,r,i);e.reset(o,WM),e.notifyOnChanges()}return!0}return!1}function du(e,t,n){const i=z();i.firstCreatePass&&(function J_(e,t,n){null===e.queries&&(e.queries=new au),e.queries.track(new cu(t,n))}(i,new Y_(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),function X_(e,t,n){const i=new iu(4==(4&n));(function II(e,t,n,i){const r=Ig(t);r.push(n),e.firstCreatePass&&Tg(e).push(i,r.length-1)})(e,t,i,i.destroy),null===t[kt]&&(t[kt]=new su),t[kt].queries.push(new ou(i))}(i,_(),t)}function fu(){return function PA(e,t){return e[kt].queries[t].queryList}(_(),ph())}function ey(e,t){return e.queries.getByIndex(t)}const rS=new M("Application Initializer");let _u=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=J(rS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const o=r();if(Os(o))n.push(o);else if(om(o)){const s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});n.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Wt=new M("LocaleId",{providedIn:"root",factory:()=>J(Wt,U.Optional|U.SkipSelf)||function sS(){return typeof $localize<"u"&&$localize.locale||zi}()});let lS=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new cC(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Dy=new M(""),Gs=new M("");let Cu,bu=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Cu||(function OS(e){Cu=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{he.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(P(he),P(Du),P(Gs))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Du=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Cu?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),En=null;const Cy=new M("AllowMultipleToken"),wu=new M("PlatformDestroyListeners"),wy=new M("appBootstrapListener");function Iy(e,t,n=[]){const i=`Platform: ${t}`,r=new M(i);return(o=[])=>{let s=Eu();if(!s||s.injector.get(Cy,!1)){const a=[...n,...o,{provide:r,useValue:!0}];e?e(a):function PS(e){if(En&&!En.get(Cy,!1))throw new D(400,!1);(function Ey(){!function XC(e){Wf=e}(()=>{throw new D(600,!1)})})(),En=e;const t=e.get(xy);(function My(e){e.get(Bp,null)?.forEach(n=>n())})(e)}(function Ty(e=[],t){return lt.create({name:t,providers:[{provide:tl,useValue:"platform"},{provide:wu,useValue:new Set([()=>En=null])},...e]})}(a,i))}return function LS(e){const t=Eu();if(!t)throw new D(401,!1);return t}()}}function Eu(){return En?.get(xy)??null}let xy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function VS(e="zone.js",t){return"noop"===e?new aI:"zone.js"===e?new he(t):e}(i?.ngZone,function Ay(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function $x(e,t,n){return new eu(e,t,n)}(n.moduleType,this.injector,function Ry(e){return[{provide:he,useFactory:e},{provide:ls,multi:!0,useFactory:()=>{const t=J(jS,{optional:!0});return()=>t.initialize()}},{provide:Fy,useFactory:BS},{provide:tg,useFactory:ng}]}(()=>r)),s=o.injector.get(sn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:c=>{s.handleError(c)}});o.onDestroy(()=>{zs(this._modules,o),a.unsubscribe()})}),function Sy(e,t,n){try{const i=n();return Os(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(_u);return a.runInitializers(),a.donePromise.then(()=>(function t_(e){gt(e,"Expected localeId to be defined"),"string"==typeof e&&(e_=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Wt,zi)||zi),this._moduleDoBootstrap(o),o))})})}bootstrapModule(n,i=[]){const r=Ny({},i);return function FS(e,t,n){const i=new tu(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Zi);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(wu,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(P(lt))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ny(e,t){return Array.isArray(t)?t.reduce(Ny,e):{...e,...t}}let Zi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=J(Fy),this.zoneIsStable=J(tg),this.componentTypes=[],this.components=[],this.isStable=J(lS).hasPendingTasks.pipe(uf(n=>n?function lC(...e){return ei(e,ir(e))}(!1):this.zoneIsStable),function uC(e,t=nr){return e=e??dC,pt((n,i)=>{let r,o=!0;n.subscribe(rt(i,s=>{const a=t(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}(),lf()),this._injector=J(on)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Up;if(!this._injector.get(_u).done)throw!r&&function cr(e){const t=G(e)||xe(e)||He(e);return null!==t&&t.standalone}(n),new D(405,!1);let s;s=r?n:this._injector.get(Ai).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function RS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Un),l=s.create(lt.NULL,[],i||s.selector,a),u=l.location.nativeElement,d=l.injector.get(Dy,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),zs(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;zs(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(wy,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>zs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Fy=new M("",{providedIn:"root",factory:()=>J(sn).handleError.bind(void 0)});function BS(){const e=J(he),t=J(sn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let jS=(()=>{class e{constructor(){this.zone=J(he),this.applicationRef=J(Zi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let Mu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=$S}return e})();function $S(e){return function US(e,t,n){if(On(e)&&!n){const i=at(e.index,t);return new Lr(i,i)}return 47&e.type?new Lr(t[be],t):null}(Ne(),_(),16==(16&e))}class Vy{constructor(){}supports(t){return Is(t)}create(t){return new QS(t)}}const ZS=(e,t)=>t;class QS{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||ZS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){const s=!i||n&&n.currentIndex<jy(i,r,o)?n:i,a=jy(s,r,o),c=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(n=n._next,null==s.previousIndex)r++;else{o||(o=[]);const l=a-r,u=c-r;if(l!=u){for(let f=0;f<l;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;u<=p&&p<l&&(o[f]=h+1)}o[s.previousIndex]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Is(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,s,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),i=!0),n=n._next}else r=0,function b0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,a=>{s=this._trackByFn(r,a),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,a,s,r)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),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;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=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new YS(n,i),o,r),t}_verifyReinsertion(t,n,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new By),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new By),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class YS{constructor(t,n){this.item=t,this.trackById=n,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 KS{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,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class By{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new KS,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function jy(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class Hy{constructor(){}supports(t){return t instanceof Map||Pl(t)}create(){return new XS}}class XS{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 n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Pl(t)))throw new D(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new JS(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class JS{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}}function $y(){return new to([new Vy])}let to=(()=>{class e{static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:$y});constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||$y()),deps:[[e,new Ac,new xc]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new D(901,!1)}}return e})();function Uy(){return new no([new Hy])}let no=(()=>{class e{static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:Uy});constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Uy()),deps:[[e,new Ac,new xc]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new D(901,!1)}}return e})();const n1=Iy(null,"core",[]);let r1=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(P(Zi))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})();function Nu(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Ou=null;function io(){return Ou}class _1{}const qt=new M("DocumentToken"),$u=/\s+/,sv=[];let av=(()=>{class e{constructor(n,i,r,o){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=sv,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split($u):sv}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split($u):n}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const i of n)this._updateState(i,!0);else if(null!=n)for(const i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){const r=this.stateMap.get(n);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){(n=n.trim()).length>0&&n.split($u).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(to),v(no),v(yt),v(Cn))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oN{constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,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 zn=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new oN(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),lv(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{lv(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(n,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(zt),v(ln),v(to))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function lv(e,t){e.context.$implicit=t.item}let Wn=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new sN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){uv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){uv("ngIfElse",n),this._elseTemplateRef=n,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(n,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(zt),v(ln))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sN{constructor(){this.$implicit=null,this.ngIf=null}}function uv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${we(t)}'.`)}let fv=(()=>{class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=hv}transform(n,i=hv){if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());const r=this.differ.diff(n),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(function IN(e,t){return{key:e,value:t}}(s.key,s.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static#e=this.\u0275fac=function(i){return new(i||e)(v(no,16))};static#t=this.\u0275pipe=Ke({name:"keyvalue",type:e,pure:!1,standalone:!0})}return e})();function hv(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),o=String(i);return r==o?0:r<o?-1:1}let qu=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})();const pv="browser";function gv(e){return"server"===e}class rO extends _1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Yu extends rO{static makeCurrent(){!function m1(e){Ou||(Ou=e)}(new Yu)}onAndCancel(t,n,i){return t.addEventListener(n,i),()=>{t.removeEventListener(n,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function oO(){return ao=ao||document.querySelector("base"),ao?ao.getAttribute("href"):null}();return null==n?null:function sO(e){aa=aa||document.createElement("a"),aa.setAttribute("href",e);const t=aa.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ao=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function iN(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[r,o]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let aa,ao=null,cO=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();const Ku=new M("EventManagerPlugins");let bv=(()=>{class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,r){return this._findPluginFor(i).addEventListener(n,i,r)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new D(5101,!1);return this._eventNameToPlugin.set(n,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(P(Ku),P(he))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();class Dv{constructor(t){this._doc=t}}const Xu="ng-app-id";let Cv=(()=>{class e{constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=gv(o),this.resetHostNodes()}addStyles(n){for(const i of n)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(n){for(const i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){const i=this.styleRef;i.get(n)?.elements?.forEach(r=>r.remove()),i.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Xu}="${this.appId}"]`);if(n?.length){const i=new Map;return n.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(n,i){const r=this.styleRef;if(r.has(n)){const o=r.get(n);return o.usage+=i,o.usage}return r.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===n)return r.delete(i),o.removeAttribute(Xu),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Xu,this.appId),s}}addStyleToHost(n,i){const r=this.getStyleElement(n,i);n.appendChild(r);const o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(P(qt),P(hs),P(ol,8),P(Vn))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();const Ju={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/",math:"http://www.w3.org/1998/MathML/"},ed=/%COMP%/g,fO=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Ev(e,t){return t.map(n=>n.replace(ed,e))}let Mv=(()=>{class e{constructor(n,i,r,o,s,a,c,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=gv(a),this.defaultRenderer=new td(n,s,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Et.ShadowDom&&(i={...i,encapsulation:Et.Emulated});const r=this.getOrCreateRenderer(n,i);return r instanceof Tv?r.applyToHost(n):r instanceof nd&&r.applyStyles(),r}getOrCreateRenderer(n,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Et.Emulated:o=new Tv(c,l,i,this.appId,u,s,a,d);break;case Et.ShadowDom:return new mO(c,l,n,i,s,a,this.nonce,d);default:o=new nd(c,l,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(P(bv),P(Cv),P(hs),P(fO),P(qt),P(Vn),P(he),P(ol))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();class td{constructor(t,n,i,r){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Ju[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Iv(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(Iv(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let i="string"==typeof t?this.doc.querySelector(t):t;if(!i)throw new D(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;const o=Ju[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const r=Ju[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(bn.DashCase|bn.Important)?t.style.setProperty(n,i,r&bn.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&bn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t[n]=i}setValue(t,n){t.nodeValue=n}listen(t,n,i){if("string"==typeof t&&!(t=io().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(i))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function Iv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class mO extends td{constructor(t,n,i,r,o,s,a,c){super(t,o,s,c),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Ev(r.id,r.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class nd extends td{constructor(t,n,i,r,o,s,a,c){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r,this.styles=c?Ev(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Tv extends nd{constructor(t,n,i,r,o,s,a,c){const l=r+"-"+i.id;super(t,n,i,o,s,a,c,l),this.contentAttr=function hO(e){return"_ngcontent-%COMP%".replace(ed,e)}(l),this.hostAttr=function pO(e){return"_nghost-%COMP%".replace(ed,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}}let _O=(()=>{class e extends Dv{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r){return n.addEventListener(i,r,!1),()=>this.removeEventListener(n,i,r)}removeEventListener(n,i,r){return n.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(P(qt))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();const xv=["alt","control","meta","shift"],yO={"\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"},vO={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let bO=(()=>{class e extends Dv{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>io().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const i=n.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),xv.forEach(l=>{const u=i.indexOf(l);u>-1&&(i.splice(u,1),s+=l+".")}),s+=o,0!=i.length||0===o.length)return null;const c={};return c.domEventName=r,c.fullKey=s,c}static matchEventFullKeyCode(n,i){let r=yO[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),xv.forEach(s=>{s!==r&&(0,vO[s])(n)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(i){return new(i||e)(P(qt))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();const EO=Iy(n1,"browser",[{provide:Vn,useValue:pv},{provide:Bp,useValue:function DO(){Yu.makeCurrent()},multi:!0},{provide:qt,useFactory:function wO(){return function eM(e){Wc=e}(document),document},deps:[]}]),MO=new M(""),Nv=[{provide:Gs,useClass:class aO{addToWindow(t){se.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new D(5103,!1);return o},se.getAllAngularTestabilities=()=>t.getAllTestabilities(),se.getAllAngularRootElements=()=>t.getAllRootElements(),se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(i=>{const r=se.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(c){s=s||c,o--,0==o&&i(s)};r.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(t,n,i){return null==n?null:t.getTestability(n)??(i?io().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Dy,useClass:bu,deps:[he,Du,Gs]},{provide:bu,useClass:bu,deps:[he,Du,Gs]}],Ov=[{provide:tl,useValue:"root"},{provide:sn,useFactory:function CO(){return new sn},deps:[]},{provide:Ku,useClass:_O,multi:!0,deps:[qt,he,Vn]},{provide:Ku,useClass:bO,multi:!0,deps:[qt]},Mv,Cv,bv,{provide:zp,useExisting:Mv},{provide:class PN{},useClass:cO,deps:[]},[]];let IO=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:hs,useValue:n.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(P(MO,12))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({providers:[...Ov,...Nv],imports:[qu,r1]})}return e})();typeof window<"u"&&window;const rd={now:()=>(rd.delegate||Date).now(),delegate:void 0};class FO extends Xn{constructor(t=1/0,n=1/0,i=rd){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;n||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=n.now();let a=0;for(let c=1;c<i.length&&i[c]<=s;c+=2)a=c;a&&i.splice(0,a+1)}}}const ca={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return ca.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return ca.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let od;function $O(e,t,n){let i=n;return function PO(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((r,o)=>!("*"===r||!function LO(e,t){if(!od){const n=Element.prototype;od=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&od.call(e,t)}(e,r)||(i=o,0))),i}class GO{constructor(t,n){this.componentFactory=n.get(Ai).resolveComponentFactory(t)}create(t){return new zO(this.componentFactory,t)}}class zO{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new FO(1),this.events=this.eventEmitters.pipe(uf(i=>cf(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(he),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=ca.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n,i){this.runInZone(()=>{i&&(n=i.call(this.componentRef?.instance,n)),null!==this.componentRef?function VO(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=lt.create({providers:[],parent:this.injector}),i=function HO(e,t){const n=e.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=n.length;o<s;++o){const a=n[o],c=$O(a,t,r);-1!==c&&i[c].push(a)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Mu),this.implementsOnChanges=function kO(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Zi).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t,transform:n})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),n)}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(Jn(s=>({name:r,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ca.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=n);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new Kf(o,n,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class WO extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function sd(e,t){const n=function jO(e,t){return t.get(Ai).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new GO(e,t.injector),r=function BO(e){const t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[function RO(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=[n,r]}),t}(n);class o extends WO{static#e=this.observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:c,transform:l})=>{if(!this.hasOwnProperty(c))return;const u=this[c];delete this[c],a.setInputValue(c,u,l)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,u){const[d,f]=r[a];this.ngElementStrategy.setInputValue(d,l,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),o}const{isArray:qO}=Array,{getPrototypeOf:ZO,prototype:QO,keys:YO}=Object;function kv(e){if(1===e.length){const t=e[0];if(qO(t))return{args:t,keys:null};if(function KO(e){return e&&"object"==typeof e&&ZO(e)===QO}(t)){const n=YO(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}const{isArray:XO}=Array;function Lv(e){return Jn(t=>function JO(e,t){return XO(t)?e(...t):e(t)}(e,t))}function Vv(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}let Bv=(()=>{class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Cn),v(yt))};static#t=this.\u0275dir=V({type:e})}return e})(),qn=(()=>{class e extends Bv{static#e=this.\u0275fac=function(){let n;return function(r){return(n||(n=ke(e)))(r||e)}}();static#t=this.\u0275dir=V({type:e,features:[te]})}return e})();const Zt=new M("NgValueAccessor"),nF={provide:Zt,useExisting:oe(()=>Yi),multi:!0},rF=new M("CompositionEventMode");let Yi=(()=>{class e extends Bv{constructor(n,i,r){super(n,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function iF(){const e=io()?io().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Cn),v(yt),v(rF,8))};static#t=this.\u0275dir=V({type:e,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(i,r){1&i&&ie("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[pe([nF]),te]})}return e})();const Be=new M("NgValidators"),Tn=new M("NgAsyncValidators");function Gv(e){return function In(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}(e.value)?{required:!0}:null}function la(e){return null}function Yv(e){return null!=e}function Kv(e){return Os(e)?ei(e):e}function Xv(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Jv(e,t){return t.map(n=>n(e))}function eb(e){return e.map(t=>function sF(e){return!e.validate}(t)?t:n=>t.validate(n))}function ad(e){return null!=e?function tb(e){if(!e)return null;const t=e.filter(Yv);return 0==t.length?null:function(n){return Xv(Jv(n,t))}}(eb(e)):null}function cd(e){return null!=e?function nb(e){if(!e)return null;const t=e.filter(Yv);return 0==t.length?null:function(n){return function eF(...e){const t=nf(e),{args:n,keys:i}=kv(e),r=new Te(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u<s;u++){let d=!1;wt(n[u]).subscribe(rt(o,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(i?Vv(i,a):a),o.complete())}))}});return t?r.pipe(Lv(t)):r}(Jv(n,t).map(Kv)).pipe(Jn(Xv))}}(eb(e)):null}function ib(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ld(e){return e?Array.isArray(e)?e:[e]:[]}function ua(e,t){return Array.isArray(e)?e.includes(t):e===t}function sb(e,t){const n=ld(t);return ld(e).forEach(r=>{ua(n,r)||n.push(r)}),n}function ab(e,t){return ld(t).filter(n=>!ua(e,n))}class cb{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=ad(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=cd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Qe extends cb{get formDirective(){return null}get path(){return null}}class xn extends cb{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class lb{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let da=(()=>{class e extends lb{constructor(n){super(n)}static#e=this.\u0275fac=function(i){return new(i||e)(v(xn,2))};static#t=this.\u0275dir=V({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Rs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[te]})}return e})(),ub=(()=>{class e extends lb{constructor(n){super(n)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Qe,10))};static#t=this.\u0275dir=V({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&Rs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[te]})}return e})();const co="VALID",ha="INVALID",Ki="PENDING",lo="DISABLED";function fd(e){return(pa(e)?e.validators:e)||null}function hd(e,t){return(pa(t)?t.asyncValidators:e)||null}function pa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class pb{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===co}get invalid(){return this.status===ha}get pending(){return this.status==Ki}get disabled(){return this.status===lo}get enabled(){return this.status!==lo}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._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(sb(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(sb(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ab(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ab(t,this._rawAsyncValidators))}hasValidator(t){return ua(this._rawValidators,t)}hasAsyncValidator(t){return ua(this._rawAsyncValidators,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(n=>{n.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(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Ki,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=lo,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=co,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===co||this.status===Ki)&&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(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lo:co}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Ki,this._hasOwnPendingAsyncValidator=!0;const n=Kv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(t,n){const i=n?this.get(n):this;return i&&i.errors?i.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}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 ne,this.statusChanges=new ne}_calculateStatus(){return this._allControlsDisabled()?lo:this.errors?ha:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ki)?Ki:this._anyControlsHaveStatus(ha)?ha:co}_anyControlsHaveStatus(t){return this._anyControls(n=>n.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)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){pa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function uF(e){return Array.isArray(e)?ad(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function dF(e){return Array.isArray(e)?cd(e):e||null}(this._rawAsyncValidators)}}class pd extends pb{constructor(t,n,i){super(fd(n),hd(i,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,i={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function hb(e,t,n){e._forEachChild((i,r)=>{if(void 0===n[r])throw new D(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function fb(e,t,n){const i=e.controls;if(!(t?Object.keys(i):i).length)throw new D(1e3,"");if(!i[n])throw new D(1001,"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,i)=>(t[i]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,i)=>!!i._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const i=this.controls[n];i&&t(i,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,i]of Object.entries(this.controls))if(this.contains(n)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(t,n){let i=t;return this._forEachChild((r,o)=>{i=n(i,r,o)}),i}_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}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Xi=new M("CallSetDisabledState",{providedIn:"root",factory:()=>ga}),ga="always";function uo(e,t,n=ga){gd(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function pF(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&gb(e,t)})}(e,t),function mF(e,t){const n=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function gF(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&gb(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function hF(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ya(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function gd(e,t){const n=function rb(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(ib(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=function ob(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(ib(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();ya(t._rawValidators,r),ya(t._rawAsyncValidators,r)}function gb(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const DF={provide:Qe,useExisting:oe(()=>ba)},fo=(()=>Promise.resolve())();let ba=(()=>{class e extends Qe{constructor(n,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ne,this.form=new pd({},ad(n),cd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){fo.then(()=>{const i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),uo(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){fo.then(()=>{const i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){fo.then(()=>{const i=this._findContainer(n.path),r=new pd({});(function mb(e,t){gd(e,t)})(r,n),i.registerControl(n.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){fo.then(()=>{const i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){fo.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function _b(e,t){e._syncPendingControls(),t.forEach(n=>{const i=n.control;"submit"===i.updateOn&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static#e=this.\u0275fac=function(i){return new(i||e)(v(Be,10),v(Tn,10),v(Xi,8))};static#t=this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&ie("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pe([DF]),te]})}return e})();function yb(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function vb(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const bb=class extends pb{constructor(t=null,n,i){super(fd(n),hd(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=vb(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){yb(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){yb(this._onDisabledChange,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){vb(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}},EF={provide:xn,useExisting:oe(()=>ho)},wb=(()=>Promise.resolve())();let ho=(()=>{class e extends xn{constructor(n,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new bb,this._registered=!1,this.name="",this.update=new ne,this._parent=n,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function yd(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Yi?n=o:function vF(e){return Object.getPrototypeOf(e.constructor)===qn}(o)?i=o:r=o}),r||i||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function _d(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_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(){uo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){wb.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,r=0!==i&&Nu(i);wb.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function ma(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(i){return new(i||e)(v(Qe,9),v(Be,10),v(Tn,10),v(Zt,10),v(Mu,8),v(Xi,8))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pe([EF]),te,Jt]})}return e})(),Eb=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const IF={provide:Zt,useExisting:oe(()=>vd),multi:!0};let Ib=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})(),TF=(()=>{class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n)return void this._accessors.splice(i,1)}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return!!n[0].control&&n[0]._parent===i._control._parent&&n[1].name===i.name}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:Ib})}return e})(),vd=(()=>{class e extends qn{constructor(n,i,r,o){super(n,i),this._registry=r,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=J(Xi,{optional:!0})??ga}ngOnInit(){this._control=this._injector.get(xn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Cn),v(yt),v(TF),v(lt))};static#t=this.\u0275dir=V({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){1&i&&ie("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[pe([IF]),te]})}return e})(),Zn=(()=>{class e{constructor(){this._validator=la}ngOnChanges(n){if(this.inputName in n){const i=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):la,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=V({type:e,features:[Jt]})}return e})();const $F={provide:Be,useExisting:oe(()=>po),multi:!0};let po=(()=>{class e extends Zn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Nu,this.createValidator=n=>Gv}enabled(n){return n}static#e=this.\u0275fac=function(){let n;return function(r){return(n||(n=ke(e)))(r||e)}}();static#t=this.\u0275dir=V({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){2&i&&Oe("required",r._enabled?"":null)},inputs:{required:"required"},features:[pe([$F]),te]})}return e})(),ZF=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[Ib]})}return e})(),YF=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Xi,useValue:n.callSetDisabledState??ga}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[ZF]})}return e})();const KF=function(e,t){return{"disposition-label-selected":e,"first-disposition":t}};function XF(e,t){if(1&e){const n=dt();S(0,"div",5)(1,"label",6),ie("keypress",function(r){const s=ue(n).$implicit;return de(x().selectAndSubmitDisposition(r,s.key))}),S(2,"input",7),ie("change",function(){return ue(n),de(x().submitDisposition())})("ngModelChange",function(r){return ue(n),de(x().selectedDispositionValue=r)}),T(),Fe(3),T()()}if(2&e){const n=t.$implicit,i=t.index,r=x();w(1),E("id",n.key)("ngClass",F_(8,KF,r.selectedDispositionValue===n.key,0===i)),w(1),$l("value",n.key),E("required",!r.selectedDispositionValue)("name",r.dispositionName)("ngModel",r.selectedDispositionValue),Oe("aria-label",n.value),w(1),zr(" ",n.value," ")}}let JF=(()=>{class e{constructor(){this.dispositionEmitter=new ne,this.selectedDispositionValue="",this.dispositionName=""}ngOnInit(){for(const n of this.disposition.dispositionMetadata)if("callId"===n.key){this.dispositionName=`disposition_${n.value}`;break}this.disposition.checkedDisposition&&(this.selectedDispositionValue=this.disposition.checkedDisposition)}submitDisposition(){const n={dispositionId:this.selectedDispositionValue,dispositionName:this.disposition.disposition.get(this.selectedDispositionValue),dispositionMetadata:this.disposition.dispositionMetadata};this.dispositionEmitter.emit(n)}selectAndSubmitDisposition(n,i){"Enter"===n.code&&(this.selectedDispositionValue=i,this.submitDisposition())}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(S(0,"div",0)(1,"div",1)(2,"label",2),Fe(3),T()(),S(4,"div",3),q(5,XF,4,11,"div",4),function B_(e,t){const n=z();let i;const r=e+H;n.firstCreatePass?(i=function lA(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Fn(i.type)),a=Ye(v);try{const c=$o(!1),l=o();return $o(c),function H0(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,_(),r,l),l}finally{Ye(a)}}(6,"keyvalue"),T()()),2&i&&(w(3),ft(r.disposition.dispositionHeader),w(2),E("ngForOf",j_(6,2,r.disposition.disposition)))},dependencies:[av,zn,Yi,vd,da,po,ho,fv],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: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%]{overflow-y:scroll;max-height:150px;padding:3px}.disposition-label[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:5px}.first-disposition[_ngcontent-%COMP%]{margin-top:5px}"]})}return e})();function eR(e,t){if(1&e&&(S(0,"p",12),Fe(1),T()),2&e){const n=x().$implicit;w(1),ft(n.invalidMessage)}}function tR(e,t){if(1&e){const n=dt();S(0,"div",8)(1,"label",9),Fe(2),T(),S(3,"input",10),ie("focusout",function(){const o=ue(n).$implicit,s=x(),a=Ns(2);return de(s.focusOutOfInput(a,o))}),T(),q(4,eR,2,1,"p",11),T()}if(2&e){const n=t.$implicit;w(2),zr(" ",n.name,": "),w(1),E("name",n.name)("type",n.type)("value",n.value)("placeholder",n.placeholder||"")("required",n.isRequired||!1),Oe("aria-label",n.name),w(1),E("ngIf",n.isInvalid)}}let Md,nR=(()=>{class e{constructor(){this.loginDetailsProvided=new ne}ngOnInit(){this.loginData.header||(this.loginData.header="Login");for(let n of this.loginData.fields)n.isInvalid||(n.isInvalid=!1)}onLogin(n){for(const i of this.loginData.fields)i.value=n.value[i.name];this.loginDetailsProvided.emit(this.loginData)}focusOutOfInput(n,i){n.controls[i.name].valid||(i.isInvalid=!0)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){if(1&i){const o=dt();S(0,"div",0)(1,"form",1,2),ie("ngSubmit",function(){ue(o);const a=Ns(2);return de(r.onLogin(a))}),S(3,"div",3)(4,"label",4),Fe(5),T()(),S(6,"div",5),q(7,tR,5,8,"div",6),S(8,"button",7),Fe(9,"Login"),T()()()()}if(2&i){const o=Ns(2);w(5),ft(r.loginData.header),w(2),E("ngForOf",r.loginData.fields),w(1),E("disabled",!o.valid)}},dependencies:[zn,Wn,Eb,Yi,da,ub,po,ho,ba],styles:[".login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.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;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;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;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 rgb(50,150,218);outline-offset:5px}.invalid-input[_ngcontent-%COMP%]{margin:0;padding:0;color:#a94442;font-size:x-small}"]})}return e})();try{Md=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Md=!1}let go,Ub=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function FN(e){return e===pv}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Md)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||e)(P(Vn))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Da(e){return function iR(){if(null==go&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>go=!0}))}finally{go=go||!1}return go}()?e:!!e.capture}let fR=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zb=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({providers:[fR]})}return e})();function Wb(e){return Array.isArray(e)?e:[e]}function Zb(e,t,n){e?Qt(n,e,t):t()}function Td(...e){return function mR(){return tf(1)}()(ei(e,ir(e)))}class bR extends Ct{constructor(t,n){super()}schedule(t,n=0){return this}}const wa={setInterval(e,t,...n){const{delegate:i}=wa;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=wa;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class mo{constructor(t,n=mo.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}mo.now=rd.now;const wR=new class CR extends mo{constructor(t,n=mo.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,i){for(;t=n.shift();)t.unsubscribe();throw i}}}(class DR extends bR{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,i=0){return wa.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,n,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return n;null!=n&&wa.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,n);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Kn(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}});function MR(...e){const t=ir(e);return pt((n,i)=>{(t?Td(e,n,t):Td(e,n)).subscribe(i)})}function IR(e){return pt((t,n)=>{wt(e).subscribe(rt(n,()=>n.complete(),Ia)),!n.closed&&t.subscribe(n)})}const Qb=new Set;let Yn,TR=(()=>{class e{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):AR}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function xR(e,t){if(!Qb.has(e))try{Yn||(Yn=document.createElement("style"),t&&(Yn.nonce=t),Yn.setAttribute("type","text/css"),document.head.appendChild(Yn)),Yn.sheet&&(Yn.sheet.insertRule(`@media ${e} {body{ }}`,0),Qb.add(e))}catch(n){console.error(n)}}(n,this._nonce),this._matchMedia(n)}static#e=this.\u0275fac=function(i){return new(i||e)(P(Ub),P(ol,8))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function AR(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let SR=(()=>{class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new Xn}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Yb(Wb(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let o=function pR(...e){const t=ir(e),n=nf(e),{args:i,keys:r}=kv(e);if(0===i.length)return ei([],t);const o=new Te(function gR(e,t,n=nr){return i=>{Zb(t,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let c=0;c<r;c++)Zb(t,()=>{const l=ei(e[c],t);let u=!1;l.subscribe(rt(i,d=>{o[c]=d,u||(u=!0,a--),a||i.next(n(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>Vv(r,s):nr));return n?o.pipe(Lv(n)):o}(Yb(Wb(n)).map(s=>this._registerQuery(s).observable));return o=Td(o.pipe(function _R(e){return e<=0?()=>ka:pt((t,n)=>{let i=0;t.subscribe(rt(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}(1)),o.pipe(function vR(e){return function yR(e,t){return pt((n,i)=>{let r=0;n.subscribe(rt(i,o=>e.call(t,o,r++)&&i.next(o)))})}((t,n)=>e<=n)}(1),function ER(e,t=wR){return pt((n,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const l=o;o=null,i.next(l)}};function c(){const l=s+e,u=t.now();if(u<l)return r=this.schedule(void 0,l-u),void i.add(r);a()}n.subscribe(rt(i,l=>{o=l,s=t.now(),r||(r=t.schedule(c,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(Jn(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const i=this._mediaMatcher.matchMedia(n),o={observable:new Te(s=>{const a=c=>this._zone.run(()=>s.next(c));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(MR(i),Jn(({matches:s})=>({query:n,matches:s})),IR(this._destroySubject)),mql:i};return this._queries.set(n,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(P(TR),P(he))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yb(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}const eD="cdk-high-contrast-black-on-white",tD="cdk-high-contrast-white-on-black",xd="cdk-high-contrast-active";let nD=(()=>{class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=J(SR).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(n):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(xd,eD,tD),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?n.add(xd,eD):2===i&&n.add(xd,tD)}}static#e=this.\u0275fac=function(i){return new(i||e)(P(Ub),P(qt))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),HR=(()=>{class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||e)(P(nD))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[zb]})}return e})(),zR=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})(),iD=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})();const QR=new M("mat-sanity-checks",{providedIn:"root",factory:function ZR(){return!0}});let Ea=(()=>{class e{constructor(n,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return!function sR(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}static#e=this.\u0275fac=function(i){return new(i||e)(P(nD),P(QR,8),P(qt))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[iD,iD]})}return e})();const sD=Da({passive:!0,capture:!0});class XR{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const n=function oR(e){return e.composedPath?e.composedPath()[0]:e.target}(t);n&&this._events.get(t.type)?.forEach((i,r)=>{(r===n||r.contains(n))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,n,i,r){const o=this._events.get(n);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(n,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,sD)})}removeHandler(t,n,i){const r=this._events.get(t);if(!r)return;const o=r.get(n);o&&(o.delete(i),0===o.size&&r.delete(n),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,sD)))}}class Ad{static#e=this._eventManager=new XR;constructor(t,n,i,r){this._target=t,this._ngZone=n,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=qb(i))}fadeInRipple(t,n,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...aD,...i.animation},s=i.radius||function eP(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(t,n,r),a=t-r.left,c=n-r.top,l=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=c-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),h=d.transitionDuration,p="none"===d.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,g=new KR(this,u,i,p);u.style.transform="scale3d(1, 1, 1)",g.state=0,i.persistent||(this._mostRecentTransientRipple=g);return!p&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const b=()=>this._finishRippleTransition(g),m=()=>this._destroyRipple(g);u.addEventListener("transitionend",b),u.addEventListener("transitioncancel",m)}),this._activeRipples.set(g,null),(p||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(t){if(2===t.state||3===t.state)return;const n=t.element,i={...aD,...t.config.animation};n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const n=qb(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,lD.forEach(i=>{Ad._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{uD.forEach(n=>{this._triggerElement.addEventListener(n,this,cD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==n&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel)),t.element.remove()}_onMousedown(t){const n=function VR(e){return 0===e.buttons||0===e.detail}(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!function BR(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const n=t.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(lD.forEach(n=>Ad._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&uD.forEach(n=>t.removeEventListener(n,this,cD)))}}let tP=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[Ea,Ea]})}return e})(),oP=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[qu,Ea,zR,tP,zb,HR,Ea]})}return e})();var Sd=function(e){return e.AGENT="AGENT",e.OTHER_PERSON="OTHER_PERSON",e.INFORMATION="INFORMATION",e}(Sd||{}),Ma=function(e){return e[e.STRING=0]="STRING",e[e.COUNTER=1]="COUNTER",e}(Ma||{});function sP(e,t){if(1&e){const n=dt();S(0,"img",2),ie("click",function(){const o=ue(n).$implicit;return de(o.handler(o.operationName,o.operationMetadata))})("keypress",function(r){const s=ue(n).$implicit;return de(x().operationKeypress(r,s))}),T()}if(2&e){const n=t.$implicit,i=x();E("title",n.title)("src",n.icon,rn),Oe("aria-label",n.title)("accesskey",n.accesskey||null)("aria-labelledby",i.labelledByText||null)("aria-describedby",i.describedByText||null)}}let aP=(()=>{class e{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(n,i){"Enter"===n.code&&i.handler(i.operationName,i.operationMetadata)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(S(0,"div",0),q(1,sP,1,6,"img",1),T()),2&i&&(w(1),E("ngForOf",r.operations))},dependencies:[zn],styles:[".AnswerCallImages[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:1px}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:0 5px 2px}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}"]})}return e})();function Nd(e){e=Number(e);const t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);return(t>0?t.toString()+":":"")+(n>0?("0"+n.toString()).slice(-2)+":":"00:")+(i>0?("0"+i.toString()).slice(-2):"00")}function cP(e,t){if(1&e&&Me(0,"input",2),2&e){const n=x();E("name",n.processedDisplayValue)("title",n.title||null)("value",n.processedDisplayValue),Oe("aria-labelledby",n.labelledByText||null)}}function lP(e,t){if(1&e){const n=dt();S(0,"input",3),ie("click",function(){ue(n);const r=x();return de(r.property.customOperations.handler(r.property.customOperations.eventName,r.property.customOperations.eventMetadata))}),T()}if(2&e){const n=x();E("name",n.processedDisplayValue)("title",n.title||null)("value",n.processedDisplayValue),Oe("aria-labelledby",n.labelledByText||null)}}let uP=(()=>{class e{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===Ma.COUNTER?this.startCallCounter():this.processedDisplayValue=this.property.displayValue}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const n=this.property.displayValue,i=(new Date).getTime()/1e3,r=Math.floor(i-n/1e3);this.processedDisplayValue=Nd(r)},1e3))}ngOnDestroy(){this.property.displayValueType===Ma.COUNTER&&null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(q(0,cP,1,4,"input",0),q(1,lP,1,4,"input",1)),2&i&&(E("ngIf",!r.property.customOperations),w(1),E("ngIf",r.property.customOperations))},dependencies:[Wn],styles:["input[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0}.displayData[_ngcontent-%COMP%]{border:0;outline:none}"]})}return e})(),dP=(()=>{class e{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 n=this.CaculatePastHoldDuration();null==this._timerId&&(this._timerId=window.setInterval(()=>{const i=(new Date).getTime()/1e3,r=Math.floor(i-this.holdCounterData.currentHoldStartTime/1e3);this.displayTime=Nd(r)+"/"+Nd(n+r)},1e3))}CaculatePastHoldDuration(){let n=0;return this.holdCounterData.pastCallDurations&&this.holdCounterData.pastCallDurations.forEach(i=>{n+=(i.endTime-i.startTime)/1e3}),n}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(S(0,"div",0),Me(1,"input",1),T()),2&i&&(w(1),E("value",r.displayTime),Oe("aria-labelledby",r.labelledByText||null))},styles:[".holdCallDurationTimer[_ngcontent-%COMP%]:focus{outline-style:none}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0px;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}"]})}return e})(),fP=(()=>{class e{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 n=this.startTime,i=(new Date).getTime()/1e3,r=Math.floor(i-n/1e3);this.displayTime=Math.floor(r/60)+":"+("0"+r%60).slice(-2)},1e3))}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(S(0,"div",0),Me(1,"input",1),T()),2&i&&(w(1),E("value",r.displayTime),Oe("aria-labelledby",r.labelledByText||null))},styles:[".durationInput[_ngcontent-%COMP%]:focus{outline-style:none}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0px;width:100%;text-align:right}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}"]})}return e})();function hP(e,t){if(1&e){const n=dt();S(0,"img",7),ie("error",function(){ue(n);const r=x();return de(r.image=r.fallbackImage)}),T()}if(2&e){const n=x();Ur("border-color",n.color),E("src",n.image,rn)}}function pP(e,t){if(1&e&&(S(0,"span",8),Fe(1),T()),2&e){const n=x();w(1),ft(n.username)}}function gP(e,t){if(1&e&&(S(0,"span",9),Fe(1),T()),2&e){const n=x();w(1),ft(n.timestamp)}}let mP=(()=>{class e{constructor(){this.alignRight=!1,this.focusOn=new ne}ngOnInit(){this.focusOn.emit(!0)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,selectors:[["app-chat-message"]],inputs:{message:"message",alignRight:"alignRight",username:"username",color:"color",timestamp:"timestamp",image:"image",fallbackImage:"fallbackImage"},outputs:{focusOn:"focusOn"},decls:9,vars:10,consts:[[1,"message-header"],["class","image",3,"src","border-color","error",4,"ngIf"],["class","username",4,"ngIf"],[1,"message-body-container"],[1,"message-body"],[3,"innerHTML"],["class","timestamp",4,"ngIf"],[1,"image",3,"src","error"],[1,"username"],[1,"timestamp"]],template:function(i,r){1&i&&(S(0,"div")(1,"div",0),q(2,hP,1,3,"img",1),q(3,pP,2,1,"span",2),T(),S(4,"div",3)(5,"div")(6,"div",4),Me(7,"span",5),T()()(),q(8,gP,2,1,"span",6),T()),2&i&&(Mm(r.alignRight?"message right-message":"message left-message"),w(2),E("ngIf",r.image),w(1),E("ngIf",r.username),w(3),Ur("background-color",r.color)("border-color",r.color),w(1),E("innerHTML",r.message,Ap),w(1),E("ngIf",r.timestamp))},dependencies:[Wn],styles:['[_nghost-%COMP%]{display:block;margin-top:2px;margin-bottom:2px}.right-message[_ngcontent-%COMP%]{text-align:end}.timestamp[_ngcontent-%COMP%]{font-size:10px;margin-right:30px;margin-left:30px}.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%]{margin-left:5px}.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%]{margin-right:5px}.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:1em;padding:6px;font-style:normal;font-size:.8em;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;border-left:10px solid black;border-color:inherit;border-right:10px solid transparent;border-bottom:10px solid transparent;left:1px;bottom:-2px}.right-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;border-left:10px solid transparent;border-top:10px solid black;border-top-color:inherit;border-bottom:0px solid transparent;right:1px;bottom:-2px}']})}return e})();const _P=["MessagesContainer"],yP=["autofocus"];function vP(e,t){if(1&e){const n=dt();At(0),S(1,"app-chat-message",6),ie("focusOn",function(r){return ue(n),de(x().setOnFocus(r))}),T(),St()}if(2&e){const n=t.$implicit,i=x();w(1),E("alignRight",i.shouldAlignRight(n))("message",n.text)("username",n.username)("timestamp",n.timestamp)("image",n.userIcon)("fallbackImage",i.settings.fallbackUserIcon)("color",i.getColor(n))}}function bP(e,t){1&e&&(S(0,"div",7),Fe(1," Someone is typing "),Me(2,"span")(3,"span")(4,"span"),T())}function DP(e,t){if(1&e){const n=dt();S(0,"div",8)(1,"textarea",9,10),ie("ngModelChange",function(r){return ue(n),de(x().newMessageText=r)})("focus",function(){return ue(n),de(x().onNewMessageFocus(!0))})("keydown.enter",function(r){return ue(n),de(x().sendNewMessage(r))})("keyup",function(){return ue(n),de(x().onKeyup())}),T(),S(3,"button",11),ie("click",function(r){return ue(n),de(x().sendNewMessage(r))}),Fe(4),T()()}if(2&e){const n=x();w(1),E("ngModel",n.newMessageText)("disabled",n.settings.disableSendMessage),w(2),E("disabled",n.settings.disableSendMessage),w(1),ft(n.sendButtonText)}}let CP=(()=>{class e{constructor(n,i){this.renderer=n,this.iterableDiffers=i,this.isTyping=!1,this.lastCount=-1,this._isAgentTyping=!1,this.isAgentTyping=new ne,this.newMessage=new ne,this.newMessageText="",this.usernameToColor={},this.colors=["#c2c4c4","#ffab91","#f48fb1","#29b6f6","#e1bee7","#9ccc65","#ffc107","#26c6da","#cddc39"],this.colorsIndex=0,this.agentColor="#2db0e0",this.scrollAtBottom=!0,this.iterableDiffer=this.iterableDiffers.find([]).create(null)}ngOnInit(){this.sendButtonText=this.settings?.sendMessageText??"Send",this.renderer.selectRootElement("#autofocus").focus()}ngDoCheck(){this.iterableDiffer.diff(this.messages)&&this.checkIfScrollAtBottom()}ngAfterViewInit(){this.renderer.selectRootElement("#autofocus").focus()}ngAfterViewChecked(){this.lastCount!==this.messages.length&&(this.lastCount=this.messages.length,this.scrollAtBottom&&this.scrollToBottom())}getColor(n){return n.type&&n.type===Sd.AGENT?this.agentColor:n.username?(this.usernameToColor[n.username]||(this.usernameToColor[n.username]=this.colors[this.colorsIndex],this.colorsIndex=(this.colorsIndex+1)%this.colors.length),this.usernameToColor[n.username]):this.colors[0]}shouldAlignRight(n){return n.type&&n.type===Sd.AGENT}sendNewMessage(n){n.preventDefault(),this.newMessageText&&(this.newMessage.emit(this.newMessageText),this.newMessageText=""),this.renderer.selectRootElement("#autofocus").focus()}setOnFocus(n){this.renderer.selectRootElement("#autofocus").focus()}onNewMessageFocus(n){const i=n&&this.newMessageText.length>0;i!==this._isAgentTyping&&(this._isAgentTyping=i,this.isAgentTyping.emit(i))}onKeyup(){const n=this.newMessageText.length>0;n!==this._isAgentTyping&&(this._isAgentTyping=n,this.isAgentTyping.emit(n))}scrollToBottom(){try{this.messagesContainer.nativeElement.scrollTop=this.messagesContainer.nativeElement.scrollHeight}catch{}}checkIfScrollAtBottom(){try{const n=this.messagesContainer.nativeElement;this.scrollAtBottom=n.scrollTop+n.clientHeight>=n.scrollHeight-5}catch(n){console.error("error checking if scroll at bottom",n)}}static#e=this.\u0275fac=function(i){return new(i||e)(v(Cn),v(to))};static#t=this.\u0275cmp=It({type:e,selectors:[["app-chat-box"]],viewQuery:function(i,r){if(1&i&&(du(_P,7),du(yP,5)),2&i){let o;uu(o=fu())&&(r.messagesContainer=o.first),uu(o=fu())&&(r.autofocus=o.first)}},inputs:{settings:"settings",isTyping:"isTyping",messages:"messages"},outputs:{isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:6,vars:5,consts:[[1,"chat-box"],["id","msgScroll",1,"messages"],["MessagesContainer",""],[4,"ngFor","ngForOf"],["class","typing-indicator",4,"ngIf"],["class","message-box",4,"ngIf"],[1,"chat-line",3,"alignRight","message","username","timestamp","image","fallbackImage","color","focusOn"],[1,"typing-indicator"],[1,"message-box"],["id","autofocus","tabindex","1","type","text","placeholder","Type a message...",1,"message-input","scroll",3,"ngModel","disabled","ngModelChange","focus","keydown.enter","keyup"],["NewMessageText",""],["type","submit",1,"message-submit",3,"disabled","click"]],template:function(i,r){1&i&&(S(0,"div",0)(1,"div",1,2),q(3,vP,2,7,"ng-container",3),q(4,bP,5,0,"div",4),T(),q(5,DP,5,4,"div",5),T()),2&i&&(w(1),Ur("max-height",r.settings.maxHeight),w(2),E("ngForOf",r.messages),w(1),E("ngIf",r.isTyping),w(1),E("ngIf",!r.settings.hideSendMessage))},dependencies:[zn,Wn,Yi,da,ho,mP],styles:[".message-box[_ngcontent-%COMP%]{flex:1 1 0;width:99%;background:#fff;margin:auto;position:relative;border-radius:5px;height:100%;border:1px solid #ccc}.message-box[_ngcontent-%COMP%] .message-input[_ngcontent-%COMP%]{background:none;border:none;outline:none!important;resize:none;font-family:inherit;font-size:1em;height:100%;margin:0;padding:10px 7px;width:89%;color:#444}.message-box[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus:-webkit-placeholder{color:transparent}.message-box[_ngcontent-%COMP%] .message-submit[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:5px;right:5px;background:#1e72ba;border:none;color:#fff;font-size:10px;line-height:1;padding:6px 10px;border-radius:5px;outline:none!important;transition:background .2s ease;cursor:pointer}.scroll[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.chat-box[_ngcontent-%COMP%]{background-color:#f4f5fb;padding:5px}.messages[_ngcontent-%COMP%]{padding:5px;overflow:auto;min-height:50px}.chat-line[_ngcontent-%COMP%]{margin-bottom:15px}.new-message[_ngcontent-%COMP%]{border-top:solid black 1px;display:flex;align-content:center;height:25px}.new-message[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{flex:1 1 0;background-color:#f4f5fb;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:.8em;font-style:italic}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;height:4px;width:4px;border-radius:50%;background-color:#9e9e9e;margin:0 1px;opacity:.2}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(1){animation:1.5s _ngcontent-%COMP%_blink infinite .33333s}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2){animation:1.5s _ngcontent-%COMP%_blink infinite .66666s}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(3){animation:1.5s _ngcontent-%COMP%_blink infinite .99999s}@keyframes _ngcontent-%COMP%_blink{50%{opacity:1}}"]})}return e})();function wP(e,t){if(1&e&&(S(0,"label",12),Fe(1),T()),2&e){const n=x();w(1),ft(n.interaction.UIHeadersData.directionText)}}function EP(e,t){if(1&e&&(S(0,"div",13),Me(1,"amc-holdTimer",14),T()),2&e){const n=x();w(1),E("holdCounterData",n.interaction.UIHeadersData.holdCounterData)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)}}function MP(e,t){if(1&e){const n=dt();S(0,"img",15),ie("click",function(){return ue(n),de(x().minimize())})("keypress",function(r){return ue(n),de(x().collapseKeypress(r))}),T()}2&e&&E("src",x().interaction.UIHeadersData.minimizeUrl,rn)}function IP(e,t){if(1&e){const n=dt();S(0,"img",16),ie("click",function(){return ue(n),de(x().maximize())})("keypress",function(r){return ue(n),de(x().expandKeypress(r))}),T()}2&e&&E("src",x().interaction.UIHeadersData.maximizeUrl,rn)}function TP(e,t){if(1&e&&(S(0,"div",17),Me(1,"amc-duration",18),T()),2&e){const n=x();w(1),E("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("startTime",n.interaction.startTime)}}function xP(e,t){if(1&e&&(At(0),S(1,"label",27),Fe(2),T(),Me(3,"amc-property",28),St()),2&e){const n=x().$implicit,i=x(3);w(1),E("title",n.displayKey),w(1),ft(n.displayKey),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",i.interaction.subheaderData.value)("property",n)}}function AP(e,t){if(1&e&&(At(0),q(1,xP,4,6,"ng-container",11),St()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function SP(e,t){if(1&e&&(At(0),S(1,"div",29)(2,"label",30),Fe(3),T(),Me(4,"amc-property",28),T(),St()),2&e){const n=x().$implicit,i=x(3);w(2),E("title",n.displayKey),w(1),ft(n.displayKey),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",i.interaction.subheaderData.value)("property",n)}}function NP(e,t){if(1&e&&(At(0),q(1,SP,5,6,"ng-container",11),St()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function OP(e,t){if(1&e&&Me(0,"amc-operation",31),2&e){const n=x(3);E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function FP(e,t){if(1&e){const n=dt();S(0,"app-chat-box",32),ie("isAgentTyping",function(r){return ue(n),de(x(3).isAgentTyping.emit(r))})("newMessage",function(r){return ue(n),de(x(3).newMessage.emit(r))}),T()}if(2&e){const n=x(3);E("isTyping",n.interaction.chat.isCustomerTyping)("settings",n.interaction.chat.settings)("messages",n.interaction.chat.messages)}}function RP(e,t){if(1&e&&Me(0,"amc-operation",33),2&e){const n=x(3);E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function PP(e,t){if(1&e&&(S(0,"div")(1,"div",19),Me(2,"input",20)(3,"input",21),T(),S(4,"div",22),q(5,AP,2,1,"ng-container",23),q(6,NP,2,1,"ng-container",23),T(),q(7,OP,1,4,"amc-operation",24),q(8,FP,1,3,"app-chat-box",25),Me(9,"div",4),q(10,RP,1,4,"amc-operation",26),T()),2&e){const n=x(2);w(2),E("src",n.interaction.subheaderData.image.href,rn)("title",n.interaction.subheaderData.tooltip||""),w(1),E("value",n.interaction.subheaderData.value)("id",n.interaction.subheaderData.value),Oe("aria-labelledby",n.interaction.UIHeadersData.statusText+" "+n.interaction.subheaderData.value),w(2),E("ngForOf",n.interaction.properties),w(1),E("ngForOf",n.interaction.associatedData),w(1),E("ngIf",n.interaction.chat),w(1),E("ngIf",n.interaction.chat),w(1),E("id",n.interaction.interactionId),w(1),E("ngIf",!n.interaction.chat)}}function kP(e,t){if(1&e&&(At(0),S(1,"label",27),Fe(2),T(),Me(3,"amc-property",28),St()),2&e){const n=x().$implicit,i=x().$implicit,r=x(3);w(1),E("title",n.displayKey),w(1),ft(n.displayKey),w(1),E("callType",r.interaction.UIHeadersData.directionText)("statusText",r.interaction.UIHeadersData.statusText)("callId",i.header.value)("property",n)}}function LP(e,t){if(1&e&&(At(0),q(1,kP,4,6,"ng-container",11),St()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function VP(e,t){if(1&e&&(S(0,"div")(1,"div",19),Me(2,"input",20)(3,"input",34),T(),S(4,"div",35),q(5,LP,2,1,"ng-container",23),T(),Me(6,"amc-operation",33)(7,"div",36),T()),2&e){const n=t.$implicit,i=x(3);w(2),E("src",n.header.image.href,rn)("title",n.header.tooltip||""),w(1),E("value",n.header.value),w(2),E("ngForOf",n.properties),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",n.header.value)("operations",n.operations)}}function BP(e,t){if(1&e&&(S(0,"div"),q(1,VP,8,8,"div",23),Me(2,"amc-operation",33),T()),2&e){const n=x(2);w(1),E("ngForOf",n.interaction.parties),w(1),E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function jP(e,t){if(1&e&&(S(0,"div"),q(1,PP,11,11,"div",11),q(2,BP,3,5,"div",11),T()),2&e){const n=x();w(1),E("ngIf",!n.isConferenceCall()),w(1),E("ngIf",n.isConferenceCall())}}let HP=(()=>{class e{set _minimized(n){this.minimized=n,this.minimizedChanged.emit(n)}get _minimized(){return this.minimized}constructor(){this.minimizedChanged=new ne,this.isAgentTyping=new ne,this.newMessage=new ne,this._minimized=!1}ngOnInit(){}minimize(){this._minimized=!0}maximize(){this._minimized=!1}isConferenceCall(){return!!(this.interaction.parties&&this.interaction.parties.length>1)}collapseKeypress(n){"Enter"===n.code&&this.minimize()}expandKeypress(n){"Enter"===n.code&&this.maximize()}clickEvent(n){document.getElementById(n).className="success",null===localStorage.getItem("focusedPanel")?localStorage.setItem("focusedPanel",n):localStorage.getItem("focusedPanel")!=n&&(document.getElementById(localStorage.getItem("focusedPanel")).className="AnswerCallFocused",localStorage.setItem("focusedPanel",n))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,selectors:[["amc-interaction"]],inputs:{interaction:"interaction"},outputs:{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:14,vars:10,consts:[[1,"AnswerCallFocused",3,"id"],[1,"editor","callHeaderTop",3,"click"],["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"],["id","close-chat",3,"callType","statusText","callId","operations",4,"ngIf"],[3,"isTyping","settings","messages","isAgentTyping","newMessage",4,"ngIf"],[3,"callType","statusText","callId","operations",4,"ngIf"],[1,"col1",3,"title"],[1,"col2",3,"callType","statusText","callId","property"],[1,"editor","displayDiv"],[1,"displayLabels",3,"title"],["id","close-chat",3,"callType","statusText","callId","operations"],[3,"isTyping","settings","messages","isAgentTyping","newMessage"],[3,"callType","statusText","callId","operations"],["readonly","","type","text","tabindex","-1",1,"editor","phoneNumberValue",3,"value"],[1,"grid-container"],[1,"AnswerCallFocused"]],template:function(i,r){1&i&&(S(0,"div",0)(1,"div",1),ie("click",function(){return r.clickEvent(r.interaction.interactionId)}),S(2,"img",2),ie("click",function(){return r.interaction.UIHeadersData.focusHandler.handler(r.interaction.UIHeadersData.focusHandler.operationName,r.interaction.UIHeadersData.focusHandler.operationMetadata)}),T(),S(3,"label",3)(4,"b",4),Fe(5),T()(),S(6,"label",5),Fe(7,"|"),T(),q(8,wP,2,1,"label",6),q(9,EP,2,3,"div",7),q(10,MP,1,1,"img",8),q(11,IP,1,1,"img",9),q(12,TP,2,3,"div",10),T(),q(13,jP,3,2,"div",11),T()),2&i&&(E("id",r.interaction.interactionId),w(2),E("src",r.interaction.UIHeadersData.statusUrl,rn),w(2),E("id",r.interaction.UIHeadersData.statusText),w(1),ft(r.interaction.UIHeadersData.statusText),w(3),E("ngIf",!r.interaction.UIHeadersData.displayHoldCounter),w(1),E("ngIf",r.interaction.UIHeadersData.displayHoldCounter),w(1),E("ngIf",!r._minimized),w(1),E("ngIf",r._minimized),w(1),E("ngIf",r.interaction.displayCallTimer),w(1),E("ngIf",!r._minimized))},dependencies:[zn,Wn,aP,uP,dP,fP,CP],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}#close-chat[_ngcontent-%COMP%]{text-align-last:end}.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;width:20px;height:20px;float:right;cursor:pointer}.ViewExpandImage[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:0px}.ViewCollapseImage[_ngcontent-%COMP%]{margin:3px;width:20px;height:20px;float:right}.ViewCollapseImage[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:0px}.callImage[_ngcontent-%COMP%]{cursor:default;height:20px}.phoneNumberValue[_ngcontent-%COMP%]:focus{outline-style:none}#call123[_ngcontent-%COMP%]{border:4px!important}.success[_ngcontent-%COMP%]{border:2px solid #00adbb!important}.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}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.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}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}"]})}return e})();function $P(e,t){if(1&e){const n=dt();S(0,"amc-interaction",2),ie("minimizedChanged",function(){return ue(n),de(x(2).onMinimizedChanged())})("isAgentTyping",function(r){return ue(n),de(x(2).isAgentTyping.emit(r))})("newMessage",function(r){return ue(n),de(x(2).newMessage.emit(r))}),T()}2&e&&E("interaction",t.$implicit)}function UP(e,t){if(1&e&&(At(0),q(1,$P,1,1,"amc-interaction",1),St()),2&e){const n=x();w(1),E("ngForOf",n.scenario.interactions)}}let GP=(()=>{class e{constructor(){this.minimizedChanged=new ne,this.isAgentTyping=new ne,this.newMessage=new ne,this.afterViewChecked=new ne}ngAfterViewChecked(){this.afterViewChecked.emit()}onMinimizedChanged(){this.minimizedChanged.emit()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&q(0,UP,2,1,"ng-container",0),2&i&&E("ngIf",r.scenario&&r.scenario.interactions)},dependencies:[zn,Wn,HP]})}return e})(),zP=(()=>{class e{constructor(n){this.injector=n}ngDoBootstrap(n){customElements.get("amc-webcomponents-scenario")||customElements.define("amc-webcomponents-scenario",sd(GP,{injector:this.injector})),customElements.get("amc-webcomponents-disposition")||customElements.define("amc-webcomponents-disposition",sd(JF,{injector:this.injector})),customElements.get("amc-webcomponents-login")||customElements.define("amc-webcomponents-login",sd(nR,{injector:this.injector}))}static#e=this.\u0275fac=function(i){return new(i||e)(P(lt))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[IO,qu,YF,oP]})}return e})();EO().bootstrapModule(zP).catch(e=>console.error(e))}},ge=>{ge(ge.s=697)}]);
|
|
3
|
+
"use strict";(self.webpackChunkUILibrary=self.webpackChunkUILibrary||[]).push([[179],{554:()=>{function me(e){return"function"==typeof e}function yo(e){const n=e(i=>{Error.call(i),i.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Do=yo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Kn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ct{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(me(i))try{i()}catch(o){t=o instanceof Do?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{jd(o)}catch(s){t=t??[],s instanceof Do?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Do(t)}}add(t){var n;if(t&&t!==this)if(this.closed)jd(t);else{if(t instanceof Ct){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Kn(n,t)}remove(t){const{_finalizers:n}=this;n&&Kn(n,t),t instanceof Ct&&t._removeParent(this)}}Ct.EMPTY=(()=>{const e=new Ct;return e.closed=!0,e})();const Vd=Ct.EMPTY;function Bd(e){return e instanceof Ct||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function jd(e){me(e)?e():e.unsubscribe()}const An={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Co={setTimeout(e,t,...n){const{delegate:i}=Co;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Co;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Hd(e){Co.setTimeout(()=>{const{onUnhandledError:t}=An;if(!t)throw e;t(e)})}function Ta(){}const _D=xa("C",void 0,void 0);function xa(e,t,n){return{kind:e,value:t,error:n}}let Sn=null;function wo(e){if(An.useDeprecatedSynchronousErrorHandling){const t=!Sn;if(t&&(Sn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=Sn;if(Sn=null,n)throw i}}else e()}class Aa extends Ct{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Bd(t)&&t.add(this)):this.destination=ED}static create(t,n,i){return new tr(t,n,i)}next(t){this.isStopped?Oa(function vD(e){return xa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Oa(function bD(e){return xa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Oa(_D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const DD=Function.prototype.bind;function Sa(e,t){return DD.call(e,t)}class CD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Eo(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Eo(i)}else Eo(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Eo(n)}}}class tr extends Aa{constructor(t,n,i){let r;if(super(),me(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&An.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Sa(t.next,o),error:t.error&&Sa(t.error,o),complete:t.complete&&Sa(t.complete,o)}):r=t}this.destination=new CD(r)}}function Eo(e){An.useDeprecatedSynchronousErrorHandling?function yD(e){An.useDeprecatedSynchronousErrorHandling&&Sn&&(Sn.errorThrown=!0,Sn.error=e)}(e):Hd(e)}function Oa(e,t){const{onStoppedNotification:n}=An;n&&Co.setTimeout(()=>n(e,t))}const ED={closed:!0,next:Ta,error:function wD(e){throw e},complete:Ta},Na="function"==typeof Symbol&&Symbol.observable||"@@observable";function nr(e){return e}let Te=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){const o=function ID(e){return e&&e instanceof Aa||function MD(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}(e)&&Bd(e)}(n)?n:new tr(n,i,r);return wo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=Ud(i))((r,o)=>{const s=new tr({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[Na](){return this}pipe(...n){return function $d(e){return 0===e.length?nr:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=Ud(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function Ud(e){var t;return null!==(t=e??An.Promise)&&void 0!==t?t:Promise}const TD=yo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Xn=(()=>{class e extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new Gd(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new TD}next(n){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Vd:(this.currentObservers=null,o.push(n),new Ct(()=>{this.currentObservers=null,Kn(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new Te;return n.source=this,n}}return e.create=(t,n)=>new Gd(t,n),e})();class Gd extends Xn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===i||i.call(n,t)}error(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===i||i.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,i;return null!==(i=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==i?i:Vd}}function pt(e){return t=>{if(function xD(e){return me(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function rt(e,t,n,i,r){return new AD(e,t,n,i,r)}class AD extends Aa{constructor(t,n,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=r?function(a){try{r(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Jn(e,t){return pt((n,i)=>{let r=0;n.subscribe(rt(i,o=>{i.next(e.call(t,o,r++))}))})}function hn(e){return this instanceof hn?(this.v=e,this):new hn(e)}function Zd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Fa(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(a,c){!function r(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}(a,c,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Qd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Yd(e){return me(e?.then)}function Kd(e){return me(e[Na])}function Xd(e){return Symbol.asyncIterator&&me(e?.[Symbol.asyncIterator])}function Jd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ef=function KD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function tf(e){return me(e?.[ef])}function nf(e){return function qd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(p,m){o.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function c(f){f.value instanceof hn?Promise.resolve(f.value.v).then(l,u):d(o[0][2],f)}(i[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield hn(n.read());if(r)return yield hn(void 0);yield yield hn(i)}}finally{n.releaseLock()}})}function rf(e){return me(e?.getReader)}function wt(e){if(e instanceof Te)return e;if(null!=e){if(Kd(e))return function XD(e){return new Te(t=>{const n=e[Na]();if(me(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Qd(e))return function JD(e){return new Te(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Yd(e))return function eC(e){return new Te(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Hd)})}(e);if(Xd(e))return sf(e);if(tf(e))return function tC(e){return new Te(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(rf(e))return function nC(e){return sf(nf(e))}(e)}throw Jd(e)}function sf(e){return new Te(t=>{(function iC(e,t){var n,i,r,o;return function zd(e,t,n,i){return new(n||(n=Promise))(function(o,s){function a(u){try{l(i.next(u))}catch(d){s(d)}}function c(u){try{l(i.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):function r(o){return o instanceof n?o:new n(function(s){s(o)})}(u.value).then(a,c)}l((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Zd(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Qt(e,t,n,i=0,r=!1){const o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function af(e,t,n=1/0){return me(t)?af((i,r)=>Jn((o,s)=>t(i,o,r,s))(wt(e(i,r))),n):("number"==typeof t&&(n=t),pt((i,r)=>function rC(e,t,n,i,r,o,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=m=>l<i?p(m):c.push(m),p=m=>{o&&t.next(m),l++;let b=!1;wt(n(m,u++)).subscribe(rt(t,y=>{r?.(y),o?h(y):t.next(y)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&l<i;){const y=c.shift();s?Qt(t,s,()=>p(y)):p(y)}f()}catch(y){t.error(y)}}))};return e.subscribe(rt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}function cf(e=1/0){return af(nr,e)}const La=new Te(e=>e.complete());function Va(e){return e[e.length-1]}function lf(e){return me(Va(e))?e.pop():void 0}function ir(e){return function sC(e){return e&&me(e.schedule)}(Va(e))?e.pop():void 0}function uf(e,t=0){return pt((n,i)=>{n.subscribe(rt(i,r=>Qt(i,e,()=>i.next(r),t),()=>Qt(i,e,()=>i.complete(),t),r=>Qt(i,e,()=>i.error(r),t)))})}function df(e,t=0){return pt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function ff(e,t){if(!e)throw new Error("Iterable cannot be null");return new Te(n=>{Qt(n,t,()=>{const i=e[Symbol.asyncIterator]();Qt(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function ei(e,t){return t?function hC(e,t){if(null!=e){if(Kd(e))return function cC(e,t){return wt(e).pipe(df(t),uf(t))}(e,t);if(Qd(e))return function uC(e,t){return new Te(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(Yd(e))return function lC(e,t){return wt(e).pipe(df(t),uf(t))}(e,t);if(Xd(e))return ff(e,t);if(tf(e))return function dC(e,t){return new Te(n=>{let i;return Qt(n,t,()=>{i=e[ef](),Qt(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void n.error(s)}o?n.complete():n.next(r)},0,!0)}),()=>me(i?.return)&&i.return()})}(e,t);if(rf(e))return function fC(e,t){return ff(nf(e),t)}(e,t)}throw Jd(e)}(e,t):wt(e)}function hf(...e){const t=ir(e),n=function aC(e,t){return"number"==typeof Va(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?wt(i[0]):cf(n)(ei(i,t)):La}class pC extends Xn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function pf(e={}){const{connector:t=(()=>new Xn),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,c,l=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,u=d=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return pt((m,b)=>{l++,!d&&!u&&f();const y=c=c??t();b.add(()=>{l--,0===l&&!d&&!u&&(a=Ba(p,r))}),y.subscribe(b),!s&&l>0&&(s=new tr({next:g=>y.next(g),error:g=>{d=!0,f(),a=Ba(h,n,g),y.error(g)},complete:()=>{u=!0,f(),a=Ba(h,i),y.complete()}}),wt(m).subscribe(s))})(o)}}function Ba(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new tr({next:()=>{i.unsubscribe(),e()}});return wt(t(...n)).subscribe(i)}function mf(e,t){return pt((n,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();n.subscribe(rt(i,c=>{r?.unsubscribe();let l=0;const u=o++;wt(e(c,u)).subscribe(r=rt(i,d=>i.next(t?t(c,d,u,l++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function _C(e,t){return e===t}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function Mo(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function we(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(we).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ja(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const bC=ee({__forward_ref__:ee});function oe(e){return e.__forward_ref__=oe,e.toString=function(){return we(this())},e}function R(e){return Ha(e)?e():e}function Ha(e){return"function"==typeof e&&e.hasOwnProperty(bC)&&e.__forward_ref__===oe}function $a(e){return e&&!!e.\u0275providers}const gf="https://g.co/ng/security#xss";class D extends Error{constructor(t,n){super(function Io(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function F(e){return"string"==typeof e?e:null==e?"":String(e)}function Ua(e,t){throw new D(-201,!1)}function mt(e,t){null==e&&function O(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Re(e){return{providers:e.providers||[],imports:e.imports||[]}}function To(e){return _f(e,Ao)||_f(e,bf)}function _f(e,t){return e.hasOwnProperty(t)?e[t]:null}function xo(e){return e&&(e.hasOwnProperty(Ga)||e.hasOwnProperty(MC))?e[Ga]:null}const Ao=ee({\u0275prov:ee}),Ga=ee({\u0275inj:ee}),bf=ee({ngInjectableDef:ee}),MC=ee({ngInjectorDef:ee});var U=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}(U||{});let za;function Ye(e){const t=za;return za=e,t}function yf(e,t,n){const i=To(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&U.Optional?null:void 0!==t?t:void Ua(we(e))}const se=globalThis;class M{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const rr={},Ya="__NG_DI_FLAG__",So="ngTempTokenPath",xC=/\n/gm,Cf="__source";let ti;function pn(e){const t=ti;return ti=e,t}function OC(e,t=U.Default){if(void 0===ti)throw new D(-203,!1);return null===ti?yf(e,void 0,t):ti.get(e,t&U.Optional?null:void 0,t)}function P(e,t=U.Default){return(function vf(){return za}()||OC)(R(e),t)}function J(e,t=U.Default){return P(e,Oo(t))}function Oo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ka(e){const t=[];for(let n=0;n<e.length;n++){const i=R(e[n]);if(Array.isArray(i)){if(0===i.length)throw new D(900,!1);let r,o=U.Default;for(let s=0;s<i.length;s++){const a=i[s],c=NC(a);"number"==typeof c?-1===c?r=a.token:o|=c:r=a}t.push(P(r,o))}else t.push(P(i))}return t}function or(e,t){return e[Ya]=t,e.prototype[Ya]=t,e}function NC(e){return e[Ya]}function Yt(e){return{toString:e}.toString()}var No=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(No||{}),Et=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Et||{});const Pt={},Q=[],ko=ee({\u0275cmp:ee}),Xa=ee({\u0275dir:ee}),Ja=ee({\u0275pipe:ee}),Ef=ee({\u0275mod:ee}),Kt=ee({\u0275fac:ee}),sr=ee({__NG_ELEMENT_ID__:ee}),Mf=ee({__NG_ENV_ID__:ee});function If(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}function ec(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],s=n[i++],a=n[i++];e.setAttribute(t,s,a,o)}else{const o=r,s=n[++i];xf(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),i++}}return i}function Tf(e){return 3===e||4===e||6===e}function xf(e){return 64===e.charCodeAt(0)}function ar(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Af(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Af(e,t,n,i,r){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const Sf="ng-template";function PC(e,t,n){let i=0,r=!0;for(;i<e.length;){let o=e[i++];if("string"==typeof o&&r){const s=e[i++];if(n&&"class"===o&&-1!==If(s.toLowerCase(),t,0))return!0}else{if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(r=!1)}}return!1}function Of(e){return 4===e.type&&e.value!==Sf}function FC(e,t,n){return t===(4!==e.type||n?e.value:Sf)}function LC(e,t,n){let i=4;const r=e.attrs||[],o=function jC(e){for(let t=0;t<e.length;t++)if(Tf(e[t]))return t;return e.length}(r);let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&i){if(i=2|1&i,""!==c&&!FC(e,c,n)||""===c&&1===t.length){if(Mt(i))return!1;s=!0}}else{const l=8&i?c:t[++a];if(8&i&&null!==e.attrs){if(!PC(e.attrs,l,n)){if(Mt(i))return!1;s=!0}continue}const d=VC(8&i?"class":c,r,Of(e),n);if(-1===d){if(Mt(i))return!1;s=!0;continue}if(""!==l){let f;f=d>o?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==If(h,l,0)||2&i&&l!==f){if(Mt(i))return!1;s=!0}}}}else{if(!s&&!Mt(i)&&!Mt(c))return!1;if(s&&Mt(c))continue;s=!1,i=c|1&i}}return Mt(i)||s}function Mt(e){return 0==(1&e)}function VC(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const s=t[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function HC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Nf(e,t,n=!1){for(let i=0;i<t.length;i++)if(LC(e,t[i],n))return!0;return!1}function kf(e,t){return e?":not("+t.trim()+")":t}function UC(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const a=e[++n];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Mt(s)&&(t+=kf(o,r),r=""),i=s,o=o||!Mt(i);n++}return""!==r&&(t+=kf(o,r)),t}function It(e){return Yt(()=>{const t=Pf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===No.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Et.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""};Ff(n);const i=e.dependencies;return n.directiveDefs=Ro(i,!1),n.pipeDefs=Ro(i,!0),n.id=function KC(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function qC(e){return G(e)||xe(e)}function ZC(e){return null!==e}function je(e){return Yt(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Rf(e,t){if(null==e)return Pt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}function V(e){return Yt(()=>{const t=Pf(e);return Ff(t),t})}function Ke(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function G(e){return e[ko]||null}function xe(e){return e[Xa]||null}function He(e){return e[Ja]||null}function Pf(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Pt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Rf(e.inputs,t),outputs:Rf(e.outputs)}}function Ff(e){e.features?.forEach(t=>t(e))}function Ro(e,t){if(!e)return null;const n=t?He:qC;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(ZC)}const _e=0,C=1,j=2,fe=3,Tt=4,lr=5,Pe=6,ni=7,ve=8,mn=9,ii=10,L=11,ur=12,Lf=13,ri=14,ye=15,dr=16,oi=17,Ft=18,fr=19,Vf=20,gn=21,Xt=22,hr=23,pr=24,H=25,tc=1,Bf=2,Lt=7,si=9,Ae=11;function Xe(e){return Array.isArray(e)&&"object"==typeof e[tc]}function $e(e){return Array.isArray(e)&&!0===e[tc]}function nc(e){return 0!=(4&e.flags)}function Nn(e){return e.componentOffset>-1}function Fo(e){return 1==(1&e.flags)}function xt(e){return!!e.template}function ic(e){return 0!=(512&e[j])}function kn(e,t){return e.hasOwnProperty(Kt)?e[Kt]:null}let Se=null,Lo=!1;function gt(e){const t=Se;return Se=e,t}const $f={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Gf(e){if(!gr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!qf(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Wf(e){e.dirty=!0,function zf(e){if(void 0===e.liveConsumerNode)return;const t=Lo;Lo=!0;try{for(const n of e.liveConsumerNode)n.dirty||Wf(n)}finally{Lo=t}}(e),e.consumerMarkedDirty?.(e)}function oc(e){return e&&(e.nextProducerIndex=0),gt(e)}function sc(e,t){if(gt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(gr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Vo(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function qf(e){ai(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Gf(n),i!==n.version))return!0}return!1}function Zf(e){if(ai(e),gr(e))for(let t=0;t<e.producerNode.length;t++)Vo(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Vo(e,t){if(function Yf(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),ai(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)Vo(e.producerNode[i],e.producerIndexOfThis[i]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];ai(r),r.producerIndexOfThis[i]=t}}function gr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ai(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Kf=null;const th=()=>{},uw=(()=>({...$f,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:th}))();class nh{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Jt(){return ih}function ih(e){return e.type.prototype.ngOnChanges&&(e.setInput=fw),dw}function dw(){const e=oh(this),t=e?.current;if(t){const n=e.previous;if(n===Pt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function fw(e,t,n,i){const r=this.declaredInputs[n],o=oh(e)||function hw(e,t){return e[rh]=t}(e,{previous:Pt,current:null}),s=o.current||(o.current={}),a=o.previous,c=a[r];s[r]=new nh(c&&c.currentValue,t,a===Pt),e[i]=t}Jt.ngInherit=!0;const rh="__ngSimpleChanges__";function oh(e){return e[rh]||null}const Vt=function(e,t,n){};function ae(e){for(;Array.isArray(e);)e=e[_e];return e}function Bo(e,t){return ae(t[e])}function Je(e,t){return ae(t[e.index])}function ch(e,t){return e.data[t]}function ci(e,t){return e[t]}function at(e,t){const n=t[e];return Xe(n)?n:n[_e]}function bn(e,t){return null==t?null:e[t]}function lh(e){e[oi]=0}function vw(e){1024&e[j]||(e[j]|=1024,dh(e,1))}function uh(e){1024&e[j]&&(e[j]&=-1025,dh(e,-1))}function dh(e,t){let n=e[fe];if(null===n)return;n[lr]+=t;let i=n;for(n=n[fe];null!==n&&(1===t&&1===i[lr]||-1===t&&0===i[lr]);)n[lr]+=t,i=n,n=n[fe]}const N={lFrame:Ch(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ph(){return N.bindingsEnabled}function _(){return N.lFrame.lView}function z(){return N.lFrame.tView}function ue(e){return N.lFrame.contextLView=e,e[ve]}function de(e){return N.lFrame.contextLView=null,e}function Oe(){let e=mh();for(;null!==e&&64===e.type;)e=e.parent;return e}function mh(){return N.lFrame.currentTNode}function Bt(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function dc(){return N.lFrame.isParent}function fc(){N.lFrame.isParent=!1}function Ue(){const e=N.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ui(){return N.lFrame.bindingIndex++}function tn(e){const t=N.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ow(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,hc(t)}function hc(e){N.lFrame.currentDirectiveIndex=e}function vh(){return N.lFrame.currentQueryIndex}function mc(e){N.lFrame.currentQueryIndex=e}function kw(e){const t=e[C];return 2===t.type?t.declTNode:1===t.type?e[Pe]:null}function yh(e,t,n){if(n&U.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&U.Host||(r=kw(o),null===r||(o=o[ri],10&r.type))););if(null===r)return!1;t=r,e=o}const i=N.lFrame=Dh();return i.currentTNode=t,i.lView=e,!0}function gc(e){const t=Dh(),n=e[C];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Dh(){const e=N.lFrame,t=null===e?null:e.child;return null===t?Ch(e):t}function Ch(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function wh(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Eh=wh;function _c(){const e=wh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ge(){return N.lFrame.selectedIndex}function Rn(e){N.lFrame.selectedIndex=e}function ge(){const e=N.lFrame;return ch(e.tView,e.selectedIndex)}let Ih=!0;function jo(){return Ih}function vn(e){Ih=e}function Ho(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=u&&(e.destroyHooks??=[]).push(n,u)}}function $o(e,t,n){Th(e,t,3,n)}function Uo(e,t,n,i){(3&e[j])===n&&Th(e,t,n,i)}function bc(e,t){let n=e[j];(3&n)===t&&(n&=8191,n+=1,e[j]=n)}function Th(e,t,n,i){const o=i??-1,s=t.length-1;let a=0;for(let c=void 0!==i?65535&e[oi]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=i&&a>=i)break}else t[c]<0&&(e[oi]+=65536),(a<o||-1==o)&&(Hw(e,n,t,c),e[oi]=(4294901760&e[oi])+c+2),c++}function xh(e,t){Vt(4,e,t);const n=gt(null);try{t.call(e)}finally{gt(n),Vt(5,e,t)}}function Hw(e,t,n,i){const r=n[i]<0,o=n[i+1],a=e[r?-n[i]:n[i]];r?e[j]>>13<e[oi]>>16&&(3&e[j])===t&&(e[j]+=8192,xh(a,o)):xh(a,o)}const di=-1;class br{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function yc(e){return e!==di}function vr(e){return 32767&e}function yr(e,t){let n=function zw(e){return e>>16}(e),i=t;for(;n>0;)i=i[ri],n--;return i}let Dc=!0;function Go(e){const t=Dc;return Dc=e,t}const Ah=255,Sh=5;let Ww=0;const jt={};function zo(e,t){const n=Oh(e,t);if(-1!==n)return n;const i=t[C];i.firstCreatePass&&(e.injectorIndex=t.length,Cc(i.data,e),Cc(t,null),Cc(i.blueprint,null));const r=Wo(e,t),o=e.injectorIndex;if(yc(r)){const s=vr(r),a=yr(r,t),c=a[C].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|c[s+l]}return t[o+8]=r,o}function Cc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Oh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Wo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=Vh(r),null===i)return di;if(n++,r=r[ri],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return di}function wc(e,t,n){!function qw(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(sr)&&(i=n[sr]),null==i&&(i=n[sr]=Ww++);const r=i&Ah;t.data[e+(r>>Sh)]|=1<<r}(e,t,n)}function Nh(e,t,n){if(n&U.Optional||void 0!==e)return e;Ua()}function kh(e,t,n,i){if(n&U.Optional&&void 0===i&&(i=null),!(n&(U.Self|U.Host))){const r=e[mn],o=Ye(void 0);try{return r?r.get(t,i,n&U.Optional):yf(t,i,n&U.Optional)}finally{Ye(o)}}return Nh(i,0,n)}function Rh(e,t,n,i=U.Default,r){if(null!==e){if(2048&t[j]&&!(i&U.Self)){const s=function Jw(e,t,n,i,r){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[j]&&!(512&s[j]);){const a=Ph(o,s,n,i|U.Self,jt);if(a!==jt)return a;let c=o.parent;if(!c){const l=s[Vf];if(l){const u=l.get(n,jt,i);if(u!==jt)return u}c=Vh(s),s=s[ri]}o=c}return r}(e,t,n,i,jt);if(s!==jt)return s}const o=Ph(e,t,n,i,jt);if(o!==jt)return o}return kh(t,n,i,r)}function Ph(e,t,n,i,r){const o=function Yw(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(sr)?e[sr]:void 0;return"number"==typeof t?t>=0?t&Ah:Xw:t}(n);if("function"==typeof o){if(!yh(t,e,i))return i&U.Host?Nh(r,0,i):kh(t,n,i,r);try{let s;if(s=o(i),null!=s||i&U.Optional)return s;Ua()}finally{Eh()}}else if("number"==typeof o){let s=null,a=Oh(e,t),c=di,l=i&U.Host?t[ye][Pe]:null;for((-1===a||i&U.SkipSelf)&&(c=-1===a?Wo(e,t):t[a+8],c!==di&&Lh(i,!1)?(s=t[C],a=vr(c),t=yr(c,t)):a=-1);-1!==a;){const u=t[C];if(Fh(o,a,u.data)){const d=Qw(a,t,n,s,i,l);if(d!==jt)return d}c=t[a+8],c!==di&&Lh(i,t[C].data[a+8]===l)&&Fh(o,a,t)?(s=u,a=vr(c),t=yr(c,t)):a=-1}}return r}function Qw(e,t,n,i,r,o){const s=t[C],a=s.data[e+8],u=qo(a,s,n,null==i?Nn(a)&&Dc:i!=s&&0!=(3&a.type),r&U.Host&&o===a);return null!==u?Pn(t,s,u,a):jt}function qo(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,c=e.directiveStart,u=o>>20,f=r?a+u:e.directiveEnd;for(let h=i?a:a+u;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(r){const h=s[c];if(h&&xt(h)&&h.type===n)return c}return null}function Pn(e,t,n,i){let r=e[n];const o=t.data;if(function $w(e){return e instanceof br}(r)){const s=r;s.resolving&&function vC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${n}`)}(function X(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():F(e)}(o[n]));const a=Go(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Ye(s.injectImpl):null;yh(e,i,U.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function jw(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=ih(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==l&&Ye(l),Go(a),s.resolving=!1,Eh()}}return r}function Fh(e,t,n){return!!(n[t+(e>>Sh)]&1<<e)}function Lh(e,t){return!(e&U.Self||e&U.Host&&t)}class ze{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Rh(this._tNode,this._lView,t,Oo(i),n)}}function Xw(){return new ze(Oe(),_())}function Fe(e){return Yt(()=>{const t=e.prototype.constructor,n=t[Kt]||Ec(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Kt]||Ec(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Ec(e){return Ha(e)?()=>{const t=Ec(R(e));return t&&t()}:kn(e)}function Vh(e){const t=e[C],n=t.type;return 2===n?t.declTNode:1===n?e[Pe]:null}const hi="__parameters__";function mi(e,t,n){return Yt(()=>{const i=function Ic(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(hi)?c[hi]:Object.defineProperty(c,hi,{value:[]})[hi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function _i(e,t){e.forEach(n=>Array.isArray(n)?_i(n,t):t(n))}function jh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Zo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ct(e,t,n){let i=bi(e,t);return i>=0?e[1|i]=n:(i=~i,function sE(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Tc(e,t){const n=bi(e,t);if(n>=0)return e[1|n]}function bi(e,t){return function Hh(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<n];if(t===s)return o<<n;s>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const Ac=or(mi("Optional"),8),Sc=or(mi("SkipSelf"),4);function es(e){return 128==(128&e.flags)}var yn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(yn||{});const TE=/^>|^->|<!--|-->|--!>|<!-$/g,xE=/(<|>)/g,AE="\u200b$1\u200b";const Rc=new Map;let SE=0;const Fc="__ngContext__";function Le(e,t){Xe(t)?(e[Fc]=t[fr],function NE(e){Rc.set(e[fr],e)}(t)):e[Fc]=t}let Lc;function Vc(e,t){return Lc(e,t)}function Ir(e){const t=e[fe];return $e(t)?t[fe]:t}function ap(e){return lp(e[ur])}function cp(e){return lp(e[Tt])}function lp(e){for(;null!==e&&!$e(e);)e=e[Tt];return e}function Di(e,t,n,i,r){if(null!=i){let o,s=!1;$e(i)?o=i:Xe(i)&&(s=!0,i=i[_e]);const a=ae(i);0===e&&null!==n?null==r?hp(t,n,a):Fn(t,n,a,r||null,!0):1===e&&null!==n?Fn(t,n,a,r||null,!0):2===e?function as(e,t,n){const i=os(e,t);i&&function KE(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function eM(e,t,n,i,r){const o=n[Lt];o!==ae(n)&&Di(t,e,i,o,r);for(let a=Ae;a<n.length;a++){const c=n[a];xr(c[C],c,e,t,i,o)}}(t,e,o,n,r)}}function Bc(e,t){return e.createComment(function Jh(e){return e.replace(TE,t=>t.replace(xE,AE))}(t))}function is(e,t,n){return e.createElement(t,n)}function dp(e,t){const n=e[si],i=n.indexOf(t);uh(t),n.splice(i,1)}function rs(e,t){if(e.length<=Ae)return;const n=Ae+t,i=e[n];if(i){const r=i[dr];null!==r&&r!==e&&dp(r,i),t>0&&(e[n-1][Tt]=i[Tt]);const o=Zo(e,Ae+t);!function UE(e,t){xr(e,t,t[L],2,null,null),t[_e]=null,t[Pe]=null}(i[C],i);const s=o[Ft];null!==s&&s.detachView(o[C]),i[fe]=null,i[Tt]=null,i[j]&=-129}return i}function jc(e,t){if(!(256&t[j])){const n=t[L];t[hr]&&Zf(t[hr]),t[pr]&&Zf(t[pr]),n.destroyNode&&xr(e,t,n,3,null,null),function WE(e){let t=e[ur];if(!t)return Hc(e[C],e);for(;t;){let n=null;if(Xe(t))n=t[ur];else{const i=t[Ae];i&&(n=i)}if(!n){for(;t&&!t[Tt]&&t!==e;)Xe(t)&&Hc(t[C],t),t=t[fe];null===t&&(t=e),Xe(t)&&Hc(t[C],t),n=t&&t[Tt]}t=n}}(t)}}function Hc(e,t){if(!(256&t[j])){t[j]&=-129,t[j]|=256,function YE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof br)){const o=n[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],c=o[s+1];Vt(4,a,c);try{c.call(a)}finally{Vt(5,a,c)}}else{Vt(4,r,o);try{o.call(r)}finally{Vt(5,r,o)}}}}}(e,t),function QE(e,t){const n=e.cleanup,i=t[ni];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else n[o].call(i[n[o+1]]);null!==i&&(t[ni]=null);const r=t[gn];if(null!==r){t[gn]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(e,t),1===t[C].type&&t[L].destroy();const n=t[dr];if(null!==n&&$e(t[fe])){n!==t[fe]&&dp(n,t);const i=t[Ft];null!==i&&i.detachView(e)}!function kE(e){Rc.delete(e[fr])}(t)}}function $c(e,t,n){return function fp(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[_e];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Et.None||o===Et.Emulated)return null}return Je(i,n)}}(e,t.parent,n)}function Fn(e,t,n,i,r){e.insertBefore(t,n,i,r)}function hp(e,t,n){e.appendChild(t,n)}function pp(e,t,n,i,r){null!==i?Fn(e,t,n,i,r):hp(e,t,n)}function os(e,t){return e.parentNode(t)}let Uc,cs,qc,ls,_p=function gp(e,t,n){return 40&e.type?Je(e,n):null};function ss(e,t,n,i){const r=$c(e,i,t),o=t[L],a=function mp(e,t,n){return _p(e,t,n)}(i.parent||t[Pe],i,t);if(null!=r)if(Array.isArray(n))for(let c=0;c<n.length;c++)pp(o,r,n[c],a,!1);else pp(o,r,n,a,!1);void 0!==Uc&&Uc(o,i,t,n,r)}function Tr(e,t){if(null!==t){const n=t.type;if(3&n)return Je(t,e);if(4&n)return Gc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Tr(e,i);{const r=e[t.index];return $e(r)?Gc(-1,r):ae(r)}}if(32&n)return Vc(t,e)()||ae(e[t.index]);{const i=vp(e,t);return null!==i?Array.isArray(i)?i[0]:Tr(Ir(e[ye]),i):Tr(e,t.next)}}return null}function vp(e,t){return null!==t?e[ye][Pe].projection[t.projection]:null}function Gc(e,t){const n=Ae+e+1;if(n<t.length){const i=t[n],r=i[C].firstChild;if(null!==r)return Tr(i,r)}return t[Lt]}function zc(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],c=n.type;if(s&&0===t&&(a&&Le(ae(a),i),n.flags|=2),32!=(32&n.flags))if(8&c)zc(e,t,n.child,i,r,o,!1),Di(t,e,r,a,o);else if(32&c){const l=Vc(n,i);let u;for(;u=l();)Di(t,e,r,u,o);Di(t,e,r,a,o)}else 16&c?Dp(e,t,i,n,r,o):Di(t,e,r,a,o);n=s?n.projectionNext:n.next}}function xr(e,t,n,i,r,o){zc(n,i,e.firstChild,t,r,o,!1)}function Dp(e,t,n,i,r,o){const s=n[ye],c=s[Pe].projection[i.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)Di(t,e,r,c[l],o);else{let l=c;const u=s[fe];es(i)&&(l.flags|=128),zc(e,t,l,u,r,o,!0)}}function Cp(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function wp(e,t,n){const{mergedAttrs:i,classes:r,styles:o}=n;null!==i&&ec(e,t,i),null!==r&&Cp(e,t,r),null!==o&&function nM(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Ci(e){return function Wc(){if(void 0===cs&&(cs=null,se.trustedTypes))try{cs=se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cs}()?.createHTML(e)||e}function wi(){if(void 0!==qc)return qc;if(typeof document<"u")return document;throw new D(210,!1)}function Ep(e){return function Zc(){if(void 0===ls&&(ls=null,se.trustedTypes))try{ls=se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ls}()?.createHTML(e)||e}class Tp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${gf})`}}function Dn(e){return e instanceof Tp?e.changingThisBreaksApplicationSecurity:e}function Ar(e,t){const n=function fM(e){return e instanceof Tp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${gf})`)}return n===t}class hM{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ci(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class pM{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ci(t),n}}const gM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qc(e){return(e=String(e)).match(gM)?e:"unsafe:"+e}function nn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sr(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Ap=nn("area,br,col,hr,img,wbr"),Sp=nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Op=nn("rp,rt"),Yc=Sr(Ap,Sr(Sp,nn("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")),Sr(Op,nn("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")),Sr(Op,Sp)),Kc=nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Np=Sr(Kc,nn("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),nn("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")),_M=nn("script,style,template");class bM{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Yc.hasOwnProperty(n))return this.sanitizedSomething=!0,!_M.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!Np.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;Kc[a]&&(c=Qc(c)),this.buf.push(" ",s,'="',kp(c),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Yc.hasOwnProperty(n)&&!Ap.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(kp(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&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 n}}const vM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yM=/([^\#-~ |!])/g;function kp(e){return e.replace(/&/g,"&").replace(vM,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(yM,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let us;function Xc(e){return"content"in e&&function CM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ei=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}(Ei||{});function Rp(e){const t=Or();return t?Ep(t.sanitize(Ei.HTML,e)||""):Ar(e,"HTML")?Ep(Dn(e)):function DM(e,t){let n=null;try{us=us||function xp(e){const t=new pM(e);return function mM(){try{return!!(new window.DOMParser).parseFromString(Ci(""),"text/html")}catch{return!1}}()?new hM(t):t}(e);let i=t?String(t):"";n=us.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=us.getInertBodyElement(i)}while(i!==o);return Ci((new bM).sanitizeChildren(Xc(n)||n))}finally{if(n){const i=Xc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(wi(),F(e))}function rn(e){const t=Or();return t?t.sanitize(Ei.URL,e)||"":Ar(e,"URL")?Dn(e):Qc(F(e))}function Or(){const e=_();return e&&e[ii].sanitizer}const ds=new M("ENVIRONMENT_INITIALIZER"),Fp=new M("INJECTOR",-1),Lp=new M("INJECTOR_DEF_TYPES");class Jc{get(t,n=rr){if(n===rr){const i=new Error(`NullInjectorError: No provider for ${we(t)}!`);throw i.name="NullInjectorError",i}return n}}function AM(...e){return{\u0275providers:Bp(0,e),\u0275fromNgModule:!0}}function Bp(e,...t){const n=[],i=new Set;let r;const o=s=>{n.push(s)};return _i(t,s=>{const a=s;fs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&jp(r,o),n}function jp(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];el(r,o=>{t(o,i)})}}function fs(e,t,n,i){if(!(e=R(e)))return!1;let r=null,o=xo(e);const s=!o&&G(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const c=e.ngModule;if(o=xo(c),!o)return!1;r=c}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)fs(l,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let l;i.add(r);try{_i(o.imports,u=>{fs(u,t,n,i)&&(l||=[],l.push(u))})}finally{}void 0!==l&&jp(l,t)}if(!a){const l=kn(r)||(()=>new r);t({provide:r,useFactory:l,deps:Q},r),t({provide:Lp,useValue:r,multi:!0},r),t({provide:ds,useValue:()=>P(r),multi:!0},r)}const c=o.providers;if(null!=c&&!a){const l=e;el(c,u=>{t(u,l)})}}}return r!==e&&void 0!==e.providers}function el(e,t){for(let n of e)$a(n)&&(n=n.\u0275providers),Array.isArray(n)?el(n,t):t(n)}const SM=ee({provide:String,useValue:ee});function tl(e){return null!==e&&"object"==typeof e&&SM in e}function Ln(e){return"function"==typeof e}const nl=new M("Set Injector scope."),hs={},NM={};let il;function ps(){return void 0===il&&(il=new Jc),il}class on{}class Mi extends on{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ol(t,s=>this.processProvider(s)),this.records.set(Fp,Ii(void 0,this)),r.has("environment")&&this.records.set(on,Ii(void 0,this));const o=this.records.get(nl);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Lp.multi,Q,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=pn(this),i=Ye(void 0);try{return t()}finally{pn(n),Ye(i)}}get(t,n=rr,i=U.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Mf))return t[Mf](this);i=Oo(i);const o=pn(this),s=Ye(void 0);try{if(!(i&U.SkipSelf)){let c=this.records.get(t);if(void 0===c){const l=function LM(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&To(t);c=l&&this.injectableDefInScope(l)?Ii(rl(t),hs):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(i&U.Self?ps():this.parent).get(t,n=i&U.Optional&&n===rr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[So]=a[So]||[]).unshift(we(t)),o)throw a;return function kC(e,t,n,i){const r=e[So];throw t[Cf]&&r.unshift(t[Cf]),e.message=function RC(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=we(t);if(Array.isArray(t))r=t.map(we).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):we(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(xC,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[So]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ye(s),pn(o)}}resolveInjectorInitializers(){const t=pn(this),n=Ye(void 0);try{const r=this.get(ds.multi,Q,U.Self);for(const o of r)o()}finally{pn(t),Ye(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(we(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let n=Ln(t=R(t))?t:R(t&&t.provide);const i=function RM(e){return tl(e)?Ii(void 0,e.useValue):Ii(Up(e),hs)}(t);if(Ln(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=Ii(void 0,hs,!0),r.factory=()=>Ka(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===hs&&(n.value=NM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function FM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=R(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function rl(e){const t=To(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof M)throw new D(204,!1);if(e instanceof Function)return function kM(e){const t=e.length;if(t>0)throw function wr(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(t,"?"),new D(204,!1);const n=function EC(e){return e&&(e[Ao]||e[bf])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new D(204,!1)}function Up(e,t,n){let i;if(Ln(e)){const r=R(e);return kn(r)||rl(r)}if(tl(e))i=()=>R(e.useValue);else if(function $p(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ka(e.deps||[]));else if(function Hp(e){return!(!e||!e.useExisting)}(e))i=()=>P(R(e.useExisting));else{const r=R(e&&(e.useClass||e.provide));if(!function PM(e){return!!e.deps}(e))return kn(r)||rl(r);i=()=>new r(...Ka(e.deps))}return i}function Ii(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ol(e,t){for(const n of e)Array.isArray(n)?ol(n,t):n&&$a(n)?ol(n.\u0275providers,t):t(n)}const ms=new M("AppId",{providedIn:"root",factory:()=>VM}),VM="ng",Gp=new M("Platform Initializer"),Vn=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),sl=new M("CSP nonce",{providedIn:"root",factory:()=>wi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let zp=(e,t,n)=>null;function pl(e,t,n=!1){return zp(e,t,n)}class ZM{}class Zp{}class YM{resolveComponentFactory(t){throw function QM(e){const t=Error(`No component factory found for ${we(e)}.`);return t.ngComponent=e,t}(t)}}let Ai=(()=>{class e{static#e=this.NULL=new YM}return e})();function KM(){return Si(Oe(),_())}function Si(e,t){return new bt(Je(e,t))}let bt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=KM}return e})();function XM(e){return e instanceof bt?e.nativeElement:e}class Yp{}let Cn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function JM(){const e=_(),n=at(Oe().index,e);return(Xe(n)?n:e)[L]}()}return e})(),eI=(()=>{class e{static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:()=>null})}return e})();class Bn{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const tI=new Bn("16.2.12"),_l={};function em(e,t=null,n=null,i){const r=tm(e,t,n,i);return r.resolveInjectorInitializers(),r}function tm(e,t=null,n=null,i,r=new Set){const o=[n||Q,AM(e)];return i=i||("object"==typeof e?void 0:we(e)),new Mi(o,t||ps(),i||null,r)}let lt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=rr;static#t=this.NULL=new Jc;static create(n,i){if(Array.isArray(n))return em({name:""},i,n,"");{const r=n.name??"";return em({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=W({token:e,providedIn:"any",factory:()=>P(Fp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function vl(e){return e.ngOriginalError}class sn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&vl(t);for(;n&&vl(n);)n=vl(n);return n||null}}function Dl(e){return t=>{setTimeout(e,void 0,t)}}const ne=class cI extends Xn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,o=n||(()=>null),s=i;if(t&&"object"==typeof t){const c=t;r=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=Dl(o),r&&(r=Dl(r)),s&&(s=Dl(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof Ct&&t.add(a),a}};function im(...e){}class he{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ne(!1),this.onMicrotaskEmpty=new ne(!1),this.onStable=new ne(!1),this.onError=new ne(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function lI(){const e="function"==typeof se.requestAnimationFrame;let t=se[e?"requestAnimationFrame":"setTimeout"],n=se[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function fI(e){const t=()=>{!function dI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(se,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,wl(e),e.isCheckStableRunning=!0,Cl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),wl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{if(function pI(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(r,o,s,a);try{return rm(e),n.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),om(e)}},onInvoke:(n,i,r,o,s,a,c)=>{try{return rm(e),n.invoke(r,o,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),om(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,wl(e),Cl(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!he.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(he.isInAngularZone())throw new D(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,uI,im,im);try{return o.runTask(s,n,i)}finally{o.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const uI={};function Cl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function rm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function om(e){e._nesting--,Cl(e)}class hI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ne,this.onMicrotaskEmpty=new ne,this.onStable=new ne,this.onError=new ne}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const sm=new M("",{providedIn:"root",factory:am});function am(){const e=J(he);let t=!0;return hf(new Te(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),new Te(r=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{he.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const s=e.onUnstable.subscribe(()=>{he.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(pf()))}let El=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();function Rr(e){for(;e;){e[j]|=64;const t=Ir(e);if(ic(e)&&!t)return e;e=t}return null}const fm=new M("",{providedIn:"root",factory:()=>!1});let Cs=null;function gm(e,t){return e[t]??vm()}function _m(e,t){const n=vm();n.producerNode?.length&&(e[t]=Cs,n.lView=e,Cs=bm())}const EI={...$f,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Rr(e.lView)},lView:null};function bm(){return Object.create(EI)}function vm(){return Cs??=bm(),Cs}const B={};function w(e){ym(z(),_(),Ge()+e,!1)}function ym(e,t,n,i){if(!i)if(3==(3&t[j])){const o=e.preOrderCheckHooks;null!==o&&$o(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Uo(t,o,0,n)}Rn(n)}function v(e,t=U.Default){const n=_();return null===n?P(e,t):Rh(Oe(),n,R(e),t)}function ws(e,t,n,i,r,o,s,a,c,l,u){const d=t.blueprint.slice();return d[_e]=r,d[j]=140|i,(null!==l||e&&2048&e[j])&&(d[j]|=2048),lh(d),d[fe]=d[ri]=e,d[ve]=n,d[ii]=s||e&&e[ii],d[L]=a||e&&e[L],d[mn]=c||e&&e[mn]||null,d[Pe]=o,d[fr]=function OE(){return SE++}(),d[Xt]=u,d[Vf]=l,d[ye]=2==t.type?e[ye]:d,d}function ki(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Ml(e,t,n,i,r){const o=mh(),s=dc(),c=e.data[t]=function kI(e,t,n,i,r,o){let s=t?t.injectorIndex:-1,a=0;return function li(){return null!==N.skipHydrationRootTNode}()&&(a|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,t,n,i,r),function Sw(){return N.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const s=function _r(){const e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Bt(o,!0),o}function Pr(e,t,n,i){if(0===n)return-1;const r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Dm(e,t,n,i,r){const o=gm(t,hr),s=Ge(),a=2&i;try{Rn(-1),a&&t.length>H&&ym(e,t,H,!1),Vt(a?2:0,r);const l=a?o:null,u=oc(l);try{null!==l&&(l.dirty=!1),n(i,r)}finally{sc(l,u)}}finally{a&&null===t[hr]&&_m(t,hr),Rn(s),Vt(a?3:1,r)}}function Il(e,t,n){if(nc(t)){const i=gt(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{gt(i)}}}function Tl(e,t,n){ph()&&(function jI(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;Nn(n)&&function qI(e,t,n){const i=Je(t,e),r=Cm(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=Es(e,ws(e,r,null,s,i,t,null,e[ii].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=a}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||zo(n,t),Le(i,t);const s=n.initialInputs;for(let a=r;a<o;a++){const c=e.data[a],l=Pn(t,e,a,n);Le(l,t),null!==s&&ZI(0,a-r,l,c,0,s),xt(c)&&(at(n.index,t)[ve]=Pn(t,e,a,n))}}(e,t,n,Je(n,t)),64==(64&n.flags)&&Tm(e,t,n))}function xl(e,t,n=Je){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?n(t,e):e[s];e[r++]=a}}}function Cm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Al(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Al(e,t,n,i,r,o,s,a,c,l,u){const d=H+i,f=d+r,h=function TI(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:B);return n}(d,f),p="function"==typeof l?l():l;return h[C]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes: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:c,consts:p,incompleteFirstPass:!1,ssrId:u}}let wm=e=>null;function Em(e,t,n,i){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const o=e[r];null===i?Mm(n,t,r,o):i.hasOwnProperty(r)&&Mm(n,t,i[r],o)}return n}function Mm(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function ut(e,t,n,i,r,o,s,a){const c=Je(t,n);let u,l=t.inputs;!a&&null!=l&&(u=l[i])?(Rl(e,n,u,i,r),Nn(t)&&function FI(e,t){const n=at(t,e);16&n[j]||(n[j]|=64)}(n,t.index)):3&t.type&&(i=function PI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,t.value||"",i):r,o.setProperty(c,i,r))}function Sl(e,t,n,i){if(ph()){const r=null===i?null:{"":-1},o=function $I(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];if(Nf(t,s.selectors,!1))if(i||(i=[]),xt(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),Ol(e,t,a.length)}else i.unshift(s),Ol(e,t,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(e,n);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&Im(e,t,n,s,r,a),r&&function UI(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const o=n[t[r+1]];if(null==o)throw new D(-301,!1);i.push(t[r],o)}}}(n,i,r)}n.mergedAttrs=ar(n.mergedAttrs,n.attrs)}function Im(e,t,n,i,r,o){for(let l=0;l<i.length;l++)wc(zo(n,t),e,i[l].type);!function zI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let l=0;l<i.length;l++){const u=i[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=Pr(e,t,i.length,null);for(let l=0;l<i.length;l++){const u=i[l];n.mergedAttrs=ar(n.mergedAttrs,u.hostAttrs),WI(e,n,t,c,u),GI(c,u,r),null!==u.contentQueries&&(n.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(n.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}!function RI(e,t,n){const r=t.directiveEnd,o=e.data,s=t.attrs,a=[];let c=null,l=null;for(let u=t.directiveStart;u<r;u++){const d=o[u],f=n?n.get(d):null,p=f?f.outputs:null;c=Em(d.inputs,u,c,f?f.inputs:null),l=Em(d.outputs,u,l,p);const m=null===c||null===s||Of(t)?null:QI(c,u,s);a.push(m)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}(e,n,o)}function Tm(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,s=function Nw(){return N.lFrame.currentDirectiveIndex}();try{Rn(o);for(let a=i;a<r;a++){const c=e.data[a],l=t[a];hc(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&HI(c,l)}}finally{Rn(-1),hc(s)}}function HI(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ol(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function GI(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;xt(t)&&(n[""]=e)}}function WI(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=kn(r.type)),s=new br(o,xt(r),v);e.blueprint[i]=s,n[i]=s,function VI(e,t,n,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function BI(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,i,o)}}(e,t,i,Pr(e,n,r.hostVars,B),r)}function Ht(e,t,n,i,r,o){const s=Je(e,t);!function Nl(e,t,n,i,r,o,s){if(null==o)e.removeAttribute(t,r,n);else{const a=null==s?F(o):s(o,i||"",r);e.setAttribute(t,r,a,n)}}(t[L],s,o,e.value,n,i,r)}function ZI(e,t,n,i,r,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;)xm(i,n,s[a++],s[a++],s[a++])}function xm(e,t,n,i,r){const o=gt(null);try{const s=e.inputTransforms;null!==s&&s.hasOwnProperty(i)&&(r=s[i].call(t,r)),null!==e.setInput?e.setInput(t,r,n,i):t[i]=r}finally{gt(o)}}function QI(e,t,n){let i=null,r=0;for(;r<n.length;){const o=n[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const s=e[o];for(let a=0;a<s.length;a+=2)if(s[a]===t){i.push(o,s[a+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function Am(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null,null]}function Sm(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i+1];if(-1!==o){const s=e.data[o];mc(n[i]),s.contentQueries(2,t[o],o)}}}function Es(e,t){return e[ur]?e[Lf][Tt]=t:e[ur]=t,e[Lf]=t,t}function kl(e,t,n){mc(0);const i=gt(null);try{t(e,n)}finally{gt(i)}}function Om(e){return e[ni]||(e[ni]=[])}function Nm(e){return e.cleanup||(e.cleanup=[])}function Rm(e,t){const n=e[mn],i=n?n.get(sn,null):null;i&&i.handleError(t)}function Rl(e,t,n,i,r){for(let o=0;o<n.length;){const s=n[o++],a=n[o++];xm(e.data[s],t[s],i,a,r)}}function YI(e,t){const n=at(t,e),i=n[C];!function KI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[_e];null!==r&&null===n[Xt]&&(n[Xt]=pl(r,n[mn])),Pl(i,n,n[ve])}function Pl(e,t,n){gc(t);try{const i=e.viewQuery;null!==i&&kl(1,i,n);const r=e.template;null!==r&&Dm(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Sm(e,t),e.staticViewQueries&&kl(2,e.viewQuery,n);const o=e.components;null!==o&&function XI(e,t){for(let n=0;n<t.length;n++)YI(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[j]&=-5,_c()}}let Pm=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,i,r){const o=typeof Zone>"u"?null:Zone.current,s=function lw(e,t,n){const i=Object.create(uw);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const r=s=>{i.cleanupFn=s};return i.ref={notify:()=>Wf(i),run:()=>{if(i.dirty=!1,i.hasRun&&!qf(i))return;i.hasRun=!0;const s=oc(i);try{i.cleanupFn(),i.cleanupFn=th,i.fn(r)}finally{sc(i,s)}},cleanup:()=>i.cleanupFn()},i.ref}(n,l=>{this.all.has(l)&&this.queue.set(l,o)},r);let a;this.all.add(s),s.notify();const c=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=i?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ms(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?r=ja(r,a):2==o&&(i=ja(i,a+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Fr(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];null!==o&&i.push(ae(o)),$e(o)&&Fm(o,i);const s=n.type;if(8&s)Fr(e,t,n.child,i);else if(32&s){const a=Vc(n,t);let c;for(;c=a();)i.push(c)}else if(16&s){const a=vp(t,n);if(Array.isArray(a))i.push(...a);else{const c=Ir(t[ye]);Fr(c[C],c,a,i,!0)}}n=r?n.projectionNext:n.next}return i}function Fm(e,t){for(let n=Ae;n<e.length;n++){const i=e[n],r=i[C].firstChild;null!==r&&Fr(i[C],i,r,t)}e[Lt]!==e[_e]&&t.push(e[Lt])}function Is(e,t,n,i=!0){const r=t[ii],o=r.rendererFactory,s=r.afterRenderEventManager;o.begin?.(),s?.begin();try{Lm(e,t,e.template,n)}catch(c){throw i&&Rm(t,c),c}finally{o.end?.(),r.effectManager?.flush(),s?.end()}}function Lm(e,t,n,i){const r=t[j];if(256!=(256&r)){t[ii].effectManager?.flush(),gc(t);try{lh(t),function _h(e){return N.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Dm(e,t,n,2,i);const s=3==(3&r);if(s){const l=e.preOrderCheckHooks;null!==l&&$o(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Uo(t,l,0,null),bc(t,0)}if(function t0(e){for(let t=ap(e);null!==t;t=cp(t)){if(!t[Bf])continue;const n=t[si];for(let i=0;i<n.length;i++){vw(n[i])}}}(t),Vm(t,2),null!==e.contentQueries&&Sm(e,t),s){const l=e.contentCheckHooks;null!==l&&$o(t,l)}else{const l=e.contentHooks;null!==l&&Uo(t,l,1),bc(t,1)}!function II(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const i=gm(t,pr);try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Rn(~o);else{const s=o,a=n[++r],c=n[++r];Ow(a,s),i.dirty=!1;const l=oc(i);try{c(2,t[s])}finally{sc(i,l)}}}}finally{null===t[pr]&&_m(t,pr),Rn(-1)}}(e,t);const a=e.components;null!==a&&jm(t,a,0);const c=e.viewQuery;if(null!==c&&kl(2,c,i),s){const l=e.viewCheckHooks;null!==l&&$o(t,l)}else{const l=e.viewHooks;null!==l&&Uo(t,l,2),bc(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[j]&=-73,uh(t)}finally{_c()}}}function Vm(e,t){for(let n=ap(e);null!==n;n=cp(n))for(let i=Ae;i<n.length;i++)Bm(n[i],t)}function n0(e,t,n){Bm(at(t,e),n)}function Bm(e,t){if(!function _w(e){return 128==(128&e[j])}(e))return;const n=e[C],i=e[j];if(80&i&&0===t||1024&i||2===t)Lm(n,e,n.template,e[ve]);else if(e[lr]>0){Vm(e,1);const r=n.components;null!==r&&jm(e,r,1)}}function jm(e,t,n){for(let i=0;i<t.length;i++)n0(e,t[i],n)}class Lr{get rootNodes(){const t=this._lView,n=t[C];return Fr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ve]}set context(t){this._lView[ve]=t}get destroyed(){return 256==(256&this._lView[j])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[fe];if($e(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(rs(t,i),Zo(n,i))}this._attachedToViewContainer=!1}jc(this._lView[C],this._lView)}onDestroy(t){!function fh(e,t){if(256==(256&e[j]))throw new D(911,!1);null===e[gn]&&(e[gn]=[]),e[gn].push(t)}(this._lView,t)}markForCheck(){Rr(this._cdRefInjectingView||this._lView)}detach(){this._lView[j]&=-129}reattach(){this._lView[j]|=128}detectChanges(){Is(this._lView[C],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zE(e,t){xr(e,t,t[L],2,null,null)}(this._lView[C],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}class r0 extends Lr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Is(t[C],t,t[ve],!1)}checkNoChanges(){}get context(){return null}}class Hm extends Ai{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=G(t);return new Vr(n,this.ngModule)}}function $m(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class s0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=Oo(i);const r=this.injector.get(t,_l,i);return r!==_l||n===_l?r:this.parentInjector.get(t,n,i)}}class Vr extends Zp{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=$m(t.inputs);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return $m(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function GC(e){return e.map(UC).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof on?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new s0(t,o):t,a=s.get(Yp,null);if(null===a)throw new D(407,!1);const d={rendererFactory:a,sanitizer:s.get(eI,null),effectManager:s.get(Pm,null),afterRenderEventManager:s.get(El,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=i?function xI(e,t,n,i){const o=i.get(fm,!1)||n===Et.ShadowDom,s=e.selectRootElement(t,o);return function AI(e){wm(e)}(s),s}(f,i,this.componentDef.encapsulation,s):is(f,h,function o0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),y=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let g=null;null!==p&&(g=pl(p,s,!0));const I=Al(0,null,null,1,0,null,null,null,null,null,null),k=ws(null,I,null,y,null,null,d,f,s,null,g);let $,it;gc(k);try{const fn=this.componentDef;let er,Ld=null;fn.findHostDirectiveDefs?(er=[],Ld=new Map,fn.findHostDirectiveDefs(fn,er,Ld),er.push(fn)):er=[fn];const eF=function c0(e,t){const n=e[C],i=H;return e[i]=t,ki(n,i,2,"#host",null)}(k,p),tF=function l0(e,t,n,i,r,o,s){const a=r[C];!function u0(e,t,n,i){for(const r of e)t.mergedAttrs=ar(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Ms(t,t.mergedAttrs,!0),null!==n&&wp(i,n,t))}(i,e,t,s);let c=null;null!==t&&(c=pl(t,r[mn]));const l=o.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=ws(r,Cm(n),null,u,r[e.index],e,o,l,null,null,c);return a.firstCreatePass&&Ol(a,e,i.length-1),Es(r,d),r[e.index]=d}(eF,p,fn,er,k,d,f);it=ch(I,H),p&&function f0(e,t,n,i){if(i)ec(e,n,["ng-version",tI.full]);else{const{attrs:r,classes:o}=function zC(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!Mt(r))break;r=o}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&ec(e,n,r),o&&o.length>0&&Cp(e,n,o.join(" "))}}(f,fn,p,i),void 0!==n&&function h0(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const o=n[r];i.push(null!=o?Array.from(o):null)}}(it,this.ngContentSelectors,n),$=function d0(e,t,n,i,r,o){const s=Oe(),a=r[C],c=Je(s,r);Im(a,r,s,n,null,i);for(let u=0;u<n.length;u++)Le(Pn(r,a,s.directiveStart+u,s),r);Tm(a,r,s),c&&Le(c,r);const l=Pn(r,a,s.directiveStart+s.componentOffset,s);if(e[ve]=r[ve]=l,null!==o)for(const u of o)u(l,t);return Il(a,s,e),l}(tF,fn,er,Ld,k,[p0]),Pl(I,k,null)}finally{_c()}return new a0(this.componentType,$,Si(it,k),k,it)}}class a0 extends ZM{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new r0(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Rl(o[C],o,r,t,n),this.previousInputValues.set(t,n),Rr(at(this._tNode.index,o))}}get injector(){return new ze(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function p0(){const e=Oe();Ho(_()[C],e)}function te(e){let t=function Um(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(xt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const s=e;s.inputs=Ts(e.inputs),s.inputTransforms=Ts(e.inputTransforms),s.declaredInputs=Ts(e.declaredInputs),s.outputs=Ts(e.outputs);const a=r.hostBindings;a&&b0(e,a);const c=r.viewQuery,l=r.contentQueries;if(c&&g0(e,c),l&&_0(e,l),Mo(e.inputs,r.inputs),Mo(e.declaredInputs,r.declaredInputs),Mo(e.outputs,r.outputs),null!==r.inputTransforms&&(null===s.inputTransforms&&(s.inputTransforms={}),Mo(s.inputTransforms,r.inputTransforms)),xt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===te&&(n=!1)}}t=Object.getPrototypeOf(t)}!function m0(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=ar(r.hostAttrs,n=ar(n,r.hostAttrs))}}(i)}function Ts(e){return e===Pt?{}:e===Q?[]:e}function g0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function _0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function b0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function xs(e){return!!Fl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Fl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $t(e,t,n){return e[t]=n}function Ve(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ne(e,t,n,i){const r=_();return Ve(r,ui(),t)&&(z(),Ht(ge(),r,e,t,n,i)),Ne}function Pi(e,t,n,i){return Ve(e,ui(),n)?t+F(n)+i:B}function q(e,t,n,i,r,o,s,a){const c=_(),l=z(),u=e+H,d=l.firstCreatePass?function G0(e,t,n,i,r,o,s,a,c){const l=t.consts,u=ki(t,e,4,s||null,bn(l,a));Sl(t,n,u,bn(l,c)),Ho(t,u);const d=u.tView=Al(2,u,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,l,c,t,n,i,r,o,s):l.data[u];Bt(d,!1);const f=og(l,c,d,e);jo()&&ss(l,c,f,d),Le(f,c),Es(c,c[u]=Am(f,c,f,d)),Fo(d)&&Tl(l,c,d),null!=s&&xl(c,d,a)}let og=function sg(e,t,n,i){return vn(!0),t[L].createComment("")};function ks(e){return ci(function Aw(){return N.lFrame.contextLView}(),H+e)}function E(e,t,n){const i=_();return Ve(i,ui(),t)&&ut(z(),ge(),i,e,t,i[L],n,!1),E}function $l(e,t,n,i,r){const s=r?"class":"style";Rl(e,n,t.inputs[s],s,i)}function S(e,t,n,i){const r=_(),o=z(),s=H+e,a=r[L],c=o.firstCreatePass?function Z0(e,t,n,i,r,o){const s=t.consts,c=ki(t,e,2,i,bn(s,r));return Sl(t,n,c,bn(s,o)),null!==c.attrs&&Ms(c,c.attrs,!1),null!==c.mergedAttrs&&Ms(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,o,r,t,n,i):o.data[s],l=ag(o,r,c,a,t,e);r[s]=l;const u=Fo(c);return Bt(c,!0),wp(a,l,c),32!=(32&c.flags)&&jo()&&ss(o,r,l,c),0===function Dw(){return N.lFrame.elementDepthCount}()&&Le(l,r),function Cw(){N.lFrame.elementDepthCount++}(),u&&(Tl(o,r,c),Il(o,c,r)),null!==i&&xl(r,c),S}function T(){let e=Oe();dc()?fc():(e=e.parent,Bt(e,!1));const t=e;(function Ew(e){return N.skipHydrationRootTNode===e})(t)&&function xw(){N.skipHydrationRootTNode=null}(),function ww(){N.lFrame.elementDepthCount--}();const n=z();return n.firstCreatePass&&(Ho(n,e),nc(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Uw(e){return 0!=(8&e.flags)}(t)&&$l(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Gw(e){return 0!=(16&e.flags)}(t)&&$l(n,t,_(),t.stylesWithoutHost,!1),T}function Me(e,t,n,i){return S(e,t,n,i),T(),Me}let ag=(e,t,n,i,r,o)=>(vn(!0),is(i,r,function Mh(){return N.lFrame.currentNamespace}()));function At(e,t,n){const i=_(),r=z(),o=e+H,s=r.firstCreatePass?function K0(e,t,n,i,r){const o=t.consts,s=bn(o,i),a=ki(t,e,8,"ng-container",s);return null!==s&&Ms(a,s,!0),Sl(t,n,a,bn(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,r,i,t,n):r.data[o];Bt(s,!0);const a=lg(r,i,s,e);return i[o]=a,jo()&&ss(r,i,a,s),Le(a,i),Fo(s)&&(Tl(r,i,s),Il(r,s,i)),null!=n&&xl(i,s),At}function St(){let e=Oe();const t=z();return dc()?fc():(e=e.parent,Bt(e,!1)),t.firstCreatePass&&(Ho(t,e),nc(e)&&t.queries.elementEnd(e)),St}let lg=(e,t,n,i)=>(vn(!0),Bc(t[L],""));function dt(){return _()}function Rs(e){return!!e&&"function"==typeof e.then}function ug(e){return!!e&&"function"==typeof e.subscribe}function ie(e,t,n,i){const r=_(),o=z(),s=Oe();return function fg(e,t,n,i,r,o,s){const a=Fo(i),l=e.firstCreatePass&&Nm(e),u=t[ve],d=Om(t);let f=!0;if(3&i.type||s){const m=Je(i,t),b=s?s(m):m,y=d.length,g=s?k=>s(ae(k[i.index])):i.index;let I=null;if(!s&&a&&(I=function eT(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===n&&r[o+1]===i){const a=t[ni],c=r[o+2];return a.length>c?a[c]:null}"string"==typeof s&&(o+=2)}return null}(e,t,r,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,f=!1;else{o=pg(i,t,u,o,!1);const k=n.listen(b,r,o);d.push(o,k),l&&l.push(r,g,y,y+1)}}else o=pg(i,t,u,o,!1);const h=i.outputs;let p;if(f&&null!==h&&(p=h[r])){const m=p.length;if(m)for(let b=0;b<m;b+=2){const $=t[p[b]][p[b+1]].subscribe(o),it=d.length;d.push(o,$),l&&l.push(r,i.index,it,-(it+1))}}}(o,r,r[L],s,e,t,i),ie}function hg(e,t,n,i){try{return Vt(6,t,n),!1!==n(i)}catch(r){return Rm(e,r),!1}finally{Vt(7,t,n)}}function pg(e,t,n,i,r){return function o(s){if(s===Function)return i;Rr(e.componentOffset>-1?at(e.index,t):t);let c=hg(t,n,i,s),l=o.__ngNextListenerFn__;for(;l;)c=hg(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return r&&!1===c&&s.preventDefault(),c}}function x(e=1){return function Rw(e){return(N.lFrame.contextLView=function Pw(e,t){for(;e>0;)t=t[ri],e--;return t}(e,N.lFrame.contextLView))[ve]}(e)}function Ul(e,t,n){return Gl(e,"",t,"",n),Ul}function Gl(e,t,n,i,r){const o=_(),s=Pi(o,t,n,i);return s!==B&&ut(z(),ge(),o,e,s,o[L],r,!1),Gl}function Ps(e,t){return e<<17|t<<2}function wn(e){return e>>17&32767}function zl(e){return 2|e}function Hn(e){return(131068&e)>>2}function Wl(e,t){return-131069&e|t<<2}function ql(e){return 1|e}function wg(e,t,n,i,r){const o=e[n+1],s=null===t;let a=i?wn(o):Hn(o),c=!1;for(;0!==a&&(!1===c||s);){const u=e[a+1];lT(e[a],t)&&(c=!0,e[a+1]=i?ql(u):zl(u)),a=i?wn(u):Hn(u)}c&&(e[n+1]=i?zl(o):ql(o))}function lT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&bi(e,t)>=0}const Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Eg(e){return e.substring(Ie.key,Ie.keyEnd)}function Mg(e,t){const n=Ie.textEnd;return n===t?-1:(t=Ie.keyEnd=function hT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ie.key=t,n),Ui(e,t,n))}function Ui(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ur(e,t,n){return Ot(e,t,n,!1),Ur}function Fs(e,t){return Ot(e,t,null,!0),Fs}function Sg(e){!function Nt(e,t,n,i){const r=z(),o=tn(2);r.firstUpdatePass&&Ng(r,null,o,i);const s=_();if(n!==B&&Ve(s,o,n)){const a=r.data[Ge()];if(Fg(a,i)&&!Og(r,o)){let c=i?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(n=ja(c,n||"")),$l(r,a,s,n,i)}else!function wT(e,t,n,i,r,o,s,a){r===B&&(r=Q);let c=0,l=0,u=0<r.length?r[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const f=c<r.length?r[c+1]:void 0,h=l<o.length?o[l+1]:void 0;let m,p=null;u===d?(c+=2,l+=2,f!==h&&(p=d,m=h)):null===d||null!==u&&u<d?(c+=2,p=u):(l+=2,p=d,m=h),null!==p&&Rg(e,t,n,i,p,m,s,a),u=c<r.length?r[c]:null,d=l<o.length?o[l]:null}}(r,a,s,s[L],s[o+1],s[o+1]=function DT(e,t,n){if(null==n||""===n)return Q;const i=[],r=Dn(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}(CT,Gt,e,!0)}function Gt(e,t){for(let n=function dT(e){return function Tg(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}(e),Mg(e,Ui(e,0,Ie.textEnd))}(t);n>=0;n=Mg(t,n))ct(e,Eg(t),!0)}function Ot(e,t,n,i){const r=_(),o=z(),s=tn(2);o.firstUpdatePass&&Ng(o,e,s,i),t!==B&&Ve(r,s,t)&&Rg(o,o.data[Ge()],r,r[L],e,r[s+1]=function ET(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=we(Dn(e)))),e}(t,n),i,s)}function Og(e,t){return t>=e.expandoStartIndex}function Ng(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Ge()],s=Og(e,n);Fg(o,i)&&null===t&&!s&&(t=!1),t=function _T(e,t,n,i){const r=function pc(e){const t=N.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Gr(n=Zl(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=Zl(r,e,t,n,i),null===o){let c=function bT(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Hn(i))return e[wn(i)]}(e,t,i);void 0!==c&&Array.isArray(c)&&(c=Zl(null,e,t,c[1],i),c=Gr(c,t.attrs,i),function vT(e,t,n,i){e[wn(n?t.classBindings:t.styleBindings)]=i}(e,t,i,c))}else o=function yT(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=Gr(i,e[o].hostAttrs,n);return Gr(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function aT(e,t,n,i,r,o){let s=o?t.classBindings:t.styleBindings,a=wn(s),c=Hn(s);e[i]=n;let u,l=!1;if(Array.isArray(n)?(u=n[1],(null===u||bi(n,u)>0)&&(l=!0)):u=n,r)if(0!==c){const f=wn(e[a+1]);e[i+1]=Ps(f,a),0!==f&&(e[f+1]=Wl(e[f+1],i)),e[a+1]=function oT(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=Ps(a,0),0!==a&&(e[a+1]=Wl(e[a+1],i)),a=i;else e[i+1]=Ps(c,0),0===a?a=i:e[c+1]=Wl(e[c+1],i),c=i;l&&(e[i+1]=zl(e[i+1])),wg(e,u,i,!0),wg(e,u,i,!1),function cT(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&bi(o,t)>=0&&(n[i+1]=ql(n[i+1]))}(t,u,e,i,o),s=Ps(a,c),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function Zl(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],i=Gr(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function Gr(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ct(e,s,!!n||t[++o]))}return void 0===e?null:e}function CT(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&ct(e,i,n)}function Rg(e,t,n,i,r,o,s,a){if(!(3&t.type))return;const c=e.data,l=c[a+1],u=function sT(e){return 1==(1&e)}(l)?Pg(c,t,n,r,Hn(l),s):void 0;Ls(u)||(Ls(o)||function rT(e){return 2==(2&e)}(l)&&(o=Pg(c,null,n,r,a,s)),function tM(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=-1===i.indexOf("-")?void 0:yn.DashCase;null==r?e.removeStyle(n,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=yn.Important),e.setStyle(n,i,r,o))}}(i,s,Bo(Ge(),n),r,o))}function Pg(e,t,n,i,r,o){const s=null===t;let a;for(;r>0;){const c=e[r],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let f=n[r+1];f===B&&(f=d?Q:void 0);let h=d?Tc(f,i):u===i?f:void 0;if(l&&!Ls(h)&&(h=Tc(c,i)),Ls(h)&&(a=h,s))return a;const p=e[r+1];r=s?wn(p):Hn(p)}if(null!==t){let c=o?t.residualClasses:t.residualStyles;null!=c&&(a=Tc(c,i))}return a}function Ls(e){return void 0!==e}function Fg(e,t){return 0!=(e.flags&(t?8:16))}function ke(e,t=""){const n=_(),i=z(),r=e+H,o=i.firstCreatePass?ki(i,r,1,t,null):i.data[r],s=Lg(i,n,o,t,e);n[r]=s,jo()&&ss(i,n,s,o),Bt(o,!1)}let Lg=(e,t,n,i,r)=>(vn(!0),function ns(e,t){return e.createText(t)}(t[L],i));function ft(e){return zr("",e,""),ft}function zr(e,t,n){const i=_(),r=Pi(i,e,t,n);return r!==B&&function cn(e,t,n){const i=Bo(t,e);!function up(e,t,n){e.setValue(t,n)}(e[L],i,n)}(i,Ge(),r),zr}const zi="en-US";let o_=zi;function Kl(e,t,n,i,r){if(e=R(e),Array.isArray(e))for(let o=0;o<e.length;o++)Kl(e[o],t,n,i,r);else{const o=z(),s=_(),a=Oe();let c=Ln(e)?e:R(e.provide);const l=Up(e),u=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(Ln(e)||!e.multi){const h=new br(l,r,v),p=Jl(c,t,r?u:u+f,d);-1===p?(wc(zo(a,s),o,c),Xl(o,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Jl(c,t,u+f,d),p=Jl(c,t,u,u+f),b=p>=0&&n[p];if(r&&!b||!r&&!(h>=0&&n[h])){wc(zo(a,s),o,c);const y=function zx(e,t,n,i,r){const o=new br(e,n,v);return o.multi=[],o.index=t,o.componentProviders=0,S_(o,r,i&&!n),o}(r?Gx:Ux,n.length,r,i,l);!r&&b&&(n[p].providerFactory=y),Xl(o,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(y),s.push(y)}else Xl(o,e,h>-1?h:p,S_(n[r?p:h],l,!r&&i));!r&&i&&b&&n[p].componentProviders++}}}function Xl(e,t,n,i){const r=Ln(t),o=function OM(e){return!!e.useClass}(t);if(r||o){const c=(o?R(t.useClass):t).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const u=l.indexOf(n);-1===u?l.push(n,[i,c]):l[u+1].push(i,c)}else l.push(n,c)}}}function S_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Jl(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function Ux(e,t,n,i){return eu(this.multi,[])}function Gx(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Pn(n,n[C],this.providerFactory.index,i);o=a.slice(0,s),eu(r,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],eu(r,o);return o}function eu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function pe(e,t=[]){return n=>{n.providersResolver=(i,r)=>function $x(e,t,n){const i=z();if(i.firstCreatePass){const r=xt(e);Kl(n,i.data,i.blueprint,r,!0),Kl(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Un{}class Wx{}class tu extends Un{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hm(this);const r=function st(e,t){const n=e[Ef]||null;if(!n&&!0===t)throw new Error(`Type ${we(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function an(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=tm(t,n,[{provide:Un,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver},...i],we(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class nu extends Wx{constructor(t){super(),this.moduleType=t}create(t){return new tu(this.moduleType,t,[])}}function V_(e,t,n,i,r){return function j_(e,t,n,i,r,o,s){const a=t+n;return function jn(e,t,n,i){const r=Ve(e,t,n);return Ve(e,t+1,i)||r}(e,a,r,o)?$t(e,a+2,s?i.call(s,r,o):i(r,o)):Kr(e,a+2)}(_(),Ue(),e,t,n,i,r)}function Kr(e,t){const n=e[t];return n===B?void 0:n}function z_(e,t,n){const i=e+H,r=_(),o=ci(r,i);return function Xr(e,t){return e[C].data[t].pure}(r,i)?function B_(e,t,n,i,r,o){const s=t+n;return Ve(e,s,r)?$t(e,s+1,o?i.call(o,r):i(r)):Kr(e,s+1)}(r,Ue(),t,o.transform,n,o):o.transform(n)}function yA(){return this._results[Symbol.iterator]()}class ru{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ne)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ru.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=yA)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}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,n){const i=this;i.dirty=!1;const r=function _t(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function rE(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function CA(e,t,n,i=!0){const r=t[C];if(function qE(e,t,n,i){const r=Ae+i,o=n.length;i>0&&(n[r-1][Tt]=t),i<o-Ae?(t[Tt]=n[r],jh(n,Ae+i,t)):(n.push(t),t[Tt]=null),t[fe]=n;const s=t[dr];null!==s&&n!==s&&function ZE(e,t){const n=e[si];t[ye]!==t[fe][fe][ye]&&(e[Bf]=!0),null===n?e[si]=[t]:n.push(t)}(s,t);const a=t[Ft];null!==a&&a.insertView(e),t[j]|=128}(r,t,e,n),i){const o=Gc(n,e),s=t[L],a=os(s,e[Lt]);null!==a&&function GE(e,t,n,i,r,o){i[_e]=r,i[Pe]=t,xr(e,i,n,1,r,o)}(r,e[Pe],s,t,a,o)}}let ln=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MA}return e})();const wA=ln,EA=class extends wA{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const r=function DA(e,t,n,i){const r=t.tView,a=ws(e,r,n,4096&e[j]?4096:16,null,t,null,null,null,i?.injector??null,i?.hydrationInfo??null);a[dr]=e[t.index];const l=e[Ft];return null!==l&&(a[Ft]=l.createEmbeddedView(r)),Pl(r,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:i});return new Lr(r)}};function MA(){return $s(Oe(),_())}function $s(e,t){return 4&e.type?new EA(t,e,Si(e,t)):null}let zt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=OA}return e})();function OA(){return X_(Oe(),_())}const NA=zt,Y_=class extends NA{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Si(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const t=Wo(this._hostTNode,this._hostLView);if(yc(t)){const n=yr(t,this._hostLView),i=vr(t);return new ze(n[C].data[i+8],n)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=K_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Ae}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(a,r,false),a}createComponent(t,n,i,r,o){const s=t&&!function Cr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const m=n||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const c=s?t:new Vr(G(t)),l=i||this.parentInjector;if(!o&&null==c.ngModule){const b=(s?l:this.parentInjector).get(on,null);b&&(o=b)}G(c.componentType??{});const h=c.create(l,r,null,o);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,i){const r=t._lView;if(function bw(e){return $e(e[fe])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const l=r[fe],u=new Y_(l,l[Pe],l[fe]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return CA(a,r,s,!i),t.attachToViewContainerRef(),jh(ou(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=K_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=rs(this._lContainer,n);i&&(Zo(ou(this._lContainer),n),jc(i[C],i))}detach(t){const n=this._adjustIndex(t,-1),i=rs(this._lContainer,n);return i&&null!=Zo(ou(this._lContainer),n)?new Lr(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function K_(e){return e[8]}function ou(e){return e[8]||(e[8]=[])}function X_(e,t){let n;const i=t[e.index];return $e(i)?n=i:(n=Am(i,t,null,e),t[e.index]=n,Es(t,n)),J_(n,t,e,i),new Y_(n,e,t)}let J_=function eb(e,t,n,i){if(e[Lt])return;let r;r=8&n.type?ae(i):function kA(e,t){const n=e[L],i=n.createComment(""),r=Je(t,e);return Fn(n,os(n,r),i,function XE(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[Lt]=r};class su{constructor(t){this.queryList=t,this.matches=null}clone(){return new su(this.queryList)}setDirty(){this.queryList.setDirty()}}class au{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let o=0;o<i;o++){const s=n.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new au(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==ob(t,n).matches&&this.queries[n].setDirty()}}class tb{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class cu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new cu(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class lu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new lu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,n,FA(n,o)),this.matchTNodeWithReadOption(t,n,qo(n,t,o,!1,!1))}else i===ln?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,qo(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===bt||r===zt||r===ln&&4&n.type)this.addMatch(n.index,-2);else{const o=qo(n,t,r,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function FA(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function VA(e,t,n,i){return-1===n?function LA(e,t){return 11&e.type?Si(e,t):4&e.type?$s(e,t):null}(t,e):-2===n?function BA(e,t,n){return n===bt?Si(t,e):n===ln?$s(t,e):n===zt?X_(t,e):void 0}(e,t,i):Pn(e,e[C],n,t)}function nb(e,t,n,i){const r=t[Ft].queries[i];if(null===r.matches){const o=e.data,s=n.matches,a=[];for(let c=0;c<s.length;c+=2){const l=s[c];a.push(l<0?null:VA(t,o[l],s[c+1],n.metadata.read))}r.matches=a}return r.matches}function uu(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const s=nb(e,t,r,n);for(let a=0;a<o.length;a+=2){const c=o[a];if(c>0)i.push(s[a/2]);else{const l=o[a+1],u=t[-c];for(let d=Ae;d<u.length;d++){const f=u[d];f[dr]===f[fe]&&uu(f[C],f,l,i)}if(null!==u[si]){const d=u[si];for(let f=0;f<d.length;f++){const h=d[f];uu(h[C],h,l,i)}}}}}return i}function du(e){const t=_(),n=z(),i=vh();mc(i+1);const r=ob(n,i);if(e.dirty&&function gw(e){return 4==(4&e[j])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?uu(n,t,i,[]):nb(n,t,r,i);e.reset(o,XM),e.notifyOnChanges()}return!0}return!1}function fu(e,t,n){const i=z();i.firstCreatePass&&(function rb(e,t,n){null===e.queries&&(e.queries=new cu),e.queries.track(new lu(t,n))}(i,new tb(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),function ib(e,t,n){const i=new ru(4==(4&n));(function NI(e,t,n,i){const r=Om(t);r.push(n),e.firstCreatePass&&Nm(e).push(i,r.length-1)})(e,t,i,i.destroy),null===t[Ft]&&(t[Ft]=new au),t[Ft].queries.push(new su(i))}(i,_(),t)}function hu(){return function HA(e,t){return e[Ft].queries[t].queryList}(_(),vh())}function ob(e,t){return e.queries.getByIndex(t)}const uS=new M("Application Initializer");let bu=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=J(uS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const o=r();if(Rs(o))n.push(o);else if(ug(o)){const s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});n.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Wt=new M("LocaleId",{providedIn:"root",factory:()=>J(Wt,U.Optional|U.SkipSelf)||function fS(){return typeof $localize<"u"&&$localize.locale||zi}()});let mS=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new pC(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ib=new M(""),Ws=new M("");let wu,Du=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,wu||(function VS(e){wu=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{he.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(P(he),P(Cu),P(Ws))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Cu=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return wu?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),En=null;const Tb=new M("AllowMultipleToken"),Eu=new M("PlatformDestroyListeners"),xb=new M("appBootstrapListener");function Ob(e,t,n=[]){const i=`Platform: ${t}`,r=new M(i);return(o=[])=>{let s=Mu();if(!s||s.injector.get(Tb,!1)){const a=[...n,...o,{provide:r,useValue:!0}];e?e(a):function HS(e){if(En&&!En.get(Tb,!1))throw new D(400,!1);(function Ab(){!function rw(e){Kf=e}(()=>{throw new D(600,!1)})})(),En=e;const t=e.get(kb);(function Sb(e){e.get(Gp,null)?.forEach(n=>n())})(e)}(function Nb(e=[],t){return lt.create({name:t,providers:[{provide:nl,useValue:"platform"},{provide:Eu,useValue:new Set([()=>En=null])},...e]})}(a,i))}return function US(e){const t=Mu();if(!t)throw new D(401,!1);return t}()}}function Mu(){return En?.get(kb)??null}let kb=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function GS(e="zone.js",t){return"noop"===e?new hI:"zone.js"===e?new he(t):e}(i?.ngZone,function Rb(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function Zx(e,t,n){return new tu(e,t,n)}(n.moduleType,this.injector,function Bb(e){return[{provide:he,useFactory:e},{provide:ds,multi:!0,useFactory:()=>{const t=J(WS,{optional:!0});return()=>t.initialize()}},{provide:Vb,useFactory:zS},{provide:sm,useFactory:am}]}(()=>r)),s=o.injector.get(sn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:c=>{s.handleError(c)}});o.onDestroy(()=>{qs(this._modules,o),a.unsubscribe()})}),function Pb(e,t,n){try{const i=n();return Rs(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(bu);return a.runInitializers(),a.donePromise.then(()=>(function s_(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(o_=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Wt,zi)||zi),this._moduleDoBootstrap(o),o))})})}bootstrapModule(n,i=[]){const r=Fb({},i);return function BS(e,t,n){const i=new nu(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Zi);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Eu,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(P(lt))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Fb(e,t){return Array.isArray(t)?t.reduce(Fb,e):{...e,...t}}let Zi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=J(Vb),this.zoneIsStable=J(sm),this.componentTypes=[],this.components=[],this.isStable=J(mS).hasPendingTasks.pipe(mf(n=>n?function mC(...e){return ei(e,ir(e))}(!1):this.zoneIsStable),function gC(e,t=nr){return e=e??_C,pt((n,i)=>{let r,o=!0;n.subscribe(rt(i,s=>{const a=t(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}(),pf()),this._injector=J(on)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Zp;if(!this._injector.get(bu).done)throw!r&&function cr(e){const t=G(e)||xe(e)||He(e);return null!==t&&t.standalone}(n),new D(405,!1);let s;s=r?n:this._injector.get(Ai).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function jS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Un),l=s.create(lt.NULL,[],i||s.selector,a),u=l.location.nativeElement,d=l.injector.get(Ib,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),qs(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;qs(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(xb,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>qs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Vb=new M("",{providedIn:"root",factory:()=>J(sn).handleError.bind(void 0)});function zS(){const e=J(he),t=J(sn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let WS=(()=>{class e{constructor(){this.zone=J(he),this.applicationRef=J(Zi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let Iu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ZS}return e})();function ZS(e){return function QS(e,t,n){if(Nn(e)&&!n){const i=at(e.index,t);return new Lr(i,i)}return 47&e.type?new Lr(t[ye],t):null}(Oe(),_(),16==(16&e))}class Ub{constructor(){}supports(t){return xs(t)}create(t){return new tO(t)}}const eO=(e,t)=>t;class tO{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||eO}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){const s=!i||n&&n.currentIndex<zb(i,r,o)?n:i,a=zb(s,r,o),c=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(n=n._next,null==s.previousIndex)r++;else{o||(o=[]);const l=a-r,u=c-r;if(l!=u){for(let f=0;f<l;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;u<=p&&p<l&&(o[f]=h+1)}o[s.previousIndex]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!xs(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,s,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),i=!0),n=n._next}else r=0,function I0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,a=>{s=this._trackByFn(r,a),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,a,s,r)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),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;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=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new nO(n,i),o,r),t}_verifyReinsertion(t,n,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Gb),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Gb),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class nO{constructor(t,n){this.item=t,this.trackById=n,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 iO{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,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Gb{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new iO,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function zb(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class Wb{constructor(){}supports(t){return t instanceof Map||Fl(t)}create(){return new rO}}class rO{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 n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Fl(t)))throw new D(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new oO(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class oO{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}}function qb(){return new to([new Ub])}let to=(()=>{class e{static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:qb});constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||qb()),deps:[[e,new Sc,new Ac]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new D(901,!1)}}return e})();function Zb(){return new no([new Wb])}let no=(()=>{class e{static#e=this.\u0275prov=W({token:e,providedIn:"root",factory:Zb});constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Zb()),deps:[[e,new Sc,new Ac]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new D(901,!1)}}return e})();const cO=Ob(null,"core",[]);let lO=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(P(Zi))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})();function Nu(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let ku=null;function io(){return ku}class CO{}const qt=new M("DocumentToken"),Uu=/\s+/,dv=[];let fv=(()=>{class e{constructor(n,i,r,o){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=dv,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(Uu):dv}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Uu):n}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const i of n)this._updateState(i,!0);else if(null!=n)for(const i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){const r=this.stateMap.get(n);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){(n=n.trim()).length>0&&n.split(Uu).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(to),v(no),v(bt),v(Cn))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class d1{constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,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 zn=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new d1(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),pv(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{pv(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(n,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(zt),v(ln),v(to))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function pv(e,t){e.context.$implicit=t.item}let Wn=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new f1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){mv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){mv("ngIfElse",n),this._elseTemplateRef=n,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(n,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(zt),v(ln))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class f1{constructor(){this.$implicit=null,this.ngIf=null}}function mv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${we(t)}'.`)}let _v=(()=>{class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=bv}transform(n,i=bv){if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());const r=this.differ.diff(n),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(function N1(e,t){return{key:e,value:t}}(s.key,s.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static#e=this.\u0275fac=function(i){return new(i||e)(v(no,16))};static#t=this.\u0275pipe=Ke({name:"keyvalue",type:e,pure:!1,standalone:!0})}return e})();function bv(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),o=String(i);return r==o?0:r<o?-1:1}let Zu=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})();const vv="browser";function yv(e){return"server"===e}class uN extends CO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ku extends uN{static makeCurrent(){!function DO(e){ku||(ku=e)}(new Ku)}onAndCancel(t,n,i){return t.addEventListener(n,i),()=>{t.removeEventListener(n,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function dN(){return ao=ao||document.querySelector("base"),ao?ao.getAttribute("href"):null}();return null==n?null:function fN(e){la=la||document.createElement("a"),la.setAttribute("href",e);const t=la.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ao=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function l1(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[r,o]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let la,ao=null,pN=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();const Xu=new M("EventManagerPlugins");let Mv=(()=>{class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,r){return this._findPluginFor(i).addEventListener(n,i,r)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new D(5101,!1);return this._eventNameToPlugin.set(n,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(P(Xu),P(he))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();class Iv{constructor(t){this._doc=t}}const Ju="ng-app-id";let Tv=(()=>{class e{constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=yv(o),this.resetHostNodes()}addStyles(n){for(const i of n)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(n){for(const i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){const i=this.styleRef;i.get(n)?.elements?.forEach(r=>r.remove()),i.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Ju}="${this.appId}"]`);if(n?.length){const i=new Map;return n.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(n,i){const r=this.styleRef;if(r.has(n)){const o=r.get(n);return o.usage+=i,o.usage}return r.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===n)return r.delete(i),o.removeAttribute(Ju),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Ju,this.appId),s}}addStyleToHost(n,i){const r=this.getStyleElement(n,i);n.appendChild(r);const o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(P(qt),P(ms),P(sl,8),P(Vn))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();const ed={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/",math:"http://www.w3.org/1998/MathML/"},td=/%COMP%/g,bN=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Av(e,t){return t.map(n=>n.replace(td,e))}let Sv=(()=>{class e{constructor(n,i,r,o,s,a,c,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=yv(a),this.defaultRenderer=new nd(n,s,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Et.ShadowDom&&(i={...i,encapsulation:Et.Emulated});const r=this.getOrCreateRenderer(n,i);return r instanceof Nv?r.applyToHost(n):r instanceof id&&r.applyStyles(),r}getOrCreateRenderer(n,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Et.Emulated:o=new Nv(c,l,i,this.appId,u,s,a,d);break;case Et.ShadowDom:return new CN(c,l,n,i,s,a,this.nonce,d);default:o=new id(c,l,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(P(Mv),P(Tv),P(ms),P(bN),P(qt),P(Vn),P(he),P(sl))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();class nd{constructor(t,n,i,r){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(ed[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Ov(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(Ov(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let i="string"==typeof t?this.doc.querySelector(t):t;if(!i)throw new D(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;const o=ed[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const r=ed[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(yn.DashCase|yn.Important)?t.style.setProperty(n,i,r&yn.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&yn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t[n]=i}setValue(t,n){t.nodeValue=n}listen(t,n,i){if("string"==typeof t&&!(t=io().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(i))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function Ov(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class CN extends nd{constructor(t,n,i,r,o,s,a,c){super(t,o,s,c),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Av(r.id,r.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class id extends nd{constructor(t,n,i,r,o,s,a,c){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r,this.styles=c?Av(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Nv extends id{constructor(t,n,i,r,o,s,a,c){const l=r+"-"+i.id;super(t,n,i,o,s,a,c,l),this.contentAttr=function vN(e){return"_ngcontent-%COMP%".replace(td,e)}(l),this.hostAttr=function yN(e){return"_nghost-%COMP%".replace(td,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}}let wN=(()=>{class e extends Iv{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r){return n.addEventListener(i,r,!1),()=>this.removeEventListener(n,i,r)}removeEventListener(n,i,r){return n.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(P(qt))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();const kv=["alt","control","meta","shift"],EN={"\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"},MN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let IN=(()=>{class e extends Iv{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>io().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const i=n.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),kv.forEach(l=>{const u=i.indexOf(l);u>-1&&(i.splice(u,1),s+=l+".")}),s+=o,0!=i.length||0===o.length)return null;const c={};return c.domEventName=r,c.fullKey=s,c}static matchEventFullKeyCode(n,i){let r=EN[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),kv.forEach(s=>{s!==r&&(0,MN[s])(n)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(i){return new(i||e)(P(qt))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac})}return e})();const SN=Ob(cO,"browser",[{provide:Vn,useValue:vv},{provide:Gp,useValue:function TN(){Ku.makeCurrent()},multi:!0},{provide:qt,useFactory:function AN(){return function sM(e){qc=e}(document),document},deps:[]}]),ON=new M(""),Fv=[{provide:Ws,useClass:class hN{addToWindow(t){se.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new D(5103,!1);return o},se.getAllAngularTestabilities=()=>t.getAllTestabilities(),se.getAllAngularRootElements=()=>t.getAllRootElements(),se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(i=>{const r=se.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(c){s=s||c,o--,0==o&&i(s)};r.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(t,n,i){return null==n?null:t.getTestability(n)??(i?io().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Ib,useClass:Du,deps:[he,Cu,Ws]},{provide:Du,useClass:Du,deps:[he,Cu,Ws]}],Lv=[{provide:nl,useValue:"root"},{provide:sn,useFactory:function xN(){return new sn},deps:[]},{provide:Xu,useClass:wN,multi:!0,deps:[qt,he,Vn]},{provide:Xu,useClass:IN,multi:!0,deps:[qt]},Sv,Tv,Mv,{provide:Yp,useExisting:Sv},{provide:class H1{},useClass:pN,deps:[]},[]];let NN=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ms,useValue:n.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(P(ON,12))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({providers:[...Lv,...Fv],imports:[Zu,lO]})}return e})();typeof window<"u"&&window;const od={now:()=>(od.delegate||Date).now(),delegate:void 0};class BN extends Xn{constructor(t=1/0,n=1/0,i=od){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;n||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=n.now();let a=0;for(let c=1;c<i.length&&i[c]<=s;c+=2)a=c;a&&i.splice(0,a+1)}}}const ua={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return ua.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return ua.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let sd;function ZN(e,t,n){let i=n;return function HN(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((r,o)=>!("*"===r||!function UN(e,t){if(!sd){const n=Element.prototype;sd=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&sd.call(e,t)}(e,r)||(i=o,0))),i}class YN{constructor(t,n){this.componentFactory=n.get(Ai).resolveComponentFactory(t)}create(t){return new KN(this.componentFactory,t)}}class KN{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new BN(1),this.events=this.eventEmitters.pipe(mf(i=>hf(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(he),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=ua.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n,i){this.runInZone(()=>{i&&(n=i.call(this.componentRef?.instance,n)),null!==this.componentRef?function GN(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=lt.create({providers:[],parent:this.injector}),i=function qN(e,t){const n=e.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=n.length;o<s;++o){const a=n[o],c=ZN(a,t,r);-1!==c&&i[c].push(a)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Iu),this.implementsOnChanges=function $N(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Zi).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t,transform:n})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),n)}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(Jn(s=>({name:r,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ua.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=n);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new nh(o,n,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class XN extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function ad(e,t){const n=function WN(e,t){return t.get(Ai).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new YN(e,t.injector),r=function zN(e){const t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[function jN(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=[n,r]}),t}(n);class o extends XN{static#e=this.observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:c,transform:l})=>{if(!this.hasOwnProperty(c))return;const u=this[c];delete this[c],a.setInputValue(c,u,l)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,u){const[d,f]=r[a];this.ngElementStrategy.setInputValue(d,l,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),o}const{isArray:JN}=Array,{getPrototypeOf:ek,prototype:tk,keys:nk}=Object;function Hv(e){if(1===e.length){const t=e[0];if(JN(t))return{args:t,keys:null};if(function ik(e){return e&&"object"==typeof e&&ek(e)===tk}(t)){const n=nk(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}const{isArray:rk}=Array;function $v(e){return Jn(t=>function ok(e,t){return rk(t)?e(...t):e(t)}(e,t))}function Uv(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}let Gv=(()=>{class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Cn),v(bt))};static#t=this.\u0275dir=V({type:e})}return e})(),qn=(()=>{class e extends Gv{static#e=this.\u0275fac=function(){let n;return function(r){return(n||(n=Fe(e)))(r||e)}}();static#t=this.\u0275dir=V({type:e,features:[te]})}return e})();const Zt=new M("NgValueAccessor"),ck={provide:Zt,useExisting:oe(()=>Yi),multi:!0},uk=new M("CompositionEventMode");let Yi=(()=>{class e extends Gv{constructor(n,i,r){super(n,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function lk(){const e=io()?io().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Cn),v(bt),v(uk,8))};static#t=this.\u0275dir=V({type:e,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(i,r){1&i&&ie("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[pe([ck]),te]})}return e})();const Be=new M("NgValidators"),Tn=new M("NgAsyncValidators");function Qv(e){return function In(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}(e.value)?{required:!0}:null}function da(e){return null}function ty(e){return null!=e}function ny(e){return Rs(e)?ei(e):e}function iy(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function ry(e,t){return t.map(n=>n(e))}function oy(e){return e.map(t=>function fk(e){return!e.validate}(t)?t:n=>t.validate(n))}function cd(e){return null!=e?function sy(e){if(!e)return null;const t=e.filter(ty);return 0==t.length?null:function(n){return iy(ry(n,t))}}(oy(e)):null}function ld(e){return null!=e?function ay(e){if(!e)return null;const t=e.filter(ty);return 0==t.length?null:function(n){return function sk(...e){const t=lf(e),{args:n,keys:i}=Hv(e),r=new Te(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u<s;u++){let d=!1;wt(n[u]).subscribe(rt(o,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(i?Uv(i,a):a),o.complete())}))}});return t?r.pipe($v(t)):r}(ry(n,t).map(ny)).pipe(Jn(iy))}}(oy(e)):null}function cy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ud(e){return e?Array.isArray(e)?e:[e]:[]}function fa(e,t){return Array.isArray(e)?e.includes(t):e===t}function dy(e,t){const n=ud(t);return ud(e).forEach(r=>{fa(n,r)||n.push(r)}),n}function fy(e,t){return ud(t).filter(n=>!fa(e,n))}class hy{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=cd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ld(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Qe extends hy{get formDirective(){return null}get path(){return null}}class xn extends hy{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class py{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ha=(()=>{class e extends py{constructor(n){super(n)}static#e=this.\u0275fac=function(i){return new(i||e)(v(xn,2))};static#t=this.\u0275dir=V({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Fs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[te]})}return e})(),my=(()=>{class e extends py{constructor(n){super(n)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Qe,10))};static#t=this.\u0275dir=V({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&Fs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[te]})}return e})();const co="VALID",ma="INVALID",Ki="PENDING",lo="DISABLED";function hd(e){return(ga(e)?e.validators:e)||null}function pd(e,t){return(ga(t)?t.asyncValidators:e)||null}function ga(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class vy{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===co}get invalid(){return this.status===ma}get pending(){return this.status==Ki}get disabled(){return this.status===lo}get enabled(){return this.status!==lo}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._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(dy(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(dy(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(fy(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(fy(t,this._rawAsyncValidators))}hasValidator(t){return fa(this._rawValidators,t)}hasAsyncValidator(t){return fa(this._rawAsyncValidators,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(n=>{n.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(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Ki,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=lo,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=co,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===co||this.status===Ki)&&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(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lo:co}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Ki,this._hasOwnPendingAsyncValidator=!0;const n=ny(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(t,n){const i=n?this.get(n):this;return i&&i.errors?i.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}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 ne,this.statusChanges=new ne}_calculateStatus(){return this._allControlsDisabled()?lo:this.errors?ma:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ki)?Ki:this._anyControlsHaveStatus(ma)?ma:co}_anyControlsHaveStatus(t){return this._anyControls(n=>n.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)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ga(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function gk(e){return Array.isArray(e)?cd(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function _k(e){return Array.isArray(e)?ld(e):e||null}(this._rawAsyncValidators)}}class md extends vy{constructor(t,n,i){super(hd(n),pd(i,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,i={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function by(e,t,n){e._forEachChild((i,r)=>{if(void 0===n[r])throw new D(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function _y(e,t,n){const i=e.controls;if(!(t?Object.keys(i):i).length)throw new D(1e3,"");if(!i[n])throw new D(1001,"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,i)=>(t[i]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,i)=>!!i._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const i=this.controls[n];i&&t(i,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,i]of Object.entries(this.controls))if(this.contains(n)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(t,n){let i=t;return this._forEachChild((r,o)=>{i=n(i,r,o)}),i}_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}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Xi=new M("CallSetDisabledState",{providedIn:"root",factory:()=>_a}),_a="always";function uo(e,t,n=_a){gd(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function yk(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&yy(e,t)})}(e,t),function Ck(e,t){const n=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function Dk(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&yy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function vk(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ya(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function gd(e,t){const n=function ly(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(cy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=function uy(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(cy(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();ya(t._rawValidators,r),ya(t._rawAsyncValidators,r)}function yy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const Tk={provide:Qe,useExisting:oe(()=>Ca)},fo=(()=>Promise.resolve())();let Ca=(()=>{class e extends Qe{constructor(n,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ne,this.form=new md({},cd(n),ld(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){fo.then(()=>{const i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),uo(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){fo.then(()=>{const i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){fo.then(()=>{const i=this._findContainer(n.path),r=new md({});(function Dy(e,t){gd(e,t)})(r,n),i.registerControl(n.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){fo.then(()=>{const i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){fo.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function Cy(e,t){e._syncPendingControls(),t.forEach(n=>{const i=n.control;"submit"===i.updateOn&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static#e=this.\u0275fac=function(i){return new(i||e)(v(Be,10),v(Tn,10),v(Xi,8))};static#t=this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&ie("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pe([Tk]),te]})}return e})();function wy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ey(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const My=class extends vy{constructor(t=null,n,i){super(hd(n),pd(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ga(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Ey(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){wy(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){wy(this._onDisabledChange,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){Ey(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}},Sk={provide:xn,useExisting:oe(()=>ho)},xy=(()=>Promise.resolve())();let ho=(()=>{class e extends xn{constructor(n,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new My,this._registered=!1,this.name="",this.update=new ne,this._parent=n,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function vd(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Yi?n=o:function Mk(e){return Object.getPrototypeOf(e.constructor)===qn}(o)?i=o:r=o}),r||i||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function bd(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_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(){uo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){xy.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,r=0!==i&&Nu(i);xy.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function ba(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(i){return new(i||e)(v(Qe,9),v(Be,10),v(Tn,10),v(Zt,10),v(Iu,8),v(Xi,8))};static#t=this.\u0275dir=V({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pe([Sk]),te,Jt]})}return e})(),Ay=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const Nk={provide:Zt,useExisting:oe(()=>yd),multi:!0};let Oy=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})(),kk=(()=>{class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n)return void this._accessors.splice(i,1)}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return!!n[0].control&&n[0]._parent===i._control._parent&&n[1].name===i.name}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:Oy})}return e})(),yd=(()=>{class e extends qn{constructor(n,i,r,o){super(n,i),this._registry=r,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=J(Xi,{optional:!0})??_a}ngOnInit(){this._control=this._injector.get(xn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(i){return new(i||e)(v(Cn),v(bt),v(kk),v(lt))};static#t=this.\u0275dir=V({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){1&i&&ie("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[pe([Nk]),te]})}return e})(),Zn=(()=>{class e{constructor(){this._validator=da}ngOnChanges(n){if(this.inputName in n){const i=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):da,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=V({type:e,features:[Jt]})}return e})();const Zk={provide:Be,useExisting:oe(()=>po),multi:!0};let po=(()=>{class e extends Zn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Nu,this.createValidator=n=>Qv}enabled(n){return n}static#e=this.\u0275fac=function(){let n;return function(r){return(n||(n=Fe(e)))(r||e)}}();static#t=this.\u0275dir=V({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){2&i&&Ne("required",r._enabled?"":null)},inputs:{required:"required"},features:[pe([Zk]),te]})}return e})(),eR=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[Oy]})}return e})(),nR=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Xi,useValue:n.callSetDisabledState??_a}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[eR]})}return e})();const iR=function(e,t){return{"disposition-label-selected":e,"first-disposition":t}};function rR(e,t){if(1&e){const n=dt();S(0,"div",5)(1,"label",6),ie("keypress",function(r){const s=ue(n).$implicit;return de(x().selectAndSubmitDisposition(r,s.key))}),S(2,"input",7),ie("change",function(){return ue(n),de(x().submitDisposition())})("ngModelChange",function(r){return ue(n),de(x().selectedDispositionValue=r)}),T(),ke(3),T()()}if(2&e){const n=t.$implicit,i=t.index,r=x();w(1),E("id",n.key)("ngClass",V_(8,iR,r.selectedDispositionValue===n.key,0===i)),w(1),Ul("value",n.key),E("required",!r.selectedDispositionValue)("name",r.dispositionName)("ngModel",r.selectedDispositionValue),Ne("aria-label",n.value),w(1),zr(" ",n.value," ")}}let oR=(()=>{class e{constructor(){this.dispositionEmitter=new ne,this.selectedDispositionValue="",this.dispositionName=""}ngOnInit(){for(const n of this.disposition.dispositionMetadata)if("callId"===n.key){this.dispositionName=`disposition_${n.value}`;break}this.disposition.checkedDisposition&&(this.selectedDispositionValue=this.disposition.checkedDisposition)}submitDisposition(){const n={dispositionId:this.selectedDispositionValue,dispositionName:this.disposition.disposition.get(this.selectedDispositionValue),dispositionMetadata:this.disposition.dispositionMetadata};this.dispositionEmitter.emit(n)}selectAndSubmitDisposition(n,i){"Enter"===n.code&&(this.selectedDispositionValue=i,this.submitDisposition())}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(S(0,"div",0)(1,"div",1)(2,"label",2),ke(3),T()(),S(4,"div",3),q(5,rR,4,11,"div",4),function G_(e,t){const n=z();let i;const r=e+H;n.firstCreatePass?(i=function mA(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=kn(i.type)),a=Ye(v);try{const c=Go(!1),l=o();return Go(c),function q0(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,_(),r,l),l}finally{Ye(a)}}(6,"keyvalue"),T()()),2&i&&(w(3),ft(r.disposition.dispositionHeader),w(2),E("ngForOf",z_(6,2,r.disposition.disposition)))},dependencies:[fv,zn,Yi,yd,ha,po,ho,_v],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: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%]{overflow-y:scroll;max-height:150px;padding:3px}.disposition-label[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:5px}.first-disposition[_ngcontent-%COMP%]{margin-top:5px}"]})}return e})();function sR(e,t){if(1&e&&(S(0,"p",12),ke(1),T()),2&e){const n=x().$implicit;w(1),ft(n.invalidMessage)}}function aR(e,t){if(1&e){const n=dt();S(0,"div",8)(1,"label",9),ke(2),T(),S(3,"input",10),ie("focusout",function(){const o=ue(n).$implicit,s=x(),a=ks(2);return de(s.focusOutOfInput(a,o))}),T(),q(4,sR,2,1,"p",11),T()}if(2&e){const n=t.$implicit;w(2),zr(" ",n.name,": "),w(1),E("name",n.name)("type",n.type)("value",n.value)("placeholder",n.placeholder||"")("required",n.isRequired||!1),Ne("aria-label",n.name),w(1),E("ngIf",n.isInvalid)}}let Id,cR=(()=>{class e{constructor(){this.loginDetailsProvided=new ne}ngOnInit(){this.loginData.header||(this.loginData.header="Login");for(const n of this.loginData.fields)n.isInvalid||(n.isInvalid=!1)}onLogin(n){for(const i of this.loginData.fields)i.value=n.value[i.name];this.loginDetailsProvided.emit(this.loginData)}focusOutOfInput(n,i){n.controls[i.name].valid||(i.isInvalid=!0)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){if(1&i){const o=dt();S(0,"div",0)(1,"form",1,2),ie("ngSubmit",function(){ue(o);const a=ks(2);return de(r.onLogin(a))}),S(3,"div",3)(4,"label",4),ke(5),T()(),S(6,"div",5),q(7,aR,5,8,"div",6),S(8,"button",7),ke(9,"Login"),T()()()()}if(2&i){const o=ks(2);w(5),ft(r.loginData.header),w(2),E("ngForOf",r.loginData.fields),w(1),E("disabled",!o.valid)}},dependencies:[zn,Wn,Ay,Yi,ha,my,po,ho,Ca],styles:[".login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.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;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;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;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 rgb(50,150,218);outline-offset:5px}.invalid-input[_ngcontent-%COMP%]{margin:0;padding:0;color:#a94442;font-size:x-small}"]})}return e})();try{Id=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Id=!1}let mo,Zy=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function B1(e){return e===vv}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Id)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||e)(P(Vn))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function go(e){return function lR(){if(null==mo&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>mo=!0}))}finally{mo=mo||!1}return mo}()?e:!!e.capture}let bR=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yy=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({providers:[bR]})}return e})();function Ky(e){return Array.isArray(e)?e:[e]}function Jy(e,t,n){e?Qt(n,e,t):t()}function xd(...e){return function CR(){return cf(1)}()(ei(e,ir(e)))}class IR extends Ct{constructor(t,n){super()}schedule(t,n=0){return this}}const Ea={setInterval(e,t,...n){const{delegate:i}=Ea;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Ea;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class _o{constructor(t,n=_o.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}_o.now=od.now;const AR=new class xR extends _o{constructor(t,n=_o.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,i){for(;t=n.shift();)t.unsubscribe();throw i}}}(class TR extends IR{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,i=0){return Ea.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,n,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return n;null!=n&&Ea.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,n);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Kn(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}});function OR(...e){const t=ir(e);return pt((n,i)=>{(t?xd(e,n,t):xd(e,n)).subscribe(i)})}function NR(e){return pt((t,n)=>{wt(e).subscribe(rt(n,()=>n.complete(),Ta)),!n.closed&&t.subscribe(n)})}const eD=new Set;let Yn,kR=(()=>{class e{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):PR}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function RR(e,t){if(!eD.has(e))try{Yn||(Yn=document.createElement("style"),t&&(Yn.nonce=t),Yn.setAttribute("type","text/css"),document.head.appendChild(Yn)),Yn.sheet&&(Yn.sheet.insertRule(`@media ${e} {body{ }}`,0),eD.add(e))}catch(n){console.error(n)}}(n,this._nonce),this._matchMedia(n)}static#e=this.\u0275fac=function(i){return new(i||e)(P(Zy),P(sl,8))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function PR(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let FR=(()=>{class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new Xn}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return tD(Ky(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let o=function yR(...e){const t=ir(e),n=lf(e),{args:i,keys:r}=Hv(e);if(0===i.length)return ei([],t);const o=new Te(function DR(e,t,n=nr){return i=>{Jy(t,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let c=0;c<r;c++)Jy(t,()=>{const l=ei(e[c],t);let u=!1;l.subscribe(rt(i,d=>{o[c]=d,u||(u=!0,a--),a||i.next(n(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>Uv(r,s):nr));return n?o.pipe($v(n)):o}(tD(Ky(n)).map(s=>this._registerQuery(s).observable));return o=xd(o.pipe(function wR(e){return e<=0?()=>La:pt((t,n)=>{let i=0;t.subscribe(rt(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}(1)),o.pipe(function MR(e){return function ER(e,t){return pt((n,i)=>{let r=0;n.subscribe(rt(i,o=>e.call(t,o,r++)&&i.next(o)))})}((t,n)=>e<=n)}(1),function SR(e,t=AR){return pt((n,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const l=o;o=null,i.next(l)}};function c(){const l=s+e,u=t.now();if(u<l)return r=this.schedule(void 0,l-u),void i.add(r);a()}n.subscribe(rt(i,l=>{o=l,s=t.now(),r||(r=t.schedule(c,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(Jn(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const i=this._mediaMatcher.matchMedia(n),o={observable:new Te(s=>{const a=c=>this._zone.run(()=>s.next(c));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(OR(i),Jn(({matches:s})=>({query:n,matches:s})),NR(this._destroySubject)),mql:i};return this._queries.set(n,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(P(kR),P(he))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tD(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}const oD="cdk-high-contrast-black-on-white",sD="cdk-high-contrast-white-on-black",Ad="cdk-high-contrast-active";let aD=(()=>{class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=J(FR).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(n):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(Ad,oD,sD),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?n.add(Ad,oD):2===i&&n.add(Ad,sD)}}static#e=this.\u0275fac=function(i){return new(i||e)(P(Zy),P(qt))};static#t=this.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qR=(()=>{class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||e)(P(aD))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[Yy]})}return e})(),cD=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})();const KR=new M("mat-sanity-checks",{providedIn:"root",factory:function YR(){return!0}});let Ma=(()=>{class e{constructor(n,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return!function fR(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}static#e=this.\u0275fac=function(i){return new(i||e)(P(aD),P(KR,8),P(qt))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[cD,cD]})}return e})();const dD=go({passive:!0,capture:!0});class eP{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const n=function dR(e){return e.composedPath?e.composedPath()[0]:e.target}(t);n&&this._events.get(t.type)?.forEach((i,r)=>{(r===n||r.contains(n))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,n,i,r){const o=this._events.get(n);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(n,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,dD)})}removeHandler(t,n,i){const r=this._events.get(t);if(!r)return;const o=r.get(n);o&&(o.delete(i),0===o.size&&r.delete(n),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,dD)))}}class Sd{static#e=this._eventManager=new eP;constructor(t,n,i,r){this._target=t,this._ngZone=n,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Xy(i))}fadeInRipple(t,n,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...fD,...i.animation},s=i.radius||function nP(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(t,n,r),a=t-r.left,c=n-r.top,l=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=c-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),h=d.transitionDuration,p="none"===d.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,m=new JR(this,u,i,p);u.style.transform="scale3d(1, 1, 1)",m.state=0,i.persistent||(this._mostRecentTransientRipple=m);return!p&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const y=()=>this._finishRippleTransition(m),g=()=>this._destroyRipple(m);u.addEventListener("transitionend",y),u.addEventListener("transitioncancel",g)}),this._activeRipples.set(m,null),(p||!l)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(2===t.state||3===t.state)return;const n=t.element,i={...fD,...t.config.animation};n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const n=Xy(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,pD.forEach(i=>{Sd._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{mD.forEach(n=>{this._triggerElement.addEventListener(n,this,hD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==n&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel)),t.element.remove()}_onMousedown(t){const n=function GR(e){return 0===e.buttons||0===e.detail}(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!function zR(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const n=t.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(pD.forEach(n=>Sd._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&mD.forEach(n=>t.removeEventListener(n,this,hD)))}}let iP=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[Ma,Ma]})}return e})(),aP=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({})}return e})(),hP=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[Zu,Ma,aP,iP,Yy,qR,Ma]})}return e})();function pP(e,t){if(1&e){const n=dt();S(0,"img",2),ie("click",function(){const o=ue(n).$implicit;return de(o.handler(o.operationName,o.operationMetadata))})("keypress",function(r){const s=ue(n).$implicit;return de(x().operationKeypress(r,s))}),T()}if(2&e){const n=t.$implicit,i=x();E("title",n.title)("src",n.icon,rn),Ne("aria-label",n.title)("accesskey",n.accesskey||null)("aria-labelledby",i.labelledByText||null)("aria-describedby",i.describedByText||null)}}let mP=(()=>{class e{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(n,i){"Enter"===n.code&&i.handler(i.operationName,i.operationMetadata)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(S(0,"div",0),q(1,pP,1,6,"img",1),T()),2&i&&(w(1),E("ngForOf",r.operations))},dependencies:[zn],styles:[".AnswerCallImages[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:1px}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:0 5px 2px}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}"]})}return e})();var Pd=function(e){return e.AGENT="AGENT",e.OTHER_PERSON="OTHER_PERSON",e.INFORMATION="INFORMATION",e}(Pd||{}),Ia=function(e){return e[e.STRING=0]="STRING",e[e.COUNTER=1]="COUNTER",e}(Ia||{});function Fd(e){e=Number(e);const t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);return(t>0?t.toString()+":":"")+(n>0?("0"+n.toString()).slice(-2)+":":"00:")+(i>0?("0"+i.toString()).slice(-2):"00")}function gP(e,t){if(1&e&&Me(0,"input",2),2&e){const n=x();E("name",n.processedDisplayValue)("title",n.title||null)("value",n.processedDisplayValue),Ne("aria-labelledby",n.labelledByText||null)}}function _P(e,t){if(1&e){const n=dt();S(0,"input",3),ie("click",function(){ue(n);const r=x();return de(r.property.customOperations.handler(r.property.customOperations.eventName,r.property.customOperations.eventMetadata))}),T()}if(2&e){const n=x();E("name",n.processedDisplayValue)("title",n.title||null)("value",n.processedDisplayValue),Ne("aria-labelledby",n.labelledByText||null)}}let bP=(()=>{class e{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()}ngOnDestroy(){this.property.displayValueType===Ia.COUNTER&&null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}initValues(){this.property.displayValueType===Ia.COUNTER?this.startCallCounter():this.processedDisplayValue=this.property.displayValue}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const n=this.property.displayValue,i=(new Date).getTime()/1e3,r=Math.floor(i-n/1e3);this.processedDisplayValue=Fd(r)},1e3))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(q(0,gP,1,4,"input",0),q(1,_P,1,4,"input",1)),2&i&&(E("ngIf",!r.property.customOperations),w(1),E("ngIf",r.property.customOperations))},dependencies:[Wn],styles:["input[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0}.displayData[_ngcontent-%COMP%]{border:0;outline:none}"]})}return e})(),vP=(()=>{class e{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()}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}startCallCounter(){const n=this.CaculatePastHoldDuration();null==this._timerId&&(this._timerId=window.setInterval(()=>{const i=(new Date).getTime()/1e3,r=Math.floor(i-this.holdCounterData.currentHoldStartTime/1e3);this.displayTime=Fd(r)+"/"+Fd(n+r)},1e3))}CaculatePastHoldDuration(){let n=0;return this.holdCounterData.pastCallDurations&&this.holdCounterData.pastCallDurations.forEach(i=>{n+=(i.endTime-i.startTime)/1e3}),n}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(S(0,"div",0),Me(1,"input",1),T()),2&i&&(w(1),E("value",r.displayTime),Ne("aria-labelledby",r.labelledByText||null))},styles:[".holdCallDurationTimer[_ngcontent-%COMP%]:focus{outline-style:none}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0px;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}"]})}return e})(),yP=(()=>{class e{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()}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const n=this.startTime,i=(new Date).getTime()/1e3,r=Math.floor(i-n/1e3);this.displayTime=Math.floor(r/60)+":"+("0"+r%60).slice(-2)},1e3))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&(S(0,"div",0),Me(1,"input",1),T()),2&i&&(w(1),E("value",r.displayTime),Ne("aria-labelledby",r.labelledByText||null))},styles:[".durationInput[_ngcontent-%COMP%]:focus{outline-style:none}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0px;width:100%;text-align:right}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}"]})}return e})();function DP(e,t){if(1&e){const n=dt();S(0,"img",7),ie("error",function(){ue(n);const r=x();return de(r.image=r.fallbackImage)}),T()}if(2&e){const n=x();Ur("border-color",n.color),E("src",n.image,rn)}}function CP(e,t){if(1&e&&(S(0,"span",8),ke(1),T()),2&e){const n=x();w(1),ft(n.username)}}function wP(e,t){if(1&e&&(S(0,"span",9),ke(1),T()),2&e){const n=x();w(1),ft(n.timestamp)}}let EP=(()=>{class e{constructor(){this.alignRight=!1,this.focusOn=new ne}ngOnInit(){this.focusOn.emit(!0)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,selectors:[["app-chat-message"]],inputs:{message:"message",alignRight:"alignRight",username:"username",color:"color",timestamp:"timestamp",image:"image",fallbackImage:"fallbackImage"},outputs:{focusOn:"focusOn"},decls:9,vars:10,consts:[[1,"message-header"],["class","image",3,"src","border-color","error",4,"ngIf"],["class","username",4,"ngIf"],[1,"message-body-container"],[1,"message-body"],[3,"innerHTML"],["class","timestamp",4,"ngIf"],[1,"image",3,"src","error"],[1,"username"],[1,"timestamp"]],template:function(i,r){1&i&&(S(0,"div")(1,"div",0),q(2,DP,1,3,"img",1),q(3,CP,2,1,"span",2),T(),S(4,"div",3)(5,"div")(6,"div",4),Me(7,"span",5),T()()(),q(8,wP,2,1,"span",6),T()),2&i&&(Sg(r.alignRight?"message right-message":"message left-message"),w(2),E("ngIf",r.image),w(1),E("ngIf",r.username),w(3),Ur("background-color",r.color)("border-color",r.color),w(1),E("innerHTML",r.message,Rp),w(1),E("ngIf",r.timestamp))},dependencies:[Wn],styles:['[_nghost-%COMP%]{display:block;margin-top:2px;margin-bottom:2px}.right-message[_ngcontent-%COMP%]{text-align:end}.timestamp[_ngcontent-%COMP%]{font-size:10px;margin-right:30px;margin-left:30px}.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%]{margin-left:5px}.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%]{margin-right:5px}.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:1em;padding:6px;font-style:normal;font-size:.8em;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;border-left:10px solid black;border-color:inherit;border-right:10px solid transparent;border-bottom:10px solid transparent;left:1px;bottom:-2px}.right-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;border-left:10px solid transparent;border-top:10px solid black;border-top-color:inherit;border-bottom:0px solid transparent;right:1px;bottom:-2px}']})}return e})();const MP=["MessagesContainer"],IP=["autofocus"];function TP(e,t){if(1&e){const n=dt();At(0),S(1,"app-chat-message",6),ie("focusOn",function(r){return ue(n),de(x().setOnFocus(r))}),T(),St()}if(2&e){const n=t.$implicit,i=x();w(1),E("alignRight",i.shouldAlignRight(n))("message",n.text)("username",n.username)("timestamp",n.timestamp)("image",n.userIcon)("fallbackImage",i.settings.fallbackUserIcon)("color",i.getColor(n))}}function xP(e,t){1&e&&(S(0,"div",7),ke(1," Someone is typing "),Me(2,"span")(3,"span")(4,"span"),T())}function AP(e,t){if(1&e){const n=dt();S(0,"div",8)(1,"textarea",9,10),ie("ngModelChange",function(r){return ue(n),de(x().newMessageText=r)})("focus",function(){return ue(n),de(x().onNewMessageFocus(!0))})("keydown.enter",function(r){return ue(n),de(x().sendNewMessage(r))})("keyup",function(){return ue(n),de(x().onKeyup())}),T(),S(3,"button",11),ie("click",function(r){return ue(n),de(x().sendNewMessage(r))}),ke(4),T()()}if(2&e){const n=x();w(1),E("ngModel",n.newMessageText)("disabled",n.settings.disableSendMessage),w(2),E("disabled",n.settings.disableSendMessage),w(1),ft(n.sendButtonText)}}let SP=(()=>{class e{constructor(n,i){this.renderer=n,this.iterableDiffers=i,this.isTyping=!1,this.isAgentTyping=new ne,this.newMessage=new ne,this._isAgentTyping=!1,this.newMessageText="",this.usernameToColor={},this.colors=["#c2c4c4","#ffab91","#f48fb1","#29b6f6","#e1bee7","#9ccc65","#ffc107","#26c6da","#cddc39"],this.colorsIndex=0,this.agentColor="#2db0e0",this.lastCount=-1,this.scrollAtBottom=!0,this.iterableDiffer=this.iterableDiffers.find([]).create(null)}ngOnInit(){this.sendButtonText=this.settings?.sendMessageText??"Send",this.renderer.selectRootElement("#autofocus").focus()}ngDoCheck(){this.iterableDiffer.diff(this.messages)&&this.checkIfScrollAtBottom()}ngAfterViewInit(){this.renderer.selectRootElement("#autofocus").focus()}ngAfterViewChecked(){this.lastCount!==this.messages.length&&(this.lastCount=this.messages.length,this.scrollAtBottom&&this.scrollToBottom())}getColor(n){return n.type&&n.type===Pd.AGENT?this.agentColor:n.username?(this.usernameToColor[n.username]||(this.usernameToColor[n.username]=this.colors[this.colorsIndex],this.colorsIndex=(this.colorsIndex+1)%this.colors.length),this.usernameToColor[n.username]):this.colors[0]}shouldAlignRight(n){return n.type&&n.type===Pd.AGENT}sendNewMessage(n){n.preventDefault(),this.newMessageText&&(this.newMessage.emit(this.newMessageText),this.newMessageText=""),this.renderer.selectRootElement("#autofocus").focus()}setOnFocus(n){this.renderer.selectRootElement("#autofocus").focus()}onNewMessageFocus(n){const i=n&&this.newMessageText.length>0;i!==this._isAgentTyping&&(this._isAgentTyping=i,this.isAgentTyping.emit(i))}onKeyup(){const n=this.newMessageText.length>0;n!==this._isAgentTyping&&(this._isAgentTyping=n,this.isAgentTyping.emit(n))}scrollToBottom(){try{this.messagesContainer.nativeElement.scrollTop=this.messagesContainer.nativeElement.scrollHeight}catch{}}checkIfScrollAtBottom(){try{const n=this.messagesContainer.nativeElement;this.scrollAtBottom=n.scrollTop+n.clientHeight>=n.scrollHeight-5}catch(n){console.error("error checking if scroll at bottom",n)}}static#e=this.\u0275fac=function(i){return new(i||e)(v(Cn),v(to))};static#t=this.\u0275cmp=It({type:e,selectors:[["app-chat-box"]],viewQuery:function(i,r){if(1&i&&(fu(MP,7),fu(IP,5)),2&i){let o;du(o=hu())&&(r.messagesContainer=o.first),du(o=hu())&&(r.autofocus=o.first)}},inputs:{settings:"settings",isTyping:"isTyping",messages:"messages"},outputs:{isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:6,vars:5,consts:[[1,"chat-box"],["id","msgScroll",1,"messages"],["MessagesContainer",""],[4,"ngFor","ngForOf"],["class","typing-indicator",4,"ngIf"],["class","message-box",4,"ngIf"],[1,"chat-line",3,"alignRight","message","username","timestamp","image","fallbackImage","color","focusOn"],[1,"typing-indicator"],[1,"message-box"],["id","autofocus","tabindex","1","type","text","placeholder","Type a message...",1,"message-input","scroll",3,"ngModel","disabled","ngModelChange","focus","keydown.enter","keyup"],["NewMessageText",""],["type","submit",1,"message-submit",3,"disabled","click"]],template:function(i,r){1&i&&(S(0,"div",0)(1,"div",1,2),q(3,TP,2,7,"ng-container",3),q(4,xP,5,0,"div",4),T(),q(5,AP,5,4,"div",5),T()),2&i&&(w(1),Ur("max-height",r.settings.maxHeight),w(2),E("ngForOf",r.messages),w(1),E("ngIf",r.isTyping),w(1),E("ngIf",!r.settings.hideSendMessage))},dependencies:[zn,Wn,Yi,ha,ho,EP],styles:[".message-box[_ngcontent-%COMP%]{flex:1 1 0;width:99%;background:#fff;margin:auto;position:relative;border-radius:5px;height:100%;border:1px solid #ccc}.message-box[_ngcontent-%COMP%] .message-input[_ngcontent-%COMP%]{background:none;border:none;outline:none!important;resize:none;font-family:inherit;font-size:1em;height:100%;margin:0;padding:10px 7px;width:89%;color:#444}.message-box[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus:-webkit-placeholder{color:transparent}.message-box[_ngcontent-%COMP%] .message-submit[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:5px;right:5px;background:#1e72ba;border:none;color:#fff;font-size:10px;line-height:1;padding:6px 10px;border-radius:5px;outline:none!important;transition:background .2s ease;cursor:pointer}.scroll[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.chat-box[_ngcontent-%COMP%]{background-color:#f4f5fb;padding:5px}.messages[_ngcontent-%COMP%]{padding:5px;overflow:auto;min-height:50px}.chat-line[_ngcontent-%COMP%]{margin-bottom:15px}.new-message[_ngcontent-%COMP%]{border-top:solid black 1px;display:flex;align-content:center;height:25px}.new-message[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{flex:1 1 0;background-color:#f4f5fb;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:.8em;font-style:italic}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;height:4px;width:4px;border-radius:50%;background-color:#9e9e9e;margin:0 1px;opacity:.2}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(1){animation:1.5s _ngcontent-%COMP%_blink infinite .33333s}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2){animation:1.5s _ngcontent-%COMP%_blink infinite .66666s}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(3){animation:1.5s _ngcontent-%COMP%_blink infinite .99999s}@keyframes _ngcontent-%COMP%_blink{50%{opacity:1}}"]})}return e})();function OP(e,t){if(1&e&&(S(0,"label",12),ke(1),T()),2&e){const n=x();w(1),ft(n.interaction.UIHeadersData.directionText)}}function NP(e,t){if(1&e&&(S(0,"div",13),Me(1,"amc-holdTimer",14),T()),2&e){const n=x();w(1),E("holdCounterData",n.interaction.UIHeadersData.holdCounterData)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)}}function kP(e,t){if(1&e){const n=dt();S(0,"img",15),ie("click",function(){return ue(n),de(x().minimize())})("keypress",function(r){return ue(n),de(x().collapseKeypress(r))}),T()}2&e&&E("src",x().interaction.UIHeadersData.minimizeUrl,rn)}function RP(e,t){if(1&e){const n=dt();S(0,"img",16),ie("click",function(){return ue(n),de(x().maximize())})("keypress",function(r){return ue(n),de(x().expandKeypress(r))}),T()}2&e&&E("src",x().interaction.UIHeadersData.maximizeUrl,rn)}function PP(e,t){if(1&e&&(S(0,"div",17),Me(1,"amc-duration",18),T()),2&e){const n=x();w(1),E("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("startTime",n.interaction.startTime)}}function FP(e,t){if(1&e&&(At(0),S(1,"label",27),ke(2),T(),Me(3,"amc-property",28),St()),2&e){const n=x().$implicit,i=x(3);w(1),E("title",n.displayKey),w(1),ft(n.displayKey),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",i.interaction.subheaderData.value)("property",n)}}function LP(e,t){if(1&e&&(At(0),q(1,FP,4,6,"ng-container",11),St()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function VP(e,t){if(1&e&&(At(0),S(1,"div",29)(2,"label",30),ke(3),T(),Me(4,"amc-property",28),T(),St()),2&e){const n=x().$implicit,i=x(3);w(2),E("title",n.displayKey),w(1),ft(n.displayKey),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",i.interaction.subheaderData.value)("property",n)}}function BP(e,t){if(1&e&&(At(0),q(1,VP,5,6,"ng-container",11),St()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function jP(e,t){if(1&e&&Me(0,"amc-operation",31),2&e){const n=x(3);E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function HP(e,t){if(1&e){const n=dt();S(0,"app-chat-box",32),ie("isAgentTyping",function(r){return ue(n),de(x(3).isAgentTyping.emit(r))})("newMessage",function(r){return ue(n),de(x(3).newMessage.emit(r))}),T()}if(2&e){const n=x(3);E("isTyping",n.interaction.chat.isCustomerTyping)("settings",n.interaction.chat.settings)("messages",n.interaction.chat.messages)}}function $P(e,t){if(1&e&&Me(0,"amc-operation",33),2&e){const n=x(3);E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function UP(e,t){if(1&e&&(S(0,"div")(1,"div",19),Me(2,"input",20)(3,"input",21),T(),S(4,"div",22),q(5,LP,2,1,"ng-container",23),q(6,BP,2,1,"ng-container",23),T(),q(7,jP,1,4,"amc-operation",24),q(8,HP,1,3,"app-chat-box",25),Me(9,"div",4),q(10,$P,1,4,"amc-operation",26),T()),2&e){const n=x(2);w(2),E("src",n.interaction.subheaderData.image.href,rn)("title",n.interaction.subheaderData.tooltip||""),w(1),E("value",n.interaction.subheaderData.value)("id",n.interaction.subheaderData.value),Ne("aria-labelledby",n.interaction.UIHeadersData.statusText+" "+n.interaction.subheaderData.value),w(2),E("ngForOf",n.interaction.properties),w(1),E("ngForOf",n.interaction.associatedData),w(1),E("ngIf",n.interaction.chat),w(1),E("ngIf",n.interaction.chat),w(1),E("id",n.interaction.interactionId),w(1),E("ngIf",!n.interaction.chat)}}function GP(e,t){if(1&e&&(At(0),S(1,"label",27),ke(2),T(),Me(3,"amc-property",28),St()),2&e){const n=x().$implicit,i=x().$implicit,r=x(3);w(1),E("title",n.displayKey),w(1),ft(n.displayKey),w(1),E("callType",r.interaction.UIHeadersData.directionText)("statusText",r.interaction.UIHeadersData.statusText)("callId",i.header.value)("property",n)}}function zP(e,t){if(1&e&&(At(0),q(1,GP,4,6,"ng-container",11),St()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function WP(e,t){if(1&e&&(S(0,"div")(1,"div",19),Me(2,"input",20)(3,"input",34),T(),S(4,"div",35),q(5,zP,2,1,"ng-container",23),T(),Me(6,"amc-operation",33)(7,"div",36),T()),2&e){const n=t.$implicit,i=x(3);w(2),E("src",n.header.image.href,rn)("title",n.header.tooltip||""),w(1),E("value",n.header.value),w(2),E("ngForOf",n.properties),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",n.header.value)("operations",n.operations)}}function qP(e,t){if(1&e&&(S(0,"div"),q(1,WP,8,8,"div",23),Me(2,"amc-operation",33),T()),2&e){const n=x(2);w(1),E("ngForOf",n.interaction.parties),w(1),E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function ZP(e,t){if(1&e&&(S(0,"div"),q(1,UP,11,11,"div",11),q(2,qP,3,5,"div",11),T()),2&e){const n=x();w(1),E("ngIf",!n.isConferenceCall()),w(1),E("ngIf",n.isConferenceCall())}}let QP=(()=>{class e{constructor(){this.minimizedChanged=new ne,this.isAgentTyping=new ne,this.newMessage=new ne,this._minimized=!1}get _minimized(){return this.minimized}set _minimized(n){this.minimized=n,this.minimizedChanged.emit(n)}ngOnInit(){}minimize(){this._minimized=!0}maximize(){this._minimized=!1}isConferenceCall(){return!!(this.interaction.parties&&this.interaction.parties.length>1)}collapseKeypress(n){"Enter"===n.code&&this.minimize()}expandKeypress(n){"Enter"===n.code&&this.maximize()}clickEvent(n){document.getElementById(n).className="success",null===localStorage.getItem("focusedPanel")?localStorage.setItem("focusedPanel",n):localStorage.getItem("focusedPanel")!==n&&(document.getElementById(localStorage.getItem("focusedPanel")).className="AnswerCallFocused",localStorage.setItem("focusedPanel",n))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,selectors:[["amc-interaction"]],inputs:{interaction:"interaction"},outputs:{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:14,vars:10,consts:[[1,"AnswerCallFocused",3,"id"],[1,"editor","callHeaderTop",3,"click"],["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"],["id","close-chat",3,"callType","statusText","callId","operations",4,"ngIf"],[3,"isTyping","settings","messages","isAgentTyping","newMessage",4,"ngIf"],[3,"callType","statusText","callId","operations",4,"ngIf"],[1,"col1",3,"title"],[1,"col2",3,"callType","statusText","callId","property"],[1,"editor","displayDiv"],[1,"displayLabels",3,"title"],["id","close-chat",3,"callType","statusText","callId","operations"],[3,"isTyping","settings","messages","isAgentTyping","newMessage"],[3,"callType","statusText","callId","operations"],["readonly","","type","text","tabindex","-1",1,"editor","phoneNumberValue",3,"value"],[1,"grid-container"],[1,"AnswerCallFocused"]],template:function(i,r){1&i&&(S(0,"div",0)(1,"div",1),ie("click",function(){return r.clickEvent(r.interaction.interactionId)}),S(2,"img",2),ie("click",function(){return r.interaction.UIHeadersData.focusHandler.handler(r.interaction.UIHeadersData.focusHandler.operationName,r.interaction.UIHeadersData.focusHandler.operationMetadata)}),T(),S(3,"label",3)(4,"b",4),ke(5),T()(),S(6,"label",5),ke(7,"|"),T(),q(8,OP,2,1,"label",6),q(9,NP,2,3,"div",7),q(10,kP,1,1,"img",8),q(11,RP,1,1,"img",9),q(12,PP,2,3,"div",10),T(),q(13,ZP,3,2,"div",11),T()),2&i&&(E("id",r.interaction.interactionId),w(2),E("src",r.interaction.UIHeadersData.statusUrl,rn),w(2),E("id",r.interaction.UIHeadersData.statusText),w(1),ft(r.interaction.UIHeadersData.statusText),w(3),E("ngIf",!r.interaction.UIHeadersData.displayHoldCounter),w(1),E("ngIf",r.interaction.UIHeadersData.displayHoldCounter),w(1),E("ngIf",!r._minimized),w(1),E("ngIf",r._minimized),w(1),E("ngIf",r.interaction.displayCallTimer),w(1),E("ngIf",!r._minimized))},dependencies:[zn,Wn,mP,bP,vP,yP,SP],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}#close-chat[_ngcontent-%COMP%]{text-align-last:end}.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;width:20px;height:20px;float:right;cursor:pointer}.ViewExpandImage[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:0px}.ViewCollapseImage[_ngcontent-%COMP%]{margin:3px;width:20px;height:20px;float:right}.ViewCollapseImage[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:0px}.callImage[_ngcontent-%COMP%]{cursor:default;height:20px}.phoneNumberValue[_ngcontent-%COMP%]:focus{outline-style:none}#call123[_ngcontent-%COMP%]{border:4px!important}.success[_ngcontent-%COMP%]{border:2px solid #00adbb!important}.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}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.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}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}"]})}return e})();function YP(e,t){if(1&e){const n=dt();S(0,"amc-interaction",2),ie("minimizedChanged",function(){return ue(n),de(x(2).onMinimizedChanged())})("isAgentTyping",function(r){return ue(n),de(x(2).isAgentTyping.emit(r))})("newMessage",function(r){return ue(n),de(x(2).newMessage.emit(r))}),T()}2&e&&E("interaction",t.$implicit)}function KP(e,t){if(1&e&&(At(0),q(1,YP,1,1,"amc-interaction",1),St()),2&e){const n=x();w(1),E("ngForOf",n.scenario.interactions)}}let XP=(()=>{class e{constructor(){this.minimizedChanged=new ne,this.isAgentTyping=new ne,this.newMessage=new ne,this.afterViewChecked=new ne}ngAfterViewChecked(){this.afterViewChecked.emit()}onMinimizedChanged(){this.minimizedChanged.emit()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=It({type:e,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(i,r){1&i&&q(0,KP,2,1,"ng-container",0),2&i&&E("ngIf",r.scenario&&r.scenario.interactions)},dependencies:[zn,Wn,QP]})}return e})(),JP=(()=>{class e{constructor(n){this.injector=n}ngDoBootstrap(n){customElements.get("amc-webcomponents-scenario")||customElements.define("amc-webcomponents-scenario",ad(XP,{injector:this.injector})),customElements.get("amc-webcomponents-disposition")||customElements.define("amc-webcomponents-disposition",ad(oR,{injector:this.injector})),customElements.get("amc-webcomponents-login")||customElements.define("amc-webcomponents-login",ad(cR,{injector:this.injector}))}static#e=this.\u0275fac=function(i){return new(i||e)(P(lt))};static#t=this.\u0275mod=je({type:e});static#n=this.\u0275inj=Re({imports:[NN,Zu,nR,hP]})}return e})();SN().bootstrapModule(JP).catch(e=>console.error(e))}},me=>{me(me.s=554)}]);
|