diff --git a/404.html b/404.html index 9620c74..ab3b33e 100644 --- a/404.html +++ b/404.html @@ -9,8 +9,8 @@ - Fork me on GitHub + Fork me on GitHub
Loading...
- + diff --git a/src/assets/files/demo.7z b/files/demo.7z similarity index 100% rename from src/assets/files/demo.7z rename to files/demo.7z diff --git a/src/assets/files/demo.csv b/files/demo.csv similarity index 100% rename from src/assets/files/demo.csv rename to files/demo.csv diff --git a/src/assets/files/demo.docx b/files/demo.docx similarity index 100% rename from src/assets/files/demo.docx rename to files/demo.docx diff --git a/src/assets/files/demo.gif b/files/demo.gif similarity index 100% rename from src/assets/files/demo.gif rename to files/demo.gif diff --git a/src/assets/files/demo.jpg b/files/demo.jpg similarity index 100% rename from src/assets/files/demo.jpg rename to files/demo.jpg diff --git a/src/assets/files/demo.pdf b/files/demo.pdf similarity index 100% rename from src/assets/files/demo.pdf rename to files/demo.pdf diff --git a/src/assets/files/demo.png b/files/demo.png similarity index 100% rename from src/assets/files/demo.png rename to files/demo.png diff --git a/src/assets/files/demo.pptx b/files/demo.pptx similarity index 100% rename from src/assets/files/demo.pptx rename to files/demo.pptx diff --git a/src/assets/files/demo.xlsx b/files/demo.xlsx similarity index 100% rename from src/assets/files/demo.xlsx rename to files/demo.xlsx diff --git a/src/assets/files/demo.zip b/files/demo.zip similarity index 100% rename from src/assets/files/demo.zip rename to files/demo.zip diff --git a/index.html b/index.html index 9620c74..ab3b33e 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,8 @@ - Fork me on GitHub + Fork me on GitHub
Loading...
- + diff --git a/main-3GOM5MKT.js b/main-3GOM5MKT.js deleted file mode 100644 index 56b6999..0000000 --- a/main-3GOM5MKT.js +++ /dev/null @@ -1,8 +0,0 @@ -var Vc=Object.create;var Ir=Object.defineProperty,jc=Object.defineProperties,Bc=Object.getOwnPropertyDescriptor,Hc=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertyNames,Pi=Object.getOwnPropertySymbols,Uc=Object.getPrototypeOf,Li=Object.prototype.hasOwnProperty,Gc=Object.prototype.propertyIsEnumerable;var ki=(e,t,n)=>t in e?Ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||={})Li.call(t,n)&&ki(e,n,t[n]);if(Pi)for(var n of Pi(t))Gc.call(t,n)&&ki(e,n,t[n]);return e},W=(e,t)=>jc(e,Hc(t));var zc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Wc=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of $c(t))!Li.call(e,o)&&o!==n&&Ir(e,o,{get:()=>t[o],enumerable:!(r=Bc(t,o))||r.enumerable});return e};var qc=(e,t,n)=>(n=e!=null?Vc(Uc(e)):{},Wc(t||!e||!e.__esModule?Ir(n,"default",{value:e,enumerable:!0}):n,e));var Oc=zc((Oi,Fi)=>{"use strict";(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof Oi<"u"?t():(t(),e.FileSaver={})})(Oi,function(){"use strict";function e(a,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function t(a,u,c){var l=new XMLHttpRequest;l.open("GET",a),l.responseType="blob",l.onload=function(){s(l.response,u,c)},l.onerror=function(){console.error("could not download file")},l.send()}function n(a){var u=new XMLHttpRequest;u.open("HEAD",a,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function r(a){try{a.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(u)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,i=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(a,u,c){var l=o.URL||o.webkitURL,d=document.createElement("a");u=u||a.name||"download",d.download=u,d.rel="noopener",typeof a=="string"?(d.href=a,d.origin===location.origin?r(d):n(d.href)?t(a,u,c):r(d,d.target="_blank")):(d.href=l.createObjectURL(a),setTimeout(function(){l.revokeObjectURL(d.href)},4e4),setTimeout(function(){r(d)},0))}:"msSaveOrOpenBlob"in navigator?function(a,u,c){if(u=u||a.name||"download",typeof a!="string")navigator.msSaveOrOpenBlob(e(a,c),u);else if(n(a))t(a,u,c);else{var l=document.createElement("a");l.href=a,l.target="_blank",setTimeout(function(){r(l)})}}:function(a,u,c,l){if(l=l||open("","_blank"),l&&(l.document.title=l.document.body.innerText="downloading..."),typeof a=="string")return t(a,u,c);var d=a.type==="application/octet-stream",f=/constructor/i.test(o.HTMLElement)||o.safari,h=/CriOS\/[\d]+/.test(navigator.userAgent);if((h||d&&f||i)&&typeof FileReader<"u"){var g=new FileReader;g.onloadend=function(){var p=g.result;p=h?p:p.replace(/^data:[^;]*;/,"data:attachment/file;"),l?l.location.href=p:location=p,l=null},g.readAsDataURL(a)}else{var E=o.URL||o.webkitURL,m=E.createObjectURL(a);l?l.location=m:location.href=m,l=null,setTimeout(function(){E.revokeObjectURL(m)},4e4)}});o.saveAs=s.saveAs=s,typeof Fi<"u"&&(Fi.exports=s)})});var Vi=null;var br=1;function q(e){let t=Vi;return Vi=e,t}var ji={version:0,lastCleanEpoch: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:()=>{},consumerOnSignalRead:()=>{}};function Zc(e){if(!(Sr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===br)){if(!e.producerMustRecompute(e)&&!_r(e)){e.dirty=!1,e.lastCleanEpoch=br;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=br}}function Bi(e){return e&&(e.nextProducerIndex=0),q(e)}function Hi(e,t){if(q(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Sr(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _r(e){en(e);for(let t=0;t0}function en(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Yc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Qc(){throw new Error}var Kc=Qc;function Ui(e){Kc=e}function y(e){return typeof e=="function"}function tn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var nn=tn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Et(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(y(r))try{r()}catch(i){t=i instanceof nn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Gi(i)}catch(s){t=t??[],s instanceof nn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new nn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Gi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Et(n,t)}remove(t){let{_finalizers:n}=this;n&&Et(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var Tr=Z.EMPTY;function rn(e){return e instanceof Z||e&&"closed"in e&&y(e.remove)&&y(e.add)&&y(e.unsubscribe)}function Gi(e){y(e)?e():e.unsubscribe()}var ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ye={setTimeout(e,t,...n){let{delegate:r}=Ye;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ye;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function on(e){Ye.setTimeout(()=>{let{onUnhandledError:t}=ne;if(t)t(e);else throw e})}function wt(){}var zi=(()=>xr("C",void 0,void 0))();function Wi(e){return xr("E",void 0,e)}function qi(e){return xr("N",e,void 0)}function xr(e,t,n){return{kind:e,value:t,error:n}}var Pe=null;function Qe(e){if(ne.useDeprecatedSynchronousErrorHandling){let t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Pe;if(Pe=null,n)throw r}}else e()}function Zi(e){ne.useDeprecatedSynchronousErrorHandling&&Pe&&(Pe.errorThrown=!0,Pe.error=e)}var ke=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,rn(t)&&t.add(this)):this.destination=el}static create(t,n,r){return new pe(t,n,r)}next(t){this.isStopped?Nr(qi(t),this):this._next(t)}error(t){this.isStopped?Nr(Wi(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Nr(zi,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()}}},Jc=Function.prototype.bind;function Ar(e,t){return Jc.call(e,t)}var Or=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){sn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){sn(r)}else sn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){sn(n)}}},pe=class extends ke{constructor(t,n,r){super();let o;if(y(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ne.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ar(t.next,i),error:t.error&&Ar(t.error,i),complete:t.complete&&Ar(t.complete,i)}):o=t}this.destination=new Or(o)}};function sn(e){ne.useDeprecatedSynchronousErrorHandling?Zi(e):on(e)}function Xc(e){throw e}function Nr(e,t){let{onStoppedNotification:n}=ne;n&&Ye.setTimeout(()=>n(e,t))}var el={closed:!0,next:wt,error:Xc,complete:wt};var Ke=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function Je(e){return e}function Yi(e){return e.length===0?Je:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=nl(n)?n:new pe(n,r,o);return Qe(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Qi(r),new r((o,i)=>{let s=new pe({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Ke](){return this}pipe(...n){return Yi(n)(this)}toPromise(n){return n=Qi(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Qi(e){var t;return(t=e??ne.Promise)!==null&&t!==void 0?t:Promise}function tl(e){return e&&y(e.next)&&y(e.error)&&y(e.complete)}function nl(e){return e&&e instanceof ke||tl(e)&&rn(e)}function rl(e){return y(e?.lift)}function k(e){return t=>{if(rl(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function B(e,t,n,r,o){return new Fr(e,t,n,r,o)}var Fr=class extends ke{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Ki=tn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new an(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ki}next(n){Qe(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Qe(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Qe(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Tr:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,Et(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new an(t,n),e})(),an=class extends ie{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Tr}};var It=class extends ie{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Ji=new M(e=>e.complete());function Xi(e){return e&&y(e.schedule)}function Rr(e){return e[e.length-1]}function es(e){return y(Rr(e))?e.pop():void 0}function un(e){return Xi(Rr(e))?e.pop():void 0}function ts(e,t){return typeof Rr(e)=="number"?e.pop():t}function rs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function ns(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Le(e){return this instanceof Le?(this.v=e,this):new Le(e)}function os(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(g,E){i.push([f,h,g,E])>1||a(f,h)})})}function a(f,h){try{u(r[f](h))}catch(g){d(i[0][3],g)}}function u(f){f.value instanceof Le?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function is(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ns=="function"?ns(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Xe=e=>e&&typeof e.length=="number"&&typeof e!="function";function cn(e){return y(e?.then)}function ln(e){return y(e[Ke])}function dn(e){return Symbol.asyncIterator&&y(e?.[Symbol.asyncIterator])}function fn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ol(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var hn=ol();function pn(e){return y(e?.[hn])}function gn(e){return os(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Le(n.read());if(o)return yield Le(void 0);yield yield Le(r)}}finally{n.releaseLock()}})}function mn(e){return y(e?.getReader)}function R(e){if(e instanceof M)return e;if(e!=null){if(ln(e))return il(e);if(Xe(e))return sl(e);if(cn(e))return al(e);if(dn(e))return ss(e);if(pn(e))return ul(e);if(mn(e))return cl(e)}throw fn(e)}function il(e){return new M(t=>{let n=e[Ke]();if(y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function sl(e){return new M(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,on)})}function ul(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ss(e){return new M(t=>{ll(e,t).catch(n=>t.error(n))})}function cl(e){return ss(gn(e))}function ll(e,t){var n,r,o,i;return rs(this,void 0,void 0,function*(){try{for(n=is(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function J(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function yn(e,t=0){return k((n,r)=>{n.subscribe(B(r,o=>J(r,e,()=>r.next(o),t),()=>J(r,e,()=>r.complete(),t),o=>J(r,e,()=>r.error(o),t)))})}function vn(e,t=0){return k((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function as(e,t){return R(e).pipe(vn(t),yn(t))}function us(e,t){return R(e).pipe(vn(t),yn(t))}function cs(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ls(e,t){return new M(n=>{let r;return J(n,t,()=>{r=e[hn](),J(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>y(r?.return)&&r.return()})}function Dn(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{J(n,t,()=>{let r=e[Symbol.asyncIterator]();J(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ds(e,t){return Dn(gn(e),t)}function fs(e,t){if(e!=null){if(ln(e))return as(e,t);if(Xe(e))return cs(e,t);if(cn(e))return us(e,t);if(dn(e))return Dn(e,t);if(pn(e))return ls(e,t);if(mn(e))return ds(e,t)}throw fn(e)}function ge(e,t){return t?fs(e,t):R(e)}function et(...e){let t=un(e);return ge(e,t)}function X(e,t){return k((n,r)=>{let o=0;n.subscribe(B(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:dl}=Array;function fl(e,t){return dl(t)?e(...t):e(t)}function Cn(e){return X(t=>fl(e,t))}var{isArray:hl}=Array,{getPrototypeOf:pl,prototype:gl,keys:ml}=Object;function hs(e){if(e.length===1){let t=e[0];if(hl(t))return{args:t,keys:null};if(yl(t)){let n=ml(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yl(e){return e&&typeof e=="object"&&pl(e)===gl}function ps(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function gs(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},h=E=>c{i&&t.next(E),c++;let m=!1;R(n(E,l++)).subscribe(B(t,p=>{o?.(p),i?h(p):t.next(p)},()=>{m=!0},void 0,()=>{if(m)try{for(c--;u.length&&cg(p)):g(p)}f()}catch(p){t.error(p)}}))};return e.subscribe(B(t,h,()=>{d=!0,f()})),()=>{a?.()}}function _e(e,t,n=1/0){return y(t)?_e((r,o)=>X((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t=="number"&&(n=t),k((r,o)=>gs(r,o,e,n)))}function ms(e=1/0){return _e(Je,e)}function Pr(...e){let t=es(e),{args:n,keys:r}=hs(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?ps(r,a):a),i.complete())}))}});return t?o.pipe(Cn(t)):o}var vl=["addListener","removeListener"],Dl=["addEventListener","removeEventListener"],Cl=["on","off"];function bt(e,t,n,r){if(y(n)&&(r=n,n=void 0),r)return bt(e,t,n).pipe(Cn(r));let[o,i]=Il(e)?Dl.map(s=>a=>e[s](t,a,n)):El(e)?vl.map(ys(e,t)):wl(e)?Cl.map(ys(e,t)):[];if(!o&&Xe(e))return _e(s=>bt(s,t,n))(R(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...u)=>s.next(1i(a)})}function ys(e,t){return n=>r=>e[n](t,r)}function El(e){return y(e.addListener)&&y(e.removeListener)}function wl(e){return y(e.on)&&y(e.off)}function Il(e){return y(e.addEventListener)&&y(e.removeEventListener)}function kr(...e){let t=un(e),n=ts(e,1/0),r=e;return r.length?r.length===1?R(r[0]):ms(n)(ge(r,t)):Ji}function tt(e,t){return k((n,r)=>{let o=0;n.subscribe(B(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Lr(e,t){return y(t)?_e(e,t,1):_e(e,1)}function Vr(e,t=Je){return e=e??bl,k((n,r)=>{let o,i=!0;n.subscribe(B(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function bl(e,t){return e===t}function En(e){return k((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function wn(e={}){let{connector:t=()=>new ie,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},g=()=>{let E=s;h(),E?.unsubscribe()};return k((E,m)=>{c++,!d&&!l&&f();let p=u=u??t();m.add(()=>{c--,c===0&&!d&&!l&&(a=jr(g,o))}),p.subscribe(m),!s&&c>0&&(s=new pe({next:L=>p.next(L),error:L=>{d=!0,f(),a=jr(h,n,L),p.error(L)},complete:()=>{l=!0,f(),a=jr(h,r),p.complete()}}),R(E).subscribe(s))})(i)}}function jr(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new pe({next:()=>{r.unsubscribe(),e()}});return R(t(...n)).subscribe(r)}function _t(e,t){return k((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(B(r,u=>{o?.unsubscribe();let c=0,l=i++;R(e(u,l)).subscribe(o=B(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function In(e){return k((t,n)=>{R(e).subscribe(B(n,()=>n.complete(),wt)),!n.closed&&t.subscribe(n)})}function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function bn(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Y(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Y).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function vs(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var _l=T({__forward_ref__:T});function mt(e){return e.__forward_ref__=mt,e.toString=function(){return Y(this())},e}function U(e){return Qs(e)?e():e}function Qs(e){return typeof e=="function"&&e.hasOwnProperty(_l)&&e.__forward_ref__===mt}function Ks(e){return e&&!!e.\u0275providers}var Ml="https://g.co/ng/security#xss",b=class extends Error{constructor(t,n){super($n(t,n)),this.code=t}};function $n(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Sl=T({\u0275cmp:T}),Tl=T({\u0275dir:T}),xl=T({\u0275pipe:T});var Nn=T({\u0275fac:T}),Mt=T({__NG_ELEMENT_ID__:T}),Ds=T({__NG_ENV_ID__:T});function Al(e){return typeof e=="string"?e:e==null?"":String(e)}function Nl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Al(e)}function Ol(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new b(-200,`Circular dependency in DI detected for ${e}${n}`)}function Po(e,t){let n=t?` in ${t}`:"";throw new b(-201,!1)}function Fl(e,t){e==null&&Rl(t,e,null,"!=")}function Rl(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ce(e){return{providers:e.providers||[],imports:e.imports||[]}}function ko(e){return Cs(e,Js)||Cs(e,Xs)}function Cs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pl(e){let t=e&&(e[Js]||e[Xs]);return t||null}function Es(e){return e&&(e.hasOwnProperty(ws)||e.hasOwnProperty(kl))?e[ws]:null}var Js=T({\u0275prov:T}),ws=T({\u0275inj:T}),Xs=T({ngInjectableDef:T}),kl=T({ngInjectorDef:T}),w=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}(w||{}),eo;function Ll(){return eo}function se(e){let t=eo;return eo=e,t}function ea(e,t,n){let r=ko(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&w.Optional)return null;if(t!==void 0)return t;Po(Y(e),"Injector")}var St=globalThis;var v=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Vl={},At=Vl,jl="__NG_DI_FLAG__",On="ngTempTokenPath",Bl="ngTokenPath",Hl=/\n/gm,$l="\u0275",Is="__source",Tt;function nt(e){let t=Tt;return Tt=e,t}function Ul(e,t=w.Default){if(Tt===void 0)throw new b(-203,!1);return Tt===null?ea(e,void 0,t):Tt.get(e,t&w.Optional?null:void 0,t)}function C(e,t=w.Default){return(Ll()||Ul)(U(e),t)}function N(e,t=w.Default){return C(e,Un(t))}function Un(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function to(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Y(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Hl,` - `)}`}function Gn(e){return{toString:e}.toString()}var ta=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ta||{}),ce=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ce||{}),at={},ee=[];function na(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function no(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let h=r&8?f:null;if(h&&na(h,c,0)!==-1||r&2&&c!==f){if(re(r))return!1;s=!0}}}}return re(r)||s}function re(e){return(e&1)===0}function Jl(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!re(s)&&(t+=_s(i,o),o=""),r=s,i=i||!re(r);n++}return o!==""&&(t+=_s(i,o)),t}function rd(e){return e.map(nd).join(",")}function od(e){let t=[],n=[],r=1,o=2;for(;r{let t=ua(e),n=W($({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ta.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ce.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""});ca(n);let r=e.dependencies;return n.directiveDefs=Ss(r,!1),n.pipeDefs=Ss(r,!0),n.id=ud(n),n})}function id(e){return zn(e)||sa(e)}function sd(e){return e!==null}function Ee(e){return Gn(()=>({type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ms(e,t){if(e==null)return at;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function le(e){return Gn(()=>{let t=ua(e);return ca(t),t})}function zn(e){return e[Sl]||null}function sa(e){return e[Tl]||null}function aa(e){return e[xl]||null}function ad(e){let t=zn(e)||sa(e)||aa(e);return t!==null?t.standalone:!1}function ua(e){let 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||at,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ms(e.inputs,t),outputs:Ms(e.outputs),debugInfo:null}}function ca(e){e.features?.forEach(t=>t(e))}function Ss(e,t){if(!e)return null;let n=t?aa:id;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(sd)}function ud(e){let t=0,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(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483647+1,"c"+t}var Ae=0,I=1,D=2,Q=3,Me=4,Ne=5,ro=6,Ot=7,me=8,ut=9,Ft=10,K=11,Rt=12,Ts=13,Vt=14,je=15,la=16,rt=17,da=18,Wn=19,fa=20,xt=21,Br=22,Be=23,He=25,ha=1,cd=2,oo=6,io=7,ld=8,pa=9;var Ve=11;function Se(e){return Array.isArray(e)&&typeof e[ha]=="object"}function Te(e){return Array.isArray(e)&&e[ha]===!0}function ga(e){return(e.flags&4)!==0}function qn(e){return e.componentOffset>-1}function ma(e){return(e.flags&1)===1}function xe(e){return!!e.template}function dd(e){return(e[D]&512)!==0}function ct(e,t){let n=e.hasOwnProperty(Nn);return n?e[Nn]:null}var so=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Zn(){return ya}function ya(e){return e.type.prototype.ngOnChanges&&(e.setInput=hd),fd}Zn.ngInherit=!0;function fd(){let e=Da(this),t=e?.current;if(t){let n=e.previous;if(n===at)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function hd(e,t,n,r){let o=this.declaredInputs[n],i=Da(e)||pd(e,{previous:at,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new so(u&&u.currentValue,t,a===at),e[r]=t}var va="__ngSimpleChanges__";function Da(e){return e[va]||null}function pd(e,t){return e[va]=t}var xs=null;var ae=function(e,t,n){xs?.(e,t,n)},gd="svg",md="math";function ze(e){for(;Array.isArray(e);)e=e[Ae];return e}function yd(e,t){return ze(t[e])}function we(e,t){return ze(t[e.index])}function Ca(e,t){return e.data[t]}function Oe(e,t){let n=t[e];return Se(n)?n:n[Ae]}function Lo(e){return(e[D]&128)===128}function As(e,t){return t==null?null:e[t]}function Ea(e){e[rt]=0}function vd(e){e[D]&1024||(e[D]|=1024,Lo(e)&&Yn(e))}function Dd(e){e[D]&9216&&Yn(e)}function Yn(e){let t=e[Q];for(;t!==null&&!(Te(t)&&t[oo]||Se(t)&&t[D]&8192);){if(Te(t))t[oo]=!0;else if(t[D]|=8192,!Lo(t))break;t=t[Q]}}function Cd(e,t){if((e[D]&256)===256)throw new b(911,!1);e[xt]===null&&(e[xt]=[]),e[xt].push(t)}var _={lFrame:Ta(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ed(){return _.lFrame.elementDepthCount}function wd(){_.lFrame.elementDepthCount++}function Id(){_.lFrame.elementDepthCount--}function wa(){return _.bindingsEnabled}function bd(){return _.skipHydrationRootTNode!==null}function _d(e){return _.skipHydrationRootTNode===e}function Md(){_.skipHydrationRootTNode=null}function G(){return _.lFrame.lView}function Ie(){return _.lFrame.tView}function de(){let e=Ia();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ia(){return _.lFrame.currentTNode}function Sd(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Qn(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function ba(){return _.lFrame.isParent}function Td(){_.lFrame.isParent=!1}function xd(e){return _.lFrame.bindingIndex=e}function Ad(){return _.lFrame.bindingIndex++}function Nd(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Od(){return _.lFrame.inI18n}function Fd(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,ao(t)}function Rd(){return _.lFrame.currentDirectiveIndex}function ao(e){_.lFrame.currentDirectiveIndex=e}function Pd(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function _a(e){_.lFrame.currentQueryIndex=e}function kd(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[Ne]:null}function Ma(e,t,n){if(n&w.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&w.Host);)if(o=kd(i),o===null||(i=i[Vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=Sa();return r.currentTNode=t,r.lView=e,!0}function Vo(e){let t=Sa(),n=e[I];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Sa(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Ta(e):t}function Ta(e){let 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 e!==null&&(e.child=t),t}function xa(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Aa=xa;function jo(){let e=xa();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 jt(){return _.lFrame.selectedIndex}function $e(e){_.lFrame.selectedIndex=e}function Ld(){let e=_.lFrame;return Ca(e.tView,e.selectedIndex)}function Vd(){return _.lFrame.currentNamespace}var Na=!0;function Oa(){return Na}function Fa(e){Na=e}function jd(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ya(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Ra(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[rt]+=65536),(a>14>16&&(e[D]&3)===t&&(e[D]+=16384,Ns(a,i)):Ns(a,i)}var st=-1,Ue=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Hd(e){return e instanceof Ue}function $d(e){return(e.flags&8)!==0}function Ud(e){return(e.flags&16)!==0}function Gd(e){return e!==st}function uo(e){let t=e&32767;return e&32767}function zd(e){return e>>16}function co(e,t){let n=zd(e),r=t;for(;n>0;)r=r[Vt],n--;return r}var lo=!0;function Os(e){let t=lo;return lo=e,t}var Wd=256,ka=Wd-1,La=5,qd=0,ue={};function Zd(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mt)&&(r=n[Mt]),r==null&&(r=n[Mt]=qd++);let o=r&ka,i=1<>La)]|=i}function Fn(e,t){let n=Va(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,$r(r.data,e),$r(t,null),$r(r.blueprint,null));let o=ja(e,t),i=e.injectorIndex;if(Gd(o)){let s=uo(o),a=co(o,t),u=a[I].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function $r(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Va(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ja(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Ga(o),r===null)return st;if(n++,o=o[Vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return st}function fo(e,t,n){Zd(e,t,n)}function Ba(e,t,n){if(n&w.Optional||e!==void 0)return e;Po(t,"NodeInjector")}function Ha(e,t,n,r){if(n&w.Optional&&r===void 0&&(r=null),!(n&(w.Self|w.Host))){let o=e[ut],i=se(void 0);try{return o?o.get(t,r,n&w.Optional):ea(t,r,n&w.Optional)}finally{se(i)}}return Ba(r,t,n)}function $a(e,t,n,r=w.Default,o){if(e!==null){if(t[D]&2048&&!(r&w.Self)){let s=Xd(e,t,n,r,ue);if(s!==ue)return s}let i=Ua(e,t,n,r,ue);if(i!==ue)return i}return Ha(t,n,r,o)}function Ua(e,t,n,r,o){let i=Kd(n);if(typeof i=="function"){if(!Ma(t,e,r))return r&w.Host?Ba(o,n,r):Ha(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&w.Optional))Po(n);else return s}finally{Aa()}}else if(typeof i=="number"){let s=null,a=Va(e,t),u=st,c=r&w.Host?t[je][Ne]:null;for((a===-1||r&w.SkipSelf)&&(u=a===-1?ja(e,t):t[a+8],u===st||!Rs(r,!1)?a=-1:(s=t[I],a=uo(u),t=co(u,t)));a!==-1;){let l=t[I];if(Fs(i,a,l.data)){let d=Yd(a,t,n,s,r,c);if(d!==ue)return d}u=t[a+8],u!==st&&Rs(r,t[I].data[a+8]===c)&&Fs(i,a,t)?(s=l,a=uo(u),t=co(u,t)):a=-1}}return o}function Yd(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],u=r==null?qn(a)&&lo:r!=s&&(a.type&3)!==0,c=o&w.Host&&i===a,l=Qd(a,s,n,u,c);return l!==null?lt(t,s,l,a):ue}function Qd(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:c;for(let h=d;h=u&&g.type===n)return h}if(o){let h=s[u];if(h&&xe(h)&&h.type===n)return u}return null}function lt(e,t,n,r){let o=e[n],i=t.data;if(Hd(o)){let s=o;s.resolving&&Ol(Nl(i[n]));let a=Os(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?se(s.injectImpl):null,l=Ma(e,r,w.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&jd(n,i[n],t)}finally{c!==null&&se(c),Os(a),s.resolving=!1,Aa()}}return o}function Kd(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Mt)?e[Mt]:void 0;return typeof t=="number"?t>=0?t&ka:Jd:t}function Fs(e,t,n){let r=1<>La)]&r)}function Rs(e,t){return!(e&w.Self)&&!(e&w.Host&&t)}var Rn=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $a(this._tNode,this._lView,t,Un(r),n)}};function Jd(){return new Rn(de(),G())}function Bo(e){return Gn(()=>{let t=e.prototype.constructor,n=t[Nn]||ho(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Nn]||ho(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ho(e){return Qs(e)?()=>{let t=ho(U(e));return t&&t()}:ct(e)}function Xd(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=Ua(i,s,n,r|w.Self,ue);if(a!==ue)return a;let u=i.parent;if(!u){let c=s[fa];if(c){let l=c.get(n,ue,r);if(l!==ue)return l}u=Ga(s),s=s[Vt]}i=u}return o}function Ga(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[Ne]:null}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function za(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ef(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function nf(e,t,n){let r=Bt(e,t);return r>=0?e[r|1]=n:(r=~r,tf(e,r,t,n)),r}function Ur(e,t){let n=Bt(e,t);if(n>=0)return e[n|1]}function Bt(e,t){return rf(e,t,1)}function rf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return Ho(t,s=>{let a=s;po(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ya(o,i),n}function Ya(e,t){for(let n=0;n{t(i,r)})}}function po(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=Es(e),s=!i&&zn(e);if(!i&&!s){let u=e.ngModule;if(i=Es(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)po(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ho(i.imports,l=>{po(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Ya(c,t)}if(!a){let c=ct(o)||(()=>new o);t({provide:o,useFactory:c,deps:ee},o),t({provide:qa,useValue:o,multi:!0},o),t({provide:Kn,useValue:()=>C(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;$o(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function $o(e,t){for(let n of e)Ks(n)&&(n=n.\u0275providers),Array.isArray(n)?$o(n,t):t(n)}var sf=T({provide:String,useValue:T});function Qa(e){return e!==null&&typeof e=="object"&&sf in e}function af(e){return!!(e&&e.useExisting)}function uf(e){return!!(e&&e.useFactory)}function dt(e){return typeof e=="function"}function cf(e){return!!e.useClass}var Xn=new v("Set Injector scope."),xn={},lf={},Gr;function Uo(){return Gr===void 0&&(Gr=new Pn),Gr}var ye=class{},kn=class extends ye{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,mo(t,s=>this.processProvider(s)),this.records.set(Wa,ot(void 0,this)),o.has("environment")&&this.records.set(ye,ot(void 0,this));let i=this.records.get(Xn);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(qa,ee,w.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let 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();let n=nt(this),r=se(void 0),o;try{return t()}finally{nt(n),se(r)}}get(t,n=At,r=w.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ds))return t[Ds](this);r=Un(r);let o,i=nt(this),s=se(void 0);try{if(!(r&w.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=gf(t)&&ko(t);c&&this.injectableDefInScope(c)?u=ot(go(t),xn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&w.Self?Uo():this.parent;return n=r&w.Optional&&n===At?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[On]=a[On]||[]).unshift(Y(t)),i)throw a;return zl(a,t,"R3InjectorError",this.source)}else throw a}finally{se(s),nt(i)}}resolveInjectorInitializers(){let t=nt(this),n=se(void 0),r;try{let o=this.get(Kn,ee,w.Self);for(let i of o)i()}finally{nt(t),se(n)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Y(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processProvider(t){t=U(t);let n=dt(t)?t:U(t&&t.provide),r=ff(t);if(!dt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ot(void 0,xn,!0),o.factory=()=>to(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}else{let o=this.records.get(n)}this.records.set(n,r)}hydrate(t,n){return n.value===xn&&(n.value=lf,n.value=n.factory()),typeof n.value=="object"&&n.value&&pf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function go(e){let t=ko(e),n=t!==null?t.factory:ct(e);if(n!==null)return n;if(e instanceof v)throw new b(204,!1);if(e instanceof Function)return df(e);throw new b(204,!1)}function df(e){let t=e.length;if(t>0){let r=ef(t,"?");throw new b(204,!1)}let n=Pl(e);return n!==null?()=>n.factory(e):()=>new e}function ff(e){if(Qa(e))return ot(void 0,e.useValue);{let t=Ka(e);return ot(t,xn)}}function Ka(e,t,n){let r;if(dt(e)){let o=U(e);return ct(o)||go(o)}else if(Qa(e))r=()=>U(e.useValue);else if(uf(e))r=()=>e.useFactory(...to(e.deps||[]));else if(af(e))r=()=>C(U(e.useExisting));else{let o=U(e&&(e.useClass||e.provide));if(hf(e))r=()=>new o(...to(e.deps));else return ct(o)||go(o)}return r}function ot(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hf(e){return!!e.deps}function pf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function gf(e){return typeof e=="function"||typeof e=="object"&&e instanceof v}function mo(e,t){for(let n of e)Array.isArray(n)?mo(n,t):n&&Ks(n)?mo(n.\u0275providers,t):t(n)}function Ps(e,t=null,n=null,r){let o=mf(e,t,n,r);return o.resolveInjectorInitializers(),o}function mf(e,t=null,n=null,r,o=new Set){let i=[n||ee,of(e)];return r=r||(typeof e=="object"?void 0:Y(e)),new kn(i,t||Uo(),r||null,o)}var Ht=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Ps({name:""},o,r,"");{let i=r.name??"";return Ps({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=At,t.NULL=new Pn,t.\u0275prov=S({token:t,providedIn:"any",factory:()=>C(Wa)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var yo;function Ja(e){yo=e}function yf(){if(yo!==void 0)return yo;if(typeof document<"u")return document;throw new b(210,!1)}var Go=new v("AppId",{providedIn:"root",factory:()=>vf}),vf="ng",zo=new v("Platform Initializer"),Fe=new v("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Wo=new v("CSP nonce",{providedIn:"root",factory:()=>yf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Df(e){return(e.flags&128)===128}var ve=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ve||{});var Xa=new Map,Cf=0;function Ef(){return Cf++}function wf(e){Xa.set(e[Wn],e)}function If(e){Xa.delete(e[Wn])}var ks="__ngContext__";function ft(e,t){Se(t)?(e[ks]=t[Wn],wf(t)):e[ks]=t}var bf;function eu(e,t){return bf(e,t)}function tu(e){let t=e[Q];return Te(t)?t[Q]:t}function nu(e){return ou(e[Rt])}function ru(e){return ou(e[Me])}function ou(e){for(;e!==null&&!Te(e);)e=e[Me];return e}function it(e,t,n,r,o){if(r!=null){let i,s=!1;Te(r)?i=r:Se(r)&&(s=!0,r=r[Ae]);let a=ze(r);e===0&&n!==null?o==null?au(t,n,a):vo(t,n,a,o||null,!0):e===1&&n!==null?vo(t,n,a,o||null,!0):e===2?Hf(t,a,s):e===3&&t.destroyNode(a),i!=null&&Uf(t,e,i,n,o)}}function _f(e,t){return e.createText(t)}function iu(e,t,n){return e.createElement(t,n)}function Mf(e,t){let n=t[K];er(e,t,n,2,null,null),t[Ae]=null,t[Ne]=null}function Sf(e,t){er(e,t,t[K],2,null,null)}function Tf(e){let t=e[Rt];if(!t)return zr(e[I],e);for(;t;){let n=null;if(Se(t))n=t[Rt];else{let r=t[Ve];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)Se(t)&&zr(t[I],t),t=t[Q];t===null&&(t=e),Se(t)&&zr(t[I],t),n=t&&t[Me]}t=n}}function su(e,t){let n=e[pa],r=n.indexOf(t),o=t[Q];n.splice(r,1)}function xf(e,t){if(e.length<=Ve)return;let n=Ve+t,r=e[n];if(r){let o=r[la];o!==null&&o!==e&&su(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=za(e,Ve+t);Mf(r[I],r);let s=i[da];s!==null&&s.detachView(i[I]),r[Q]=null,r[Me]=null,r[D]&=-129}return r}function Af(e,t){if(!(t[D]&256)){let n=t[K];t[Be]&&$i(t[Be]),n.destroyNode&&er(e,t,n,3,null,null),Tf(t)}}function zr(e,t){if(!(t[D]&256)){t[D]&=-129,t[D]|=256,Of(e,t),Nf(e,t),t[I].type===1&&t[K].destroy();let n=t[la];if(n!==null&&Te(t[Q])){n!==t[Q]&&su(n,t);let r=t[da];r!==null&&r.detachView(e)}If(t)}}function Nf(e,t){let n=e.cleanup,r=t[Ot];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Ot]=null);let o=t[xt];if(o!==null){t[xt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===ce.None||i===ce.Emulated)return null}return we(r,n)}}function vo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function au(e,t,n){e.appendChild(t,n)}function Ls(e,t,n,r,o){r!==null?vo(e,t,n,r,o):au(e,t,n)}function Pf(e,t,n,r){e.removeChild(t,n,r)}function kf(e,t){return e.parentNode(t)}function Lf(e,t,n){return jf(e,t,n)}function Vf(e,t,n){return e.type&40?we(e,n):null}var jf=Vf,Vs;function uu(e,t,n,r){let o=Ff(e,r,t),i=t[K],s=r.parent||t[Ne],a=Lf(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;unull;function Yo(e,t,n=!1){return Zf(e,t,n)}var Co=class{},Ln=class{};function Yf(e){let t=Error(`No component factory found for ${Y(e)}.`);return t[Qf]=e,t}var Qf="ngComponent";var Eo=class{resolveComponentFactory(t){throw Yf(t)}},Qo=(()=>{let t=class t{};t.NULL=new Eo;let e=t;return e})();function Kf(){return du(de(),G())}function du(e,t){return new Re(we(e,t))}var Re=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Kf;let e=t;return e})();var Pt=class{},$t=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Jf();let e=t;return e})();function Jf(){let e=G(),t=de(),n=Oe(t.index,e);return(Se(n)?n:e)[K]}var Xf=(()=>{let t=class t{};t.\u0275prov=S({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),ht=class{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}},eh=new ht("17.0.1"),Wr={};function Vn(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(ze(i)),Te(i)&&th(i,r);let s=n.type;if(s&8)Vn(e,t,n.child,r);else if(s&32){let a=eu(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Bf(t,n);if(Array.isArray(a))r.push(...a);else{let u=tu(t[je]);Vn(u[I],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function th(e,t){for(let n=Ve;n{Yn(e.lView)},consumerOnSignalRead(){this.lView[Be]=this}}),sh="ngOriginalError";function qr(e){return e[sh]}var De=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&qr(t);for(;n&&qr(n);)n=qr(n);return n||null}};var hu=!1,ah=new v("",{providedIn:"root",factory:()=>hu});var tr={};function Ko(e){pu(Ie(),G(),jt()+e,!1)}function pu(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Sn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Tn(t,i,0,n)}$e(n)}function x(e,t=w.Default){let n=G();if(n===null)return C(e,t);let r=de();return $a(r,n,U(e),t)}function uh(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;rHe&&pu(e,t,He,!1),ae(s?2:0,o),n(r,o)}finally{$e(i),ae(s?3:1,o)}}function yu(e,t,n){if(ga(t)){let r=q(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function mh(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return bd()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,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}}function js(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=n===null?{}:n;let i=e[o];r===null?Bs(n,t,o,i):r.hasOwnProperty(o)&&Bs(n,t,r[o],i)}return n}function Bs(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function yh(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function bh(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;qn(n)&&Nh(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Fn(n,t),ft(r,t);let s=n.initialInputs;for(let a=o;a-1&&(xf(t,r),za(n,r))}this._attachedToViewContainer=!1}Af(this._lView[I],this._lView)}onDestroy(t){Cd(this._lView,t)}markForCheck(){ti(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){Dd(this._lView),this._lView[D]|=128}detectChanges(){Lh(this._lView[I],this._lView,this.context,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Sf(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t}},ni=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=$h;let e=t;return e})();function $h(e){return Uh(de(),G(),(e&16)===16)}function Uh(e,t,n){if(qn(e)&&!n){let r=Oe(e.index,t);return new kt(r,r)}else if(e.type&47){let r=t[je];return new kt(r,t)}return null}function ri(e,t){return performance?.mark?.(e,t)}var bo=class extends ie{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Zr(i),o&&(o=Zr(o)),s&&(s=Zr(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Z&&t.add(a),a}};function Zr(e){return t=>{setTimeout(e,void 0,t)}}var te=bo;function Hs(...e){}function Gh(){let e=typeof St.requestAnimationFrame=="function",t=St[e?"requestAnimationFrame":"setTimeout"],n=St[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var V=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new te(!1),this.onMicrotaskEmpty=new te(!1),this.onStable=new te(!1),this.onError=new te(!1),typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Gh().nativeRequestAnimationFrame,qh(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,zh,Hs,Hs);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},zh={};function oi(e){if(e._nesting==0&&!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 Wh(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(St,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,_o(e),e.isCheckStableRunning=!0,oi(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),_o(e))}function qh(e){let t=()=>{Wh(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Zh(a))return n.invokeTask(o,i,s,a);try{return $s(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Us(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return $s(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Us(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,_o(e),oi(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function _o(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function $s(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Us(e){e._nesting--,oi(e)}var Nu=new v("",{providedIn:"root",factory:Ou});function Ou(){let e=N(V),t=!0,n=new M(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),r=new M(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});let s=e.onUnstable.subscribe(()=>{V.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return kr(n,r.pipe(wn()))}function Zh(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Yh=(()=>{let t=class t{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=S({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Qh(e,t){let n=Oe(t,e),r=n[I];Kh(r,n);let o=n[Ae];o!==null&&n[ro]===null&&(n[ro]=Yo(o,n[ut])),Fu(r,n,n[me])}function Kh(e,t){for(let n=t.length;n0&&cu(e,n,i.join(" "))}}function ip(e,t,n){let r=e.projection=[];for(let o=0;o=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Nt(o.hostAttrs,n=Nt(n,o.hostAttrs))}}function _n(e){return e===at?{}:e===ee?[]:e}function cp(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function lp(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function dp(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Ru(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Mn(e,t){return e<<17|t<<2}function Ge(e){return e>>17&32767}function fp(e){return(e&2)==2}function hp(e,t){return e&131071|t<<17}function No(e){return e|2}function pt(e){return(e&131068)>>2}function Yr(e,t){return e&-131069|t<<2}function pp(e){return(e&1)===1}function Oo(e){return e|1}function gp(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ge(s),u=pt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Bt(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=Ge(e[a+1]);e[r+1]=Mn(f,a),f!==0&&(e[f+1]=Yr(e[f+1],r)),e[a+1]=hp(e[a+1],r)}else e[r+1]=Mn(a,0),a!==0&&(e[a+1]=Yr(e[a+1],r)),a=r;else e[r+1]=Mn(u,0),a===0?a=r:e[u+1]=Yr(e[u+1],r),u=r;c&&(e[r+1]=No(e[r+1])),zs(e,l,r,!0,i),zs(e,l,r,!1,i),mp(t,l,e,r,i),s=Mn(a,u),i?t.classBindings=s:t.styleBindings=s}function mp(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bt(i,t)>=0&&(n[r+1]=Oo(n[r+1]))}function zs(e,t,n,r,o){let i=e[n+1],s=t===null,a=r?Ge(i):pt(i),u=!1;for(;a!==0&&(u===!1||s);){let c=e[a],l=e[a+1];yp(c,t)&&(u=!0,e[a+1]=r?Oo(l):No(l)),a=r?Ge(l):pt(l)}u&&(e[n+1]=r?No(i):Oo(i))}function yp(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bt(e,t)>=0:!1}function nr(e,t,n){let r=G(),o=Ad();if(Ru(r,o,t)){let i=Ie(),s=Ld();Dh(i,s,r,e,t,r[K],n,!1)}return nr}function Ws(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ei(e,n,i[s],s,r)}function ii(e,t){return vp(e,t,null,!0),ii}function vp(e,t,n,r){let o=G(),i=Ie(),s=Nd(2);if(i.firstUpdatePass&&Cp(i,e,s,r),t!==tr&&Ru(o,s,t)){let a=i.data[jt()];_p(i,a,o,o[K],e,o[s+1]=Mp(t,n),r,s)}}function Dp(e,t){return t>=e.expandoStartIndex}function Cp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[jt()],s=Dp(e,n);Sp(i,r)&&t===null&&!s&&(t=!1),t=Ep(o,i,t,r),gp(o,i,t,n,s,r)}}function Ep(e,t,n,r){let o=Pd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Qr(null,e,t,n,r),n=Lt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Qr(o,e,t,n,r),i===null){let u=wp(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Qr(null,e,t,u[1],r),u=Lt(u,t.attrs,r),Ip(e,t,r,u))}else i=bp(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function wp(e,t,n){let r=n?t.classBindings:t.styleBindings;if(pt(r)!==0)return e[Ge(r)]}function Ip(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ge(o)]=r}function bp(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===tr&&(f=d?ee:void 0);let h=d?Ur(f,r):l===r?f:void 0;if(c&&!jn(h)&&(h=Ur(u,r)),jn(h)&&(a=h,s))return a;let g=e[o+1];o=s?Ge(g):pt(g)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Ur(u,r))}return a}function jn(e){return e!==void 0}function Mp(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Y(Zo(e)))),e}function Sp(e,t){return(e.flags&(t?8:16))!==0}var QC=new RegExp(`^(\\d+)*(${qf}|${Wf})*(.*)`);function Tp(e,t,n,r,o,i){let s=t.consts,a=As(s,o),u=Xo(t,e,2,r,a);return Eh(t,n,u,As(s,i)),u.attrs!==null&&Mo(u,u.attrs,!1),u.mergedAttrs!==null&&Mo(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function O(e,t,n,r){let o=G(),i=Ie(),s=He+e,a=o[K],u=i.firstCreatePass?Tp(s,i,o,t,n,r):i.data[s],c=xp(i,o,u,a,t,e);o[s]=c;let l=ma(u);return Qn(u,!0),lu(a,c,u),(u.flags&32)!==32&&Oa()&&uu(i,o,c,u),Ed()===0&&ft(c,o),wd(),l&&(lh(i,o,u),yu(i,u,o)),r!==null&&dh(o,u),O}function F(){let e=de();ba()?Td():(e=e.parent,Qn(e,!1));let t=e;_d(t)&&Md(),Id();let n=Ie();return n.firstCreatePass&&(Ra(n,e),ga(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&$d(t)&&Ws(n,t,G(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ud(t)&&Ws(n,t,G(),t.stylesWithoutHost,!1),F}var xp=(e,t,n,r,o,i)=>(Fa(!0),iu(r,o,Vd()));var Bn="en-US";var Ap=Bn;function Np(e){Fl(e,"Expected localeId to be defined"),typeof e=="string"&&(Ap=e.toLowerCase().replace(/_/g,"-"))}function Ut(e){return!!e&&typeof e.then=="function"}function Pu(e){return!!e&&typeof e.subscribe=="function"}function j(e,t,n,r){let o=G(),i=Ie(),s=de();return Fp(i,o,o[K],s,e,t,r),j}function Op(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Fp(e,t,n,r,o,i,s){let a=ma(r),c=e.firstCreatePass&&Ph(e),l=t[me],d=Rh(t),f=!0;if(r.type&3||s){let E=we(r,t),m=s?s(E):E,p=d.length,L=s?A=>s(ze(A[r.index])):r.index,H=null;if(!s&&a&&(H=Op(e,t,o,r.index)),H!==null){let A=H.__ngLastListenerFn__||H;A.__ngNextListenerFn__=i,H.__ngLastListenerFn__=i,f=!1}else{i=Ys(r,t,l,i,!1);let A=n.listen(m,o,i);d.push(i,A),c&&c.push(o,L,p,p+1)}}else i=Ys(r,t,l,i,!1);let h=r.outputs,g;if(f&&h!==null&&(g=h[o])){let E=g.length;if(E)for(let m=0;m-1?Oe(e.index,t):t;ti(a);let u=Zs(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Zs(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function P(e,t=""){let n=G(),r=Ie(),o=e+He,i=r.firstCreatePass?Xo(r,o,1,t,null):r.data[o],s=Rp(r,n,i,t,e);n[o]=s,Oa()&&uu(r,n,s,i),Qn(i,!1)}var Rp=(e,t,n,r,o)=>(Fa(!0),_f(t[K],r));function Pp(e,t,n){let r=Ie();if(r.firstCreatePass){let o=xe(e);Fo(n,r.data,r.blueprint,o,!0),Fo(t,r.data,r.blueprint,o,!1)}}function Fo(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(dt(e)||!e.multi){let h=new Ue(c,o,x),g=Jr(u,t,o?l:l+f,d);g===-1?(fo(Fn(a,s),i,u),Kr(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[g]=h,s[g]=h)}else{let h=Jr(u,t,l+f,d),g=Jr(u,t,l,l+f),E=h>=0&&n[h],m=g>=0&&n[g];if(o&&!m||!o&&!E){fo(Fn(a,s),i,u);let p=Vp(o?Lp:kp,n.length,o,r,c);!o&&m&&(n[g].providerFactory=p),Kr(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)}else{let p=ku(n[o?g:h],c,!o&&r);Kr(i,e,h>-1?h:g,p)}!o&&r&&m&&n[g].componentProviders++}}}function Kr(e,t,n,r){let o=dt(t),i=cf(t);if(o||i){let u=(i?U(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function ku(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Jr(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Pp(r,o?o(e):e,t)}}var gt=class{};var Hn=class extends gt{constructor(t){super(),this.componentFactoryResolver=new So(this),this.instance=null;let n=new kn([...t.providers,{provide:gt,useValue:this},{provide:Qo,useValue:this.componentFactoryResolver}],t.parent||Uo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function jp(e,t,n=null){return new Hn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Bp=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Za(!1,r.type),i=o.length>0?jp([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=S({token:t,providedIn:"environment",factory:()=>new t(C(ye))});let e=t;return e})(),Hp={detail:{feature:"NgStandalone"}};function Lu(e){ri("mark_use_counter",Hp),e.getStandaloneInjector=t=>t.get(Bp).getOrCreateStandaloneInjector(e)}var $p=new v("Application Initializer"),Vu=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=N($p,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ut(s))r.push(s);else if(Pu(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Up(){return typeof $localize<"u"&&$localize.locale||Bn}var si=new v("LocaleId",{providedIn:"root",factory:()=>N(si,w.Optional|w.SkipSelf)||Up()});var or=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new It(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ju=new v("");var An=null;var Bu=new v("PlatformDestroyListeners"),Hu=new v("appBootstrapListener");function Gp(){Ui(()=>{throw new b(600,!1)})}function zp(e){return e.isBoundToModule}function Wp(e=[]){if(An)return An;let t=Zp(e);return An=t,Gp(),qp(t),t}function qp(e){e.get(zo,null)?.forEach(n=>n())}function $u(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Wp(r),i=[eg(),...n||[]],a=new Hn({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(V);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(De,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Bu);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),Qp(c,u,()=>{let h=a.get(Vu);return h.runInitializers(),h.donePromise.then(()=>{let g=a.get(si,Bn);Np(g||Bn);let E=a.get(ir);return t!==void 0&&E.bootstrap(t),E})})})}catch(t){return Promise.reject(t)}}function Zp(e=[],t){return Ht.create({name:t,providers:[{provide:Xn,useValue:"platform"},{provide:Bu,useValue:new Set([()=>An=null])},...e]})}function Yp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function Qp(e,t,n){try{let r=n();return Ut(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ir=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=N(Uu),this.zoneIsStable=N(Nu),this.componentTypes=[],this.components=[],this.isStable=N(or).hasPendingTasks.pipe(_t(r=>r?et(!1):this.zoneIsStable),Vr(),wn()),this._injector=N(ye)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Ln;if(!this._injector.get(Vu).done){let g="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&ad(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new b(405,!1)}let a;i?a=r:a=this._injector.get(Qo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=zp(a)?void 0:this._injector.get(gt),c=o||a.selector,l=a.create(Ht.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(ju,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Xr(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new b(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Xr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Hu,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Xr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new b(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Xr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Uu=new v("",{providedIn:"root",factory:()=>N(De).handleError.bind(void 0)});function Kp(){let e=N(V),t=N(De);return n=>e.runOutsideAngular(()=>t.handleError(n))}var Jp=(()=>{let t=class t{constructor(){this.zone=N(V),this.applicationRef=N(ir)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Xp(e){return[{provide:V,useFactory:e},{provide:Kn,multi:!0,useFactory:()=>{let t=N(Jp,{optional:!0});return()=>t.initialize()}},{provide:Uu,useFactory:Kp},{provide:Nu,useFactory:Ou}]}function eg(e){let t=Xp(()=>new V(Yp(e)));return Jn([[],t])}function ai(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var ui=null;function vt(){return ui}function Gu(e){ui||(ui=e)}var sr=class{},fe=new v("DocumentToken");function ar(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var ci=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ee({type:t}),t.\u0275inj=Ce({});let e=t;return e})(),zu="browser",tg="server";function li(e){return e===tg}var yt=class{};var zt=class{},cr=class{},Ze=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var fi=class{encodeKey(t){return Wu(t)}encodeValue(t){return Wu(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function ig(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}var sg=/%(\d[a-f0-9])/gi,ag={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Wu(e){return encodeURIComponent(e).replace(sg,(t,n)=>ag[n]??t)}function ur(e){return`${e}`}var he=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new fi,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=ig(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(ur):[ur(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(ur(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(ur(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var hi=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function ug(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function qu(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Zu(e){return typeof Blob<"u"&&e instanceof Blob}function Yu(e){return typeof FormData<"u"&&e instanceof FormData}function cg(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Gt=class e{constructor(t,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(ug(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new Ze),this.context||(this.context=new hi),!this.params)this.params=new he,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),u=a===-1?"?":ad.set(f,t.setHeaders[f]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),c)),new e(n,r,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}},Dt=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Dt||{}),Wt=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new Ze,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},pi=class e extends Wt{constructor(t={}){super(t),this.type=Dt.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},lr=class e extends Wt{constructor(t={}){super(t),this.type=Dt.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},dr=class extends Wt{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}};function di(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var qt=(()=>{let t=class t{constructor(r){this.handler=r}request(r,o,i={}){let s;if(r instanceof Gt)s=r;else{let c;i.headers instanceof Ze?c=i.headers:c=new Ze(i.headers);let l;i.params&&(i.params instanceof he?l=i.params:l=new he({fromObject:i.params})),s=new Gt(r,o,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=et(s).pipe(Lr(c=>this.handler.handle(c)));if(r instanceof Gt||i.observe==="events")return a;let u=a.pipe(tt(c=>c instanceof lr));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(X(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(X(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(X(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(X(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(r,o={}){return this.request("DELETE",r,o)}get(r,o={}){return this.request("GET",r,o)}head(r,o={}){return this.request("HEAD",r,o)}jsonp(r,o){return this.request("JSONP",r,{params:new he().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,o={}){return this.request("OPTIONS",r,o)}patch(r,o,i={}){return this.request("PATCH",r,di(i,o))}post(r,o,i={}){return this.request("POST",r,di(i,o))}put(r,o,i={}){return this.request("PUT",r,di(i,o))}};t.\u0275fac=function(o){return new(o||t)(C(zt))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Xu(e,t){return t(e)}function lg(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}function dg(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}var fg=new v(""),gi=new v(""),hg=new v(""),pg=new v("");function gg(){let e=null;return(t,n)=>{e===null&&(e=(N(fg,{optional:!0})??[]).reduceRight(lg,Xu));let r=N(or),o=r.add();return e(t,n).pipe(En(()=>r.remove(o)))}}var Qu=(()=>{let t=class t extends zt{constructor(r,o){super(),this.backend=r,this.injector=o,this.chain=null,this.pendingTasks=N(or);let i=N(pg,{optional:!0});this.backend=i??r}handle(r){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(gi),...this.injector.get(hg,[])]));this.chain=i.reduceRight((s,a)=>dg(s,a,this.injector),Xu)}let o=this.pendingTasks.add();return this.chain(r,i=>this.backend.handle(i)).pipe(En(()=>this.pendingTasks.remove(o)))}};t.\u0275fac=function(o){return new(o||t)(C(cr),C(ye))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();var mg=/^\)\]\}',?\n/;function yg(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var Ku=(()=>{let t=class t{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new b(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?ge(o.\u0275loadImpl()):et(null)).pipe(_t(()=>new M(s=>{let a=o.build();if(a.open(r.method,r.urlWithParams),r.withCredentials&&(a.withCredentials=!0),r.headers.forEach((m,p)=>a.setRequestHeader(m,p.join(","))),r.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let m=r.detectContentTypeHeader();m!==null&&a.setRequestHeader("Content-Type",m)}if(r.responseType){let m=r.responseType.toLowerCase();a.responseType=m!=="json"?m:"text"}let u=r.serializeBody(),c=null,l=()=>{if(c!==null)return c;let m=a.statusText||"OK",p=new Ze(a.getAllResponseHeaders()),L=yg(a)||r.url;return c=new pi({headers:p,status:a.status,statusText:m,url:L}),c},d=()=>{let{headers:m,status:p,statusText:L,url:H}=l(),A=null;p!==204&&(A=typeof a.response>"u"?a.responseText:a.response),p===0&&(p=A?200:0);let oe=p>=200&&p<300;if(r.responseType==="json"&&typeof A=="string"){let z=A;A=A.replace(mg,"");try{A=A!==""?JSON.parse(A):null}catch(be){A=z,oe&&(oe=!1,A={error:be,text:A})}}oe?(s.next(new lr({body:A,headers:m,status:p,statusText:L,url:H||void 0})),s.complete()):s.error(new dr({error:A,headers:m,status:p,statusText:L,url:H||void 0}))},f=m=>{let{url:p}=l(),L=new dr({error:m,status:a.status||0,statusText:a.statusText||"Unknown Error",url:p||void 0});s.error(L)},h=!1,g=m=>{h||(s.next(l()),h=!0);let p={type:Dt.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(p.total=m.total),r.responseType==="text"&&a.responseText&&(p.partialText=a.responseText),s.next(p)},E=m=>{let p={type:Dt.UploadProgress,loaded:m.loaded};m.lengthComputable&&(p.total=m.total),s.next(p)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),r.reportProgress&&(a.addEventListener("progress",g),u!==null&&a.upload&&a.upload.addEventListener("progress",E)),a.send(u),s.next({type:Dt.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),r.reportProgress&&(a.removeEventListener("progress",g),u!==null&&a.upload&&a.upload.removeEventListener("progress",E)),a.readyState!==a.DONE&&a.abort()}})))}};t.\u0275fac=function(o){return new(o||t)(C(yt))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),ec=new v("XSRF_ENABLED"),vg="XSRF-TOKEN",Dg=new v("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>vg}),Cg="X-XSRF-TOKEN",Eg=new v("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Cg}),fr=class{},wg=(()=>{let t=class t{constructor(r,o,i){this.doc=r,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=ar(r,this.cookieName),this.lastCookieString=r),this.lastToken}};t.\u0275fac=function(o){return new(o||t)(C(fe),C(Fe),C(Dg))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Ig(e,t){let n=e.url.toLowerCase();if(!N(ec)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=N(fr).getToken(),o=N(Eg);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var tc=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(tc||{});function bg(e,t){return{\u0275kind:e,\u0275providers:t}}function mi(...e){let t=[qt,Ku,Qu,{provide:zt,useExisting:Qu},{provide:cr,useExisting:Ku},{provide:gi,useValue:Ig,multi:!0},{provide:ec,useValue:!0},{provide:fr,useClass:wg}];for(let n of e)t.push(...n.\u0275providers);return Jn(t)}var Ju=new v("LEGACY_INTERCEPTOR_FN");function _g(){return bg(tc.LegacyInterceptors,[{provide:Ju,useFactory:gg},{provide:gi,useExisting:Ju,multi:!0}])}var nc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ee({type:t}),t.\u0275inj=Ce({providers:[mi(_g())]});let e=t;return e})();var Di=class extends sr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ci=class e extends Di{static makeCurrent(){Gu(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.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 n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Sg();return n==null?null:Tg(n)}resetBaseElement(){Zt=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ar(document.cookie,t)}},Zt=null;function Sg(){return Zt=Zt||document.querySelector("base"),Zt?Zt.getAttribute("href"):null}var hr;function Tg(e){hr=hr||document.createElement("a"),hr.setAttribute("href",e);let t=hr.pathname;return t.charAt(0)==="/"?t:`/${t}`}var xg=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Ei=new v("EventManagerPlugins"),ac=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new b(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(C(Ei),C(V))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),pr=class{constructor(t){this._doc=t}},yi="ng-app-id",uc=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=li(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${yi}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(yi),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(yi,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(C(fe),C(Go),C(Wo,8),C(Fe))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),vi={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/"},Ii=/%COMP%/g,cc="%COMP%",Ag=`_nghost-${cc}`,Ng=`_ngcontent-${cc}`,Og=!0,Fg=new v("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>Og});function Rg(e){return Ng.replace(Ii,e)}function Pg(e){return Ag.replace(Ii,e)}function lc(e,t){return t.map(n=>n.replace(Ii,e))}var oc=(()=>{let t=class t{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=li(u),this.defaultRenderer=new Yt(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ce.ShadowDom&&(o=W($({},o),{encapsulation:ce.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof gr?i.applyToHost(r):i instanceof Qt&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case ce.Emulated:s=new gr(c,l,o,this.appId,d,a,u,f);break;case ce.ShadowDom:return new wi(c,l,r,o,a,u,this.nonce,f);default:s=new Qt(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(C(ac),C(uc),C(Go),C(Fg),C(fe),C(Fe),C(V),C(Wo))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Yt=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(vi[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ic(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ic(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new b(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=vi[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=vi[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ve.DashCase|ve.Important)?t.style.setProperty(n,r,o&ve.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ve.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=vt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function ic(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var wi=class extends Yt{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=lc(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,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,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}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)}},Qt=class extends Yt{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?lc(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},gr=class extends Qt{constructor(t,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=Rg(c),this.hostAttr=Pg(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},kg=(()=>{let t=class t extends pr{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(C(fe))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),sc=["alt","control","meta","shift"],Lg={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Vg={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},jg=(()=>{let t=class t extends pr{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vt().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),sc.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=Lg[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),sc.forEach(a=>{if(a!==i){let u=Vg[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(C(fe))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function dc(e,t){return $u($({rootComponent:e},Bg(t)))}function Bg(e){return{appProviders:[...zg,...e?.providers??[]],platformProviders:Gg}}function Hg(){Ci.makeCurrent()}function $g(){return new De}function Ug(){return Ja(document),document}var Gg=[{provide:Fe,useValue:zu},{provide:zo,useValue:Hg,multi:!0},{provide:fe,useFactory:Ug,deps:[]}];var zg=[{provide:Xn,useValue:"root"},{provide:De,useFactory:$g,deps:[]},{provide:Ei,useClass:kg,multi:!0,deps:[fe,V,Fe]},{provide:Ei,useClass:jg,multi:!0,deps:[fe]},oc,uc,ac,{provide:Pt,useExisting:oc},{provide:yt,useClass:xg,deps:[]},[]];var Dc=(()=>{let t=class t{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};t.\u0275fac=function(o){return new(o||t)(x($t),x(Re))},t.\u0275dir=le({type:t});let e=t;return e})(),Cc=(()=>{let t=class t extends Dc{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Bo(t)))(i||t)}})(),t.\u0275dir=le({type:t,features:[We]});let e=t;return e})(),Ti=new v("NgValueAccessor"),Wg={provide:Ti,useExisting:mt(()=>xi),multi:!0},xi=(()=>{let t=class t extends Cc{writeValue(r){this.setProperty("checked",r)}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Bo(t)))(i||t)}})(),t.\u0275dir=le({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(o,i){o&1&&j("change",function(a){return i.onChange(a.target.checked)})("blur",function(){return i.onTouched()})},features:[rr([Wg]),We]});let e=t;return e})(),qg={provide:Ti,useExisting:mt(()=>Dr),multi:!0};function Zg(){let e=vt()?vt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var Yg=new v("CompositionEventMode"),Dr=(()=>{let t=class t extends Dc{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Zg())}writeValue(r){let o=r??"";this.setProperty("value",o)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};t.\u0275fac=function(o){return new(o||t)(x($t),x(Re),x(Yg,8))},t.\u0275dir=le({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(o,i){o&1&&j("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)})},features:[rr([qg]),We]});let e=t;return e})();var Qg=new v("NgValidators"),Kg=new v("NgAsyncValidators");function Ec(e){return e!=null}function wc(e){return Ut(e)?ge(e):e}function Ic(e){let t={};return e.forEach(n=>{t=n!=null?$($({},t),n):t}),Object.keys(t).length===0?null:t}function bc(e,t){return t.map(n=>n(e))}function Jg(e){return!e.validate}function _c(e){return e.map(t=>Jg(t)?t:n=>t.validate(n))}function Xg(e){if(!e)return null;let t=e.filter(Ec);return t.length==0?null:function(n){return Ic(bc(n,t))}}function Mc(e){return e!=null?Xg(_c(e)):null}function em(e){if(!e)return null;let t=e.filter(Ec);return t.length==0?null:function(n){let r=bc(n,t).map(wc);return Pr(r).pipe(X(Ic))}}function Sc(e){return e!=null?em(_c(e)):null}function fc(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function tm(e){return e._rawValidators}function nm(e){return e._rawAsyncValidators}function bi(e){return e?Array.isArray(e)?e:[e]:[]}function yr(e,t){return Array.isArray(e)?e.includes(t):e===t}function hc(e,t){let n=bi(t);return bi(e).forEach(o=>{yr(n,o)||n.push(o)}),n}function pc(e,t){return bi(t).filter(n=>!yr(e,n))}var vr=class{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=Mc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Sc(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):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},_i=class extends vr{get formDirective(){return null}get path(){return null}},Xt=class extends vr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Mi=class{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}},rm={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Ow=W($({},rm),{"[class.ng-submitted]":"isSubmitted"}),Tc=(()=>{let t=class t extends Mi{constructor(r){super(r)}};t.\u0275fac=function(o){return new(o||t)(x(Xt,2))},t.\u0275dir=le({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,i){o&2&&ii("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[We]});let e=t;return e})();var Kt="VALID",mr="INVALID",Ct="PENDING",Jt="DISABLED";function om(e){return(Cr(e)?e.validators:e)||null}function im(e){return Array.isArray(e)?Mc(e):e||null}function sm(e,t){return(Cr(t)?t.asyncValidators:e)||null}function am(e){return Array.isArray(e)?Sc(e):e||null}function Cr(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var Si=class{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===Kt}get invalid(){return this.status===mr}get pending(){return this.status==Ct}get disabled(){return this.status===Jt}get enabled(){return this.status!==Jt}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(hc(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(hc(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(pc(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(pc(t,this._rawAsyncValidators))}hasValidator(t){return yr(this._rawValidators,t)}hasAsyncValidator(t){return yr(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=Ct,t.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Jt,this.errors=null,this._forEachChild(r=>{r.disable(W($({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(W($({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Kt,this._forEachChild(r=>{r.enable(W($({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(W($({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!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===Kt||this.status===Ct)&&this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&&(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()?Jt:Kt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Ct,this._hasOwnPendingAsyncValidator=!0;let n=wc(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.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 te,this.statusChanges=new te}_calculateStatus(){return this._allControlsDisabled()?Jt:this.errors?mr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ct)?Ct:this._anyControlsHaveStatus(mr)?mr:Kt}_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){Cr(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=im(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=am(this._rawAsyncValidators)}};var xc=new v("CallSetDisabledState",{providedIn:"root",factory:()=>Ai}),Ai="always";function um(e,t){return[...t.path,e]}function cm(e,t,n=Ai){dm(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),fm(e,t),pm(e,t),hm(e,t),lm(e,t)}function gc(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function lm(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function dm(e,t){let n=tm(e);t.validator!==null?e.setValidators(fc(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=nm(e);t.asyncValidator!==null?e.setAsyncValidators(fc(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();gc(t._rawValidators,o),gc(t._rawAsyncValidators,o)}function fm(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Ac(e,t)})}function hm(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Ac(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function Ac(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function pm(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function gm(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function mm(e){return Object.getPrototypeOf(e.constructor)===Cc}function ym(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===Dr?n=i:mm(i)?r=i:o=i}),o||r||n||null}function mc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function yc(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var vm=class extends Si{constructor(t=null,n,r){super(om(n),sm(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cr(n)&&(n.nonNullable||n.initialValueIsDefault)&&(yc(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),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){mc(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){mc(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){yc(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}};var Dm={provide:Xt,useExisting:mt(()=>Ni)},vc=(()=>Promise.resolve())(),Ni=(()=>{let t=class t extends Xt{constructor(r,o,i,s,a,u){super(),this._changeDetectorRef=a,this.callSetDisabledState=u,this.control=new vm,this._registered=!1,this.name="",this.update=new te,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=ym(this,s)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){let o=r.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),gm(r,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(r){this.viewModel=r,this.update.emit(r)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){cm(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()&&this.name}_updateValue(r){vc.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){let o=r.isDisabled.currentValue,i=o!==0&&ai(o);vc.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?um(r,this._parent):[r]}};t.\u0275fac=function(o){return new(o||t)(x(_i,9),x(Qg,10),x(Kg,10),x(Ti,10),x(ni,8),x(xc,8))},t.\u0275dir=le({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[rr([Dm]),We,Zn]});let e=t;return e})();var Cm=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ee({type:t}),t.\u0275inj=Ce({});let e=t;return e})();var Em=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ee({type:t}),t.\u0275inj=Ce({imports:[Cm]});let e=t;return e})();var Nc=(()=>{let t=class t{static withConfig(r){return{ngModule:t,providers:[{provide:xc,useValue:r.callSetDisabledState??Ai}]}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ee({type:t}),t.\u0275inj=Ce({imports:[Em]});let e=t;return e})();var Fc=qc(Oc());var Ri;try{Ri=!!new Blob}catch{Ri=!1}var Er=(()=>{let t=class t{get isFileSaverSupported(){return Ri}genType(r){if(!r||r.lastIndexOf(".")===-1)return"text/plain";let o=r.substring(r.lastIndexOf(".")+1);switch(o){case"txt":return"text/plain";case"xml":case"html":return`text/${o}`;case"json":return"octet/stream";default:return`application/${o}`}}save(r,o,i,s){if(!r)throw new Error("Data argument should be a blob instance");let a=new Blob([r],{type:i||r.type||this.genType(o)});(0,Fc.saveAs)(a,decodeURI(o||"download"),s)}saveText(r,o,i){let s=new Blob([r]);this.save(s,o,void 0,i)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Rc=(()=>{let t=class t{constructor(r,o,i,s){this.ngZone=r,this.el=o,this.fss=i,this.httpClient=s,this.method="GET",this.success=new te,this.error=new te,this.destroy$=new ie,i.isFileSaverSupported||o.nativeElement.classList.add("filesaver__not-support")}ngOnInit(){this.ngZone.runOutsideAngular(()=>this.setupClickListener())}ngOnDestroy(){this.destroy$.next()}getName(r){return decodeURI(this.fileName||r.headers.get("filename")||r.headers.get("x-filename")||"")}setDisabled(r){let o=this.el.nativeElement;o.disabled=r,o.classList[r?"add":"remove"]("filesaver__disabled")}setupClickListener(){bt(this.el.nativeElement,"click").pipe(tt(()=>this.fss.isFileSaverSupported),In(this.destroy$)).subscribe(()=>{let r=this.http;if(!r){let o=new he,i=this.query||{};for(let s in i)o=o.set(s,i[s]);r=this.httpClient.request(this.method,this.url,{observe:"response",responseType:"blob",headers:this.header,params:o})}this.setDisabled(!0),r.pipe(In(this.destroy$)).subscribe({next:o=>{if(o.status!==200||o.body.size<=0){this.emitIfHasObservers(this.error,o);return}this.fss.save(o.body,this.getName(o),void 0,this.fsOptions),this.emitIfHasObservers(this.success,o)},error:o=>this.emitIfHasObservers(this.error,o),complete:()=>this.setDisabled(!1)})})}emitIfHasObservers(r,o){bm(r)&&this.ngZone.run(()=>r.emit(o))}};t.\u0275fac=function(o){return new(o||t)(x(V),x(Re),x(Er),x(qt))},t.\u0275dir=le({type:t,selectors:[["","fileSaver",""]],inputs:{method:"method",http:"http",query:"query",header:"header",url:"url",fileName:"fileName",fsOptions:"fsOptions"},outputs:{success:"success",error:"error"},exportAs:["fileSaver"],standalone:!0});let e=t;return e})();function bm(e){return e.observed??e.observers.length>0}var Pc=(()=>{let t=class t{constructor(r,o){this.httpClient=r,this.fileSaverService=o,this.text='{ "text": "This is text file!\u4E2D\u6587" }',this.options={autoBom:!1}}onDown(r,o){let i=`save.${r}`;if(o){this.httpClient.get(`assets/files/demo.${r}`,{observe:"response",responseType:"blob"}).subscribe(u=>{this.fileSaverService.save(u.body,i)});return}let s=this.fileSaverService.genType(i),a=new Blob([this.text],{type:s});this.fileSaverService.save(a,i,void 0,this.options)}};t.\u0275fac=function(o){return new(o||t)(x(qt),x(Er))},t.\u0275cmp=ia({type:t,selectors:[["app-root"]],standalone:!0,features:[Lu],decls:44,vars:2,consts:[["href","https://github.com/cipchk/ngx-filesaver/blob/master/README.md","target","_blank"],["type","checkbox",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["type","button",3,"click"],["type","button","fileSaver","","url","assets/files/demo.docx"]],template:function(o,i){o&1&&(O(0,"h1"),P(1,"ngx-filesaver"),F(),O(2,"p"),P(3," Simple file save with FileSaver.js, pls refer "),O(4,"a",0),P(5,"README.md"),F()(),O(6,"h1"),P(7,"Filesaver option"),F(),O(8,"label")(9,"input",1),j("ngModelChange",function(a){return i.options.autoBom=a}),F(),P(10," AutoBOM "),F(),O(11,"h1"),P(12,"Text Document"),F(),O(13,"textarea",2),j("ngModelChange",function(a){return i.text=a}),F(),O(14,"button",3),j("click",function(){return i.onDown("txt",!1)}),P(15,"Save Text"),F(),O(16,"button",3),j("click",function(){return i.onDown("json",!1)}),P(17,"Save JSON"),F(),O(18,"h1"),P(19,"Remote file download"),F(),O(20,"button",3),j("click",function(){return i.onDown("docx",!0)}),P(21,"Save Word"),F(),O(22,"button",3),j("click",function(){return i.onDown("xlsx",!0)}),P(23,"Save Excel"),F(),O(24,"button",3),j("click",function(){return i.onDown("csv",!0)}),P(25,"Save CSV"),F(),O(26,"button",3),j("click",function(){return i.onDown("pptx",!0)}),P(27,"Save PPT"),F(),O(28,"button",3),j("click",function(){return i.onDown("pdf",!0)}),P(29,"Save PDF"),F(),O(30,"button",3),j("click",function(){return i.onDown("zip",!0)}),P(31,"Save Zip"),F(),O(32,"button",3),j("click",function(){return i.onDown("7z",!0)}),P(33,"Save 7z"),F(),O(34,"button",3),j("click",function(){return i.onDown("jpg",!0)}),P(35,"Save JPG"),F(),O(36,"button",3),j("click",function(){return i.onDown("gif",!0)}),P(37,"Save Gif"),F(),O(38,"button",3),j("click",function(){return i.onDown("png",!0)}),P(39,"Save Png"),F(),O(40,"h1"),P(41,"fileSaver Directive"),F(),O(42,"button",4),P(43,"Save Word"),F()),o&2&&(Ko(9),nr("ngModel",i.options.autoBom),Ko(4),nr("ngModel",i.text))},dependencies:[ci,nc,Nc,Dr,xi,Tc,Ni,Rc],encapsulation:2});let e=t;return e})();dc(Pc,{providers:[mi()]}).catch(e=>console.error(e)); diff --git a/main-OEQXZ4P2.js b/main-OEQXZ4P2.js new file mode 100644 index 0000000..585df40 --- /dev/null +++ b/main-OEQXZ4P2.js @@ -0,0 +1,8 @@ +var ll=Object.create;var xr=Object.defineProperty,dl=Object.defineProperties,fl=Object.getOwnPropertyDescriptor,hl=Object.getOwnPropertyDescriptors,pl=Object.getOwnPropertyNames,Ki=Object.getOwnPropertySymbols,gl=Object.getPrototypeOf,Xi=Object.prototype.hasOwnProperty,ml=Object.prototype.propertyIsEnumerable;var Ji=(e,t,n)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||={})Xi.call(t,n)&&Ji(e,n,t[n]);if(Ki)for(var n of Ki(t))ml.call(t,n)&&Ji(e,n,t[n]);return e},B=(e,t)=>dl(e,hl(t));var yl=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var vl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of pl(t))!Xi.call(e,o)&&o!==n&&xr(e,o,{get:()=>t[o],enumerable:!(r=fl(t,o))||r.enumerable});return e};var Dl=(e,t,n)=>(n=e!=null?ll(gl(e)):{},vl(t||!e||!e.__esModule?xr(n,"default",{value:e,enumerable:!0}):n,e));var Ar=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var ol=yl((Zi,Yi)=>{"use strict";(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof Zi<"u"?t():(t(),e.FileSaver={})})(Zi,function(){"use strict";function e(a,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function t(a,c,u){var l=new XMLHttpRequest;l.open("GET",a),l.responseType="blob",l.onload=function(){s(l.response,c,u)},l.onerror=function(){console.error("could not download file")},l.send()}function n(a){var c=new XMLHttpRequest;c.open("HEAD",a,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function r(a){try{a.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(c)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,i=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(a,c,u){var l=o.URL||o.webkitURL,d=document.createElement("a");c=c||a.name||"download",d.download=c,d.rel="noopener",typeof a=="string"?(d.href=a,d.origin===location.origin?r(d):n(d.href)?t(a,c,u):r(d,d.target="_blank")):(d.href=l.createObjectURL(a),setTimeout(function(){l.revokeObjectURL(d.href)},4e4),setTimeout(function(){r(d)},0))}:"msSaveOrOpenBlob"in navigator?function(a,c,u){if(c=c||a.name||"download",typeof a!="string")navigator.msSaveOrOpenBlob(e(a,u),c);else if(n(a))t(a,c,u);else{var l=document.createElement("a");l.href=a,l.target="_blank",setTimeout(function(){r(l)})}}:function(a,c,u,l){if(l=l||open("","_blank"),l&&(l.document.title=l.document.body.innerText="downloading..."),typeof a=="string")return t(a,c,u);var d=a.type==="application/octet-stream",h=/constructor/i.test(o.HTMLElement)||o.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||d&&h||i)&&typeof FileReader<"u"){var p=new FileReader;p.onloadend=function(){var g=p.result;g=f?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),l?l.location.href=g:location=g,l=null},p.readAsDataURL(a)}else{var E=o.URL||o.webkitURL,m=E.createObjectURL(a);l?l.location=m:location.href=m,l=null,setTimeout(function(){E.revokeObjectURL(m)},4e4)}});o.saveAs=s.saveAs=s,typeof Yi<"u"&&(Yi.exports=s)})});var Or=null;var Nr=1,Fr=Symbol("SIGNAL");function T(e){let t=Or;return Or=e,t}function es(){return Or}var Rr={version:0,lastCleanEpoch: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:()=>{},consumerOnSignalRead:()=>{}};function El(e){if(!(jr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Nr)){if(!e.producerMustRecompute(e)&&!kr(e)){e.dirty=!1,e.lastCleanEpoch=Nr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Nr}}function Pr(e){return e&&(e.nextProducerIndex=0),T(e)}function ts(e,t){if(T(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(jr(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function kr(e){Br(e);for(let t=0;t0}function Br(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function wl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Cl(e){return e.producerNode!==void 0}function Il(){throw new Error}var bl=Il;function ns(e){bl=e}function y(e){return typeof e=="function"}function fn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var hn=fn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Nt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(y(r))try{r()}catch(i){t=i instanceof hn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{rs(i)}catch(s){t=t??[],s instanceof hn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new hn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)rs(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Nt(n,t)}remove(t){let{_finalizers:n}=this;n&&Nt(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var $r=Z.EMPTY;function pn(e){return e instanceof Z||e&&"closed"in e&&y(e.remove)&&y(e.add)&&y(e.unsubscribe)}function rs(e){y(e)?e():e.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Xe={setTimeout(e,t,...n){let{delegate:r}=Xe;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Xe;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gn(e){Xe.setTimeout(()=>{let{onUnhandledError:t}=ae;if(t)t(e);else throw e})}function Ot(){}var os=Ur("C",void 0,void 0);function is(e){return Ur("E",void 0,e)}function ss(e){return Ur("N",e,void 0)}function Ur(e,t,n){return{kind:e,value:t,error:n}}var Le=null;function et(e){if(ae.useDeprecatedSynchronousErrorHandling){let t=!Le;if(t&&(Le={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Le;if(Le=null,n)throw r}}else e()}function as(e){ae.useDeprecatedSynchronousErrorHandling&&Le&&(Le.errorThrown=!0,Le.error=e)}var Ve=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,pn(t)&&t.add(this)):this.destination=Tl}static create(t,n,r){return new tt(t,n,r)}next(t){this.isStopped?Gr(ss(t),this):this._next(t)}error(t){this.isStopped?Gr(is(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Gr(os,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()}}},_l=Function.prototype.bind;function Hr(e,t){return _l.call(e,t)}var zr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mn(r)}else mn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mn(n)}}},tt=class extends Ve{constructor(t,n,r){super();let o;if(y(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Hr(t.next,i),error:t.error&&Hr(t.error,i),complete:t.complete&&Hr(t.complete,i)}):o=t}this.destination=new zr(o)}};function mn(e){ae.useDeprecatedSynchronousErrorHandling?as(e):gn(e)}function Ml(e){throw e}function Gr(e,t){let{onStoppedNotification:n}=ae;n&&Xe.setTimeout(()=>n(e,t))}var Tl={closed:!0,next:Ot,error:Ml,complete:Ot};var nt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function cs(e){return e}function us(e){return e.length===0?cs:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var O=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=xl(n)?n:new tt(n,r,o);return et(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ls(r),new r((o,i)=>{let s=new tt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[nt](){return this}pipe(...n){return us(n)(this)}toPromise(n){return n=ls(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ls(e){var t;return(t=e??ae.Promise)!==null&&t!==void 0?t:Promise}function Sl(e){return e&&y(e.next)&&y(e.error)&&y(e.complete)}function xl(e){return e&&e instanceof Ve||Sl(e)&&pn(e)}function Al(e){return y(e?.lift)}function z(e){return t=>{if(Al(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function W(e,t,n,r,o){return new Wr(e,t,n,r,o)}var Wr=class extends Ve{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var ds=fn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ds}next(n){et(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){et(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){et(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?$r:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,Nt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new O;return n.source=this,n}}return e.create=(t,n)=>new yn(t,n),e})(),yn=class extends ee{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:$r}};var Ft=class extends ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function fs(e){return e&&y(e.schedule)}function hs(e){return e[e.length-1]}function ps(e){return y(hs(e))?e.pop():void 0}function gs(e){return fs(hs(e))?e.pop():void 0}function ys(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function ms(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function je(e){return this instanceof je?(this.v=e,this):new je(e)}function vs(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(f){return new Promise(function(p,E){i.push([h,f,p,E])>1||a(h,f)})})}function a(h,f){try{c(r[h](f))}catch(p){d(i[0][3],p)}}function c(h){h.value instanceof je?Promise.resolve(h.value.v).then(u,l):d(i[0][2],h)}function u(h){a("next",h)}function l(h){a("throw",h)}function d(h,f){h(f),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Ds(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ms=="function"?ms(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var rt=e=>e&&typeof e.length=="number"&&typeof e!="function";function vn(e){return y(e?.then)}function Dn(e){return y(e[nt])}function En(e){return Symbol.asyncIterator&&y(e?.[Symbol.asyncIterator])}function wn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Nl(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Cn=Nl();function In(e){return y(e?.[Cn])}function bn(e){return vs(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield je(n.read());if(o)return yield je(void 0);yield yield je(r)}}finally{n.releaseLock()}})}function _n(e){return y(e?.getReader)}function $(e){if(e instanceof O)return e;if(e!=null){if(Dn(e))return Ol(e);if(rt(e))return Fl(e);if(vn(e))return Rl(e);if(En(e))return Es(e);if(In(e))return Pl(e);if(_n(e))return kl(e)}throw wn(e)}function Ol(e){return new O(t=>{let n=e[nt]();if(y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fl(e){return new O(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gn)})}function Pl(e){return new O(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Es(e){return new O(t=>{Ll(e,t).catch(n=>t.error(n))})}function kl(e){return Es(bn(e))}function Ll(e,t){var n,r,o,i;return ys(this,void 0,void 0,function*(){try{for(n=Ds(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function te(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Mn(e,t=0){return z((n,r)=>{n.subscribe(W(r,o=>te(r,e,()=>r.next(o),t),()=>te(r,e,()=>r.complete(),t),o=>te(r,e,()=>r.error(o),t)))})}function Tn(e,t=0){return z((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ws(e,t){return $(e).pipe(Tn(t),Mn(t))}function Cs(e,t){return $(e).pipe(Tn(t),Mn(t))}function Is(e,t){return new O(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function bs(e,t){return new O(n=>{let r;return te(n,t,()=>{r=e[Cn](),te(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>y(r?.return)&&r.return()})}function Sn(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(n=>{te(n,t,()=>{let r=e[Symbol.asyncIterator]();te(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function _s(e,t){return Sn(bn(e),t)}function Ms(e,t){if(e!=null){if(Dn(e))return ws(e,t);if(rt(e))return Is(e,t);if(vn(e))return Cs(e,t);if(En(e))return Sn(e,t);if(In(e))return bs(e,t);if(_n(e))return _s(e,t)}throw wn(e)}function Be(e,t){return t?Ms(e,t):$(e)}function xn(...e){let t=gs(e);return Be(e,t)}function Q(e,t){return z((n,r)=>{let o=0;n.subscribe(W(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Vl}=Array;function jl(e,t){return Vl(t)?e(...t):e(t)}function An(e){return Q(t=>jl(e,t))}var{isArray:Bl}=Array,{getPrototypeOf:$l,prototype:Ul,keys:Hl}=Object;function Ts(e){if(e.length===1){let t=e[0];if(Bl(t))return{args:t,keys:null};if(Gl(t)){let n=Hl(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Gl(e){return e&&typeof e=="object"&&$l(e)===Ul}function Ss(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function xs(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u{i&&t.next(E),u++;let m=!1;$(n(E,l++)).subscribe(W(t,g=>{o?.(g),i?f(g):t.next(g)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&up(g)):p(g)}h()}catch(g){t.error(g)}}))};return e.subscribe(W(t,f,()=>{d=!0,h()})),()=>{a?.()}}function ot(e,t,n=1/0){return y(t)?ot((r,o)=>Q((i,s)=>t(r,i,o,s))($(e(r,o))),n):(typeof t=="number"&&(n=t),z((r,o)=>xs(r,o,e,n)))}function qr(...e){let t=ps(e),{args:n,keys:r}=Ts(e),o=new O(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Ss(r,a):a),i.complete())}))}});return t?o.pipe(An(t)):o}var zl=["addListener","removeListener"],Wl=["addEventListener","removeEventListener"],ql=["on","off"];function Rt(e,t,n,r){if(y(n)&&(r=n,n=void 0),r)return Rt(e,t,n).pipe(An(r));let[o,i]=Ql(e)?Wl.map(s=>a=>e[s](t,a,n)):Zl(e)?zl.map(As(e,t)):Yl(e)?ql.map(As(e,t)):[];if(!o&&rt(e))return ot(s=>Rt(s,t,n))($(e));if(!o)throw new TypeError("Invalid event target");return new O(s=>{let a=(...c)=>s.next(1i(a)})}function As(e,t){return n=>r=>e[n](t,r)}function Zl(e){return y(e.addListener)&&y(e.removeListener)}function Yl(e){return y(e.on)&&y(e.off)}function Ql(e){return y(e.addEventListener)&&y(e.removeEventListener)}function it(e,t){return z((n,r)=>{let o=0;n.subscribe(W(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Zr(e,t){return y(t)?ot(e,t,1):ot(e,1)}function Yr(e){return z((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Qr(e,t){return z((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(W(r,c=>{o?.unsubscribe();let u=0,l=i++;$(e(c,l)).subscribe(o=W(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Nn(e){return z((t,n)=>{$(e).subscribe(W(n,()=>n.complete(),Ot)),!n.closed&&t.subscribe(n)})}var Kl="https://g.co/ng/security#xss",b=class extends Error{constructor(t,n){super(Jn(t,n)),this.code=t}};function Jn(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function Xn(e){return{toString:e}.toString()}var lo=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function Jl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function oe(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(oe).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function Ns(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Xl=A({__forward_ref__:A});function It(e){return e.__forward_ref__=It,e.toString=function(){return oe(this())},e}function Y(e){return ha(e)?e():e}function ha(e){return typeof e=="function"&&e.hasOwnProperty(Xl)&&e.__forward_ref__===It}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qe(e){return{providers:e.providers||[],imports:e.imports||[]}}function Yo(e){return Os(e,pa)||Os(e,ga)}function Os(e,t){return e.hasOwnProperty(t)?e[t]:null}function ed(e){let t=e&&(e[pa]||e[ga]);return t||null}function Fs(e){return e&&(e.hasOwnProperty(Rs)||e.hasOwnProperty(td))?e[Rs]:null}var pa=A({\u0275prov:A}),Rs=A({\u0275inj:A}),ga=A({ngInjectableDef:A}),td=A({ngInjectorDef:A}),D=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ma(e){return e&&!!e.\u0275providers}var nd=A({\u0275cmp:A}),rd=A({\u0275dir:A}),od=A({\u0275pipe:A});var Vn=A({\u0275fac:A}),Pt=A({__NG_ELEMENT_ID__:A}),Ps=A({__NG_ENV_ID__:A});function id(e){return typeof e=="string"?e:e==null?"":String(e)}function sd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():id(e)}function ad(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new b(-200,e)}function Qo(e,t){throw new b(-201,!1)}var C=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}(C||{}),fo;function ya(){return fo}function ne(e){let t=fo;return fo=e,t}function va(e,t,n){let r=Yo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&C.Optional)return null;if(t!==void 0)return t;Qo(e,"Injector")}var cd={},kt=cd,ud="__NG_DI_FLAG__",jn="ngTempTokenPath",ld="ngTokenPath",dd=/\n/gm,fd="\u0275",ks="__source",ut;function hd(){return ut}function _e(e){let t=ut;return ut=e,t}function pd(e,t=C.Default){if(ut===void 0)throw new b(-203,!1);return ut===null?va(e,void 0,t):ut.get(e,t&C.Optional?null:void 0,t)}function I(e,t=C.Default){return(ya()||pd)(Y(e),t)}function w(e,t=C.Default){return I(e,er(t))}function er(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ho(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):oe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(dd,` + `)}`}function dt(e,t){let n=e.hasOwnProperty(Vn);return n?e[Vn]:null}function Ko(e,t){e.forEach(n=>Array.isArray(n)?Ko(n,t):t(n))}function Da(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Dd(e,t,n){let r=Wt(e,t);return r>=0?e[r|1]=n:(r=~r,vd(e,r,t,n)),r}function Kr(e,t){let n=Wt(e,t);if(n>=0)return e[n|1]}function Wt(e,t){return Ed(e,t,1)}function Ed(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(e){return(e&1)===0}function Td(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ce(s)&&(t+=Vs(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=Vs(i,o)),t}function Od(e){return e.map(Nd).join(",")}function Fd(e){let t=[],n=[],r=1,o=2;for(;r{let t=Ta(e),n=B(P({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ca.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||fe.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});Sa(n);let r=e.dependencies;return n.directiveDefs=Bs(r,!1),n.pipeDefs=Bs(r,!0),n.id=Ld(n),n})}function Rd(e){return tr(e)||_a(e)}function Pd(e){return e!==null}function Ze(e){return Xn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function js(e,t){if(e==null)return ft;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=ht.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==ht.None?[r,a]:r,t[i]=s):n[i]=r}return n}function he(e){return Xn(()=>{let t=Ta(e);return Sa(t),t})}function tr(e){return e[nd]||null}function _a(e){return e[rd]||null}function Ma(e){return e[od]||null}function kd(e){let t=tr(e)||_a(e)||Ma(e);return t!==null?t.standalone:!1}function Ta(e){let 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||ft,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:js(e.inputs,t),outputs:js(e.outputs),debugInfo:null}}function Sa(e){e.features?.forEach(t=>t(e))}function Bs(e,t){if(!e)return null;let n=t?Ma:Rd;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Pd)}function Ld(e){let t=0,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(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Xo(e){return{\u0275providers:e}}function Vd(...e){return{\u0275providers:xa(!0,e),\u0275fromNgModule:!0}}function xa(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ko(t,s=>{let a=s;go(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Aa(o,i),n}function Aa(e,t){for(let n=0;n{t(i,r)})}}function go(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Fs(e),s=!i&&tr(e);if(!i&&!s){let c=e.ngModule;if(i=Fs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)go(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ko(i.imports,l=>{go(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Aa(u,t)}if(!a){let u=dt(o)||(()=>new o);t({provide:o,useFactory:u,deps:re},o),t({provide:wa,useValue:o,multi:!0},o),t({provide:Lt,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ei(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ei(e,t){for(let n of e)ma(n)&&(n=n.\u0275providers),Array.isArray(n)?ei(n,t):t(n)}var jd=A({provide:String,useValue:A});function Na(e){return e!==null&&typeof e=="object"&&jd in e}function Bd(e){return!!(e&&e.useExisting)}function $d(e){return!!(e&&e.useFactory)}function pt(e){return typeof e=="function"}function Ud(e){return!!e.useClass}var nr=new D(""),Rn={},Hd={},Jr;function ti(){return Jr===void 0&&(Jr=new Bn),Jr}var ye=class{},jt=class extends ye{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,yo(t,s=>this.processProvider(s)),this.records.set(Ea,st(void 0,this)),o.has("environment")&&this.records.set(ye,st(void 0,this));let i=this.records.get(nr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(wa,re,C.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=T(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=_e(this),r=ne(void 0),o;try{return t()}finally{_e(n),ne(r)}}get(t,n=kt,r=C.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ps))return t[Ps](this);r=er(r);let o,i=_e(this),s=ne(void 0);try{if(!(r&C.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Zd(t)&&Yo(t);u&&this.injectableDefInScope(u)?c=st(mo(t),Rn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&C.Self?ti():this.parent;return n=r&C.Optional&&n===kt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[jn]=a[jn]||[]).unshift(oe(t)),i)throw a;return md(a,t,"R3InjectorError",this.source)}else throw a}finally{ne(s),_e(i)}}resolveInjectorInitializers(){let t=T(null),n=_e(this),r=ne(void 0),o;try{let i=this.get(Lt,re,C.Self);for(let s of i)s()}finally{_e(n),ne(r),T(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(oe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processProvider(t){t=Y(t);let n=pt(t)?t:Y(t&&t.provide),r=zd(t);if(!pt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=st(void 0,Rn,!0),o.factory=()=>ho(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=T(null);try{return n.value===Rn&&(n.value=Hd,n.value=n.factory()),typeof n.value=="object"&&n.value&&qd(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{T(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function mo(e){let t=Yo(e),n=t!==null?t.factory:dt(e);if(n!==null)return n;if(e instanceof D)throw new b(204,!1);if(e instanceof Function)return Gd(e);throw new b(204,!1)}function Gd(e){if(e.length>0)throw new b(204,!1);let n=ed(e);return n!==null?()=>n.factory(e):()=>new e}function zd(e){if(Na(e))return st(void 0,e.useValue);{let t=Oa(e);return st(t,Rn)}}function Oa(e,t,n){let r;if(pt(e)){let o=Y(e);return dt(o)||mo(o)}else if(Na(e))r=()=>Y(e.useValue);else if($d(e))r=()=>e.useFactory(...ho(e.deps||[]));else if(Bd(e))r=()=>I(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(Wd(e))r=()=>new o(...ho(e.deps));else return dt(o)||mo(o)}return r}function st(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wd(e){return!!e.deps}function qd(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Zd(e){return typeof e=="function"||typeof e=="object"&&e instanceof D}function yo(e,t){for(let n of e)Array.isArray(n)?yo(n,t):n&&ma(n)?yo(n.\u0275providers,t):t(n)}function Fa(e,t){e instanceof jt&&e.assertNotDestroyed();let n,r=_e(e),o=ne(void 0);try{return t()}finally{_e(r),ne(o)}}function Yd(){return ya()!==void 0||hd()!=null}var Ae=0,_=1,v=2,ue=3,Me=4,Ne=5,vo=6,$n=7,ve=8,gt=9,De=10,K=11,Bt=12,$s=13,qt=14,Ee=15,Un=16,at=17,ni=18,rr=19,Ra=20,Te=21,Xr=22,ie=23,He=25,Pa=1;var Do=7,Qd=8,Hn=9,Ue=10,Gn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Gn||{});function Se(e){return Array.isArray(e)&&typeof e[Pa]=="object"}function bt(e){return Array.isArray(e)&&e[Pa]===!0}function ka(e){return(e.flags&4)!==0}function or(e){return e.componentOffset>-1}function La(e){return(e.flags&1)===1}function xe(e){return!!e.template}function Eo(e){return(e[v]&512)!==0}var wo=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Va(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function ir(){return ja}function ja(e){return e.type.prototype.ngOnChanges&&(e.setInput=Jd),Kd}ir.ngInherit=!0;function Kd(){let e=$a(this),t=e?.current;if(t){let n=e.previous;if(n===ft)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Jd(e,t,n,r,o){let i=this.declaredInputs[r],s=$a(e)||Xd(e,{previous:ft,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new wo(u&&u.currentValue,n,c===ft),Va(e,t,o,n)}var Ba="__ngSimpleChanges__";function $a(e){return e[Ba]||null}function Xd(e,t){return e[Ba]=t}var Us=null;var le=function(e,t,n){Us?.(e,t,n)},ef="svg",tf="math";function Ye(e){for(;Array.isArray(e);)e=e[Ae];return e}function nf(e,t){return Ye(t[e])}function Ie(e,t){return Ye(t[e.index])}function Ua(e,t){return e.data[t]}function Oe(e,t){let n=t[e];return Se(n)?n:n[Ae]}function ri(e){return(e[v]&128)===128}function Hs(e,t){return t==null?null:e[t]}function Ha(e){e[at]=0}function Ga(e){e[v]&1024||(e[v]|=1024,ri(e)&&sr(e))}function $t(e){return!!(e[v]&9216||e[ie]?.dirty)}function Gs(e){e[De].changeDetectionScheduler?.notify(7),e[v]&64&&(e[v]|=1024),$t(e)&&sr(e)}function sr(e){e[De].changeDetectionScheduler?.notify(0);let t=mt(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!ri(t)));)t=mt(t)}function za(e,t){if((e[v]&256)===256)throw new b(911,!1);e[Te]===null&&(e[Te]=[]),e[Te].push(t)}function rf(e,t){if(e[Te]===null)return;let n=e[Te].indexOf(t);n!==-1&&e[Te].splice(n,1)}function mt(e){let t=e[ue];return bt(t)?t[ue]:t}var M={lFrame:ec(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Wa=!1;function of(){return M.lFrame.elementDepthCount}function sf(){M.lFrame.elementDepthCount++}function af(){M.lFrame.elementDepthCount--}function qa(){return M.bindingsEnabled}function cf(){return M.skipHydrationRootTNode!==null}function uf(e){return M.skipHydrationRootTNode===e}function lf(){M.skipHydrationRootTNode=null}function U(){return M.lFrame.lView}function pe(){return M.lFrame.tView}function se(){let e=Za();for(;e!==null&&e.type===64;)e=e.parent;return e}function Za(){return M.lFrame.currentTNode}function df(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ar(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Ya(){return M.lFrame.isParent}function ff(){M.lFrame.isParent=!1}function Qa(){return Wa}function zs(e){Wa=e}function hf(e){return M.lFrame.bindingIndex=e}function pf(){return M.lFrame.bindingIndex++}function gf(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mf(){return M.lFrame.inI18n}function yf(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,Co(t)}function vf(){return M.lFrame.currentDirectiveIndex}function Co(e){M.lFrame.currentDirectiveIndex=e}function Df(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ka(e){M.lFrame.currentQueryIndex=e}function Ef(e){let t=e[_];return t.type===2?t.declTNode:t.type===1?e[Ne]:null}function Ja(e,t,n){if(n&C.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&C.Host);)if(o=Ef(i),o===null||(i=i[qt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Xa();return r.currentTNode=t,r.lView=e,!0}function oi(e){let t=Xa(),n=e[_];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xa(){let e=M.lFrame,t=e===null?null:e.child;return t===null?ec(e):t}function ec(e){let 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 e!==null&&(e.child=t),t}function tc(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var nc=tc;function ii(){let e=tc();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 Zt(){return M.lFrame.selectedIndex}function Ge(e){M.lFrame.selectedIndex=e}function wf(){let e=M.lFrame;return Ua(e.tView,e.selectedIndex)}function Cf(){return M.lFrame.currentNamespace}var rc=!0;function oc(){return rc}function ic(e){rc=e}function If(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ja(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function sc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[at]+=65536),(a>14>16&&(e[v]&3)===t&&(e[v]+=16384,Ws(a,i)):Ws(a,i)}var lt=-1,ze=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function _f(e){return e instanceof ze}function Mf(e){return(e.flags&8)!==0}function Tf(e){return(e.flags&16)!==0}function Sf(e){return e!==lt}function Io(e){return e&32767}function xf(e){return e>>16}function bo(e,t){let n=xf(e),r=t;for(;n>0;)r=r[qt],n--;return r}var _o=!0;function qs(e){let t=_o;return _o=e,t}var Af=256,cc=Af-1,uc=5,Nf=0,de={};function Of(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Pt)&&(r=n[Pt]),r==null&&(r=n[Pt]=Nf++);let o=r&cc,i=1<>uc)]|=i}function zn(e,t){let n=lc(e,t);if(n!==-1)return n;let r=t[_];r.firstCreatePass&&(e.injectorIndex=t.length,to(r.data,e),to(t,null),to(r.blueprint,null));let o=dc(e,t),i=e.injectorIndex;if(Sf(o)){let s=Io(o),a=bo(o,t),c=a[_].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function to(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function dc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=mc(o),r===null)return lt;if(n++,o=o[qt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return lt}function Mo(e,t,n){Of(e,t,n)}function fc(e,t,n){if(n&C.Optional||e!==void 0)return e;Qo(t,"NodeInjector")}function hc(e,t,n,r){if(n&C.Optional&&r===void 0&&(r=null),!(n&(C.Self|C.Host))){let o=e[gt],i=ne(void 0);try{return o?o.get(t,r,n&C.Optional):va(t,r,n&C.Optional)}finally{ne(i)}}return fc(r,t,n)}function pc(e,t,n,r=C.Default,o){if(e!==null){if(t[v]&2048&&!(r&C.Self)){let s=Lf(e,t,n,r,de);if(s!==de)return s}let i=gc(e,t,n,r,de);if(i!==de)return i}return hc(t,n,r,o)}function gc(e,t,n,r,o){let i=Pf(n);if(typeof i=="function"){if(!Ja(t,e,r))return r&C.Host?fc(o,n,r):hc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&C.Optional))Qo(n);else return s}finally{nc()}}else if(typeof i=="number"){let s=null,a=lc(e,t),c=lt,u=r&C.Host?t[Ee][Ne]:null;for((a===-1||r&C.SkipSelf)&&(c=a===-1?dc(e,t):t[a+8],c===lt||!Ys(r,!1)?a=-1:(s=t[_],a=Io(c),t=bo(c,t)));a!==-1;){let l=t[_];if(Zs(i,a,l.data)){let d=Ff(a,t,n,s,r,u);if(d!==de)return d}c=t[a+8],c!==lt&&Ys(r,t[_].data[a+8]===u)&&Zs(i,a,t)?(s=l,a=Io(c),t=bo(c,t)):a=-1}}return o}function Ff(e,t,n,r,o,i){let s=t[_],a=s.data[e+8],c=r==null?or(a)&&_o:r!=s&&(a.type&3)!==0,u=o&C.Host&&i===a,l=Rf(a,s,n,c,u);return l!==null?yt(t,s,l,a):de}function Rf(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f=c&&p.type===n)return f}if(o){let f=s[c];if(f&&xe(f)&&f.type===n)return c}return null}function yt(e,t,n,r){let o=e[n],i=t.data;if(_f(o)){let s=o;s.resolving&&ad(sd(i[n]));let a=qs(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ne(s.injectImpl):null,l=Ja(e,r,C.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&If(n,i[n],t)}finally{u!==null&&ne(u),qs(a),s.resolving=!1,nc()}}return o}function Pf(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Pt)?e[Pt]:void 0;return typeof t=="number"?t>=0?t&cc:kf:t}function Zs(e,t,n){let r=1<>uc)]&r)}function Ys(e,t){return!(e&C.Self)&&!(e&C.Host&&t)}var Wn=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pc(this._tNode,this._lView,t,er(r),n)}};function kf(){return new Wn(se(),U())}function si(e){return Xn(()=>{let t=e.prototype.constructor,n=t[Vn]||To(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Vn]||To(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function To(e){return ha(e)?()=>{let t=To(Y(e));return t&&t()}:dt(e)}function Lf(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=gc(i,s,n,r|C.Self,de);if(a!==de)return a;let c=i.parent;if(!c){let u=s[Ra];if(u){let l=u.get(n,de,r);if(l!==de)return l}c=mc(s),s=s[qt]}i=c}return o}function mc(e){let t=e[_],n=t.type;return n===2?t.declTNode:n===1?e[Ne]:null}function Qs(e,t=null,n=null,r){let o=Vf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Vf(e,t=null,n=null,r,o=new Set){let i=[n||re,Vd(e)];return r=r||(typeof e=="object"?void 0:oe(e)),new jt(i,t||ti(),r||null,o)}var $e=class $e{static create(t,n){if(Array.isArray(t))return Qs({name:""},n,t,"");{let r=t.name??"";return Qs({name:r},t.parent,t.providers,r)}}};$e.THROW_IF_NOT_FOUND=kt,$e.NULL=new Bn,$e.\u0275prov=S({token:$e,providedIn:"any",factory:()=>I(Ea)}),$e.__NG_ELEMENT_ID__=-1;var vt=$e;var jf=new D("");jf.__NG_ELEMENT_ID__=e=>{let t=se();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&C.Optional)return null;throw new b(204,!1)};var Bf="ngOriginalError";function no(e){return e[Bf]}var we=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&no(t);for(;n&&no(n);)n=no(n);return n||null}},yc=new D("",{providedIn:"root",factory:()=>w(we).handleError.bind(void 0)}),vc=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=$f,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),So=class extends vc{constructor(t){super(),this._lView=t}onDestroy(t){return za(this._lView,t),()=>rf(this._lView,t)}};function $f(){return new So(U())}function Uf(){return Dc(se(),U())}function Dc(e,t){return new Fe(Ie(e,t))}var Fe=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Uf;let e=t;return e})();var _t=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ft(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=S({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var xo=class extends ee{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Yd()&&(this.destroyRef=w(vc,{optional:!0})??void 0,this.pendingTasks=w(_t,{optional:!0})??void 0)}emit(t){let n=T(null);try{super.next(t)}finally{T(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},q=xo;function Hf(e){return(e.flags&128)===128}var Ec=new Map,Gf=0;function zf(){return Gf++}function Wf(e){Ec.set(e[rr],e)}function qf(e){Ec.delete(e[rr])}var Ks="__ngContext__";function Dt(e,t){Se(t)?(e[Ks]=t[rr],Wf(t)):e[Ks]=t}function wc(e){return Ic(e[Bt])}function Cc(e){return Ic(e[Me])}function Ic(e){for(;e!==null&&!bt(e);)e=e[Me];return e}var Ao;function bc(e){Ao=e}function Zf(){if(Ao!==void 0)return Ao;if(typeof document<"u")return document;throw new b(210,!1)}var ai=new D("",{providedIn:"root",factory:()=>Yf}),Yf="ng",ci=new D(""),Re=new D("",{providedIn:"platform",factory:()=>"unknown"});var ui=new D("",{providedIn:"root",factory:()=>Zf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Qf="h",Kf="b";var Jf=()=>null;function li(e,t,n=!1){return Jf(e,t,n)}var _c=!1,Xf=new D("",{providedIn:"root",factory:()=>_c});var No=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Kl})`}};function di(e){return e instanceof No?e.changingThisBreaksApplicationSecurity:e}var Ce=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ce||{}),eh;function Mc(e,t){return eh(e,t)}function ct(e,t,n,r,o){if(r!=null){let i,s=!1;bt(r)?i=r:Se(r)&&(s=!0,r=r[Ae]);let a=Ye(r);e===0&&n!==null?o==null?xc(t,n,a):Oo(t,n,a,o||null,!0):e===1&&n!==null?Oo(t,n,a,o||null,!0):e===2?yh(t,a,s):e===3&&t.destroyNode(a),i!=null&&Dh(t,e,i,n,o)}}function th(e,t){return e.createText(t)}function Tc(e,t,n){return e.createElement(t,n)}function nh(e,t){Sc(e,t),t[Ae]=null,t[Ne]=null}function Sc(e,t){t[De].changeDetectionScheduler?.notify(8),pi(e,t,t[K],2,null,null)}function rh(e){let t=e[Bt];if(!t)return ro(e[_],e);for(;t;){let n=null;if(Se(t))n=t[Bt];else{let r=t[Ue];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)Se(t)&&ro(t[_],t),t=t[ue];t===null&&(t=e),Se(t)&&ro(t[_],t),n=t&&t[Me]}t=n}}function oh(e,t){let n=e[Hn],r=t[ue];if(Se(r))e[v]|=Gn.HasTransplantedViews;else{let o=r[ue][Ee];t[Ee]!==o&&(e[v]|=Gn.HasTransplantedViews)}n===null?e[Hn]=[t]:n.push(t)}function fi(e,t){let n=e[Hn],r=n.indexOf(t);n.splice(r,1)}function ih(e,t){if(e.length<=Ue)return;let n=Ue+t,r=e[n];if(r){let o=r[Un];o!==null&&o!==e&&fi(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=Da(e,Ue+t);nh(r[_],r);let s=i[ni];s!==null&&s.detachView(i[_]),r[ue]=null,r[Me]=null,r[v]&=-129}return r}function sh(e,t){if(!(t[v]&256)){let n=t[K];n.destroyNode&&pi(e,t,n,3,null,null),rh(t)}}function ro(e,t){if(t[v]&256)return;let n=T(null);try{t[v]&=-129,t[v]|=256,t[ie]&&Lr(t[ie]),ch(e,t),ah(e,t),t[_].type===1&&t[K].destroy();let r=t[Un];if(r!==null&&bt(t[ue])){r!==t[ue]&&fi(r,t);let o=t[ni];o!==null&&o.detachView(e)}qf(t)}finally{T(n)}}function ah(e,t){let n=e.cleanup,r=t[$n];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[$n]=null);let o=t[Te];if(o!==null){t[Te]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===fe.None||i===fe.Emulated)return null}return Ie(r,n)}}function Oo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function xc(e,t,n){e.appendChild(t,n)}function Js(e,t,n,r,o){r!==null?Oo(e,t,n,r,o):xc(e,t,n)}function dh(e,t,n,r){e.removeChild(t,n,r)}function fh(e,t){return e.parentNode(t)}function hh(e,t,n){return gh(e,t,n)}function ph(e,t,n){return e.type&40?Ie(e,n):null}var gh=ph,Xs;function Ac(e,t,n,r){let o=uh(e,r,t),i=t[K],s=r.parent||t[Ne],a=hh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cHe&&Fc(e,t,He,!1),le(s?2:0,o),n(r,o)}finally{Ge(i),le(s?3:1,o)}}function Lc(e,t,n){if(ka(t)){let r=T(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Ah(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return cf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,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}}function ea(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=ht.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?ta(r,n,u,a,c):ta(r,n,u,a)}return r}function ta(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Nh(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Vh(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;or(n)&&zh(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||zn(n,t),Dt(r,t);let s=n.initialInputs;for(let a=o;a{sr(e.lView)},consumerOnSignalRead(){this.lView[ie]=this}});function op(e){let t=e[ie]??Object.create(ip);return t.lView=e,t}var ip=B(P({},Rr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!qc(t[_]);)t=mt(t);t&&Ga(t)},consumerOnSignalRead(){this.lView[ie]=this}});function qc(e){return e.type!==2}var sp=100;function Zc(e,t=!0,n=0){let r=e[De],o=r.rendererFactory,i=!1;i||o.begin?.();try{ap(e,n)}catch(s){throw t&&Gc(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function ap(e,t){let n=Qa();try{zs(!0),Po(e,t);let r=0;for(;$t(e);){if(r===sp)throw new b(103,!1);r++,Po(e,1)}}finally{zs(n)}}function cp(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;!i&&t[De].inlineEffectRunner?.flush(),oi(t);let a=!0,c=null,u=null;i||(qc(e)?(u=ep(t),c=Pr(u)):es()===null?(a=!1,u=op(t),c=Pr(u)):t[ie]&&(Lr(t[ie]),t[ie]=null));try{Ha(t),hf(e.bindingStartIndex),n!==null&&kc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Pn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&kn(t,f,0,null),eo(t,0)}if(s||up(t),Yc(t,0),e.contentQueries!==null&&Uc(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Pn(t,f)}else{let f=e.contentHooks;f!==null&&kn(t,f,1),eo(t,1)}Ch(e,t);let d=e.components;d!==null&&Kc(t,d,0);let h=e.viewQuery;if(h!==null&&Ro(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Pn(t,f)}else{let f=e.viewHooks;f!==null&&kn(t,f,2),eo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Xr]){for(let f of t[Xr])f();t[Xr]=null}i||(t[v]&=-73)}catch(l){throw i||sr(t),l}finally{u!==null&&(ts(u,c),a&&np(u)),ii()}}function Yc(e,t){for(let n=wc(e);n!==null;n=Cc(n))for(let r=Ue;r-1&&(ih(t,r),Da(n,r))}this._attachedToViewContainer=!1}sh(this._lView[_],this._lView)}onDestroy(t){za(this._lView,t)}markForCheck(){Di(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){Gs(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Zc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Eo(this._lView),n=this._lView[Un];n!==null&&!t&&fi(n,this._lView),Sc(this._lView[_],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Eo(this._lView),r=this._lView[Un];r!==null&&!n&&oh(r,this._lView),Gs(this._lView)}};var XE=new RegExp(`^(\\d+)*(${Kf}|${Qf})*(.*)`);var Ht=class{},Jc=new D("",{providedIn:"root",factory:()=>!1});var Xc=new D(""),ko=class{},Zn=class{};function dp(e){let t=Error(`No component factory found for ${oe(e)}.`);return t[fp]=e,t}var fp="ngComponent";var Lo=class{resolveComponentFactory(t){throw dp(t)}},Mi=class Mi{};Mi.NULL=new Lo;var Gt=Mi,Et=class{},Yt=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>hp();let e=t;return e})();function hp(){let e=U(),t=se(),n=Oe(t.index,e);return(Se(n)?n:e)[K]}var pp=(()=>{let t=class t{};t.\u0275prov=S({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),oo={};var na=new Set;function Ei(e){na.has(e)||(na.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function eu(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof lo.requestAnimationFrame=="function"&&lo.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function ra(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function oa(...e){}var k=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new q(!1),this.onMicrotaskEmpty=new q(!1),this.onStable=new q(!1),this.onError=new q(!1),typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,yp(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,gp,oa,oa);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},gp={};function wi(e){if(e._nesting==0&&!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 mp(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{eu(()=>{e.callbackScheduled=!1,Vo(e),e.isCheckStableRunning=!0,wi(e),e.isCheckStableRunning=!1})}),Vo(e))}function yp(e){let t=()=>{mp(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(vp(a))return n.invokeTask(o,i,s,a);try{return ia(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),sa(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return ia(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Dp(a)&&t(),sa(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Vo(e),wi(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Vo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ia(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sa(e){e._nesting--,wi(e)}var jo=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new q,this.onMicrotaskEmpty=new q,this.onStable=new q,this.onError=new q}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function vp(e){return tu(e,"__ignore_ng_zone__")}function Dp(e){return tu(e,"__scheduler_tick__")}function tu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var nu=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=S({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Bo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Nc(e,n,i.join(" "))}}function Mp(e,t,n){let r=e.projection=[];for(let o=0;o=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Vt(o.hostAttrs,n=Vt(n,o.hostAttrs))}}function On(e){return e===ft?{}:e===re?[]:e}function Op(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Fp(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Rp(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}var wt=class{};var Yn=class extends wt{constructor(t){super(),this.componentFactoryResolver=new $o(this),this.instance=null;let n=new jt([...t.providers,{provide:wt,useValue:this},{provide:Gt,useValue:this.componentFactoryResolver}],t.parent||ti(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Pp(e,t,n=null){return new Yn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function ou(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function kp(e){return(e.flags&32)===32}function Fn(e,t){return e<<17|t<<2}function We(e){return e>>17&32767}function Lp(e){return(e&2)==2}function Vp(e,t){return e&131071|t<<17}function zo(e){return e|2}function Ct(e){return(e&131068)>>2}function io(e,t){return e&-131069|t<<2}function jp(e){return(e&1)===1}function Wo(e){return e|1}function Bp(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=We(s),c=Ct(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Wt(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=We(e[a+1]);e[r+1]=Fn(h,a),h!==0&&(e[h+1]=io(e[h+1],r)),e[a+1]=Vp(e[a+1],r)}else e[r+1]=Fn(a,0),a!==0&&(e[a+1]=io(e[a+1],r)),a=r;else e[r+1]=Fn(c,0),a===0?a=r:e[c+1]=io(e[c+1],r),c=r;u&&(e[r+1]=zo(e[r+1])),ca(e,l,r,!0),ca(e,l,r,!1),$p(t,l,e,r,i),s=Fn(a,c),i?t.classBindings=s:t.styleBindings=s}function $p(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Wt(i,t)>=0&&(n[r+1]=Wo(n[r+1]))}function ca(e,t,n,r){let o=e[n+1],i=t===null,s=r?We(o):Ct(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Up(c,t)&&(a=!0,e[s+1]=r?Wo(u):zo(u)),s=r?We(u):Ct(u)}a&&(e[n+1]=r?zo(o):Wo(o))}function Up(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Wt(e,t)>=0:!1}function ua(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";vi(e,n,i[s],s,r)}function Ci(e,t){return Hp(e,t,null,!0),Ci}function Hp(e,t,n,r){let o=U(),i=pe(),s=gf(2);if(i.firstUpdatePass&&zp(i,e,s,r),t!==cr&&ou(o,s,t)){let a=i.data[Zt()];Qp(i,a,o,o[K],e,o[s+1]=Kp(t,n),r,s)}}function Gp(e,t){return t>=e.expandoStartIndex}function zp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Zt()],s=Gp(e,n);Jp(i,r)&&t===null&&!s&&(t=!1),t=Wp(o,i,t,r),Bp(o,i,t,n,s,r)}}function Wp(e,t,n,r){let o=Df(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=so(null,e,t,n,r),n=zt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=so(o,e,t,n,r),i===null){let c=qp(e,t,r);c!==void 0&&Array.isArray(c)&&(c=so(null,e,t,c[1],r),c=zt(c,t.attrs,r),Zp(e,t,r,c))}else i=Yp(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function qp(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ct(r)!==0)return e[We(r)]}function Zp(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[We(o)]=r}function Yp(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===cr&&(h=d?re:void 0);let f=d?Kr(h,r):l===r?h:void 0;if(u&&!Qn(f)&&(f=Kr(c,r)),Qn(f)&&(a=f,s))return a;let p=e[o+1];o=s?We(p):Ct(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Kr(c,r))}return a}function Qn(e){return e!==void 0}function Kp(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=oe(di(e)))),e}function Jp(e,t){return(e.flags&(t?8:16))!==0}function Xp(e,t,n,r,o,i){let s=t.consts,a=Hs(s,o),c=yi(t,e,2,r,a);return Ph(t,n,c,Hs(s,i)),c.attrs!==null&&Bo(c,c.attrs,!1),c.mergedAttrs!==null&&Bo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function F(e,t,n,r){let o=U(),i=pe(),s=He+e,a=o[K],c=i.firstCreatePass?Xp(s,i,o,t,n,r):i.data[s],u=eg(i,o,c,a,t,e);o[s]=u;let l=La(c);return ar(c,!0),Oc(a,u,c),!kp(c)&&oc()&&Ac(i,o,u,c),of()===0&&Dt(u,o),sf(),l&&(bh(i,o,c),Lc(i,c,o)),r!==null&&_h(o,c),F}function R(){let e=se();Ya()?ff():(e=e.parent,ar(e,!1));let t=e;uf(t)&&lf(),af();let n=pe();return n.firstCreatePass&&(sc(n,e),ka(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Mf(t)&&ua(n,t,U(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Tf(t)&&ua(n,t,U(),t.stylesWithoutHost,!1),R}var eg=(e,t,n,r,o,i)=>(ic(!0),Tc(r,o,Cf()));var Kn="en-US";var tg=Kn;function ng(e){typeof e=="string"&&(tg=e.toLowerCase().replace(/_/g,"-"))}var rg=(e,t,n)=>{};function H(e,t,n,r){let o=U(),i=pe(),s=se();return iu(i,o,o[K],s,e,t,r),H}function og(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function iu(e,t,n,r,o,i,s){let a=La(r),u=e.firstCreatePass&&Yh(e),l=t[ve],d=Zh(t),h=!0;if(r.type&3||s){let E=Ie(r,t),m=s?s(E):E,g=d.length,G=s?x=>s(Ye(x[r.index])):r.index,V=null;if(!s&&a&&(V=og(e,t,o,r.index)),V!==null){let x=V.__ngLastListenerFn__||V;x.__ngNextListenerFn__=i,V.__ngLastListenerFn__=i,h=!1}else{i=fa(r,t,l,i),rg(E,o,i);let x=n.listen(m,o,i);d.push(i,x),u&&u.push(o,G,g,g+1)}}else i=fa(r,t,l,i);let f=r.outputs,p;if(h&&f!==null&&(p=f[o])){let E=p.length;if(E)for(let m=0;m-1?Oe(e.index,t):t;Di(s,5);let a=da(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=da(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function L(e,t=""){let n=U(),r=pe(),o=e+He,i=r.firstCreatePass?yi(r,o,1,t,null):r.data[o],s=ig(r,n,i,t,e);n[o]=s,oc()&&Ac(r,n,s,i),ar(i,!1)}var ig=(e,t,n,r,o)=>(ic(!0),th(t[K],r));function ur(e,t,n){ru(t)&&(t=t());let r=U(),o=pf();if(ou(r,o,t)){let i=pe(),s=wf();Fh(i,s,r,e,t,r[K],n,!1)}return ur}function Ii(e,t){let n=ru(e);return n&&e.set(t),n}function lr(e,t){let n=U(),r=pe(),o=se();return iu(r,n,n[K],o,e,t),lr}function sg(e,t,n){let r=pe();if(r.firstCreatePass){let o=xe(e);qo(n,r.data,r.blueprint,o,!0),qo(t,r.data,r.blueprint,o,!1)}}function qo(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i>20;if(pt(e)||!e.multi){let f=new ze(u,o,N),p=co(c,t,o?l:l+h,d);p===-1?(Mo(zn(a,s),i,c),ao(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=co(c,t,l+h,d),p=co(c,t,l,l+h),E=f>=0&&n[f],m=p>=0&&n[p];if(o&&!m||!o&&!E){Mo(zn(a,s),i,c);let g=ug(o?cg:ag,n.length,o,r,u);!o&&m&&(n[p].providerFactory=g),ao(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(g),s.push(g)}else{let g=su(n[o?p:f],u,!o&&r);ao(i,e,f>-1?f:p,g)}!o&&r&&m&&n[p].componentProviders++}}}function ao(e,t,n,r){let o=pt(t),i=Ud(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function su(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function co(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>sg(r,o?o(e):e,t)}}var lg=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=xa(!1,r.type),i=o.length>0?Pp([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=S({token:t,providedIn:"environment",factory:()=>new t(I(ye))});let e=t;return e})();function au(e){Ei("NgStandalone"),e.getStandaloneInjector=t=>t.get(lg).getOrCreateStandaloneInjector(e)}var cu=new D("");function Qt(e){return!!e&&typeof e.then=="function"}function uu(e){return!!e&&typeof e.subscribe=="function"}var dg=new D(""),lu=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=w(dg,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Qt(s))r.push(s);else if(uu(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),du=new D("");function fg(){ns(()=>{throw new b(600,!1)})}function hg(e){return e.isBoundToModule}var pg=10;function gg(e,t,n){try{let r=n();return Qt(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Kt=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(yc),this.afterRenderEffectManager=w(nu),this.zonelessEnabled=w(Jc),this.externalTestViews=new Set,this.beforeRender=new ee,this.afterTick=new ee,this.componentTypes=[],this.components=[],this.isStable=w(_t).hasPendingTasks.pipe(Q(r=>!r)),this._injector=w(ye)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Zn;if(!this._injector.get(lu).done){let f=!i&&kd(r),p=!1;throw new b(405,p)}let a;i?a=r:a=this._injector.get(Gt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=hg(a)?void 0:this._injector.get(wt),u=o||a.selector,l=a.create(vt.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(cu,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),uo(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new b(101,!1);let o=T(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,T(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(Et,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i$t(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>$t(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;uo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(du,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>uo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new b(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function uo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function mg(e,t,n,r){if(!n&&!$t(e))return;Zc(e,t,n&&!r?0:1)}var yg=(()=>{let t=class t{constructor(){this.zone=w(k),this.changeDetectionScheduler=w(Ht),this.applicationRef=w(Kt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function vg({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new k(Eg()),[{provide:k,useFactory:e},{provide:Lt,multi:!0,useFactory:()=>{let n=w(yg,{optional:!0});return()=>n.initialize()}},{provide:Lt,multi:!0,useFactory:()=>{let n=w(wg);return()=>{n.initialize()}}},{provide:yc,useFactory:Dg},t===!0?{provide:Xc,useValue:!0}:[]]}function Dg(){let e=w(k),t=w(we);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Eg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var wg=(()=>{let t=class t{constructor(){this.subscription=new Z,this.initialized=!1,this.zone=w(k),this.pendingTasks=w(_t)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{k.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Cg=(()=>{let t=class t{constructor(){this.appRef=w(Kt),this.taskService=w(_t),this.ngZone=w(k),this.zonelessEnabled=w(Jc),this.disableScheduling=w(Xc,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Z,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof jo||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?ra:eu;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&k.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ra(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ig(){return typeof $localize<"u"&&$localize.locale||Kn}var bi=new D("",{providedIn:"root",factory:()=>w(bi,C.Optional|C.SkipSelf)||Ig()});var fu=new D("");var Ln=null;function bg(e=[],t){return vt.create({name:t,providers:[{provide:nr,useValue:"platform"},{provide:fu,useValue:new Set([()=>Ln=null])},...e]})}function _g(e=[]){if(Ln)return Ln;let t=bg(e);return Ln=t,fg(),Mg(t),t}function Mg(e){e.get(ci,null)?.forEach(n=>n())}var fr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Tg;let e=t;return e})();function Tg(e){return Sg(se(),U(),(e&16)===16)}function Sg(e,t,n){if(or(e)&&!n){let r=Oe(e.index,t);return new Ut(r,r)}else if(e.type&47){let r=t[Ee];return new Ut(r,t)}return null}function hu(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=_g(r),i=[vg({}),{provide:Ht,useExisting:Cg},...n||[]],a=new Yn({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(k);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(we,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:f=>{u.handleError(f)}})});let d=()=>a.destroy(),h=o.get(fu);return h.add(d),a.onDestroy(()=>{l.unsubscribe(),h.delete(d)}),gg(u,c,()=>{let f=a.get(lu);return f.runInitializers(),f.donePromise.then(()=>{let p=a.get(bi,Kn);ng(p||Kn);let E=a.get(Kt);return t!==void 0&&E.bootstrap(t),E})})})}catch(t){return Promise.reject(t)}}function _i(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var gu=null;function Tt(){return gu}function mu(e){gu??=e}var hr=class{};var ge=new D("");function pr(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Ti=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ze({type:t}),t.\u0275inj=qe({});let e=t;return e})(),yu="browser",xg="server";function gr(e){return e===xg}var Mt=class{};var Xt=class{},yr=class{},be=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var xi=class{encodeKey(t){return vu(t)}encodeValue(t){return vu(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Ng(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var Og=/%(\d[a-f0-9])/gi,Fg={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function vu(e){return encodeURIComponent(e).replace(Og,(t,n)=>Fg[n]??t)}function mr(e){return`${e}`}var me=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new xi,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Ng(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(mr):[mr(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(mr(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(mr(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Ai=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function Rg(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Du(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Eu(e){return typeof Blob<"u"&&e instanceof Blob}function wu(e){return typeof FormData<"u"&&e instanceof FormData}function Pg(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Jt=class e{constructor(t,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(Rg(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new be,this.context??=new Ai,!this.params)this.params=new me,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":ah.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},ke=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(ke||{}),en=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new be,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},vr=class e extends en{constructor(t={}){super(t),this.type=ke.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},tn=class e extends en{constructor(t={}){super(t),this.type=ke.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Pe=class extends en{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},_u=200,kg=204;function Si(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var nn=(()=>{let t=class t{constructor(r){this.handler=r}request(r,o,i={}){let s;if(r instanceof Jt)s=r;else{let u;i.headers instanceof be?u=i.headers:u=new be(i.headers);let l;i.params&&(i.params instanceof me?l=i.params:l=new me({fromObject:i.params})),s=new Jt(r,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=xn(s).pipe(Zr(u=>this.handler.handle(u)));if(r instanceof Jt||i.observe==="events")return a;let c=a.pipe(it(u=>u instanceof tn));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(Q(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(Q(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(Q(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(Q(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(r,o={}){return this.request("DELETE",r,o)}get(r,o={}){return this.request("GET",r,o)}head(r,o={}){return this.request("HEAD",r,o)}jsonp(r,o){return this.request("JSONP",r,{params:new me().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,o={}){return this.request("OPTIONS",r,o)}patch(r,o,i={}){return this.request("PATCH",r,Si(i,o))}post(r,o,i={}){return this.request("POST",r,Si(i,o))}put(r,o,i={}){return this.request("PUT",r,Si(i,o))}};t.\u0275fac=function(o){return new(o||t)(I(Xt))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Lg=/^\)\]\}',?\n/,Vg="X-Request-URL";function Cu(e){if(e.url)return e.url;let t=Vg.toLocaleLowerCase();return e.headers.get(t)}var jg=(()=>{let t=class t{constructor(){this.fetchImpl=w(Ni,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=w(k)}handle(r){return new O(o=>{let i=new AbortController;return this.doRequest(r,i.signal,o).then(Oi,s=>o.error(new Pe({error:s}))),()=>i.abort()})}doRequest(r,o,i){return Ar(this,null,function*(){let s=this.createRequestInit(r),a;try{let p=this.fetchImpl(r.urlWithParams,P({signal:o},s));Bg(p),i.next({type:ke.Sent}),a=yield p}catch(p){i.error(new Pe({error:p,status:p.status??0,statusText:p.statusText,url:r.urlWithParams,headers:p.headers}));return}let c=new be(a.headers),u=a.statusText,l=Cu(a)??r.urlWithParams,d=a.status,h=null;if(r.reportProgress&&i.next(new vr({headers:c,status:d,statusText:u,url:l})),a.body){let p=a.headers.get("content-length"),E=[],m=a.body.getReader(),g=0,G,V,x=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Ar(this,null,function*(){for(;;){let{done:j,value:X}=yield m.read();if(j)break;if(E.push(X),g+=X.length,r.reportProgress){V=r.responseType==="text"?(V??"")+(G??=new TextDecoder).decode(X,{stream:!0}):void 0;let Je=()=>i.next({type:ke.DownloadProgress,total:p?+p:void 0,loaded:g,partialText:V});x?x.run(Je):Je()}}}));let J=this.concatChunks(E,g);try{let j=a.headers.get("Content-Type")??"";h=this.parseBody(r,J,j)}catch(j){i.error(new Pe({error:j,headers:new be(a.headers),status:a.status,statusText:a.statusText,url:Cu(a)??r.urlWithParams}));return}}d===0&&(d=h?_u:0),d>=200&&d<300?(i.next(new tn({body:h,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new Pe({error:h,headers:c,status:d,statusText:u,url:l}))})}parseBody(r,o,i){switch(r.responseType){case"json":let s=new TextDecoder().decode(o).replace(Lg,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(r){let o={},i=r.withCredentials?"include":void 0;if(r.headers.forEach((s,a)=>o[s]=a.join(",")),o.Accept??="application/json, text/plain, */*",!o["Content-Type"]){let s=r.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:r.serializeBody(),method:r.method,headers:o,credentials:i}}concatChunks(r,o){let i=new Uint8Array(o),s=0;for(let a of r)i.set(a,s),s+=a.length;return i}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Ni=class{};function Oi(){}function Bg(e){e.then(Oi,Oi)}function $g(e,t){return t(e)}function Ug(e,t,n){return(r,o)=>Fa(n,()=>t(r,i=>e(i,o)))}var Mu=new D(""),Hg=new D(""),Gg=new D("",{providedIn:"root",factory:()=>!0});var Iu=(()=>{let t=class t extends Xt{constructor(r,o){super(),this.backend=r,this.injector=o,this.chain=null,this.pendingTasks=w(_t),this.contributeToStability=w(Gg)}handle(r){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Mu),...this.injector.get(Hg,[])]));this.chain=o.reduceRight((i,s)=>Ug(i,s,this.injector),$g)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(r,i=>this.backend.handle(i)).pipe(Yr(()=>this.pendingTasks.remove(o)))}else return this.chain(r,o=>this.backend.handle(o))}};t.\u0275fac=function(o){return new(o||t)(I(yr),I(ye))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();var zg=/^\)\]\}',?\n/;function Wg(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var bu=(()=>{let t=class t{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new b(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?Be(o.\u0275loadImpl()):xn(null)).pipe(Qr(()=>new O(s=>{let a=o.build();if(a.open(r.method,r.urlWithParams),r.withCredentials&&(a.withCredentials=!0),r.headers.forEach((m,g)=>a.setRequestHeader(m,g.join(","))),r.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let m=r.detectContentTypeHeader();m!==null&&a.setRequestHeader("Content-Type",m)}if(r.responseType){let m=r.responseType.toLowerCase();a.responseType=m!=="json"?m:"text"}let c=r.serializeBody(),u=null,l=()=>{if(u!==null)return u;let m=a.statusText||"OK",g=new be(a.getAllResponseHeaders()),G=Wg(a)||r.url;return u=new vr({headers:g,status:a.status,statusText:m,url:G}),u},d=()=>{let{headers:m,status:g,statusText:G,url:V}=l(),x=null;g!==kg&&(x=typeof a.response>"u"?a.responseText:a.response),g===0&&(g=x?_u:0);let J=g>=200&&g<300;if(r.responseType==="json"&&typeof x=="string"){let j=x;x=x.replace(zg,"");try{x=x!==""?JSON.parse(x):null}catch(X){x=j,J&&(J=!1,x={error:X,text:x})}}J?(s.next(new tn({body:x,headers:m,status:g,statusText:G,url:V||void 0})),s.complete()):s.error(new Pe({error:x,headers:m,status:g,statusText:G,url:V||void 0}))},h=m=>{let{url:g}=l(),G=new Pe({error:m,status:a.status||0,statusText:a.statusText||"Unknown Error",url:g||void 0});s.error(G)},f=!1,p=m=>{f||(s.next(l()),f=!0);let g={type:ke.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(g.total=m.total),r.responseType==="text"&&a.responseText&&(g.partialText=a.responseText),s.next(g)},E=m=>{let g={type:ke.UploadProgress,loaded:m.loaded};m.lengthComputable&&(g.total=m.total),s.next(g)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),r.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",E)),a.send(c),s.next({type:ke.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),r.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",E)),a.readyState!==a.DONE&&a.abort()}})))}};t.\u0275fac=function(o){return new(o||t)(I(Mt))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Tu=new D(""),qg="XSRF-TOKEN",Zg=new D("",{providedIn:"root",factory:()=>qg}),Yg="X-XSRF-TOKEN",Qg=new D("",{providedIn:"root",factory:()=>Yg}),Dr=class{},Kg=(()=>{let t=class t{constructor(r,o,i){this.doc=r,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=pr(r,this.cookieName),this.lastCookieString=r),this.lastToken}};t.\u0275fac=function(o){return new(o||t)(I(ge),I(Re),I(Zg))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Jg(e,t){let n=e.url.toLowerCase();if(!w(Tu)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=w(Dr).getToken(),o=w(Qg);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function Su(...e){let t=[nn,bu,Iu,{provide:Xt,useExisting:Iu},{provide:yr,useFactory:()=>w(jg,{optional:!0})??w(bu)},{provide:Mu,useValue:Jg,multi:!0},{provide:Tu,useValue:!0},{provide:Dr,useClass:Kg}];for(let n of e)t.push(...n.\u0275providers);return Xo(t)}var Pi=class extends hr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ki=class e extends Pi{static makeCurrent(){mu(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.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 n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=em();return n==null?null:tm(n)}resetBaseElement(){rn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return pr(document.cookie,t)}},rn=null;function em(){return rn=rn||document.querySelector("base"),rn?rn.getAttribute("href"):null}function tm(e){return new URL(e,document.baseURI).pathname}var nm=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Li=new D(""),Fu=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new b(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(I(Li),I(k))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Er=class{constructor(t){this._doc=t}},Fi="ng-app-id",Ru=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=gr(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Fi}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Fi),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Fi,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(I(ge),I(ai),I(ui,8),I(Re))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Ri={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/Math/MathML"},ji=/%COMP%/g,Pu="%COMP%",rm=`_nghost-${Pu}`,om=`_ngcontent-${Pu}`,im=!0,sm=new D("",{providedIn:"root",factory:()=>im});function am(e){return om.replace(ji,e)}function cm(e){return rm.replace(ji,e)}function ku(e,t){return t.map(n=>n.replace(ji,e))}var Au=(()=>{let t=class t{constructor(r,o,i,s,a,c,u,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=gr(c),this.defaultRenderer=new on(r,a,u,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===fe.ShadowDom&&(o=B(P({},o),{encapsulation:fe.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof wr?i.applyToHost(r):i instanceof sn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case fe.Emulated:s=new wr(u,l,o,this.appId,d,a,c,h);break;case fe.ShadowDom:return new Vi(u,l,r,o,a,c,this.nonce,h);default:s=new sn(u,l,o,d,a,c,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(I(Fu),I(Ru),I(ai),I(sm),I(ge),I(Re),I(k),I(ui))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),on=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Ri[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Nu(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Nu(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new b(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Ri[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Ri[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ce.DashCase|Ce.Important)?t.style.setProperty(n,r,o&Ce.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ce.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=Tt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Nu(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Vi=class extends on{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=ku(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,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,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}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)}},sn=class extends on{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?ku(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},wr=class extends sn{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=am(u),this.hostAttr=cm(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},um=(()=>{let t=class t extends Er{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(I(ge))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Ou=["alt","control","meta","shift"],lm={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},dm={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},fm=(()=>{let t=class t extends Er{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Tt().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Ou.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(r,o){let i=lm[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ou.forEach(a=>{if(a!==i){let c=dm[a];c(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(I(ge))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Lu(e,t){return hu(P({rootComponent:e},hm(t)))}function hm(e){return{appProviders:[...vm,...e?.providers??[]],platformProviders:ym}}function pm(){ki.makeCurrent()}function gm(){return new we}function mm(){return bc(document),document}var ym=[{provide:Re,useValue:yu},{provide:ci,useValue:pm,multi:!0},{provide:ge,useFactory:mm,deps:[]}];var vm=[{provide:nr,useValue:"root"},{provide:we,useFactory:gm,deps:[]},{provide:Li,useClass:um,multi:!0,deps:[ge,k,Re]},{provide:Li,useClass:fm,multi:!0,deps:[ge]},Au,Ru,Fu,{provide:Et,useExisting:Au},{provide:Mt,useClass:nm,deps:[]},[]];var zu=(()=>{let t=class t{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};t.\u0275fac=function(o){return new(o||t)(N(Yt),N(Fe))},t.\u0275dir=he({type:t});let e=t;return e})(),Wu=(()=>{let t=class t extends zu{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=si(t)))(i||t)}})(),t.\u0275dir=he({type:t,features:[Qe]});let e=t;return e})(),Gi=new D(""),Dm={provide:Gi,useExisting:It(()=>zi),multi:!0},zi=(()=>{let t=class t extends Wu{writeValue(r){this.setProperty("checked",r)}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=si(t)))(i||t)}})(),t.\u0275dir=he({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(o,i){o&1&&H("change",function(a){return i.onChange(a.target.checked)})("blur",function(){return i.onTouched()})},features:[dr([Dm]),Qe]});let e=t;return e})(),Em={provide:Gi,useExisting:It(()=>Mr),multi:!0};function wm(){let e=Tt()?Tt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var Cm=new D(""),Mr=(()=>{let t=class t extends zu{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!wm())}writeValue(r){let o=r??"";this.setProperty("value",o)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};t.\u0275fac=function(o){return new(o||t)(N(Yt),N(Fe),N(Cm,8))},t.\u0275dir=he({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(o,i){o&1&&H("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)})},features:[dr([Em]),Qe]});let e=t;return e})();var Im=new D(""),bm=new D("");function qu(e){return e!=null}function Zu(e){return Qt(e)?Be(e):e}function Yu(e){let t={};return e.forEach(n=>{t=n!=null?P(P({},t),n):t}),Object.keys(t).length===0?null:t}function Qu(e,t){return t.map(n=>n(e))}function _m(e){return!e.validate}function Ku(e){return e.map(t=>_m(t)?t:n=>t.validate(n))}function Mm(e){if(!e)return null;let t=e.filter(qu);return t.length==0?null:function(n){return Yu(Qu(n,t))}}function Ju(e){return e!=null?Mm(Ku(e)):null}function Tm(e){if(!e)return null;let t=e.filter(qu);return t.length==0?null:function(n){let r=Qu(n,t).map(Zu);return qr(r).pipe(Q(Yu))}}function Xu(e){return e!=null?Tm(Ku(e)):null}function Vu(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Sm(e){return e._rawValidators}function xm(e){return e._rawAsyncValidators}function Bi(e){return e?Array.isArray(e)?e:[e]:[]}function Ir(e,t){return Array.isArray(e)?e.includes(t):e===t}function ju(e,t){let n=Bi(t);return Bi(e).forEach(o=>{Ir(n,o)||n.push(o)}),n}function Bu(e,t){return Bi(t).filter(n=>!Ir(e,n))}var br=class{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=Ju(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Xu(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):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},$i=class extends br{get formDirective(){return null}get path(){return null}},dn=class extends br{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Ui=class{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}},Am={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},LC=B(P({},Am),{"[class.ng-submitted]":"isSubmitted"}),el=(()=>{let t=class t extends Ui{constructor(r){super(r)}};t.\u0275fac=function(o){return new(o||t)(N(dn,2))},t.\u0275dir=he({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,i){o&2&&Ci("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Qe]});let e=t;return e})();var an="VALID",Cr="INVALID",St="PENDING",cn="DISABLED",At=class{},_r=class extends At{constructor(t,n){super(),this.value=t,this.source=n}},un=class extends At{constructor(t,n){super(),this.pristine=t,this.source=n}},ln=class extends At{constructor(t,n){super(),this.touched=t,this.source=n}},xt=class extends At{constructor(t,n){super(),this.status=t,this.source=n}};function Nm(e){return(Tr(e)?e.validators:e)||null}function Om(e){return Array.isArray(e)?Ju(e):e||null}function Fm(e,t){return(Tr(t)?t.asyncValidators:e)||null}function Rm(e){return Array.isArray(e)?Xu(e):e||null}function Tr(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var Hi=class{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new ee,this.events=this._events.asObservable(),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===an}get invalid(){return this.status===Cr}get pending(){return this.status==St}get disabled(){return this.status===cn}get enabled(){return this.status!==cn}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(ju(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ju(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Bu(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Bu(t,this._rawAsyncValidators))}hasValidator(t){return Ir(this._rawValidators,t)}hasAsyncValidator(t){return Ir(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(B(P({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new ln(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new ln(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(B(P({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new un(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new un(!0,r))}markAsPending(t={}){this.status=St;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new xt(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(B(P({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=cn,this.errors=null,this._forEachChild(o=>{o.disable(B(P({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new _r(this.value,r)),this._events.next(new xt(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(B(P({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=an,this._forEachChild(r=>{r.enable(B(P({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(B(P({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===an||this.status===St)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new _r(this.value,n)),this._events.next(new xt(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(B(P({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?cn:an}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=St,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=Zu(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.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,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new xt(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new q,this.statusChanges=new q}_calculateStatus(){return this._allControlsDisabled()?cn:this.errors?Cr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(St)?St:this._anyControlsHaveStatus(Cr)?Cr:an}_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,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new un(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new ln(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Tr(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Om(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Rm(this._rawAsyncValidators)}};var tl=new D("CallSetDisabledState",{providedIn:"root",factory:()=>Wi}),Wi="always";function Pm(e,t){return[...t.path,e]}function km(e,t,n=Wi){Vm(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),jm(e,t),$m(e,t),Bm(e,t),Lm(e,t)}function $u(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Lm(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Vm(e,t){let n=Sm(e);t.validator!==null?e.setValidators(Vu(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=xm(e);t.asyncValidator!==null?e.setAsyncValidators(Vu(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();$u(t._rawValidators,o),$u(t._rawAsyncValidators,o)}function jm(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&nl(e,t)})}function Bm(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&nl(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function nl(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function $m(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function Um(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function Hm(e){return Object.getPrototypeOf(e.constructor)===Wu}function Gm(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===Mr?n=i:Hm(i)?r=i:o=i}),o||r||n||null}function Uu(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Hu(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var zm=class extends Hi{constructor(t=null,n,r){super(Nm(n),Fm(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Tr(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Hu(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),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){Uu(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Uu(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Hu(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}};var Wm={provide:dn,useExisting:It(()=>qi)},Gu=Promise.resolve(),qi=(()=>{let t=class t extends dn{constructor(r,o,i,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new zm,this._registered=!1,this.name="",this.update=new q,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=Gm(this,s)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){let o=r.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),Um(r,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(r){this.viewModel=r,this.update.emit(r)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){km(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()&&this.name}_updateValue(r){Gu.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){let o=r.isDisabled.currentValue,i=o!==0&&_i(o);Gu.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?Pm(r,this._parent):[r]}};t.\u0275fac=function(o){return new(o||t)(N($i,9),N(Im,10),N(bm,10),N(Gi,10),N(fr,8),N(tl,8))},t.\u0275dir=he({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[dr([Wm]),Qe,ir]});let e=t;return e})();var qm=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ze({type:t}),t.\u0275inj=qe({});let e=t;return e})();var rl=(()=>{let t=class t{static withConfig(r){return{ngModule:t,providers:[{provide:tl,useValue:r.callSetDisabledState??Wi}]}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ze({type:t}),t.\u0275inj=qe({imports:[qm]});let e=t;return e})();var il=Dl(ol());var Qi;try{Qi=!!new Blob}catch{Qi=!1}var Sr=(()=>{let t=class t{get isFileSaverSupported(){return Qi}genType(r){if(!r||r.lastIndexOf(".")===-1)return"text/plain";let o=r.substring(r.lastIndexOf(".")+1);switch(o){case"txt":return"text/plain";case"xml":case"html":return`text/${o}`;case"json":return"octet/stream";default:return`application/${o}`}}save(r,o,i,s){if(!r)throw new Error("Data argument should be a blob instance");let a=new Blob([r],{type:i||r.type||this.genType(o)});(0,il.saveAs)(a,decodeURI(o||"download"),s)}saveText(r,o,i){let s=new Blob([r]);this.save(s,o,void 0,i)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var sl=(()=>{let t=class t{constructor(r,o,i,s){this.ngZone=r,this.el=o,this.fss=i,this.httpClient=s,this.method="GET",this.success=new q,this.error=new q,this.destroy$=new ee,i.isFileSaverSupported||o.nativeElement.classList.add("filesaver__not-support")}ngOnInit(){this.ngZone.runOutsideAngular(()=>this.setupClickListener())}ngOnDestroy(){this.destroy$.next()}getName(r){return decodeURI(this.fileName||r.headers.get("filename")||r.headers.get("x-filename")||"")}setDisabled(r){let o=this.el.nativeElement;o.disabled=r,o.classList[r?"add":"remove"]("filesaver__disabled")}setupClickListener(){Rt(this.el.nativeElement,"click").pipe(it(()=>this.fss.isFileSaverSupported),Nn(this.destroy$)).subscribe(()=>{let r=this.http;if(!r){let o=new me,i=this.query||{};for(let s in i)o=o.set(s,i[s]);r=this.httpClient.request(this.method,this.url,{observe:"response",responseType:"blob",headers:this.header,params:o})}this.setDisabled(!0),r.pipe(Nn(this.destroy$)).subscribe({next:o=>{if(o.status!==200||o.body.size<=0){this.emitIfHasObservers(this.error,o);return}this.fss.save(o.body,this.getName(o),void 0,this.fsOptions),this.emitIfHasObservers(this.success,o)},error:o=>this.emitIfHasObservers(this.error,o),complete:()=>this.setDisabled(!1)})})}emitIfHasObservers(r,o){Qm(r)&&this.ngZone.run(()=>r.emit(o))}};t.\u0275fac=function(o){return new(o||t)(N(k),N(Fe),N(Sr),N(nn))},t.\u0275dir=he({type:t,selectors:[["","fileSaver",""]],inputs:{method:"method",http:"http",query:"query",header:"header",url:"url",fileName:"fileName",fsOptions:"fsOptions"},outputs:{success:"success",error:"error"},exportAs:["fileSaver"],standalone:!0});let e=t;return e})();function Qm(e){return e.observed??e.observers.length>0}var al=(()=>{let t=class t{constructor(r,o){this.httpClient=r,this.fileSaverService=o,this.text='{ "text": "This is text file!\u4E2D\u6587" }',this.options={autoBom:!1}}onDown(r,o){let i=`save.${r}`;if(o){this.httpClient.get(`files/demo.${r}`,{observe:"response",responseType:"blob"}).subscribe(c=>{this.fileSaverService.save(c.body,i)});return}let s=this.fileSaverService.genType(i),a=new Blob([this.text],{type:s});this.fileSaverService.save(a,i,void 0,this.options)}};t.\u0275fac=function(o){return new(o||t)(N(nn),N(Sr))},t.\u0275cmp=ba({type:t,selectors:[["app-root"]],standalone:!0,features:[au],decls:44,vars:2,consts:[["href","https://github.com/cipchk/ngx-filesaver/blob/master/README.md","target","_blank"],["type","checkbox",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["type","button",3,"click"],["type","button","fileSaver","","url","assets/files/demo.docx"]],template:function(o,i){o&1&&(F(0,"h1"),L(1,"ngx-filesaver"),R(),F(2,"p"),L(3," Simple file save with FileSaver.js, pls refer "),F(4,"a",0),L(5,"README.md"),R()(),F(6,"h1"),L(7,"Filesaver option"),R(),F(8,"label")(9,"input",1),lr("ngModelChange",function(a){return Ii(i.options.autoBom,a)||(i.options.autoBom=a),a}),R(),L(10," AutoBOM "),R(),F(11,"h1"),L(12,"Text Document"),R(),F(13,"textarea",2),lr("ngModelChange",function(a){return Ii(i.text,a)||(i.text=a),a}),R(),F(14,"button",3),H("click",function(){return i.onDown("txt",!1)}),L(15,"Save Text"),R(),F(16,"button",3),H("click",function(){return i.onDown("json",!1)}),L(17,"Save JSON"),R(),F(18,"h1"),L(19,"Remote file download"),R(),F(20,"button",3),H("click",function(){return i.onDown("docx",!0)}),L(21,"Save Word"),R(),F(22,"button",3),H("click",function(){return i.onDown("xlsx",!0)}),L(23,"Save Excel"),R(),F(24,"button",3),H("click",function(){return i.onDown("csv",!0)}),L(25,"Save CSV"),R(),F(26,"button",3),H("click",function(){return i.onDown("pptx",!0)}),L(27,"Save PPT"),R(),F(28,"button",3),H("click",function(){return i.onDown("pdf",!0)}),L(29,"Save PDF"),R(),F(30,"button",3),H("click",function(){return i.onDown("zip",!0)}),L(31,"Save Zip"),R(),F(32,"button",3),H("click",function(){return i.onDown("7z",!0)}),L(33,"Save 7z"),R(),F(34,"button",3),H("click",function(){return i.onDown("jpg",!0)}),L(35,"Save JPG"),R(),F(36,"button",3),H("click",function(){return i.onDown("gif",!0)}),L(37,"Save Gif"),R(),F(38,"button",3),H("click",function(){return i.onDown("png",!0)}),L(39,"Save Png"),R(),F(40,"h1"),L(41,"fileSaver Directive"),R(),F(42,"button",4),L(43,"Save Word"),R()),o&2&&(gi(9),ur("ngModel",i.options.autoBom),gi(4),ur("ngModel",i.text))},dependencies:[Ti,rl,Mr,zi,el,qi,sl],encapsulation:2});let e=t;return e})();Lu(al,{providers:[Su()]}).catch(e=>console.error(e)); diff --git a/polyfills-6EAL64PA.js b/polyfills-6EAL64PA.js new file mode 100644 index 0000000..f67a2da --- /dev/null +++ b/polyfills-6EAL64PA.js @@ -0,0 +1,2 @@ +var ie=globalThis;function Q(e){return(ie.__Zone_symbol_prefix||"__zone_symbol__")+e}function ft(){let e=ie.performance;function n(j){e&&e.mark&&e.mark(j)}function a(j,r){e&&e.measure&&e.measure(j,r)}n("Zone");let $=class ${static assertZonePatched(){if(ie.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let r=$.current;for(;r.parent;)r=r.parent;return r}static get current(){return k.zone}static get currentTask(){return S}static __load_patch(r,i,s=!1){if(D.hasOwnProperty(r)){let b=ie[Q("forceDuplicateZoneCheck")]===!0;if(!s&&b)throw Error("Already loaded patch: "+r)}else if(!ie["__Zone_disable_"+r]){let b="Zone:"+r;n(b),D[r]=i(ie,$,w),a(b,b)}}get parent(){return this._parent}get name(){return this._name}constructor(r,i){this._parent=r,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(r){let i=this.getZoneWith(r);if(i)return i._properties[r]}getZoneWith(r){let i=this;for(;i;){if(i._properties.hasOwnProperty(r))return i;i=i._parent}return null}fork(r){if(!r)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,r)}wrap(r,i){if(typeof r!="function")throw new Error("Expecting function got: "+r);let s=this._zoneDelegate.intercept(this,r,i),b=this;return function(){return b.runGuarded(s,this,arguments,i)}}run(r,i,s,b){k={parent:k,zone:this};try{return this._zoneDelegate.invoke(this,r,i,s,b)}finally{k=k.parent}}runGuarded(r,i=null,s,b){k={parent:k,zone:this};try{try{return this._zoneDelegate.invoke(this,r,i,s,b)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{k=k.parent}}runTask(r,i,s){if(r.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(r.zone||te).name+"; Execution: "+this.name+")");if(r.state===X&&(r.type===U||r.type===g))return;let b=r.state!=F;b&&r._transitionTo(F,d),r.runCount++;let x=S;S=r,k={parent:k,zone:this};try{r.type==g&&r.data&&!r.data.isPeriodic&&(r.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,i,s)}catch(M){if(this._zoneDelegate.handleError(this,M))throw M}}finally{r.state!==X&&r.state!==Y&&(r.type==U||r.data&&r.data.isPeriodic?b&&r._transitionTo(d,F):(r.runCount=0,this._updateTaskCount(r,-1),b&&r._transitionTo(X,F,X))),k=k.parent,S=x}}scheduleTask(r){if(r.zone&&r.zone!==this){let s=this;for(;s;){if(s===r.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${r.zone.name}`);s=s.parent}}r._transitionTo(v,X);let i=[];r._zoneDelegates=i,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(s){throw r._transitionTo(Y,v,X),this._zoneDelegate.handleError(this,s),s}return r._zoneDelegates===i&&this._updateTaskCount(r,1),r.state==v&&r._transitionTo(d,v),r}scheduleMicroTask(r,i,s,b){return this.scheduleTask(new _(B,r,i,s,b,void 0))}scheduleMacroTask(r,i,s,b,x){return this.scheduleTask(new _(g,r,i,s,b,x))}scheduleEventTask(r,i,s,b,x){return this.scheduleTask(new _(U,r,i,s,b,x))}cancelTask(r){if(r.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(r.zone||te).name+"; Execution: "+this.name+")");if(!(r.state!==d&&r.state!==F)){r._transitionTo(q,d,F);try{this._zoneDelegate.cancelTask(this,r)}catch(i){throw r._transitionTo(Y,q),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(r,-1),r._transitionTo(X,q),r.runCount=0,r}}_updateTaskCount(r,i){let s=r._zoneDelegates;i==-1&&(r._zoneDelegates=null);for(let b=0;bj.hasTask(i,s),onScheduleTask:(j,r,i,s)=>j.scheduleTask(i,s),onInvokeTask:(j,r,i,s,b,x)=>j.invokeTask(i,s,b,x),onCancelTask:(j,r,i,s)=>j.cancelTask(i,s)};class f{get zone(){return this._zone}constructor(r,i,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=r,this._parentDelegate=i,this._forkZS=s&&(s&&s.onFork?s:i._forkZS),this._forkDlgt=s&&(s.onFork?i:i._forkDlgt),this._forkCurrZone=s&&(s.onFork?this._zone:i._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:i._interceptZS),this._interceptDlgt=s&&(s.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:i._invokeZS),this._invokeDlgt=s&&(s.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:i._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:i._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:i._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:i._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let b=s&&s.onHasTask,x=i&&i._hasTaskZS;(b||x)&&(this._hasTaskZS=b?s:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,s.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),s.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),s.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(r,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,r,i):new t(r,i)}intercept(r,i,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,r,i,s):i}invoke(r,i,s,b,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,r,i,s,b,x):i.apply(s,b)}handleError(r,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,r,i):!0}scheduleTask(r,i){let s=i;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,r,i),s||(s=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==B)W(i);else throw new Error("Task is missing scheduleFn.");return s}invokeTask(r,i,s,b){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,r,i,s,b):i.callback.apply(s,b)}cancelTask(r,i){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,r,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");s=i.cancelFn(i)}return s}hasTask(r,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,r,i)}catch(s){this.handleError(r,s)}}_updateTaskCount(r,i){let s=this._taskCounts,b=s[r],x=s[r]=b+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(b==0||x==0){let M={microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:r};this.hasTask(this._zone,M)}}}class _{constructor(r,i,s,b,x,M){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=r,this.source=i,this.data=b,this.scheduleFn=x,this.cancelFn=M,!s)throw new Error("callback is not defined");this.callback=s;let de=this;r===U&&b&&b.useG?this.invoke=_.invokeTask:this.invoke=function(){return _.invokeTask.call(ie,de,this,arguments)}}static invokeTask(r,i,s){r||(r=this),K++;try{return r.runCount++,r.zone.runTask(r,i,s)}finally{K==1&&A(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,v)}_transitionTo(r,i,s){if(this._state===i||this._state===s)this._state=r,r==X&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${r}', expecting state '${i}'${s?" or '"+s+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let E=Q("setTimeout"),m=Q("Promise"),C=Q("then"),T=[],I=!1,P;function Z(j){if(P||ie[m]&&(P=ie[m].resolve(0)),P){let r=P[C];r||(r=P.then),r.call(P,j)}else ie[E](j,0)}function W(j){K===0&&T.length===0&&Z(A),j&&T.push(j)}function A(){if(!I){for(I=!0;T.length;){let j=T;T=[];for(let r=0;rk,onUnhandledError:z,microtaskDrainDone:z,scheduleMicroTask:W,showUncaughtError:()=>!t[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:z,patchMethod:()=>z,bindArguments:()=>[],patchThen:()=>z,patchMacroTask:()=>z,patchEventPrototype:()=>z,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>z,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>z,wrapWithCurrentZone:()=>z,filterProperties:()=>[],attachOriginToPatched:()=>z,_redefineProperty:()=>z,patchCallbacks:()=>z,nativeScheduleMicroTask:Z},k={parent:null,zone:new t(null,null)},S=null,K=0;function z(){}return a("Zone","Zone"),t}function ht(){let e=globalThis,n=e[Q("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=ft(),e.Zone}var ve=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,dt=Object.create,_t=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Le=Q(He),Ie=Q(xe),ce="true",ae="false",be=Q("");function Ge(e,n){return Zone.current.wrap(e,n)}function Ve(e,n,a,t,c){return Zone.current.scheduleMacroTask(e,n,a,t,c)}var H=Q,Se=typeof window<"u",ye=Se?window:void 0,J=Se&&ye||globalThis,Et="removeAttribute";function Fe(e,n){for(let a=e.length-1;a>=0;a--)typeof e[a]=="function"&&(e[a]=Ge(e[a],n+"_"+a));return e}function Tt(e,n){let a=e.constructor.name;for(let t=0;t{let m=function(){return E.apply(this,Fe(arguments,a+"."+c))};return ue(m,E),m})(f)}}}function Qe(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var et=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in J)&&typeof J.process<"u"&&J.process.toString()==="[object process]",Be=!De&&!et&&!!(Se&&ye.HTMLElement),tt=typeof J.process<"u"&&J.process.toString()==="[object process]"&&!et&&!!(Se&&ye.HTMLElement),Ce={},Ye=function(e){if(e=e||J.event,!e)return;let n=Ce[e.type];n||(n=Ce[e.type]=H("ON_PROPERTY"+e.type));let a=this||e.target||J,t=a[n],c;if(Be&&a===ye&&e.type==="error"){let f=e;c=t&&t.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&e.preventDefault()}else c=t&&t.apply(this,arguments),c!=null&&!c&&e.preventDefault();return c};function $e(e,n,a){let t=ve(e,n);if(!t&&a&&ve(a,n)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let c=H("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete t.writable,delete t.value;let f=t.get,_=t.set,E=n.slice(2),m=Ce[E];m||(m=Ce[E]=H("ON_PROPERTY"+E)),t.set=function(C){let T=this;if(!T&&e===J&&(T=J),!T)return;typeof T[m]=="function"&&T.removeEventListener(E,Ye),_&&_.call(T,null),T[m]=C,typeof C=="function"&&T.addEventListener(E,Ye,!1)},t.get=function(){let C=this;if(!C&&e===J&&(C=J),!C)return null;let T=C[m];if(T)return T;if(f){let I=f.call(this);if(I)return t.set.call(this,I),typeof C[Et]=="function"&&C.removeAttribute(n),I}return null},Ae(e,n,t),e[c]=!0}function nt(e,n,a){if(n)for(let t=0;tfunction(_,E){let m=a(_,E);return m.cbIdx>=0&&typeof E[m.cbIdx]=="function"?Ve(m.name,E[m.cbIdx],m,c):f.apply(_,E)})}function ue(e,n){e[H("OriginalDelegate")]=n}var Je=!1,Me=!1;function yt(){try{let e=ye.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function mt(){if(Je)return Me;Je=!0;try{let e=ye.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}var ge=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ge=!1}var pt={useG:!0},ee={},rt={},ot=new RegExp("^"+be+"(\\w+)(true|false)$"),st=H("propagationStopped");function it(e,n){let a=(n?n(e):e)+ae,t=(n?n(e):e)+ce,c=be+a,f=be+t;ee[e]={},ee[e][ae]=c,ee[e][ce]=f}function kt(e,n,a,t){let c=t&&t.add||He,f=t&&t.rm||xe,_=t&&t.listeners||"eventListeners",E=t&&t.rmAll||"removeAllListeners",m=H(c),C="."+c+":",T="prependListener",I="."+T+":",P=function(v,d,F){if(v.isRemoved)return;let q=v.callback;typeof q=="object"&&q.handleEvent&&(v.callback=g=>q.handleEvent(g),v.originalDelegate=q);let Y;try{v.invoke(v,d,[F])}catch(g){Y=g}let B=v.options;if(B&&typeof B=="object"&&B.once){let g=v.originalDelegate?v.originalDelegate:v.callback;d[f].call(d,F.type,g,B)}return Y};function Z(v,d,F){if(d=d||e.event,!d)return;let q=v||d.target||e,Y=q[ee[d.type][F?ce:ae]];if(Y){let B=[];if(Y.length===1){let g=P(Y[0],q,d);g&&B.push(g)}else{let g=Y.slice();for(let U=0;U{throw U})}}}let W=function(v){return Z(this,v,!1)},A=function(v){return Z(this,v,!0)};function te(v,d){if(!v)return!1;let F=!0;d&&d.useG!==void 0&&(F=d.useG);let q=d&&d.vh,Y=!0;d&&d.chkDup!==void 0&&(Y=d.chkDup);let B=!1;d&&d.rt!==void 0&&(B=d.rt);let g=v;for(;g&&!g.hasOwnProperty(c);)g=je(g);if(!g&&v[c]&&(g=v),!g||g[m])return!1;let U=d&&d.eventNameToString,D={},w=g[m]=g[c],k=g[H(f)]=g[f],S=g[H(_)]=g[_],K=g[H(E)]=g[E],z;d&&d.prepend&&(z=g[H(d.prepend)]=g[d.prepend]);function $(o,u){return!ge&&typeof o=="object"&&o?!!o.capture:!ge||!u?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let j=function(o){if(!D.isExisting)return w.call(D.target,D.eventName,D.capture?A:W,D.options)},r=function(o){if(!o.isRemoved){let u=ee[o.eventName],p;u&&(p=u[o.capture?ce:ae]);let R=p&&o.target[p];if(R){for(let y=0;yne.zone.cancelTask(ne);o.call(_e,"abort",se,{once:!0}),ne.removeAbortListener=()=>_e.removeEventListener("abort",se)}if(D.target=null,pe&&(pe.taskData=null),Ue&&(D.options.once=!0),!ge&&typeof ne.options=="boolean"||(ne.options=oe),ne.target=N,ne.capture=Oe,ne.eventName=L,V&&(ne.originalDelegate=G),O?Ee.unshift(ne):Ee.push(ne),y)return N}};return g[c]=l(w,C,x,M,B),z&&(g[T]=l(z,I,s,M,B,!0)),g[f]=function(){let o=this||e,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let p=arguments[2],R=p?typeof p=="boolean"?!0:p.capture:!1,y=arguments[1];if(!y)return k.apply(this,arguments);if(q&&!q(k,y,o,arguments))return;let O=ee[u],N;O&&(N=O[R?ce:ae]);let L=N&&o[N];if(L)for(let G=0;Gfunction(c,f){c[st]=!0,t&&t.apply(c,f)})}function bt(e,n){n.patchMethod(e,"queueMicrotask",a=>function(t,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=H("zoneTask");function Te(e,n,a,t){let c=null,f=null;n+=t,a+=t;let _={};function E(C){let T=C.data;return T.args[0]=function(){return C.invoke.apply(this,arguments)},T.handleId=c.apply(e,T.args),C}function m(C){return f.call(e,C.data.handleId)}c=le(e,n,C=>function(T,I){if(typeof I[0]=="function"){let P={isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?I[1]||0:void 0,args:I},Z=I[0];I[0]=function(){try{return Z.apply(this,arguments)}finally{P.isPeriodic||(typeof P.handleId=="number"?delete _[P.handleId]:P.handleId&&(P.handleId[Re]=null))}};let W=Ve(n,I[0],P,E,m);if(!W)return W;let A=W.data.handleId;return typeof A=="number"?_[A]=W:A&&(A[Re]=W),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(W.ref=A.ref.bind(A),W.unref=A.unref.bind(A)),typeof A=="number"||A?A:W}else return C.apply(e,I)}),f=le(e,a,C=>function(T,I){let P=I[0],Z;typeof P=="number"?Z=_[P]:(Z=P&&P[Re],Z||(Z=P)),Z&&typeof Z.type=="string"?Z.state!=="notScheduled"&&(Z.cancelFn&&Z.data.isPeriodic||Z.runCount===0)&&(typeof P=="number"?delete _[P]:P&&(P[Re]=null),Z.zone.cancelTask(Z)):C.apply(e,I)})}function Pt(e,n){let{isBrowser:a,isMix:t}=n.getGlobalObjects();if(!a&&!t||!e.customElements||!("customElements"in e))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",c)}function wt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:t,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:_}=n.getGlobalObjects();for(let m=0;mf.target===e);if(!t||t.length===0)return n;let c=t[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Ke(e,n,a,t){if(!e)return;let c=at(e,n,a);nt(e,c,t)}function Ze(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Ct(e,n){if(De&&!tt||Zone[e.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,t=[];if(Be){let c=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=yt()?[{target:c,ignoreProperties:["error"]}]:[];Ke(c,Ze(c),a&&a.concat(f),je(c))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[e.__symbol__("legacyPatch")];a&&a()}),e.__load_patch("timers",n=>{let a="set",t="clear";Te(n,a,t,"Timeout"),Te(n,a,t,"Interval"),Te(n,a,t,"Immediate")}),e.__load_patch("requestAnimationFrame",n=>{Te(n,"request","cancel","AnimationFrame"),Te(n,"mozRequest","mozCancel","AnimationFrame"),Te(n,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(n,a)=>{let t=["alert","prompt","confirm"];for(let c=0;cfunction(C,T){return a.current.run(_,n,T,m)})}}),e.__load_patch("EventTarget",(n,a,t)=>{Rt(n,t),wt(n,t);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&t.patchEventTarget(n,t,[c.prototype])}),e.__load_patch("MutationObserver",(n,a,t)=>{ke("MutationObserver"),ke("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(n,a,t)=>{ke("IntersectionObserver")}),e.__load_patch("FileReader",(n,a,t)=>{ke("FileReader")}),e.__load_patch("on_property",(n,a,t)=>{Ct(t,n)}),e.__load_patch("customElements",(n,a,t)=>{Pt(n,t)}),e.__load_patch("XHR",(n,a)=>{C(n);let t=H("xhrTask"),c=H("xhrSync"),f=H("xhrListener"),_=H("xhrScheduled"),E=H("xhrURL"),m=H("xhrErrorBeforeScheduled");function C(T){let I=T.XMLHttpRequest;if(!I)return;let P=I.prototype;function Z(w){return w[t]}let W=P[Le],A=P[Ie];if(!W){let w=T.XMLHttpRequestEventTarget;if(w){let k=w.prototype;W=k[Le],A=k[Ie]}}let te="readystatechange",X="scheduled";function v(w){let k=w.data,S=k.target;S[_]=!1,S[m]=!1;let K=S[f];W||(W=S[Le],A=S[Ie]),K&&A.call(S,te,K);let z=S[f]=()=>{if(S.readyState===S.DONE)if(!k.aborted&&S[_]&&w.state===X){let j=S[a.__symbol__("loadfalse")];if(S.status!==0&&j&&j.length>0){let r=w.invoke;w.invoke=function(){let i=S[a.__symbol__("loadfalse")];for(let s=0;sfunction(w,k){return w[c]=k[2]==!1,w[E]=k[1],q.apply(w,k)}),Y="XMLHttpRequest.send",B=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=le(P,"send",()=>function(w,k){if(a.current[g]===!0||w[c])return U.apply(w,k);{let S={target:w,url:w[E],isPeriodic:!1,args:k,aborted:!1},K=Ve(Y,d,S,v,F);w&&w[m]===!0&&!S.aborted&&K.state===X&&K.invoke()}}),D=le(P,"abort",()=>function(w,k){let S=Z(w);if(S&&typeof S.type=="string"){if(S.cancelFn==null||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(a.current[B]===!0)return D.apply(w,k)})}}),e.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&Tt(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(n,a)=>{function t(c){return function(f){ct(n,c).forEach(E=>{let m=n.PromiseRejectionEvent;if(m){let C=new m(c,{promise:f.promise,reason:f.rejection});E.invoke(C)}})}}n.PromiseRejectionEvent&&(a[H("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),a[H("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(n,a,t)=>{bt(n,t)})}function Dt(e){e.__load_patch("ZoneAwarePromise",(n,a,t)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function _(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let E=t.symbol,m=[],C=n[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,T=E("Promise"),I=E("then"),P="__creationTrace__";t.onUnhandledError=h=>{if(t.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},t.microtaskDrainDone=()=>{for(;m.length;){let h=m.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){W(l)}}};let Z=E("unhandledPromiseRejectionHandler");function W(h){t.onUnhandledError(h);try{let l=a[Z];typeof l=="function"&&l.call(this,h)}catch{}}function A(h){return h&&h.then}function te(h){return h}function X(h){return M.reject(h)}let v=E("state"),d=E("value"),F=E("finally"),q=E("parentPromiseValue"),Y=E("parentPromiseState"),B="Promise.then",g=null,U=!0,D=!1,w=0;function k(h,l){return o=>{try{$(h,l,o)}catch(u){$(h,!1,u)}}}let S=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",z=E("currentTaskTrace");function $(h,l,o){let u=S();if(h===o)throw new TypeError(K);if(h[v]===g){let p=null;try{(typeof o=="object"||typeof o=="function")&&(p=o&&o.then)}catch(R){return u(()=>{$(h,!1,R)})(),h}if(l!==D&&o instanceof M&&o.hasOwnProperty(v)&&o.hasOwnProperty(d)&&o[v]!==g)r(o),$(h,o[v],o[d]);else if(l!==D&&typeof p=="function")try{p.call(o,u(k(h,l)),u(k(h,!1)))}catch(R){u(()=>{$(h,!1,R)})()}else{h[v]=l;let R=h[d];if(h[d]=o,h[F]===F&&l===U&&(h[v]=h[Y],h[d]=h[q]),l===D&&o instanceof Error){let y=a.currentTask&&a.currentTask.data&&a.currentTask.data[P];y&&f(o,z,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{let O=h[d],N=!!o&&F===o[F];N&&(o[q]=O,o[Y]=R);let L=l.run(y,void 0,N&&y!==X&&y!==te?[]:[O]);$(o,!0,L)}catch(O){$(o,!1,O)}},o)}let s="function ZoneAwarePromise() { [native code] }",b=function(){},x=n.AggregateError;class M{static toString(){return s}static resolve(l){return l instanceof M?l:$(new this(null),U,l)}static reject(l){return $(new this(null),D,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new x([],"All promises were rejected"));let o=[],u=0;try{for(let y of l)u++,o.push(M.resolve(y))}catch{return Promise.reject(new x([],"All promises were rejected"))}if(u===0)return Promise.reject(new x([],"All promises were rejected"));let p=!1,R=[];return new M((y,O)=>{for(let N=0;N{p||(p=!0,y(L))},L=>{R.push(L),u--,u===0&&(p=!0,O(new x(R,"All promises were rejected")))})})}static race(l){let o,u,p=new this((O,N)=>{o=O,u=N});function R(O){o(O)}function y(O){u(O)}for(let O of l)A(O)||(O=this.resolve(O)),O.then(R,y);return p}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,p,R=new this((L,G)=>{u=L,p=G}),y=2,O=0,N=[];for(let L of l){A(L)||(L=this.resolve(L));let G=O;try{L.then(V=>{N[G]=o?o.thenCallback(V):V,y--,y===0&&u(N)},V=>{o?(N[G]=o.errorCallback(V),y--,y===0&&u(N)):p(V)})}catch(V){p(V)}y++,O++}return y-=2,y===0&&u(N),R}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[v]=g,o[d]=[];try{let u=S();l&&l(u(k(o,U)),u(k(o,D)))}catch(u){$(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let p=new u(b),R=a.current;return this[v]==g?this[d].push(R,p,l,o):i(this,R,p,l,o),p}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(b);u[F]=F;let p=a.current;return this[v]==g?this[d].push(p,u,l,l):i(this,p,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let de=n[T]=n.Promise;n.Promise=M;let me=E("thenPatched");function he(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[I]=u,h.prototype.then=function(p,R){return new M((O,N)=>{u.call(this,O,N)}).then(p,R)},h[me]=!0}t.patchThen=he;function Pe(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let p=u.constructor;return p[me]||he(p),u}}return de&&(he(de),le(n,"fetch",h=>Pe(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=m,M})}function Ot(e){e.__load_patch("toString",n=>{let a=Function.prototype.toString,t=H("OriginalDelegate"),c=H("Promise"),f=H("Error"),_=function(){if(typeof this=="function"){let T=this[t];if(T)return typeof T=="function"?a.call(T):Object.prototype.toString.call(T);if(this===Promise){let I=n[c];if(I)return a.call(I)}if(this===Error){let I=n[f];if(I)return a.call(I)}}return a.call(this)};_[t]=a,Function.prototype.toString=_;let E=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:E.call(this)}})}function Nt(e,n,a,t,c){let f=Zone.__symbol__(t);if(n[f])return;let _=n[f]=n[t];n[t]=function(E,m,C){return m&&m.prototype&&c.forEach(function(T){let I=`${a}.${t}::`+T,P=m.prototype;try{if(P.hasOwnProperty(T)){let Z=e.ObjectGetOwnPropertyDescriptor(P,T);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,I),e._redefineProperty(m.prototype,T,Z)):P[T]&&(P[T]=e.wrapWithCurrentZone(P[T],I))}else P[T]&&(P[T]=e.wrapWithCurrentZone(P[T],I))}catch{}}),_.call(n,E,m,C)},e.attachOriginToPatched(n[t],_)}function Lt(e){e.__load_patch("util",(n,a,t)=>{let c=Ze(n);t.patchOnProperties=nt,t.patchMethod=le,t.bindArguments=Fe,t.patchMacroTask=gt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),_=a.__symbol__("UNPATCHED_EVENTS");n[_]&&(n[f]=n[_]),n[f]&&(a[f]=a[_]=n[f]),t.patchEventPrototype=vt,t.patchEventTarget=kt,t.isIEOrEdge=mt,t.ObjectDefineProperty=Ae,t.ObjectGetOwnPropertyDescriptor=ve,t.ObjectCreate=dt,t.ArraySlice=_t,t.patchClass=ke,t.wrapWithCurrentZone=Ge,t.filterProperties=at,t.attachOriginToPatched=ue,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Nt,t.getGlobalObjects=()=>({globalSources:rt,zoneSymbolEventNames:ee,eventNames:c,isBrowser:Be,isMix:tt,isNode:De,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:be,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe})})}function It(e){Dt(e),Ot(e),Lt(e)}var lt=ht();It(lt);St(lt); diff --git a/polyfills-LZBJRJJE.js b/polyfills-LZBJRJJE.js deleted file mode 100644 index 57d4c33..0000000 --- a/polyfills-LZBJRJJE.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let oe=class oe{static assertZonePatched(){if(e.Promise!==re.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=oe.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return te}static __load_patch(t,s,o=!1){if(re.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),re[t]=s(e,oe,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=te;te=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,te=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let u={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,u)}}}class m{constructor(t,s,o,v,F,u){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=u,!o)throw new Error("callback is not defined");this.callback=o;let f=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,f,this,arguments)}}static invokeTask(t,s,o){t||(t=this),Q++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{Q==1&&E(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let I=l("setTimeout"),Z=l("Promise"),O=l("then"),B=[],A=!1,J;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let t=J[O];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){Q===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!A){for(A=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},te=null,Q=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var me=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,it=Object.create,ct=Array.prototype.slice,Me="addEventListener",Le="removeEventListener",Se=Zone.__symbol__(Me),De=Zone.__symbol__(Le),ie="true",ce="false",pe=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function je(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,at="removeAttribute";function He(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function lt(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,He(arguments,c+"."+a))};return ae(b,_),b})(l)}}}function Ye(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",xe=!we&&!$e&&!!(Pe&&Te.HTMLElement),Je=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!$e&&!!(Pe&&Te.HTMLElement),be={},We=function(e){if(e=e||Y.event,!e)return;let n=be[e.type];n||(n=be[e.type]=j("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(xe&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function qe(e,n,c){let r=me(e,n);if(!r&&c&&me(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=j("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=be[_];b||(b=be[_]=j("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,We),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,We,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[at]=="function"&&k.removeAttribute(n),I}return null},Ne(e,n,r),e[a]=!0}function Ke(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?je(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function ae(e,n){e[j("OriginalDelegate")]=n}var Xe=!1,Ze=!1;function ft(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function ht(){if(Xe)return Ze;Xe=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(u){if(u&&u.toString===Object.prototype.toString){let f=u.constructor&&u.constructor.name;return(f||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=u=>{if(c.showUncaughtError()){let f=u&&u.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(u)}},c.microtaskDrainDone=()=>{for(;_.length;){let u=_.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(f){O(f)}}};let Z=y("unhandledPromiseRejectionHandler");function O(u){c.onUnhandledError(u);try{let f=n[Z];typeof f=="function"&&f.call(this,u)}catch{}}function B(u){return u&&u.then}function A(u){return u}function J(u){return t.reject(u)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(u,f){return i=>{try{z(u,f,i)}catch(h){z(u,!1,h)}}}let P=function(){let u=!1;return function(i){return function(){u||(u=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",re=y("currentTaskTrace");function z(u,f,i){let h=P();if(u===i)throw new TypeError(K);if(u[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(u,!1,w)})(),u}if(f!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)te(i),z(u,i[q],i[R]);else if(f!==x&&typeof g=="function")try{g.call(i,h(N(u,f)),h(N(u,!1)))}catch(w){h(()=>{z(u,!1,w)})()}else{u[q]=f;let w=u[R];if(u[R]=i,u[E]===E&&f===T&&(u[q]=u[H],u[R]=u[$]),f===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,re,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=u[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=f.run(p,void 0,S&&p!==J&&p!==A?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",oe=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(f){return z(new this(null),T,f)}static reject(f){return z(new this(null),x,f)}static any(f){if(!f||typeof f[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of f)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(f){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of f)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(f){return t.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof t?this:t).allWithCallback(f,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(f,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of f){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(f){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();f&&f(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(f,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(oe),w=n.current;return this[q]==M?this[R].push(w,g,f,i):Q(this,w,g,f,i),g}catch(f){return this.then(null,f)}finally(f){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(oe);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,f,f):Q(this,g,h,f,f),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(u){let f=u.prototype,i=r(f,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=f.then;f[m]=h,u.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},u[o]=!0}c.patchThen=v;function F(u){return function(f,i){let h=u.apply(f,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),le(e,"fetch",u=>F(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=j("OriginalDelegate"),r=j("Promise"),a=j("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var dt={useG:!0},ee={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=j("propagationStopped");function nt(e,n){let c=(n?n(e):e)+ce,r=(n?n(e):e)+ie,a=pe+c,l=pe+r;ee[e]={},ee[e][ce]=a,ee[e][ie]=l}function _t(e,n,c,r){let a=r&&r.add||Me,l=r&&r.rm||Le,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=j(a),k="."+a+":",m="prependListener",I="."+m+":",Z=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function O(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[ee[E.type][$?ie:ce]];if(X){let M=[];if(X.length===1){let T=Z(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return O(this,R,!1)},A=function(R){return O(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Ie(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[j(l)]=T[l],K=T[j(y)]=T[y],re=T[j(_)]=T[_],z;E&&E.prepend&&(z=T[j(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let te=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?A:B,d.options)},Q=function(i){if(!i.isRemoved){let h=ee[i.eventName],g;h&&(g=h[i.capture?ie:ce]);let w=g&&i.target[g];if(w){for(let p=0;pfunction(a,l){a[tt]=!0,r&&r.apply(a,l)})}function Tt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){let O=e.ObjectGetOwnPropertyDescriptor(Z,m);O&&O.value?(O.value=e.wrapWithCurrentZone(O.value,I),e._redefineProperty(b.prototype,m,O)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function ot(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function ze(e,n,c,r){if(!e)return;let a=ot(e,n,c);Ke(e,a,r)}function Oe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function yt(e,n){if(we&&!Je||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(xe){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ft()?[{target:a,ignoreProperties:["error"]}]:[];ze(a,Oe(a),c&&c.concat(l),Ie(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Oe(e);c.patchOnProperties=Ke,c.patchMethod=le,c.bindArguments=He,c.patchMacroTask=ut;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Et,c.patchEventTarget=_t,c.isIEOrEdge=ht,c.ObjectDefineProperty=Ne,c.ObjectGetOwnPropertyDescriptor=me,c.ObjectCreate=it,c.ArraySlice=ct,c.patchClass=ge,c.wrapWithCurrentZone=Ae,c.filterProperties=ot,c.attachOriginToPatched=ae,c._redefineProperty=Object.defineProperty,c.patchCallbacks=Tt,c.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:ee,eventNames:r,isBrowser:xe,isMix:Je,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Le})});function mt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var ve=j("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=le(e,n,k=>function(m,I){if(typeof I[0]=="function"){let Z={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},O=I[0];I[0]=function(){try{return O.apply(this,arguments)}finally{Z.isPeriodic||(typeof Z.handleId=="number"?delete y[Z.handleId]:Z.handleId&&(Z.handleId[ve]=null))}};let B=je(n,I[0],Z,_,b);if(!B)return B;let A=B.data.handleId;return typeof A=="number"?y[A]=B:A&&(A[ve]=B),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(B.ref=A.ref.bind(A),B.unref=A.unref.bind(A)),typeof A=="number"||A?A:B}else return k.apply(e,I)}),l=le(e,c,k=>function(m,I){let Z=I[0],O;typeof Z=="number"?O=y[Z]:(O=Z&&Z[ve],O||(O=Z)),O&&typeof O.type=="string"?O.state!=="notScheduled"&&(O.cancelFn&&O.data.isPeriodic||O.runCount===0)&&(typeof Z=="number"?delete y[Z]:Z&&(Z[ve]=null),O.zone.cancelTask(O)):k.apply(e,I)})}function pt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function gt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{kt(e,c),gt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ge("MutationObserver"),ge("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ge("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ge("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{yt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{pt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=j("xhrTask"),r=j("xhrSync"),a=j("xhrListener"),l=j("xhrScheduled"),y=j("xhrURL"),_=j("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function Z(d){return d[c]}let O=I[Se],B=I[De];if(!O){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;O=N[Se],B=N[De]}}let A="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];O||(O=P[Se],B=P[De]),K&&B.call(P,A,K);let re=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let te=d.invoke;d.invoke=function(){let Q=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=j("fetchTaskAborting"),M=j("fetchTaskScheduling"),T=le(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=je(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=le(I,"abort",()=>function(d,N){let P=Z(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&<(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){rt(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[j("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{mt(e,c)});