@knoflows/engine 0.1.0-alpha.7 → 0.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/engine.js +18 -17
- package/package.json +8 -4
- package/static/assets/i18n/en.json +102 -5
- package/static/assets/i18n/es.json +102 -5
- package/static/{chunk-E9Klh0DL.js → chunk-BEvII7Hn.js} +1 -1
- package/static/chunk-BIFLxIMS.js +66 -0
- package/static/chunk-BQgEbMSp.js +1 -0
- package/static/{chunk-BiwCj5Ed.js → chunk-BYIP8zBR.js} +1 -1
- package/static/chunk-BiLgez1m.js +1 -0
- package/static/chunk-BnnoOI-1.js +1 -0
- package/static/chunk-BrJS_1Y1.js +1 -0
- package/static/chunk-CB7iIlL9.js +1 -0
- package/static/chunk-CL0Sh0Qb.js +1 -0
- package/static/chunk-CNj32s8G.js +1 -0
- package/static/chunk-CQ708Y6F.js +1 -0
- package/static/chunk-CoKTfrti.js +1 -0
- package/static/{chunk-CxrhCycA.js → chunk-Cuaj1Fgz.js} +1 -1
- package/static/{chunk-D7ecsHWV.js → chunk-CxgNB2C8.js} +1 -1
- package/static/chunk-DO1B2M6l.js +1 -0
- package/static/chunk-DTLDtzu5.js +1 -0
- package/static/chunk-Dc_LNQ-q.js +1 -0
- package/static/chunk-DflfYru0.js +1 -0
- package/static/{chunk-C9TOy_jn.js → chunk-DjiFAEo3.js} +1 -1
- package/static/{chunk--huWzdqj.js → chunk-Dqtz3Iow.js} +1 -1
- package/static/chunk-DrlNmyyx.js +7 -0
- package/static/chunk-G2CzeazF.js +1 -0
- package/static/chunk-He--f9Sf.js +1 -0
- package/static/chunk-JcYd5MYJ.js +5 -0
- package/static/chunk-MRIst_Tv.js +1 -0
- package/static/{chunk-GrrV0ukn.js → chunk-Xv2Lx0k9.js} +1 -1
- package/static/{chunk-DjcxfmKB.js → chunk-bi3jOaJV.js} +1 -1
- package/static/chunk-fPx6gQSM.js +1 -0
- package/static/chunk-g1iNEPSG.js +1 -0
- package/static/chunk-mmWflnUN.js +1 -0
- package/static/index.html +2 -2
- package/static/main-R7YQQZVK.js +249 -0
- package/static/chunk-164-t-LC.js +0 -1
- package/static/chunk-B2oijRKi.js +0 -1
- package/static/chunk-BMOj-ctp.js +0 -1
- package/static/chunk-B_0vwfJH.js +0 -1
- package/static/chunk-Ba2Pk3ZV.js +0 -1
- package/static/chunk-BgxH8sDB.js +0 -1
- package/static/chunk-CIADdbUP.js +0 -1
- package/static/chunk-CfZWJKlu.js +0 -1
- package/static/chunk-Cg4mENZa.js +0 -1
- package/static/chunk-Cv5pNW9n.js +0 -1
- package/static/chunk-CzSFfhcS.js +0 -7
- package/static/chunk-D5kutWaL.js +0 -66
- package/static/chunk-DZV_xppV.js +0 -1
- package/static/chunk-DaPHlPte.js +0 -1
- package/static/chunk-DeFJOu7x.js +0 -1
- package/static/chunk-DkKxPJBS.js +0 -1
- package/static/chunk-DnSW_i5C.js +0 -5
- package/static/chunk-Dnos4vY0.js +0 -1
- package/static/chunk-M0pfvgRb.js +0 -1
- package/static/chunk-PG4bRDhM.js +0 -1
- package/static/chunk-dMfVmcfD.js +0 -1
- package/static/main-6LDEPJ3H.js +0 -249
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
var k$1=Object.defineProperty,p$2=Object.defineProperties;var q$4=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var j$3=(b,c,a)=>c in b?k$1(b,c,{enumerable:true,configurable:true,writable:true,value:a}):b[c]=a,r=(b,c)=>{for(var a in c||={})l.call(c,a)&&j$3(b,a,c[a]);if(f)for(var a of f(c))m.call(c,a)&&j$3(b,a,c[a]);return b},s=(b,c)=>p$2(b,q$4(c));var t$1=(b,c)=>{var a={};for(var d in b)l.call(b,d)&&c.indexOf(d)<0&&(a[d]=b[d]);if(b!=null&&f)for(var d of f(b))c.indexOf(d)<0&&m.call(b,d)&&(a[d]=b[d]);return a};var u$2=(b,c)=>{for(var a in c)k$1(b,a,{get:c[a],enumerable:true});};var v$1=(b,c,a)=>new Promise((d,i)=>{var n=e=>{try{g(a.next(e));}catch(h){i(h);}},o=e=>{try{g(a.throw(e));}catch(h){i(h);}},g=e=>e.done?d(e.value):Promise.resolve(e.value).then(n,o);g((a=a.apply(b,c)).next());});function I(e){return typeof e=="function"}function Fr$2(e){return e&&I(e.schedule)}function qi$3(e){return e[e.length-1]}function jr$1(e){return I(qi$3(e))?e.pop():void 0}function _e$2(e){return Fr$2(qi$3(e))?e.pop():void 0}function ll$1(e,t){return typeof qi$3(e)=="number"?e.pop():t}function pT(e,t,n,r,o,i){function s(M){if(M!==void 0&&typeof M!="function")throw new TypeError("Function expected");return M}for(var a=r.kind,c=a==="getter"?"get":a==="setter"?"set":"value",l=null,u=(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d,p=false,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]=m==="access"?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(M){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(M||null));};var T=(0, n[f])(a==="accessor"?{get:u.get,set:u.set}:u[c],h);if(a==="accessor"){if(T===void 0)continue;if(T===null||typeof T!="object")throw new TypeError("Object expected");(d=s(T.get))&&(u.get=d),(d=s(T.set))&&(u.set=d),(d=s(T.init))&&o.unshift(d);}else (d=s(T))&&(a==="field"?o.unshift(d):u[c]=d);}l&&Object.defineProperty(l,r.name,u),p=true;}function hT(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function dl$1(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(u){try{l(r.next(u));}catch(d){s(d);}}function c(u){try{l(r.throw(u));}catch(d){s(d);}}function l(u){u.done?i(u.value):o(u.value).then(a,c);}l((r=r.apply(e,[])).next());})}function ul$1(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 dt$2(e){return this instanceof dt$2?(this.v=e,this):new dt$2(e)}function fl$1(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(T,M){i.push([f,m,T,M])>1||c(f,m);})},h&&(o[f]=h(o[f])));}function c(f,h){try{l(r[f](h));}catch(m){p(i[0][3],m);}}function l(f){f.value instanceof dt$2?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f);}function u(f){c("next",f);}function d(f){c("throw",f);}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1]);}}function pl$1(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 ul$1=="function"?ul$1(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(l){i({value:l,done:a});},s);}}var Zt$2=e=>e&&typeof e.length=="number"&&typeof e!="function";function Vr$1(e){return I(e?.then)}function Yt(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 Hr$1=Yt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n;});function ft$3(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1);}}var H$1=class e{constructor(t){this.initialTeardown=t,this.closed=false,this._parentage=null,this._finalizers=null;}unsubscribe(){let t;if(!this.closed){this.closed=true;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(I(r))try{r();}catch(i){t=i instanceof Hr$1?i.errors:[i];}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{hl$1(i);}catch(s){t=t??[],s instanceof Hr$1?t=[...t,...s.errors]:t.push(s);}}if(t)throw new Hr$1(t)}}add(t){var n;if(t&&t!==this)if(this.closed)hl$1(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)&&ft$3(n,t);}remove(t){let{_finalizers:n}=this;n&&ft$3(n,t),t instanceof e&&t._removeParent(this);}};H$1.EMPTY=(()=>{let e=new H$1;return e.closed=true,e})();var Wi$3=H$1.EMPTY;function Br$2(e){return e instanceof H$1||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function hl$1(e){I(e)?e():e.unsubscribe();}var ve$1={Promise:void 0};var Kt$3={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return (clearTimeout)(e)},delegate:void 0};function $r$1(e){Kt$3.setTimeout(()=>{throw e});}function pt$3(){}function Jt$1(e){e();}var gt$2=class gt extends H$1{constructor(t){super(),this.isStopped=false,t?(this.destination=t,Br$2(t)&&t.add(this)):this.destination=ug;}static create(t,n,r){return new Oe(t,n,r)}next(t){this.isStopped?Qi$3():this._next(t);}error(t){this.isStopped?Qi$3():(this.isStopped=true,this._error(t));}complete(){this.isStopped?Qi$3():(this.isStopped=true,this._complete());}unsubscribe(){this.closed||(this.isStopped=true,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();}}};var Zi$3=class Zi{constructor(t){this.partialObserver=t;}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t);}catch(r){Ur$2(r);}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t);}catch(r){Ur$2(r);}else Ur$2(t);}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete();}catch(n){Ur$2(n);}}},Oe=class extends gt$2{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else {o=t;}this.destination=new Zi$3(o);}};function Ur$2(e){$r$1(e);}function lg(e){throw e}function Qi$3(e,t){}var ug={closed:true,next:pt$3,error:lg,complete:pt$3};var Xt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function K$2(e){return e}function dg(...e){return Yi$3(e)}function Yi$3(e){return e.length===0?K$2:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{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=pg(n)?n:new Oe(n,r,o);return Jt$1(()=>{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=Il$1(r),new r((o,i)=>{let s=new Oe({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)}[Xt](){return this}pipe(...n){return Yi$3(n)(this)}toPromise(n){return n=Il$1(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 Il$1(e){var t;return (t=e??ve$1.Promise)!==null&&t!==void 0?t:Promise}function fg(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function pg(e){return e&&e instanceof gt$2||fg(e)&&Br$2(e)}function qr$1(e){return I(e[Xt])}function Wr$1(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function Gr$1(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 hg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zr$1=hg();function Qr$1(e){return I(e?.[zr$1])}function Zr$1(e){return fl$1(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt$2(n.read());if(o)return yield dt$2(void 0);yield yield dt$2(r);}}finally{n.releaseLock();}})}function Yr$1(e){return I(e?.getReader)}function N$2(e){if(e instanceof S)return e;if(e!=null){if(qr$1(e))return gg(e);if(Zt$2(e))return mg(e);if(Vr$1(e))return yg(e);if(Wr$1(e))return El$1(e);if(Qr$1(e))return vg(e);if(Yr$1(e))return Ig(e)}throw Gr$1(e)}function gg(e){return new S(t=>{let n=e[Xt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function mg(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete();})}function yg(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete());},n=>t.error(n)).then(null,$r$1);})}function vg(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete();})}function El$1(e){return new S(t=>{Eg(e,t).catch(n=>t.error(n));})}function Ig(e){return El$1(Zr$1(e))}function Eg(e,t){var n,r,o,i;return dl$1(this,void 0,void 0,function*(){try{for(n=pl$1(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 ne$1(e,t,n,r=0,o=false){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe();},r);if(e.add(i),!o)return i}function Ki$3(e){return I(e?.lift)}function D$2(e){return t=>{if(Ki$3(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 E$1(e,t,n,r,o){return new Ji$3(e,t,n,r,o)}var Ji$3=class Ji extends gt$2{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));}}};function Kr$1(e,t=0){return D$2((n,r)=>{n.subscribe(E$1(r,o=>ne$1(r,e,()=>r.next(o),t),()=>ne$1(r,e,()=>r.complete(),t),o=>ne$1(r,e,()=>r.error(o),t)));})}function Jr$1(e,t=0){return D$2((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t));})}function Dl$1(e,t){return N$2(e).pipe(Jr$1(t),Kr$1(t))}function wl$1(e,t){return N$2(e).pipe(Jr$1(t),Kr$1(t))}function Tl$1(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule());})})}function Cl$1(e,t){return new S(n=>{let r;return ne$1(n,t,()=>{r=e[zr$1](),ne$1(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,true);}),()=>I(r?.return)&&r.return()})}function Xr$1(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{ne$1(n,t,()=>{let r=e[Symbol.asyncIterator]();ne$1(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value);});},0,true);});})}function bl$1(e,t){return Xr$1(Zr$1(e),t)}function _l$1(e,t){if(e!=null){if(qr$1(e))return Dl$1(e,t);if(Zt$2(e))return Tl$1(e,t);if(Vr$1(e))return wl$1(e,t);if(Wr$1(e))return Xr$1(e,t);if(Qr$1(e))return Cl$1(e,t);if(Yr$1(e))return bl$1(e,t)}throw Gr$1(e)}function Me$3(e,t){return t?_l$1(e,t):N$2(e)}function Dg(...e){let t=_e$2(e);return Me$3(e,t)}function Se$3(e,t){return D$2((n,r)=>{let o=0;n.subscribe(E$1(r,i=>{r.next(e.call(t,i,o++));}));})}var{isArray:wg}=Array,{getPrototypeOf:Tg,prototype:Cg,keys:bg}=Object;function eo$1(e){if(e.length===1){let t=e[0];if(wg(t))return {args:t,keys:null};if(_g(t)){let n=bg(t);return {args:n.map(r=>t[r]),keys:n}}}return {args:e,keys:null}}function _g(e){return e&&typeof e=="object"&&Tg(e)===Cg}var{isArray:Mg}=Array;function Sg(e,t){return Mg(t)?e(...t):e(t)}function en$3(e){return Se$3(t=>Sg(e,t))}function to$1(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ng(...e){let t=jr$1(e),{args:n,keys:r}=eo$1(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=false;N$2(n[u]).subscribe(E$1(i,p=>{d||(d=true,l--),a[u]=p;},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?to$1(r,a):a),i.complete());}));}});return t?o.pipe(en$3(t)):o}function Xi$3(e){return D$2((t,n)=>{let r=null,o=!1,i;r=t.subscribe(E$1(n,void 0,void 0,s=>{i=N$2(e(s,Xi$3(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0;})),o&&(r.unsubscribe(),r=null,i.subscribe(n));})}function Ml$1(e,t){return D$2((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(E$1(r,c=>{o?.unsubscribe();let l=0,u=i++;N$2(e(c,u)).subscribe(o=E$1(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a();}));},()=>{s=!0,a();}));})}function Sl$1(){return D$2((e,t)=>{let n=null;e._refCount++;let r=E$1(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe();});e.subscribe(r),r.closed||(n=e.connect());})}var es$2=class es extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ki$3(t)&&(this.lift=t.lift);}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return (!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe();}connect(){let t=this._connection;if(!t){t=this._connection=new H$1;let n=this.getSubject();t.add(this.source.subscribe(E$1(n,void 0,()=>{this._teardown(),n.complete();},r=>{this._teardown(),n.error(r);},()=>this._teardown()))),t.closed&&(this._connection=null,t=H$1.EMPTY);}return t}refCount(){return Sl$1()(this)}};var tn$2={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;let o=t(i=>{n=void 0,e(i);});return new H$1(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=tn$2;return (t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){return (cancelAnimationFrame)(...e)},delegate:void 0};var Nl$1=Yt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed";});var re$1=(()=>{class e extends S{constructor(){super(),this.closed=false,this.currentObservers=null,this.observers=[],this.isStopped=false,this.hasError=false,this.thrownError=null;}lift(n){let r=new no$1(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Nl$1}next(n){Jt$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n);}});}error(n){Jt$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=true,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n);}});}complete(){Jt$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=true;let{observers:n}=this;for(;n.length;)n.shift().complete();}});}unsubscribe(){this.isStopped=this.closed=true,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?Wi$3:(this.currentObservers=null,i.push(n),new H$1(()=>{this.currentObservers=null,ft$3(i,n);}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete();}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new no$1(t,n),e})(),no$1=class no extends re$1{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:Wi$3}};var On$2=class On extends re$1{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 Pn$3={now(){return (Pn$3.delegate||Date).now()},delegate:void 0};var Ln$2=class Ln extends re$1{constructor(t=1/0,n=1/0,r=Pn$3){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=true,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n);}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t);}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1);}}};var ro$1=class ro extends H$1{constructor(t,n){super();}schedule(t,n=0){return this}};var Fn$2={setInterval(e,t,...n){let{delegate:r}=Fn$2;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return (clearInterval)(e)},delegate:void 0};var We$2=class We extends ro$1{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=false;}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=true,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Fn$2.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===false)return n;n!=null&&Fn$2.clearInterval(n);}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=false;let r=this._execute(t,n);if(r)return r;this.pending===false&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null));}_execute(t,n){let r=false,o;try{this.work(t);}catch(i){r=true,o=i||new Error("Scheduled action threw falsy error");}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=false,ft$3(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe();}}};var xg=1,ts$2,ns$2={};function xl$1(e){return e in ns$2?(delete ns$2[e],true):false}var Al$1={setImmediate(e){let t=xg++;return ns$2[t]=true,ts$2||(ts$2=Promise.resolve()),ts$2.then(()=>xl$1(t)&&e()),t},clearImmediate(e){xl$1(e);}};var{setImmediate:Ag,clearImmediate:Rg}=Al$1,jn$1={setImmediate(...e){let{delegate:t}=jn$1;return (t?.setImmediate||Ag)(...e)},clearImmediate(e){return (Rg)(e)},delegate:void 0};var oo$1=class oo extends We$2{constructor(t,n){super(t,n),this.scheduler=t,this.work=n;}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=jn$1.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(jn$1.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0));}};var nn$2=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n;}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};nn$2.now=Pn$3.now;var Ge$2=class Ge extends nn$2{constructor(t,n=nn$2.now){super(t,n),this.actions=[],this._active=false;}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=true;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=false,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var io$1=class io extends Ge$2{flush(t){this._active=true;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=false,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var kg=new io$1(oo$1);var Pe$1=new Ge$2(We$2),Rl$1=Pe$1;var so$1=class so extends We$2{constructor(t,n){super(t,n),this.scheduler=t,this.work=n;}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=tn$2.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(tn$2.cancelAnimationFrame(n),t._scheduled=void 0);}};var ao$1=class ao extends Ge$2{flush(t){this._active=true;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=false,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Og=new ao$1(so$1);var mt$3=new S(e=>e.complete());function Pg(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new S(r)}function Lg(e){return !!e&&(e instanceof S||I(e.lift)&&I(e.subscribe))}var Vn$2=Yt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence";});function kl$1(e){return e instanceof Date&&!isNaN(e)}function Fg(...e){let t=_e$2(e),n=jr$1(e),{args:r,keys:o}=eo$1(e);if(r.length===0)return Me$3([],t);let i=new S(jg(r,t,o?s=>to$1(o,s):K$2));return n?i.pipe(en$3(n)):i}function jg(e,t,n=K$2){return r=>{Ol$1(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ol$1(t,()=>{let l=Me$3(e[c],t),u=false;l.subscribe(E$1(r,d=>{i[c]=d,u||(u=true,a--),a||r.next(n(i.slice()));},()=>{--s||r.complete();}));},r);},r);}}function Ol$1(e,t,n){e?ne$1(n,e,t):t();}function Pl$1(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=false,p=()=>{d&&!c.length&&!l&&t.complete();},f=m=>l<r?h(m):c.push(m),h=m=>{l++;let T=false;N$2(n(m,u++)).subscribe(E$1(t,M=>{t.next(M);},()=>{T=true;},void 0,()=>{if(T)try{for(l--;c.length&&l<r;){let M=c.shift();s?ne$1(t,s,()=>h(M)):h(M);}p();}catch(M){t.error(M);}}));};return e.subscribe(E$1(t,f,()=>{d=true,p();})),()=>{}}function Ie$3(e,t,n=1/0){return I(t)?Ie$3((r,o)=>Se$3((i,s)=>t(r,i,o,s))(N$2(e(r,o))),n):(typeof t=="number"&&(n=t),D$2((r,o)=>Pl$1(r,o,e,n)))}function Hn$1(e=1/0){return Ie$3(K$2,e)}function Ll$1(){return Hn$1(1)}function rn$3(...e){return Ll$1()(Me$3(e,_e$2(e)))}function Vg(e){return new S(t=>{N$2(e()).subscribe(t);})}var Hg=["addListener","removeListener"],Bg=["addEventListener","removeEventListener"],$g=["on","off"];function rs$2(e,t,n,r){if(I(n)&&(r=n,n=void 0),r)return rs$2(e,t,n).pipe(en$3(r));let[o,i]=Wg(e)?Bg.map(s=>a=>e[s](t,a,n)):Ug(e)?Hg.map(Fl$1(e,t)):qg(e)?$g.map(Fl$1(e,t)):[];if(!o&&Zt$2(e))return Ie$3(s=>rs$2(s,t,n))(N$2(e));if(!o)throw new TypeError("Invalid event target");return new S(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Fl$1(e,t){return n=>r=>e[n](t,r)}function Ug(e){return I(e.addListener)&&I(e.removeListener)}function qg(e){return I(e.on)&&I(e.off)}function Wg(e){return I(e.addEventListener)&&I(e.removeEventListener)}function ze$2(e=0,t,n=Rl$1){let r=-1;return t!=null&&(Fr$2(t)?n=t:r=t),new S(o=>{let i=kl$1(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete());},i)})}function Gg(e=0,t=Pe$1){return e<0&&(e=0),ze$2(e,e,t)}function zg(...e){let t=_e$2(e),n=ll$1(e,1/0),r=e;return r.length?r.length===1?N$2(r[0]):Hn$1(n)(Me$3(r,t)):mt$3}function on$2(e,t){return D$2((n,r)=>{let o=0;n.subscribe(E$1(r,i=>e.call(t,i,o++)&&r.next(i)));})}function jl$2(e){return D$2((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l);}s&&n.complete();},c=()=>{i=null,s&&n.complete();};t.subscribe(E$1(n,l=>{r=!0,o=l,i||N$2(e(l)).subscribe(i=E$1(n,a,c));},()=>{s=!0,(!r||!i||i.closed)&&n.complete();}));})}function Qg(e,t=Pe$1){return jl$2(()=>ze$2(e,t))}function Zg(e,t){return I(t)?Ie$3(e,t,1):Ie$3(e,1)}function Vl$1(e,t=Pe$1){return D$2((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l);}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a();}n.subscribe(E$1(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o));},()=>{a(),r.complete();},void 0,()=>{i=o=null;}));})}function Hl$1(e){return D$2((t,n)=>{let r=!1;t.subscribe(E$1(n,o=>{r=!0,n.next(o);},()=>{r||n.next(e),n.complete();}));})}function yt$1(e){return e<=0?()=>mt$3:D$2((t,n)=>{let r=0;t.subscribe(E$1(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete());}));})}function Bl$2(){return D$2((e,t)=>{e.subscribe(E$1(t,pt$3));})}function $l$1(e){return Se$3(()=>e)}function os$1(e,t){return t?n=>rn$3(t.pipe(yt$1(1),Bl$2()),n.pipe(os$1(e))):Ie$3((n,r)=>N$2(e(n,r)).pipe(yt$1(1),$l$1(n)))}function Yg(e,t=Pe$1){let n=ze$2(e,t);return os$1(()=>n)}function Kg(e,t=K$2){return e=e??Jg,D$2((n,r)=>{let o,i=!0;n.subscribe(E$1(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s));}));})}function Jg(e,t){return e===t}function Ul$1(e=Xg){return D$2((t,n)=>{let r=!1;t.subscribe(E$1(n,o=>{r=!0,n.next(o);},()=>r?n.complete():n.error(e())));})}function Xg(){return new Vn$2}function ql$1(e){return D$2((t,n)=>{try{t.subscribe(n);}finally{n.add(e);}})}function em(e,t){let n=arguments.length>=2;return r=>r.pipe(e?on$2((o,i)=>e(o,i,r)):K$2,yt$1(1),n?Hl$1(t):Ul$1(()=>new Vn$2))}function tm(e){return e<=0?()=>mt$3:D$2((t,n)=>{let r=[];t.subscribe(E$1(n,o=>{r.push(o),e<r.length&&r.shift();},()=>{for(let o of r)n.next(o);n.complete();},void 0,()=>{r=null;}));})}function nm(){return D$2((e,t)=>{let n,r=!1;e.subscribe(E$1(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0;}));})}function rm(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=false}=t;return n<=0?K$2:D$2((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(E$1(s,d=>{o&&(a=0),s.next(d);},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0;};if(r!=null){let f=typeof r=="number"?ze$2(r):N$2(r(d,a)),h=E$1(s,()=>{h.unsubscribe(),p();},()=>{s.complete();});f.subscribe(h);}else p();}else s.error(d);})),u&&(c.unsubscribe(),c=null,l());};l();})}function ss$1(e={}){let{connector:t=()=>new re$1,resetOnError:n=true,resetOnComplete:r=true,resetOnRefCountZero:o=true}=e;return i=>{let s,a,c,l=0,u=false,d=false,p=()=>{a?.unsubscribe(),a=void 0;},f=()=>{p(),s=c=void 0,u=d=false;},h=()=>{let m=s;f(),m?.unsubscribe();};return D$2((m,T)=>{l++,!d&&!u&&p();let M=c=c??t();T.add(()=>{l--,l===0&&!d&&!u&&(a=is$2(h,o));}),M.subscribe(T),!s&&l>0&&(s=new Oe({next:ye=>M.next(ye),error:ye=>{d=!0,p(),a=is$2(f,n,ye),M.error(ye);},complete:()=>{u=!0,p(),a=is$2(f,r),M.complete();}}),N$2(m).subscribe(s));})(i)}}function is$2(e,t,...n){if(t===true){e();return}if(t===false)return;let r=new Oe({next:()=>{r.unsubscribe(),e();}});return N$2(t(...n)).subscribe(r)}function Wl$1(e,t,n){let r,o=false;return r=e,ss$1({connector:()=>new Ln$2(r,t,n),resetOnError:true,resetOnComplete:false,resetOnRefCountZero:o})}function om(e){return on$2((t,n)=>e<=n)}function Gl$1(...e){let t=_e$2(e);return D$2((n,r)=>{(t?rn$3(e,n,t):rn$3(e,n)).subscribe(r);})}function im(e){return D$2((t,n)=>{N$2(e).subscribe(E$1(n,()=>n.complete(),pt$3)),!n.closed&&t.subscribe(n);})}function sm(e,t=false){return D$2((n,r)=>{let o=0;n.subscribe(E$1(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete();}));})}function zl$1(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?D$2((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(E$1(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c);},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete();},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c);},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r);}));}):K$2}var J$2=null,co$1=false,vt$2=1,B$2=Symbol("SIGNAL");function v(e){let t=J$2;return J$2=e,t}function lo$1(){return J$2}var Qe$2={version:0,lastCleanEpoch:0,dirty:false,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:false,consumerAllowSignalWrites:false,consumerIsAlwaysLive:false,kind:"unknown",producerMustRecompute:()=>false,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ze$2(e){if(co$1)throw new Error("");if(J$2===null)return;J$2.consumerOnSignalRead(e);let t=J$2.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=J$2.recomputing;if(r&&(n=t!==void 0?t.nextProducer:J$2.producers,n!==void 0&&n.producer===e)){J$2.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=vt$2;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===J$2&&(!r||o.knownValidAtEpoch===vt$2))return;let i=an$3(J$2),s={producer:e,consumer:J$2,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:vt$2,lastReadVersion:e.version,nextConsumer:void 0};J$2.producersTail=s,t!==void 0?t.nextProducer=s:J$2.producers=s,i&&Kl$1(e,s);}function Ql$1(){vt$2++;}function Dt$2(e){if(!(an$3(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===vt$2)){if(!e.producerMustRecompute(e)&&!Bn$1(e)){sn$3(e);return}e.producerRecomputeValue(e),sn$3(e);}}function as$1(e){if(e.consumers===void 0)return;let t=co$1;co$1=true;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||cm(r);}}finally{co$1=t;}}function cs$1(){return J$2?.consumerAllowSignalWrites!==false}function cm(e){e.dirty=true,as$1(e),e.consumerMarkedDirty?.(e);}function sn$3(e){e.dirty=false,e.lastCleanEpoch=vt$2;}function Ye$2(e){return e&&Zl$1(e),v(e)}function Zl$1(e){if(e.producersTail?.knownValidAtEpoch===vt$2){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer;}e.producersTail=void 0,e.recomputing=true;}function wt$2(e,t){v(t),e&&Yl$1(e);}function Yl$1(e){e.recomputing=false;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(an$3(e))do n=ls$1(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0;}}function Bn$1(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Dt$2(n),r!==n.version))return true}return false}function Tt$2(e){if(an$3(e)){let t=e.producers;for(;t!==void 0;)t=ls$1(t);}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0;}function Kl$1(e,t){let n=e.consumersTail,r=an$3(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Kl$1(o.producer,o);}function ls$1(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!an$3(t)){let i=t.producers;for(;i!==void 0;)i=ls$1(i);}return n}function an$3(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Un$1(e,t){return Object.is(e,t)}function qn$1(e,t){let n=Object.create(lm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Dt$2(n),Ze$2(n),n.value===Ne$3)throw n.error;return n.value};return r[B$2]=n,r}var It$2=Symbol("UNSET"),Et$1=Symbol("COMPUTING"),Ne$3=Symbol("ERRORED"),lm=s(r({},Qe$2),{value:It$2,dirty:true,error:null,equal:Un$1,kind:"computed",producerMustRecompute(e){return e.value===It$2||e.value===Et$1},producerRecomputeValue(e){if(e.value===Et$1)throw new Error("");let t=e.value;e.value=Et$1;let n=Ye$2(e),r,o=false;try{r=e.computation(),v(null),o=t!==It$2&&t!==Ne$3&&r!==Ne$3&&e.equal(t,r);}catch(i){r=Ne$3,e.error=i;}finally{wt$2(e,n);}if(o){e.value=t;return}e.value=r,e.version++;}});function um(){throw new Error}var Jl$1=um;function Xl$1(e){Jl$1(e);}function us(e){Jl$1=e;}function ds$2(e,t){let n=Object.create(fo$1);n.value=e,t!==void 0&&(n.equal=t);let r=()=>eu$1(n);return r[B$2]=n,[r,s=>Ke$2(n,s),s=>uo$1(n,s)]}function eu$1(e){return Ze$2(e),e.value}function Ke$2(e,t){cs$1()||Xl$1(e),e.equal(e.value,t)||(e.value=t,fm(e));}function uo$1(e,t){cs$1()||Xl$1(e),Ke$2(e,t(e.value));}var fo$1=s(r({},Qe$2),{equal:Un$1,value:void 0,kind:"signal"});function fm(e){e.version++,Ql$1(),as$1(e);}var fs$2=s(r({},Qe$2),{consumerIsAlwaysLive:true,consumerAllowSignalWrites:true,dirty:true,kind:"effect"});function ps$2(e){if(e.dirty=false,e.version>0&&!Bn$1(e))return;e.version++;let t=Ye$2(e);try{e.cleanup(),e.fn();}finally{wt$2(e,t);}}var hs$2;function po$1(){return hs$2}function xe$1(e){let t=hs$2;return hs$2=e,t}var tu$1=Symbol("NotFound");function cn$3(e){return e===tu$1||e?.name==="\u0275NotFound"}function gs$2(e,t,n){let r=Object.create(pm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Dt$2(r),Ze$2(r),r.value===Ne$3)throw r.error;return r.value};return i[B$2]=r,i}function nu$1(e,t){Dt$2(e),Ke$2(e,t),sn$3(e);}function ru$1(e,t){if(Dt$2(e),e.value===Ne$3)throw e.error;uo$1(e,t),sn$3(e);}var pm=s(r({},Qe$2),{value:It$2,dirty:true,error:null,equal:Un$1,kind:"linkedSignal",producerMustRecompute(e){return e.value===It$2||e.value===Et$1},producerRecomputeValue(e){if(e.value===Et$1)throw new Error("");let t=e.value;e.value=Et$1;let n=Ye$2(e),r,o=false;try{let i=e.source(),s=t!==It$2&&t!==Ne$3,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,v(null),o=s&&r!==Ne$3&&e.equal(t,r);}catch(i){r=Ne$3,e.error=i;}finally{wt$2(e,n);}if(o){e.value=t;return}e.value=r,e.version++;}});function ou$1(e){let t=v(null);try{return e()}finally{v(t);}}var Eo$2="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_$1=class _ extends Error{code;constructor(t,n){super(Yn$1(t,n)),this.code=t;}};function hm(e){return `NG0${Math.abs(e)}`}function Yn$1(e,t){return `${hm(e)}${t?": "+t:""}`}function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function lu$1(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);}function Kn$2(e){if(typeof e=="string")return e;if(Array.isArray(e))return `[${e.map(Kn$2).join(", ")}]`;if(e==null)return ""+e;let t=e.overriddenName||e.name;if(t)return `${t}`;let n=e.toString();if(n==null)return ""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function Do$2(e,t){return e?t?`${e} ${t}`:e:t||""}var gm=k({__forward_ref__:k});function wo$2(e){return e.__forward_ref__=wo$2,e}function $$1(e){return Ss$2(e)?e():e}function Ss$2(e){return typeof e=="function"&&e.hasOwnProperty(gm)&&e.__forward_ref__===wo$2}function ie$1(e){return {token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function uu$1(e){return {providers:e.providers||[],imports:e.imports||[]}}function Jn$2(e){return ym(e,To$2)}function mm(e){return Jn$2(e)!==null}function ym(e,t){return e.hasOwnProperty(t)&&e[t]||null}function vm(e){let t=e?.[To$2]??null;return t||null}function ys$1(e){return e&&e.hasOwnProperty(go$2)?e[go$2]:null}var To$2=k({\u0275prov:k}),go$2=k({\u0275inj:k}),A$2=class A{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=ie$1({token:this,providedIn:n.providedIn||"root",factory:n.factory}));}get multi(){return this}toString(){return `InjectionToken ${this._desc}`}};function Ns$2(e){return e&&!!e.\u0275providers}var xs$2=k({\u0275cmp:k}),As$2=k({\u0275dir:k}),Rs$2=k({\u0275pipe:k}),ks$2=k({\u0275mod:k}),Gn$1=k({\u0275fac:k}),St$2=k({__NG_ELEMENT_ID__:k}),iu$1=k({__NG_ENV_ID__:k});function du$1(e){return bo$2(e),e[ks$2]||null}function et$1(e){return bo$2(e),e[xs$2]||null}function Co$2(e){return bo$2(e),e[As$2]||null}function fu$1(e){return bo$2(e),e[Rs$2]||null}function bo$2(e,t){if(e==null)throw new _$1(-919,false)}function Nt$2(e){return typeof e=="string"?e:e==null?"":String(e)}var pu$1=k({ngErrorCode:k}),Im=k({ngErrorMessage:k});k({ngTokenPath:k});function Os$2(e,t){return hu$1("",-200)}function _o$2(e,t){throw new _$1(-201,false)}function hu$1(e,t,n){let r=new _$1(t,e);return r[pu$1]=t,r[Im]=e,r}function Dm(e){return e[pu$1]}var vs$2;function gu$1(){return vs$2}function X$2(e){let t=vs$2;return vs$2=e,t}function Ps$2(e,t,n){let r=Jn$2(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;_o$2();}var dn$3=globalThis;var wm={},Ct$2=wm,Tm="__NG_DI_FLAG__",Is$2=class Is{injector;constructor(t){this.injector=t;}retrieve(t,n){let r=bt$2(n)||0;try{return this.injector.get(t,r&8?null:Ct$2,r)}catch(o){if(cn$3(o))return o;throw o}}};function Cm(e,t=0){let n=po$1();if(n===void 0)throw new _$1(-203,false);if(n===null)return Ps$2(e,void 0,t);{let r=bm(t),o=n.retrieve(e,r);if(cn$3(o)){if(r.optional)return null;throw o}return o}}function Ae$2(e,t=0){return (gu$1()||Cm)($$1(e),t)}function C$1(e,t){return Ae$2(e,bt$2(t))}function bt$2(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bm(e){return {optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Es$2(e){let t=[];for(let n=0;n<e.length;n++){let r=$$1(e[n]);if(Array.isArray(r)){if(r.length===0)throw new _$1(900,false);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=_m(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a;}t.push(Ae$2(o,i));}else t.push(Ae$2(r));}return t}function _m(e){return e[Tm]}function Je$2(e,t){let n=e.hasOwnProperty(Gn$1);return n?e[Gn$1]:null}function mu$1(e,t,n){if(e.length!==t.length)return false;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return false}return true}function yu$1(e){return e.flat(Number.POSITIVE_INFINITY)}function Mo$2(e,t){e.forEach(n=>Array.isArray(n)?Mo$2(n,t):t(n));}function Ls$2(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n);}function Xn$1(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vu$1(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Iu$1(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 er$2(e,t,n){let r=fn$3(e,t);return r>=0?e[r|1]=n:(r=~r,Iu$1(e,r,t,n)),r}function So$2(e,t){let n=fn$3(e,t);if(n>=0)return e[n|1]}function fn$3(e,t){return Mm(e,t,1)}function Mm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1;}return ~(o<<n)}var tt$1={},Q=[],tr$2=new A$2(""),nr$1=new A$2("",-1),Fs$2=new A$2(""),un$3=class un{get(t,n=Ct$2){if(n===Ct$2){let o=hu$1("",-201);throw o.name="\u0275NotFound",o}return n}};function Eu$1(e){return {\u0275providers:e}}function Du$1(...e){return {\u0275providers:js$2(true,e),\u0275fromNgModule:true}}function js$2(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s);};return Mo$2(t,s=>{let a=s;mo$1(a,i,[],r)&&(o||=[],o.push(a));}),o!==void 0&&wu$1(o,i),n}function wu$1(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Vs$2(o,i=>{t(i,r);});}}function mo$1(e,t,n,r){if(e=$$1(e),!e)return false;let o=null,i=ys$1(e),s=!i&&et$1(e);if(!i&&!s){let c=e.ngModule;if(i=ys$1(c),i)o=c;else return false}else {if(s&&!s.standalone)return false;o=e;}let a=r.has(o);if(s){if(a)return false;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)mo$1(l,t,n,r);}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Mo$2(i.imports,u=>{mo$1(u,t,n,r)&&(l||=[],l.push(u));}),l!==void 0&&wu$1(l,t);}if(!a){let l=Je$2(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:Fs$2,useValue:o,multi:true},o),t({provide:tr$2,useValue:()=>Ae$2(o),multi:true},o);}let c=i.providers;if(c!=null&&!a){let l=e;Vs$2(c,u=>{t(u,l);});}}else return false;return o!==e&&e.providers!==void 0}function Vs$2(e,t){for(let n of e)Ns$2(n)&&(n=n.\u0275providers),Array.isArray(n)?Vs$2(n,t):t(n);}var Sm=k({provide:String,useValue:k});function Tu$1(e){return e!==null&&typeof e=="object"&&Sm in e}function Nm(e){return !!(e&&e.useExisting)}function xm(e){return !!(e&&e.useFactory)}function _t$2(e){return typeof e=="function"}function Cu$1(e){return !!e.useClass}var Hs$2=new A$2(""),ho$1={},su$1={},ms$2;function pn$3(){return ms$2===void 0&&(ms$2=new un$3),ms$2}var le$2=class le{},Mt$2=class Mt extends le$2{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=false;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,ws$2(t,s=>this.processProvider(s)),this.records.set(nr$1,ln$3(void 0,this)),o.has("environment")&&this.records.set(le$2,ln$3(void 0,this));let i=this.records.get(Hs$2);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fs$2,Q,{self:true}));}retrieve(t,n){let r=bt$2(n)||0;try{return this.get(t,Ct$2,r)}catch(o){if(cn$3(o))return o;throw o}}destroy(){Wn$1(this),this._destroyed=true;let t=v(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(),v(t);}}onDestroy(t){return Wn$1(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Wn$1(this);let n=xe$1(this),r=X$2(void 0);try{return t()}finally{xe$1(n),X$2(r);}}get(t,n=Ct$2,r){if(Wn$1(this),t.hasOwnProperty(iu$1))return t[iu$1](this);let o=bt$2(r),s=xe$1(this),a=X$2(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Pm(t)&&Jn$2(t);u&&this.injectableDefInScope(u)?l=ln$3(Ds$2(t),ho$1):l=null,this.records.set(t,l);}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?pn$3():this.parent;return n=o&8&&n===Ct$2?null:n,c.get(t,n)}catch(c){let l=Dm(c);throw l===-200||l===-201?new _$1(l,null):c}finally{X$2(a),xe$1(s);}}resolveInjectorInitializers(){let t=v(null),n=xe$1(this),r=X$2(void 0);try{let i=this.get(tr$2,Q,{self:!0});for(let s of i)s();}finally{xe$1(n),X$2(r),v(t);}}toString(){return "R3Injector[...]"}processProvider(t){t=$$1(t);let n=_t$2(t)?t:$$1(t&&t.provide),r=Rm(t);if(!_t$2(t)&&t.multi===true){let o=this.records.get(n);o||(o=ln$3(void 0,ho$1,true),o.factory=()=>Es$2(o.multi),this.records.set(n,o)),n=t,o.multi.push(t);}this.records.set(n,r);}hydrate(t,n,r){let o=v(null);try{if(n.value===su$1)throw Os$2("");return n.value===ho$1&&(n.value=su$1,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Om(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{v(o);}}injectableDefInScope(t){if(!t.providedIn)return false;let n=$$1(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 Ds$2(e){let t=Jn$2(e),n=t!==null?t.factory:Je$2(e);if(n!==null)return n;if(e instanceof A$2)throw new _$1(-204,false);if(e instanceof Function)return Am(e);throw new _$1(-204,false)}function Am(e){if(e.length>0)throw new _$1(-204,false);let n=vm(e);return n!==null?()=>n.factory(e):()=>new e}function Rm(e){if(Tu$1(e))return ln$3(void 0,e.useValue);{let t=Bs$2(e);return ln$3(t,ho$1)}}function Bs$2(e,t,n){let r;if(_t$2(e)){let o=$$1(e);return Je$2(o)||Ds$2(o)}else if(Tu$1(e))r=()=>$$1(e.useValue);else if(xm(e))r=()=>e.useFactory(...Es$2(e.deps||[]));else if(Nm(e))r=(o,i)=>Ae$2($$1(e.useExisting),i!==void 0&&i&8?8:void 0);else {let o=$$1(e&&(e.useClass||e.provide));if(km(e))r=()=>new o(...Es$2(e.deps));else return Je$2(o)||Ds$2(o)}return r}function Wn$1(e){if(e.destroyed)throw new _$1(-205,false)}function ln$3(e,t,n=false){return {factory:e,value:t,multi:n?[]:void 0}}function km(e){return !!e.deps}function Om(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Pm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ws$2(e,t){for(let n of e)Array.isArray(n)?ws$2(n,t):n&&Ns$2(n)?ws$2(n.\u0275providers,t):t(n);}function No$2(e,t){let n;e instanceof Mt$2?(Wn$1(e),n=e):n=new Is$2(e);let o=xe$1(n),i=X$2(void 0);try{return t()}finally{xe$1(o),X$2(i);}}function bu$1(){return gu$1()!==void 0||po$1()!=null}var De$1=0,y$2=1,w$2=2,U$3=3,ue$1=4,Z=5,xt$2=6,hn$3=7,F$1=8,q$3=9,we$1=10,R=11,gn$3=12,$s$2=13,nt$1=14,Y$2=15,rt=16,At$1=17,Re$3=18,de$3=19,Us$2=20,Fe$1=21,xo$2=22,Xe$2=23,se$2=24,Rt$2=25,fe$2=26,L$2=27,_u=1,qs$2=6,ot=7,rr$2=8,kt$1=9,j$2=10;function Be$3(e){return Array.isArray(e)&&typeof e[_u]=="object"}function pe$1(e){return Array.isArray(e)&&e[_u]===true}function Ws$2(e){return (e.flags&4)!==0}function $e$2(e){return e.componentOffset>-1}function mn$3(e){return (e.flags&1)===1}function Te$3(e){return !!e.template}function yn$3(e){return (e[w$2]&512)!==0}function Ot$1(e){return (e[w$2]&256)===256}var Gs$2="svg",Mu$1="math";function he$2(e){for(;Array.isArray(e);)e=e[De$1];return e}function zs$2(e,t){return he$2(t[e])}function ee(e,t){return he$2(t[e.index])}function Ao$2(e,t){return e.data[t]}function or$2(e,t){return e[t]}function ir$2(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r;}function ge$2(e,t){let n=t[e];return Be$3(n)?n:n[De$1]}function Su$1(e){return (e[w$2]&4)===4}function Ro$2(e){return (e[w$2]&128)===128}function Nu$1(e){return pe$1(e[U$3])}function ae$2(e,t){return t==null?null:e[t]}function Qs$1(e){e[At$1]=0;}function Zs$2(e){e[w$2]&1024||(e[w$2]|=1024,Ro$2(e)&&Pt$2(e));}function xu$1(e,t){for(;e>0;)t=t[nt$1],e--;return t}function sr$2(e){return !!(e[w$2]&9216||e[se$2]?.dirty)}function ko$2(e){e[we$1].changeDetectionScheduler?.notify(8),e[w$2]&64&&(e[w$2]|=1024),sr$2(e)&&Pt$2(e);}function Pt$2(e){e[we$1].changeDetectionScheduler?.notify(0);let t=je$2(e);for(;t!==null&&!(t[w$2]&8192||(t[w$2]|=8192,!Ro$2(t)));)t=je$2(t);}function Oo$2(e,t){if(Ot$1(e))throw new _$1(911,false);e[Fe$1]===null&&(e[Fe$1]=[]),e[Fe$1].push(t);}function Au$1(e,t){if(e[Fe$1]===null)return;let n=e[Fe$1].indexOf(t);n!==-1&&e[Fe$1].splice(n,1);}function je$2(e){let t=e[U$3];return pe$1(t)?t[U$3]:t}function Ys$2(e){return e[hn$3]??=[]}function Ks$2(e){return e.cleanup??=[]}function Ru$1(e,t,n,r){let o=Ys$2(t);o.push(n),e.firstCreatePass&&Ks$2(e).push(r,o.length-1);}var b={lFrame:Wu(null),bindingsEnabled:true,skipHydrationRootTNode:null};var Ts$2=false;function ku$1(){return b.lFrame.elementDepthCount}function Ou$2(){b.lFrame.elementDepthCount++;}function Js$1(){b.lFrame.elementDepthCount--;}function Po$2(){return b.bindingsEnabled}function Xs$1(){return b.skipHydrationRootTNode!==null}function ea$1(e){return b.skipHydrationRootTNode===e}function ta$2(){b.skipHydrationRootTNode=null;}function g$2(){return b.lFrame.lView}function O$2(){return b.lFrame.tView}function Pu$1(e){return b.lFrame.contextLView=e,e[F$1]}function Lu$1(e){return b.lFrame.contextLView=null,e}function V$2(){let e=na$2();for(;e!==null&&e.type===64;)e=e.parent;return e}function na$2(){return b.lFrame.currentTNode}function Fu$1(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lt$1(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t;}function ra$2(){return b.lFrame.isParent}function oa$2(){b.lFrame.isParent=false;}function ia$2(){return b.lFrame.contextLView}function sa$2(){return Ts$2}function zn$2(e){let t=Ts$2;return Ts$2=e,t}function vn$2(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ju(){return b.lFrame.bindingIndex}function Vu(e){return b.lFrame.bindingIndex=e}function it$1(){return b.lFrame.bindingIndex++}function Lo$2(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Hu(){return b.lFrame.inI18n}function Bu(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Fo$2(t);}function $u(){return b.lFrame.currentDirectiveIndex}function Fo$2(e){b.lFrame.currentDirectiveIndex=e;}function Uu$1(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function jo$2(){return b.lFrame.currentQueryIndex}function ar$2(e){b.lFrame.currentQueryIndex=e;}function Lm(e){let t=e[y$2];return t.type===2?t.declTNode:t.type===1?e[Z]:null}function aa$2(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Lm(i),o===null||(i=i[nt$1],o.type&10))break;if(o===null)return false;t=o,e=i;}let r=b.lFrame=qu();return r.currentTNode=t,r.lView=e,true}function Vo$2(e){let t=qu(),n=e[y$2];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=false;}function qu(){let e=b.lFrame,t=e===null?null:e.child;return t===null?Wu(e):t}function Wu(e){let t={currentTNode:null,isParent:true,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:false};return e!==null&&(e.child=t),t}function Gu(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ca$2=Gu;function Ho$2(){let e=Gu();e.isParent=true,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 zu(e){return (b.lFrame.contextLView=xu$1(e,b.lFrame.contextLView))[F$1]}function Ce$1(){return b.lFrame.selectedIndex}function st$1(e){b.lFrame.selectedIndex=e;}function In$2(){let e=b.lFrame;return Ao$2(e.tView,e.selectedIndex)}function Qu(){b.lFrame.currentNamespace=Gs$2;}function la$2(){return b.lFrame.currentNamespace}var Zu=true;function Bo$2(){return Zu}function cr$2(e){Zu=e;}function $o$2(){let e,t;return {promise:new Promise((r,o)=>{e=r,t=o;}),resolve:e,reject:t}}function Cs$2(e,t=null,n=null,r){let o=ua$2(e,t,n);return o.resolveInjectorInitializers(),o}function ua$2(e,t=null,n=null,r,o=new Set){let i=[n||Q,Du$1(e)];return new Mt$2(i,t||pn$3(),null,o)}var Ee$2=class e{static THROW_IF_NOT_FOUND=Ct$2;static NULL=new un$3;static create(t,n){if(Array.isArray(t))return Cs$2({name:""},n,t);{let r=t.name??"";return Cs$2({name:r},t.parent,t.providers)}}static \u0275prov=ie$1({token:e,providedIn:"any",factory:()=>Ae$2(nr$1)});static __NG_ELEMENT_ID__=-1},Uo$2=new A$2(""),at$1=(()=>{class e{static __NG_ELEMENT_ID__=Fm;static __NG_ENV_ID__=n=>n}return e})(),yo$2=class yo extends at$1{_lView;constructor(t){super(),this._lView=t;}get destroyed(){return Ot$1(this._lView)}onDestroy(t){let n=this._lView;return Oo$2(n,t),()=>Au$1(n,t)}};function Fm(){return new yo$2(g$2())}var Yu=false,Ku=new A$2(""),Ft$1=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=false;pendingTask=new On$2(false);debugTaskTracker=C$1(Ku,{optional:true});get hasPendingTasks(){return this.destroyed?false:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(n=>{n.next(false),n.complete();}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(true);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(false);}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(false),this.destroyed=true,this.pendingTask.unsubscribe();}static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>new e})}return e})(),bs$2=class bs extends re$1{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=false){super(),this.__isAsync=t,bu$1()&&(this.destroyRef=C$1(at$1,{optional:true})??void 0,this.pendingTasks=C$1(Ft$1,{optional:true})??void 0);}emit(t){let n=v(null);try{super.next(t);}finally{v(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 H$1&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n);}finally{r!==void 0&&this.pendingTasks?.remove(r);}});}}},Le$2=bs$2;function vo$2(...e){}function da$2(e){let t,n;function r(){e=vo$2;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t);}catch(o){}}return t=setTimeout(()=>{e(),r();}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r();})),()=>r()}function Ju(e){return queueMicrotask(()=>e()),()=>{e=vo$2;}}var fa$2="isAngularZone",Qn$1=fa$2+"_ID",jm=0,oe$1=class e{hasPendingMacrotasks=false;hasPendingMicrotasks=false;isStable=true;onUnstable=new Le$2(false);onMicrotaskEmpty=new Le$2(false);onStable=new Le$2(false);onError=new Le$2(false);constructor(t){let{enableLongStackTrace:n=false,shouldCoalesceEventChangeDetection:r=false,shouldCoalesceRunChangeDetection:o=false,scheduleInRootZone:i=Yu}=t;if(typeof Zone>"u")throw new _$1(908,false);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=false,s.scheduleInRootZone=i,Bm(s);}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(fa$2)===true}static assertInAngularZone(){if(!e.isInAngularZone())throw new _$1(909,false)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _$1(909,false)}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,Vm,vo$2,vo$2);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)}},Vm={};function pa$2(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=true;}}}function Hm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=true;function t(){da$2(()=>{e.callbackScheduled=false,_s$2(e),e.isCheckStableRunning=true,pa$2(e),e.isCheckStableRunning=false;});}e.scheduleInRootZone?Zone.root.run(()=>{t();}):e._outer.run(()=>{t();}),_s$2(e);}function Bm(e){let t=()=>{Hm(e);},n=jm++;e._inner=e._inner.fork({name:"angular",properties:{[fa$2]:true,[Qn$1]:n,[Qn$1+n]:true},onInvokeTask:(r,o,i,s,a,c)=>{if($m(c))return r.invokeTask(i,s,a,c);try{return au$1(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),cu$1(e);}},onInvoke:(r,o,i,s,a,c,l)=>{try{return au$1(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Um(c)&&t(),cu$1(e);}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,_s$2(e),pa$2(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask));},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),false)});}function _s$2(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===true?e.hasPendingMicrotasks=true:e.hasPendingMicrotasks=false;}function au$1(e){e._nesting++,e.isStable&&(e.isStable=false,e.onUnstable.emit(null));}function cu$1(e){e._nesting--,pa$2(e);}var Zn$2=class Zn{hasPendingMicrotasks=false;hasPendingMacrotasks=false;isStable=true;onUnstable=new Le$2;onMicrotaskEmpty=new Le$2;onStable=new Le$2;onError=new Le$2;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 $m(e){return Xu(e,"__ignore_ng_zone__")}function Um(e){return Xu(e,"__scheduler_tick__")}function Xu(e,t){return !Array.isArray(e)||e.length!==1?false:e[0]?.data?.[t]===true}var Ve$2=class Ve{_console=console;handleError(t){this._console.error("ERROR",t);}},jt$1=new A$2("",{factory:()=>{let e=C$1(oe$1),t=C$1(le$2),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ve$2),n.handleError(r));});}}}),ed={provide:tr$2,useValue:()=>{C$1(Ve$2,{optional:true});},multi:true};function qo$2(e,t){let [n,r,o]=ds$2(e,t?.equal),i=n;i[B$2];return i.set=r,i.update=o,i.asReadonly=lr$2.bind(i),i}function lr$2(){let e=this[B$2];if(e.readonlyFn===void 0){let t=()=>this();t[B$2]=e,e.readonlyFn=t;}return e.readonlyFn}var td=new A$2("",{factory:()=>qm}),qm="ng";var nd=new A$2(""),Wm=new A$2("",{providedIn:"platform",factory:()=>"unknown"}),Gm=new A$2(""),zm=new A$2("",{factory:()=>C$1(Uo$2).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var ur$2=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r;}static __NG_ELEMENT_ID__=Qm}return e})();function Qm(){return new ur$2(g$2(),V$2())}var He$3=class He{},dr$2=new A$2("",{factory:()=>true});var ha$2=new A$2(""),Wo$2=(()=>{class e{static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>new Ms$2})}return e})(),Ms$2=class Ms{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t);}schedule(t){t.dirty&&this.dirtyEffectCount++;}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--);}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t);}flush(){for(;this.dirtyEffectCount>0;){let t=false;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0);}}flushQueue(t){let n=false;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=true,r.run());return n}},Io$2=class Io{[B$2];constructor(t){this[B$2]=t;}destroy(){this[B$2].destroy();}};function rd(e,t){let n=t?.injector??C$1(Ee$2),r=t?.manualCleanup!==true?n.get(at$1):null,o,i=n.get(ur$2,null,{optional:true}),s=n.get(He$3);return i!==null?(o=Km(i.view,s,e),r instanceof yo$2&&r._lView===i.view&&(r=null)):o=Jm(e,n.get(Wo$2),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Io$2(o)}var od=s(r({},fs$2),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=zn$2(false);try{ps$2(this);}finally{zn$2(e);}},cleanup(){if(!this.cleanupFns?.length)return;let e=v(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()();}finally{this.cleanupFns=[],v(e);}}}),Zm=s(r({},od),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12);},destroy(){if(Tt$2(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this);}}),Ym=s(r({},od),{consumerMarkedDirty(){this.view[w$2]|=8192,Pt$2(this.view),this.notifier.notify(13);},destroy(){if(Tt$2(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Xe$2]?.delete(this);}});function Km(e,t,n){let r=Object.create(Ym);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=id(r,n),e[Xe$2]??=new Set,e[Xe$2].add(r),r.consumerMarkedDirty(r),r}function Jm(e,t,n){let r=Object.create(Zm);return r.fn=id(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function id(e,t){return ()=>{t(n=>(e.cleanupFns??=[]).push(n));}}function Go$2(e){return typeof e=="function"&&e[B$2]!==void 0}function zo$2(e){return Go$2(e)&&typeof e.set=="function"}var ga$2=(()=>{class e{internalPendingTasks=C$1(Ft$1);scheduler=C$1(He$3);errorHandler=C$1(jt$1);add(){let n=this.internalPendingTasks.add();return ()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n));}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r);}catch(o){this.errorHandler(o),r();}}static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>new e})}return e})();function Cr$2(e){return {toString:e}.toString()}var x=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x||{}),ii$1=class ii{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r;}isFirstChange(){return this.firstChange}};function Kd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r;}var Jd=null,ly=(()=>{Jd=sd$1;let e=()=>sd$1;return e.ngInherit=true,e})();function uy(){return Jd}function sd$1(e){return e.type.prototype.ngOnChanges&&(e.setInput=fy),dy}function dy(){let e=Xd(this),t=e?.current;if(t){let n=e.previous;if(n===tt$1)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t);}}function fy(e,t,n,r,o){let i=this.declaredInputs[r],s=Xd(e)||py(e,{previous:tt$1,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ii$1(l&&l.currentValue,n,c===tt$1),Kd(e,t,o,n);}var _a$2="__ngSimpleChanges__";function Xd(e){return Object.hasOwn(e,_a$2)&&e[_a$2]||null}function py(e,t){return e[_a$2]=t}var ad=[];var P$2=function(e,t=null,n){for(let r=0;r<ad.length;r++){let o=ad[r];o(e,t,n);}};function hy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=uy()(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 ef(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u);}}function Xo$2(e,t,n){tf(e,t,3,n);}function ei$1(e,t,n,r){(e[w$2]&3)===n&&tf(e,t,n,r);}function ma$2(e,t){let n=e[w$2];(n&3)===t&&(n&=16383,n+=1,e[w$2]=n);}function tf(e,t,n,r){let o=r!==void 0?e[At$1]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[At$1]+=65536),(a<i||i==-1)&&(gy(e,n,t,c),e[At$1]=(e[At$1]&4294901760)+c+2),c++;}function cd(e,t){P$2(x.LifecycleHookStart,e,t);let n=v(null);try{t.call(e);}finally{v(n),P$2(x.LifecycleHookEnd,e,t);}}function gy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w$2]>>14<e[At$1]>>16&&(e[w$2]&3)===t&&(e[w$2]+=16384,cd(a,i)):cd(a,i);}var Dn$3=-1,$t$1=class $t{factory;name;injectImpl;resolving=false;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r;}};function my(e){return (e.flags&8)!==0}function yy(e){return (e.flags&16)!==0}function vy(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i);}else {let i=o,s=n[++r];Iy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++;}}return r}function nf(e){return e===3||e===4||e===6}function Iy(e){return e.charCodeAt(0)===64}function wn$3(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else {let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?ld(e,n,o,null,t[++r]):ld(e,n,o,null,null));}}return e}function ld(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++;}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o);}function rf(e){return e!==Dn$3}function si$1(e){return e&32767}function Ey(e){return e>>16}function ai$1(e,t){let n=Ey(e),r=t;for(;n>0;)r=r[nt$1],n--;return r}var Ma$1=true;function ci$1(e){let t=Ma$1;return Ma$1=e,t}var Dy$1=256,of=Dy$1-1,sf=5,wy=0,ke$1={};function Ty(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(St$2)&&(r=n[St$2]),r==null&&(r=n[St$2]=wy++);let o=r&of,i=1<<o;t.data[e+(o>>sf)]|=i;}function li$1(e,t){let n=af(e,t);if(n!==-1)return n;let r=t[y$2];r.firstCreatePass&&(e.injectorIndex=t.length,ya$1(r.data,e),ya$1(t,null),ya$1(r.blueprint,null));let o=fc$1(e,t),i=e.injectorIndex;if(rf(o)){let s=si$1(o),a=ai$1(o,t),c=a[y$2].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l];}return t[i+8]=o,i}function ya$1(e,t){e.push(0,0,0,0,0,0,0,0,t);}function af(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function fc$1(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=ff(o),r===null)return Dn$3;if(n++,o=o[nt$1],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Dn$3}function Sa$2(e,t,n){Ty(e,t,n);}function Cy(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(nf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else {if(i===t)return n[o+1];o=o+2;}}}return null}function cf(e,t,n){if(n&8||e!==void 0)return e;_o$2();}function lf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[q$3],i=X$2(void 0);try{return o?o.get(t,r,n&8):Ps$2(t,r,n&8)}finally{X$2(i);}}return cf(r,t,n)}function uf(e,t,n,r=0,o){if(e!==null){if(t[w$2]&2048&&!(r&2)){let s=Ny(e,t,n,r,ke$1);if(s!==ke$1)return s}let i=df(e,t,n,r,ke$1);if(i!==ke$1)return i}return lf(t,n,r,o)}function df(e,t,n,r,o){let i=_y(n);if(typeof i=="function"){if(!aa$2(t,e,r))return r&1?cf(o,n,r):lf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))_o$2(n);else return s}finally{ca$2();}}else if(typeof i=="number"){let s=null,a=af(e,t),c=Dn$3,l=r&1?t[Y$2][Z]:null;for((a===-1||r&4)&&(c=a===-1?fc$1(e,t):t[a+8],c===Dn$3||!dd(r,false)?a=-1:(s=t[y$2],a=si$1(c),t=ai$1(c,t)));a!==-1;){let u=t[y$2];if(ud(i,a,u.data)){let d=by(a,t,n,s,r,l);if(d!==ke$1)return d}c=t[a+8],c!==Dn$3&&dd(r,t[y$2].data[a+8]===l)&&ud(i,a,t)?(s=u,a=si$1(c),t=ai$1(c,t)):a=-1;}}return o}function by(e,t,n,r,o,i){let s=t[y$2],a=s.data[e+8],c=r==null?$e$2(a)&&Ma$1:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ti$1(a,s,n,c,l);return u!==null?gr$2(t,s,u,a,o):ke$1}function ti$1(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Te$3(f)&&f.type===n)return c}return null}function gr$2(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof $t$1){let a=i;if(a.resolving)throw Os$2();let c=ci$1(a.canSeeViewProviders);a.resolving=true;s[n].type||s[n];let d=a.injectImpl?X$2(a.injectImpl):null;aa$2(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&hy(n,s[n],t);}finally{d!==null&&X$2(d),ci$1(c),a.resolving=false,ca$2();}}return i}function _y(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(St$2)?e[St$2]:void 0;return typeof t=="number"?t>=0?t&of:My:t}function ud(e,t,n){let r=1<<e;return !!(n[t+(e>>sf)]&r)}function dd(e,t){return !(e&2)&&!(e&1&&t)}var ct$1=class ct{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n;}get(t,n,r){return uf(this._tNode,this._lView,t,bt$2(r),n)}};function My(){return new ct$1(V$2(),g$2())}function Sy(e){return Cr$2(()=>{let t=e.prototype.constructor,n=t[Gn$1]||Na$2(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Gn$1]||Na$2(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o);}return i=>new i})}function Na$2(e){return Ss$2(e)?()=>{let t=Na$2($$1(e));return t&&t()}:Je$2(e)}function Ny(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w$2]&2048&&!yn$3(s);){let a=df(i,s,n,r|2,ke$1);if(a!==ke$1)return a;let c=i.parent;if(!c){let l=s[Us$2];if(l){let u=l.get(n,ke$1,r&-5);if(u!==ke$1)return u}c=ff(s),s=s[nt$1];}i=c;}return o}function ff(e){let t=e[y$2],n=t.type;return n===2?t.declTNode:n===1?e[Z]:null}function pf(e){return Cy(V$2(),e)}function br$2(e){return {token:e.token,providedIn:e.autoProvided===false?null:"root",factory:e.factory,value:void 0}}var xy=Function;function Ay(){return An$1(V$2(),g$2())}function An$1(e,t){return new _r$2(ee(e,t))}var _r$2=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n;}static __NG_ELEMENT_ID__=Ay}return e})();function hf(e){return e instanceof _r$2?e.nativeElement:e}function Ry(){return this._results[Symbol.iterator]()}var ui$1=class ui{_emitDistinctChangesOnly;dirty=true;_onDirty=void 0;_results=[];_changesDetected=false;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new re$1}constructor(t=false){this._emitDistinctChangesOnly=t;}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t);}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=false;let r=yu$1(t);(this._changesDetected=!mu$1(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0]);}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this);}onDirty(t){this._onDirty=t;}setDirty(){this.dirty=true,this._onDirty?.();}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe());}[Symbol.iterator]=Ry};function gf(e){return (e.flags&128)===128}var pc$1=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(pc$1||{}),mf=new Map,ky=0;function Oy(){return ky++}function Py(e){mf.set(e[de$3],e);}function xa$2(e){mf.delete(e[de$3]);}var fd="__ngContext__";function Tn$3(e,t){Be$3(t)?(e[fd]=t[de$3],Py(t)):e[fd]=t;}function yf(e){return If(e[gn$3])}function vf(e){return If(e[ue$1])}function If(e){for(;e!==null&&!pe$1(e);)e=e[ue$1];return e}var Aa$2;function Ly(e){Aa$2=e;}function hc$1(){if(Aa$2!==void 0)return Aa$2;if(typeof document<"u")return document;throw new _$1(210,false)}var Ef="r";var Df="di";var wf=false,Tf=new A$2("",{factory:()=>wf});var pd=new WeakMap;function Fy(e,t){if(e==null||typeof e!="object")return;let n=pd.get(e);n||(n=new WeakSet,pd.set(e,n)),n.add(t);}function Si$2(e){return (e.flags&32)===32}var Hy=()=>null;function Cf(e,t,n=false){return Hy()}function bf(e,t){let n=e.contentQueries;if(n!==null){let r=v(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];ar$2(i),a.contentQueries(2,t[s],s);}}}finally{v(r);}}}function Ra$2(e,t,n){ar$2(0);let r=v(null);try{t(e,n);}finally{v(r);}}function gc$1(e,t,n){if(Ws$2(t)){let r=v(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s);}}}finally{v(r);}}}var Ut$1=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ut$1||{});var Qo$2;function By(){if(Qo$2===void 0&&(Qo$2=null,dn$3.trustedTypes))try{Qo$2=dn$3.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch(e){}return Qo$2}function Ni$3(e){return By()?.createHTML(e)||e}var Zo$2;function _f(){if(Zo$2===void 0&&(Zo$2=null,dn$3.trustedTypes))try{Zo$2=dn$3.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch(e){}return Zo$2}function hd(e){return _f()?.createHTML(e)||e}function gd(e){return _f()?.createScriptURL(e)||e}var Ue$1=class Ue{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t;}toString(){return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Eo$2})`}},ka$2=class ka extends Ue$1{getTypeName(){return "HTML"}},Oa$2=class Oa extends Ue$1{getTypeName(){return "Style"}},Pa$2=class Pa extends Ue$1{getTypeName(){return "Script"}},La$2=class La extends Ue$1{getTypeName(){return "URL"}},Fa$2=class Fa extends Ue$1{getTypeName(){return "ResourceURL"}};function zt(e){return e instanceof Ue$1?e.changingThisBreaksApplicationSecurity:e}function xi$3(e,t){let n=Mf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return true;throw new Error(`Required a safe ${t}, got a ${n} (see ${Eo$2})`)}return n===t}function Mf(e){return e instanceof Ue$1&&e.getTypeName()||null}function $y(e){return new ka$2(e)}function Uy$1(e){return new Oa$2(e)}function qy$1(e){return new Pa$2(e)}function Wy$1(e){return new La$2(e)}function Gy(e){return new Fa$2(e)}function zy(e){let t=new Va$2(e);return Qy()?new ja$2(t):t}var ja$2=class ja{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t;}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ni$3(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Va$2=class Va{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ni$3(t),n}};function Qy(){try{return !!new window.DOMParser().parseFromString(Ni$3(""),"text/html")}catch(e){return false}}var Zy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function mc$1(e){return e=String(e),e.match(Zy)?e:"unsafe:"+e}function qe$2(e){let t={};for(let n of e.split(","))t[n]=true;return t}function Mr$1(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=true);return t}var Sf=qe$2("area,br,col,hr,img,wbr"),Nf=qe$2("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xf=qe$2("rp,rt"),Yy=Mr$1(xf,Nf),Ky=Mr$1(Nf,qe$2("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Jy=Mr$1(xf,qe$2("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),md=Mr$1(Sf,Ky,Jy,Yy),Af=qe$2("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xy=qe$2("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ev=qe$2("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),tv=Mr$1(Af,Xy,ev),nv=qe$2("script,style,template"),Ha$2=class Ha{sanitizedSomething=false;buf=[];sanitizeChildren(t){let n=t.firstChild,r=true,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=true,r&&n.firstChild){o.push(n),n=iv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ov(n);if(i){n=i;break}n=o.pop();}}return this.buf.join("")}startElement(t){let n=yd(t).toLowerCase();if(!md.hasOwnProperty(n))return this.sanitizedSomething=true,!nv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!tv.hasOwnProperty(a)){this.sanitizedSomething=true;continue}let c=i.value;Af[a]&&(c=mc$1(c)),this.buf.push(" ",s,'="',vd(c),'"');}return this.buf.push(">"),true}endElement(t){let n=yd(t).toLowerCase();md.hasOwnProperty(n)&&!Sf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"));}chars(t){this.buf.push(vd(t));}};function rv(e,t){return (e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ov(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Rf(t);return t}function iv(e){let t=e.firstChild;if(t&&rv(e,t))throw Rf(t);return t}function yd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Rf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var sv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,av=/([^\#-~ |!])/g;function vd(e){return e.replace(/&/g,"&").replace(sv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return "&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(av,function(t){return "&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Yo$2;function kf(e,t){let n=null;try{Yo$2=Yo$2||zy(e);let r=t?String(t):"";n=Yo$2.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Yo$2.getInertBodyElement(r);}while(r!==i);let a=new Ha$2().sanitizeChildren(Id(n)||n);return Ni$3(a)}finally{if(n){let r=Id(n)||n;for(;r.firstChild;)r.firstChild.remove();}}}function Id(e){return "content"in e&&cv(e)?e.content:null}function cv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var lv=/^>|^->|<!--|-->|--!>|<!-$/g,uv=/(<|>)/g,dv="\u200B$1\u200B";function fv(e){return e.replace(lv,t=>t.replace(uv,dv))}function pv(e,t){return e.createText(t)}function hv(e,t,n){e.setValue(t,n);}function gv(e,t){return e.createComment(fv(t))}function Of(e,t,n){return e.createElement(t,n)}function di$1(e,t,n,r,o){e.insertBefore(t,n,r,o);}function Pf(e,t,n){e.appendChild(t,n);}function Ed(e,t,n,r,o){r!==null?di$1(e,t,n,r,o):Pf(e,t,n);}function Lf(e,t,n,r){e.removeChild(null,t,n,r);}function mv(e,t,n){e.setAttribute(t,"style",n);}function yv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n);}function Ff(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&vy(e,t,r),o!==null&&yv(e,t,o),i!==null&&mv(e,t,i);}var Sr$2=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Sr$2||{});function vv(e){let t=yc$1();return t?hd(t.sanitize(Sr$2.HTML,e)||""):xi$3(e,"HTML")?hd(zt(e)):kf(hc$1(),Nt$2(e))}function jf(e){let t=yc$1();return t?t.sanitize(Sr$2.URL,e)||"":xi$3(e,"URL")?zt(e):mc$1(Nt$2(e))}function Vf(e){let t=yc$1();if(t)return gd(t.sanitize(Sr$2.RESOURCE_URL,e)||"");if(xi$3(e,"ResourceURL"))return gd(zt(e));throw new _$1(904,false)}var Iv={embed:{src:true},frame:{src:true},iframe:{src:true},media:{src:true},base:{href:true},link:{href:true},object:{data:true,codebase:true}};function Ev(e,t){return Iv[e.toLowerCase()]?.[t.toLowerCase()]===true?Vf:jf}function Dv(e,t,n){return Ev(t,n)(e)}function yc$1(){let e=g$2();return e&&e[we$1].sanitizer}function wv(e){return e instanceof Function?e():e}function Tv(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;}}var Hf="ng-template";function Cv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Tv(t[o+1].toLowerCase(),n,0)!==-1)return true}else if(vc$1(e))return false;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return true}return false}function vc$1(e){return e.type===4&&e.value!==Hf}function bv(e,t,n){let r=e.type===4&&!n?Hf:e.value;return t===r}function _v(e,t,n){let r=4,o=e.attrs,i=o!==null?Nv(o):0,s=false;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!be$2(r)&&!be$2(c))return false;if(s&&be$2(c))continue;s=false,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!bv(e,c,n)||c===""&&t.length===1){if(be$2(r))return false;s=true;}}else if(r&8){if(o===null||!Cv(e,o,c,n)){if(be$2(r))return false;s=true;}}else {let l=t[++a],u=Mv(c,o,vc$1(e),n);if(u===-1){if(be$2(r))return false;s=true;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be$2(r))return false;s=true;}}}}return be$2(r)||s}function be$2(e){return (e&1)===0}function Mv(e,t,n,r){if(t===null)return -1;let o=0;if(r||!n){let i=false;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=true;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else {if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2;}return -1}else return xv(t,e)}function Bf(e,t,n=false){for(let r=0;r<t.length;r++)if(_v(e,t[r],n))return true;return false}function Sv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Nv(e){for(let t=0;t<e.length;t++){let n=e[t];if(nf(n))return t}return e.length}function xv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return -1;if(r===t)return n;n++;}return -1}function Av(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return true}}return false}function Dd(e,t){return e?":not("+t.trim()+")":t}function Rv(e){let t=e[0],n=1,r=2,o="",i=false;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]";}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be$2(s)&&(t+=Dd(i,o),o=""),r=s,i=i||!be$2(r);n++;}return o!==""&&(t+=Dd(i,o)),t}function kv(e){return e.map(Rv).join(",")}function Ov(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else {if(!be$2(o))break;o=i;}r++;}return n.length&&t.push(1,...n),t}var te={},fi$2=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(fi$2||{}),Pv;function Ic(e,t){return Pv(e,t)}var $f=new A$2("",{factory:()=>false}),Uf=new A$2("",{factory:()=>Lv}),Lv=4e3,Fv=false,Rn$2=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Ec(e){return e[q$3].get($f,Fv)}function jv(e,t,n){let r=Cn$3.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o);}else Cn$3.set(e,{classList:t,cleanupFns:n});}function Dc$1(e){let t=Cn$3.get(e);if(t){for(let n of t.cleanupFns)n();Cn$3.delete(e);}Ht$1.delete(e);}var Cn$3=new WeakMap,Ht$1=new WeakMap,mr$2=new WeakMap;function qf(e){return e?e[nt$1]??e:null}var fr$2=new WeakSet;function Ba$2(e,t){let n=mr$2.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o.el===t);r>-1&&n.splice(r,1);}n?.length===0&&mr$2.delete(e);}function Vv(e,t,n){let r=mr$2.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=qf(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),fr$2.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}})),c.parentNode?.removeChild(c));}}function wc$1(e,t,n){let r=qf(n),o=mr$2.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):mr$2.set(e,[{el:t,declarationView:r}]);}function wd(e){let t=e[fe$2]??={};return t.enter??=new Map}function qt$1(e){let t=e[fe$2]??={};return t.leave??=new Map}function Wf(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function Hv(e,t){if(!Rn$2)return;let n=Cn$3.get(e);if(n&&n.classList.length>0&&Bv(e,n.classList))for(let r of n.classList)t.removeClass(e,r);Dc$1(e);}function Bv(e,t){for(let n of t)if(e.classList.contains(n))return true;return false}function yr$2(e){return e.composedPath?e.composedPath()[0]:e.target}function Tc$1(e,t){let n=Ht$1.get(t);return n===void 0?true:t===yr$2(e)&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&(n.propertyName==="all"||e.propertyName===n.propertyName))}function Cc$1(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r);}function $a$2(e,t){if(e)for(let n of e)n();for(let n of t)n();}function Ua$2(e,t){let n=qt$1(e).get(t.index);n&&(n.resolvers=void 0);}function Ko$2(e,t,n,r,o){Ba$2(t,n),$a$2(r,o),Ua$2(e,t);}function pi$1(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function Vt$1(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function $v(e){let t=Vt$1(e,"transition-property"),n=Vt$1(e,"transition-duration"),r=Vt$1(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=pi$1(r[i])+pi$1(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s);}return o}function Uv(e){let t=Vt$1(e,"animation-name"),n=Vt$1(e,"animation-delay"),r=Vt$1(e,"animation-duration"),o=Vt$1(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=pi$1(n[s])+pi$1(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=t[s],i.duration=a);}return i}function Gf(e,t){return e!==void 0&&e.duration>t.duration}function zf(e){return (e.animationName!=null||e.propertyName!=null)&&e.duration>0}function qv(e,t){let n=getComputedStyle(e),r=Uv(n),o=$v(n),i=r.duration>o.duration?r:o;Gf(t.get(e),i)||zf(i)&&t.set(e,i);}function Qf(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?qv(e,t):Wv(e,t,r)}function Wv(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let l,u;o.animationName?u=o.animationName:l=o.transitionProperty,a>=r.duration&&(r={animationName:u,propertyName:l,duration:a});}Gf(t.get(e),r)||zf(r)&&t.set(e,r);}var lt$1=new Set,Ai$3=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ai$3||{}),kn$2=new A$2(""),Td=new Set;function ce$1(e){Td.has(e)||(Td.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}));}var bc$1=(()=>{class e{impl=null;execute(){this.impl?.execute();}static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zf=[0,1,2,3],Yf=(()=>{class e{ngZone=C$1(oe$1);scheduler=C$1(He$3);errorHandler=C$1(Ve$2,{optional:true});sequences=new Set;deferredRegistrations=new Set;executing=false;constructor(){C$1(kn$2,{optional:true});}execute(){let n=this.sequences.size>0;n&&P$2(x.AfterRenderHooksStart),this.executing=true;for(let r of Zf)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot));}catch(i){o.erroredOrDestroyed=true,this.errorHandler?.handleError(i);}this.executing=false;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&P$2(x.AfterRenderHooksEnd);}register(n){let{view:r}=n;r!==void 0?((r[Rt$2]??=[]).push(n),Pt$2(r),r[w$2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n);}addSequence(n){this.sequences.add(n),this.scheduler.notify(7);}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=true,n.pipelinedValue=void 0,n.once=true):(this.sequences.delete(n),this.deferredRegistrations.delete(n));}maybeTrace(n,r){return r?r.run(Ai$3.AFTER_NEXT_RENDER,n):n()}static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>new e})}return e})(),hi$1=class hi{impl;hooks;view;once;snapshot;erroredOrDestroyed=false;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy());}afterRun(){this.erroredOrDestroyed=false,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null;}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Rt$2];t&&(this.view[Rt$2]=t.filter(n=>n!==this));}};function Gv(e,t){let n=C$1(Ee$2);return ce$1("NgAfterRender"),Jf(e,n,t,false)}function Kf(e,t){let n=t?.injector??C$1(Ee$2);return ce$1("NgAfterNextRender"),Jf(e,n,t,true)}function zv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Jf(e,t,n,r){let o=t.get(bc$1);o.impl??=t.get(Yf);let i=t.get(kn$2,null,{optional:true}),s=n?.manualCleanup!==true?t.get(at$1):null,a=t.get(ur$2,null,{optional:true}),c=new hi$1(o.impl,zv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Nr$2=new A$2("",{factory:()=>{let e=C$1(le$2),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:false,scheduler:null,injector:e}}});function Xf(e,t,n){let r=e.get(Nr$2);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e);}function Qv(e,t){let n=e.get(Nr$2);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t);}function Zv(e,t){let n=e.get(Nr$2);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0;}}function Yv(e){let t=e.get(Nr$2);t.isScheduled||(Kf(()=>{t.isScheduled=false;for(let n of t.queue)n();t.queue.clear();},{injector:t.injector}),t.isScheduled=true);}function _c$1(e){let t=e.get(Nr$2);t.scheduler=Yv,t.scheduler(e);}function ep(e,t){for(let[n,r]of t)Xf(e,r.animateFns);}function Cd(e,t,n,r){let o=e?.[fe$2]?.enter;t!==null&&o&&o.has(n.index)&&ep(r,o);}function bd(e,t,n,r){try{n.get(nr$1);}catch(s){return r(false)}let o=e?.[fe$2];o?.enter?.has(t.index)&&Qv(n,o.enter.get(t.index).animateFns);let i=Kv(e,t,o);if(i.size===0){let s=false;if(e){let a=[];Ri$2(e,t,a),s=a.length>0;}if(!s)return r(false)}e&<$1.add(e[de$3]),Xf(n,()=>Jv(e,t,o||void 0,i,r),o||void 0);}function Kv(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[y$2].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent;}}return r}function Jv(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l);}n.detachedLeaveAnimationFns=void 0;}if(e&&Ri$2(e,t,i),i.length>0){let s=n||e?.[fe$2];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),eI(e,s.running,o);}else Promise.allSettled(i).then(()=>{e&<$1.delete(e[de$3]),o(true);});}else e&<$1.delete(e[de$3]),o(false);}function Ri$2(e,t,n){if(t.type&12){let o=e[t.index];if(pe$1(o))for(let i=j$2;i<o.length;i++){let s=o[i];s[y$2].type===2&&Xv(s,n);}}let r=t.child;for(;r;)Ri$2(e,r,n),r=r.next;}function Xv(e,t){let n=e[fe$2];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s);}let r=e[y$2].firstChild;for(;r;)Ri$2(e,r,t),r=r.next;}function eI(e,t,n){t.then(()=>{e[fe$2]?.running===t&&(e[fe$2].running=void 0,lt$1.delete(e[de$3])),n(true);});}function En$2(e,t,n,r,o,i,s,a){if(o!=null){let c,l=false;pe$1(o)?c=o:Be$3(o)&&(l=true,o=o[De$1]);let u=he$2(o);e===0&&r!==null?(Cd(a,r,i,n),s==null?Pf(t,r,u):di$1(t,r,u,s||null,true)):e===1&&r!==null?(Cd(a,r,i,n),di$1(t,r,u,s||null,true),Vv(i,u,a)):e===2?(a?.[fe$2]?.leave?.has(i.index)&&wc$1(i,u,a),fr$2.delete(u),bd(a,i,n,d=>{if(fr$2.has(u)){fr$2.delete(u);return}Lf(t,u,l,d);})):e===3&&(fr$2.delete(u),bd(a,i,n,()=>{t.destroyNode(u);})),c!=null&&uI(t,e,n,c,i,r,s);}}function tI(e,t){tp(e,t),t[De$1]=null,t[Z]=null;}function nI(e,t,n,r,o,i){r[De$1]=o,r[Z]=t,Oi$3(e,r,n,1,o,i);}function tp(e,t){t[we$1].changeDetectionScheduler?.notify(9),Oi$3(e,t,t[R],2,null,null);}function rI(e){let t=e[gn$3];if(!t)return va$2(e[y$2],e);for(;t;){let n=null;if(Be$3(t))n=t[gn$3];else {let r=t[j$2];r&&(n=r);}if(!n){for(;t&&!t[ue$1]&&t!==e;)Be$3(t)&&va$2(t[y$2],t),t=t[U$3];t===null&&(t=e),Be$3(t)&&va$2(t[y$2],t),n=t&&t[ue$1];}t=n;}}function Mc$1(e,t){let n=e[kt$1],r=n.indexOf(t);n.splice(r,1);}function ki$3(e,t){if(Ot$1(t))return;let n=t[R];n.destroyNode&&Oi$3(e,t,n,3,null,null),rI(t);}function va$2(e,t){if(Ot$1(t))return;let n=v(null);try{t[w$2]&=-129,t[w$2]|=256,t[se$2]&&Tt$2(t[se$2]),iI(e,t),oI(e,t),t[y$2].type===1&&t[R].destroy();let r=t[rt];if(r!==null&&pe$1(t[U$3])){r!==t[U$3]&&Mc$1(r,t);let o=t[Re$3];o!==null&&o.detachView(e);}xa$2(t);}finally{v(n);}}function oI(e,t){let n=e.cleanup,r=t[hn$3];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2;}else {let a=r[n[s+1]];n[s].call(a);}r!==null&&(t[hn$3]=null);let o=t[Fe$1];if(o!==null){t[Fe$1]=null;for(let s=0;s<o.length;s++){let a=o[s];a();}}let i=t[Xe$2];if(i!==null){t[Xe$2]=null;for(let s of i)s.destroy();}}function iI(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof $t$1)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];P$2(x.LifecycleHookStart,a,c);try{c.call(a);}finally{P$2(x.LifecycleHookEnd,a,c);}}else {P$2(x.LifecycleHookStart,o,i);try{i.call(o);}finally{P$2(x.LifecycleHookEnd,o,i);}}}}}function np(e,t,n){return sI(e,t.parent,n)}function sI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[De$1];if($e$2(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ut$1.None||o===Ut$1.Emulated)return null}return ee(r,n)}function rp(e,t,n){return cI(e,t,n)}function aI(e,t,n){return e.type&40?ee(e,n):null}var cI=aI;function Sc$1(e,t,n,r){let o=np(e,r,t),i=t[R],s=r.parent||t[Z],a=rp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ed(i,o,n[c],a,false);else Ed(i,o,n,a,false);}function pr$2(e,t){if(t!==null){let n=t.type;if(n&3)return ee(t,e);if(n&4)return qa$2(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return pr$2(e,r);{let o=e[t.index];return pe$1(o)?qa$2(-1,o):he$2(o)}}else {if(n&128)return pr$2(e,t.next);if(n&32)return Ic(t,e)()||he$2(e[t.index]);{let r=op(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=je$2(e[Y$2]);return pr$2(o,r)}else return pr$2(e,t.next)}}}return null}function op(e,t){if(t!==null){let r=e[Y$2][Z],o=t.projection;return r.projection[o]}return null}function qa$2(e,t){let n=j$2+e+1;if(n<t.length){let r=t[n],o=r[y$2].firstChild;if(o!==null)return pr$2(r,o)}return t[ot]}function Nc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[q$3];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Tn$3(he$2(c),r),n.flags|=2),!Si$2(n))if(l&8)Nc(e,t,n.child,r,o,i,false),En$2(t,e,a,o,c,n,i,r);else if(l&32){let u=Ic(n,r),d;for(;d=u();)En$2(t,e,a,o,d,n,i,r);En$2(t,e,a,o,c,n,i,r);}else l&16?ip(e,t,r,n,o,i):En$2(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next;}}function Oi$3(e,t,n,r,o,i){Nc(n,r,e.firstChild,t,o,i,false);}function lI(e,t,n){let r=t[R],o=np(e,n,t),i=n.parent||t[Z],s=rp(i,n,t);ip(r,0,t,n,o,s);}function ip(e,t,n,r,o,i){let s=n[Y$2],c=s[Z].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];En$2(t,e,n[q$3],o,u,r,i,n);}else {let l=c,u=s[U$3];gf(r)&&(l.flags|=128),Nc(e,t,l,u,o,i,true);}}function uI(e,t,n,r,o,i,s){let a=r[ot],c=he$2(r);a!==c&&En$2(t,e,n,i,a,o,s);for(let l=j$2;l<r.length;l++){let u=r[l];Oi$3(u[y$2],u,e,t,i,a);}}function dI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else {let i=r.indexOf("-")===-1?void 0:fi$2.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=fi$2.Important),e.setStyle(n,r,o,i));}}function xc$1(e,t,n,r,o,i,s,a,c,l,u){let d=L$2+r,p=d+o,f=fI(d,p),h=typeof l=="function"?l():l;return f[y$2]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:true,firstUpdatePass:true,staticViewQueries:false,staticContentQueries:false,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:false,ssrId:u}}function fI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:te);return n}function pI(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=xc$1(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ac(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[De$1]=o,d[w$2]=r|4|128|8|64|1024,(l!==null||e&&e[w$2]&2048)&&(d[w$2]|=2048),Qs$1(d),d[U$3]=d[nt$1]=e,d[F$1]=n,d[we$1]=s||e&&e[we$1],d[R]=a||e&&e[R],d[q$3]=c||e&&e[q$3]||null,d[Z]=i,d[de$3]=Oy(),d[xt$2]=u,d[Us$2]=l,d[Y$2]=t.type==2?e[Y$2]:d,d}function hI(e,t,n){let r=ee(t,e),o=pI(n),i=e[we$1].rendererFactory,s=Rc$1(e,Ac(e,o,null,sp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function sp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ap(e,t,n,r){if(n===0)return -1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Rc$1(e,t){return e[gn$3]?e[$s$2][ue$1]=t:e[gn$3]=t,e[$s$2]=t,t}function gI(e=1){cp(O$2(),g$2(),Ce$1()+e);}function cp(e,t,n,r){if((t[w$2]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Xo$2(t,i,n);}else {let i=e.preOrderHooks;i!==null&&ei$1(t,i,0,n);}st$1(n);}var Pi$3=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Pi$3||{});function Wt$1(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Pi$3.SignalBased)!==0&&(c=t[i][B$2]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Kd(t,c,i,r);}finally{v(o);}}function lp(e,t,n,r,o){let i=Ce$1(),s=r&2;try{st$1(-1),s&&t.length>L$2&&cp(e,t,L$2,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;P$2(a,o,n),n(r,o);}finally{st$1(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;P$2(a,o,n);}}function Li$3(e,t,n){DI(e,t,n),(n.flags&64)===64&&wI(e,t,n);}function xr$1(e,t,n=ee){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a;}}}function mI(e,t,n,r){let i=r.get(Tf,wf)||n===Ut$1.ShadowDom||n===Ut$1.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return s}function II(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function up(e,t,n,r,o,i){let s=t[y$2];if(Lc(e,s,t,n,r)){$e$2(e)&&EI(t,e.index);return}e.type&3&&(n=II(n)),dp(e,t,n,r,o,i);}function dp(e,t,n,r,o,i){if(e.type&3){let s=ee(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r);}else e.type&12;}function EI(e,t){let n=ge$2(t,e);n[w$2]&16||(n[w$2]|=64);}function DI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;$e$2(n)&&hI(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||li$1(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=gr$2(t,e,s,n);if(Tn$3(c,t),i!==null&&_I(t,s-r,c,a,n,i),Te$3(a)){let l=ge$2(n.index,t);l[F$1]=gr$2(t,e,s,n);}}}function wI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=$u();try{st$1(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Fo$2(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&TI(c,l);}}finally{st$1(-1),Fo$2(s);}}function TI(e,t){e.hostBindings!==null&&e.hostBindings(1,t);}function kc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Bf(t,i.selectors,false)&&(r??=[],Te$3(i)?r.unshift(i):r.push(i));}return r}function CI(e,t,n,r,o,i){let s=ee(e,t);bI(t[R],s,i,e.value,n,r,o);}function bI(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else {let a=s==null?Nt$2(i):s(i,r||"",o);e.setAttribute(t,o,a,n);}}function _I(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Wt$1(r,n,c,l);}}function Oc$1(e,t,n,r,o){let i=L$2+n,s=t[y$2],a=o(s,t,e,r,n);t[i]=a,Lt$1(e,true);let c=e.type===2;return c?(Ff(t[R],a,e),(ku$1()===0||mn$3(e))&&Tn$3(a,t),Ou$2()):Tn$3(a,t),Bo$2()&&(!c||!Si$2(e))&&Sc$1(s,t,a,e),e}function Pc$1(e){let t=e;return ra$2()?oa$2():(t=t.parent,Lt$1(t,false)),t}function MI(e,t){let n=e[q$3];if(!n)return;let r;try{r=n.get(jt$1,null);}catch(o){r=null;}r?.(t);}function Lc(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=false;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Wt$1(d,n[l],u,o),a=true;}if(i)for(let c of i){let l=n[c],u=t.data[c];Wt$1(u,l,r,o),a=true;}return a}function SI(e,t,n,r,o,i){let s=null,a=null,c=null,l=false,u=e.directiveToIndex.get(r.type);if(typeof u=="number"?s=u:[s,a,c]=u,a!==null&&c!==null&&e.hostDirectiveInputs?.hasOwnProperty(o)){let d=e.hostDirectiveInputs[o];for(let p=0;p<d.length;p+=2){let f=d[p];if(f>=a&&f<=c){let h=t.data[f],m=d[p+1];Wt$1(h,n[f],m,i),l=true;}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(Wt$1(r,n[s],o,i),l=true),l}function NI(e,t){let n=ge$2(t,e),r=n[y$2];xI(r,n);let o=n[De$1];o!==null&&n[xt$2]===null&&(n[xt$2]=Cf(o,n[q$3])),P$2(x.ComponentStart);try{Fc(r,n,n[F$1]);}finally{P$2(x.ComponentEnd,n[F$1]);}}function xI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n]);}function Fc(e,t,n){Vo$2(t);try{let r=e.viewQuery;r!==null&&Ra$2(1,r,n);let o=e.template;o!==null&&lp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Re$3]?.finishViewCreation(e),e.staticContentQueries&&bf(e,t),e.staticViewQueries&&Ra$2(2,e.viewQuery,n);let i=e.components;i!==null&&AI(t,i);}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=true,e.firstCreatePass=false),r}finally{t[w$2]&=-5,Ho$2();}}function AI(e,t){for(let n=0;n<t.length;n++)NI(e,t[n]);}function Ar$2(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[w$2]&4096?4096:16,c=Ac(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[rt]=l;let u=e[Re$3];return u!==null&&(c[Re$3]=u.createEmbeddedView(i)),Fc(i,c,n),c}finally{v(o);}}function bn$3(e,t){return !t||t.firstChild===null||gf(e)}function vr$2(e,t,n,r,o=false){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(he$2(i)),pe$1(i)&&fp(i,r);let s=n.type;if(s&8)vr$2(e,t,n.child,r);else if(s&32){let a=Ic(n,t),c;for(;c=a();)r.push(c);}else if(s&16){let a=op(t,n);if(Array.isArray(a))r.push(...a);else {let c=je$2(t[Y$2]);vr$2(c[y$2],c,a,r,true);}}n=o?n.projectionNext:n.next;}return r}function fp(e,t){for(let n=j$2;n<e.length;n++){let r=e[n],o=r[y$2].firstChild;o!==null&&vr$2(r[y$2],r,o,t);}e[ot]!==e[De$1]&&t.push(e[ot]);}function pp(e){if(e[Rt$2]!==null){for(let t of e[Rt$2])t.impl.addSequence(t);e[Rt$2].length=0;}}var hp=[];function RI(e){return e[se$2]??kI(e)}function kI(e){let t=hp.pop()??Object.create(PI);return t.lView=e,t}function OI(e){e.lView[se$2]!==e&&(e.lView=null,hp.push(e));}var PI=s(r({},Qe$2),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{Pt$2(e.lView);},consumerOnSignalRead(){this.lView[se$2]=this;}});function LI(e){let t=e[se$2]??Object.create(FI);return t.lView=e,t}var FI=s(r({},Qe$2),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{let t=je$2(e.lView);for(;t&&!gp(t[y$2]);)t=je$2(t);t&&Zs$2(t);},consumerOnSignalRead(){this.lView[se$2]=this;}});function gp(e){return e.type!==2}function mp(e){if(e[Xe$2]===null)return;let t=true;for(;t;){let n=false;for(let r of e[Xe$2])r.dirty&&(n=true,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w$2]&8192);}}var jI=100;function yp(e,t=0){let r=e[we$1].rendererFactory;r.begin?.();try{VI(e,t);}finally{r.end?.();}}function VI(e,t){let n=sa$2();try{zn$2(!0),Wa$2(e,t);let r=0;for(;sr$2(e);){if(r===jI)throw new _$1(103,!1);r++,Wa$2(e,1);}}finally{zn$2(n);}}function HI(e,t,n,r){if(Ot$1(t))return;let o=t[w$2],i=false,s=false;Vo$2(t);let a=true,c=null,l=null;(gp(e)?(l=RI(t),c=Ye$2(l)):lo$1()===null?(a=false,l=LI(t),c=Ye$2(l)):t[se$2]&&(Tt$2(t[se$2]),t[se$2]=null));try{Qs$1(t),Vu(e.bindingStartIndex),n!==null&&lp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Xo$2(t,f,null);}else {let f=e.preOrderHooks;f!==null&&ei$1(t,f,0,null),ma$2(t,0);}if(s||BI(t),mp(t),vp(t,0),e.contentQueries!==null&&bf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Xo$2(t,f);}else {let f=e.contentHooks;f!==null&&ei$1(t,f,1),ma$2(t,1);}UI(e,t);let d=e.components;d!==null&&Ep(t,d,0);let p=e.viewQuery;if(p!==null&&Ra$2(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Xo$2(t,f);}else {let f=e.viewHooks;f!==null&&ei$1(t,f,2),ma$2(t,2);}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xo$2]){for(let f of t[xo$2])f();t[xo$2]=null;}i||(pp(t),t[w$2]&=-73);}catch(u){throw Pt$2(t),u}finally{l!==null&&(wt$2(l,c),a&&OI(l)),Ho$2();}}function vp(e,t){for(let n=yf(e);n!==null;n=vf(n))for(let r=j$2;r<n.length;r++){let o=n[r];Ip(o,t);}}function BI(e){for(let t=yf(e);t!==null;t=vf(t)){if(!(t[w$2]&2))continue;let n=t[kt$1];for(let r=0;r<n.length;r++){let o=n[r];Zs$2(o);}}}function $I(e,t,n){P$2(x.ComponentStart);let r=ge$2(t,e);try{Ip(r,n);}finally{P$2(x.ComponentEnd,r[F$1]);}}function Ip(e,t){Ro$2(e)&&Wa$2(e,t);}function Wa$2(e,t){let r=e[y$2],o=e[w$2],i=e[se$2],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Bn$1(i)),s||=false,i&&(i.dirty=false),e[w$2]&=-9217,s)HI(r,e,r.template,e[F$1]);else if(o&8192){let a=v(null);try{mp(e),vp(e,1);let c=r.components;c!==null&&Ep(e,c,1),pp(e);}finally{v(a);}}}function Ep(e,t,n){for(let r=0;r<t.length;r++)$I(e,t[r],n);}function UI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)st$1(~o);else {let i=o,s=n[++r],a=n[++r];Bu(s,i);let c=t[i];P$2(x.HostBindingsUpdateStart,c);try{a(2,c);}finally{P$2(x.HostBindingsUpdateEnd,c);}}}}finally{st$1(-1);}}function jc$1(e,t){let n=sa$2()?64:1088;for(e[we$1].changeDetectionScheduler?.notify(t);e;){e[w$2]|=n;let r=je$2(e);if(yn$3(e)&&!r)return e;e=r;}return null}function Dp(e,t,n,r){return [e,true,0,t,null,r,null,n,null,null]}function wp(e,t){let n=j$2+t;if(n<e.length)return e[n]}function Rr$2(e,t,n,r=true){let o=t[y$2];if(qI(o,t,e,n),r){let s=qa$2(n,e),a=t[R],c=a.parentNode(e[ot]);c!==null&&nI(o,e[Z],a,t,c,s);}let i=t[xt$2];i!==null&&i.firstChild!==null&&(i.firstChild=null);}function Tp(e,t){let n=Ir$2(e,t);return n!==void 0&&ki$3(n[y$2],n),n}function Ir$2(e,t){if(e.length<=j$2)return;let n=j$2+t,r=e[n];if(r){let o=r[rt];o!==null&&o!==e&&Mc$1(o,r),t>0&&(e[n-1][ue$1]=r[ue$1]);let i=Xn$1(e,j$2+t);tI(r[y$2],r);let s=i[Re$3];s!==null&&s.detachView(i[y$2]),r[U$3]=null,r[ue$1]=null,r[w$2]&=-129;}return r}function qI(e,t,n,r){let o=j$2+r,i=n.length;r>0&&(n[o-1][ue$1]=t),r<i-j$2?(t[ue$1]=n[o],Ls$2(n,j$2+r,t)):(n.push(t),t[ue$1]=null),t[U$3]=n;let s=t[rt];s!==null&&n!==s&&Cp(s,t);let a=t[Re$3];a!==null&&a.insertView(e),ko$2(t),t[w$2]|=128;}function Cp(e,t){let n=e[kt$1],r=t[U$3];if(Be$3(r))e[w$2]|=2;else {let o=r[U$3][Y$2];t[Y$2]!==o&&(e[w$2]|=2);}n===null?e[kt$1]=[t]:n.push(t);}var ut$2=class ut{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=false;exhaustive;get rootNodes(){let t=this._lView,n=t[y$2];return vr$2(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n;}get context(){return this._lView[F$1]}set context(t){this._lView[F$1]=t;}get destroyed(){return Ot$1(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U$3];if(pe$1(t)){let n=t[rr$2],r=n?n.indexOf(this):-1;r>-1&&(Ir$2(t,r),Xn$1(n,r));}this._attachedToViewContainer=false;}ki$3(this._lView[y$2],this._lView);}onDestroy(t){Oo$2(this._lView,t);}markForCheck(){jc$1(this._cdRefInjectingView||this._lView,4);}detach(){this._lView[w$2]&=-129;}reattach(){ko$2(this._lView),this._lView[w$2]|=128;}detectChanges(){this._lView[w$2]|=1024,yp(this._lView);}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _$1(902,false);this._attachedToViewContainer=true;}detachFromAppRef(){this._appRef=null;let t=yn$3(this._lView),n=this._lView[rt];n!==null&&!t&&Mc$1(n,this._lView),tp(this._lView[y$2],this._lView);}attachToAppRef(t){if(this._attachedToViewContainer)throw new _$1(902,false);this._appRef=t;let n=yn$3(this._lView),r=this._lView[rt];r!==null&&!n&&Cp(r,this._lView),ko$2(this._lView);}};var Er$2=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=WI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o;}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Ar$2(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new ut$2(i)}}return e})();function WI(){return Fi$3(V$2(),g$2())}function Fi$3(e,t){return e.type&4?new Er$2(t,e,An$1(e,t)):null}function Qt$2(e,t,n,r,o){let i=e.data[t];if(i===null)i=GI(e,t,n,r,o),Hu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Fu$1();i.injectorIndex=s===null?-1:s.injectorIndex;}return Lt$1(i,true),i}function GI(e,t,n,r,o){let i=na$2(),s=ra$2(),a=s?i:i&&i.parent,c=e.data[t]=QI(e,a,n,t,r,o);return zI(e,c,i,s),c}function zI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n));}function QI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Xs$1()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:la$2(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex: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 ZI(e){let t=e[qs$2]??[],r=e[U$3][R],o=[];for(let i of t)i.data[Df]!==void 0?o.push(i):YI(i,r);e[qs$2]=o;}function YI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Ef];for(;n<o;){let i=r.nextSibling;Lf(t,r,false),r=i,n++;}}}var KI=()=>null,JI=()=>null;function gi$1(e,t){return KI()}function bp(e,t,n){return JI()}var _p=class{},Dr$2=class Dr{},XI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>eE()}return e})();function eE(){let e=g$2(),t=V$2(),n=ge$2(t.index,e);return (Be$3(n)?n:e)[R]}var Mp=(()=>{class e{static \u0275prov=ie$1({token:e,providedIn:"root",factory:()=>null})}return e})();function Sp(e){return e.debugInfo?.className||e.type.name||null}var ni$1={},mi$1=class mi{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n;}get(t,n,r){let o=this.injector.get(t,ni$1,r);return o!==ni$1||n===ni$1?o:this.parentInjector.get(t,n,r)}};function Vc$1(e){return xp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:false}function Np(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else {let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value);}}function xp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Hc$1(e,t,n){return e[t]=n}function tE(e,t){return e[t]}function me$2(e,t,n){if(n===te)return false;let r=e[t];return Object.is(r,n)?false:(e[t]=n,true)}function Ap(e,t,n,r){let o=me$2(e,t,n);return me$2(e,t+1,r)||o}function Bt$1(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Fy(o,i);let s=$e$2(e)?ge$2(e.index,t):t;jc$1(s,5);let a=t[F$1],c=Md(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Md(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Md(e,t,n,r){let o=v(null);try{return P$2(x.OutputStart,t,n),n(r)!==!1}catch(i){return MI(e,i),false}finally{P$2(x.OutputEnd,t,n),v(o);}}function Bc$1(e,t,n,r,o,i,s,a){let c=mn$3(e),l=false,u=null;if(!r&&c&&(u=rE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=true;}else {let d=ee(e,n),p=r?r(d):d;r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!nE(i)){let h=r?m=>r(he$2(m[e.index])):e.index;Rp(h,t,n,i,a,f,false);}}return l}function nE(e){return e.startsWith("animation")||e.startsWith("transition")}function rE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[hn$3],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2);}return null}function Rp(e,t,n,r,o,i,s){let a=t.firstCreatePass?Ks$2(t):null,c=Ys$2(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1));}function Sd(e,t,n,r,o){let i=null,s=null,a=null,c=false,l=e.directiveToIndex.get(n.type);if(typeof l=="number"?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs?.hasOwnProperty(r)){let u=e.hostDirectiveOutputs[r];for(let d=0;d<u.length;d+=2){let p=u[d];if(p>=s&&p<=a)c=true,yi$2(e,t,p,u[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=true,yi$2(e,t,i,r,r,o)),c}function yi$2(e,t,n,r,o,i){let s=t[n],a=t[y$2],l=a.data[n].outputs[r],d=s[l].subscribe(i);Rp(e.index,a,t,o,i,d,true);}function oE(){iE();}function iE(){let e=g$2(),t=O$2(),n=V$2();if(t.firstCreatePass&&cE(t,n),n.controlDirectiveIndex===-1)return;ce$1("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new vi$2(e,t,n));}function sE(){aE();}function aE(){let e=g$2(),t=O$2(),n=In$2();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new vi$2(e,t,n));}var vi$2=class vi{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096);}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ee(this.tNode,this.lView)}get descriptor(){return `<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Sd(this.tNode,this.lView,r,t,Bt$1(this.tNode,this.lView,n));}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];Sd(this.tNode,this.lView,r,n,Bt$1(this.tNode,this.lView,t));}listenToDom(t,n){Bc$1(this.tNode,this.tView,this.lView,void 0,this.lView[R],t,n,Bt$1(this.tNode,this.lView,n));}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return false;let i=false;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];Wt$1(a,c,t,n),i=true;}if(o)for(let s=0;s<o.length;s+=2){let a=o[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=o[s+1],l=this.tView.data[a],u=this.lView[a];Wt$1(l,u,c,n),i=true;}return i}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";SI(this.tNode,this.tView,this.lView,n,r,t);}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return false;let n=this.tView.data[this.tNode.customControlIndex];return (n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===true}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=true;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!="function"){for(let s in o.inputs)n[o.inputs[s]]=true;let i=Nd(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i=="function")continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=true;}let s=Nd(i.directive);s!==null&&r.push(...s);}}}return n}};function Nd(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function cE(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}lE(e,t);}function lE(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(xd(r,"value")){t.flags|=1024,t.customControlIndex=n;return}if(xd(r,"checked")){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+"Change"];if(!i||!s)return false;for(let a=0;a<i.length;a+=2){let c=i[a];for(let l=0;l<s.length;l+=2){let u=s[l];if(c===u)for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[p,f,h]=d;if(c>=f&&c<=h)return t.flags|=o,t.customControlIndex=p,true}}}return false};if(n("value",1024)||n("checked",2048))return}}function xd(e,t){return uE(e,t)&&dE(e,t+"Change")}function uE(e,t){return t in e.inputs}function dE(e,t){return t in e.outputs}var Ga$2=Symbol("BINDING");var kp=new A$2("");function Ii$3(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Do$2(o,a);else if(i==2){let c=a,l=t[++s];r=Do$2(r,c+": "+l+";");}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o;}function kr$2(e,t=0){let n=g$2();if(n===null)return Ae$2(e,t);let r=V$2();return uf(r,n,$$1(e),t)}function fE(){let e="invalid";throw new Error(e)}function Op(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}gE(e,t,n,a,i,c,l);}i!==null&&r!==null&&pE(n,r,i);}function pE(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new _$1(-301,false);r.push(t[o],i);}}function hE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index);}function gE(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Te$3(f)&&(c=f,hE(e,n,p)),Sa$2(li$1(n,t),e,f.type);}DE(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f);}let l=false,u=false,d=ap(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=wn$3(n.mergedAttrs,f.hostAttrs),yE(e,n,t,d,f),EE(d,f,o),s!==null&&s.has(f)){let[m,T]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,T+n.directiveStart]);}else (i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=true),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=true),d++;}mE(e,n,i);}function mE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Ad(0,t,o,r),Ad(1,t,o,r),kd(t,r,false);else {let i=n.get(o);Rd(0,t,i,r),Rd(1,t,i,r),kd(t,r,true);}}}function Ad(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Pp(t,i);}}function Rd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Pp(t,s);}}function Pp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16);}function kd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||vc$1(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2;}e.initialInputs??=[],e.initialInputs.push(s);}function yE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Je$2(o.type)),s=new $t$1(i,Te$3(o),kr$2,null);e.blueprint[r]=s,n[r]=s,vE(e,t,r,ap(e,n,o.hostVars,te),o);}function vE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;IE(s)!=a&&s.push(a),s.push(n,r,i);}}function IE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function EE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Te$3(t)&&(n[""]=e);}}function DE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t;}function $c$1(e,t,n,r,o,i,s,a){let c=t[y$2],l=c.consts,u=ae$2(l,s),d=Qt$2(c,e,n,r,u);return Op(c,t,d,ae$2(l,a),o),d.mergedAttrs=wn$3(d.mergedAttrs,d.attrs),d.attrs!==null&&Ii$3(d,d.attrs,false),d.mergedAttrs!==null&&Ii$3(d,d.mergedAttrs,true),c.queries!==null&&c.queries.elementStart(c,d),d}function Uc$1(e,t){ef(e,t),Ws$2(t)&&e.queries.elementEnd(t);}function wE(e,t,n,r,o,i){let s=t.consts,a=ae$2(s,o),c=Qt$2(t,e,n,r,a);if(c.mergedAttrs=wn$3(c.mergedAttrs,c.attrs),i!=null){let l=ae$2(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1);}return c.attrs!==null&&Ii$3(c,c.attrs,false),c.mergedAttrs!==null&&Ii$3(c,c.mergedAttrs,true),t.queries!==null&&t.queries.elementStart(t,c),c}var Lp=typeof ShadowRoot<"u",TE=typeof Document<"u";function CE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Pi$3.SignalBased)!==0};return o&&(i.transform=o),i})}function bE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function _E(e,t,n){let r=t instanceof le$2?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new mi$1(n,r):n}function ME(e){let t=e.get(Dr$2,null);if(t===null)throw new _$1(407,false);let n=e.get(Mp,null),r=e.get(He$3,null),o=e.get(kn$2,null,{optional:true});return {rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:false,tracingService:o}}function SE(e,t){let n=Fp(e);return Of(t,n,n==="svg"?Gs$2:n==="math"?Mu$1:null)}function NE(e){if(e?.toLowerCase()==="script")throw new _$1(905,false)}function Fp(e){return (e.selectors[0][0]||"div").toLowerCase()}var _n$3=class _n{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=CE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=bE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=kv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n;}create(t,n,r,o,i,s){P$2(x.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,l=_E(c,o||this.ngModule,t),u=ME(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Sp(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{v(a);}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=xE(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?mI(l,o,a.encapsulation,n):SE(a,l);NE(u?.tagName);let d=n.get(kp,null),p=AE(u,()=>n.get(Uo$2,null)??hc$1());d&&d.addHost(p);let f=s?.some(Od)||i?.some(T=>typeof T!="function"&&T.bindings.some(Od)),h=Ac(null,c,null,512|sp(a),null,null,t,l,n,null,Cf(u,n,true));d&&Lp&&p instanceof ShadowRoot&&Oo$2(h,()=>{d.removeHost(p);}),h[L$2]=u,Vo$2(h);let m=null;try{let T=$c$1(L$2,h,2,"#host",()=>c.directiveRegistry,!0,0);Ff(l,u,T),Tn$3(u,h),Li$3(c,h,T),gc$1(c,T,h),Uc$1(c,T),r!==void 0&&kE(T,this.ngContentSelectors,r),m=ge$2(T.index,h),h[F$1]=m[F$1],Fc(c,h,null);}catch(T){throw m!==null&&xa$2(m),xa$2(h),T}finally{P$2(x.DynamicComponentEnd),Ho$2();}return new Ei$2(this.componentType,h,!!f)}};function xE(e,t,n,r){let o=e?["ng-version","22.0.8"]:Ov(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ga$2].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Ga$2].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p));}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Co$2(d);c.push(p);}return xc$1(0,null,RE(i,s),1,a,c,null,null,null,[o],null)}function AE(e,t){let n=e.getRootNode?.();return TE&&n instanceof Document?n.head:n&&Lp&&n instanceof ShadowRoot?n:t().head}function RE(e,t){return !e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update();}}function Od(e){let t=e[Ga$2].kind;return t==="input"||t==="twoWay"}var Ei$2=class Ei extends _p{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ao$2(n[y$2],L$2),this.location=An$1(this._tNode,n),this.instance=ge$2(this._tNode.index,n)[F$1],this.hostView=this.changeDetectorRef=new ut$2(n,void 0),this.componentType=t;}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;Lc(r,o[y$2],o,t,n);this.previousInputValues.set(t,n);let s=ge$2(r.index,o);jc$1(s,1);}get injector(){return new ct$1(this._tNode,this._rootLView)}destroy(){this.hostView.destroy();}onDestroy(t){this.hostView.onDestroy(t);}};function kE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null);}}var ji$3=(()=>{class e{static __NG_ELEMENT_ID__=OE}return e})();function OE(){let e=V$2();return jp(e,g$2())}var za$2=class e extends ji$3{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r;}get element(){return An$1(this._hostTNode,this._hostLView)}get injector(){return new ct$1(this._hostTNode,this._hostLView)}get parentInjector(){let t=fc$1(this._hostTNode,this._hostLView);if(rf(t)){let n=ai$1(t,this._hostLView),r=si$1(t),o=n[y$2].data[r+8];return new ct$1(o,n)}else return new ct$1(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1);}get(t){let n=Pd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j$2}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=gi$1(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,bn$3(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new _n$3(et$1(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let M=this.parentInjector.get(le$2,null);M&&(i=M);}let p=et$1(u.componentType??{}),f=gi$1(this._lContainer,p?.id??null),h=null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,c,bn$3(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,true)}insertImpl(t,n,r){let o=t._lView;if(Nu$1(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else {let c=o[U$3],l=new e(c,c[Z],c[U$3]);l.detach(l.indexOf(t));}}let i=this._adjustIndex(n),s=this._lContainer;return Rr$2(s,o,i,r),t.attachToViewContainerRef(),Ls$2(Ia$1(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Pd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ir$2(this._lContainer,n);r&&(Xn$1(Ia$1(this._lContainer),n),ki$3(r[y$2],r));}detach(t){let n=this._adjustIndex(t,-1),r=Ir$2(this._lContainer,n);return r&&Xn$1(Ia$1(this._lContainer),n)!=null?new ut$2(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Pd(e){return e[rr$2]}function Ia$1(e){return e[rr$2]||(e[rr$2]=[])}function jp(e,t){let n,r=t[e.index];return pe$1(r)?n=r:(n=Dp(r,t,null,e),t[e.index]=n,Rc$1(t,n)),LE(n,t,e,r),new za$2(n,e,t)}function PE(e,t){let n=e[R],r=n.createComment(""),o=ee(t,e),i=n.parentNode(o);return di$1(n,i,r,n.nextSibling(o),false),r}var LE=VE;function VE(e,t,n,r){if(e[ot])return;let o;n.type&8?o=he$2(r):o=PE(t,n),e[ot]=o;}var Qa$2=class e{queryList;matches=null;constructor(t){this.queryList=t;}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty();}},Za$2=class e{queries;constructor(t=[]){this.queries=t;}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone());}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t);}detachView(t){this.dirtyQueriesWithMatches(t);}finishViewCreation(t){this.dirtyQueriesWithMatches(t);}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Wc$1(t,n).matches!==null&&this.queries[n].setDirty();}},Di$2=class Di{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=qE(t):this.predicate=t;}},Ya$2=class e{queries;constructor(t=[]){this.queries=t;}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n);}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t);}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i]);}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n);}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t);}},Ka$2=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=false;_declarationNodeIndex;_appliesToNextNode=true;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n;}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n);}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=false);}template(t,n){this.elementStart(t,n);}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=true,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,HE(n,i)),this.matchTNodeWithReadOption(t,n,ti$1(n,t,i,false,false));}else r===Er$2?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ti$1(n,t,r,false,false));}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===_r$2||o===ji$3||o===Er$2&&n.type&4)this.addMatch(n.index,-2);else {let i=ti$1(n,t,o,false,false);i!==null&&this.addMatch(n.index,i);}else this.addMatch(n.index,r);}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n);}};function HE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function BE(e,t){return e.type&11?An$1(e,t):e.type&4?Fi$3(e,t):null}function $E(e,t,n,r){return n===-1?BE(t,e):n===-2?UE(e,t,r):gr$2(e,e[y$2],n,t)}function UE(e,t,n){if(n===_r$2)return An$1(t,e);if(n===Er$2)return Fi$3(t,e);if(n===ji$3)return jp(t,e)}function Vp(e,t,n,r){let o=t[Re$3].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else {let u=i[l];a.push($E(t,u,s[c+1],n.metadata.read));}}o.matches=a;}return o.matches}function Ja$2(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Vp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else {let l=i[a+1],u=t[-c];for(let d=j$2;d<u.length;d++){let p=u[d];p[rt]===p[U$3]&&Ja$2(p[y$2],p,l,r);}if(u[kt$1]!==null){let d=u[kt$1];for(let p=0;p<d.length;p++){let f=d[p];Ja$2(f[y$2],f,l,r);}}}}}return r}function qc$1(e,t){return e[Re$3].queries[t].queryList}function Hp(e,t,n){let r=new ui$1((n&4)===4);return Ru$1(e,t,r,r.destroy),(t[Re$3]??=new Za$2).queries.push(new Qa$2(r))-1}function Bp(e,t,n){let r=O$2();return r.firstCreatePass&&(Up(r,new Di$2(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=true)),Hp(r,g$2(),t)}function $p(e,t,n,r){let o=O$2();if(o.firstCreatePass){let i=V$2();Up(o,new Di$2(t,n,r),i.index),WE(o,e),(n&2)===2&&(o.staticContentQueries=true);}return Hp(o,g$2(),n)}function qE(e){return e.split(",").map(t=>t.trim())}function Up(e,t,n){e.queries===null&&(e.queries=new Ya$2),e.queries.track(new Ka$2(t,n));}function WE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t);}function Wc$1(e,t){return e.queries.getByIndex(t)}function qp(e,t){let n=e[y$2],r=Wc$1(n,t);return r.crossesNgTemplate?Ja$2(n,e,t,[]):Vp(n,e,r,t)}function Wp(e,t,n){let r,o=qn$1(()=>{r._dirtyCounter();let i=GE(r,e);if(t&&i===void 0)throw new _$1(-951,false);return i});return r=o[B$2],r._dirtyCounter=qo$2(0),r._flatValue=void 0,o}function Gc$1(e){return Wp(true,false)}function zc$1(e){return Wp(true,true)}function Gp(e,t){let n=e[B$2];n._lView=g$2(),n._queryIndex=t,n._queryList=qc$1(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1));}function GE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w$2]&4)return t?void 0:Q;let o=qc$1(n,r),i=qp(n,r);return o.reset(i,hf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Qc$1(e){return !!e&&typeof e.then=="function"}function zp(e){return !!e&&typeof e.subscribe=="function"}var Mn$2=class Mn{},Qp=class{};var wi$2=class wi extends Mn$2{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=true){super(),this.ngModuleType=t,this._parent=n;let i=du$1(t);this._bootstrapComponents=wv(i.bootstrap),this._r3Injector=ua$2(t,n,[{provide:Mn$2,useValue:this},...r],Kn$2(t),new Set(["environment"])),o&&this.resolveInjectorInitializers();}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType);}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null;}onDestroy(t){this.destroyCbs.push(t);}},Ti$3=class Ti extends Qp{moduleType;constructor(t){super(),this.moduleType=t;}create(t){return new wi$2(this.moduleType,t,[])}};var wr$2=class wr extends Mn$2{injector;instance=null;constructor(t){super();let n=new Mt$2([...t.providers,{provide:Mn$2,useValue:this}],t.parent||pn$3(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers();}destroy(){this.injector.destroy();}onDestroy(t){this.injector.onDestroy(t);}};function Zp(e,t,n=null){return new wr$2({providers:e,parent:t,debugName:n,runEnvironmentInitializers:true}).injector}var zE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n;}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=js$2(false,n.type),o=r.length>0?Zp([r],this._injector,""):null;this.cachedInjectors.set(n,o);}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy();}finally{this.cachedInjectors.clear();}}static \u0275prov=ie$1({token:e,providedIn:"environment",factory:()=>new e(Ae$2(le$2))})}return e})();function QE(e){return Cr$2(()=>{let t=Yp(e),n=s(r({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==pc$1.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(zE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??false,data:e.data||{},encapsulation:e.encapsulation||Ut$1.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ce$1("NgStandalone"),Kp(n);let r$1=e.dependencies;return n.directiveDefs=Ld(r$1,ZE),n.pipeDefs=Ld(r$1,fu$1),n.id=tD(n),n})}function ZE(e){return et$1(e)||Co$2(e)}function YE(e){return Cr$2(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function KE(e,t){if(e==null)return tt$1;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Pi$3.None,c=null),n[i]=[r,a,c],t[i]=s;}return n}function JE(e){if(e==null)return tt$1;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function XE(e){return Cr$2(()=>{let t=Yp(e);return Kp(t),t})}function eD(e){return {type:e.type,name:e.name,factory:null,pure:e.pure!==false,standalone:e.standalone??true,onDestroy:e.type.prototype.ngOnDestroy||null}}function Yp(e){let t={};return {type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||tt$1,exportAs:e.exportAs||null,standalone:e.standalone??true,signals:e.signals===true,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:KE(e.inputs,t),outputs:JE(e.outputs),debugInfo:null}}function Kp(e){e.features?.forEach(t=>t(e));}function Ld(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i);}return r}:null}function tD(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var Jp=new A$2("");var Zc$1=(()=>{class e{resolve;reject;initialized=false;done=false;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r;});appInits=C$1(Jp,{optional:true})??[];injector=C$1(Ee$2);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=No$2(this.injector,o);if(Qc$1(i))n.push(i);else if(zp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c});});n.push(s);}}let r=()=>{this.done=true,this.resolve();};Promise.all(n).then(()=>{r();}).catch(o=>{this.reject(o);}),n.length===0&&r(),this.initialized=true;}static \u0275fac=function(r){return new(r||e)};static \u0275prov=br$2({token:e,factory:e.\u0275fac})}return e})();function nD(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r);},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r);},passThroughInput:e};}}function rD(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=oD,n.hostDirectives=r?e.map(Xa$2):[e]):r?n.hostDirectives.unshift(...e.map(Xa$2)):n.hostDirectives.unshift(e);};return t.ngInherit=true,t}function oD(e){let t=[],n=false,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Xp(s,t,r,e),o.set(s,[a,t.length-1]);}i===0&&Te$3(s)&&(n=true,t.push(s));}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{iD(s.declaredInputs,i.inputs);}),[t,r,o]}function Xp(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)Fd(Xa$2(s),t,n,r);}else Fd(o,t,n,r);}function Fd(e,t,n,r){let o=Co$2(e.directive);if(Xp(o,t,n,r),n.has(o)){let i=n.get(o);jd(i,e.inputs,"input"),jd(i,e.outputs,"output");}else r.includes(o)||(n.set(o,e),t.push(o));}function jd(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i);});}function Xa$2(e){return typeof e=="function"?{directive:$$1(e),inputs:{},outputs:{}}:{directive:$$1(e.directive),inputs:Vd(e.inputs),outputs:Vd(e.outputs)}}function Vd(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function iD(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o;}}function sD(e){return Object.getPrototypeOf(e.prototype).constructor}function eh(e){let t=sD(e.type),n=true,r=[e];for(;t;){let o;if(Te$3(e))o=t.\u0275cmp||t.\u0275dir;else {if(t.\u0275cmp)throw new _$1(903,false);o=t.\u0275dir;}if(o){if(n){r.push(o);let s=e;s.inputs=Ea$2(e.inputs),s.declaredInputs=Ea$2(e.declaredInputs),s.outputs=Ea$2(e.outputs);let a=o.hostBindings;a&&dD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&lD(e,c),l&&uD(e,l),aD(e,o),lu$1(e.outputs,o.outputs),Te$3(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation);}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===eh&&(n=false);}}t=Object.getPrototypeOf(t);}cD(r);}function aD(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n]);}}function cD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=wn$3(o.hostAttrs,n=wn$3(n,o.hostAttrs));}}function Ea$2(e){return e===tt$1?{}:e===Q?[]:e}function lD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o);}:e.viewQuery=t;}function uD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i);}:e.contentQueries=t;}function dD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o);}:e.hostBindings=t;}function th(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=wn$3(e.mergedAttrs,e.attrs);let u=e.tView=xc$1(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e));}a&&(e.flags|=a),Lt$1(e,false);let c=pD(n,t);Bo$2()&&Sc$1(n,t,c,e),Tn$3(c,t);let l=Dp(c,t,c,e);t[r+L$2]=l,Rc$1(t,l);}function fD(e,t,n,r,o,i,s,a,c,l,u){let d=n+L$2,p;return t.firstCreatePass?(p=Qt$2(t,d,4,s||null,a||null),Op(t,e,p,ae$2(t.consts,l),kc),ef(t,p)):p=t.data[d],th(p,e,t,n,r,o,i,c),mn$3(p)&&Li$3(t,e,p),l!=null&&xr$1(e,p,u),p}function Sn$3(e,t,n,r,o,i,s,a,c,l,u){let d=n+L$2,p;if(t.firstCreatePass){if(p=Qt$2(t,d,4,s||null,a||null),l!=null){let f=ae$2(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1);}}else p=t.data[d];return th(p,e,t,n,r,o,i,c),l!=null&&xr$1(e,p,u),p}function nh(e,t,n,r,o,i,s,a){let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return fD(c,l,e,t,n,r,o,u,void 0,s,a),nh}function rh(e,t,n,r,o,i,s,a){let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return Sn$3(c,l,e,t,n,r,o,u,void 0,s,a),rh}var pD=hD;function hD(e,t,n,r){return cr$2(true),t[R].createComment("")}var gD=(()=>{class e{log(n){console.log(n);}warn(n){console.warn(n);}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ie$1({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var oh=new A$2("");var ih=new A$2("");function sh(){us(()=>{let e="";throw new _$1(600,e)});}var mD=10;var Vi$3=(()=>{class e{_runningTick=false;_destroyed=false;_destroyListeners=[];_views=[];internalErrorHandler=C$1(jt$1);afterRenderManager=C$1(bc$1);zonelessEnabled=C$1(dr$2);rootEffectScheduler=C$1(Wo$2);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=false;afterTick=new re$1;get allViews(){return [...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C$1(Ft$1);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Se$3(n=>!n))}constructor(){C$1(kn$2,{optional:true});}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r();}});}).finally(()=>{n.unsubscribe();})}_injector=C$1(le$2);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ee$2.NULL){return this._injector.get(oe$1).run(()=>{if(P$2(x.BootstrapComponentStart),!this._injector.get(Zc$1).done){let M="";throw new _$1(405,M)}let a=et$1(n),c=this._injector.get(Mn$2),l=new _n$3(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=yD(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),m=h.location.nativeElement,T=h.injector.get(oh,null);return T?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),hr$2(this.components,h),T?.unregisterApplication(m);}),this._loadComponent(h),P$2(x.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick();}_tick(){P$2(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ai$3.CHANGE_DETECTION,this.tickImpl):this.tickImpl();}tickImpl=()=>{if(this._runningTick)throw P$2(x.ChangeDetectionEnd),new _$1(101,false);let n=v(null);try{this._runningTick=!0,this.synchronize();}finally{this._runningTick=false,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,v(n),this.afterTick.next(),P$2(x.ChangeDetectionEnd);}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Dr$2,null,{optional:true}));let n=0;for(;this.dirtyFlags!==0&&n++<mD;){P$2(x.ChangeDetectionSyncStart);try{this.synchronizeOnce();}finally{P$2(x.ChangeDetectionSyncEnd);}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=false;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!sr$2(o))continue;let i=r&&!this.zonelessEnabled?0:1;yp(o,i),n=true;}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews();}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>sr$2(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8;}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this);}detachView(n){let r=n;hr$2(this._views,r),r.detachFromAppRef();}_loadComponent(n){this.attachView(n.hostView);try{this.tick();}catch(o){this.internalErrorHandler(o);}this.components.push(n),this._injector.get(ih,[]).forEach(o=>o(n));}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy());}finally{this._destroyed=true,this._views=[],this._destroyListeners=[];}}onDestroy(n){return this._destroyListeners.push(n),()=>hr$2(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _$1(406,false);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy();}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=br$2({token:e,factory:e.\u0275fac})}return e})();function yD(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function hr$2(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1);}function ah(e,t,n,r){let o=g$2(),i=it$1();if(me$2(o,i,t)){O$2();let a=In$2();CI(a,o,e,t,n,r);}return ah}function ri$1(e){if(ce$1("NgAnimateEnter"),!Rn$2)return ri$1;let t=g$2();if(Ec(t))return ri$1;let n=V$2(),r=t[q$3].get(oe$1);return Cc$1(wd(t),n,()=>vD(t,n,e,r)),_c$1(t[q$3]),ep(t[q$3],wd(t)),ri$1}function vD(e,t,n,r){let o=ee(t,e),i=e[R],s=Wf(n),a=[],c=false,l=d=>{if(yr$2(d)!==o)return;let p=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,p,u);});},u=d=>{yr$2(d)===o&&(Tc$1(d,o)&&(c=true),ID(d,o,i));};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l));}),jv(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Qf(o,Ht$1,Rn$2),!Ht$1.has(o))){for(let d of s)i.removeClass(o,d);Dc$1(o);}});});}}function ID(e,t,n){let r=Cn$3.get(t);if(!(yr$2(e)!==t||!r)&&Tc$1(e,t)){e.stopPropagation();for(let o of r.classList)n.removeClass(t,o);Dc$1(t);}}function oi(e){if(ce$1("NgAnimateLeave"),!Rn$2)return oi;let t=g$2();if(Ec(t))return oi;let r=V$2(),o=t[q$3].get(oe$1);return Cc$1(qt$1(t),r,()=>ED(t,r,e,o)),_c$1(t[q$3]),oi}function ED(e,t,n,r){let{promise:o,resolve:i}=$o$2(),s=ee(t,e),a=e[R];lt$1.add(e[de$3]),(qt$1(e).get(t.index).resolvers??=[]).push(i);let c=Wf(n);return c&&c.length>0?DD(s,t,e,c,a,r):i(),{promise:o,resolve:i}}function DD(e,t,n,r,o,i){Hv(e,o);let s=[],a=qt$1(n).get(t.index)?.resolvers,c,l=false,u=d=>{if(!(yr$2(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||Tc$1(d,e))){if(l=true,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),Ht$1.delete(e),Ba$2(t,e),Array.isArray(t.projection))for(let f of r)o.removeClass(e,f);$a$2(a,s),Ua$2(n,t);}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u));}),wc$1(t,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;Qf(e,Ht$1,Rn$2);let d=Ht$1.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"));},d.duration+50),s.push(()=>clearTimeout(c))):(Ba$2(t,e),$a$2(a,s),Ua$2(n,t));});});}function ec$1(e){if(ce$1("NgAnimateLeave"),!Rn$2)return ec$1;let t=g$2(),n=V$2();lt$1.add(t[de$3]);let r=t[q$3].get(oe$1),o=t[q$3].get(Uf);return Cc$1(qt$1(t),n,()=>wD(t,n,e,r,o)),_c$1(t[q$3]),ec$1}function wD(e,t,n,r,o){let{promise:i,resolve:s}=$o$2(),a=ee(t,e),c=[],l=e[R],u=Ec(e);(qt$1(e).get(t.index).resolvers??=[]).push(s);let d=qt$1(e).get(t.index)?.resolvers;if(u)Ko$2(e,t,a,d,c);else {let p=setTimeout(()=>Ko$2(e,t,a,d,c),o),f={target:a,animationComplete:()=>{Ko$2(e,t,a,d,c),clearTimeout(p);}};wc$1(t,a),r.runOutsideAngular(()=>{c.push(l.listen(a,"animationend",()=>{Ko$2(e,t,a,d,c),clearTimeout(p);},{once:true}));}),n.call(e[F$1],f);}return {promise:i,resolve:s}}function TD(){return g$2()[Y$2][F$1]}var tc$1=class tc{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s);}else this.attach(r,i);}move(t,n){this.attach(n,this.detach(t));}};function Da$2(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function CD(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){v(r);let l=t.length-1;for(v(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Da$2(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],m=Da$2(a,f,l,h,n);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let T=n(s,u),M=n(a,f),ye=n(s,d);if(Object.is(ye,M)){let Ui=n(l,h);Object.is(Ui,T)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Ci$2,i??=Bd(e,s,a,n),nc$1(e,o,s,ye))e.updateValue(s,d),s++,a++;else if(i.has(ye))o.set(T,e.detach(s)),a--;else {let Ui=e.create(s,t[s]);e.attach(s,Ui),s++,a++;}}for(;s<=l;)Hd(e,o,n,s,t[s]),s++;}else if(t!=null){v(r);let l=t[Symbol.iterator]();v(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Da$2(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else {o??=new Ci$2,i??=Bd(e,s,a,n);let h=n(s,p);if(nc$1(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else {let m=n(s,d);o.set(m,e.detach(s)),a--;}}}for(;!u.done;)Hd(e,o,n,e.length,u.value),u=l.next();}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l);});}function nc$1(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),true):false}function Hd(e,t,n,r,o){if(nc$1(e,t,r,n(r,o)))e.updateValue(r,o);else {let i=e.create(r,o);e.attach(r,i);}}function Bd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ci$2=class Ci{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return false;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),true}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n);}else this.kvMap.set(t,n);}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n);}}};function bD(e,t,n,r,o,i,s,a){ce$1("NgControlFlow");let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return Sn$3(c,l,e,t,n,r,o,u,256,s,a),Yc$1}function Yc$1(e,t,n,r,o,i,s,a){ce$1("NgControlFlow");let c=g$2(),l=O$2(),u=ae$2(l.consts,i);return Sn$3(c,l,e,t,n,r,o,u,512,s,a),Yc$1}function _D(e,t){ce$1("NgControlFlow");let n=g$2(),r=it$1(),o=n[r]!==te?n[r]:-1,i=o!==-1?bi$3(n,L$2+o):void 0,s=0;if(me$2(n,r,e)){let a=v(null);try{if(i!==void 0&&Tp(i,s),e!==-1){let c=L$2+e,l=bi$3(n,c),u=sc$1(n[y$2],c),d=bp(l,u,n),p=Ar$2(n,u,t,{dehydratedView:d});Rr$2(l,p,s,bn$3(u,d));}}finally{v(a);}}else if(i!==void 0){let a=wp(i,s);a!==void 0&&(a[F$1]=t);}}var rc$1=class rc{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r;}get $count(){return this.lContainer.length-j$2}};function MD(e){return e}function SD(e,t){return t}var oc$1=class oc{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r;}};function ND(e,t,n,r,o,i,s,a,c,l,u,d,p){ce$1("NgControlFlow");let f=g$2(),h=O$2(),m=c!==void 0,T=g$2(),M=a?s.bind(T[Y$2][F$1]):s,ye=new oc$1(m,M);T[L$2+e]=ye,Sn$3(f,h,e+1,t,n,r,o,ae$2(h.consts,i),256),m&&Sn$3(f,h,e+2,c,l,u,d,ae$2(h.consts,p),512);}var ic$1=class ic extends tc$1{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=false;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r;}get length(){return this.lContainer.length-j$2}at(t){return this.getLView(t)[F$1].$implicit}attach(t,n){let r=n[xt$2];this.needsIndexUpdate||=t!==this.length,Rr$2(this.lContainer,n,t,bn$3(this.templateTNode,r)),AD(this.lContainer,t);}detach(t){return this.needsIndexUpdate||=t!==this.length-1,RD(this.lContainer,t),kD(this.lContainer,t)}create(t,n){let r=gi$1(this.lContainer,this.templateTNode.tView.ssrId);return Ar$2(this.hostLView,this.templateTNode,new rc$1(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ki$3(t[y$2],t);}updateValue(t,n){this.getLView(t)[F$1].$implicit=n;}reset(){this.needsIndexUpdate=false;}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[F$1].$index=t;}getLView(t){return OD(this.lContainer,t)}};function xD(e){let t=v(null),n=Ce$1();try{let r=g$2(),o=r[y$2],i=r[n],s=n+1,a=bi$3(r,s);if(i.liveCollection===void 0){let l=sc$1(o,s);i.liveCollection=new ic$1(a,r,l);}else i.liveCollection.reset();let c=i.liveCollection;if(CD(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=it$1(),u=c.length===0;if(me$2(r,l,u)){let d=n+2,p=bi$3(r,d);if(u){let f=sc$1(o,d),h=bp(p,f,r),m=Ar$2(r,f,void 0,{dehydratedView:h});Rr$2(p,m,0,bn$3(f,h));}else o.firstUpdatePass&&ZI(p),Tp(p,0);}}}finally{v(t);}}function bi$3(e,t){return e[t]}function AD(e,t){if(e.length<=j$2)return;let n=j$2+t,r=e[n],o=r?r[fe$2]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[q$3];Zv(i,o),lt$1.delete(r[de$3]),o.detachedLeaveAnimationFns=void 0;}}function RD(e,t){if(e.length<=j$2)return;let n=j$2+t,r=e[n],o=r?r[fe$2]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[]);}function kD(e,t){return Ir$2(e,t)}function OD(e,t){return wp(e,t)}function sc$1(e,t){return Ao$2(e,t)}function ch(e,t,n){let r=g$2(),o=it$1();if(me$2(r,o,t)){O$2();let s=In$2();up(s,r,e,t,r[R],n);}return ch}function ac$1(e,t,n,r,o){Lc(t,e,n,o?"class":"style",r);}function _i$3(e,t,n,r){let o=g$2(),i=o[y$2],s=e+L$2,a=i.firstCreatePass?$c$1(s,o,2,t,kc,Po$2(),n,r):i.data[s];if($e$2(a)){let c=o[we$1].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Sp(l),()=>($d(e,t,o,a,r),_i$3))}}return $d(e,t,o,a,r),_i$3}function $d(e,t,n,r,o){if(Oc$1(r,n,e,t,dh),mn$3(r)){let i=n[y$2];Li$3(i,n,r),gc$1(i,r,n);}o!=null&&xr$1(n,r);}function Kc$1(){let e=O$2(),t=V$2(),n=Pc$1(t);return e.firstCreatePass&&Uc$1(e,n),ea$1(n)&&ta$2(),Js$1(),n.classesWithoutHost!=null&&my(n)&&ac$1(e,n,g$2(),n.classesWithoutHost,true),n.stylesWithoutHost!=null&&yy(n)&&ac$1(e,n,g$2(),n.stylesWithoutHost,false),Kc$1}function lh(e,t,n,r){return _i$3(e,t,n,r),Kc$1(),lh}function Jc$1(e,t,n,r){let o=g$2(),i=o[y$2],s=e+L$2,a=i.firstCreatePass?wE(s,i,2,t,n,r):i.data[s];return Oc$1(a,o,e,t,dh),r!=null&&xr$1(o,a),Jc$1}function Xc$1(){let e=V$2(),t=Pc$1(e);return ea$1(t)&&ta$2(),Js$1(),Xc$1}function uh(e,t,n,r){return Jc$1(e,t,n,r),Xc$1(),uh}var dh=(e,t,n,r,o)=>(cr$2(true),Of(t[R],r,la$2()));function el$1(e,t,n){let r=g$2(),o=r[y$2],i=e+L$2,s=o.firstCreatePass?$c$1(i,r,8,"ng-container",kc,Po$2(),t,n):o.data[i];if(Oc$1(s,r,e,"ng-container",PD),mn$3(s)){let a=r[y$2];Li$3(a,r,s),gc$1(a,s,r);}return n!=null&&xr$1(r,s),el$1}function tl$1(){let e=O$2(),t=V$2(),n=Pc$1(t);return e.firstCreatePass&&Uc$1(e,n),tl$1}function fh(e,t,n){return el$1(e,t,n),tl$1(),fh}var PD=(e,t,n,r,o)=>(cr$2(true),gv(t[R],""));function LD(){return g$2()}function ph(e,t,n){let r=g$2(),o=it$1();if(me$2(r,o,t)){O$2();let s=In$2();dp(s,r,e,t,r[R],n);}return ph}var Ud=Object.create(null);function FD(e,t,n){typeof t!="string"&&(n=t,t=e[cc$1.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ud[t]=e,n&&(Ud[t][cc$1.ExtraData]=n);}var cc$1={LocaleId:0,ExtraData:21};var Or$2="en-US";function hh(e){typeof e=="string"&&(e.toLowerCase().replace(/_/g,"-"));}function gh(e,t,n){let r=g$2(),o=O$2(),i=V$2();return yh(o,r,r[R],i,e,t,n),gh}function mh(e,t,n){let r=g$2(),o=O$2(),i=V$2();return (i.type&3||n)&&Bc$1(i,o,r,n,r[R],e,t,Bt$1(i,r,t)),mh}function yh(e,t,n,r,o,i,s){let a=true,c=null;if((r.type&3||s)&&(c??=Bt$1(r,t,i),Bc$1(r,e,t,s,n,o,i,c)&&(a=false)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Bt$1(r,t,i),yi$2(r,t,p,f,o,c);}if(l&&l.length)for(let d of l)c??=Bt$1(r,t,i),yi$2(r,t,d,o,o,c);}}function VD(e=1){return zu(e)}function HD(e,t){let n=null,r=Sv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Bf(e,i,true):Av(r,i))return o}return n}function BD(e){let t=g$2()[Y$2][Z];if(!t.projection){let n=e?e.length:1,r=t.projection=vu$1(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?HD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i);}i=i.next;}}}function $D(e,t=0,n,r,o,i){let s=g$2(),a=O$2(),c=r?e+1:null;c!==null&&Sn$3(s,a,c,r,o,i,null,n);let l=Qt$2(a,L$2+e,16,null,n||null);l.projection===null&&(l.projection=t),oa$2();let d=!s[xt$2]||Xs$1();s[Y$2][Z].projection[l.projection]===null&&c!==null?UD(s,a,c):d&&!Si$2(l)&&lI(a,s,l);}function UD(e,t,n){let r=L$2+n,o=t.data[r],i=e[r],s=gi$1(i,o.tView.ssrId),a=Ar$2(e,o,void 0,{dehydratedView:s});Rr$2(i,a,0,bn$3(o,s));}function vh(e,t,n,r){return $p(e,t,n,r),vh}function Ih(e,t,n){return Bp(e,t,n),Ih}function qD(e){let t=g$2(),n=O$2(),r=jo$2();ar$2(r+1);let o=Wc$1(n,r);if(e.dirty&&Su$1(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else {let i=qp(t,r);e.reset(i,hf),e.notifyOnChanges();}return true}return false}function WD(){return qc$1(g$2(),jo$2())}function Eh(e,t,n,r,o){return Gp(t,$p(e,n,r,o)),Eh}function Dh(e,t,n,r){return Gp(e,Bp(t,n,r)),Dh}function GD(e=1){ar$2(jo$2()+e);}function zD(e){let t=ia$2();return or$2(t,L$2+e)}function Jo$2(e,t){return e<<17|t<<2}function Gt$1(e){return e>>17&32767}function QD(e){return (e&2)==2}function ZD(e,t){return e&131071|t<<17}function lc$1(e){return e|2}function Nn$1(e){return (e&131068)>>2}function wa$2(e,t){return e&-131069|t<<2}function YD(e){return (e&1)===1}function uc$1(e){return e|1}function KD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Gt$1(s),c=Nn$1(s);e[r]=n;let l=false,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||fn$3(d,u)>0)&&(l=true);}else u=n;if(o)if(c!==0){let p=Gt$1(e[a+1]);e[r+1]=Jo$2(p,a),p!==0&&(e[p+1]=wa$2(e[p+1],r)),e[a+1]=ZD(e[a+1],r);}else e[r+1]=Jo$2(a,0),a!==0&&(e[a+1]=wa$2(e[a+1],r)),a=r;else e[r+1]=Jo$2(c,0),a===0?a=r:e[c+1]=wa$2(e[c+1],r),c=r;l&&(e[r+1]=lc$1(e[r+1])),qd(e,u,r,true),qd(e,u,r,false),JD(t,u,e,r,i),s=Jo$2(a,c),i?t.classBindings=s:t.styleBindings=s;}function JD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&fn$3(i,t)>=0&&(n[r+1]=uc$1(n[r+1]));}function qd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Gt$1(o):Nn$1(o),a=false;for(;s!==0&&(a===false||i);){let c=e[s],l=e[s+1];XD(c,t)&&(a=true,e[s+1]=r?uc$1(l):lc$1(l)),s=r?Gt$1(l):Nn$1(l);}a&&(e[n+1]=r?lc$1(o):uc$1(o));}function XD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?true:Array.isArray(e)&&typeof t=="string"?fn$3(e,t)>=0:false}var W$2={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wh(e){return e.substring(W$2.key,W$2.keyEnd)}function ew(e){return e.substring(W$2.value,W$2.valueEnd)}function tw(e){return bh(e),Th(e,xn$2(e,0,W$2.textEnd))}function Th(e,t){let n=W$2.textEnd;return n===t?-1:(t=W$2.keyEnd=rw(e,W$2.key=t,n),xn$2(e,t,n))}function nw(e){return bh(e),Ch(e,xn$2(e,0,W$2.textEnd))}function Ch(e,t){let n=W$2.textEnd,r=W$2.key=xn$2(e,t,n);return n===r?-1:(r=W$2.keyEnd=ow(e,r,n),r=Wd(e,r,n),r=W$2.value=xn$2(e,r,n),r=W$2.valueEnd=iw(e,r,n),Wd(e,r,n))}function bh(e){W$2.key=0,W$2.keyEnd=0,W$2.value=0,W$2.valueEnd=0,W$2.textEnd=e.length;}function xn$2(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function rw(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ow(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Wd(e,t,n,r){return t=xn$2(e,t,n),t<n&&t++,t}function iw(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Gd(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Gd(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33;}return a}function Gd(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s;}throw new Error}function _h(e,t,n){return Sh(e,t,n,false),_h}function Mh(e,t){return Sh(e,t,null,true),Mh}function sw(e){Nh(Rh,aw,e,false);}function aw(e,t){for(let n=nw(t);n>=0;n=Ch(t,n))Rh(e,wh(t),ew(t));}function cw(e){Nh(gw,lw,e,true);}function lw(e,t){for(let n=tw(t);n>=0;n=Th(t,n))er$2(e,wh(t),true);}function Sh(e,t,n,r){let o=g$2(),i=O$2(),s=Lo$2(2);if(i.firstUpdatePass&&Ah(i,e,s,r),t!==te&&me$2(o,s,t)){let a=i.data[Ce$1()];kh(i,a,o,o[R],e,o[s+1]=yw(t,n),r,s);}}function Nh(e,t,n,r){let o=O$2(),i=Lo$2(2);o.firstUpdatePass&&Ah(o,null,i,r);let s=g$2();if(n!==te&&me$2(s,i,n)){let a=o.data[Ce$1()];if(Oh(a,r)&&!xh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Do$2(c,n||"")),ac$1(o,a,s,n,r);}else mw(o,a,s,s[R],s[i+1],s[i+1]=hw(e,t,n),r,i);}}function xh(e,t){return t>=e.expandoStartIndex}function Ah(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ce$1()],s=xh(e,n);Oh(i,r)&&t===null&&!s&&(t=false),t=uw(o,i,t,r),KD(o,i,t,n,s,r);}}function uw(e,t,n,r){let o=Uu$1(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ta$2(null,e,t,n,r),n=Tr$2(n,t.attrs,r),i=null);else {let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ta$2(o,e,t,n,r),i===null){let c=dw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ta$2(null,e,t,c[1],r),c=Tr$2(c,t.attrs,r),fw(e,t,r,c));}else i=pw(e,t,r);}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function dw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Nn$1(r)!==0)return e[Gt$1(r)]}function fw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Gt$1(o)]=r;}function pw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Tr$2(r,s,n);}return Tr$2(r,t.attrs,n)}function Ta$2(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Tr$2(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Tr$2(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),er$2(e,s,n?true:t[++i]));}return e===void 0?null:e}function hw(e,t,n){if(n==null||n==="")return Q;let r=[],o=zt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],true);else if(o instanceof Set)for(let i of o)e(r,i,true);else if(typeof o=="object")for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Rh(e,t,n){er$2(e,t,zt(n));}function gw(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&er$2(e,r,n);}function mw(e,t,n,r,o,i,s,a){o===te&&(o=Q);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,p!==f&&(h=d,m=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=f),h!==null&&kh(e,t,n,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null;}}function kh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=YD(l)?zd(c,t,n,o,Nn$1(l),s):void 0;if(!Mi$3(u)){Mi$3(i)||QD(l)&&(i=zd(c,null,n,o,a,s));let d=zs$2(Ce$1(),n);dI(r,s,d,o,i);}}function zd(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===te&&(p=d?Q:void 0);let f=d?So$2(p,r):u===r?p:void 0;if(l&&!Mi$3(f)&&(f=So$2(c,r)),Mi$3(f)&&(a=f,s))return a;let h=e[o+1];o=s?Gt$1(h):Nn$1(h);}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=So$2(c,r));}return a}function Mi$3(e){return e!==void 0}function yw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Kn$2(zt(e)))),e}function Oh(e,t){return (e.flags&(t?8:16))!==0}function vw(e,t=""){let n=g$2(),r=O$2(),o=e+L$2,i=r.firstCreatePass?Qt$2(r,o,1,t,null):r.data[o],s=Iw(r,n,i,t);n[o]=s,Bo$2()&&Sc$1(r,n,s,i),Lt$1(i,false);}var Iw=(e,t,n,r)=>(cr$2(true),pv(t[R],r));function Ew(e,t,n,r=""){return me$2(e,it$1(),n)?t+Nt$2(n)+r:te}function Dw(e,t,n,r,o,i=""){let s=ju(),a=Ap(e,s,n,o);return Lo$2(2),a?t+Nt$2(n)+r+Nt$2(o)+i:te}function Ph(e){return nl$1("",e),Ph}function nl$1(e,t,n){let r=g$2(),o=Ew(r,e,t,n);return o!==te&&Fh(r,Ce$1(),o),nl$1}function Lh(e,t,n,r,o){let i=g$2(),s=Dw(i,e,t,n,r,o);return s!==te&&Fh(i,Ce$1(),s),Lh}function Fh(e,t,n){let r=zs$2(t,e);hv(e[R],r,n);}function jh(e,t,n){zo$2(t)&&(t=t());let r=g$2(),o=it$1();if(me$2(r,o,t)){O$2();let s=In$2();up(s,r,e,t,r[R],n);}return jh}function ww(e,t){let n=zo$2(e);return n&&e.set(t),n}function Vh(e,t){let n=g$2(),r=O$2(),o=V$2();return yh(r,n,n[R],o,e,t),Vh}var Hh={};function Bh(e){ce$1("NgLet");let t=O$2(),n=g$2(),r=e+L$2,o=Qt$2(t,r,128,null,null);return Lt$1(o,false),ir$2(t,n,r,Hh),Bh}function Tw(e){let t=O$2(),n=g$2(),r=Ce$1();return ir$2(t,n,r,e),e}function Cw(e){let t=ia$2(),n=or$2(t,L$2+e);if(n===Hh)throw new _$1(314,false);return n}function Qd(e,t,n){let r=O$2();r.firstCreatePass&&$h(t,r.data,r.blueprint,Te$3(e),n);}function $h(e,t,n,r,o){if(e=$$1(e),Array.isArray(e))for(let i=0;i<e.length;i++)$h(e[i],t,n,r,o);else {let i=O$2(),s=g$2(),a=V$2(),c=_t$2(e)?e:$$1(e.provide),l=Bs$2(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(_t$2(e)||!e.multi){let f=new $t$1(l,o,kr$2,null),h=ba$2(c,t,u+p,d);h===-1?(Sa$2(li$1(a,s),i,c),Ca$2(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(f),s.push(f)):(n[h]=f,s[h]=f);}else {let f=ba$2(c,t,u+p,d),h=ba$2(c,t,u,u+p),m=f>=0&&n[f],T=h>=0&&n[h];if(!m){Sa$2(li$1(a,s),i,c);let M=Mw(bw,n.length,o,r,l);T&&(n[h].providerFactory=M),Ca$2(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(M),s.push(M);}else {let M=Uh(n[f],l,r);Ca$2(i,e,f>-1?f:h,M);}r&&T&&n[h].componentProviders++;}}}function Ca$2(e,t,n,r){let o=_t$2(t),i=Cu$1(t);if(o||i){let c=(i?$$1(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c);}else l.push(n,c);}}}function Uh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ba$2(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return -1}function bw(e,t,n,r,o){return dc$1(this.multi,[])}function dc$1(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r());}return t}function Mw(e,t,n,r,o,i){let s=new $t$1(e,n,kr$2,null);return s.multi=[],s.index=t,s.componentProviders=0,Uh(s,o,r&&!n),s}function Sw(e,t){return n=>{n.providersResolver=(r,o)=>Qd(r,o?o(e):e,false);}}function Nw(e,t){let n=vn$2()+e,r=g$2();return r[n]===te?Hc$1(r,n,t()):tE(r,n)}function xw(e,t,n){return Wh(g$2(),vn$2(),e,t,n)}function Aw(e,t,n,r){return Gh(g$2(),vn$2(),e,t,n,r)}function qh(e,t){let n=e[t];return n===te?void 0:n}function Wh(e,t,n,r,o,i){let s=t+n;return me$2(e,s,o)?Hc$1(e,s+1,i?r.call(i,o):r(o)):qh(e,s+1)}function Gh(e,t,n,r,o,i,s){let a=t+n;return Ap(e,a,o,i)?Hc$1(e,a+2,s?r.call(s,o,i):r(o,i)):qh(e,a+2)}function Rw(e,t){let n=O$2(),r,o=e+L$2;n.firstCreatePass?(r=kw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Je$2(r.type)),a=X$2(kr$2);try{let c=ci$1(!1),l=i();return ci$1(c),ir$2(n,g$2(),o,l),l}finally{X$2(a);}}function kw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Ow(e,t,n){let r=e+L$2,o=g$2(),i=or$2(o,r);return zh(o,r)?Wh(o,vn$2(),t,i.transform,n,i):i.transform(n)}function Pw(e,t,n,r){let o=e+L$2,i=g$2(),s=or$2(i,o);return zh(i,o)?Gh(i,vn$2(),t,s.transform,n,r,s):s.transform(n,r)}function zh(e,t){return e[y$2].data[t].pure}function Lw(e,t){return Fi$3(e,t)}var Qh=(()=>{class e{applicationErrorHandler=C$1(jt$1);appRef=C$1(Vi$3);taskService=C$1(Ft$1);ngZone=C$1(oe$1);zonelessEnabled=C$1(dr$2);tracing=C$1(kn$2,{optional:true});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:true}}];subscriptions=new H$1;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qn$1):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C$1(ha$2,{optional:true})??false);cancelScheduledCallback=null;useMicrotaskScheduler=false;runningTick=false;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n);})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup();}));}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=true,queueMicrotask(()=>{this.useMicrotaskScheduler=false,this.taskService.remove(n);});});}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8;}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Ju:da$2;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()));}shouldScheduleTick(){return !(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qn$1+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick();},void 0,this.schedulerTickApplyArgs);}catch(r){this.applicationErrorHandler(r);}finally{this.taskService.remove(n),this.cleanup();}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup();}cleanup(){if(this.runningTick=false,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n);}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=br$2({token:e,factory:e.\u0275fac})}return e})();function Zh(){return [{provide:He$3,useExisting:Qh},{provide:oe$1,useClass:Zn$2},{provide:dr$2,useValue:true}]}var Fw=(()=>{class e{compileModuleSync(n){return new Ti$3(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=br$2({token:e,factory:e.\u0275fac})}return e})();function jw(){return typeof $localize<"u"&&$localize.locale||Or$2}var rl$1=new A$2("",{factory:()=>C$1(rl$1,{optional:true,skipSelf:true})||jw()});var Pr$2=class Pr{destroyed=false;listeners=null;errorHandler=C$1(Ve$2,{optional:true});isEmitting=false;hasNullListeners=false;destroyRef=C$1(at$1);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=true,this.listeners=null;});}subscribe(t){if(this.destroyed)throw new _$1(953,false);return (this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=true,this.listeners[n]=null):this.listeners.splice(n,1));}}}emit(t){if(this.destroyed){console.warn(Yn$1(953,false));return}if(this.listeners===null)return;this.isEmitting=true;let n=v(null);try{for(let r of this.listeners)try{r!==null&&r(t);}catch(o){this.errorHandler?.handleError(o);}}finally{this.hasNullListeners&&(this.hasNullListeners=false,this.listeners&&Vw(this.listeners)),v(n),this.isEmitting=false;}}};function Vw(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--;}function Hw(e,t){return qn$1(e,t?.equal)}function Bw(e){return ou$1(e)}var $w=e=>e;function Uw(e,t){if(typeof e=="function"){let n=gs$2(e,$w,t?.equal);return Yh(n)}else {let n=gs$2(e.source,e.computation,e.equal);return Yh(n,e.debugName)}}function Yh(e,t){let n=e[B$2],r=e;return r.set=o=>nu$1(n,o),r.update=o=>ru$1(n,o),r.asReadonly=lr$2.bind(e),r}var $i$3=Symbol("InputSignalNode#UNSET"),ig=s(r({},fo$1),{transformFn:void 0,applyValueToInputSignal(e,t){Ke$2(e,t);}});function sg(e,t){let n=Object.create(ig);n.value=e,n.transformFn=t?.transform;function r(){if(Ze$2(n),n.value===$i$3){let o=null;throw new _$1(-950,o)}return n.value}return r[B$2]=n,r}var Kh=class{attributeName;constructor(t){this.attributeName=t;}__NG_ELEMENT_ID__=()=>pf(this.attributeName);toString(){return `HostAttributeToken ${this.attributeName}`}};function H0$1(e){return qw(e)?e.default:e}function qw(e){return e&&typeof e=="object"&&"default"in e}function B0$1(e){return new Pr$2}function Jh(e,t){return sg(e,t)}function Ww(e){return sg($i$3,e)}var $0$1=(Jh.required=Ww,Jh);function ag(e,t){let n=Object.create(ig),r=new Pr$2;n.value=e;function o(){return Ze$2(n),Xh(n.value),n.value}return o[B$2]=n,o.asReadonly=lr$2.bind(o),o.set=i=>{n.equal(n.value,i)||(Ke$2(n,i),r.emit(i));},o.update=i=>{Xh(n.value),o.set(i(n.value));},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Xh(e){if(e===$i$3)throw new _$1(952,false)}function eg(e,t){return ag(e)}function Gw(e){return ag($i$3)}var U0$1=(eg.required=Gw,eg);function tg(e,t){return Gc$1()}function zw(e,t){return zc$1()}var q0$1=(tg.required=zw,tg);function ng(e,t){return Gc$1()}function Qw(e,t){return zc$1()}var W0$1=(ng.required=Qw,ng);var ol$1=class ol{supports(t){return Vc$1(t)}create(t){return new il$1(t)}},Yw=(e,t)=>t,il$1=class il{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Yw;}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n);}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<rg(r,o,i)?n:r,a=rg(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else {i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1);}let d=s.previousIndex;i[d]=u-l;}}a!==c&&t(s,a,c);}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n);}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n);}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n);}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n);}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n);}diff(t){if(t==null&&(t=[]),!Vc$1(t))throw new _$1(900,false);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=false,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=true):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next;}else o=0,Np(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=true):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++;}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null;}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new sl$1(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n;}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null);}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Bi$3),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Bi$3),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},sl$1=class sl{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n;}},al$1=class al{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t);}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Bi$3=class Bi{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new al$1,this.map.set(n,r)),r.add(t);}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear();}};function rg(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function og(){return new Kw([new ol$1])}var Kw=(()=>{class e{factories;static \u0275prov=ie$1({token:e,providedIn:"root",factory:og});constructor(n){this.factories=n;}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o);}return new e(n)}static extend(n){return {provide:e,useFactory:()=>{let r=C$1(e,{optional:true,skipSelf:true});return e.create(n,r||og())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new _$1(901,false)}}return e})();var z0$1=(()=>{class e{static __NG_ELEMENT_ID__=Jw}return e})();function Jw(e){return Xw(V$2(),g$2(),(e&16)===16)}function Xw(e,t,n){if($e$2(e)&&!n){let r=ge$2(e.index,t);return new ut$2(r,r)}else if(e.type&175){let r=t[Y$2];return new ut$2(r,t)}return null}var cl$1=new A$2(""),eT=new A$2("");function Lr$2(e){return !e.moduleRef}function tT(e){let t=Lr$2(e)?e.r3Injector:e.moduleRef.injector,n=t.get(oe$1);return n.run(()=>{Lr$2(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(jt$1),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r});}),Lr$2(e)){let i=()=>t.destroy(),s=e.platformInjector.get(cl$1);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i);});}else {let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(cl$1);s.add(i),e.moduleRef.onDestroy(()=>{hr$2(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i);});}return rT(r,n,()=>{let i=t.get(Ft$1),s=i.add(),a=t.get(Zc$1);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(rl$1,Or$2);if(hh(c||Or$2),!t.get(eT,!0))return Lr$2(e)?t.get(Vi$3):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Lr$2(e)){let u=t.get(Vi$3);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return nT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s);})})})}var nT;function rT(e,t,n){try{let r=n();return Qc$1(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Hi$3=null;function oT(e=[],t){return Ee$2.create({name:t,providers:[{provide:Hs$2,useValue:"platform"},{provide:cl$1,useValue:new Set([()=>Hi$3=null])},...e]})}function iT(e=[]){if(Hi$3)return Hi$3;let t=oT(e);return Hi$3=t,sh(),sT(t),t}function sT(e){let t=e.get(nd,null);No$2(e,()=>{t?.forEach(n=>n());});}function Q0$1(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;P$2(x.BootstrapApplicationStart);try{let i=o?.injector??iT(r),s=[Zh(),ed,...n||[]],a=new wr$2({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return tT({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{P$2(x.BootstrapApplicationEnd);}}function Z0$1(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Y0$1(e,t=NaN){return !isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function K0$1(e,t){let n=et$1(e),r=t.elementInjector||pn$3();return new _n$3(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var bi$2=null;function ne(){return bi$2}function Xn(t){bi$2??=t;}var ft$2=class ft{},Be$2=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:()=>C$1(Ai$2),providedIn:"platform"})}return t})();var Ai$2=(()=>{class t extends Be$2{_location;_history;_doc=C$1(Uo$2);constructor(){super(),this._location=window.location,this._history=window.history;}getBaseHrefFromDOM(){return ne().getBaseHref(this._doc)}onPopState(e){let n=ne().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,false),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=ne().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,false),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e;}pushState(e,n,i){this._history.pushState(e,n,i);}replaceState(e,n,i){this._history.replaceState(e,n,i);}forward(){this._history.forward();}back(){this._history.back();}historyGo(e=0){this._history.go(e);}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Ii$2(t,r){return t?r?t.endsWith("/")?r.startsWith("/")?t+r.slice(1):t+r:r.startsWith("/")?t+r:`${t}/${r}`:t:r}function Ti$2(t){let r=t.search(/#|\?|$/);return t[r-1]==="/"?t.slice(0,r-1)+t.slice(r):t}function le$1(t){return t&&t[0]!=="?"?`?${t}`:t}var je$1=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:()=>C$1(Zo$1),providedIn:"root"})}return t})(),Xo$1=new A$2(""),Zo$1=(()=>{class t extends je$1{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??C$1(Uo$2).location?.origin??"";}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()();}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e));}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Ii$2(this._baseHref,e)}path(e=false){let n=this._platformLocation.pathname+le$1(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${n}${i}`:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+le$1(o));this._platformLocation.pushState(e,n,s);}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+le$1(o));this._platformLocation.replaceState(e,n,s);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e);}static \u0275fac=function(n){return new(n||t)(Ae$2(Be$2),Ae$2(Xo$1,8))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $e$1=(()=>{class t{_subject=new re$1;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Qo$1(Ti$2(_i$2(n))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(true),pop:true,state:i.state,type:i.type});});}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[];}path(e=false){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+le$1(n))}normalize(e){return t.stripTrailingSlash(Jo$1(this._basePath,_i$2(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",i=null){this._locationStrategy.pushState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+le$1(n)),i);}replaceState(e,n="",i=null){this._locationStrategy.replaceState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+le$1(n)),i);}forward(){this._locationStrategy.forward();}back(){this._locationStrategy.back();}historyGo(e=0){this._locationStrategy.historyGo?.(e);}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state);}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null);}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(i=>i(e,n));}subscribe(e,n,i){return this._subject.subscribe({next:e,error:n??void 0,complete:i??void 0})}static normalizeQueryParams=le$1;static joinWithSlash=Ii$2;static stripTrailingSlash=Ti$2;static \u0275fac=function(n){return new(n||t)(Ae$2(je$1))};static \u0275prov=ie$1({token:t,factory:()=>Ko$1(),providedIn:"root"})}return t})();function Ko$1(){return new $e$1(Ae$2(je$1))}function Jo$1(t,r){if(!t||!r.startsWith(t))return r;let e=r.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function _i$2(t){return t.replace(/\/index\.html$/,"")}function Qo$1(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var es$1=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=C$1(Ee$2);constructor(e){this._viewContainerRef=e;}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this._getInjector()});}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return !!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,i):false,get:(e,n,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,i)}})}static \u0275fac=function(n){return new(n||t)(kr$2(ji$3))};static \u0275dir=XE({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ly]})}return t})();function ts$1(t,r){return new _$1(2100,false)}var Zn$1=class Zn{createSubscription(r,e,n){return Bw(()=>r.subscribe({next:e,error:n}))}dispose(r){Bw(()=>r.unsubscribe());}},Kn$1=class Kn{createSubscription(r,e,n){return r.then(i=>e?.(i),i=>n?.(i)),{unsubscribe:()=>{e=null,n=null;}}}dispose(r){r.unsubscribe();}},ns$1=new Kn$1,rs$1=new Zn$1,is$1=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=true;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=C$1(jt$1);constructor(e){this._ref=e;}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null;}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e);}finally{this.markForCheckOnValueUpdate=true;}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n),n=>this.applicationErrorHandler(n));}_selectStrategy(e){if(Qc$1(e))return ns$1;if(zp(e))return rs$1;throw ts$1()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null;}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck());}static \u0275fac=function(n){return new(n||t)(kr$2(z0$1,16))};static \u0275pipe=eD({name:"async",type:t,pure:false})}return t})();var Mi$2=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=YE({type:t});static \u0275inj=uu$1({})}return t})();function pt$2(t,r){r=encodeURIComponent(r);for(let e of t.split(";")){let n=e.indexOf("="),[i,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}function Bl$1(t,r,e){return FD(t,r,e)}var Jn$1="browser";function jl$1(t){return t===Jn$1}var gt$1=class gt{_doc;constructor(r){this._doc=r;}manager},Zt$1=(()=>{class t extends gt$1{constructor(e){super(e);}supports(e){return true}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(Ae$2(Uo$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),Qt$1=new A$2(""),nr=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(s=>{s.manager=this;});let i=e.filter(s=>!(s instanceof Zt$1));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Zt$1);o&&this._plugins.push(o);}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new _$1(-5101,false);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(Ae$2(Qt$1),Ae$2(oe$1))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),Qn="ng-app-id";function Oi$2(t){for(let r of t)r.remove();}function Pi$2(t,r){let e=r.createElement("style");return e.textContent=t,e}function ds$1(t,r,e,n){let i=t.head?.querySelectorAll(`style[${Qn}="${r}"],link[${Qn}="${r}"]`);if(!i||i.length===0)return false;for(let o of i)o.removeAttribute(Qn),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});return true}function tr$1(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var rr$1=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,ds$1(e,n,this.inline,this.external)&&this.hosts.add(e.head);}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,Pi$2);n?.forEach(i=>this.addUsage(i,this.external,tr$1));}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external));}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))});}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(Oi$2(i.elements),n.delete(e)));}ngOnDestroy(){for(let[,{elements:e}]of [...this.inline,...this.external])Oi$2(e);this.hosts.clear();}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,Pi$2(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,tr$1(n,this.doc)));}}removeHost(e){this.hosts.delete(e);for(let n of [...this.inline.values(),...this.external.values()]){let i=[];for(let o of n.elements)o.parentNode===e?o.remove():i.push(o);n.elements=i;}}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(Ae$2(Uo$2),Ae$2(td),Ae$2(zm,8),Ae$2(Wm))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),er$1={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"},ir$1=/%COMP%/g;var Ni$2="%COMP%",hs$1=`_nghost-${Ni$2}`,fs$1=`_ngcontent-${Ni$2}`,ps$1=true,gs$1=new A$2("",{factory:()=>ps$1});function ms$1(t){return fs$1.replace(ir$1,t)}function vs$1(t){return hs$1.replace(ir$1,t)}function Li$2(t,r){return r.map(e=>e.replace(ir$1,t))}var or$1=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,n,i,o,s,u,a=null,c=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=u,this.nonce=a,this.tracingService=c,this.defaultRenderer=new mt$2(e,s,u,this.tracingService);}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,n);return i instanceof Jt?i.applyToHost(e):i instanceof vt$1&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,u=this.ngZone,a=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,f=this.tracingService;switch(n.encapsulation){case Ut$1.Emulated:o=new Jt(a,c,n,this.appId,l,s,u,f);break;case Ut$1.ShadowDom:return new Kt$2(a,e,n,s,u,this.nonce,f,c);case Ut$1.ExperimentalIsolatedShadowDom:return new Kt$2(a,e,n,s,u,this.nonce,f);default:o=new vt$1(a,c,n,l,s,u,f);break}i.set(n.id,o);}return o}ngOnDestroy(){this.rendererByCompId.clear();}componentReplaced(e){this.rendererByCompId.delete(e);}static \u0275fac=function(n){return new(n||t)(Ae$2(nr),Ae$2(kp),Ae$2(td),Ae$2(gs$1),Ae$2(Uo$2),Ae$2(oe$1),Ae$2(zm),Ae$2(kn$2,8))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),mt$2=class mt{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=true;constructor(r,e,n,i){this.eventManager=r,this.doc=e,this.ngZone=n,this.tracingService=i;}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(er$1[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Fi$2(r)?r.content:r).appendChild(e);}insertBefore(r,e,n){r&&(Fi$2(r)?r.content:r).insertBefore(e,n);}removeChild(r,e){e.remove();}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new _$1(-5104,false);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=er$1[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n);}else r.setAttribute(e,n);}removeAttribute(r,e,n){if(n){let i=er$1[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`);}else r.removeAttribute(e);}addClass(r,e){r.classList.add(e);}removeClass(r,e){r.classList.remove(e);}setStyle(r,e,n,i){i&(fi$2.DashCase|fi$2.Important)?r.style.setProperty(e,n,i&fi$2.Important?"important":""):r.style[e]=n;}removeStyle(r,e,n){n&fi$2.DashCase?r.style.removeProperty(e):r.style[e]="";}setProperty(r,e,n){r!=null&&(r[e]=n);}setValue(r,e){r.nodeValue=e;}listen(r,e,n,i){if(typeof r=="string"&&(r=ne().getGlobalEventTarget(this.doc,r),!r))throw new _$1(-5102,false);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===false&&e.preventDefault();}}};function Fi$2(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Kt$2=class Kt extends mt$2{hostEl;sharedStylesHost;shadowRoot;constructor(r,e,n,i,o,s,u,a){super(r,i,o,u),this.hostEl=e,this.sharedStylesHost=a,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=n.styles;c=Li$2(n.id,c);for(let f of c){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=f,this.shadowRoot.appendChild(p);}let l=n.getExternalStyles?.();if(l)for(let f of l){let p=tr$1(f,i);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p);}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot);}},vt$1=class vt extends mt$2{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,o,s,u,a){super(r,o,s,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let c=n.styles;this.styles=a?Li$2(a,c):c,this.styleUrls=n.getExternalStyles?.(a);}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls);}destroy(){this.removeStylesOnCompDestroy&<$1.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls);}},Jt=class extends vt$1{contentAttr;hostAttr;constructor(r,e,n,i,o,s,u,a){let c=i+"-"+n.id;super(r,e,n,o,s,u,a,c),this.contentAttr=ms$1(c),this.hostAttr=vs$1(c);}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"");}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var en$2=class t extends ft$2{supportsDOMEvents=true;static makeCurrent(){Xn(new t);}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i);}}dispatchEvent(r,e){r.dispatchEvent(e);}remove(r){r.remove();}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=Ds$1();return e==null?null:ws$1(e)}resetBaseElement(){yt=null;}getUserAgent(){return window.navigator.userAgent}getCookie(r){return pt$2(document.cookie,r)}},yt=null;function Ds$1(){return yt=yt||document.head.querySelector("base"),yt?yt.getAttribute("href"):null}function ws$1(t){return new URL(t,document.baseURI).pathname}var xi$2=["alt","control","meta","shift"],Es$1={"\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"},Cs$1={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Ui$2=(()=>{class t extends gt$1{constructor(e){super(e);}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),u=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ne().onAndCancel(e,s.domEventName,u,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",u=n.indexOf("code");if(u>-1&&(n.splice(u,1),s="code."),xi$2.forEach(c=>{let l=n.indexOf(c);l>-1&&(n.splice(l,1),s+=c+".");}),s+=o,n.length!=0||o.length===0)return null;let a={};return a.domEventName=i,a.fullKey=s,a}static matchEventFullKeyCode(e,n){let i=Es$1[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?false:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),xi$2.forEach(s=>{if(s!==i){let u=Cs$1[s];u(e)&&(o+=s+".");}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o));}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(Ae$2(Uo$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})();function Ss$1(t,r$1,e){return v$1(this,null,function*(){let n=r({rootComponent:t},Rs$1(r$1,e));return Q0$1(n)})}function Rs$1(t,r){return {platformRef:r?.platformRef,appProviders:[...Is$1,...t?.providers??[]],platformProviders:_s$1}}function bs$1(){en$2.makeCurrent();}function As$1(){return new Ve$2}function Ts$1(){return Ly(document),document}var _s$1=[{provide:Wm,useValue:Jn$1},{provide:nd,useValue:bs$1,multi:true},{provide:Uo$2,useFactory:Ts$1}];var Is$1=[{provide:Hs$2,useValue:"root"},{provide:Ve$2,useFactory:As$1},{provide:Qt$1,useClass:Zt$1,multi:true},{provide:Qt$1,useClass:Ui$2,multi:true},or$1,{provide:kp,useClass:rr$1},{provide:rr$1,useExisting:kp},nr,{provide:Dr$2,useExisting:or$1},[]];var ie=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
|
|
5
|
+
`).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(i,o);}});}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,n)=>{this.addHeaderEntry(n,e);})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n);});}:this.headers=new Map;}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r);}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null));}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e));});}clone(r){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case "a":case "s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case "d":let o=r.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else {let s=this.headers.get(e);if(!s)return;s=s.filter(u=>o.indexOf(u)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s);}break}}addHeaderEntry(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e]);}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i);}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)));}};var nn$1=class nn{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}},rn$2=class rn{encodeKey(r){return ki$2(r)}encodeValue(r){return ki$2(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function Ms$1(t,r){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,u]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],a=e.get(s)||[];a.push(u),e.set(s,a);}),e}var Os$1=/%(\d[a-f0-9])/gi,Ps$1={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ki$2(t){return encodeURIComponent(t).replace(Os$1,(r,e)=>Ps$1[e]??r)}function tn$1(t){return `${t}`}var re=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new rn$2,r.fromString){if(r.fromObject)throw new _$1(2805,false);this.map=Ms$1(r.fromString,this.encoder);}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(tn$1):[tn$1(n)];this.map.set(e,i);})):this.map=null;}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(o=>{e.push({param:n,value:o,op:"a"});}):e.push({param:n,value:i,op:"a"});}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case "a":case "s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(tn$1(r.value)),this.map.set(r.param,e);break;case "d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(tn$1(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param);}else {this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null);}};function Fs$1(t){switch(t){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":return false;default:return true}}function Bi$2(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function ji$2(t){return typeof Blob<"u"&&t instanceof Blob}function $i$2(t){return typeof FormData<"u"&&t instanceof FormData}function Ns$1(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var sr$1="Content-Type",zi$2="Accept",Vi$2="text/plain",Gi$2="application/json",Ls$1=`${Gi$2}, ${Vi$2}, */*`,ze$1=class t{url;body=null;headers;context;reportProgress=false;reportUploadProgress=false;reportDownloadProgress=false;withCredentials=false;credentials;keepalive=false;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let o;if(Fs$1(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new _$1(2822,"");this.timeout=o.timeout;}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache;}if(this.headers??=new ie,this.context??=new nn$1,!this.params)this.params=new re,this.urlWithParams=e;else {let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else {let u=e,a="",c=e.indexOf("#");c!==-1&&(a=e.substring(c),u=e.substring(0,c));let l=u.indexOf("?"),f=l===-1?"?":l<u.length-1?"&":"";this.urlWithParams=u+f+s+a;}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Bi$2(this.body)||ji$2(this.body)||$i$2(this.body)||Ns$1(this.body)?this.body:this.body instanceof re?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||$i$2(this.body)?null:ji$2(this.body)?this.body.type||null:Bi$2(this.body)?null:typeof this.body=="string"?Vi$2:this.body instanceof re?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Gi$2:null}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,o=r.keepalive??this.keepalive,s=r.priority||this.priority,u=r.cache||this.cache,a=r.mode||this.mode,c=r.redirect||this.redirect,l=r.credentials||this.credentials,f=r.referrer??this.referrer,p=r.integrity||this.integrity,T=r.referrerPolicy||this.referrerPolicy,O=r.transferCache??this.transferCache,$=r.timeout??this.timeout,_=r.body!==void 0?r.body:this.body,Z=r.withCredentials??this.withCredentials,J=r.reportProgress??this.reportProgress,x=r.reportUploadProgress??this.reportUploadProgress,Me=r.reportDownloadProgress??this.reportDownloadProgress,rt=r.headers||this.headers,pe=r.params||this.params,Ut=r.context??this.context;return r.setHeaders!==void 0&&(rt=Object.keys(r.setHeaders).reduce((Oe,ge)=>Oe.set(ge,r.setHeaders[ge]),rt)),r.setParams&&(pe=Object.keys(r.setParams).reduce((Oe,ge)=>Oe.set(ge,r.setParams[ge]),pe)),new t(e,n,_,{params:pe,headers:rt,context:Ut,reportProgress:J,reportUploadProgress:x,reportDownloadProgress:Me,responseType:i,withCredentials:Z,transferCache:O,keepalive:o,cache:u,priority:s,timeout:$,mode:a,redirect:c,credentials:l,referrer:f,integrity:p,referrerPolicy:T})}},He$2=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(He$2||{}),Ve$1=class Ve{headers;status;statusText;url;ok;type;redirected;responseType;constructor(r,e=200,n="OK"){this.headers=r.headers||new ie,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.redirected=r.redirected,this.responseType=r.responseType,this.ok=this.status>=200&&this.status<300;}},on$1=class t extends Ve$1{constructor(r={}){super(r);}type=He$2.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Dt$1=class t extends Ve$1{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null;}type=He$2.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0,redirected:r.redirected??this.redirected,responseType:r.responseType??this.responseType})}},Se$2=class Se extends Ve$1{name="HttpErrorResponse";message;error;ok=false;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null;}},xs$1=200;var Us$1=/^\)\]\}',?\n/,qi$2=new A$2("",{factory:()=>null}),sn$2=(()=>{class t{fetchImpl=C$1(ur$1,{optional:true})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=C$1(oe$1);destroyRef=C$1(at$1);maxResponseSize=C$1(qi$2);handle(e){return new S(n=>{let i=new AbortController;this.doRequest(e,i.signal,n).then(cr$1,s=>n.error(new Se$2({error:s})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"));},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort();}})}doRequest(e,n,i){return v$1(this,null,function*(){let o=this.createRequestInit(e),s;try{let _=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,r({signal:n},o)));ks$1(_),i.next({type:He$2.Sent}),s=yield _;}catch(_){i.error(new Se$2({error:_,status:_.status??0,statusText:_.statusText,url:e.urlWithParams,headers:_.headers}));return}let u=new ie(s.headers),a=s.statusText,c=s.url||e.urlWithParams,l=s.status,f=null,p=e.reportProgress||e.reportDownloadProgress;if(p&&i.next(new on$1({headers:u,status:l,statusText:a,url:c})),s.body){let _=s.headers.get("content-length"),Z=_!==null?Number(_):NaN;this.maxResponseSize!==null&&Number.isFinite(Z)&&Z>this.maxResponseSize&&Hi$2(this.maxResponseSize);let J=[],x=s.body.getReader(),Me=0,rt,pe,Ut=typeof Zone<"u"&&Zone.current,Oe=false;if(yield this.ngZone.runOutsideAngular(()=>v$1(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield x.cancel(),Oe=true;break}let{done:it,value:xn}=yield x.read();if(it)break;if(J.push(xn),Me+=xn.length,this.maxResponseSize!==null&&Me>this.maxResponseSize&&(yield x.cancel(),Hi$2(this.maxResponseSize)),p){pe=e.responseType==="text"?(pe??"")+(rt??=new TextDecoder).decode(xn,{stream:true}):void 0;let jr=()=>i.next({type:He$2.DownloadProgress,total:Number.isFinite(Z)?Z:void 0,loaded:Me,partialText:pe});Ut?Ut.run(jr):jr();}}})),Oe){i.complete();return}let ge=this.concatChunks(J,Me);try{let it=s.headers.get(sr$1)??"";f=this.parseBody(e,ge,it,l);}catch(it){i.error(new Se$2({error:it,headers:new ie(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}l===0&&(l=f?xs$1:0);let T=l>=200&&l<300,O=s.redirected,$=s.type;T?(i.next(new Dt$1({body:f,headers:u,status:l,statusText:a,url:c,redirected:O,responseType:$})),i.complete()):i.error(new Se$2({error:f,headers:u,status:l,statusText:a,url:c,redirected:O,responseType:$}));})}parseBody(e,n,i,o){switch(e.responseType){case "json":let s=new TextDecoder().decode(n).replace(Us$1,"");if(s==="")return null;try{return JSON.parse(s)}catch(u){if(o<200||o>=300)return s;throw u}case "text":return new TextDecoder().decode(n);case "blob":return new Blob([n],{type:i});case "arraybuffer":return n.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new _$1(2824,false);let n={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEach((o,s)=>n[o]=s.join(",")),e.headers.has(zi$2)||(n[zi$2]=Ls$1),!e.headers.has(sr$1)){let o=e.detectContentTypeHeader();o!==null&&(n[sr$1]=o);}return {body:e.serializeBody(),method:e.method,headers:n,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,n){let i=new Uint8Array(n),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})(),ur$1=class ur{};function cr$1(){}function ks$1(t){t.then(cr$1,cr$1);}function Hi$2(t){throw new _$1(-2825,false)}function Bs$1(t,r){return r(t)}function js$1(t,r,e){return (n,i)=>No$2(e,()=>r(n,o=>t(o,i)))}var Wi$2=new A$2("",{factory:()=>[]}),Yi$2=new A$2(""),Xi$2=new A$2("",{factory:()=>true});var lr$1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=Ae$2(sn$2),i},providedIn:"root"})}return t})();var an$2=(()=>{class t{backend;injector;chain=null;pendingTasks=C$1(ga$2);contributeToStability=C$1(Xi$2);constructor(e,n){this.backend=e,this.injector=n;}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Wi$2),...this.injector.get(Yi$2,[])]));this.chain=i.reduceRight((o,s)=>js$1(o,s,this.injector),Bs$1);}let n=this.chain;if(this.contributeToStability){let i=this.pendingTasks.add();return Bw(()=>n(e,o=>this.backend.handle(o))).pipe(ql$1(i))}else return Bw(()=>n(e,i=>this.backend.handle(i)))}static \u0275fac=function(n){return new(n||t)(Ae$2(lr$1),Ae$2(le$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dr$1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=Ae$2(an$2),i},providedIn:"root"})}return t})();function ar$1(t,r$1){return r({body:r$1},t)}var Zi$2=(()=>{class t{handler;constructor(e){this.handler=e;}request(e,n,i={}){let o;if(e instanceof ze$1)o=e;else {let a;i.headers instanceof ie?a=i.headers:a=new ie(i.headers);let c;i.params&&(i.params instanceof re?c=i.params:c=new re({fromObject:i.params})),o=new ze$1(e,n,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:c,reportProgress:i.reportProgress,reportUploadProgress:i.reportUploadProgress,reportDownloadProgress:i.reportDownloadProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout});}let s=Dg(o).pipe(Zg(a=>this.handler.handle(a)));if(e instanceof ze$1||i.observe==="events")return s;let u=s.pipe(on$2(a=>a instanceof Dt$1));switch(i.observe||"body"){case "body":switch(o.responseType){case "arraybuffer":return u.pipe(Se$3(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new _$1(2806,false);return a.body}));case "blob":return u.pipe(Se$3(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new _$1(2807,false);return a.body}));case "text":return u.pipe(Se$3(a=>{if(a.body!==null&&typeof a.body!="string")throw new _$1(2808,false);return a.body}));default:return u.pipe(Se$3(a=>a.body))}case "response":return u;default:throw new _$1(2809,false)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new re().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,ar$1(i,n))}post(e,n,i={}){return this.request("POST",e,ar$1(i,n))}put(e,n,i={}){return this.request("PUT",e,ar$1(i,n))}static \u0275fac=function(n){return new(n||t)(Ae$2(dr$1))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $s$1=new A$2("",{factory:()=>true}),zs$1="XSRF-TOKEN",Hs$1=new A$2("",{factory:()=>zs$1}),Vs$1="X-XSRF-TOKEN",Gs$1=new A$2("",{factory:()=>Vs$1}),qs$1=(()=>{class t{cookieName=C$1(Hs$1);doc=C$1(Uo$2);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=pt$2(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})(),Ki$2=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=Ae$2(qs$1),i},providedIn:"root"})}return t})();function Ws$1(t,r){if(!C$1($s$1)||t.method==="GET"||t.method==="HEAD")return r(t);try{let i=C$1(Be$2).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return r(t)}catch(i){return r(t)}let e=C$1(Ki$2).getToken(),n=C$1(Gs$1);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),r(t)}function Ys$1(...t){let r=[Zi$2,sn$2,an$2,{provide:dr$1,useExisting:an$2},{provide:lr$1,useFactory:()=>C$1(sn$2)},{provide:Wi$2,useValue:Ws$1,multi:true}];for(let e of t)r.push(...e.\u0275providers);return Eu$1(r)}var Ji$2=(()=>{class t{_doc;constructor(e){this._doc=e;}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||"";}static \u0275fac=function(n){return new(n||t)(Ae$2(Uo$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Zs$1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=Ae$2(Ks$1),i},providedIn:"root"})}return t})(),Ks$1=(()=>{class t extends Zs$1{_doc=C$1(Uo$2);sanitize(e,n){if(n==null)return null;switch(e){case Sr$2.NONE:return n;case Sr$2.HTML:return xi$3(n,"HTML")?zt(n):kf(this._doc,String(n)).toString();case Sr$2.STYLE:return xi$3(n,"Style")?zt(n):n;case Sr$2.SCRIPT:if(xi$3(n,"Script"))return zt(n);throw new _$1(5200,false);case Sr$2.URL:return xi$3(n,"URL")?zt(n):mc$1(String(n));case Sr$2.RESOURCE_URL:if(xi$3(n,"ResourceURL"))return zt(n);throw new _$1(-5201,false);default:throw new _$1(5202,false)}}bypassSecurityTrustHtml(e){return $y(e)}bypassSecurityTrustStyle(e){return Uy$1(e)}bypassSecurityTrustScript(e){return qy$1(e)}bypassSecurityTrustUrl(e){return Wy$1(e)}bypassSecurityTrustResourceUrl(e){return Gy(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})();var g$1="primary",Nt$1=Symbol("RouteTitle"),mr$1=class mr{params;constructor(r){this.params=r||{};}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return []}get keys(){return Object.keys(this.params)}};function be$1(t){return new mr$1(t)}function hr$1(t,r,e){for(let n=0;n<t.length;n++){let i=t[n],o=r[n];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return false}return true}function so(t,r,e){let n=e.path.split("/"),i=n.indexOf("**");if(i===-1){if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let a={},c=t.slice(0,n.length);return hr$1(n,c,a)?{consumed:c,posParams:a}:null}if(i!==n.lastIndexOf("**"))return null;let o=n.slice(0,i),s=n.slice(i+1);if(o.length+s.length>t.length||e.pathMatch==="full"&&r.hasChildren()&&e.path!=="**")return null;let u={};return !hr$1(o,t.slice(0,o.length),u)||!hr$1(s,t.slice(t.length-s.length),u)?null:{consumed:t,posParams:u}}function fn$2(t){return new Promise((r,e)=>{t.pipe(em()).subscribe({next:n=>r(n),error:n=>e(n)});})}function ta$1(t,r){if(t.length!==r.length)return false;for(let e=0;e<t.length;++e)if(!K$1(t[e],r[e]))return false;return true}function K$1(t,r){let e=t?vr$1(t):void 0,n=r?vr$1(r):void 0;if(!e||!n||e.length!=n.length)return false;let i;for(let o=0;o<e.length;o++)if(i=e[o],!ao(t[i],r[i]))return false;return true}function vr$1(t){return [...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function ao(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return false;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function na$1(t){return t.length>0?t[t.length-1]:null}function _e$1(t){return Lg(t)?t:Qc$1(t)?Me$3(Promise.resolve(t)):Dg(t)}function uo(t){return Lg(t)?fn$2(t):Promise.resolve(t)}var ra$1={exact:lo,subset:ho},co={exact:ia$1,subset:oa$1,ignored:()=>true},Or$1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bt$1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Pr$1(t,r$1,e){let n=t instanceof N$1?t:r$1.parseUrl(t);return Hw(()=>yr$1(r$1.lastSuccessfulNavigation()?.finalUrl??new N$1,n,r(r({},bt$1),e)))}function yr$1(t,r,e){return ra$1[e.paths](t.root,r.root,e.matrixParams)&&co[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function ia$1(t,r){return K$1(t,r)}function lo(t,r,e){if(!Re$2(t.segments,r.segments)||!ln$2(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return false;for(let n in r.children)if(!t.children[n]||!lo(t.children[n],r.children[n],e))return false;return true}function oa$1(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>ao(t[e],r[e]))}function ho(t,r,e){return fo(t,r,r.segments,e)}function fo(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return !(!Re$2(i,e)||r.hasChildren()||!ln$2(i,e,n))}else if(t.segments.length===e.length){if(!Re$2(t.segments,e)||!ln$2(t.segments,e,n))return false;for(let i in r.children)if(!t.children[i]||!ho(t.children[i],r.children[i],n))return false;return true}else {let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return !Re$2(t.segments,i)||!ln$2(t.segments,i,n)||!t.children[g$1]?false:fo(t.children[g$1],r,o,n)}}function ln$2(t,r,e){return r.every((n,i)=>co[e](t[i].parameters,n.parameters))}var N$1=class N{root;queryParams;fragment;_queryParamMap;constructor(r=new w$1([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n;}get queryParamMap(){return this._queryParamMap??=be$1(this.queryParams),this._queryParamMap}toString(){return ua$1.serialize(this)}},w$1=class w{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this);}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dn$2(this)}},de$2=class de{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e;}get parameterMap(){return this._parameterMap??=be$1(this.parameters),this._parameterMap}toString(){return go$1(this)}};function sa$1(t,r){return Re$2(t,r)&&t.every((e,n)=>K$1(e.parameters,r[n].parameters))}function Re$2(t,r){return t.length!==r.length?false:t.every((e,n)=>e.path===r[n].path)}function aa$1(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===g$1&&(e=e.concat(r(i,n)));}),Object.entries(t.children).forEach(([n,i])=>{n!==g$1&&(e=e.concat(r(i,n)));}),e}var Qe$1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:()=>new he$1})}return t})(),he$1=class he{parse(r){let e=new wr$1(r);return new N$1(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${wt$1(r.root,true)}`,n=da$1(r.queryParams),i=typeof r.fragment=="string"?`#${ca$1(r.fragment)}`:"";return `${e}${n}${i}`}},ua$1=new he$1;function dn$2(t){return t.segments.map(r=>go$1(r)).join("/")}function wt$1(t,r){if(!t.hasChildren())return dn$2(t);if(r){let e=t.children[g$1]?wt$1(t.children[g$1],false):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==g$1&&n.push(`${i}:${wt$1(o,false)}`);}),n.length>0?`${e}(${n.join("//")})`:e}else {let e=aa$1(t,(n,i)=>i===g$1?[wt$1(t.children[g$1],false)]:[`${i}:${wt$1(n,false)}`]);return Object.keys(t.children).length===1&&t.children[g$1]!=null?`${dn$2(t)}/${e[0]}`:`${dn$2(t)}/(${e.join("//")})`}}function po(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function un$2(t){return po(t).replace(/%3B/gi,";")}function ca$1(t){return encodeURI(t)}function Dr$1(t){return po(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hn$2(t){return decodeURIComponent(t)}function Qi$2(t){return hn$2(t.replace(/\+/g,"%20"))}function go$1(t){return `${Dr$1(t.path)}${la$1(t.parameters)}`}function la$1(t){return Object.entries(t).map(([r,e])=>`;${Dr$1(r)}=${Dr$1(e)}`).join("")}function da$1(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${un$2(e)}=${un$2(i)}`).join("&"):`${un$2(e)}=${un$2(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var ha$1=/^[^\/()?;#]+/;function fr$1(t){let r=t.match(ha$1);return r?r[0]:""}var fa$1=/^[^\/()?;=#]+/;function pa$1(t){let r=t.match(fa$1);return r?r[0]:""}var ga$1=/^[^=?&#]+/;function ma$1(t){let r=t.match(ga$1);return r?r[0]:""}var va$1=/^[^&#]+/;function ya(t){let r=t.match(va$1);return r?r[0]:""}var wr$1=class wr{url;remaining;constructor(r){this.url=r,this.remaining=r;}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new w$1([],{}):new w$1([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(r=0){if(r>50)throw new _$1(4010,false);if(this.remaining==="")return {};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(true,r));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(false,r)),(e.length>0||Object.keys(n).length>0)&&(i[g$1]=new w$1(e,n)),i}parseSegment(){let r=fr$1(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new _$1(4009,false);return this.capture(r),new de$2(hn$2(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=pa$1(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=fr$1(this.remaining);i&&(n=i,this.capture(n));}r[hn$2(e)]=hn$2(n);}parseQueryParam(r){let e=ma$1(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=ya(this.remaining);s&&(n=s,this.capture(n));}let i=Qi$2(e),o=Qi$2(n);if(Object.hasOwn(r,i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o);}else r[i]=o;}parseParens(r,e){let n=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=fr$1(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new _$1(4010,false);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):r&&(s=g$1);let u=this.parseChildren(e+1);n[s??g$1]=Object.keys(u).length===1&&u[g$1]?u[g$1]:new w$1([],u),this.consumeOptional("//");}return n}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),true):false}capture(r){if(!this.consumeOptional(r))throw new _$1(4011,false)}};function mo(t){return t.segments.length>0?new w$1([],{[g$1]:t}):t}function vo$1(t){let r=Object.create(null);for(let[n,i]of Object.entries(t.children)){let o=vo$1(i);if(n===g$1&&o.segments.length===0&&o.hasChildren())for(let[s,u]of Object.entries(o.children))r[s]=u;else (o.segments.length>0||o.hasChildren())&&(r[n]=o);}let e=new w$1(t.segments,r);return Da$1(e)}function Da$1(t){if(t.numberOfChildren===1&&t.children[g$1]){let r=t.children[g$1];return new w$1(t.segments.concat(r.segments),r.children)}return t}function fe$1(t){return t instanceof N$1}function yo$1(t,r,e=null,n=null,i=new he$1){let o=Do$1(t);return wo$1(o,r,e,n,i)}function Do$1(t){let r;function e(o){let s={};for(let a of o.children){let c=e(a);s[a.outlet]=c;}let u=new w$1(o.url,s);return o===t&&(r=u),u}let n=e(t.root),i=mo(n);return r??i}function wo$1(t,r,e,n,i){let o=t;for(;o.parent;)o=o.parent;if(r.length===0)return pr$1(o,o,o,e,n,i);let s=wa$1(r);if(s.toRoot())return pr$1(o,o,new w$1([],{}),e,n,i);let u=Ea$1(s,o,t),a=u.processChildren?Ct$1(u.segmentGroup,u.index,s.commands):Co$1(u.segmentGroup,u.index,s.commands);return pr$1(o,u.segmentGroup,a,e,n,i)}function pn$2(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function At(t){return typeof t=="object"&&t!=null&&t.outlets}function eo(t,r,e){t||="\u0275";let n=new N$1;return n.queryParams={[t]:r},e.parse(e.serialize(n)).queryParams[t]}function pr$1(t,r,e,n,i,o){let s={};for(let[c,l]of Object.entries(n??{}))s[c]=Array.isArray(l)?l.map(f=>eo(c,f,o)):eo(c,l,o);let u;t===r?u=e:u=Eo$1(t,r,e);let a=mo(vo$1(u));return new N$1(a,s,i)}function Eo$1(t,r,e){let n=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=Eo$1(o,r,e);}),new w$1(t.segments,n)}var gn$2=class gn{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&pn$2(n[0]))throw new _$1(4003,false);let i=n.find(At);if(i&&i!==na$1(n))throw new _$1(4004,false)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function wa$1(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new gn$2(true,0,t);let r=0,e=false,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let u={};return Object.entries(o.outlets).forEach(([a,c])=>{u[a]=typeof c=="string"?c.split("/"):c;}),[...i,{outlets:u}]}if(o.segmentPath)return [...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((u,a)=>{a==0&&u==="."||(a==0&&u===""?e=true:u===".."?r++:u!=""&&i.push(u));}),i):[...i,o]},[]);return new gn$2(e,r,n)}var qe$1=class qe{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n;}};function Ea$1(t,r,e){if(t.isAbsolute)return new qe$1(r,true,0);if(!e)return new qe$1(r,false,NaN);if(e.parent===null)return new qe$1(e,true,0);let n=pn$2(t.commands[0])?0:1,i=e.segments.length-1+n;return Ca$1(e,i,t.numberOfDoubleDots)}function Ca$1(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new _$1(4005,false);i=n.segments.length;}return new qe$1(n,false,i-o)}function Sa$1(t){return At(t[0])?t[0].outlets:{[g$1]:t}}function Co$1(t,r,e){if(t??=new w$1([],{}),t.segments.length===0&&t.hasChildren())return Ct$1(t,r,e);let n=Ra$1(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new w$1(t.segments.slice(0,n.pathIndex),{});return o.children[g$1]=new w$1(t.segments.slice(n.pathIndex),t.children),Ct$1(o,0,i)}else return n.match&&i.length===0?new w$1(t.segments,{}):n.match&&!t.hasChildren()?Er$1(t,r,e):n.match?Ct$1(t,0,i):Er$1(t,r,e)}function Ct$1(t,r,e){if(e.length===0)return new w$1(t.segments,{});{let n=Sa$1(e),i=Object.create(null);if(Object.keys(n).some(o=>o!==g$1)&&t.children[g$1]&&t.numberOfChildren===1&&t.children[g$1].segments.length===0){let o=Ct$1(t.children[g$1],r,e);return new w$1(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Co$1(t.children[o],r,s));}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s);}),new w$1(t.segments,i)}}function Ra$1(t,r,e){let n=0,i=r,o={match:false,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],u=e[n];if(At(u))break;let a=`${u}`,c=n<e.length-1?e[n+1]:null;if(i>0&&a===void 0)break;if(a&&c&&typeof c=="object"&&c.outlets===void 0){if(!no(a,c,s))return o;n+=2;}else {if(!no(a,{},s))return o;n++;}i++;}return {match:true,pathIndex:i,commandIndex:n}}function Er$1(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(At(o)){let a=ba$1(o.outlets);return new w$1(n,a)}if(i===0&&pn$2(e[0])){let a=t.segments[r];n.push(new de$2(a.path,to(e[0]))),i++;continue}let s=At(o)?o.outlets[g$1]:`${o}`,u=i<e.length-1?e[i+1]:null;s&&u&&pn$2(u)?(n.push(new de$2(s,to(u))),i+=2):(n.push(new de$2(s,{})),i++);}return new w$1(n,{})}function ba$1(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=Er$1(new w$1([],{}),0,n));}),r}function to(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function no(t,r,e){return t==e.path&&K$1(r,e.parameters)}var St$1="imperative",M=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(M||{}),j$1=class j{id;url;constructor(r,e){this.id=r,this.url=e;}},Ae$1=class Ae extends j$1{type=M.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i;}toString(){return `NavigationStart(id: ${this.id}, url: '${this.url}')`}},X$1=class X extends j$1{urlAfterRedirects;type=M.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n;}toString(){return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},P$1=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(P$1||{}),Tt$1=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Tt$1||{}),q$2=class q extends j$1{reason;code;type=M.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i;}toString(){return `NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function So$1(t){return t instanceof q$2&&(t.code===P$1.Redirect||t.code===P$1.SupersededByNewNavigation)}var se$1=class se extends j$1{reason;code;type=M.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i;}},Te$2=class Te extends j$1{error;target;type=M.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i;}toString(){return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},_t$1=class _t extends j$1{urlAfterRedirects;state;type=M.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i;}toString(){return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},mn$2=class mn extends j$1{urlAfterRedirects;state;type=M.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i;}toString(){return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vn$1=class vn extends j$1{urlAfterRedirects;state;shouldActivate;type=M.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o;}toString(){return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},yn$2=class yn extends j$1{urlAfterRedirects;state;type=M.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i;}toString(){return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dn$2=class Dn extends j$1{urlAfterRedirects;state;type=M.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i;}toString(){return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wn$2=class wn{route;type=M.RouteConfigLoadStart;constructor(r){this.route=r;}toString(){return `RouteConfigLoadStart(path: ${this.route.path})`}},En$1=class En{route;type=M.RouteConfigLoadEnd;constructor(r){this.route=r;}toString(){return `RouteConfigLoadEnd(path: ${this.route.path})`}},Cn$2=class Cn{snapshot;type=M.ChildActivationStart;constructor(r){this.snapshot=r;}toString(){return `ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sn$2=class Sn{snapshot;type=M.ChildActivationEnd;constructor(r){this.snapshot=r;}toString(){return `ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rn$1=class Rn{snapshot;type=M.ActivationStart;constructor(r){this.snapshot=r;}toString(){return `ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bn$2=class bn{snapshot;type=M.ActivationEnd;constructor(r){this.snapshot=r;}toString(){return `ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ye$1=class Ye{},It$1=class It{},Xe$1=class Xe{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e;}};function Aa$1(t){return !(t instanceof Ye$1)&&!(t instanceof Xe$1)&&!(t instanceof It$1)}var An=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new et(this.rootInjector);}},et=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e;}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i);}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null);}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e;}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new An(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(Ae$2(le$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tn$2=class Tn{_root;constructor(r){this._root=r;}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=Cr$1(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=Cr$1(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=Sr$1(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return Sr$1(r,this._root).map(e=>e.value)}};function Cr$1(t,r){if(t===r.value)return r;for(let e of r.children){let n=Cr$1(t,e);if(n)return n}return null}function Sr$1(t,r){if(t===r.value)return [r];for(let e of r.children){let n=Sr$1(t,e);if(n.length)return n.unshift(r),n}return []}var B$1=class B{value;children;constructor(r,e){this.value=r,this.children=e;}toString(){return `TreeNode(${this.value})`}};function Ge$1(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var Mt$1=class Mt extends Tn$2{snapshot;constructor(r,e){super(r),this.snapshot=e,Nr$1(this,r);}toString(){return this.snapshot.toString()}};function Ro$1(t,r){let e=Ta$1(t,r),n=new On$2([new de$2("",{})]),i=new On$2({}),o=new On$2({}),s=new On$2({}),u=new On$2(""),a=new ae$1(n,i,s,u,o,g$1,t,e.root);return a.snapshot=e.root,new Mt$1(new B$1(a,[]),e)}function Ta$1(t,r){let e={},n={},i={},s=new Ze$1([],e,i,"",n,g$1,t,null,{},r);return new Ot("",new B$1(s,[]))}var ae$1=class ae{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_localInjector;constructor(r,e,n,i,o,s,u,a){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=u,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(Se$3(c=>c[Nt$1]))??Dg(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o;}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Se$3(r=>be$1(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Se$3(r=>be$1(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}},_a$1="always";function Fr$1(t,r$1,e){let n,{routeConfig:i}=t;return r$1!==null&&(e==="always"||i?.path===""||!r$1.component&&!r$1.routeConfig?.loadComponent)?n={params:r(r({},r$1.params),t.params),data:r(r({},r$1.data),t.data),resolve:r(r(r(r({},t.data),r$1.data),i?.data),t._resolvedData)}:n={params:r({},t.params),data:r({},t.data),resolve:r(r({},t.data),t._resolvedData??{})},i&&Ao$1(i)&&(n.resolve[Nt$1]=i.title),n}var Ze$1=class Ze{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Nt$1]}constructor(r,e,n,i,o,s,u,a,c,l){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=u,this.routeConfig=a,this._resolve=c,this._environmentInjector=l;}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=be$1(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=be$1(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return `Route(url:'${r}', path:'${e}')`}},Ot=class extends Tn$2{url;constructor(r,e){super(e),this.url=r,Nr$1(this,e);}toString(){return bo$1(this._root)}};function Nr$1(t,r){r.value._routerState=t,r.children.forEach(e=>Nr$1(t,e));}function bo$1(t){let r=t.children.length>0?` { ${t.children.map(bo$1).join(", ")} } `:"";return `${t.value}${r}`}function gr$1(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,K$1(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),K$1(r.params,e.params)||t.paramsSubject.next(e.params),ta$1(r.url,e.url)||t.urlSubject.next(e.url),K$1(r.data,e.data)||t.dataSubject.next(e.data);}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data);}function Rr$1(t,r){let e=K$1(t.params,r.params)&&sa$1(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||Rr$1(t.parent,r.parent))}function Ao$1(t){return typeof t.title=="string"||t.title===null}var To$1=new A$2(""),Lr$1=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=g$1;activateEvents=new Le$2;deactivateEvents=new Le$2;attachEvents=new Le$2;detachEvents=new Le$2;routerOutletData=$0$1();parentContexts=C$1(et);location=C$1(ji$3);changeDetector=C$1(z0$1);inputBinder=C$1(On$1,{optional:true});supportsBindingToComponentInputs=true;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName();}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this);}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName();}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector));}get isActivated(){return !!this.activated}get component(){if(!this.activated)throw new _$1(4012,false);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _$1(4012,false);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _$1(4012,false);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance);}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e);}}activateWith(e,n){if(this.isActivated)throw new _$1(4013,false);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,a=new br$1(e,u,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance);}static \u0275fac=function(n){return new(n||t)};static \u0275dir=XE({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ly]})}return t})(),br$1=class br{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i;}get(r,e){return r===ae$1?this.route:r===et?this.childContexts:r===To$1?this.outletData:this.parent.get(r,e)}},On$1=new A$2("");var xr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&lh(0,"router-outlet");},dependencies:[Lr$1],encapsulation:2,changeDetection:1})}return t})();function Ur$1(t){let r$1=t.children&&t.children.map(Ur$1),e=r$1?s(r({},t),{children:r$1}):r({},t);return !e.component&&!e.loadComponent&&(r$1||e.loadChildren)&&e.outlet&&e.outlet!==g$1&&(e.component=xr),e}function Ia(t,r,e){let n=new Set,i=Pt$1(t,r._root,e?e._root:void 0,n);return {newlyCreatedRoutes:n,state:new Mt$1(i,r)}}function Pt$1(t,r,e,n){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=r.value;let o=Ma(t,r,e,n);return new B$1(i,o)}else {if(t.shouldAttach(r.value)){let s=t.retrieve(r.value);if(s!==null){let u=s.route;return u.value._futureSnapshot=r.value,u.children=r.children.map(a=>Pt$1(t,a,void 0,n)),u}}let i=Oa$1(r.value);n.add(i);let o=r.children.map(s=>Pt$1(t,s,void 0,n));return new B$1(i,o)}}function Ma(t,r,e,n){return r.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Pt$1(t,i,o,n);return Pt$1(t,i,void 0,n)})}function Oa$1(t){return new ae$1(new On$2(t.url),new On$2(t.params),new On$2(t.queryParams),new On$2(t.fragment),new On$2(t.data),t.outlet,t.component,t)}var Ke$1=class Ke{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e;}},_o$1="ngNavigationCancelingError";function _n$2(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=fe$1(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=Io$1(false,P$1.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function Io$1(t,r){let e=new Error(`NavigationCancelingError: ${""}`);return e[_o$1]=true,e.cancellationCode=r,e}function Pa$1(t){return Mo$1(t)&&fe$1(t.url)}function Mo$1(t){return !!t&&t[_o$1]}var Ar$1=class Ar{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o;}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),gr$1(this.futureState.root),this.activateChildRoutes(e,n,r);}deactivateChildRoutes(r,e,n){let i=Ge$1(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s];}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n);});}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children);}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n);}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e);}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=Ge$1(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),u=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:u});}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=Ge$1(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null),r.value._localInjector?.destroy();}activateChildRoutes(r,e,n){let i=Ge$1(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new bn$2(o.value.snapshot));}),r.children.length&&this.forwardEvent(new Sn$2(r.value.snapshot));}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(gr$1(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children);}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let u=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(u.contexts),s.attachRef=u.componentRef,s.route=u.route.value,s.outlet&&s.outlet.attach(u.componentRef,u.route.value),gr$1(u.route.value),this.activateChildRoutes(r,null,s.children);}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children);}else this.activateChildRoutes(r,null,n);}},In$1=class In{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1];}},We$1=class We{component;route;constructor(r,e){this.component=r,this.route=e;}};function Fa$1(t,r,e){let n=t._root,i=r?r._root:null;return Et(n,i,e,[n.value])}function Na$1(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return !r||r.length===0?null:{node:t,guards:r}}function tt(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!mm(t)?t:r.get(t):n}function Et(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ge$1(r);return t.children.forEach(s=>{La$1(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet];}),Object.entries(o).forEach(([s,u])=>Rt$1(u,e.getContext(s),i)),i}function La$1(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,u=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=xa$1(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new In$1(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Et(t,r,u?u.children:null,n,i):Et(t,r,e,n,i),a&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new We$1(u.outlet.component,s));}else s&&Rt$1(r,u,i),i.canActivateChecks.push(new In$1(n)),o.component?Et(t,null,u?u.children:null,n,i):Et(t,null,e,n,i);return i}function xa$1(t,r,e){if(typeof e=="function")return No$2(r._environmentInjector,()=>e(t,r));switch(e){case "pathParamsChange":return !Re$2(t.url,r.url);case "pathParamsOrQueryParamsChange":return !Re$2(t.url,r.url)||!K$1(t.queryParams,r.queryParams);case "always":return true;case "paramsOrQueryParamsChange":return !Rr$1(t,r)||!K$1(t.queryParams,r.queryParams);default:return !Rr$1(t,r)}}function Rt$1(t,r,e){let n=Ge$1(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?Rt$1(s,r.children.getContext(o),e):Rt$1(s,null,e):Rt$1(s,r,e);}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new We$1(r.outlet.component,i)):e.canDeactivateChecks.push(new We$1(null,i)):e.canDeactivateChecks.push(new We$1(null,i));}function Lt(t){return typeof t=="function"}function Ua$1(t){return typeof t=="boolean"}function ka$1(t){return t&&Lt(t.canLoad)}function Ba$1(t){return t&&Lt(t.canActivate)}function ja$1(t){return t&&Lt(t.canActivateChild)}function $a$1(t){return t&&Lt(t.canDeactivate)}function za$1(t){return t&&Lt(t.canMatch)}function Oo$1(t){return t instanceof Vn$2||t?.name==="EmptyError"}var cn$2=Symbol("INITIAL_VALUE");function Je$1(){return Ml$1(t=>Fg(t.map(r=>r.pipe(yt$1(1),Gl$1(cn$2)))).pipe(Se$3(r=>{for(let e of r)if(e!==true){if(e===cn$2)return cn$2;if(e===false||Ha$1(e))return e}return true}),on$2(r=>r!==cn$2),yt$1(1)))}function Ha$1(t){return fe$1(t)||t instanceof Ke$1}function Po$1(t){return t.aborted?Dg(void 0).pipe(yt$1(1)):new S(r=>{let e=()=>{r.next(),r.complete();};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Fo$1(t){return im(Po$1(t))}function Va$1(t){return Ie$3(r$1=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:i,canDeactivateChecks:o}}=r$1;return o.length===0&&i.length===0?Dg(s(r({},r$1),{guardsResult:true})):Ga$1(o,e,n).pipe(Ie$3(s=>s&&Ua$1(s)?qa$1(e,i,t):Dg(s)),Se$3(s$1=>s(r({},r$1),{guardsResult:s$1})))})}function Ga$1(t,r,e){return Me$3(t).pipe(Ie$3(n=>Ka$1(n.component,n.route,e,r)),em(n=>n!==true,true))}function qa$1(t,r,e){return Me$3(r).pipe(Zg(n=>rn$3(Ya$1(n.route.parent,e),Wa$1(n.route,e),Za$1(t,n.path),Xa$1(t,n.route))),em(n=>n!==true,true))}function Wa$1(t,r){return t!==null&&r&&r(new Rn$1(t)),Dg(true)}function Ya$1(t,r){return t!==null&&r&&r(new Cn$2(t)),Dg(true)}function Xa$1(t,r){let e=r.routeConfig?r.routeConfig.canActivate:null;if(!e||e.length===0)return Dg(true);let n=e.map(i=>Vg(()=>{let o=r._environmentInjector,s=tt(i,o),u=Ba$1(s)?s.canActivate(r,t):No$2(o,()=>s(r,t));return _e$1(u).pipe(em())}));return Dg(n).pipe(Je$1())}function Za$1(t,r){let e=r[r.length-1],i=r.slice(0,r.length-1).reverse().map(o=>Na$1(o)).filter(o=>o!==null).map(o=>Vg(()=>{let s=o.guards.map(u=>{let a=o.node._environmentInjector,c=tt(u,a),l=ja$1(c)?c.canActivateChild(e,t):No$2(a,()=>c(e,t));return _e$1(l).pipe(em())});return Dg(s).pipe(Je$1())}));return Dg(i).pipe(Je$1())}function Ka$1(t,r,e,n){let i=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!i||i.length===0)return Dg(true);let o=i.map(s=>{let u=r._environmentInjector,a=tt(s,u),c=$a$1(a)?a.canDeactivate(t,r,e,n):No$2(u,()=>a(t,r,e,n));return _e$1(c).pipe(em())});return Dg(o).pipe(Je$1())}function Ja$1(t,r,e,n,i){let o=r.canLoad;if(o===void 0||o.length===0)return Dg(true);let s=o.map(u=>{let a=tt(u,t),c=ka$1(a)?a.canLoad(r,e):No$2(t,()=>a(r,e)),l=_e$1(c);return i?l.pipe(Fo$1(i)):l});return Dg(s).pipe(Je$1(),No$1(n))}function No$1(t){return dg(zl$1(r=>{if(typeof r!="boolean")throw _n$2(t,r)}),Se$3(r=>r===true))}function Qa$1(t,r,e,n,i,o){let s=r.canMatch;if(!s||s.length===0)return Dg(true);let u=s.map(a=>{let c=tt(a,t),l=za$1(c)?c.canMatch(r,e,i):No$2(t,()=>c(r,e,i));return _e$1(l).pipe(Fo$1(o))});return Dg(u).pipe(Je$1(),No$1(n))}var oe=class t extends Error{segmentGroup;constructor(r){super(),this.segmentGroup=r||null,Object.setPrototypeOf(this,t.prototype);}},Ft=class t extends Error{urlTree;constructor(r){super(),this.urlTree=r,Object.setPrototypeOf(this,t.prototype);}};function eu(t){throw new _$1(4e3,false)}function tu(t){throw Io$1(false,P$1.GuardRejected)}var Tr$1=class Tr{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e;}lineralizeSegments(r,e){return v$1(this,null,function*(){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return n;if(i.numberOfChildren>1||!i.children[g$1])throw eu(`${r.redirectTo}`);i=i.children[g$1];}})}applyRedirectCommands(r,e,n,i,o){return v$1(this,null,function*(){let s=yield nu(e,i,o);if(s instanceof N$1)throw new Ft(s);let u=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),r,n);if(s[0]==="/")throw new Ft(u);return u})}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new N$1(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let u=o.substring(1);n[i]=e[u];}else n[i]=o;}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s=Object.create(null);return Object.entries(e.children).forEach(([u,a])=>{s[u]=this.createSegmentGroup(r,a,n,i);}),new w$1(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new _$1(4001,false);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++;}return r}};function nu(t,r,e){if(typeof t=="string")return Promise.resolve(t);let n=t;return fn$2(_e$1(No$2(e,()=>n(r))))}function ru(t,r){return t.providers&&!t._injector&&(t._injector=Zp(t.providers,r,`Route: ${t.path}`)),t._injector??r}function Y$1(t){return t.outlet||g$1}function iu(t,r){let e=t.filter(n=>Y$1(n)===r);return e.push(...t.filter(n=>Y$1(n)!==r)),e}var _r$1={matched:false,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Lo$1(t){return {routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function ou(t,r$1,e,n,i,o,s){let u=xo$1(t,r$1,e);if(!u.matched)return Dg(u);let a=Lo$1(o(u));return n=ru(r$1,n),Qa$1(n,r$1,e,i,a,s).pipe(Se$3(c=>c===true?u:r({},_r$1)))}function xo$1(t,r$1,e){if(r$1.path==="")return r$1.pathMatch==="full"&&(t.hasChildren()||e.length>0)?r({},_r$1):{matched:true,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r$1.matcher||so)(e,t,r$1);if(!i)return r({},_r$1);let o={};Object.entries(i.posParams??{}).forEach(([u,a])=>{o[u]=a.path;});let s=i.consumed.length>0?r(r({},o),i.consumed[i.consumed.length-1].parameters):o;return {matched:true,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ro(t,r,e,n,i){return e.length>0&&uu(t,e,n,i)?{segmentGroup:new w$1(r,au(n,new w$1(e,t.children))),slicedSegments:[]}:e.length===0&&cu(t,e,n)?{segmentGroup:new w$1(t.segments,su(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new w$1(t.segments,t.children),slicedSegments:e}}function su(t,r$1,e,n){let i={};for(let o of e)if(Pn$2(t,r$1,o)&&!n[Y$1(o)]){let s=new w$1([],{});i[Y$1(o)]=s;}return r(r({},n),i)}function au(t,r){let e={};e[g$1]=r;for(let n of t)if(n.path===""&&Y$1(n)!==g$1){let i=new w$1([],{});e[Y$1(n)]=i;}return e}function uu(t,r,e,n){return e.some(i=>!Pn$2(t,r,i)||!(Y$1(i)!==g$1)?false:!(n!==void 0&&Y$1(i)===n))}function cu(t,r,e){return e.some(n=>Pn$2(t,r,n))}function Pn$2(t,r,e){return (t.hasChildren()||r.length>0)&&e.pathMatch==="full"?false:e.path===""}function lu(t,r,e){return r.length===0&&!t.children[e]}var Ir$1=class Ir{};function du(t,r,e,n,i,o,s,u){return v$1(this,null,function*(){return new Mr(t,r,e,n,i,s,o,u).recognize()})}var hu=31,Mr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=true;constructor(r,e,n,i,o,s,u,a){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=u,this.abortSignal=a,this.applyRedirects=new Tr$1(this.urlSerializer,this.urlTree);}noMatchError(r){return new _$1(4002,`'${r.segmentGroup}'`)}recognize(){return v$1(this,null,function*(){let r=ro(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:n}=yield this.match(r),i=new B$1(n,e),o=new Ot("",i),s=yo$1(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(r$1){return v$1(this,null,function*(){let e=new Ze$1([],Object.freeze({}),Object.freeze(r({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g$1,this.rootComponentType,null,{},this.injector);try{return {children:yield this.processSegmentGroup(this.injector,this.config,r$1,g$1,e),rootSnapshot:e}}catch(n){if(n instanceof Ft)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof oe?this.noMatchError(n):n}})}processSegmentGroup(r,e,n,i,o){return v$1(this,null,function*(){if(n.segments.length===0&&n.hasChildren())return this.processChildren(r,e,n,o);let s=yield this.processSegment(r,e,n,n.segments,i,true,o);return s instanceof B$1?[s]:[]})}processChildren(r,e,n,i){return v$1(this,null,function*(){let o=[];for(let a of Object.keys(n.children))a==="primary"?o.unshift(a):o.push(a);let s=[];for(let a of o){let c=n.children[a],l=iu(e,a),f=yield this.processSegmentGroup(r,l,c,a,i);s.push(...f);}let u=Uo$1(s);return fu(u),u})}processSegment(r,e,n,i,o,s,u){return v$1(this,null,function*(){for(let a of e)try{return yield this.processSegmentAgainstRoute(a._injector??r,e,a,n,i,o,s,u)}catch(c){if(c instanceof oe||Oo$1(c))continue;throw c}if(lu(n,i,o))return new Ir$1;throw new oe(n)})}processSegmentAgainstRoute(r,e,n,i,o,s,u,a){return v$1(this,null,function*(){if(Y$1(n)!==s&&(s===g$1||!Pn$2(i,o,n)))throw new oe(i);if(n.redirectTo===void 0)return this.matchSegmentAgainstRoute(r,i,n,o,s,a);if(this.allowRedirects&&u)return this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,a);throw new oe(i)})}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,u){return v$1(this,null,function*(){let{matched:a,parameters:c,consumedSegments:l,positionalParamSegments:f,remainingSegments:p}=xo$1(e,i,o);if(!a)throw new oe(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>hu&&(this.allowRedirects=false));let T=this.createSnapshot(r,i,o,c,u);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let O=yield this.applyRedirects.applyRedirectCommands(l,i.redirectTo,f,Lo$1(T),r),$=yield this.applyRedirects.lineralizeSegments(i,O);return this.processSegment(r,n,e,$.concat(p),s,false,u)})}createSnapshot(r$1,e,n,i,o){let s=new Ze$1(n,i,Object.freeze(r({},this.urlTree.queryParams)),this.urlTree.fragment,gu(e),Y$1(e),e.component??e._loadedComponent??null,e,mu(e),r$1),u=Fr$1(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(u.params),s.data=Object.freeze(u.data),s}matchSegmentAgainstRoute(r,e,n,i,o,s){return v$1(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let u=x=>this.createSnapshot(r,n,x.consumedSegments,x.parameters,s),a=yield fn$2(ou(e,n,i,r,this.urlSerializer,u,this.abortSignal));if(n.path==="**"&&(e.children={}),!a?.matched)throw new oe(e);r=n._injector??r;let{routes:c}=yield this.getChildConfig(r,n,i),l=n._loadedInjector??r,{parameters:f,consumedSegments:p,remainingSegments:T}=a,O=this.createSnapshot(r,n,p,f,s),{segmentGroup:$,slicedSegments:_}=ro(e,p,T,c,o);if(_.length===0&&$.hasChildren()){let x=yield this.processChildren(l,c,$,O);return new B$1(O,x)}if(c.length===0&&_.length===0)return new B$1(O,[]);let Z=Y$1(n)===o,J=yield this.processSegment(l,c,$,_,Z?g$1:o,true,O);return new B$1(O,J instanceof B$1?[J]:[])})}getChildConfig(r,e,n){return v$1(this,null,function*(){if(e.children)return {routes:e.children,injector:r};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(r).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield fn$2(Ja$1(r,e,n,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(r,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw tu()}return {routes:[],injector:r}})}};function fu(t){t.sort((r,e)=>r.value.outlet===g$1?-1:e.value.outlet===g$1?1:r.value.outlet.localeCompare(e.value.outlet));}function pu(t){let r=t.value.routeConfig;return r&&r.path===""}function Uo$1(t){let r=[],e=new Set;for(let n of t){if(!pu(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n);}for(let n of e){let i=Uo$1(n.children);r.push(new B$1(n.value,i));}return r.filter(n=>!e.has(n))}function gu(t){return t.data||{}}function mu(t){return t.resolve||{}}function vu(t,r$1,e,n,i,o,s$1){return Ie$3(u=>v$1(null,null,function*(){let{state:a,tree:c}=yield du(t,r$1,e,n,u.extractedUrl,i,o,s$1);return s(r({},u),{targetSnapshot:a,urlAfterRedirects:c})}))}function yu(t){return Ie$3(r=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=r;if(!n.length)return Dg(r);let i=new Set(n.map(u=>u.route)),o=new Set;for(let u of i)if(!o.has(u))for(let a of ko$1(u))o.add(a);let s=0;return Me$3(o).pipe(Zg(u=>i.has(u)?Du(u,e,t):(u.data=Fr$1(u,u.parent,t).resolve,Dg(void 0))),zl$1(()=>s++),tm(1),Ie$3(u=>s===o.size?Dg(r):mt$3))})}function ko$1(t){let r=t.children.map(e=>ko$1(e)).flat();return [t,...r]}function Du(t,r$1,e){let n=t.routeConfig,i=t._resolve;return n?.title!==void 0&&!Ao$1(n)&&(i[Nt$1]=n.title),Vg(()=>(t.data=Fr$1(t,t.parent,e).resolve,wu(i,t,r$1).pipe(Se$3(o=>(t._resolvedData=o,t.data=r(r({},t.data),o),null)))))}function wu(t,r,e){let n=vr$1(t);if(n.length===0)return Dg({});let i={};return Me$3(n).pipe(Ie$3(o=>Eu(t[o],r,e).pipe(em(),zl$1(s=>{if(s instanceof Ke$1)throw _n$2(new he$1,s);i[o]=s;}))),tm(1),Se$3(()=>i),Xi$3(o=>Oo$1(o)?mt$3:Pg(o)))}function Eu(t,r,e){let n=r._environmentInjector,i=tt(t,n),o=i.resolve?i.resolve(r,e):No$2(n,()=>i(r,e));return _e$1(o)}function io(t){return Ml$1(r=>{let e=t(r);return e?Me$3(e).pipe(Se$3(()=>r)):Dg(r)})}var kr$1=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===g$1);return n}getResolvedTitleForRoute(e){return e.data[Nt$1]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:()=>C$1(Bo$1)})}return t})(),Bo$1=(()=>{class t extends kr$1{title;constructor(e){super(),this.title=e;}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n);}static \u0275fac=function(n){return new(n||t)(Ae$2(Ji$2))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nt=new A$2("",{factory:()=>({})}),xt$1=new A$2(""),jo$1=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=C$1(Fw);loadComponent(e,n){return v$1(this,null,function*(){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Promise.resolve(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=v$1(this,null,function*(){try{let o=yield uo(No$2(e,()=>n.loadComponent())),s=yield zo$1(H0$1(o));return this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s,s}finally{this.componentLoaders.delete(n);}});return this.componentLoaders.set(n,i),i})}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Promise.resolve({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let i=v$1(this,null,function*(){try{let o=yield $o$1(n,this.compiler,e,this.onLoadEndListener);return n._loadedRoutes=o.routes,n._loadedInjector=o.injector,n._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(n);}});return this.childrenLoaders.set(n,i),i}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})();function $o$1(t,r,e,n){return v$1(this,null,function*(){let i=yield uo(No$2(e,()=>t.loadChildren())),o=yield zo$1(H0$1(i)),s;o instanceof Qp||Array.isArray(o)?s=o:s=yield r.compileModuleAsync(o),n&&n(t);let u,a,l;return Array.isArray(s)?(a=s,true):(u=s.create(e).injector,l=s,a=u.get(xt$1,[],{optional:true,self:true}).flat()),{routes:a.map(Ur$1),injector:u,factory:l}})}function zo$1(t){return v$1(this,null,function*(){return t})}var Fn$1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:()=>C$1(Cu)})}return t})(),Cu=(()=>{class t{shouldProcessUrl(e){return true}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})(),Ho$1=new A$2("");var Vo$1=new A$2(""),Su=()=>{},Go$1=new A$2(""),qo$1=(()=>{class t{currentNavigation=qo$2(null,{equal:()=>false});currentTransition=null;lastSuccessfulNavigation=qo$2(null);events=new re$1;transitionAbortWithErrorSubject=new re$1;configLoader=C$1(jo$1);environmentInjector=C$1(le$2);destroyRef=C$1(at$1);urlSerializer=C$1(Qe$1);rootContexts=C$1(et);location=C$1($e$1);inputBindingEnabled=C$1(On$1,{optional:true})!==null;titleStrategy=C$1(kr$1);options=C$1(nt,{optional:true})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||_a$1;urlHandlingStrategy=C$1(Fn$1);createViewTransition=C$1(Ho$1,{optional:true});navigationErrorHandler=C$1(Go$1,{optional:true});activatedRouteInjectorFeature=C$1(Vo$1,{optional:true});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>Dg(void 0);rootComponentType=null;destroyed=false;constructor(){let e=i=>this.events.next(new wn$2(i)),n=i=>this.events.next(new En$1(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=true;});}complete(){this.transitions?.complete();}handleNavigationRequest(e){let n=++this.navigationId;Bw(()=>{this.transitions?.next(s(r({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n,routesRecognizeHandler:{},beforeActivateHandler:{}}));});}setupNavigations(e){return this.transitions=new On$2(null),this.transitions.pipe(on$2(n=>n!==null),Ml$1(n=>{let i=true,o=false,s$1=new AbortController,u=()=>!o&&this.currentTransition?.id===n.id;return Dg(n).pipe(Ml$1(a=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",P$1.SupersededByNewNavigation),mt$3;this.currentTransition=n;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?s(r({},c),{previousNavigation:null}):null,abort:()=>s$1.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&f!=="reload")return this.events.next(new se$1(a.id,this.urlSerializer.serialize(a.rawUrl),"",Tt$1.IgnoredSameUrlNavigation)),a.resolve(false),mt$3;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Dg(a).pipe(Ml$1(p=>(this.events.next(new Ae$1(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?mt$3:Promise.resolve(p))),vu(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s$1.signal),zl$1(p=>{n.targetSnapshot=p.targetSnapshot,n.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation.update(T=>(T.finalUrl=p.urlAfterRedirects,T)),this.events.next(new It$1);}),Ml$1(p=>Me$3(n.routesRecognizeHandler.deferredHandle??Dg(void 0)).pipe(Se$3(()=>p))),zl$1(()=>{let p=new _t$1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(p);}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:p,extractedUrl:T,source:O,restoredState:$,extras:_}=a,Z=new Ae$1(p,this.urlSerializer.serialize(T),O,$);this.events.next(Z);let J=Ro$1(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=n=s(r({},a),{targetSnapshot:J,urlAfterRedirects:T,extras:s(r({},_),{skipLocationChange:false,replaceUrl:false})}),this.currentNavigation.update(x=>(x.finalUrl=T,x)),Dg(n)}else return this.events.next(new se$1(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Tt$1.IgnoredByUrlHandlingStrategy)),a.resolve(false),mt$3}),Se$3(a=>{let c=new mn$2(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=n=s(r({},a),{guards:Fa$1(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),n}),Va$1(a=>this.events.next(a)),Ml$1(a=>{if(n.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw _n$2(this.urlSerializer,a.guardsResult);let c=new vn$1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!u())return mt$3;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",P$1.GuardRejected),mt$3;if(a.guards.canActivateChecks.length===0)return Dg(a);let l=new yn$2(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!u())return mt$3;let f=false;return Dg(a).pipe(yu(this.paramsInheritanceStrategy),zl$1({next:()=>{f=true;let p=new Dn$2(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(p);},complete:()=>{f||this.cancelNavigationTransition(a,"",P$1.NoDataFromResolver);}}))}),io(a=>{let c=f=>{let p=[];if(f.routeConfig?._loadedComponent)f.component=f.routeConfig?._loadedComponent;else if(f.routeConfig?.loadComponent){let T=f._environmentInjector;p.push(this.configLoader.loadComponent(T,f.routeConfig).then(O=>{f.component=O;}));}for(let T of f.children)p.push(...c(T));return p},l=c(a.targetSnapshot.root);return l.length===0?Dg(a):Me$3(Promise.all(l).then(()=>a))}),Ml$1(a=>{let{newlyCreatedRoutes:c,state:l}=Ia(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=n=a=s(r({},a),{targetRouterState:l,newlyCreatedRoutes:c}),this.currentNavigation.update(f=>(f.targetRouterState=l,f)),Dg(a)}),this.activatedRouteInjectorFeature?.operator()??(a=>a),io(()=>this.afterPreactivation()),Ml$1(()=>{let{currentSnapshot:a,targetSnapshot:c}=n,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?Me$3(l).pipe(Se$3(()=>n)):Dg(n)}),yt$1(1),Ml$1(a=>{i=false,this.events.next(new Ye$1);let c=n.beforeActivateHandler.deferredHandle;return c?Me$3(c.then(()=>a)):Dg(a)}),zl$1(a=>{new Ar$1(e.routeReuseStrategy,n.targetRouterState,n.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),u()&&(o=true,this.currentNavigation.update(c=>(c.abort=Su,c)),this.lastSuccessfulNavigation.set(Bw(this.currentNavigation)),this.events.next(new X$1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(true));}),im(Po$1(s$1.signal).pipe(on$2(()=>!o&&i),zl$1(()=>{this.cancelNavigationTransition(n,s$1.signal.reason+"",P$1.Aborted);}))),zl$1({complete:()=>{o=true;}}),im(this.transitionAbortWithErrorSubject.pipe(zl$1(a=>{throw a}))),ql$1(()=>{s$1.abort(),o||this.cancelNavigationTransition(n,"",P$1.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null);}),Xi$3(a=>{if(o=true,oo(n),this.destroyed)return n.resolve(false),mt$3;if(Mo$1(a))this.events.next(new q$2(n.id,this.urlSerializer.serialize(n.extractedUrl),a.message,a.cancellationCode)),Pa$1(a)?this.events.next(new Xe$1(a.url,a.navigationBehaviorOptions)):n.resolve(false);else {let c=new Te$2(n.id,this.urlSerializer.serialize(n.extractedUrl),a,n.targetSnapshot??void 0);try{let l=No$2(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Ke$1){let{message:f,cancellationCode:p}=_n$2(this.urlSerializer,l);this.events.next(new q$2(n.id,this.urlSerializer.serialize(n.extractedUrl),f,p)),this.events.next(new Xe$1(l.redirectTo,l.navigationBehaviorOptions));}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?n.resolve(false):n.reject(l);}}return mt$3}))}))}cancelNavigationTransition(e,n,i){oo(e);let o=new q$2(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(false);}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(true))),n=Bw(this.currentNavigation),i=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==i?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})();function Ru(t){return t!==St$1}function oo(t){if(t.newlyCreatedRoutes)for(let r of t.newlyCreatedRoutes)r._localInjector?.destroy();}var Wo$1=new A$2("");var Yo$1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:()=>C$1(bu)})}return t})(),Mn$1=class Mn{shouldDetach(r){return false}store(r,e){}shouldAttach(r){return false}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}shouldDestroyInjector(r){return true}},bu=(()=>{class t extends Mn$1{static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})(),Nn=(()=>{class t{urlSerializer=C$1(Qe$1);options=C$1(nt,{optional:true})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=C$1($e$1);urlHandlingStrategy=C$1(Fn$1);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new N$1;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,s=i??o;return s instanceof N$1?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i;}routerState=Ro$1(null,C$1(le$2));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento();}createStateMemento(){return {rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:()=>C$1(Au)})}return t})(),Au=(()=>{class t extends Nn{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate",{replaceUrl:true});});})}handleRouterEvent(e,n){e instanceof Ae$1?this.updateStateMemento():e instanceof se$1?this.commitTransition(n):e instanceof _t$1?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof Ye$1?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof q$2&&!So$1(e)?this.restoreHistory(n):e instanceof Te$2?this.restoreHistory(n,true):e instanceof X$1&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId);}setBrowserUrl(e,n){let{extras:i,id:o}=n,{replaceUrl:s,state:u}=i;if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,c=r(r({},u),this.generateNgRouterState(o,a,n));this.location.replaceState(e,"",c);}else {let a=r(r({},u),this.generateNgRouterState(o,this.browserPageId+1,n));this.location.go(e,"",a);}}restoreHistory(e,n=false){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree);}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId));}generateNgRouterState(e,n,i){return this.canceledNavigationResolution==="computed"?r({navigationId:e,\u0275routerPageId:n},this.routerUrlState(i)):r({navigationId:e},this.routerUrlState(i))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})();function Br$1(t,r){t.events.pipe(on$2(e=>e instanceof X$1||e instanceof q$2||e instanceof Te$2||e instanceof se$1),Se$3(e=>e instanceof X$1||e instanceof se$1?0:(e instanceof q$2?e.code===P$1.Redirect||e.code===P$1.SupersededByNewNavigation:false)?2:1),on$2(e=>e!==2),yt$1(1)).subscribe(()=>{r();});}var Ie$2=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=false;nonRouterCurrentEntryChangeSubscription;console=C$1(gD);stateManager=C$1(Nn);options=C$1(nt,{optional:true})||{};pendingTasks=C$1(Ft$1);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=C$1(qo$1);urlSerializer=C$1(Qe$1);location=C$1($e$1);urlHandlingStrategy=C$1(Fn$1);injector=C$1(le$2);_events=new re$1;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=false;routeReuseStrategy=C$1(Yo$1);injectorCleanup=C$1(Wo$1,{optional:true});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=C$1(xt$1,{optional:true})?.flat()??[];componentInputBindingEnabled=!!C$1(On$1,{optional:true});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents();}eventsSubscription=new H$1;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=Bw(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof q$2&&n.code!==P$1.Redirect&&n.code!==P$1.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof X$1)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(n instanceof Xe$1){let s=n.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),a=r({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ru(i.source)},s);this.scheduleNavigation(u,St$1,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise});}}Aa$1(n)&&this._events.next(n);}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i);}});this.eventsSubscription.add(e);}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e;}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(true),St$1,this.stateManager.restoredState(),{replaceUrl:true});}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i,o)=>{this.navigateToSyncWithBrowser(e,i,n,o);});}navigateToSyncWithBrowser(e,n,i,o){let s$1=i?.navigationId?i:null,u=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=s(r({},o),{browserUrl:e})),i){let c=r({},i);delete c.navigationId,delete c.\u0275routerPageId,delete c.\u0275routerUrl,Object.keys(c).length!==0&&(o.state=c);}let a=this.parseUrl(u);this.scheduleNavigation(a,n,s$1,o).catch(c=>{this.disposed||this.injector.get(jt$1)(c);});}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Bw(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ur$1),this.navigated=false;}ngOnDestroy(){this.dispose();}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=true,this.eventsSubscription.unsubscribe();}createUrlTree(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:u,preserveFragment:a}=n,c=a?this.currentUrlTree.fragment:s,l=null;switch(u??this.options.defaultQueryParamsHandling){case "merge":l=r(r({},this.currentUrlTree.queryParams),o);break;case "preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null;}l!==null&&(l=this.removeEmptyProps(l));let f;try{let p=i?i.snapshot:this.routerState.snapshot.root;f=Do$1(p);}catch(p){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root;}return wo$1(f,e,l,c??null,this.urlSerializer)}navigateByUrl(e,n={skipLocationChange:false}){let i=fe$1(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,St$1,null,n)}navigate(e,n={skipLocationChange:false}){return Tu(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(n){return this.console.warn(Yn$1(4018,false)),this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===true?i=r({},Or$1):n===false?i=r({},bt$1):i=r(r({},bt$1),n),fe$1(e))return yr$1(this.currentUrlTree,e,i);let o=this.parseUrl(e);return yr$1(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(false);let u,a,c;s?(u=s.resolve,a=s.reject,c=s.promise):c=new Promise((f,p)=>{u=f,a=p;});let l=this.pendingTasks.add();return Br$1(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l));}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:u,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(Promise.reject.bind(Promise))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})();function Tu(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new _$1(4008,false)}var Iu=(()=>{class t{router=C$1(Ie$2);stateManager=C$1(Nn);fragment=qo$2("");queryParams=qo$2({});path=qo$2("");serializer=C$1(Qe$1);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof X$1&&this.updateState();});}updateState(){let{fragment:e,root:n,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new N$1(n)));}static \u0275fac=function(n){return new(n||t)};static \u0275prov=br$2({token:t,factory:t.\u0275fac})}return t})(),Ln$1=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=C$1(new Kh("href"),{optional:true});reactiveHref=Uw(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Bw(this.reactiveHref)}set href(e){this.reactiveHref.set(e);}set target(e){this._target.set(e);}get target(){return Bw(this._target)}_target=qo$2(void 0);set queryParams(e){this._queryParams.set(e);}get queryParams(){return Bw(this._queryParams)}_queryParams=qo$2(void 0,{equal:()=>false});set fragment(e){this._fragment.set(e);}get fragment(){return Bw(this._fragment)}_fragment=qo$2(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e);}get queryParamsHandling(){return Bw(this._queryParamsHandling)}_queryParamsHandling=qo$2(void 0);set state(e){this._state.set(e);}get state(){return Bw(this._state)}_state=qo$2(void 0,{equal:()=>false});set info(e){this._info.set(e);}get info(){return Bw(this._info)}_info=qo$2(void 0,{equal:()=>false});set relativeTo(e){this._relativeTo.set(e);}get relativeTo(){return Bw(this._relativeTo)}_relativeTo=qo$2(void 0);set preserveFragment(e){this._preserveFragment.set(e);}get preserveFragment(){return Bw(this._preserveFragment)}_preserveFragment=qo$2(false);set skipLocationChange(e){this._skipLocationChange.set(e);}get skipLocationChange(){return Bw(this._skipLocationChange)}_skipLocationChange=qo$2(false);set replaceUrl(e){this._replaceUrl.set(e);}get replaceUrl(){return Bw(this._replaceUrl)}_replaceUrl=qo$2(false);browserUrl=$0$1(void 0);isAnchorElement;onChanges=new re$1;applicationErrorHandler=C$1(jt$1);options=C$1(nt,{optional:true});reactiveRouterState=C$1(Iu);constructor(e,n,i,o,s,u){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=u;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area"||!!(typeof customElements=="object"&&customElements.get(a)?.observedAttributes?.includes?.("href"));}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e);}ngOnChanges(e){this.onChanges.next(this);}routerLinkInput=qo$2(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(fe$1(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"));}onClick(e,n,i,o,s){let u=this._urlTree();if(u===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return true;let a=this.browserUrl(),c=r({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},a!==void 0&&{browserUrl:a});return this.router.navigateByUrl(u,c)?.catch(l=>{this.applicationErrorHandler(l);}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e);}_urlTree=Hw(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let n=this.routerLinkInput();return n===null||!this.router.createUrlTree?null:fe$1(n)?n:this.router.createUrlTree(n,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,n)=>this.computeHref(e)===this.computeHref(n)});get urlTree(){return Bw(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(n){return new(n||t)(kr$2(Ie$2),kr$2(ae$1),pf("tabindex"),kr$2(XI),kr$2(_r$2),kr$2(je$1))};static \u0275dir=XE({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,i){n&1&&gh("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&ah("href",i.reactiveHref(),Dv)("target",i._target());},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Z0$1],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Z0$1],replaceUrl:[2,"replaceUrl","replaceUrl",Z0$1],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[ly]})}return t})(),Mu=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=false;get isActive(){return this._isActive}routerLinkActiveOptions={exact:false};ariaCurrentWhenActive;isActiveChange=new Le$2;link=C$1(Ln$1,{optional:true});constructor(e,n,i,o){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof X$1&&this.update();});}ngAfterContentInit(){Dg(this.links.changes,Dg(null)).pipe(Hn$1()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges();});}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=Me$3(e).pipe(Hn$1()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update();});}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i);}ngOnChanges(e){this.update();}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe();}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n);}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e));});}isLinkActive(e){let n=Ou$1(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??false?r({},Or$1):r({},bt$1);return i=>{let o=i.urlTree;return o?Bw(Pr$1(o,e,n)):false}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(kr$2(Ie$2),kr$2(_r$2),kr$2(XI),kr$2(z0$1))};static \u0275dir=XE({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&vh(o,Ln$1,5),n&2){let s;qD(s=WD())&&(i.links=s);}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ly]})}return t})();function Ou$1(t){let r=t;return !!(r.paths||r.matrixParams||r.queryParams||r.fragment)}var Pu=new A$2("");function Fu(t,...r){return Eu$1([{provide:xt$1,multi:true,useValue:t},{provide:ae$1,useFactory:Nu},{provide:ih,multi:true,useFactory:Lu},r.map(e=>e.\u0275providers)])}function Nu(){return C$1(Ie$2).routerState.root}function Lu(){let t=C$1(Ee$2);return r=>{let e=t.get(Vi$3);if(r!==e.components[0])return;let n=t.get(Ie$2),i=t.get(xu);t.get(Uu)===1&&n.initialNavigation(),t.get(ku,null,{optional:true})?.setUpPreloading(),t.get(Pu,null,{optional:true})?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe());}}var xu=new A$2("",{factory:()=>new re$1}),Uu=new A$2("",{factory:()=>1});var ku=new A$2("");
|
|
6
|
+
var o=class extends Error{constructor(t,i){super(i),this.httpStatus=t,this.name="ApiError";}};var a={apiBaseUrl:"/api"};function p$1(r,t){return r&&typeof r=="object"&&"error"in r&&typeof r.error=="string"?r.error:t}function E(){return r=>r.pipe(Xi$3(t=>t instanceof Se$2?Pg(()=>new o(t.status,p$1(t.error,t.message||`HTTP ${t.status}`))):Pg(()=>t)))}var u$1=(()=>{class r{constructor(){this.http=C$1(Zi$2),this.baseUrl=`${a.apiBaseUrl}/workflow-shortcuts`;}list(){return this.http.get(this.baseUrl).pipe(E())}get(t){return this.http.get(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(E())}create(t){return this.http.post(this.baseUrl,t).pipe(E())}update(t,i){return this.http.patch(`${this.baseUrl}/${encodeURIComponent(t)}`,i).pipe(E())}reorder(t){return this.http.patch(`${this.baseUrl}/reorder`,{shortcutIds:t}).pipe(E())}delete(t){return this.http.delete(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(E())}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275prov=ie$1({token:r,factory:r.\u0275fac,providedIn:"root"});}}return r})();function ue(t){t||(t=C$1(at$1));let r=new S(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(im(r))}function Me$2(t,r){let e=C$1(Ee$2),n=new Ln$2(1),s=rd(()=>{let i;try{i=t();}catch(o){Bw(()=>n.error(o));return}Bw(()=>n.next(i));},{injector:e,manualCleanup:true});return e.get(at$1).onDestroy(()=>{s.destroy(),n.complete();}),n.asObservable()}function de$1(t,r){let n=!r?.manualCleanup?r?.injector?.get(at$1)??C$1(at$1):null,s=Ce(r?.equal),i;r?.requireSync?i=qo$2({kind:0},{equal:s}):i=qo$2({kind:1,value:r?.initialValue},{equal:s});let o,a=t.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),o?.();},complete:()=>{o?.();}});if(r?.requireSync&&i().kind===0)throw new _$1(601,false);return o=n?.onDestroy(a.unsubscribe.bind(a)),Hw(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new _$1(601,false)}},{equal:r?.equal})}function Ce(t=Object.is){return (r,e)=>r.kind===1&&e.kind===1&&t(r.value,e.value)}function fe(t){return typeof t=="function"}function y$1(t){return typeof t=="string"}function D$1(t){return !!t&&typeof t=="object"&&!Array.isArray(t)}function j(t){return t==null}function V$1(t){return !j(t)}function K(t){return t?Array.isArray(t)||y$1(t)?t.length:D$1(t)?Object.keys(t).length:0:0}function ge$1(t){return K(t)===0}function H(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(r,e)=>e==0?r.toLowerCase():r.toUpperCase()).replace(/\s+|_|-|\//g,"")}var G=class{translations;constructor(r){this.translations=r;}getTranslation(r){return Dg(this.translations.get(r)||{})}},pe=new A$2(""),A$1=new A$2("",{factory:()=>O$1}),O$1={defaultLang:"en",reRenderOnLangChange:false,prodMode:false,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:true,useFallbackTranslation:false,allowEmpty:false},flatten:{aot:false},interpolation:["{{","}}"],scopes:{keepCasing:false,autoPrefixKeys:true}};function De(t={}){return s(r(r({},O$1),t),{missingHandler:r(r({},O$1.missingHandler),t.missingHandler),flatten:r(r({},O$1.flatten),t.flatten),scopes:r(r({},O$1.scopes),t.scopes)})}function q$1(t,r){return t&&(Object.prototype.hasOwnProperty.call(t,r)?t[r]:r.split(".").reduce((e,n)=>e?.[n],t))}function we(t,r$1,e){t=r({},t);let n=r$1.split("."),s=n.length-1;return n.reduce((i,o,a)=>(a===s?i[o]=e:i[o]=Array.isArray(i[o])?i[o].slice():r({},i[o]),i&&i[o]),t),t}function Re$1(t){return `[transloco]:${t}`}var ve=new A$2(""),je=(()=>{class t{config=C$1(A$1,{optional:true})??O$1;get interpolationMatcher(){return Ne$2(this.config)}transpile({value:e,params:n={},translation:s,key:i}){if(y$1(e)){let o,a=e;for(;(o=this.interpolationMatcher.exec(a))!==null;){let[c,l]=o;a=a.replace(c,()=>{let u=l.trim(),f=q$1(n,u);return V$1(f)?f:V$1(s[u])?this.transpile({params:n,translation:s,key:i,value:s[u]}):""});}return a}else n&&(D$1(e)?e=this.handleObject({value:e,params:n,translation:s,key:i}):Array.isArray(e)&&(e=this.handleArray({value:e,params:n,translation:s,key:i})));return e}handleObject({value:e,params:n={},translation:s,key:i}){let o=e;return Object.keys(n).forEach(a=>{let c=this.transpile({value:q$1(o,a),params:q$1(n,a),translation:s,key:i});o=we(o,a,c);}),o}handleArray(s){var i=s,{value:e}=i,n=t$1(i,["value"]);return e.map(o=>this.transpile(r({value:o},n)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})();function Ne$2(t){let[r,e]=t.interpolation;return new RegExp(`${r}([^${r}${e}]*?)${e}`,"g")}var Le$1=new A$2(""),Ie$1=(()=>{class t{handle(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),me$1=new A$2(""),xe=(()=>{class t{preSaveTranslation(e){return e}preSaveTranslationKey(e,n){return n}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})(),ye=new A$2(""),Fe=(()=>{class t{userConfig;constructor(e){this.userConfig=e;}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e){let n;throw n=Re$1(4),new Error(n)}return Array.isArray(e)?e:[e]}static \u0275fac=function(n){return new(n||t)(Ae$2(A$1))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac})}return t})();function be(t){let{path:r,inlineLoader:e,mainLoader:n,data:s}=t;if(e){let i=e[r];if(fe(i)===false)throw `You're using an inline loader but didn't provide a loader for ${r}`;return e[r]().then(o=>o.default?o.default:o)}return n.getTranslation(r,s)}function Ee$1({mainLoader:t,path:r,data:e,fallbackPath:n,inlineLoader:s}){return (n?[r,n]:[r]).map(o=>{let a=be({path:o,mainLoader:t,inlineLoader:s,data:e});return Me$3(a).pipe(Se$3(c=>({translation:c,lang:o})))})}function he(t){let r={};function e(n,s){if(n===null)r[s]=null;else if(D$1(n))for(let[i,o]of Object.entries(n))e(o,s?`${s}.${i}`:i);else r[s]=n;}return e(t,""),r}function $e(t){let r={};for(let[e,n]of Object.entries(t)){let s=e.split("."),i=r;s.forEach((o,a)=>{a===s.length-1?i[o]=n:(i[o]??={},i=i[o]);});}return r}function w(t){if(!t)return "";let r=t.split("/");return r.pop(),r.join("/")}function p(t){return t?t.split("/").pop():""}function Pe(t,r){return Object.keys(t).reduce((e,n)=>(e[`${r}/${n}`]=t[n],e),{})}function Se$1(t){return typeof t?.scope=="string"}function ke(t){return t?.loader&&D$1(t.loader)}function Te$1(t,r){return ke(t)?Pe(t.loader,r):void 0}function B(t){return {scope:w(t)||null,langName:p(t)}}var z=class t extends Error{lang;fallbackLangs;isScope;name="TranslationLoadError";constructor(r,e,n){super(""),this.lang=r,this.fallbackLangs=e,this.isScope=n,Object.setPrototypeOf(this,t.prototype);}},Ve=(()=>{class t{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=false;lang;failedLangs=new Set;events=new re$1;events$=this.events.asObservable();config;activeLang;destroyRef=C$1(at$1);destroyed=false;constructor(e,n,s,i,o,a){this.loader=e,this.parser=n,this.missingHandler=s,this.interceptor=i,this.fallbackStrategy=a,this.loader||(this.loader=new G(this.translations)),this.config=JSON.parse(JSON.stringify(o)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new On$2(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.activeLang=de$1(this.lang,{requireSync:true}),this.events$.subscribe(c=>{c.type==="translationLoadSuccess"&&c.wasFailure&&this.setActiveLang(c.payload.langName);}),this.destroyRef.onDestroy(()=>{this.destroyed=true,this.lang.complete(),this.events.complete(),this.cache.clear();});}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e;}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:B(e)}),this}setAvailableLangs(e){this.availableLangs=e;}getAvailableLangs(){return this.availableLangs}load(e,n={}){if(this.destroyed)return mt$3;let s$1=this.cache.get(e);if(s$1)return s$1;let i,o=this._isLangScoped(e),a;o&&(a=w(e));let c={path:e,mainLoader:this.loader,inlineLoader:n.inlineLoader,data:o?{scope:a}:void 0};if(this.useFallbackTranslation(e)){let u=o?`${a}/${this.firstFallbackLang}`:this.firstFallbackLang,f=Ee$1(s(r({},c),{fallbackPath:u}));i=Ng(f);}else {let u=be(c);i=Me$3(u);}let l=i.pipe(rm(this.config.failedRetries),zl$1(u=>{if(Array.isArray(u)){u.forEach(f=>{this.handleSuccess(f.lang,f.translation),f.lang!==e&&this.cache.set(f.lang,Dg({}));});return}this.handleSuccess(e,u);}),Xi$3(u=>this.handleFailure(e,n)),Wl$1(1),ue(this.destroyRef));return this.cache.set(e,l),l}translate(e,n={},s=this.getActiveLang()){if(!e)return e;let{scope:i,resolveLang:o}=this.resolveLangAndScope(s);if(Array.isArray(e))return e.map(l=>this.translate(this.config.scopes.autoPrefixKeys&&i?`${i}.${l}`:l,n,o));e=this.config.scopes.autoPrefixKeys&&i?`${i}.${e}`:e;let a=this.getTranslation(o),c=a[e];return c?this.parser.transpile({value:c,params:n,translation:a,key:e}):this._handleMissingKey(e,c,n)}selectTranslate(e,n,s,i=false){let o,a=(l,u)=>this.load(l,u).pipe(Se$3(()=>i?this.translateObject(e,n,l):this.translate(e,n,l)));if(j(s))return this.langChanges$.pipe(Ml$1(l=>a(l)));if(s=Array.isArray(s)?s[s.length-1]:s,Se$1(s)){let l=s;s=l.scope,o=Te$1(l,l.scope);}if(s=s,this.isLang(s)||this.isScopeWithLang(s))return a(s);let c=s;return this.langChanges$.pipe(Ml$1(l=>a(`${c}/${l}`,{inlineLoader:o})))}isScopeWithLang(e){return this.isLang(p(e))}translateObject(e,n={},s=this.getActiveLang()){if(y$1(e)||Array.isArray(e)){let{resolveLang:o,scope:a}=this.resolveLangAndScope(s);if(Array.isArray(e))return e.map(u=>this.translateObject(this.config.scopes.autoPrefixKeys&&a?`${a}.${u}`:u,n,o));let c=this.getTranslation(o);e=this.config.scopes.autoPrefixKeys&&a?`${a}.${e}`:e;let l=$e(this.getObjectByKey(c,e));return ge$1(l)?this.translate(e,n,s):this.parser.transpile({value:l,params:n,translation:c,key:e})}let i=[];for(let[o,a]of this.getEntries(e))i.push(this.translateObject(o,a,s));return i}selectTranslateObject(e,n,s){if(y$1(e)||Array.isArray(e))return this.selectTranslate(e,n,s,true);let[[i,o],...a]=this.getEntries(e);return this.selectTranslateObject(i,o,s).pipe(Se$3(c=>{let l=[c];for(let[u,f]of a)l.push(this.translateObject(u,f,s));return l}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:n,resolveLang:s}=this.resolveLangAndScope(e),i=this.translations.get(s)||{};return this.getObjectByKey(i,n)}}return this.translations}selectTranslation(e){let n=this.langChanges$;if(e){let s=p(e)!==e;this.isLang(e)||s?n=Dg(e):n=this.langChanges$.pipe(Se$3(i=>`${e}/${i}`));}return n.pipe(Ml$1(s=>this.load(s).pipe(Se$3(()=>this.getTranslation(s)))))}setTranslation(e,n=this.getActiveLang(),s={}){let o=r(r({},{merge:true,emitChange:true}),s),a=w(n),c=e;if(a){let Ae=this.getMappedScope(a);c=he({[Ae]:e});}let l=a?p(n):n,u=r(r({},o.merge&&this.getTranslation(l)),c),f=this.config.flatten.aot?u:he(u),Oe=this.interceptor.preSaveTranslation(f,l);this.translations.set(l,Oe),o.emitChange&&this.setActiveLang(this.getActiveLang());}setTranslationKey(e,n,s$1={}){let i=s$1.lang||this.getActiveLang(),o=this.interceptor.preSaveTranslationKey(e,n,i),a={[e]:o};this.setTranslation(a,i,s(r({},s$1),{merge:true}));}setFallbackLangForMissingTranslation({fallbackLang:e}){let n=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(n)&&(this.firstFallbackLang=n);}_handleMissingKey(e,n,s){if(this.config.missingHandler.allowEmpty&&n==="")return "";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=true;let i=this.translate(e,s,this.firstFallbackLang);return this.isResolvedMissingOnce=false,i}return this.missingHandler.handle(e,this.getMissingHandlerData(),s)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,n){let s=p(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(s)?Fg([this.load(s),this.load(e,{inlineLoader:n})]):this.load(e,{inlineLoader:n})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(p(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,n){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=n;}isLoadedTranslation(e){return K(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return y$1(e)?this.getAvailableLangs():this.getAvailableLangs().map(n=>n.id)}getMissingHandlerData(){return s(r({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,n){this.setTranslation(n,e,{emitChange:false}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:B(e)}),this.failedLangs.forEach(s=>this.cache.delete(s)),this.failedLangs.clear();}handleFailure(e,n){j(n.failedCounter)&&(n.failedCounter=0,n.fallbackLangs||(n.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let s=e.split("/"),i=n.fallbackLangs,o=i[n.failedCounter];if(this.failedLangs.add(e),this.cache.has(o))return this.handleSuccess(o,this.getTranslation(o)),mt$3;let a=o===s[s.length-1];if(!o||a)throw new z(e,i??[],s.length>1);let c=o;return s.length>1&&(s[s.length-1]=o,c=s.join("/")),n.failedCounter++,this.events.next({type:"translationLoadFailure",payload:B(e)}),this.load(c,n)}getMappedScope(e){let{scopeMapping:n={},scopes:s={keepCasing:false}}=this.config;return n[e]||(s.keepCasing?e:H(e))}resolveLangAndScope(e){let n=e,s;if(this._isLangScoped(e)){let i=p(e),o=this.isLang(i);n=o?i:this.getActiveLang(),s=this.getMappedScope(o?w(e):e);}return {scope:s,resolveLang:n}}getObjectByKey(e,n){let s={},i=`${n}.`;for(let o in e)o.startsWith(i)&&(s[o.replace(i,"")]=e[o]);return s}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(n){return new(n||t)(Ae$2(pe,8),Ae$2(ve),Ae$2(Le$1),Ae$2(me$1),Ae$2(A$1),Ae$2(ye))};static \u0275prov=ie$1({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ke=new A$2("");var He$1=new A$2("");function U$2(t,r,e="|"){if(y$1(t)){let n=t.split(e),s=n.pop();return s===r?[true,n.toString()]:[false,s]}return [false,""]}function qe(t,r){let[e]=U$2(r,"static");return e?false:!!t.config.reRenderOnLangChange}function Be$1(t){return t?r=>r:yt$1(1)}var W$1=class W{initialized=false;resolve({inline:r,provider:e,active:n}){let s=n;if(this.initialized)return s=n,s;if(e){let[,i]=U$2(e,"static");s=i;}if(r){let[,i]=U$2(r,"static");s=i;}return this.initialized=true,s}resolveLangBasedOnScope(r){return w(r)?p(r):r}resolveLangPath(r,e){return e?`${e}/${r}`:r}},J$1=class J{service;constructor(r){this.service=r;}resolve(r){let{inline:e,provider:n}=r;if(e)return e;if(n){if(Se$1(n)){let{scope:s,alias:i=this.service.config.scopes.keepCasing?s:H(s)}=n;return this.service._setScopeAlias(s,i),s}return n}}};var Kt$1=(()=>{class t{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new W$1;scopeResolver;constructor(e,n,s,i){this.service=e,this.providerScope=n,this.providerLang=s,this.cdr=i,this.scopeResolver=new J$1(this.service);}transform(e,n,s){if(!e)return e;let i=n?`${e}${JSON.stringify(n)}`:e;if(i===this.lastKey)return this.lastValue;this.lastKey=i,this.subscription?.unsubscribe();let o=qe(this.service,this.providerLang||s);return this.subscription=this.service.langChanges$.pipe(Ml$1(a=>{let c=this.langResolver.resolve({inline:s,provider:this.providerLang,active:a});return Array.isArray(this.providerScope)?Ng(this.providerScope.map(l=>this.resolveScope(c,l))):this.resolveScope(c,this.providerScope)}),Be$1(o)).subscribe(()=>this.updateValue(e,n)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null;}updateValue(e,n){let s=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(e,n,s),this.cdr.markForCheck();}resolveScope(e,n){let s=this.scopeResolver.resolve({inline:void 0,provider:n});this.path=this.langResolver.resolveLangPath(e,s);let i=Te$1(n,s);return this.service._loadDependencies(this.path,i)}static \u0275fac=function(n){return new(n||t)(kr$2(Ve,16),kr$2(He$1,24),kr$2(Ke,24),kr$2(z0$1,16))};static \u0275pipe=eD({name:"transloco",type:t,pure:false})}return t})();function Ht(t){let r=[Ue(je),Je(Ie$1),Ye(xe),We(Fe)];return t.config&&r.push(Ge(t.config)),t.loader&&r.push(ze(t.loader)),r}function Ge(t){return Eu$1([{provide:A$1,useValue:De(t)}])}function ze(t){return Eu$1([{provide:pe,useClass:t}])}function Ue(t){return Eu$1([{provide:ve,useClass:t,deps:[A$1]}])}function We(t){return Eu$1([{provide:ye,useClass:t,deps:[A$1]}])}function Je(t){return Eu$1([{provide:Le$1,useClass:t}])}function Ye(t){return Eu$1([{provide:me$1,useClass:t}])}
|
|
7
|
+
var T6=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,o){this._renderer=e,this._elementRef=o;}setProperty(e,o){this._renderer.setProperty(this._elementRef.nativeElement,e,o);}registerOnTouched(e){this.onTouched=e;}registerOnChange(e){this.onChange=e;}setDisabledState(e){this.setProperty("disabled",e);}static \u0275fac=function(o){return new(o||n)(kr$2(XI),kr$2(_r$2))};static \u0275dir=XE({type:n})}return n})(),D6=(()=>{class n extends T6{static \u0275fac=(()=>{let e;return function(a){return (e||(e=Sy(n)))(a||n)}})();static \u0275dir=XE({type:n,features:[eh]})}return n})(),h1=new A$2(""),C0={provide:h1,useExisting:wo$2(()=>w0),multi:true},w0=(()=>{class n extends D6{writeValue(e){this.setProperty("checked",e);}static \u0275fac=(()=>{let e;return function(a){return (e||(e=Sy(n)))(a||n)}})();static \u0275dir=XE({type:n,selectors:[["input","type","checkbox","formControlName","",3,"ngNoCva",""],["input","type","checkbox","formControl","",3,"ngNoCva",""],["input","type","checkbox","ngModel","",3,"ngNoCva",""]],hostBindings:function(o,a){o&1&&gh("change",function(r){return a.onChange(r.target.checked)})("blur",function(){return a.onTouched()});},standalone:false,features:[Sw([C0]),eh]})}return n})(),x0={provide:h1,useExisting:wo$2(()=>S4),multi:true};function S0(){let n=ne()?ne().getUserAgent():"";return /android (\d+)/.test(n.toLowerCase())}var M3=new A$2(""),S4=(()=>{class n extends T6{_compositionMode;_composing=false;constructor(e,o,a){super(e,o),this._compositionMode=a,this._compositionMode==null&&(this._compositionMode=!S0());}writeValue(e){let o=e??"";this.setProperty("value",o);}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e);}_compositionStart(){this._composing=true;}_compositionEnd(e){this._composing=false,this._compositionMode&&this.onChange(e);}static \u0275fac=function(o){return new(o||n)(kr$2(XI),kr$2(_r$2),kr$2(M3,8))};static \u0275dir=XE({type:n,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(o,a){o&1&&gh("input",function(r){return a._handleInput(r.target.value)})("blur",function(){return a.onTouched()})("compositionstart",function(){return a._compositionStart()})("compositionend",function(r){return a._compositionEnd(r.target.value)});},standalone:false,features:[Sw([x0]),eh]})}return n})();function C3(n){return n==null||w3(n)===0}function w3(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var k4=new A$2(""),P6=new A$2(""),k0=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,p3=class{static min(t){return V0(t)}static max(t){return T0(t)}static required(t){return H6(t)}static requiredTrue(t){return D0(t)}static email(t){return P0(t)}static minLength(t){return H0(t)}static maxLength(t){return E6(t)}static pattern(t){return E0(t)}static nullValidator(t){return _4()}static compose(t){return I6(t)}static composeAsync(t){return B6(t)}};function V0(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return !isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}function T0(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return !isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function H6(n){return C3(n.value)?{required:true}:null}function D0(n){return n.value===true?null:{required:true}}function P0(n){return C3(n.value)||k0.test(n.value)?null:{email:true}}function H0(n){return t=>{let e=t.value?.length??w3(t.value);return e===null||e===0?null:e<n?{minlength:{requiredLength:n,actualLength:e}}:null}}function E6(n){return t=>{let e=t.value?.length??w3(t.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function E0(n){if(!n)return _4;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),o=>{if(C3(o.value))return null;let a=o.value;return t.test(a)?null:{pattern:{requiredPattern:e,actualValue:a}}}}function _4(n){return null}function O6(n){return n!=null}function Y6(n){return Qc$1(n)?Me$3(n):n}function F6(n){let t={};return n.forEach(e=>{t=e!=null?r(r({},t),e):t;}),Object.keys(t).length===0?null:t}function A6(n,t){return t.map(e=>e(n))}function O0(n){return !n.validate}function L6(n){return n.map(t=>O0(t)?t:e=>t.validate(e))}function I6(n){if(!n)return null;let t=n.filter(O6);return t.length==0?null:function(e){return F6(A6(e,t))}}function N6(n){return n!=null?I6(L6(n)):null}function B6(n){if(!n)return null;let t=n.filter(O6);return t.length==0?null:function(e){let o=A6(e,t).map(Y6);return Ng(o).pipe(Se$3(F6))}}function R6(n){return n!=null?B6(L6(n)):null}function b6(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function j6(n){return n._rawValidators}function U6(n){return n._rawAsyncValidators}function f3(n){return n?Array.isArray(n)?n:[n]:[]}function b4(n,t){return Array.isArray(n)?n.includes(t):n===t}function M6(n,t){let e=f3(t);return f3(n).forEach(a=>{b4(e,a)||e.push(a);}),e}function C6(n,t){return f3(t).filter(e=>!b4(n,e))}var M4=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=N6(this._rawValidators);}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=R6(this._rawAsyncValidators);}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t);}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[];}reset(t=void 0){this.control?.reset(t);}hasError(t,e){return this.control?this.control.hasError(t,e):false}getError(t,e){return this.control?this.control.getError(t,e):null}},v3=class extends M4{name;get formDirective(){return null}get path(){return null}};var S1="VALID",z4="INVALID",c1="PENDING",k1="DISABLED",It=class{},C4=class extends It{value;source;constructor(t,e){super(),this.value=t,this.source=e;}},V1=class extends It{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e;}},T1=class extends It{touched;source;constructor(t,e){super(),this.touched=t,this.source=e;}},l1=class extends It{status;source;constructor(t,e){super(),this.status=t,this.source=e;}};var Nt=class extends It{source;constructor(t){super(),this.source=t;}};function x3(n){return (V4(n)?n.validators:n)||null}function Y0(n){return Array.isArray(n)?N6(n):n||null}function S3(n,t){return (V4(t)?t.asyncValidators:n)||null}function F0(n){return Array.isArray(n)?R6(n):n||null}function V4(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function W6(n,t,e){let o=n.controls;if(!(t?Object.keys(o):o).length)throw new _$1(1e3,"");if(!K6(o,e))throw new _$1(1001,"")}function q6(n,t,e){n._forEachChild((o,a)=>{if(e[a]===void 0)throw new _$1(-1002,"")});}var s1=class{_pendingDirty=false;_hasOwnPendingAsyncValidator=null;_pendingTouched=false;_onCollectionChange=()=>{};_updateOn;_hasRequired=qo$2(false);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e);}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t,this._updateHasRequiredValidator();}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t;}get parent(){return this._parent}get status(){return Bw(this.statusReactive)}set status(t){Bw(()=>this.statusReactive.set(t));}_status=Hw(()=>this.statusReactive());statusReactive=qo$2(void 0);get valid(){return this.status===S1}get invalid(){return this.status===z4}get pending(){return this.status===c1}get disabled(){return this.status===k1}get enabled(){return this.status!==k1}errors;get pristine(){return Bw(this.pristineReactive)}set pristine(t){Bw(()=>this.pristineReactive.set(t));}_pristine=Hw(()=>this.pristineReactive());pristineReactive=qo$2(true);get dirty(){return !this.pristine}get touched(){return Bw(this.touchedReactive)}set touched(t){Bw(()=>this.touchedReactive.set(t));}_touched=Hw(()=>this.touchedReactive());touchedReactive=qo$2(false);get untouched(){return !this.touched}_events=new re$1;events=this._events.asObservable();valueChanges;statusChanges;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(M6(t,this._rawValidators));}addAsyncValidators(t){this.setAsyncValidators(M6(t,this._rawAsyncValidators));}removeValidators(t){this.setValidators(C6(t,this._rawValidators));}removeAsyncValidators(t){this.setAsyncValidators(C6(t,this._rawAsyncValidators));}hasValidator(t){return b4(this._rawValidators,t)}hasAsyncValidator(t){return b4(this._rawAsyncValidators,t)}clearValidators(){this.validator=null;}clearAsyncValidators(){this.asyncValidator=null;}markAsTouched(t={}){let e=this.touched===false;this.touched=true;let o=t.sourceControl??this;t.onlySelf||this._parent?.markAsTouched(s(r({},t),{sourceControl:o})),e&&t.emitEvent!==false&&this._events.next(new T1(true,o));}markAllAsDirty(t={}){this.markAsDirty({onlySelf:true,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(t));}markAllAsTouched(t={}){this.markAsTouched({onlySelf:true,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t));}markAsUntouched(t={}){let e=this.touched===true;this.touched=false,this._pendingTouched=false;let o=t.sourceControl??this;this._forEachChild(a=>{a.markAsUntouched({onlySelf:true,emitEvent:t.emitEvent,sourceControl:o});}),t.onlySelf||this._parent?._updateTouched(t,o),e&&t.emitEvent!==false&&this._events.next(new T1(false,o));}markAsDirty(t={}){let e=this.pristine===true;this.pristine=false;let o=t.sourceControl??this;t.onlySelf||this._parent?.markAsDirty(s(r({},t),{sourceControl:o})),e&&t.emitEvent!==false&&this._events.next(new V1(false,o));}markAsPristine(t={}){let e=this.pristine===false;this.pristine=true,this._pendingDirty=false;let o=t.sourceControl??this;this._forEachChild(a=>{a.markAsPristine({onlySelf:true,emitEvent:t.emitEvent});}),t.onlySelf||this._parent?._updatePristine(t,o),e&&t.emitEvent!==false&&this._events.next(new V1(true,o));}markAsPending(t={}){this.status=c1;let e=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new l1(this.status,e)),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.markAsPending(s(r({},t),{sourceControl:e}));}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=k1,this.errors=null,this._forEachChild(a=>{a.disable(s(r({},t),{onlySelf:true}));}),this._updateValue();let o=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new C4(this.value,o)),this._events.next(new l1(this.status,o)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(s(r({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(a=>a(true));}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=S1,this._forEachChild(o=>{o.enable(s(r({},t),{onlySelf:true}));}),this.updateValueAndValidity({onlySelf:true,emitEvent:t.emitEvent}),this._updateAncestors(s(r({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(false));}_updateAncestors(t,e){t.onlySelf||(this._parent?.updateValueAndValidity(t),t.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e));}setParent(t){this._parent=t;}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let o=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===S1||this.status===c1)&&this._runAsyncValidator(o,t.emitEvent);}let e=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new C4(this.value,e)),this._events.next(new l1(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.updateValueAndValidity(s(r({},t),{sourceControl:e}));}_updateTreeValidity(t={emitEvent:true}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:true,emitEvent:t.emitEvent});}_setInitialStatus(){this.status=this._allControlsDisabled()?k1:S1;}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=c1,this._hasOwnPendingAsyncValidator={emitEvent:e!==false,shouldHaveEmitted:t!==false};let o=Y6(this.asyncValidator(this));this._asyncValidationSubscription=o.subscribe(a=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(a,{emitEvent:e,shouldHaveEmitted:t});});}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??false;return this._hasOwnPendingAsyncValidator=null,t}return false}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==false,this,e.shouldHaveEmitted);}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((o,a)=>o&&o._find(a),this)}getError(t,e){let o=e?this.get(e):this;return o?.errors?o.errors[t]:null}hasError(t,e){return !!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,o){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||o)&&this._events.next(new l1(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,o);}_initObservables(){this.valueChanges=new Le$2,this.statusChanges=new Le$2;}_calculateStatus(){return this._allControlsDisabled()?k1:this.errors?z4:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(c1)?c1:this._anyControlsHaveStatus(z4)?z4:S1}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let o=!this._anyControlsDirty(),a=this.pristine!==o;this.pristine=o,t.onlySelf||this._parent?._updatePristine(t,e),a&&this._events.next(new V1(this.pristine,e));}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new T1(this.touched,e)),t.onlySelf||this._parent?._updateTouched(t,e);}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t;}_setUpdateStrategy(t){V4(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn);}_parentMarkedDirty(t){return !t&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Y0(this._rawValidators),this._updateHasRequiredValidator();}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=F0(this._rawAsyncValidators);}_updateHasRequiredValidator(){Bw(()=>this._hasRequired.set(this.hasValidator(p3.required)));}};function K6(n,t){return Object.hasOwn(n,t)}function A0(n){return n.tagName==="INPUT"||n.tagName==="SELECT"||n.tagName==="TEXTAREA"}function L0(n,t,e,o){switch(e){case "name":n.setAttribute(t,e,o);break;case "disabled":case "readonly":case "required":o?n.setAttribute(t,e,""):n.removeAttribute(t,e);break;case "max":case "min":case "minLength":case "maxLength":o!==void 0?n.setAttribute(t,e,o.toString()):n.removeAttribute(t,e);break}}var g3=class{kind;context;control;message;constructor({kind:t,context:e,control:o}){this.kind=t,this.context=e,this.control=o;}};function I0(n){return typeof n=="number"?n:parseInt(n,10)}var G6=(()=>{class n{_validator=_4;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let o=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):_4,this._onChange?.();}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e;}enabled(e){return e!=null}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,features:[ly]})}return n})();var N0={provide:k4,useExisting:wo$2(()=>$6),multi:true};var $6=(()=>{class n extends G6{required;inputName="required";normalizeInput=Z0$1;createValidator=e=>H6;enabled(e){return e}static \u0275fac=(()=>{let e;return function(a){return (e||(e=Sy(n)))(a||n)}})();static \u0275dir=XE({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(o,a){o&2&&ah("required",a._enabled?"":null);},inputs:{required:"required"},standalone:false,features:[Sw([N0]),eh]})}return n})();var B0={provide:k4,useExisting:wo$2(()=>R0),multi:true},R0=(()=>{class n extends G6{maxlength;inputName="maxlength";normalizeInput=e=>I0(e);createValidator=e=>E6(e);static \u0275fac=(()=>{let e;return function(a){return (e||(e=Sy(n)))(a||n)}})();static \u0275dir=XE({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(o,a){o&2&&ah("maxlength",a._enabled?a.maxlength:null);},inputs:{maxlength:"maxlength"},standalone:false,features:[Sw([B0]),eh]})}return n})();var j0=new A$2(""),T4=new A$2("",{factory:()=>D4}),D4="always";function U0(n,t){return [...t.path,n]}function z3(n,t,e=D4){q0(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),G0(n,t),Z0(n,t),$0(n,t),W0(n,t);}function w6(n,t,e=true){let o=()=>{};t?.valueAccessor?.registerOnChange(o),t?.valueAccessor?.registerOnTouched(o),K0(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}));}function w4(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t);});}function W0(n,t){if(t.valueAccessor.setDisabledState){let e=o=>{t.valueAccessor.setDisabledState(o);};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e);});}}function q0(n,t){let e=j6(n);t.validator!==null?n.setValidators(b6(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let o=U6(n);t.asyncValidator!==null?n.setAsyncValidators(b6(o,t.asyncValidator)):typeof o=="function"&&n.setAsyncValidators([o]);let a=()=>n.updateValueAndValidity();w4(t._rawValidators,a),w4(t._rawAsyncValidators,a);}function K0(n,t){let e=false;if(n!==null){if(t.validator!==null){let a=j6(n);if(Array.isArray(a)&&a.length>0){let i=a.filter(r=>r!==t.validator);i.length!==a.length&&(e=true,n.setValidators(i));}}if(t.asyncValidator!==null){let a=U6(n);if(Array.isArray(a)&&a.length>0){let i=a.filter(r=>r!==t.asyncValidator);i.length!==a.length&&(e=true,n.setAsyncValidators(i));}}}let o=()=>{};return w4(t._rawValidators,o),w4(t._rawAsyncValidators,o),e}function G0(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=true,n._pendingDirty=true,n.updateOn==="change"&&Z6(n,t);});}function $0(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=true,n.updateOn==="blur"&&n._pendingChange&&Z6(n,t),n.updateOn!=="submit"&&n.markAsTouched();});}function Z6(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:false}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=false;}function Z0(n,t){let e=(o,a)=>{t.valueAccessor.writeValue(o),a&&t.viewToModelUpdate(o);};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e);});}function Q6(n,t){if(!n.hasOwnProperty("model"))return false;let e=n.model;return e.isFirstChange()?true:!Object.is(t,e.currentValue)}function Q0(n){return Object.getPrototypeOf(n.constructor)===D6}function X0(n,t){if(!t)return null;let e,o,a;return t.forEach(i=>{i.constructor===S4?e=i:Q0(i)?o=i:a=i;}),a||o||e||null}var X6={provide:j0,useFactory:()=>{let n=C$1(bt,{self:true});return {setParseErrors:t=>{n.setParseErrorSource(t);},set onReset(t){n.onReset=t;}}}},bt=class extends M4{_parent=null;name=null;valueAccessor=null;isCustomControlBased=false;userOnReset;resetSubscription;set onReset(t){this.userOnReset=t,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(e=>{e instanceof Nt&&this.control&&this.userOnReset?.(this.control.value);}),this.subscription?.add(this.resetSubscription));}isNativeFormElement=false;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=X0(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(t,e,o){super(),this.injector=t,this.renderer=e,this.rawValueAccessors=o,this.injector?.get(at$1)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe();});}setupCustomControl(){this.subscription?.unsubscribe();let t=this.injector?.get(z0$1);if(!this.control||!t)return;let e=t.markForCheck.bind(t);this.subscription=new H$1,this.subscription.add(this.control.valueChanges.subscribe(e)),this.subscription.add(this.control.statusChanges.subscribe(e)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(o=>{o instanceof Nt&&this.control&&this.userOnReset?.(this.control.value);}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator);}ngControlCreate(t){!t.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!t.customControl||(this.isCustomControlBased=true,t.listenToCustomControlModel(a=>{this.control?.setValue(a,{emitModelToViewChange:false}),this.control?.markAsDirty(),this.viewToModelUpdate(a);}),t.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched();}),this.customControlBindings={},this.isNativeFormElement=A0(t.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(a=>a instanceof $6));}ngControlUpdate(t,e){if(!this.isCustomControlBased)return;let o=this.control,a=this.customControlBindings;Object.is(a.value,o.value)||(a.value=o.value,t.setCustomControlModelInput(o.value)),this.bindControlProperty(t,a,"touched",o.touched),this.bindControlProperty(t,a,"dirty",o.dirty),this.bindControlProperty(t,a,"valid",o.valid),this.bindControlProperty(t,a,"invalid",o.invalid),this.bindControlProperty(t,a,"pending",o.pending),this.bindControlProperty(t,a,"disabled",o.disabled),this.shouldBindRequired&&this.bindControlProperty(t,a,"required",this.isRequired);let i=o.errors;if(a.errors!==i){a.errors=i;let r=this._convertErrors(i);t.setInputOnDirectives("errors",r);}}get isRequired(){return (this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??false}get shouldBindRequired(){return true}bindControlProperty(t,e,o,a){if(e[o]===a)return;e[o]=a;let i=t.setInputOnDirectives(o,a);this.isNativeFormElement&&!i&&(o==="disabled"||o==="required")&&this.renderer&&L0(this.renderer,t.nativeElement,o,a);}_convertErrors(t){if(t===null)return [];let e=this.control;return Object.entries(t).map(([o,a])=>new g3({context:a,kind:o,control:e}))}setParseErrorSource(t){if(t===void 0)return;let e=null,o=Hw(()=>{let a=t();return a.length===0?null:a.reduce((i,r)=>(i[r.kind]=r,i),{})});this.parseErrorsValidator=(()=>e).bind(this),rd(()=>{e=o(),this.control?.updateValueAndValidity({emitEvent:false});},{injector:this.injector});}removeParseErrorsValidator(t){this.parseErrorsValidator&&(t?.removeValidators(this.parseErrorsValidator),t?.updateValueAndValidity({emitEvent:false}));}},y3=class{_cd;constructor(t){this._cd=t;}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return !!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return !!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return !!this._cd?.control?.invalid}get isPending(){return !!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var J6=(()=>{class n extends y3{constructor(e){super(e);}static \u0275fac=function(o){return new(o||n)(kr$2(bt,2))};static \u0275dir=XE({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,a){o&2&&Mh("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending);},standalone:false,features:[eh]})}return n})();var x4=class extends s1{constructor(t,e,o){super(x3(e),S3(o,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator});}controls;registerControl(t,e){let o=this._find(t);return o||(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,o={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange();}removeControl(t,e={}){let o=this._find(t);o&&o._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}setControl(t,e,o={}){let a=this._find(t);a&&a._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange();}contains(t){return this._find(t)?.enabled===true}setValue(t,e={}){Bw(()=>{q6(this,true,t),Object.keys(t).forEach(o=>{W6(this,true,o),this.controls[o].setValue(t[o],{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);});}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(o=>{let a=this._find(o);a&&a.patchValue(t[o],{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(t={},e={}){this._forEachChild((o,a)=>{o.reset(t?t[a]:null,s(r({},e),{onlySelf:true}));}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==false&&this._events.next(new Nt(this));}getRawValue(){return this._reduceChildren({},(t,e,o)=>(t[o]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(false,(e,o)=>o._syncPendingControls()?true:e);return t&&this.updateValueAndValidity({onlySelf:true}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let o=this.controls[e];o&&t(o,e);});}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);});}_updateValue(){this.value=this._reduceValue();}_anyControls(t){for(let[e,o]of Object.entries(this.controls))if(this.contains(e)&&t(o))return true;return false}_reduceValue(){let t={};return this._reduceChildren(t,(e,o,a)=>((o.enabled||this.disabled)&&(e[a]=o.value),e))}_reduceChildren(t,e){let o=t;return this._forEachChild((a,i)=>{o=e(o,a,i);}),o}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return false;return Object.keys(this.controls).length>0||this.disabled}_find(t){return K6(this.controls,t)?this.controls[t]:null}};var _3=class extends x4{};function x6(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1);}function S6(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var y4=class extends s1{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=false;constructor(t=null,e,o){super(x3(e),S3(o,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator}),V4(e)&&(e.nonNullable||e.initialValueIsDefault)&&(S6(t)?this.defaultValue=t.value:this.defaultValue=t);}setValue(t,e={}){Bw(()=>{this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==false&&this._onChange.forEach(o=>o(this.value,e.emitViewToModelChange!==false)),this.updateValueAndValidity(e);});}patchValue(t,e={}){this.setValue(t,e);}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=false,e?.emitEvent!==false&&this._events.next(new Nt(this));}_updateValue(){}_anyControls(t){return false}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t);}_unregisterOnChange(t){x6(this._onChange,t);}registerOnDisabledChange(t){this._onDisabledChange.push(t);}_unregisterOnDisabledChange(t){x6(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:true,emitModelToViewChange:false}),true):false}_applyFormState(t){S6(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:true,emitEvent:false}):this.enable({onlySelf:true,emitEvent:false})):this.value=this._pendingValue=t;}};var J0={provide:bt,useExisting:wo$2(()=>k3)},k6=Promise.resolve(),k3=(()=>{class n extends bt{_changeDetectorRef;callSetDisabledState;control=new y4;static ngAcceptInputType_isDisabled;_registered=false;viewModel;name="";isDisabled;model;options;update=new Le$2;constructor(e,o,a,i,r,c,s,h){super(s,h,i),this._changeDetectorRef=r,this.callSetDisabledState=c,this._parent=e,this._setValidators(o),this._setAsyncValidators(a);}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let o=e.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)});}this._setUpControl();}"isDisabled"in e&&this._updateDisabled(e),Q6(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.formDirective?.removeControl(this);}\u0275ngControlCreate(e){super.ngControlCreate(e);}\u0275ngControlUpdate(e){super.ngControlUpdate(e,false);}get shouldBindRequired(){return false}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=true;}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn);}_isStandalone(){return !this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,z3(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:false});}_setupWithForm(e){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,z3(this.control,this,e));}_checkForErrors(){this._checkName();}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name;}_updateValue(e){k6.then(()=>{this.control.setValue(e,{emitViewToModelChange:false}),this._changeDetectorRef?.markForCheck();});}_updateDisabled(e){let o=e.isDisabled.currentValue,a=o!==0&&Z0$1(o);k6.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck();});}_getPath(e){return this._parent?U0(e,this._parent):[e]}static \u0275fac=function(o){return new(o||n)(kr$2(v3,9),kr$2(k4,10),kr$2(P6,10),kr$2(h1,10),kr$2(z0$1,8),kr$2(T4,8),kr$2(Ee$2,8),kr$2(XI,8))};static \u0275dir=XE({type:n,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"],standalone:false,features:[Sw([J0,X6]),eh,ly,nD(null)]})}return n})();var b3=class extends s1{constructor(t,e,o){super(x3(e),S3(o,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator});}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){Array.isArray(t)?t.forEach(o=>{this.controls.push(o),this._registerControl(o);}):(this.controls.push(t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}insert(t,e,o={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:o.emitEvent});}removeAt(t,e={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent});}setControl(t,e,o={}){let a=this._adjustIndex(t);a<0&&(a=0),this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),e&&(this.controls.splice(a,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange();}get length(){return this.controls.length}setValue(t,e={}){Bw(()=>{q6(this,false,t),t.forEach((o,a)=>{W6(this,false,a),this.at(a).setValue(o,{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);});}patchValue(t,e={}){t!=null&&(t.forEach((o,a)=>{this.at(a)&&this.at(a).patchValue(o,{onlySelf:true,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(t=[],e={}){this._forEachChild((o,a)=>{o.reset(t[a],s(r({},e),{onlySelf:true}));}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==false&&this._events.next(new Nt(this));}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}));}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,o)=>o._syncPendingControls()?true:e,false);return t&&this.updateValueAndValidity({onlySelf:true}),t}_forEachChild(t){this.controls.forEach((e,o)=>{t(e,o);});}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value);}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t));}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return false;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);}_find(t){return this.at(t)??null}};var e8=new A$2(""),er={provide:bt,useExisting:wo$2(()=>tr)},tr=(()=>{class n extends bt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new Le$2;static _ngModelWarningSentOnce=false;_ngModelWarningSent=false;constructor(e,o,a,i,r,c,s){super(s,c,a),this._ngModelWarningConfig=i,this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(o);}ngOnChanges(e){if(this._isControlChanged(e)){let o=e.form.previousValue;o&&(w6(o,this,false),this.removeParseErrorsValidator(o)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,z3(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:false});}Q6(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.form&&w6(this.form,this,false);}get path(){return []}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}_isControlChanged(e){return e.hasOwnProperty("form")}\u0275ngControlCreate(e){super.ngControlCreate(e);}\u0275ngControlUpdate(e){super.ngControlUpdate(e,true);}static \u0275fac=function(o){return new(o||n)(kr$2(k4,10),kr$2(P6,10),kr$2(h1,10),kr$2(e8,8),kr$2(T4,8),kr$2(XI,8),kr$2(Ee$2,8))};static \u0275dir=XE({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:false,features:[Sw([er,X6]),eh,ly,nD(null)]})}return n})();var t8=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})();function V6(n){return !!n&&(n.asyncValidators!==void 0||n.validators!==void 0||n.updateOn!==void 0)}var G5=(()=>{class n{useNonNullable=false;get nonNullable(){let e=new n;return e.useNonNullable=true,e}group(e,o=null){let a=this._reduceControls(e),i={};return V6(o)?i=o:o!==null&&(i.validators=o.validator,i.asyncValidators=o.asyncValidator),new x4(a,i)}record(e,o=null){let a=this._reduceControls(e);return new _3(a,o)}control(e,o,a){let i={};return this.useNonNullable?(V6(o)?i=o:(i.validators=o,i.asyncValidators=a),new y4(e,s(r({},i),{nonNullable:true}))):new y4(e,o,a)}array(e,o,a){let i=e.map(r=>this._createControl(r));return new b3(i,o,a)}_reduceControls(e){let o={};return Object.keys(e).forEach(a=>{o[a]=this._createControl(e[a]);}),o}_createControl(e){if(e instanceof y4)return e;if(e instanceof s1)return e;if(Array.isArray(e)){let o=e[0],a=e.length>1?e[1]:null,i=e.length>2?e[2]:null;return this.control(o,a,i)}else return this.control(e)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();var n8=(()=>{class n{static withConfig(e){return {ngModule:n,providers:[{provide:T4,useValue:e.callSetDisabledState??D4}]}}static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({imports:[t8]})}return n})(),$5=(()=>{class n{static withConfig(e){return {ngModule:n,providers:[{provide:e8,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:T4,useValue:e.callSetDisabledState??D4}]}}static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({imports:[t8]})}return n})();var t7=(()=>{class n{elementRef=C$1(_r$2);renderer=C$1(XI);hidden=null;setHiddenAttribute(){this.hidden?typeof this.hidden=="string"?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",this.hidden):this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden");}constructor(){this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","");}ngOnChanges(){this.setHiddenAttribute();}ngAfterViewInit(){this.setHiddenAttribute();}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","nz-button",""],["","nz-icon",""],["nz-icon"],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[ly]})}return n})(),o8=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})();var V3;try{V3=typeof Intl<"u"&&Intl.v8BreakIterator;}catch(n){V3=false;}var J=(()=>{class n{_platformId=C$1(Wm);isBrowser=this._platformId?jl$1(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||V3)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();var Ze=(function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n})(Ze||{}),P4,Bt;function H4(){if(Bt==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Bt=false,Bt;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Bt=true;else {let n=Element.prototype.scrollTo;n?Bt=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Bt=false;}}return Bt}function d1(){if(typeof document!="object"||!document)return Ze.NORMAL;if(P4==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let e=document.createElement("div"),o=e.style;o.width="2px",o.height="1px",n.appendChild(e),document.body.appendChild(n),P4=Ze.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,P4=n.scrollLeft===0?Ze.NEGATED:Ze.INVERTED),n.remove();}return P4}var T3;function a8(){if(T3==null){let n=typeof document<"u"?document.head:null;T3=!!(n&&(n.createShadowRoot||n.attachShadow));}return T3}function D3(n){if(a8()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function P3(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t;}return n}function He(n){if(n.composedPath)try{return n.composedPath()[0]}catch(t){}return n.target}function H3(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var D1;function or(){if(D1==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>D1=!0}));}finally{D1=D1||false;}return D1}function i8(n){return or()?n:!!n.capture}var E3=class{triggerElement;ngZone;insertExtraNode;platform;cspNonce;waveTransitionDuration=400;styleForPseudo=null;extraNode=null;lastTime=0;clickHandler;get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(t,e,o,a,i){this.triggerElement=t,this.ngZone=e,this.insertExtraNode=o,this.platform=a,this.cspNonce=i,this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent();}onClick=t=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||t.target.tagName==="INPUT"||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave();};bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,true);});}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,true);}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode);}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode();}fadeOutWave(){let t=this.triggerElement,e=this.getWaveColor(t);t.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(e)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`
|
|
8
|
+
[ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {
|
|
9
|
+
--antd-wave-shadow-color: ${e};
|
|
10
|
+
}`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",t.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{t.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode();},this.waveTransitionDuration));}isValidColor(t){return !!t&&t!=="#ffffff"&&t!=="rgb(255, 255, 255)"&&this.isNotGrey(t)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(t)&&t!=="transparent"}isNotGrey(t){let e=t.match(/rgba?\((\d*), (\d*), (\d*)(, [.\d]*)?\)/);return e&&e[1]&&e[2]&&e[3]?!(e[1]===e[2]&&e[2]===e[3]):true}getWaveColor(t){let e=getComputedStyle(t);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(t,e){this.ngZone.runOutsideAngular(()=>setTimeout(t,e));}},ar={disabled:false},r8=new A$2("");function ir(n){return Eu$1([{provide:r8,useValue:n}])}var y7=(()=>{class n{nzWaveExtraNode=false;waveRenderer;waveDisabled=false;get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}cspNonce=C$1(zm,{optional:true});platform=C$1(J);config=C$1(r8,{optional:true});animationType=C$1(Gm,{optional:true});ngZone=C$1(oe$1);elementRef=C$1(_r$2);constructor(){this.waveDisabled=this.isConfigDisabled();}isConfigDisabled(){let e=false;return this.config&&typeof this.config.disabled=="boolean"&&(e=this.config.disabled),this.animationType==="NoopAnimations"&&(e=true),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy();}ngOnInit(){this.renderWaveIfEnabled();}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new E3(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platform,this.cspNonce));}disable(){this.waveDisabled=true,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode());}enable(){this.waveDisabled=this.isConfigDisabled()||false,this.waveRenderer&&this.waveRenderer.bindTriggerEvent();}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return n})(),c8=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({providers:[ir(ar)]})}return n})();var rr=new A$2("cdk-dir-doc",{providedIn:"root",factory:()=>C$1(Uo$2)}),cr=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function l8(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?cr.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Le=(()=>{class n{get value(){return this.valueSignal()}valueSignal=qo$2("ltr");change=new Le$2;constructor(){let e=C$1(rr,{optional:true});if(e){let o=e.body?e.body.dir:null,a=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(l8(o||a||"ltr"));}}ngOnDestroy(){this.change.complete();}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();var P1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})();function me(n,t){lr(n)&&(n="100%");var e=sr(n);return n=t===360?n:Math.min(t,Math.max(0,parseFloat(n))),e&&(n=parseInt(String(n*t),10)/100),Math.abs(n-t)<1e-6?1:(t===360?n=(n<0?n%t+t:n%t)/parseFloat(String(t)):n=n%t/parseFloat(String(t)),n)}function H1(n){return Math.min(1,Math.max(0,n))}function lr(n){return typeof n=="string"&&n.indexOf(".")!==-1&&parseFloat(n)===1}function sr(n){return typeof n=="string"&&n.indexOf("%")!==-1}function E4(n){return n=parseFloat(n),(isNaN(n)||n<0||n>1)&&(n=1),n}function E1(n){return n<=1?"".concat(Number(n)*100,"%"):n}function Mt(n){return n.length===1?"0"+n:String(n)}function s8(n,t,e){return {r:me(n,255)*255,g:me(t,255)*255,b:me(e,255)*255}}function Y3(n,t,e){n=me(n,255),t=me(t,255),e=me(e,255);var o=Math.max(n,t,e),a=Math.min(n,t,e),i=0,r=0,c=(o+a)/2;if(o===a)r=0,i=0;else {var s=o-a;switch(r=c>.5?s/(2-o-a):s/(o+a),o){case n:i=(t-e)/s+(t<e?6:0);break;case t:i=(e-n)/s+2;break;case e:i=(n-t)/s+4;break;}i/=6;}return {h:i,s:r,l:c}}function O3(n,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?n+(t-n)*(6*e):e<1/2?t:e<2/3?n+(t-n)*(2/3-e)*6:n}function h8(n,t,e){var o,a,i;if(n=me(n,360),t=me(t,100),e=me(e,100),t===0)a=e,i=e,o=e;else {var r=e<.5?e*(1+t):e+t-e*t,c=2*e-r;o=O3(c,r,n+1/3),a=O3(c,r,n),i=O3(c,r,n-1/3);}return {r:o*255,g:a*255,b:i*255}}function O1(n,t,e){n=me(n,255),t=me(t,255),e=me(e,255);var o=Math.max(n,t,e),a=Math.min(n,t,e),i=0,r=o,c=o-a,s=o===0?0:c/o;if(o===a)i=0;else {switch(o){case n:i=(t-e)/c+(t<e?6:0);break;case t:i=(e-n)/c+2;break;case e:i=(n-t)/c+4;break;}i/=6;}return {h:i,s,v:r}}function d8(n,t,e){n=me(n,360)*6,t=me(t,100),e=me(e,100);var o=Math.floor(n),a=n-o,i=e*(1-t),r=e*(1-a*t),c=e*(1-(1-a)*t),s=o%6,h=[e,r,i,i,c,e][s],f=[c,e,e,r,i,i][s],v=[i,i,c,e,e,r][s];return {r:h*255,g:f*255,b:v*255}}function Y1(n,t,e,o){var a=[Mt(Math.round(n).toString(16)),Mt(Math.round(t).toString(16)),Mt(Math.round(e).toString(16))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function u8(n,t,e,o,a){var i=[Mt(Math.round(n).toString(16)),Mt(Math.round(t).toString(16)),Mt(Math.round(e).toString(16)),Mt(hr(o))];return a&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function hr(n){return Math.round(parseFloat(n)*255).toString(16)}function F3(n){return Te(n)/255}function Te(n){return parseInt(n,16)}function m8(n){return {r:n>>16,g:(n&65280)>>8,b:n&255}}var F1={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function wt(n){var t={r:0,g:0,b:0},e=1,o=null,a=null,i=null,r=false,c=false;return typeof n=="string"&&(n=mr(n)),typeof n=="object"&&(dt$1(n.r)&&dt$1(n.g)&&dt$1(n.b)?(t=s8(n.r,n.g,n.b),r=true,c=String(n.r).substr(-1)==="%"?"prgb":"rgb"):dt$1(n.h)&&dt$1(n.s)&&dt$1(n.v)?(o=E1(n.s),a=E1(n.v),t=d8(n.h,o,a),r=true,c="hsv"):dt$1(n.h)&&dt$1(n.s)&&dt$1(n.l)&&(o=E1(n.s),i=E1(n.l),t=h8(n.h,o,i),r=true,c="hsl"),Object.prototype.hasOwnProperty.call(n,"a")&&(e=n.a)),e=E4(e),{ok:r,format:n.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:e}}var dr="[-\\+]?\\d+%?",ur="[-\\+]?\\d*\\.\\d+%?",Ct="(?:".concat(ur,")|(?:").concat(dr,")"),A3="[\\s|\\(]+(".concat(Ct,")[,|\\s]+(").concat(Ct,")[,|\\s]+(").concat(Ct,")\\s*\\)?"),L3="[\\s|\\(]+(".concat(Ct,")[,|\\s]+(").concat(Ct,")[,|\\s]+(").concat(Ct,")[,|\\s]+(").concat(Ct,")\\s*\\)?"),Qe={CSS_UNIT:new RegExp(Ct),rgb:new RegExp("rgb"+A3),rgba:new RegExp("rgba"+L3),hsl:new RegExp("hsl"+A3),hsla:new RegExp("hsla"+L3),hsv:new RegExp("hsv"+A3),hsva:new RegExp("hsva"+L3),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function mr(n){if(n=n.trim().toLowerCase(),n.length===0)return false;var t=false;if(F1[n])n=F1[n],t=true;else if(n==="transparent")return {r:0,g:0,b:0,a:0,format:"name"};var e=Qe.rgb.exec(n);return e?{r:e[1],g:e[2],b:e[3]}:(e=Qe.rgba.exec(n),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=Qe.hsl.exec(n),e?{h:e[1],s:e[2],l:e[3]}:(e=Qe.hsla.exec(n),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=Qe.hsv.exec(n),e?{h:e[1],s:e[2],v:e[3]}:(e=Qe.hsva.exec(n),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=Qe.hex8.exec(n),e?{r:Te(e[1]),g:Te(e[2]),b:Te(e[3]),a:F3(e[4]),format:t?"name":"hex8"}:(e=Qe.hex6.exec(n),e?{r:Te(e[1]),g:Te(e[2]),b:Te(e[3]),format:t?"name":"hex"}:(e=Qe.hex4.exec(n),e?{r:Te(e[1]+e[1]),g:Te(e[2]+e[2]),b:Te(e[3]+e[3]),a:F3(e[4]+e[4]),format:t?"name":"hex8"}:(e=Qe.hex3.exec(n),e?{r:Te(e[1]+e[1]),g:Te(e[2]+e[2]),b:Te(e[3]+e[3]),format:t?"name":"hex"}:false)))))))))}function dt$1(n){return !!Qe.CSS_UNIT.exec(String(n))}var O4=(function(){function n(t,e){t===void 0&&(t=""),e===void 0&&(e={});var o;if(t instanceof n)return t;typeof t=="number"&&(t=m8(t)),this.originalInput=t;var a=wt(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=e.format)!==null&&o!==void 0?o:a.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok;}return n.prototype.isDark=function(){return this.getBrightness()<128},n.prototype.isLight=function(){return !this.isDark()},n.prototype.getBrightness=function(){var t=this.toRgb();return (t.r*299+t.g*587+t.b*114)/1e3},n.prototype.getLuminance=function(){var t=this.toRgb(),e,o,a,i=t.r/255,r=t.g/255,c=t.b/255;return i<=.03928?e=i/12.92:e=Math.pow((i+.055)/1.055,2.4),r<=.03928?o=r/12.92:o=Math.pow((r+.055)/1.055,2.4),c<=.03928?a=c/12.92:a=Math.pow((c+.055)/1.055,2.4),.2126*e+.7152*o+.0722*a},n.prototype.getAlpha=function(){return this.a},n.prototype.setAlpha=function(t){return this.a=E4(t),this.roundA=Math.round(100*this.a)/100,this},n.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},n.prototype.toHsv=function(){var t=O1(this.r,this.g,this.b);return {h:t.h*360,s:t.s,v:t.v,a:this.a}},n.prototype.toHsvString=function(){var t=O1(this.r,this.g,this.b),e=Math.round(t.h*360),o=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(e,", ").concat(o,"%, ").concat(a,"%)"):"hsva(".concat(e,", ").concat(o,"%, ").concat(a,"%, ").concat(this.roundA,")")},n.prototype.toHsl=function(){var t=Y3(this.r,this.g,this.b);return {h:t.h*360,s:t.s,l:t.l,a:this.a}},n.prototype.toHslString=function(){var t=Y3(this.r,this.g,this.b),e=Math.round(t.h*360),o=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(e,", ").concat(o,"%, ").concat(a,"%)"):"hsla(".concat(e,", ").concat(o,"%, ").concat(a,"%, ").concat(this.roundA,")")},n.prototype.toHex=function(t){return t===void 0&&(t=false),Y1(this.r,this.g,this.b,t)},n.prototype.toHexString=function(t){return t===void 0&&(t=false),"#"+this.toHex(t)},n.prototype.toHex8=function(t){return t===void 0&&(t=false),u8(this.r,this.g,this.b,this.a,t)},n.prototype.toHex8String=function(t){return t===void 0&&(t=false),"#"+this.toHex8(t)},n.prototype.toHexShortString=function(t){return t===void 0&&(t=false),this.a===1?this.toHexString(t):this.toHex8String(t)},n.prototype.toRgb=function(){return {r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},n.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(e,", ").concat(o,")"):"rgba(".concat(t,", ").concat(e,", ").concat(o,", ").concat(this.roundA,")")},n.prototype.toPercentageRgb=function(){var t=function(e){return "".concat(Math.round(me(e,255)*100),"%")};return {r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},n.prototype.toPercentageRgbString=function(){var t=function(e){return Math.round(me(e,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},n.prototype.toName=function(){if(this.a===0)return "transparent";if(this.a<1)return false;for(var t="#"+Y1(this.r,this.g,this.b,false),e=0,o=Object.entries(F1);e<o.length;e++){var a=o[e],i=a[0],r=a[1];if(t===r)return i}return false},n.prototype.toString=function(t){var e=!!t;t=t??this.format;var o=false,a=this.a<1&&this.a>=0,i=!e&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(true)),t==="hex4"&&(o=this.toHex8String(true)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},n.prototype.toNumber=function(){return (Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},n.prototype.clone=function(){return new n(this.toString())},n.prototype.lighten=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.l+=t/100,e.l=H1(e.l),new n(e)},n.prototype.brighten=function(t){t===void 0&&(t=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(t/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(t/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(t/100)))),new n(e)},n.prototype.darken=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.l-=t/100,e.l=H1(e.l),new n(e)},n.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},n.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},n.prototype.desaturate=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.s-=t/100,e.s=H1(e.s),new n(e)},n.prototype.saturate=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.s+=t/100,e.s=H1(e.s),new n(e)},n.prototype.greyscale=function(){return this.desaturate(100)},n.prototype.spin=function(t){var e=this.toHsl(),o=(e.h+t)%360;return e.h=o<0?360+o:o,new n(e)},n.prototype.mix=function(t,e){e===void 0&&(e=50);var o=this.toRgb(),a=new n(t).toRgb(),i=e/100,r={r:(a.r-o.r)*i+o.r,g:(a.g-o.g)*i+o.g,b:(a.b-o.b)*i+o.b,a:(a.a-o.a)*i+o.a};return new n(r)},n.prototype.analogous=function(t,e){t===void 0&&(t=6),e===void 0&&(e=30);var o=this.toHsl(),a=360/e,i=[this];for(o.h=(o.h-(a*t>>1)+720)%360;--t;)o.h=(o.h+a)%360,i.push(new n(o));return i},n.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new n(t)},n.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var e=this.toHsv(),o=e.h,a=e.s,i=e.v,r=[],c=1/t;t--;)r.push(new n({h:o,s:a,v:i})),i=(i+c)%1;return r},n.prototype.splitcomplement=function(){var t=this.toHsl(),e=t.h;return [this,new n({h:(e+72)%360,s:t.s,l:t.l}),new n({h:(e+216)%360,s:t.s,l:t.l})]},n.prototype.onBackground=function(t){var e=this.toRgb(),o=new n(t).toRgb(),a=e.a+o.a*(1-e.a);return new n({r:(e.r*e.a+o.r*o.a*(1-e.a))/a,g:(e.g*e.a+o.g*o.a*(1-e.a))/a,b:(e.b*e.a+o.b*o.a*(1-e.a))/a,a})},n.prototype.triad=function(){return this.polyad(3)},n.prototype.tetrad=function(){return this.polyad(4)},n.prototype.polyad=function(t){for(var e=this.toHsl(),o=e.h,a=[this],i=360/t,r=1;r<t;r++)a.push(new n({h:(o+r*i)%360,s:e.s,l:e.l}));return a},n.prototype.equals=function(t){return this.toRgbString()===new n(t).toRgbString()},n})();var pr=["success","processing","error","default","warning"],fr=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function N7(n){return fr.indexOf(n)!==-1}function B7(n){return pr.indexOf(n)!==-1}var Y4=2,p8=.16,vr=.05,gr=.05,zr=.15,y8=5,_8=4,yr=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function f8({r:n,g:t,b:e}){let o=O1(n,t,e);return {h:o.h*360,s:o.s,v:o.v}}function F4({r:n,g:t,b:e}){return `#${Y1(n,t,e,false)}`}function _r(n,t,e){let o=e/100;return {r:(t.r-n.r)*o+n.r,g:(t.g-n.g)*o+n.g,b:(t.b-n.b)*o+n.b}}function v8(n,t,e){let o;return Math.round(n.h)>=60&&Math.round(n.h)<=240?o=e?Math.round(n.h)-Y4*t:Math.round(n.h)+Y4*t:o=e?Math.round(n.h)+Y4*t:Math.round(n.h)-Y4*t,o<0?o+=360:o>=360&&(o-=360),o}function g8(n,t,e){if(n.h===0&&n.s===0)return n.s;let o;return e?o=n.s-p8*t:t===_8?o=n.s+p8:o=n.s+vr*t,o>1&&(o=1),e&&t===y8&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function z8(n,t,e){let o;return e?o=n.v+gr*t:o=n.v-zr*t,o>1&&(o=1),Number(o.toFixed(2))}function I3(n,t={}){let e=[],o=wt(n);for(let a=y8;a>0;a-=1){let i=f8(o),r=F4(wt({h:v8(i,a,true),s:g8(i,a,true),v:z8(i,a,true)}));e.push(r);}e.push(F4(o));for(let a=1;a<=_8;a+=1){let i=f8(o),r=F4(wt({h:v8(i,a),s:g8(i,a),v:z8(i,a)}));e.push(r);}return t.theme==="dark"?yr.map(({index:a,opacity:i})=>F4(_r(wt(t.backgroundColor||"#141414"),wt(e[a]),i*100))):e}var br="[NG-ZORRO]:";function Cr(n,...t){}var Rt=(...n)=>Cr((...t)=>console.warn(br,...t),...n);function xt(n,t=0){return C8(n)?Number(n):arguments.length===2?t:0}function C8(n){return !isNaN(parseFloat(n))&&!isNaN(Number(n))}function jt(n){return n instanceof _r$2?n.nativeElement:n}function u1(n){return Array.isArray(n)?n:[n]}function W(n){return n==null?"":typeof n=="string"?n:`${n}px`}function w8(n){return n!=null&&`${n}`!="false"}function o9(n,t){if(!n||!t||n.length!==t.length)return false;let e=n.length;for(let o=0;o<e;o++)if(n[o]!==t[o])return false;return true}function j3(n){return typeof n<"u"&&n!==null}function a9(n){return typeof n>"u"||n===null}function A1(n){return n instanceof Er$2}function i9(n){return w8(n)}function r9(n){return Y0$1(n,0)}function U3(n){return Y0$1(n,1/0)}function c9(n,t=0){return xt(n,t)}function l9(n){return W(n)}function wr(n){return !!n&&typeof n.then=="function"&&typeof n.catch=="function"}function s9(n){return typeof n=="number"&&isFinite(n)}var N3,B3,x8={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function d9(n="vertical",t="ant"){if(typeof document>"u"||typeof window>"u")return 0;let e=n==="vertical";if(e&&N3)return N3;if(!e&&B3)return B3;let o=document.createElement("div");Object.keys(x8).forEach(i=>{o.style[i]=x8[i];}),o.className=`${t}-hide-scrollbar scroll-div-append-to-body`,e?o.style.overflowY="scroll":o.style.overflowX="scroll",document.body.appendChild(o);let a=0;return e?(a=o.offsetWidth-o.clientWidth,N3=a):(a=o.offsetHeight-o.clientHeight,B3=a),document.body.removeChild(o),a}function k8(n){return Lg(n)?n:wr(n)?new S(t=>{Promise.resolve(n).then(e=>{t.next(e),t.complete();}).catch(e=>t.error(e));}):Dg(n)}function W3(){return !!(typeof window<"u"&&window.document&&window.document.createElement)}var Sr="rc-util-key";function V8({mark:n}={}){return n?n.startsWith("data-")?n:`data-${n}`:Sr}function q3(n){return n.attachTo?n.attachTo:document.querySelector("head")||document.body}function S8(n,t={}){if(!W3())return null;let e=document.createElement("style");t.cspNonce&&(e.nonce=t.cspNonce),e.innerHTML=n;let o=q3(t),{firstChild:a}=o;return t.prepend&&o.prepend?o.prepend(e):t.prepend&&a?o.insertBefore(e,a):o.appendChild(e),e}var R3=new Map;function kr(n,t={}){let e=q3(t);return Array.from(R3.get(e)?.children||[]).find(o=>o.tagName==="STYLE"&&o.getAttribute(V8(t))===n)}function T8(n,t,e={}){let o=q3(e);if(!R3.has(o)){let r=S8("",e),{parentNode:c}=r;R3.set(o,c),c.removeChild(r);}let a=kr(t,e);if(a)return e.cspNonce&&a.nonce!==e.cspNonce&&(a.nonce=e.cspNonce),a.innerHTML!==n&&(a.innerHTML=n),a;let i=S8(n,e);return i?.setAttribute(V8(e),t),i}function D8(n,t,e){return {[`${n}-status-success`]:t==="success",[`${n}-status-warning`]:t==="warning",[`${n}-status-error`]:t==="error",[`${n}-status-validating`]:t==="validating",[`${n}-has-feedback`]:e}}function Vr(n){return typeof Zone<"u"?Zone.root.run(n):n()}function St(n,t,e){return n?new S(o=>Vr(()=>rs$2(n,t,e).subscribe(o))):mt$3}function u9(n,t){return {[`${n}-outlined`]:t==="outlined",[`${n}-borderless`]:t==="borderless",[`${n}-filled`]:t==="filled",[`${n}-underlined`]:t==="underlined"}}function m9(n,t){return `${n}-${t}`}function p9(n){let t=Array.isArray(n)?n.filter(Boolean):null;return typeof n=="string"&&(t=n.trim().split(/\s+/).filter(Boolean)),t}function f9(n,t){n.focus(t);let{cursor:e}=t||{};if(e){let o=n.value.length;switch(e){case "start":n.setSelectionRange(0,0);break;case "end":n.setSelectionRange(o,o);break;default:n.setSelectionRange(0,o);}}}var Tr=new A$2("");var Dr=`-ant-${Date.now()}-${Math.random()}`;function Pr(n,t){let e={},o=(r,c)=>{let s=r.clone();return s=c?.(s)||s,s.toRgbString()},a=(r,c)=>{let s=new O4(r),h=I3(s.toRgbString());e[`${c}-color`]=o(s),e[`${c}-color-disabled`]=h[1],e[`${c}-color-hover`]=h[4],e[`${c}-color-active`]=h[7],e[`${c}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),e[`${c}-color-deprecated-bg`]=h[1],e[`${c}-color-deprecated-border`]=h[3];};if(t.primaryColor){a(t.primaryColor,"primary");let r=new O4(t.primaryColor),c=I3(r.toRgbString());c.forEach((h,f)=>{e[`primary-${f+1}`]=h;}),e["primary-color-deprecated-l-35"]=o(r,h=>h.lighten(35)),e["primary-color-deprecated-l-20"]=o(r,h=>h.lighten(20)),e["primary-color-deprecated-t-20"]=o(r,h=>h.tint(20)),e["primary-color-deprecated-t-50"]=o(r,h=>h.tint(50)),e["primary-color-deprecated-f-12"]=o(r,h=>h.setAlpha(h.getAlpha()*.12));let s=new O4(c[0]);e["primary-color-active-deprecated-f-30"]=o(s,h=>h.setAlpha(h.getAlpha()*.3)),e["primary-color-active-deprecated-d-02"]=o(s,h=>h.darken(2));}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),`
|
|
11
|
+
:root {
|
|
12
|
+
${Object.keys(e).map(r=>`--${n}-${r}: ${e[r]};`).join(`
|
|
13
|
+
`)}
|
|
14
|
+
}
|
|
15
|
+
`.trim()}function P8(n,t,e){let o=Pr(n,t);W3()?T8(o,`${Dr}-dynamic-theme`,{cspNonce:e}):Rt("NzConfigService: SSR do not support dynamic theme with css variables.");}function H8(n){return n!==void 0}var E8="ant",kt=(()=>{class n{configUpdated$=new re$1;_configMap=new Map;config=C$1(Tr,{optional:true})||{};cspNonce=C$1(zm,{optional:true});constructor(){this.config.theme&&P8(this.getConfig().prefixCls?.prefixCls||E8,this.config.theme,this.cspNonce);}_getConfigValue(e){let o=this._configMap.get(e);return o||(o=qo$2(this.config[e]),this._configMap.set(e,o),o)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(on$2(o=>o===e),Se$3(()=>{}))}set(e,o){this.config[e]=r(r({},this.config[e]),o),this._configMap.get(e)?.set(this.config[e]),e==="theme"&&this.config.theme&&P8(this.getConfig().prefixCls?.prefixCls||E8,this.config.theme,this.cspNonce),this.configUpdated$.next(e);}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$1({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Vt(n,t){let e=C$1(at$1),o=C$1(kt),a=null,i=Kf(()=>{a=o.getConfigChangeEventForComponent(n).pipe(ue(e)).subscribe(t);});return ()=>{i.destroy(),a?.unsubscribe();}}function ut$1(){return function(n,t){t.addInitializer(function(){let e=C$1(kt),o=this[t.name],a,i=false;Object.defineProperty(this,t.name,{get:()=>{let r=e.getConfigForComponent(this._nzModuleName)?.[t.name];return i?a:H8(r)?r:o},set:r=>{i=H8(r),a=r;},enumerable:true,configurable:true});});}}function Ut(n){"@babel/helpers - typeof";return Ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ut(n)}function O8(n,t){if(Ut(n)!="object"||!n)return n;var e=n[Symbol.toPrimitive];if(e!==void 0){var o=e.call(n,t);if(Ut(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(n)}function Y8(n){var t=O8(n,"string");return Ut(t)=="symbol"?t:t+""}function Ee(n,t,e){return (t=Y8(t))in n?Object.defineProperty(n,t,{value:e,enumerable:true,configurable:true,writable:true}):n[t]=e,n}var ge=Math.round;function K3(n,t){let e=n.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=e.map(a=>parseFloat(a));for(let a=0;a<3;a+=1)o[a]=t(o[a]||0,e[a]||"",a);return e[3]?o[3]=e[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}var F8=(n,t,e)=>e===0?n:n/100;function L1(n,t){let e=t||255;return n>e?e:n<0?0:n}var Wt=class n{constructor(t){Ee(this,"isValid",true),Ee(this,"r",0),Ee(this,"g",0),Ee(this,"b",0),Ee(this,"a",1),Ee(this,"_h",void 0),Ee(this,"_s",void 0),Ee(this,"_l",void 0),Ee(this,"_v",void 0),Ee(this,"_max",void 0),Ee(this,"_min",void 0),Ee(this,"_brightness",void 0);function e(a){return a[0]in t&&a[1]in t&&a[2]in t}if(t)if(typeof t=="string"){let i=function(r){return a.startsWith(r)};let a=t.trim();/^#?[A-F\d]{3,8}$/i.test(a)?this.fromHexString(a):i("rgb")?this.fromRgbString(a):i("hsl")?this.fromHslString(a):(i("hsv")||i("hsb"))&&this.fromHsvString(a);}else if(t instanceof n)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(e("rgb"))this.r=L1(t.r),this.g=L1(t.g),this.b=L1(t.b),this.a=typeof t.a=="number"?L1(t.a,1):1;else if(e("hsl"))this.fromHsl(t);else if(e("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){let e=this.toHsv();return e.h=t,this._c(e)}getLuminance(){function t(i){let r=i/255;return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}let e=t(this.r),o=t(this.g),a=t(this.b);return .2126*e+.7152*o+.0722*a}getHue(){if(typeof this._h>"u"){let t=this.getMax()-this.getMin();t===0?this._h=0:this._h=ge(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4));}return this._h}getSaturation(){if(typeof this._s>"u"){let t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax();}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){let e=this.getHue(),o=this.getSaturation(),a=this.getLightness()-t/100;return a<0&&(a=0),this._c({h:e,s:o,l:a,a:this.a})}lighten(t=10){let e=this.getHue(),o=this.getSaturation(),a=this.getLightness()+t/100;return a>1&&(a=1),this._c({h:e,s:o,l:a,a:this.a})}mix(t,e=50){let o=this._c(t),a=e/100,i=c=>(o[c]-this[c])*a+this[c],r={r:ge(i("r")),g:ge(i("g")),b:ge(i("b")),a:ge(i("a")*100)/100};return this._c(r)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){let e=this._c(t),o=this.a+e.a*(1-this.a),a=i=>ge((this[i]*this.a+e[i]*e.a*(1-this.a))/o);return this._c({r:a("r"),g:a("g"),b:a("b"),a:o})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#",e=(this.r||0).toString(16);t+=e.length===2?e:"0"+e;let o=(this.g||0).toString(16);t+=o.length===2?o:"0"+o;let a=(this.b||0).toString(16);if(t+=a.length===2?a:"0"+a,typeof this.a=="number"&&this.a>=0&&this.a<1){let i=ge(this.a*255).toString(16);t+=i.length===2?i:"0"+i;}return t}toHsl(){return {h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let t=this.getHue(),e=ge(this.getSaturation()*100),o=ge(this.getLightness()*100);return this.a!==1?`hsla(${t},${e}%,${o}%,${this.a})`:`hsl(${t},${e}%,${o}%)`}toHsv(){return {h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return {r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,e,o){let a=this.clone();return a[t]=L1(e,o),a}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){let e=t.replace("#","");function o(a,i){return parseInt(e[a]+e[i||a],16)}e.length<6?(this.r=o(0),this.g=o(1),this.b=o(2),this.a=e[3]?o(3)/255:1):(this.r=o(0,1),this.g=o(2,3),this.b=o(4,5),this.a=e[6]?o(6,7)/255:1);}fromHsl({h:t,s:e,l:o,a}){if(this._h=t%360,this._s=e,this._l=o,this.a=typeof a=="number"?a:1,e<=0){let R=ge(o*255);this.r=R,this.g=R,this.b=R;}let i=0,r=0,c=0,s=t/60,h=(1-Math.abs(2*o-1))*e,f=h*(1-Math.abs(s%2-1));s>=0&&s<1?(i=h,r=f):s>=1&&s<2?(i=f,r=h):s>=2&&s<3?(r=h,c=f):s>=3&&s<4?(r=f,c=h):s>=4&&s<5?(i=f,c=h):s>=5&&s<6&&(i=h,c=f);let v=o-h/2;this.r=ge((i+v)*255),this.g=ge((r+v)*255),this.b=ge((c+v)*255);}fromHsv({h:t,s:e,v:o,a}){this._h=t%360,this._s=e,this._v=o,this.a=typeof a=="number"?a:1;let i=ge(o*255);if(this.r=i,this.g=i,this.b=i,e<=0)return;let r=t/60,c=Math.floor(r),s=r-c,h=ge(o*(1-e)*255),f=ge(o*(1-e*s)*255),v=ge(o*(1-e*(1-s))*255);switch(c){case 0:this.g=v,this.b=h;break;case 1:this.r=f,this.b=h;break;case 2:this.r=h,this.b=v;break;case 3:this.r=h,this.g=f;break;case 4:this.r=v,this.g=h;break;default:this.g=h,this.b=f;break}}fromHsvString(t){let e=K3(t,F8);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]});}fromHslString(t){let e=K3(t,F8);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]});}fromRgbString(t){let e=K3(t,(o,a)=>a.includes("%")?ge(o/100*255):o);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3];}};var A4=2,A8=.16,Hr=.05,Er=.05,Or=.15,B8=5,R8=4,Yr=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function L8(n,t,e){var o;return Math.round(n.h)>=60&&Math.round(n.h)<=240?o=e?Math.round(n.h)-A4*t:Math.round(n.h)+A4*t:o=e?Math.round(n.h)+A4*t:Math.round(n.h)-A4*t,o<0?o+=360:o>=360&&(o-=360),o}function I8(n,t,e){if(n.h===0&&n.s===0)return n.s;var o;return e?o=n.s-A8*t:t===R8?o=n.s+A8:o=n.s+Hr*t,o>1&&(o=1),e&&t===B8&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(o*100)/100}function N8(n,t,e){var o;return e?o=n.v+Er*t:o=n.v-Or*t,o=Math.max(0,Math.min(1,o)),Math.round(o*100)/100}function L4(n){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],o=new Wt(n),a=o.toHsv(),i=B8;i>0;i-=1){var r=new Wt({h:L8(a,i,true),s:I8(a,i,true),v:N8(a,i,true)});e.push(r);}e.push(o);for(var c=1;c<=R8;c+=1){var s=new Wt({h:L8(a,c),s:I8(a,c),v:N8(a,c)});e.push(s);}return t.theme==="dark"?Yr.map(function(h){var f=h.index,v=h.amount;return new Wt(t.backgroundColor||"#141414").mix(e[f],v).toHexString()}):e.map(function(h){return h.toHexString()})}var mt$1="[@ant-design/icons-angular]:";function Fr(n){console.error(`${mt$1} ${n}.`);}function zo(n){}function vo(n){return L4(n)[0]}function I4(n,t){switch(t){case "fill":return `${n}-fill`;case "outline":return `${n}-o`;case "twotone":return `${n}-twotone`;case void 0:return n;default:throw new Error(`${mt$1}Theme "${t}" is not a recognized theme!`)}}function Ar(n,t,e,o){return `${I4(n,t)}-${e}-${o}`}function Lr(n){return n==="o"?"outline":n}function Ir(n){return n.endsWith("-fill")||n.endsWith("-o")||n.endsWith("-twotone")}function yo(n){return typeof n=="object"&&typeof n.name=="string"&&(typeof n.theme=="string"||n.theme===void 0)&&typeof n.icon=="string"}function Nr(n){let t=n.split("-"),e=Lr(t.splice(t.length-1,1)[0]);return {name:t.join("-"),theme:e,icon:""}}function Br(n){return n.cloneNode(true)}function Rr(n){return n.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function N4(n){let t=n.split(":");switch(t.length){case 1:return [n,""];case 2:return [t[1],t[0]];default:throw new Error(`${mt$1}The icon type ${n} is not valid!`)}}function jr(n){return N4(n)[1]!==""}function Ur(n,t,e){if(yo(n))return n;{let[o,a]=N4(n);return a?n:Ir(o)?(o):I4(o,t||e)}}function Wr(){return new Error(`${mt$1}Type should have a namespace. Try "namespace:${name}".`)}function go(n){return new Error(`${mt$1}the icon ${n} does not exist or is not registered.`)}function qr(){return Fr('you need to import "HttpClientModule" to use dynamic importing.'),null}function Kr(n){return new Error(`${mt$1}The url "${n}" is unsafe.`)}function Gr(){return new Error(`${mt$1}<svg> tag not found.`)}function $r(){return new Error(`${mt$1}Importing timeout error.`)}var Zr="__ant_icon_load",Qr=new A$2("ant_icons"),_o=(()=>{class n{sanitizer=C$1(Zs$1);handler=C$1(lr$1,{optional:true});document=C$1(Uo$2);renderer=C$1(Dr$2).createRenderer(null,null);_http;defaultTheme="outline";set twoToneColor({primaryColor:e,secondaryColor:o}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=o||vo(e);}get twoToneColor(){return r({},this._twoToneColorPalette)}get _disableDynamicLoading(){return false}_svgDefinitions=new Map;_svgRenderedDefinitions=new Map;_inProgressFetches=new Map;_assetsUrlRoot="";_twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"};_enableJsonpLoading=false;_jsonpIconLoad$=new re$1;constructor(){this.handler&&(this._http=new Zi$2(this.handler));let e=C$1(Qr,{optional:true});e&&this.addIcon(...e);}useJsonpLoading(){this._enableJsonpLoading?zo():(this._enableJsonpLoading=true,window[Zr]=e=>{this._jsonpIconLoad$.next(e);});}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/";}addIcon(...e){e.forEach(o=>{this._svgDefinitions.set(I4(o.name,o.theme),o);});}addIconLiteral(e,o){let[a,i]=N4(e);if(!i)throw Wr();this.addIcon({name:e,icon:o});}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear();}getRenderedContent(e,o){let a=yo(e)?e:this._svgDefinitions.get(e)||null;if(!a&&this._disableDynamicLoading)throw go(e);return (a?Dg(a):this._loadIconDynamically(e)).pipe(Se$3(r=>{if(!r)throw go(e);return this._loadSVGFromCacheOrCreateNew(r,o)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return Dg(qr());let o=this._inProgressFetches.get(e);if(!o){let[a,i]=N4(e),r$1=i?{name:e,icon:""}:Nr(a),c=this._enableJsonpLoading?".js":".svg",s$1=(i?`${this._assetsUrlRoot}assets/${i}/${a}`:`${this._assetsUrlRoot}assets/${r$1.theme}/${r$1.name}`)+c,h=this.sanitizer.sanitize(Sr$2.URL,s$1);if(!h)throw Kr(s$1);o=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(r$1,h):this._http.get(h,{responseType:"text"}).pipe(Se$3(v=>s(r({},r$1),{icon:v})))).pipe(zl$1(v=>this.addIcon(v)),ql$1(()=>this._inProgressFetches.delete(e)),Xi$3(()=>Dg(null)),ss$1()),this._inProgressFetches.set(e,o);}return o}_loadIconDynamicallyWithJsonp(e,o){return new S(a=>{let i=this.document.createElement("script"),r=setTimeout(()=>{c(),a.error($r());},6e3);i.src=o;function c(){i.parentNode.removeChild(i),clearTimeout(r);}this.document.body.appendChild(i),this._jsonpIconLoad$.pipe(on$2(s=>s.name===e.name&&s.theme===e.theme),yt$1(1)).subscribe(s=>{a.next(s),c();});})}_loadSVGFromCacheOrCreateNew(e,o){let a,i=o||this._twoToneColorPalette.primaryColor,r$1=vo(i)||this._twoToneColorPalette.secondaryColor,c=e.theme==="twotone"?Ar(e.name,e.theme,i,r$1):e.theme===void 0?e.name:I4(e.name,e.theme),s$1=this._svgRenderedDefinitions.get(c);return s$1?a=s$1.icon:(a=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(jr(e.name)?e.icon:Rr(e.icon)),e.theme==="twotone",i,r$1)),this._svgRenderedDefinitions.set(c,s(r({},e),{icon:a}))),Br(a)}_createSVGElementFromString(e){let o=this.document.createElement("div");o.innerHTML=e;let a=o.querySelector("svg");if(!a)throw Gr;return a}_setSVGAttribute(e){return this.renderer.setAttribute(e,"width","1em"),this.renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,o,a,i){if(o){let r=e.childNodes,c=r.length;for(let s=0;s<c;s++){let h=r[s];h.getAttribute("fill")==="secondaryColor"?this.renderer.setAttribute(h,"fill",i):this.renderer.setAttribute(h,"fill",a);}}return this.renderer.setAttribute(e,"fill","currentColor"),e}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();function Xr(n,t){return n.type===t.type&&n.theme===t.theme&&n.twoToneColor===t.twoToneColor}var B4=class{_changeIcon(){return new Promise(t=>{let e=this.selfRenderMeta,{type:o,theme:a,twoToneColor:i}=e;if(!o){this._clearSVGElement(),t(null);return}let r=Ur(o,a,this.iconService.defaultTheme);this.iconService.getRenderedContent(r,i).subscribe(c=>{let s=this.selfRenderMeta;Xr(e,s)?(this._setSVGElement(c),t(c)):t(null);});})}_setSVGElement(t){this._clearSVGElement(),this.renderer.appendChild(this.el,t);}_clearSVGElement(){let t=this.el.childNodes,e=t.length;for(let o=e-1;o>=0;o--){let a=t[o];a.tagName?.toLowerCase()==="svg"&&this.renderer.removeChild(this.el,a);}}};var bo={name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var Mo={name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'};var Co={name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var wo={name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},xo={name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var So={name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},ko={name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var Vo={name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'};var To={name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'};var Do={name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'};var Po={name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'};var Ho={name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'};var Eo={name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'};var Oo={name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'};var Yo={name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'};var Fo={name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'};var Ao={name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'};var Lo={name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'};var Io={name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var No={name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'};var Bo={name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'};var Ro={name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'};var jo={name:"eye-invisible",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" /><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" /></svg>'};var Uo={name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'};var Wo={name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'};var qo={name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'};var Ko={name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'};var Go={name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'};var $o={name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'};var Zo={name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'};var Qo={name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'};var Xo={name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'};var Jo={name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'};var ea={name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'};var ta={name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'},na={name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'};var oa={name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'};var G3={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'};var aa={name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'};var ia={name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'};var ra={name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'};var ca={name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'};var la={name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'};var sa={name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var ha={name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var Jr=[bo,Mo,xo,ko,Co,wo,To,So,Vo,Po,Ho,Do,Eo,Oo,Yo,Ao,Fo,Lo,No,Io,Ro,Bo,Uo,jo,Wo,qo,Ko,Go,$o,Zo,Qo,Xo,Jo,ea,na,ta,G3,oa,G3,ra,la,ca,ia,aa,sa,ha],ua=new A$2("");var da="#1890ff",ma=(()=>{class n extends _o{nzConfigService=C$1(kt);platform=C$1(J);configUpdated$=new re$1;get _disableDynamicLoading(){return !this.platform.isBrowser}iconfontCache=new Set;normalizeSvgElement(e){e.getAttribute("viewBox")||this.renderer.setAttribute(e,"viewBox","0 0 1024 1024"),(!e.getAttribute("width")||!e.getAttribute("height"))&&(this.renderer.setAttribute(e,"width","1em"),this.renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this.renderer.setAttribute(e,"fill","currentColor");}fetchFromIconfont(e){let{scriptUrl:o}=e;if(this.document&&!this.iconfontCache.has(o)){let a=this.renderer.createElement("script");this.renderer.setAttribute(a,"src",o),this.renderer.setAttribute(a,"data-namespace",o.replace(/^(https?|http):/g,"")),this.renderer.appendChild(this.document.body,a),this.iconfontCache.add(o);}}createIconfontIcon(e){return this._createSVGElementFromString(`<svg><use xlink:href="${e}"></svg>`)}constructor(){super(),this.addIcon(...Jr,...C$1(ua,{optional:true})||[]),this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme();}onConfigChange(){Vt("icon",()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next();});}configDefaultTheme(){let e=this.getConfig();this.defaultTheme=e.nzTheme||"outline";}configDefaultTwotoneColor(){let o=this.getConfig().nzTwotoneColor||da,a=da;(o.startsWith("#")?a=o:Rt("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:a};}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$1({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),pa=new A$2("nz_icons_patch"),fa=(()=>{class n{extraIcons=C$1(pa,{self:true});rootIconService=C$1(ma);patched=false;doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=true);}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$1({token:n,factory:n.\u0275fac})}return n})(),Se=(()=>{class n extends B4{ngZone=C$1(oe$1);changeDetectorRef=C$1(z0$1);destroyRef=C$1(at$1);pendingTasks=C$1(ga$2);isBrowser=jl$1(C$1(Wm));el=C$1(_r$2).nativeElement;renderer=C$1(XI);iconService=C$1(ma);nzType=$0$1();nzTheme=$0$1();nzTwotoneColor=$0$1();nzSpin=$0$1(false,{transform:Z0$1});nzRotate=$0$1(0,{transform:Y0$1});nzIconfont=$0$1();hostClass=Hw(()=>{let e=this.nzType(),o=this.nzSpin(),a=["anticon"];return e&&a.push(`anticon-${e}`),(o||e==="loading")&&a.push("anticon-spin"),a});get selfRenderMeta(){return {type:this.nzType(),theme:this.nzTheme(),twoToneColor:this.nzTwotoneColor()}}constructor(){super(),C$1(fa,{optional:true})?.doPatch();let e=false;rd(()=>{this.nzType(),this.nzTwotoneColor(),this.nzTheme(),this.nzType()?(e=true,this.ngZone.runOutsideAngular(()=>this.changeIcon2())):e&&(e=false,this._clearSVGElement());}),rd(()=>{this.nzRotate(),this.handleRotate(this.el.firstChild);}),rd(()=>{let o=this.nzIconfont();o&&this._setSVGElement(this.iconService.createIconfontIcon(`#${o}`));});}ngAfterContentChecked(){if(!this.nzType()){let e=this.el.children;for(let o=e.length-1;o>=0;o--){let a=e[o];a.tagName.toLowerCase()==="svg"&&this.iconService.normalizeSvgElement(a);}}}changeIcon2(){let e=this.pendingTasks.add();k8(this._changeIcon()).pipe(Vl$1(0,this.isBrowser?Og:kg),ue(this.destroyRef),ql$1(e)).subscribe({next:a=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),a&&(this.setSVGData(a),this.handleRotate(a));});},error:Rt});}handleRotate(e){if(!e)return;let o=this.nzRotate();o?this.renderer.setAttribute(e,"style",`transform: rotate(${o}deg)`):this.renderer.removeAttribute(e,"style");}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.nzType()),this.renderer.setAttribute(e,"aria-hidden","true");}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["nz-icon"],["","nz-icon",""]],hostAttrs:["role","img"],hostVars:3,hostBindings:function(o,a){o&2&&(ah("aria-label",a.nzType()),cw(a.hostClass()));},inputs:{nzType:[1,"nzType"],nzTheme:[1,"nzTheme"],nzTwotoneColor:[1,"nzTwotoneColor"],nzSpin:[1,"nzSpin"],nzRotate:[1,"nzRotate"],nzIconfont:[1,"nzIconfont"]},exportAs:["nzIcon"],features:[eh]})}return n})(),ec=n=>Eu$1([{provide:ua,useValue:n}]),tc=n=>[fa,{provide:pa,useValue:n}],pt$1=(()=>{class n{static forRoot(e){return {ngModule:n,providers:[ec(e)]}}static forChild(e){return {ngModule:n,providers:[tc(e)]}}static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})();function nc(n,t){n&1&&lh(0,"nz-icon",0),n&2&&ch("nzType",t);}var oc={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"},I1="ant-form-item-feedback-icon",va=(()=>{class n{status=$0$1("");iconType=Hw(()=>{let e=this.status();return e?oc[e]:null});class=Hw(()=>{let e=this.status();return {[I1]:true,[`${I1}-error`]:e==="error",[`${I1}-warning`]:e==="warning",[`${I1}-success`]:e==="success",[`${I1}-validating`]:e==="validating"}});static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-form-item-feedback-icon"]],hostVars:2,hostBindings:function(o,a){o&2&&cw(a.class());},inputs:{status:[1,"status"]},exportAs:["nzFormFeedbackIcon"],decls:1,vars:1,consts:[[3,"nzType"]],template:function(o,a){if(o&1&&bD(0,nc,1,1,"nz-icon",0),o&2){let i;_D((i=a.iconType())?0:-1,i);}},dependencies:[pt$1,Se],encapsulation:2})}return n})(),m1=new A$2(""),ga=(()=>{class n{formStatusChanges=new Ln$2(1);static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$1({token:n,factory:n.\u0275fac})}return n})(),za=new A$2("");var Ie=(()=>{class n{viewContainer=C$1(ji$3);templateRef=C$1(Er$2);embeddedViewRef=null;context=new Z3;nzStringTemplateOutletContext=null;nzStringTemplateOutlet=null;static ngTemplateContextGuard(e,o){return true}recreateView(){this.viewContainer.clear(),A1(this.nzStringTemplateOutlet)?this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.nzStringTemplateOutlet,this.nzStringTemplateOutletContext):this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.templateRef,this.context);}updateContext(){let e=A1(this.nzStringTemplateOutlet)?this.nzStringTemplateOutletContext:this.context,o=this.embeddedViewRef.context;if(e)for(let a of Object.keys(e))o[a]=e[a];}ngOnChanges(e){let{nzStringTemplateOutletContext:o,nzStringTemplateOutlet:a}=e,i=()=>{let c=false;return a&&(c=a.firstChange||A1(a.previousValue)||A1(a.currentValue)),o&&(f=>{let v=Object.keys(f.previousValue||{}),R=Object.keys(f.currentValue||{});if(v.length===R.length){for(let m of R)if(v.indexOf(m)===-1)return true;return false}else return true})(o)||c};a&&(this.context.$implicit=a.currentValue),i()?this.recreateView():this.updateContext();}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[ly]})}return n})(),Z3=class{$implicit},Tt=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})();var _a=["*"],ac=n=>({$implicit:n});function ic(n,t){if(n&1&&vw(0),n&2){let e=VD(3);Ph(e.nzSplit);}}function rc(n,t){if(n&1&&(_i$3(0,"span",2),nh(1,ic,1,1,"ng-template",3),Kc$1()),n&2){let e=VD().$index,o=VD();gI(),ch("nzStringTemplateOutlet",o.nzSplit)("nzStringTemplateOutletContext",xw(2,ac,e));}}function cc(n,t){if(n&1&&(_i$3(0,"div",0),fh(1,1),Kc$1(),bD(2,rc,2,4,"span",2)),n&2){let e=t.$implicit,o=t.$index,a=t.$count,i=VD();gI(),ch("ngTemplateOutlet",e),gI(),_D(i.nzSplit&&o!==a-1?2:-1);}}var N1=new A$2(""),ba=new A$2(""),B1=new A$2(""),lc=(()=>{class n{formSize=C$1(m1,{optional:true});nzBlock=$0$1(false,{transform:Z0$1});nzDirection=$0$1("horizontal");nzSize=$0$1("default");elementRef=C$1(_r$2);finalSize=Hw(()=>this.formSize?.()||this.nzSize());static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(o,a){o&2&&Mh("ant-space-compact-block",a.nzBlock())("ant-space-compact-vertical",a.nzDirection()==="vertical");},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[Sw([{provide:N1,useFactory:()=>C$1(n).finalSize},{provide:ba,useFactory:()=>qo$2([])}])],ngContentSelectors:_a,decls:1,vars:0,template:function(o,a){o&1&&(BD(),$D(0));},encapsulation:2})}return n})(),R4=(()=>{class n{spaceCompactCmp=C$1(lc,{host:true,optional:true});items=C$1(ba,{host:true,optional:true});type=C$1(B1);elementRef=C$1(_r$2);dir=C$1(Le).valueSignal;get parentElement(){return this.elementRef.nativeElement?.parentElement}class=Hw(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;let e=this.items(),o=this.spaceCompactCmp.nzDirection(),a=[sc(this.type,o,this.dir()==="rtl")],i=e.indexOf(this),r=e.findIndex(c=>c);return i===r&&a.push(hc(this.type,o)),i===e.length-1&&a.push(dc(this.type,o)),a});constructor(){!this.spaceCompactCmp||!this.items||(Kf(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){let e=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(o=>{let a=o.slice();return a.splice(e,0,this),a});}}),C$1(at$1).onDestroy(()=>{this.items?.update(e=>e.filter(o=>o!==this));}));}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,hostVars:2,hostBindings:function(o,a){o&2&&cw(a.class());},exportAs:["nzSpaceCompactItem"]})}return n})();function X3(n,t,e){return `ant-${n}-compact-${t==="vertical"?"vertical-":""}${e}`}function sc(n,t,e){let o=e?"-rtl":"";return `${X3(n,t,"item")}${o}`}function hc(n,t){return X3(n,t,"first-item")}function dc(n,t){return X3(n,t,"last-item")}var uc=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","nzSpaceItem",""]]})}return n})(),mc="space",pc={small:8,middle:16,large:24};(()=>{let n,t=[],e=[];return class Q3{static{let a=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;n=[ut$1()],pT(null,null,n,{kind:"field",name:"nzSize",static:false,private:false,access:{has:i=>"nzSize"in i,get:i=>i.nzSize,set:(i,r)=>{i.nzSize=r;}},metadata:a},t,e),a&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:a});}_nzModuleName=mc;nzConfigService=C$1(kt);cdr=C$1(z0$1);destroyRef=C$1(at$1);nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=false;nzSize=hT(this,t,"small");items=hT(this,e);mergedAlign;horizontalSize;verticalSize;constructor(){this.updateSpaceSize();}ngOnChanges(a){let{nzSize:i}=a;i&&this.updateSpaceSize(),this.mergedAlign=this.nzAlign===void 0&&this.nzDirection==="horizontal"?"center":this.nzAlign;}ngAfterContentInit(){this.items.changes.pipe(ue(this.destroyRef)).subscribe(()=>{this.cdr.markForCheck();});}updateSpaceSize(){let{horizontalSize:a,verticalSize:i}=fc(this.nzSize);this.horizontalSize=a,this.verticalSize=i;}static \u0275fac=function(i){return new(i||Q3)};static \u0275cmp=QE({type:Q3,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(i,r,c){if(i&1&&vh(c,uc,4,Er$2),i&2){let s;qD(s=WD())&&(r.items=s);}},hostAttrs:[1,"ant-space"],hostVars:18,hostBindings:function(i,r){i&2&&(_h("flex-wrap",r.nzWrap?"wrap":null)("column-gap",r.horizontalSize,"px")("row-gap",r.verticalSize,"px"),Mh("ant-space-horizontal",r.nzDirection==="horizontal")("ant-space-vertical",r.nzDirection==="vertical")("ant-space-align-start",r.mergedAlign==="start")("ant-space-align-end",r.mergedAlign==="end")("ant-space-align-center",r.mergedAlign==="center")("ant-space-align-baseline",r.mergedAlign==="baseline"));},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",Z0$1],nzSize:"nzSize"},exportAs:["nzSpace"],features:[ly],ngContentSelectors:_a,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){i&1&&(BD(),$D(0),ND(1,cc,3,2,null,null,SD)),i&2&&(gI(),xD(r.items));},dependencies:[es$1,Ie],encapsulation:2})}})();function fc(n){let[t,e]=(Array.isArray(n)?n:[n,n]).map(o=>typeof o=="number"?o:pc[o]);return {horizontalSize:t,verticalSize:e}}var vc=["*"];function gc(n,t){n&1&&(_i$3(0,"span",0),lh(1,"nz-icon",1),Kc$1());}var Ca="button",zc=(()=>{let n,t=[],e=[];return class J3{static{let a=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;n=[ut$1()],pT(null,null,n,{kind:"field",name:"nzSize",static:false,private:false,access:{has:i=>"nzSize"in i,get:i=>i.nzSize,set:(i,r)=>{i.nzSize=r;}},metadata:a},t,e),a&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:a});}elementRef=C$1(_r$2);cdr=C$1(z0$1);renderer=C$1(XI);destroyRef=C$1(at$1);dir=C$1(Le).valueSignal;_nzModuleName=Ca;nzIconDirectiveElement;nzBlock=false;nzGhost=false;nzLoading=false;nzDanger=false;disabled=false;tabIndex=null;nzType=null;nzShape=null;nzSize=hT(this,t,"default");elementOnly=(hT(this,e),qo$2(false));size=qo$2(this.nzSize);loading$=new re$1;formSize=C$1(m1,{optional:true});compactSize=C$1(N1,{optional:true});finalSize=Hw(()=>this.formSize?.()?this.formSize():this.compactSize?this.compactSize():this.size());iconDir=W0$1(Se);loadingIconDir=q0$1(Se);iconOnly=Hw(()=>this.elementOnly()&&(!!this.iconDir()||!!this.loadingIconDir()));constructor(){Vt(Ca,()=>{this.size.set(this.nzSize),this.cdr.markForCheck();}),Gv({read:()=>{let{children:a}=this.elementRef.nativeElement,i=Array.from(a).filter(r=>r.style.display!=="none");this.elementOnly.set(i.length===1);}});}ngOnInit(){this.size.set(this.nzSize),St(this.elementRef.nativeElement,"click",{capture:true}).pipe(ue(this.destroyRef)).subscribe(a=>{(this.disabled&&a.target?.tagName==="A"||this.nzLoading)&&(a.preventDefault(),a.stopImmediatePropagation());});}ngOnChanges({nzLoading:a,nzSize:i}){a&&this.loading$.next(this.nzLoading),i&&this.size.set(i.currentValue);}ngAfterViewInit(){this.insertSpan();}ngAfterContentInit(){this.loading$.pipe(Gl$1(this.nzLoading),on$2(()=>!!this.nzIconDirectiveElement),ue(this.destroyRef)).subscribe(a=>{let i=this.nzIconDirectiveElement.nativeElement;a?this.renderer.setStyle(i,"display","none"):this.renderer.removeStyle(i,"display");});}insertSpan(){this.elementRef.nativeElement.childNodes.forEach(a=>{if(a.nodeType===Node.TEXT_NODE&&a.textContent.trim().length>0){let i=this.renderer.createElement("span"),r=this.renderer.parentNode(a);this.renderer.insertBefore(r,i,a),this.renderer.appendChild(i,a);}});}static \u0275fac=function(i){return new(i||J3)};static \u0275cmp=QE({type:J3,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(i,r,c){if(i&1&&(Eh(c,r.iconDir,Se,5),vh(c,Se,5,_r$2)),i&2){GD();let s;qD(s=WD())&&(r.nzIconDirectiveElement=s.first);}},viewQuery:function(i,r){i&1&&Dh(r.loadingIconDir,Se,5),i&2&&GD();},hostAttrs:[1,"ant-btn"],hostVars:32,hostBindings:function(i,r){i&2&&(ah("tabindex",r.disabled?-1:r.tabIndex===null?null:r.tabIndex)("disabled",r.disabled||null),Mh("ant-btn-default",r.nzType==="default")("ant-btn-primary",r.nzType==="primary")("ant-btn-dashed",r.nzType==="dashed")("ant-btn-link",r.nzType==="link")("ant-btn-text",r.nzType==="text")("ant-btn-circle",r.nzShape==="circle")("ant-btn-round",r.nzShape==="round")("ant-btn-lg",r.finalSize()==="large")("ant-btn-sm",r.finalSize()==="small")("ant-btn-dangerous",r.nzDanger)("ant-btn-loading",r.nzLoading)("ant-btn-background-ghost",r.nzGhost)("ant-btn-block",r.nzBlock)("ant-btn-rtl",r.dir()==="rtl")("ant-btn-icon-only",r.iconOnly()));},inputs:{nzBlock:[2,"nzBlock","nzBlock",Z0$1],nzGhost:[2,"nzGhost","nzGhost",Z0$1],nzLoading:[2,"nzLoading","nzLoading",Z0$1],nzDanger:[2,"nzDanger","nzDanger",Z0$1],disabled:[2,"disabled","disabled",Z0$1],tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[Sw([{provide:B1,useValue:"btn"}]),rD([R4]),ly],ngContentSelectors:vc,decls:2,vars:1,consts:[[1,"ant-btn-icon","ant-btn-loading-icon"],["nzType","loading"]],template:function(i,r){i&1&&(BD(),bD(0,gc,2,0,"span",0),$D(1)),i&2&&_D(r.nzLoading?0:-1);},dependencies:[pt$1,Se],encapsulation:2})}})(),sd=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({imports:[zc,o8,c8]})}return n})();var j4=new WeakMap,R1=(()=>{class n{_appRef;_injector=C$1(Ee$2);_environmentInjector=C$1(le$2);load(e){let o=this._appRef=this._appRef||this._injector.get(Vi$3),a=j4.get(o);a||(a={loaders:new Set,refs:[]},j4.set(o,a),o.onDestroy(()=>{j4.get(o)?.refs.forEach(i=>i.destroy()),j4.delete(o);})),a.loaders.has(e)||(a.loaders.add(e),a.refs.push(K0$1(e,{environmentInjector:this._environmentInjector})));}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();var U4=class{};function wa(n){return n&&typeof n.connect=="function"&&!(n instanceof es$2)}var W4=class extends U4{_data;constructor(t){super(),this._data=t;}connect(){return Lg(this._data)?this._data:Dg(this._data)}disconnect(){}},j1=(function(n){return n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED",n})(j1||{}),q4=class{viewCacheSize=20;_viewCache=[];applyChanges(t,e,o,a,i){t.forEachOperation((r,c,s)=>{let h,f;if(r.previousIndex==null){let v=()=>o(r,c,s);h=this._insertView(v,s,e,a(r)),f=h?j1.INSERTED:j1.REPLACED;}else s==null?(this._detachAndCacheView(c,e),f=j1.REMOVED):(h=this._moveView(c,s,e,a(r)),f=j1.MOVED);i&&i({context:h?.context,operation:f,record:r});});}detach(){for(let t of this._viewCache)t.destroy();this._viewCache=[];}_insertView(t,e,o,a){let i=this._insertViewFromCache(e,o);if(i){i.context.$implicit=a;return}let r=t();return o.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){let o=e.detach(t);this._maybeCacheView(o,e);}_moveView(t,e,o,a){let i=o.get(t);return o.move(i,e),i.context.$implicit=a,i}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else {let o=e.indexOf(t);o===-1?t.destroy():e.remove(o);}}_insertViewFromCache(t,e){let o=this._viewCache.pop();return o&&e.insert(o,t),o||null}};var yc=["contentWrapper"],_c=["*"],ka=new A$2("VIRTUAL_SCROLL_STRATEGY"),en$1=class en{_scrolledIndexChange=new re$1;scrolledIndexChange=this._scrolledIndexChange.pipe(Kg());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(t,e,o){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=o;}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange();}detach(){this._scrolledIndexChange.complete(),this._viewport=null;}updateItemAndBufferSize(t,e,o){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=o,this._updateTotalContentSize(),this._updateRenderedRange();}onContentScrolled(){this._updateRenderedRange();}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange();}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e);}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize);}_updateRenderedRange(){if(!this._viewport)return;let t=this._viewport.getRenderedRange(),e={start:t.start,end:t.end},o=this._viewport.getViewportSize(),a=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),r=this._itemSize>0?i/this._itemSize:0;if(e.end>a){let s=Math.ceil(o/this._itemSize),h=Math.max(0,Math.min(r,a-s));r!=h&&(r=h,i=h*this._itemSize,e.start=Math.floor(r)),e.end=Math.max(0,Math.min(a,e.start+s));}let c=i-e.start*this._itemSize;if(c<this._minBufferPx&&e.start!=0){let s=Math.ceil((this._maxBufferPx-c)/this._itemSize);e.start=Math.max(0,e.start-s),e.end=Math.min(a,Math.ceil(r+(o+this._minBufferPx)/this._itemSize));}else {let s=e.end*this._itemSize-(i+o);if(s<this._minBufferPx&&e.end!=a){let h=Math.ceil((this._maxBufferPx-s)/this._itemSize);h>0&&(e.end=Math.min(a,e.end+h),e.start=Math.max(0,Math.floor(r-this._minBufferPx/this._itemSize)));}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(r));}};function bc(n){return n._scrollStrategy}var nn=(()=>{class n{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=xt(e);}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=xt(e);}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=xt(e);}_maxBufferPx=200;_scrollStrategy=new en$1(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx);}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Sw([{provide:ka,useFactory:bc,deps:[wo$2(()=>n)]}]),ly]})}return n})(),Mc=20,U1=(()=>{class n{_ngZone=C$1(oe$1);_platform=C$1(J);_renderer=C$1(Dr$2).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new re$1;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)));}deregister(e){let o=this.scrollContainers.get(e);o&&(o.unsubscribe(),this.scrollContainers.delete(e));}scrolled(e=Mc){return this._platform.isBrowser?new S(o=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let a=e>0?this._scrolled.pipe(Qg(e)).subscribe(o):this._scrolled.subscribe(o);return this._scrolledCount++,()=>{a.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0);}}):Dg()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,o)=>this.deregister(o)),this._scrolled.complete();}ancestorScrolled(e,o){let a=this.getAncestorScrollContainers(e);return this.scrolled(o).pipe(on$2(i=>!i||a.indexOf(i)>-1))}getAncestorScrollContainers(e){let o=[];return this.scrollContainers.forEach((a,i)=>{this._targetContainsElement(i,e)&&o.push(i);}),o}_targetContainsElement(e,o){let a=jt(o),i=e.getElementRef().nativeElement;do if(a==i)return true;while(a=a.parentElement);return false}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),on=(()=>{class n{elementRef=C$1(_r$2);scrollDispatcher=C$1(U1);ngZone=C$1(oe$1);dir=C$1(Le,{optional:true});_scrollElement=this.elementRef.nativeElement;_destroyed=new re$1;_renderer=C$1(XI);_cleanupScroll;_elementScrolled=new re$1;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this);}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete();}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let o=this.elementRef.nativeElement,a=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=a?e.end:e.start),e.right==null&&(e.right=a?e.start:e.end),e.bottom!=null&&(e.top=o.scrollHeight-o.clientHeight-e.bottom),a&&d1()!=Ze.NORMAL?(e.left!=null&&(e.right=o.scrollWidth-o.clientWidth-e.left),d1()==Ze.INVERTED?e.left=e.right:d1()==Ze.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=o.scrollWidth-o.clientWidth-e.right),this._applyScrollToOptions(e);}_applyScrollToOptions(e){let o=this.elementRef.nativeElement;H4()?o.scrollTo(e):(e.top!=null&&(o.scrollTop=e.top),e.left!=null&&(o.scrollLeft=e.left));}measureScrollOffset(e){let o="left",a="right",i=this.elementRef.nativeElement;if(e=="top")return i.scrollTop;if(e=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let r=this.dir&&this.dir.value=="rtl";return e=="start"?e=r?a:o:e=="end"&&(e=r?o:a),r&&d1()==Ze.INVERTED?e==o?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:r&&d1()==Ze.NEGATED?e==o?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:e==o?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),Cc=20,qt=(()=>{class n{_platform=C$1(J);_listeners;_viewportSize=null;_change=new re$1;_document=C$1(Uo$2);constructor(){let e=C$1(oe$1),o=C$1(Dr$2).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let a=i=>this._change.next(i);this._listeners=[o.listen("window","resize",a),o.listen("window","orientationchange",a)];}this.change().subscribe(()=>this._viewportSize=null);});}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete();}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:o,height:a}=this.getViewportSize();return {top:e.top,left:e.left,bottom:e.top+a,right:e.left+o,height:a,width:o}}getViewportScrollPosition(){if(!this._platform.isBrowser)return {top:0,left:0};let e=this._document,o=this._getWindow(),a=e.documentElement,i=a.getBoundingClientRect(),r=-i.top||e.body?.scrollTop||o.scrollY||a.scrollTop||0,c=-i.left||e.body?.scrollLeft||o.scrollX||a.scrollLeft||0;return {top:r,left:c}}change(e=Cc){return e>0?this._change.pipe(Qg(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0};}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),xa=new A$2("VIRTUAL_SCROLLABLE"),wc=(()=>{class n extends on{measureViewportSize(e){let o=this.elementRef.nativeElement;return e==="horizontal"?o.clientWidth:o.clientHeight}static \u0275fac=(()=>{let e;return function(a){return (e||(e=Sy(n)))(a||n)}})();static \u0275dir=XE({type:n,features:[eh]})}return n})();function xc(n,t){return n.start==t.start&&n.end==t.end}var Sc=typeof requestAnimationFrame<"u"?Og:kg,Va=new A$2("CDK_VIRTUAL_SCROLL_VIEWPORT"),W1=(()=>{class n extends wc{elementRef=C$1(_r$2);_changeDetectorRef=C$1(z0$1);_scrollStrategy=C$1(ka,{optional:true});scrollable=C$1(xa,{optional:true});_platform=C$1(J);_detachedSubject=new re$1;_renderedRangeSubject=new re$1;_renderedContentOffsetSubject=new re$1;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize());}_orientation="vertical";appendOnly=false;scrolledIndexChange=new S(e=>this._scrollStrategy.scrolledIndexChange.subscribe(o=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(o)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(on$2(e=>e!==null),Kg());_totalContentSize=0;_totalContentWidth=qo$2("");_totalContentHeight=qo$2("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=false;_changeDetectionNeeded=qo$2(false);_runAfterChangeDetection=[];_viewportChanges=H$1.EMPTY;_injector=C$1(Ee$2);_isDestroyed=false;constructor(){super();let e=C$1(qt);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize();}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let o=rd(()=>{this._changeDetectionNeeded()&&this._doChangeDetection();},{injector:C$1(Vi$3).injector});C$1(at$1).onDestroy(()=>{o.destroy();});}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Gl$1(null),Qg(0,Sc),im(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded();})));}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=true,super.ngOnDestroy();}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(im(this._detachedSubject)).subscribe(o=>{let a=o.length;a!==this._dataLength&&(this._dataLength=a,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection();});});}detach(){this._forOf=null,this._detachedSubject.next();}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded());}setRenderedRange(e){xc(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()));}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,o="to-start"){e=this.appendOnly&&o==="to-start"?0:e;let a=this.dir&&this.dir.value=="rtl",i=this.orientation=="horizontal",r=i?"X":"Y",s=`translate${r}(${Number((i&&a?-1:1)*e)}px)`;this._renderedContentOffset=e,o==="to-end"&&(s+=` translate${r}(-100%)`,this._renderedContentOffsetNeedsRewrite=true),this._renderedContentTransform!=s&&(this._renderedContentTransform=s,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=false,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged();}));}scrollToOffset(e,o="auto"){let a={behavior:o};this.orientation==="horizontal"?a.start=e:a.top=e,this.scrollable.scrollTo(a);}scrollToIndex(e,o="auto"){this._scrollStrategy.scrollToIndex(e,o);}measureScrollOffset(e){let o;return this.scrollable==this?o=a=>super.measureScrollOffset(a):o=a=>this.scrollable.measureScrollOffset(a),Math.max(0,o(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let o,a="left",i="right",r=this.dir?.value=="rtl";e=="start"?o=r?i:a:e=="end"?o=r?a:i:e?o=e:o=this.orientation==="horizontal"?"left":"top";let c=this.scrollable.measureBoundingClientRectWithScrollOffset(o);return this.elementRef.nativeElement.getBoundingClientRect()[o]-c}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged();}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation);}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!Bw(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(true);});});});}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),Kf(()=>{this._changeDetectionNeeded.set(false);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let o of e)o();},{injector:this._injector});});}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"");}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(o,a){if(o&1&&Ih(yc,7),o&2){let i;qD(i=WD())&&(a._contentWrapper=i.first);}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(o,a){o&2&&Mh("cdk-virtual-scroll-orientation-horizontal",a.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",a.orientation!=="horizontal");},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",Z0$1]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Sw([{provide:on,useFactory:()=>C$1(xa,{optional:true})||C$1(n)},{provide:Va,useExisting:n}]),eh],ngContentSelectors:_c,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(o,a){o&1&&(BD(),Jc$1(0,"div",1,0),$D(2),Xc$1(),uh(3,"div",2)),o&2&&(gI(3),_h("width",a._totalContentWidth())("height",a._totalContentHeight()));},styles:[`cdk-virtual-scroll-viewport {
|
|
16
|
+
display: block;
|
|
17
|
+
position: relative;
|
|
18
|
+
transform: translateZ(0);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.cdk-virtual-scrollable {
|
|
22
|
+
overflow: auto;
|
|
23
|
+
will-change: scroll-position;
|
|
24
|
+
contain: strict;
|
|
25
|
+
overflow-anchor: none;
|
|
26
|
+
scroll-behavior: auto;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.cdk-virtual-scroll-content-wrapper {
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 0;
|
|
32
|
+
left: 0;
|
|
33
|
+
contain: content;
|
|
34
|
+
}
|
|
35
|
+
[dir=rtl] .cdk-virtual-scroll-content-wrapper {
|
|
36
|
+
right: 0;
|
|
37
|
+
left: auto;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper {
|
|
41
|
+
min-height: 100%;
|
|
42
|
+
}
|
|
43
|
+
.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {
|
|
44
|
+
padding-left: 0;
|
|
45
|
+
padding-right: 0;
|
|
46
|
+
margin-left: 0;
|
|
47
|
+
margin-right: 0;
|
|
48
|
+
border-left-width: 0;
|
|
49
|
+
border-right-width: 0;
|
|
50
|
+
outline: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {
|
|
54
|
+
min-width: 100%;
|
|
55
|
+
}
|
|
56
|
+
.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {
|
|
57
|
+
padding-top: 0;
|
|
58
|
+
padding-bottom: 0;
|
|
59
|
+
margin-top: 0;
|
|
60
|
+
margin-bottom: 0;
|
|
61
|
+
border-top-width: 0;
|
|
62
|
+
border-bottom-width: 0;
|
|
63
|
+
outline: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.cdk-virtual-scroll-spacer {
|
|
67
|
+
height: 1px;
|
|
68
|
+
transform-origin: 0 0;
|
|
69
|
+
flex: 0 0 auto;
|
|
70
|
+
}
|
|
71
|
+
[dir=rtl] .cdk-virtual-scroll-spacer {
|
|
72
|
+
transform-origin: 100% 0;
|
|
73
|
+
}
|
|
74
|
+
`],encapsulation:2})}return n})();function Sa(n,t,e){let o=e;if(!o.getBoundingClientRect)return 0;let a=o.getBoundingClientRect();return n==="horizontal"?t==="start"?a.left:a.right:t==="start"?a.top:a.bottom}var an$1=(()=>{class n{_viewContainerRef=C$1(ji$3);_template=C$1(Er$2);_differs=C$1(Kw);_viewRepeater=new q4;_viewport=C$1(Va,{skipSelf:true});viewChange=new re$1;_dataSourceChanges=new re$1;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,wa(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new W4(Lg(e)?e:Array.from(e||[])));}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=true,this._cdkVirtualForTrackBy=e?(o,a)=>e(o+(this._renderedRange?this._renderedRange.start:0),a):void 0;}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=true,this._template=e);}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=xt(e);}dataStream=this._dataSourceChanges.pipe(Gl$1(null),nm(),Ml$1(([e,o])=>this._changeDataSource(e,o)),Wl$1(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=false;_destroyed=new re$1;constructor(){let e=C$1(oe$1);this.dataStream.subscribe(o=>{this._data=o,this._onRenderedDataChange();}),this._viewport.renderedRangeStream.pipe(im(this._destroyed)).subscribe(o=>{this._renderedRange=o,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange();}),this._viewport.attach(this);}measureRangeSize(e,o){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let a=e.start-this._renderedRange.start,i=e.end-e.start,r,c;for(let s=0;s<i;s++){let h=this._viewContainerRef.get(s+a);if(h&&h.rootNodes.length){r=c=h.rootNodes[0];break}}for(let s=i-1;s>-1;s--){let h=this._viewContainerRef.get(s+a);if(h&&h.rootNodes.length){c=h.rootNodes[h.rootNodes.length-1];break}}return r&&c?Sa(o,"end",c)-Sa(o,"start",r):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=false;}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach();}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,o)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,o):o)),this._needsUpdate=true);}_changeDataSource(e,o){return e&&e.disconnect(this),this._needsUpdate=true,o?o.connect(this):Dg()}_updateContext(){let e=this._data.length,o=this._viewContainerRef.length;for(;o--;){let a=this._viewContainerRef.get(o);a.context.index=this._renderedRange.start+o,a.context.count=e,this._updateComputedContextProperties(a.context),a.detectChanges();}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(i,r,c)=>this._getEmbeddedViewArgs(i,c),i=>i.item),e.forEachIdentityChange(i=>{let r=this._viewContainerRef.get(i.currentIndex);r.context.$implicit=i.item;});let o=this._data.length,a=this._viewContainerRef.length;for(;a--;){let i=this._viewContainerRef.get(a);i.context.index=this._renderedRange.start+a,i.context.count=o,this._updateComputedContextProperties(i.context);}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even;}_getEmbeddedViewArgs(e,o){return {templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:false,last:false,odd:false,even:false},index:o}}static ngTemplateContextGuard(e,o){return true}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return n})();var tn=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})(),rn$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({imports:[P1,tn,P1,tn]})}return n})();var Ta=new Map,K4=class n{_appId=C$1(td);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(t,e=false){this._appId!=="ng"&&(t+=this._appId);let o=Ta.get(t);return o===void 0?o=0:o++,Ta.set(t,o),`${t}${e?n._infix+"-":""}${o}`}static \u0275fac=function(e){return new(e||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})};var q1=class{_attachedHost=null;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach());}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t;}},K1=class extends q1{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(t,e,o,a,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=o,this.projectableNodes=a,this.bindings=i||null,this.directives=r||null;}},G1=class extends q1{templateRef;viewContainerRef;context;injector;constructor(t,e,o,a){super(),this.templateRef=t,this.viewContainerRef=e,this.context=o,this.injector=a;}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}},cn$1=class cn extends q1{element;constructor(t){super(),this.element=t instanceof _r$2?t.nativeElement:t;}},G4=class{_attachedPortal=null;_disposeFn=null;_isDisposed=false;hasAttached(){return !!this._attachedPortal}attach(t){if(t instanceof K1)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof G1)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof cn$1)return this._attachedPortal=t,this.attachDomPortal(t)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn();}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=true;}setDisposeFn(t){this._disposeFn=t;}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null);}},$4=class extends G4{outletElement;_appRef;_defaultInjector;constructor(t,e,o){super(),this.outletElement=t,this._appRef=e,this._defaultInjector=o;}attachComponentPortal(t){let e;if(t.viewContainerRef){let o=t.injector||t.viewContainerRef.injector,a=o.get(Mn$2,null,{optional:true})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:o,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),this.setDisposeFn(()=>e.destroy());}else {let o=this._appRef,a=t.injector||this._defaultInjector||Ee$2.NULL,i=a.get(le$2,o.injector);e=K0$1(t.component,{elementInjector:a,environmentInjector:i,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),o.attachView(e.hostView),this.setDisposeFn(()=>{o.viewCount>0&&o.detachView(e.hostView),e.destroy();});}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,o=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return o.rootNodes.forEach(a=>this.outletElement.appendChild(a)),o.detectChanges(),this.setDisposeFn(()=>{let a=e.indexOf(o);a!==-1&&e.remove(a);}),this._attachedPortal=t,o}attachDomPortal=t=>{let e=t.element;e.parentNode;let o=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(o,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(e,o);});};dispose(){super.dispose(),this.outletElement.remove();}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Da=(()=>{class n extends G4{_moduleRef=C$1(Mn$2,{optional:true});_document=C$1(Uo$2);_viewContainerRef=C$1(ji$3);_isInitialized=false;_attachedRef=null;get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null);}attached=new Le$2;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=true;}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null;}attachComponentPortal(e){e.setAttachedHost(this);let o=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=o.createComponent(e.component,{index:o.length,injector:e.injector||o.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0,directives:e.directives||void 0});return o!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let o=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachDomPortal=e=>{let o=e.element;o.parentNode;let a=this._document.createComment("dom-portal");e.setAttachedHost(this),o.parentNode.insertBefore(a,o),this._getRootNode().appendChild(o),this._attachedPortal=e,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(o,a);});};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=(()=>{let e;return function(a){return (e||(e=Sy(n)))(a||n)}})();static \u0275dir=XE({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[eh]})}return n})(),Z4=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})();function Pa(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Ha=H4();function Na(n){return new Q4(n.get(qt),n.get(Uo$2))}var Q4=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=false;_document;constructor(t,e){this._viewportRuler=t,this._document=e;}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=W(-this._previousScrollPosition.left),t.style.top=W(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=true;}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,o=t.style,a=e.style,i=o.scrollBehavior||"",r=a.scrollBehavior||"";this._isEnabled=false,o.left=this._previousHTMLStyles.left,o.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Ha&&(o.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ha&&(o.scrollBehavior=i,a.scrollBehavior=r);}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return false;let e=this._document.documentElement,o=this._viewportRuler.getViewportSize();return e.scrollHeight>o.height||e.scrollWidth>o.width}};function Ba(n,t){return new X4(n.get(U1),n.get(oe$1),n.get(qt),t)}var X4=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,o,a){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=o,this._config=a;}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(on$2(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition();})):this._scrollSubscription=t.subscribe(this._detach);}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach());}};function Vc(){return new p1}var p1=class{enable(){}disable(){}attach(){}};function ln$1(n,t){return t.some(e=>{let o=n.bottom<e.top,a=n.top>e.bottom,i=n.right<e.left,r=n.left>e.right;return o||a||i||r})}function Ea(n,t){return t.some(e=>{let o=n.top<e.top,a=n.bottom>e.bottom,i=n.left<e.left,r=n.right>e.right;return o||a||i||r})}function hn$1(n,t){return new J4(n.get(U1),n.get(qt),n.get(oe$1),t)}var J4=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,o,a){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=o,this._config=a;}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:o,height:a}=this._viewportRuler.getViewportSize();ln$1(e,[{width:o,height:a,bottom:a,right:o,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()));}});}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}},Ra=(()=>{class n{_injector=C$1(Ee$2);noop=()=>new p1;close=e=>Ba(this._injector,e);block=()=>Na(this._injector);reposition=e=>hn$1(this._injector,e);static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),$1=class{positionStrategy;scrollStrategy=new p1;panelClass="";hasBackdrop=false;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=false;usePopover;eventPredicate;constructor(t){if(t){let e=Object.keys(t);for(let o of e)t[o]!==void 0&&(this[o]=t[o]);}}},X=class{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(t,e,o,a,i){this.offsetX=o,this.offsetY=a,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY;}};var e2=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e;}};var ja=(()=>{class n{_attachedOverlays=[];_document=C$1(Uo$2);_isAttached=false;ngOnDestroy(){this.detach();}add(e){this.remove(e),this._attachedOverlays.push(e);}remove(e){let o=this._attachedOverlays.indexOf(e);o>-1&&this._attachedOverlays.splice(o,1),this._attachedOverlays.length===0&&this.detach();}canReceiveEvent(e,o,a){return a.observers.length<1?false:e.eventPredicate?e.eventPredicate(o):true}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),Ua=(()=>{class n extends ja{_ngZone=C$1(oe$1);_renderer=C$1(Dr$2).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener);}),this._isAttached=true);}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=false);}_keydownListener=e=>{let o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--){let i=o[a];if(this.canReceiveEvent(i,e,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(e));break}}};static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),Wa=(()=>{class n extends ja{_platform=C$1(J);_ngZone=C$1(oe$1);_renderer=C$1(Dr$2).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=false;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let o=this._document.body,a={capture:true},i=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[i.listen(o,"pointerdown",this._pointerDownListener,a),i.listen(o,"click",this._clickListener,a),i.listen(o,"auxclick",this._clickListener,a),i.listen(o,"contextmenu",this._clickListener,a)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=o.style.cursor,o.style.cursor="pointer",this._cursorStyleIsSet=true),this._isAttached=true;}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=false),this._isAttached=false);}_pointerDownListener=e=>{this._pointerDownEventTarget=He(e);};_clickListener=e=>{let o=He(e),a=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;let i=this._attachedOverlays.slice();for(let r=i.length-1;r>-1;r--){let c=i[r],s=c._outsidePointerEvents;if(!(!c.hasAttached()||!this.canReceiveEvent(c,e,s))){if(Oa(c.overlayElement,o)||Oa(c.overlayElement,a))break;this._ngZone?this._ngZone.run(()=>s.next(e)):s.next(e);}}};static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();function Oa(n,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,o=t;for(;o;){if(o===n)return true;o=e&&o instanceof ShadowRoot?o.host:o.parentNode;}return false}var qa=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(o,a){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
top: 0;
|
|
77
|
+
left: 0;
|
|
78
|
+
height: 100%;
|
|
79
|
+
width: 100%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cdk-overlay-container {
|
|
83
|
+
position: fixed;
|
|
84
|
+
}
|
|
85
|
+
@layer cdk-overlay {
|
|
86
|
+
.cdk-overlay-container {
|
|
87
|
+
z-index: 1000;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
.cdk-overlay-container:empty {
|
|
91
|
+
display: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cdk-global-overlay-wrapper {
|
|
95
|
+
display: flex;
|
|
96
|
+
position: absolute;
|
|
97
|
+
}
|
|
98
|
+
@layer cdk-overlay {
|
|
99
|
+
.cdk-global-overlay-wrapper {
|
|
100
|
+
z-index: 1000;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.cdk-overlay-pane {
|
|
105
|
+
position: absolute;
|
|
106
|
+
pointer-events: auto;
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
display: flex;
|
|
109
|
+
max-width: 100%;
|
|
110
|
+
max-height: 100%;
|
|
111
|
+
}
|
|
112
|
+
@layer cdk-overlay {
|
|
113
|
+
.cdk-overlay-pane {
|
|
114
|
+
z-index: 1000;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.cdk-overlay-backdrop {
|
|
119
|
+
position: absolute;
|
|
120
|
+
top: 0;
|
|
121
|
+
bottom: 0;
|
|
122
|
+
left: 0;
|
|
123
|
+
right: 0;
|
|
124
|
+
pointer-events: auto;
|
|
125
|
+
-webkit-tap-highlight-color: transparent;
|
|
126
|
+
opacity: 0;
|
|
127
|
+
touch-action: manipulation;
|
|
128
|
+
}
|
|
129
|
+
@layer cdk-overlay {
|
|
130
|
+
.cdk-overlay-backdrop {
|
|
131
|
+
z-index: 1000;
|
|
132
|
+
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
@media (prefers-reduced-motion) {
|
|
136
|
+
.cdk-overlay-backdrop {
|
|
137
|
+
transition-duration: 1ms;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.cdk-overlay-backdrop-showing {
|
|
142
|
+
opacity: 1;
|
|
143
|
+
}
|
|
144
|
+
@media (forced-colors: active) {
|
|
145
|
+
.cdk-overlay-backdrop-showing {
|
|
146
|
+
opacity: 0.6;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@layer cdk-overlay {
|
|
151
|
+
.cdk-overlay-dark-backdrop {
|
|
152
|
+
background: rgba(0, 0, 0, 0.32);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.cdk-overlay-transparent-backdrop {
|
|
157
|
+
transition: visibility 1ms linear, opacity 1ms linear;
|
|
158
|
+
visibility: hidden;
|
|
159
|
+
opacity: 1;
|
|
160
|
+
}
|
|
161
|
+
.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
|
|
162
|
+
opacity: 0;
|
|
163
|
+
visibility: visible;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.cdk-overlay-backdrop-noop-animation {
|
|
167
|
+
transition: none;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.cdk-overlay-connected-position-bounding-box {
|
|
171
|
+
position: absolute;
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
min-width: 1px;
|
|
175
|
+
min-height: 1px;
|
|
176
|
+
}
|
|
177
|
+
@layer cdk-overlay {
|
|
178
|
+
.cdk-overlay-connected-position-bounding-box {
|
|
179
|
+
z-index: 1000;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.cdk-global-scrollblock {
|
|
184
|
+
position: fixed;
|
|
185
|
+
width: 100%;
|
|
186
|
+
overflow-y: scroll;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.cdk-overlay-popover {
|
|
190
|
+
background: none;
|
|
191
|
+
border: none;
|
|
192
|
+
padding: 0;
|
|
193
|
+
outline: 0;
|
|
194
|
+
overflow: visible;
|
|
195
|
+
position: fixed;
|
|
196
|
+
pointer-events: none;
|
|
197
|
+
white-space: normal;
|
|
198
|
+
color: inherit;
|
|
199
|
+
text-decoration: none;
|
|
200
|
+
width: 100%;
|
|
201
|
+
height: 100%;
|
|
202
|
+
inset: auto;
|
|
203
|
+
top: 0;
|
|
204
|
+
left: 0;
|
|
205
|
+
}
|
|
206
|
+
.cdk-overlay-popover::backdrop {
|
|
207
|
+
display: none;
|
|
208
|
+
}
|
|
209
|
+
.cdk-overlay-popover .cdk-overlay-backdrop {
|
|
210
|
+
position: fixed;
|
|
211
|
+
z-index: auto;
|
|
212
|
+
}
|
|
213
|
+
`],encapsulation:2})}return n})(),Ka=(()=>{class n{_platform=C$1(J);_containerElement;_document=C$1(Uo$2);_styleLoader=C$1(R1);ngOnDestroy(){this._containerElement?.remove();}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||H3()){let a=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let i=0;i<a.length;i++)a[i].remove();}let o=this._document.createElement("div");o.classList.add(e),H3()?o.setAttribute("platform","test"):this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._containerElement=o;}_loadStyles(){this._styleLoader.load(qa);}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),sn$1=class sn{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,e,o,a){this._renderer=e,this._ngZone=o,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",a);}detach(){this._ngZone.runOutsideAngular(()=>{let t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.classList.remove("cdk-overlay-backdrop-showing");});}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove();}};function dn$1(n){return n&&n.nodeType===1}var t2=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new re$1;_attachments=new re$1;_detachments=new re$1;_positionStrategy;_scrollStrategy;_locationChanges=H$1.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=false;_previousHostParent;_keydownEvents=new re$1;_outsidePointerEvents=new re$1;_afterNextRenderRef;constructor(t,e,o,a,i,r,c,s,h,f=false,v,R){this._portalOutlet=t,this._host=e,this._pane=o,this._config=a,this._ngZone=i,this._keyboardDispatcher=r,this._document=c,this._location=s,this._outsideClickDispatcher=h,this._animationsDisabled=f,this._injector=v,this._renderer=R,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy;}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(t){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(t);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Kf(()=>{this.hasAttached()&&this.updatePosition();},{injector:this._injector}),this._togglePointerEvents(true),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,true),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()));}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(false),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){if(this._disposed)return;let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,t&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=true;}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply();}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()));}updateSize(t){this._config=r(r({},this._config),t),this._updateElementSize();}setDirection(t){this._config=s(r({},this._config),{direction:t}),this._updateElementDirection();}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,true);}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,false);}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()));}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection());}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=W(this._config.width),t.height=W(this._config.height),t.minWidth=W(this._config.minWidth),t.minHeight=W(this._config.minHeight),t.maxWidth=W(this._config.maxWidth),t.maxHeight=W(this._config.maxHeight);}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none";}_attachHost(){if(!this._host.parentElement){let t=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;dn$1(t)?t.after(this._host):t?.type==="parent"?t.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host);}if(this._config.usePopover)try{this._host.showPopover();}catch(t){}}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new sn$1(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e);}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,true),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(t));}):this._backdropRef.element.classList.add(t);}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host);}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach();}_toggleClasses(t,e,o){let a=u1(e||[]).filter(i=>!!i);a.length&&(o?t.classList.add(...a):t.classList.remove(...a));}_detachContentWhenEmpty(){let t=false;try{this._detachContentAfterRenderRef=Kf(()=>{t=!0,this._detachContent();},{injector:this._injector});}catch(e){if(t)throw e;this._detachContent();}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent();}),this._detachContentMutationObserver.observe(this._pane,{childList:true}));}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,false),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent());}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect();}_disposeScrollStrategy(){let t=this._scrollStrategy;t?.disable(),t?.detach?.();}},Ya="cdk-overlay-connected-position-bounding-box",Tc=/([A-Za-z%]+)$/;function un$1(n,t){return new n2(t,n.get(qt),n.get(Uo$2),n.get(J),n.get(Ka))}var n2=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=false;_lastBoundingBoxSize={width:0,height:0};_isPushed=false;_canPush=true;_growAfterOpen=false;_hasFlexibleDimensions=true;_positionLocked=false;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=false;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new re$1;_resizeSubscription=H$1.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,e,o,a,i){this._viewportRuler=e,this._document=o,this._platform=a,this._overlayContainer=i,this.setOrigin(t);}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Ya),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=false,this._isInitialRender=true,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=true,this.apply();});}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let t=this._originRect,e=this._overlayRect,o=this._viewportRect,a=this._containerRect,i=[],r;for(let c of this._preferredPositions){let s=this._getOriginPoint(t,a,c),h=this._getOverlayPoint(s,e,c),f=this._getOverlayFit(h,e,o,c);if(f.isCompletelyWithinViewport){this._isPushed=false,this._applyPosition(c,s);return}if(this._canFitWithFlexibleDimensions(f,h,o)){i.push({position:c,origin:s,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(s,c)});continue}(!r||r.overlayFit.visibleArea<f.visibleArea)&&(r={overlayFit:f,overlayPoint:h,originPoint:s,position:c,overlayRect:e});}if(i.length){let c=null,s=-1;for(let h of i){let f=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);f>s&&(s=f,c=h);}this._isPushed=false,this._applyPosition(c.position,c.origin);return}if(this._canPush){this._isPushed=true,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint);}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe();}dispose(){this._isDisposed||(this._boundingBox&&Kt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ya),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=true);}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;t?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(t,this._getOriginPoint(this._originRect,this._containerRect,t))):this.apply();}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=true){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=true){return this._growAfterOpen=t,this}withPush(t=true){return this._canPush=t,this}withLockedPosition(t=true){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}withPopoverLocation(t){return this._popoverLocation=t,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof _r$2?this._origin.nativeElement:dn$1(this._origin)?this._origin:null}_getOriginPoint(t,e,o){let a;if(o.originX=="center")a=t.left+t.width/2;else {let r=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;a=o.originX=="start"?r:c;}e.left<0&&(a-=e.left);let i;return o.originY=="center"?i=t.top+t.height/2:i=o.originY=="top"?t.top:t.bottom,e.top<0&&(i-=e.top),{x:a,y:i}}_getOverlayPoint(t,e,o){let a;o.overlayX=="center"?a=-e.width/2:o.overlayX==="start"?a=this._isRtl()?-e.width:0:a=this._isRtl()?0:-e.width;let i;return o.overlayY=="center"?i=-e.height/2:i=o.overlayY=="top"?0:-e.height,{x:t.x+a,y:t.y+i}}_getOverlayFit(t,e,o,a){let i=Aa(e),{x:r,y:c}=t,s=this._getOffset(a,"x"),h=this._getOffset(a,"y");s&&(r+=s),h&&(c+=h);let f=0-r,v=r+i.width-o.width,R=0-c,m=c+i.height-o.height,p=this._subtractOverflows(i.width,f,v),d=this._subtractOverflows(i.height,R,m),u=p*d;return {visibleArea:u,isCompletelyWithinViewport:i.width*i.height===u,fitsInViewportVertically:d===i.height,fitsInViewportHorizontally:p==i.width}}_canFitWithFlexibleDimensions(t,e,o){if(this._hasFlexibleDimensions){let a=o.bottom-e.y,i=o.right-e.x,r=Fa(this._overlayRef.getConfig().minHeight),c=Fa(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportVertically||r!=null&&r<=a,h=t.fitsInViewportHorizontally||c!=null&&c<=i;return s&&h}return false}_pushOverlayOnScreen(t,e,o){if(this._previousPushAmount&&this._positionLocked)return {x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let a=Aa(e),i=this._viewportRect,r=Math.max(t.x+a.width-i.width,0),c=Math.max(t.y+a.height-i.height,0),s=Math.max(i.top-o.top-t.y,0),h=Math.max(i.left-o.left-t.x,0),f=0,v=0;return a.width<=i.width?f=h||-r:f=t.x<this._getViewportMarginStart()?i.left-o.left-t.x:0,a.height<=i.height?v=s||-c:v=t.y<this._getViewportMarginTop()?i.top-o.top-t.y:0,this._previousPushAmount={x:f,y:v},{x:t.x+f,y:t.y+v}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let o=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!Dc(this._lastScrollVisibility,o)){let a=new e2(t,o);this._positionChanges.next(a);}this._lastScrollVisibility=o;}this._lastPosition=t,this._isInitialRender=false;}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),o,a=t.overlayY;t.overlayX==="center"?o="center":this._isRtl()?o=t.overlayX==="start"?"right":"left":o=t.overlayX==="start"?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${o} ${a}`;}_calculateBoundingBoxRect(t,e){let o=this._viewportRect,a=this._isRtl(),i,r,c;if(e.overlayY==="top")r=t.y,i=o.height-r+this._getViewportMarginBottom();else if(e.overlayY==="bottom")c=o.height-t.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=o.height-c+this._getViewportMarginTop();else {let m=Math.min(o.bottom-t.y+o.top,t.y),p=this._lastBoundingBoxSize.height;i=m*2,r=t.y-m,i>p&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-p/2);}let s=e.overlayX==="start"&&!a||e.overlayX==="end"&&a,h=e.overlayX==="end"&&!a||e.overlayX==="start"&&a,f,v,R;if(h)R=o.width-t.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),f=t.x-this._getViewportMarginStart();else if(s)v=t.x,f=o.right-t.x-this._getViewportMarginEnd();else {let m=Math.min(o.right-t.x+o.left,t.x),p=this._lastBoundingBoxSize.width;f=m*2,v=t.x-m,f>p&&!this._isInitialRender&&!this._growAfterOpen&&(v=t.x-p/2);}return {top:r,left:v,bottom:c,right:R,width:f,height:i}}_setBoundingBoxStyles(t,e){let o=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(o.height=Math.min(o.height,this._lastBoundingBoxSize.height),o.width=Math.min(o.width,this._lastBoundingBoxSize.width));let a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right="auto",a.maxHeight=a.maxWidth="",a.width=a.height="100%";else {let i=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;a.width=W(o.width),a.height=W(o.height),a.top=W(o.top)||"auto",a.bottom=W(o.bottom)||"auto",a.left=W(o.left)||"auto",a.right=W(o.right)||"auto",e.overlayX==="center"?a.alignItems="center":a.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?a.justifyContent="center":a.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",i&&(a.maxHeight=W(i)),r&&(a.maxWidth=W(r));}this._lastBoundingBoxSize=o,Kt(this._boundingBox.style,a);}_resetBoundingBoxStyles(){Kt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""});}_resetOverlayElementStyles(){Kt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""});}_setOverlayElementStyles(t,e){let o={},a=this._hasExactPosition(),i=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(a){let f=this._viewportRuler.getViewportScrollPosition();Kt(o,this._getExactOverlayY(e,t,f)),Kt(o,this._getExactOverlayX(e,t,f));}else o.position="static";let c="",s=this._getOffset(e,"x"),h=this._getOffset(e,"y");s&&(c+=`translateX(${s}px) `),h&&(c+=`translateY(${h}px)`),o.transform=c.trim(),r.maxHeight&&(a?o.maxHeight=W(r.maxHeight):i&&(o.maxHeight="")),r.maxWidth&&(a?o.maxWidth=W(r.maxWidth):i&&(o.maxWidth="")),Kt(this._pane.style,o);}_getExactOverlayY(t,e,o){let a={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,o)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;a.bottom=`${r-(i.y+this._overlayRect.height)}px`;}else a.top=W(i.y);return a}_getExactOverlayX(t,e,o){let a={left:"",right:""},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,o));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let c=this._document.documentElement.clientWidth;a.right=`${c-(i.x+this._overlayRect.width)}px`;}else a.left=W(i.x);return a}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),o=this._scrollables.map(a=>a.getElementRef().nativeElement.getBoundingClientRect());return {isOriginClipped:Ea(t,o),isOriginOutsideView:ln$1(t,o),isOverlayClipped:Ea(e,o),isOverlayOutsideView:ln$1(e,o)}}_subtractOverflows(t,...e){return e.reduce((o,a)=>o-Math.max(a,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,o=this._viewportRuler.getViewportScrollPosition();return {top:o.top+this._getViewportMarginTop(),left:o.left+this._getViewportMarginStart(),right:o.left+t-this._getViewportMarginEnd(),bottom:o.top+e-this._getViewportMarginBottom(),width:t-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return !this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&u1(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e));});}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t);}),this._appliedPanelClasses=[]);}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let t=this._origin;if(t instanceof _r$2)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,o=t.height||0;return {top:t.y,bottom:t.y+o,left:t.x,right:t.x+e,height:o,width:e}}_getContainerRect(){let t=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();t&&(e.style.display="block");let o=e.getBoundingClientRect();return t&&(e.style.display=""),o}};function Kt(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function Fa(n){if(typeof n!="number"&&n!=null){let[t,e]=n.split(Tc);return !e||e==="px"?parseFloat(t):null}return n||null}function Aa(n){return {top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function Dc(n,t){return n===t?true:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var La="cdk-global-overlay-wrapper";function Ga(n){return new o2}var o2=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=false;attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(La),this._isDisposed=false;}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,o=this._overlayRef.getConfig(),{width:a,height:i,maxWidth:r,maxHeight:c}=o,s=(a==="100%"||a==="100vw")&&(!r||r==="100%"||r==="100vw"),h=(i==="100%"||i==="100vh")&&(!c||c==="100%"||c==="100vh"),f=this._xPosition,v=this._xOffset,R=this._overlayRef.getConfig().direction==="rtl",m="",p="",d="";s?d="flex-start":f==="center"?(d="center",R?p=v:m=v):R?f==="left"||f==="end"?(d="flex-end",m=v):(f==="right"||f==="start")&&(d="flex-start",p=v):f==="left"||f==="start"?(d="flex-start",m=v):(f==="right"||f==="end")&&(d="flex-end",p=v),t.position=this._cssPosition,t.marginLeft=s?"0":m,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=s?"0":p,e.justifyContent=d,e.alignItems=h?"flex-start":this._alignItems;}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,o=e.style;e.classList.remove(La),o.justifyContent=o.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=true;}},$a=(()=>{class n{_injector=C$1(Ee$2);global(){return Ga()}flexibleConnectedTo(e){return un$1(this._injector,e)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),mn$1=new A$2("OVERLAY_DEFAULT_CONFIG");function pn$1(n,t){n.get(R1).load(qa);let e=n.get(Ka),o=n.get(Uo$2),a=n.get(K4),i=n.get(Vi$3),r=n.get(Le),c=n.get(XI,null,{optional:true})||n.get(Dr$2).createRenderer(null,null),s=new $1(t),h=n.get(mn$1,null,{optional:true})?.usePopover??true;s.direction=s.direction||r.value,!o.body||!("showPopover"in o.body)?s.usePopover=false:s.usePopover=t?.usePopover??h;let f=o.createElement("div"),v=o.createElement("div");f.id=a.getId("cdk-overlay-"),f.classList.add("cdk-overlay-pane"),v.appendChild(f),s.usePopover&&(v.setAttribute("popover","manual"),v.classList.add("cdk-overlay-popover"));let R=s.usePopover?s.positionStrategy?.getPopoverInsertionPoint?.():null;return dn$1(R)?R.after(v):R?.type==="parent"?R.element.appendChild(v):e.getContainerElement().appendChild(v),new t2(new $4(f,i,n),v,f,s,n.get(oe$1),n.get(Ua),o,n.get($e$1),n.get(Wa),t?.disableAnimations??n.get(Gm,null,{optional:true})==="NoopAnimations",n.get(le$2),c)}var Za=(()=>{class n{scrollStrategies=C$1(Ra);_positionBuilder=C$1($a);_injector=C$1(Ee$2);create(e){return pn$1(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),Pc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Hc=new A$2("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=C$1(Ee$2);return ()=>hn$1(n)}}),Dt=(()=>{class n{elementRef=C$1(_r$2);static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),Qa=new A$2("cdk-connected-overlay-default-config"),f1=(()=>{class n{_dir=C$1(Le,{optional:true});_injector=C$1(Ee$2);_overlayRef;_templatePortal;_backdropSubscription=H$1.EMPTY;_attachSubscription=H$1.EMPTY;_detachSubscription=H$1.EMPTY;_positionSubscription=H$1.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=C$1(Hc);_ngZone=C$1(oe$1);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position);}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position);}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=false;disableClose=false;transformOriginSelector;hasBackdrop=false;lockPosition=false;flexibleDimensions=false;growAfterOpen=false;push=false;disposeOnNavigation=false;usePopover;matchWidth=false;set _config(e){typeof e!="string"&&this._assignConfig(e);}backdropClick=new Le$2;positionChange=new Le$2;attach=new Le$2;detach=new Le$2;overlayKeydown=new Le$2;overlayOutsideClick=new Le$2;constructor(){let e=C$1(Er$2),o=C$1(ji$3),a=C$1(Qa,{optional:true}),i=C$1(mn$1,{optional:true});this.usePopover=i?.usePopover===false?null:"global",this._templatePortal=new G1(e,o),this.scrollStrategy=this._scrollStrategyFactory(),a&&this._assignConfig(a);}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose();}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay());}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Pc);let e=this._overlayRef=pn$1(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(o=>{this.overlayKeydown.next(o),o.keyCode===27&&!this.disableClose&&!Pa(o)&&(o.preventDefault(),this.detachOverlay());}),this._overlayRef.outsidePointerEvents().subscribe(o=>{let a=this._getOriginElement(),i=He(o);(!a||a!==i&&!a.contains(i))&&this.overlayOutsideClick.next(o);});}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),o=new $1({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return (this.height||this.height===0)&&(o.height=this.height),(this.minWidth||this.minWidth===0)&&(o.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(o.minHeight=this.minHeight),this.backdropClass&&(o.backdropClass=this.backdropClass),this.panelClass&&(o.panelClass=this.panelClass),o}_updatePositionStrategy(e){let o=this.positions.map(a=>({originX:a.originX,originY:a.originY,overlayX:a.overlayX,overlayY:a.overlayY,offsetX:a.offsetX||this.offsetX,offsetY:a.offsetY||this.offsetY,panelClass:a.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(o).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=un$1(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Dt?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Dt?this.origin.elementRef.nativeElement:this.origin instanceof _r$2?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(o=>this.backdropClick.emit(o)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(sm(()=>this.positionChange.observers.length>0)).subscribe(o=>{this._ngZone.run(()=>this.positionChange.emit(o)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe();})),this.open=true;}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=false;}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth;}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Z0$1],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Z0$1],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Z0$1],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Z0$1],push:[2,"cdkConnectedOverlayPush","push",Z0$1],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Z0$1],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",Z0$1],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ly]})}return n})(),fn$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({providers:[Za],imports:[P1,Z4,rn$1,rn$1]})}return n})();var _e={top:new X({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new X({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new X({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new X({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new X({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new X({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new X({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new X({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new X({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new X({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new X({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new X({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new X({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new X({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},Oc=(n=12)=>({top:[0,-n],topCenter:[0,-n],topLeft:[0,-n],topRight:[0,-n],right:[n,0],rightTop:[n,0],rightBottom:[n,0],bottom:[0,n],bottomCenter:[0,n],bottomLeft:[0,n],bottomRight:[0,n],left:[-n,0],leftTop:[-n,0],leftBottom:[-n,0]}),a2=Oc(),Ou=[r2(_e.top,a2.top),r2(_e.right,a2.right),r2(_e.bottom,a2.bottom),r2(_e.left,a2.left)];[new X({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new X({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})];[_e.bottomLeft,new X({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function vn(n){for(let t in _e)if(n.connectionPair.originX===_e[t].originX&&n.connectionPair.originY===_e[t].originY&&n.connectionPair.overlayX===_e[t].overlayX&&n.connectionPair.overlayY===_e[t].overlayY)return t}({bottomLeft:new X({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new X({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new X({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new X({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)});function Yc(n){return Array.isArray(n)?n:[n,n]}function r2(n,t){let[e,o]=Yc(t);return s(r({},n),{offsetX:e,offsetY:o})}var Xa=(()=>{class n{cdkConnectedOverlay=C$1(f1);nzArrowPointAtCenter=false;constructor(){this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(ue()).subscribe(e=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(e);});}updateArrowPosition(e){let o=this.getOriginRect(),a=vn(e),i=0,r=0;a==="topLeft"||a==="bottomLeft"?i=o.width/2-14:a==="topRight"||a==="bottomRight"?i=-(o.width/2-14):a==="leftTop"||a==="rightTop"?r=o.height/2-10:(a==="leftBottom"||a==="rightBottom")&&(r=-(o.height/2-10)),(this.cdkConnectedOverlay.offsetX!==i||this.cdkConnectedOverlay.offsetY!==r)&&(this.cdkConnectedOverlay.offsetY=r,this.cdkConnectedOverlay.offsetX=i,this.cdkConnectedOverlay.overlayRef.updatePosition());}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof Dt?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){let e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof _r$2)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let o=e.width||0,a=e.height||0;return {top:e.y,bottom:e.y+a,left:e.x,right:e.x+o,height:a,width:o}}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",Z0$1]},exportAs:["nzConnectedOverlay"]})}return n})(),gn$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})();var c2=6048e5,Ja=864e5,ei=6e4,ti=36e5,ni=1e3;var zn$1=Symbol.for("constructDateFrom");function C(n,t){return typeof n=="function"?n(t):n&&typeof n=="object"&&zn$1 in n?n[zn$1](t):n instanceof Date?new n.constructor(t):new Date(t)}function y(n,t){return C(t||n,n)}function v1(n,t,e){let o=y(n,e?.in);return isNaN(t)?C(e?.in||n,NaN):(t&&o.setDate(o.getDate()+t),o)}function l2(n,t,e){let o=y(n,e?.in);if(isNaN(t))return C(n,NaN);if(!t)return o;let a=o.getDate(),i=C(n,o.getTime());i.setMonth(o.getMonth()+t+1,0);let r=i.getDate();return a>=r?i:(o.setFullYear(i.getFullYear(),i.getMonth(),a),o)}function ai(n,t,e){return C(n,+y(n)+t)}var Bc={};function Ne$1(){return Bc}function Me$1(n,t){let e=Ne$1(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,a=y(n,t?.in),i=a.getDay(),r=(i<o?7:0)+i-o;return a.setDate(a.getDate()-r),a.setHours(0,0,0,0),a}function Xe(n,t){return Me$1(n,s(r({},t),{weekStartsOn:1}))}function s2(n,t){let e=y(n,t?.in),o=e.getFullYear(),a=C(e,0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);let i=Xe(a),r=C(e,0);r.setFullYear(o,0,4),r.setHours(0,0,0,0);let c=Xe(r);return e.getTime()>=i.getTime()?o+1:e.getTime()>=c.getTime()?o:o-1}function Gt(n){let t=y(n),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+n-+e}function h2(n,...t){let e=C.bind(null,t.find(o=>typeof o=="object"));return t.map(e)}function g1(n,t){let e=y(n,t?.in);return e.setHours(0,0,0,0),e}function yn$1(n,t,e){let[o,a]=h2(e?.in,n,t),i=g1(o),r=g1(a),c=+i-Gt(i),s=+r-Gt(r);return Math.round((c-s)/Ja)}function ii(n,t){let e=s2(n,t),o=C(n,0);return o.setFullYear(e,0,4),o.setHours(0,0,0,0),Xe(o)}function ri(n,t,e){return ai(n,t*1e3)}function ci(n,t,e){return l2(n,t*12,e)}function li(n){return C(n,Date.now())}function _n$1(n,t,e){let[o,a]=h2(e?.in,n,t);return +g1(o)==+g1(a)}function si(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function d2(n){return !(!si(n)&&typeof n!="number"||isNaN(+y(n)))}function hi(n,t){let e=y(n,t?.in);return Math.trunc(e.getMonth()/3)+1}function di(n,t){let e=y(n,t?.in);return e.setHours(23,59,59,999),e}function ui(n,t){let e=y(n,t?.in),o=e.getMonth();return e.setFullYear(e.getFullYear(),o+1,0),e.setHours(23,59,59,999),e}function mi(n,t){let e=y(n,t?.in);return +di(e,t)==+ui(e,t)}function pi(n,t){let e=y(n,t?.in),o=e.getMonth(),a=o-o%3;return e.setMonth(a,1),e.setHours(0,0,0,0),e}function fi$1(n,t){let e=y(n,t?.in);return e.setDate(1),e.setHours(0,0,0,0),e}function vi$1(n,t){let e=y(n,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}var Rc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gi=(n,t,e)=>{let o,a=Rc[n];return typeof a=="string"?o=a:t===1?o=a.one:o=a.other.replace("{{count}}",t.toString()),e?.addSuffix?e.comparison&&e.comparison>0?"in "+o:o+" ago":o};function u2(n){return (t={})=>{let e=t.width?String(t.width):n.defaultWidth;return n.formats[e]||n.formats[n.defaultWidth]}}var jc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Uc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Wc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zi$1={date:u2({formats:jc,defaultWidth:"full"}),time:u2({formats:Uc,defaultWidth:"full"}),dateTime:u2({formats:Wc,defaultWidth:"full"})};var qc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},yi$1=(n,t,e,o)=>qc[n];function z1(n){return (t,e)=>{let o=e?.context?String(e.context):"standalone",a;if(o==="formatting"&&n.formattingValues){let r=n.defaultFormattingWidth||n.defaultWidth,c=e?.width?String(e.width):r;a=n.formattingValues[c]||n.formattingValues[r];}else {let r=n.defaultWidth,c=e?.width?String(e.width):n.defaultWidth;a=n.values[c]||n.values[r];}let i=n.argumentCallback?n.argumentCallback(t):t;return a[i]}}var Kc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Gc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},$c={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Zc={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Qc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Xc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Jc=(n,t)=>{let e=Number(n),o=e%100;if(o>20||o<10)switch(o%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},_i$1={ordinalNumber:Jc,era:z1({values:Kc,defaultWidth:"wide"}),quarter:z1({values:Gc,defaultWidth:"wide",argumentCallback:n=>n-1}),month:z1({values:$c,defaultWidth:"wide"}),day:z1({values:Zc,defaultWidth:"wide"}),dayPeriod:z1({values:Qc,defaultWidth:"wide",formattingValues:Xc,defaultFormattingWidth:"wide"})};function y1(n){return (t,e={})=>{let o=e.width,a=o&&n.matchPatterns[o]||n.matchPatterns[n.defaultMatchWidth],i=t.match(a);if(!i)return null;let r=i[0],c=o&&n.parsePatterns[o]||n.parsePatterns[n.defaultParseWidth],s=Array.isArray(c)?tl(c,v=>v.test(r)):el(c,v=>v.test(r)),h;h=n.valueCallback?n.valueCallback(s):s,h=e.valueCallback?e.valueCallback(h):h;let f=t.slice(r.length);return {value:h,rest:f}}}function el(n,t){for(let e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&t(n[e]))return e}function tl(n,t){for(let e=0;e<n.length;e++)if(t(n[e]))return e}function bi$1(n){return (t,e={})=>{let o=t.match(n.matchPattern);if(!o)return null;let a=o[0],i=t.match(n.parsePattern);if(!i)return null;let r=n.valueCallback?n.valueCallback(i[0]):i[0];r=e.valueCallback?e.valueCallback(r):r;let c=t.slice(a.length);return {value:r,rest:c}}}var nl=/^(\d+)(th|st|nd|rd)?/i,ol=/\d+/i,al={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},il={any:[/^b/i,/^(a|c)/i]},rl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},cl={any:[/1/i,/2/i,/3/i,/4/i]},ll={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},sl={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},hl={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},dl={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ul={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ml={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Mi$1={ordinalNumber:bi$1({matchPattern:nl,parsePattern:ol,valueCallback:n=>parseInt(n,10)}),era:y1({matchPatterns:al,defaultMatchWidth:"wide",parsePatterns:il,defaultParseWidth:"any"}),quarter:y1({matchPatterns:rl,defaultMatchWidth:"wide",parsePatterns:cl,defaultParseWidth:"any",valueCallback:n=>n+1}),month:y1({matchPatterns:ll,defaultMatchWidth:"wide",parsePatterns:sl,defaultParseWidth:"any"}),day:y1({matchPatterns:hl,defaultMatchWidth:"wide",parsePatterns:dl,defaultParseWidth:"any"}),dayPeriod:y1({matchPatterns:ul,defaultMatchWidth:"any",parsePatterns:ml,defaultParseWidth:"any"})};var Z1={code:"en-US",formatDistance:gi,formatLong:zi$1,formatRelative:yi$1,localize:_i$1,match:Mi$1,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ci$1(n,t){let e=y(n,t?.in);return yn$1(e,vi$1(e))+1}function _1(n,t){let e=y(n,t?.in),o=+Xe(e)-+ii(e);return Math.round(o/c2)+1}function b1(n,t){let e=y(n,t?.in),o=e.getFullYear(),a=Ne$1(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,r=C(t?.in||n,0);r.setFullYear(o+1,0,i),r.setHours(0,0,0,0);let c=Me$1(r,t),s=C(t?.in||n,0);s.setFullYear(o,0,i),s.setHours(0,0,0,0);let h=Me$1(s,t);return +e>=+c?o+1:+e>=+h?o:o-1}function wi$1(n,t){let e=Ne$1(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,a=b1(n,t),i=C(t?.in||n,0);return i.setFullYear(a,0,o),i.setHours(0,0,0,0),Me$1(i,t)}function m2(n,t){let e=y(n,t?.in),o=+Me$1(e,t)-+wi$1(e,t);return Math.round(o/c2)+1}function N(n,t){let e=n<0?"-":"",o=Math.abs(n).toString().padStart(t,"0");return e+o}var ft$1={y(n,t){let e=n.getFullYear(),o=e>0?e:1-e;return N(t==="yy"?o%100:o,t.length)},M(n,t){let e=n.getMonth();return t==="M"?String(e+1):N(e+1,2)},d(n,t){return N(n.getDate(),t.length)},a(n,t){let e=n.getHours()/12>=1?"pm":"am";switch(t){case "a":case "aa":return e.toUpperCase();case "aaa":return e;case "aaaaa":return e[0];default:return e==="am"?"a.m.":"p.m."}},h(n,t){return N(n.getHours()%12||12,t.length)},H(n,t){return N(n.getHours(),t.length)},m(n,t){return N(n.getMinutes(),t.length)},s(n,t){return N(n.getSeconds(),t.length)},S(n,t){let e=t.length,o=n.getMilliseconds(),a=Math.trunc(o*Math.pow(10,e-3));return N(a,t.length)}};var M1={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},bn$1={G:function(n,t,e){let o=n.getFullYear()>0?1:0;switch(t){case "G":case "GG":case "GGG":return e.era(o,{width:"abbreviated"});case "GGGGG":return e.era(o,{width:"narrow"});default:return e.era(o,{width:"wide"})}},y:function(n,t,e){if(t==="yo"){let o=n.getFullYear(),a=o>0?o:1-o;return e.ordinalNumber(a,{unit:"year"})}return ft$1.y(n,t)},Y:function(n,t,e,o){let a=b1(n,o),i=a>0?a:1-a;if(t==="YY"){let r=i%100;return N(r,2)}return t==="Yo"?e.ordinalNumber(i,{unit:"year"}):N(i,t.length)},R:function(n,t){let e=s2(n);return N(e,t.length)},u:function(n,t){let e=n.getFullYear();return N(e,t.length)},Q:function(n,t,e){let o=Math.ceil((n.getMonth()+1)/3);switch(t){case "Q":return String(o);case "QQ":return N(o,2);case "Qo":return e.ordinalNumber(o,{unit:"quarter"});case "QQQ":return e.quarter(o,{width:"abbreviated",context:"formatting"});case "QQQQQ":return e.quarter(o,{width:"narrow",context:"formatting"});default:return e.quarter(o,{width:"wide",context:"formatting"})}},q:function(n,t,e){let o=Math.ceil((n.getMonth()+1)/3);switch(t){case "q":return String(o);case "qq":return N(o,2);case "qo":return e.ordinalNumber(o,{unit:"quarter"});case "qqq":return e.quarter(o,{width:"abbreviated",context:"standalone"});case "qqqqq":return e.quarter(o,{width:"narrow",context:"standalone"});default:return e.quarter(o,{width:"wide",context:"standalone"})}},M:function(n,t,e){let o=n.getMonth();switch(t){case "M":case "MM":return ft$1.M(n,t);case "Mo":return e.ordinalNumber(o+1,{unit:"month"});case "MMM":return e.month(o,{width:"abbreviated",context:"formatting"});case "MMMMM":return e.month(o,{width:"narrow",context:"formatting"});default:return e.month(o,{width:"wide",context:"formatting"})}},L:function(n,t,e){let o=n.getMonth();switch(t){case "L":return String(o+1);case "LL":return N(o+1,2);case "Lo":return e.ordinalNumber(o+1,{unit:"month"});case "LLL":return e.month(o,{width:"abbreviated",context:"standalone"});case "LLLLL":return e.month(o,{width:"narrow",context:"standalone"});default:return e.month(o,{width:"wide",context:"standalone"})}},w:function(n,t,e,o){let a=m2(n,o);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):N(a,t.length)},I:function(n,t,e){let o=_1(n);return t==="Io"?e.ordinalNumber(o,{unit:"week"}):N(o,t.length)},d:function(n,t,e){return t==="do"?e.ordinalNumber(n.getDate(),{unit:"date"}):ft$1.d(n,t)},D:function(n,t,e){let o=Ci$1(n);return t==="Do"?e.ordinalNumber(o,{unit:"dayOfYear"}):N(o,t.length)},E:function(n,t,e){let o=n.getDay();switch(t){case "E":case "EE":case "EEE":return e.day(o,{width:"abbreviated",context:"formatting"});case "EEEEE":return e.day(o,{width:"narrow",context:"formatting"});case "EEEEEE":return e.day(o,{width:"short",context:"formatting"});default:return e.day(o,{width:"wide",context:"formatting"})}},e:function(n,t,e,o){let a=n.getDay(),i=(a-o.weekStartsOn+8)%7||7;switch(t){case "e":return String(i);case "ee":return N(i,2);case "eo":return e.ordinalNumber(i,{unit:"day"});case "eee":return e.day(a,{width:"abbreviated",context:"formatting"});case "eeeee":return e.day(a,{width:"narrow",context:"formatting"});case "eeeeee":return e.day(a,{width:"short",context:"formatting"});default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(n,t,e,o){let a=n.getDay(),i=(a-o.weekStartsOn+8)%7||7;switch(t){case "c":return String(i);case "cc":return N(i,t.length);case "co":return e.ordinalNumber(i,{unit:"day"});case "ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case "ccccc":return e.day(a,{width:"narrow",context:"standalone"});case "cccccc":return e.day(a,{width:"short",context:"standalone"});default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(n,t,e){let o=n.getDay(),a=o===0?7:o;switch(t){case "i":return String(a);case "ii":return N(a,t.length);case "io":return e.ordinalNumber(a,{unit:"day"});case "iii":return e.day(o,{width:"abbreviated",context:"formatting"});case "iiiii":return e.day(o,{width:"narrow",context:"formatting"});case "iiiiii":return e.day(o,{width:"short",context:"formatting"});default:return e.day(o,{width:"wide",context:"formatting"})}},a:function(n,t,e){let a=n.getHours()/12>=1?"pm":"am";switch(t){case "a":case "aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case "aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case "aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,t,e){let o=n.getHours(),a;switch(o===12?a=M1.noon:o===0?a=M1.midnight:a=o/12>=1?"pm":"am",t){case "b":case "bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case "bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case "bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,t,e){let o=n.getHours(),a;switch(o>=17?a=M1.evening:o>=12?a=M1.afternoon:o>=4?a=M1.morning:a=M1.night,t){case "B":case "BB":case "BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case "BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,t,e){if(t==="ho"){let o=n.getHours()%12;return o===0&&(o=12),e.ordinalNumber(o,{unit:"hour"})}return ft$1.h(n,t)},H:function(n,t,e){return t==="Ho"?e.ordinalNumber(n.getHours(),{unit:"hour"}):ft$1.H(n,t)},K:function(n,t,e){let o=n.getHours()%12;return t==="Ko"?e.ordinalNumber(o,{unit:"hour"}):N(o,t.length)},k:function(n,t,e){let o=n.getHours();return o===0&&(o=24),t==="ko"?e.ordinalNumber(o,{unit:"hour"}):N(o,t.length)},m:function(n,t,e){return t==="mo"?e.ordinalNumber(n.getMinutes(),{unit:"minute"}):ft$1.m(n,t)},s:function(n,t,e){return t==="so"?e.ordinalNumber(n.getSeconds(),{unit:"second"}):ft$1.s(n,t)},S:function(n,t){return ft$1.S(n,t)},X:function(n,t,e){let o=n.getTimezoneOffset();if(o===0)return "Z";switch(t){case "X":return Si$1(o);case "XXXX":case "XX":return $t(o);default:return $t(o,":")}},x:function(n,t,e){let o=n.getTimezoneOffset();switch(t){case "x":return Si$1(o);case "xxxx":case "xx":return $t(o);default:return $t(o,":")}},O:function(n,t,e){let o=n.getTimezoneOffset();switch(t){case "O":case "OO":case "OOO":return "GMT"+xi$1(o,":");default:return "GMT"+$t(o,":")}},z:function(n,t,e){let o=n.getTimezoneOffset();switch(t){case "z":case "zz":case "zzz":return "GMT"+xi$1(o,":");default:return "GMT"+$t(o,":")}},t:function(n,t,e){let o=Math.trunc(+n/1e3);return N(o,t.length)},T:function(n,t,e){return N(+n,t.length)}};function xi$1(n,t=""){let e=n>0?"-":"+",o=Math.abs(n),a=Math.trunc(o/60),i=o%60;return i===0?e+String(a):e+String(a)+t+N(i,2)}function Si$1(n,t){return n%60===0?(n>0?"-":"+")+N(Math.abs(n)/60,2):$t(n,t)}function $t(n,t=""){let e=n>0?"-":"+",o=Math.abs(n),a=N(Math.trunc(o/60),2),i=N(o%60,2);return e+a+t+i}var ki$1=(n,t)=>{switch(n){case "P":return t.date({width:"short"});case "PP":return t.date({width:"medium"});case "PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Vi$1=(n,t)=>{switch(n){case "p":return t.time({width:"short"});case "pp":return t.time({width:"medium"});case "ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},pl=(n,t)=>{let e=n.match(/(P+)(p+)?/)||[],o=e[1],a=e[2];if(!a)return ki$1(n,t);let i;switch(o){case "P":i=t.dateTime({width:"short"});break;case "PP":i=t.dateTime({width:"medium"});break;case "PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",ki$1(o,t)).replace("{{time}}",Vi$1(a,t))},Q1={p:Vi$1,P:pl};var fl=/^D+$/,vl=/^Y+$/,gl=["D","DD","YY","YYYY"];function p2(n){return fl.test(n)}function f2(n){return vl.test(n)}function X1(n,t,e){let o=zl(n,t,e);if(console.warn(o),gl.includes(n))throw new RangeError(o)}function zl(n,t,e){let o=n[0]==="Y"?"years":"days of the month";return `Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${t}\`) for formatting ${o} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var yl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_l=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,bl=/^'([^]*?)'?$/,Ml=/''/g,Cl=/[a-zA-Z]/;function J1(n,t,e){let o=Ne$1(),a=e?.locale??o.locale??Z1,i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,c=y(n,e?.in);if(!d2(c))throw new RangeError("Invalid time value");let s=t.match(_l).map(f=>{let v=f[0];if(v==="p"||v==="P"){let R=Q1[v];return R(f,a.formatLong)}return f}).join("").match(yl).map(f=>{if(f==="''")return {isToken:false,value:"'"};let v=f[0];if(v==="'")return {isToken:false,value:wl(f)};if(bn$1[v])return {isToken:true,value:f};if(v.match(Cl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return {isToken:false,value:f}});a.localize.preprocessor&&(s=a.localize.preprocessor(c,s));let h={firstWeekContainsDate:i,weekStartsOn:r,locale:a};return s.map(f=>{if(!f.isToken)return f.value;let v=f.value;(!e?.useAdditionalWeekYearTokens&&f2(v)||!e?.useAdditionalDayOfYearTokens&&p2(v))&&X1(v,t,String(n));let R=bn$1[v[0]];return R(c,v,a.localize,h)}).join("")}function wl(n){let t=n.match(bl);return t?t[1].replace(Ml,"'"):n}function v2(n,t){let e=y(n,t?.in),o=e.getFullYear(),a=e.getMonth(),i=C(e,0);return i.setFullYear(o,a+1,0),i.setHours(0,0,0,0),i.getDate()}function Ti$1(){return Object.assign({},Ne$1())}function Di$1(n,t){let e=y(n,t?.in).getDay();return e===0?7:e}function Pi$1(n,t){return y(n,t?.in).getDate()===1}function Hi$1(n,t){let e=xl(t)?new t(0):C(t,0);return e.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),e.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e}function xl(n){return typeof n=="function"&&n.prototype?.constructor===n}var Sl=10,g2=class{subPriority=0;validate(t,e){return true}},z2=class extends g2{constructor(t,e,o,a,i){super(),this.value=t,this.validateValue=e,this.setValue=o,this.priority=a,i&&(this.subPriority=i);}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,o){return this.setValue(t,e,this.value,o)}},y2=class extends g2{priority=Sl;subPriority=-1;constructor(t,e){super(),this.context=t||(o=>C(e,o));}set(t,e){return e.timestampIsSet?t:C(t,Hi$1(t,this.context))}};var _=class{run(t,e,o,a){let i=this.parse(t,e,o,a);return i?{setter:new z2(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(t,e,o){return true}};var _2=class extends _{priority=140;parse(t,e,o){switch(e){case "G":case "GG":case "GGG":return o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"});case "GGGGG":return o.era(t,{width:"narrow"});default:return o.era(t,{width:"wide"})||o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"})}}set(t,e,o){return e.era=o,t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]};var L$1={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Be={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function q(n,t){return n&&{value:t(n.value),rest:n.rest}}function F(n,t){let e=t.match(n);return e?{value:parseInt(e[0],10),rest:t.slice(e[0].length)}:null}function Re(n,t){let e=t.match(n);if(!e)return null;if(e[0]==="Z")return {value:0,rest:t.slice(1)};let o=e[1]==="+"?1:-1,a=e[2]?parseInt(e[2],10):0,i=e[3]?parseInt(e[3],10):0,r=e[5]?parseInt(e[5],10):0;return {value:o*(a*ti+i*ei+r*ni),rest:t.slice(e[0].length)}}function b2(n){return F(L$1.anyDigitsSigned,n)}function V(n,t){switch(n){case 1:return F(L$1.singleDigit,t);case 2:return F(L$1.twoDigits,t);case 3:return F(L$1.threeDigits,t);case 4:return F(L$1.fourDigits,t);default:return F(new RegExp("^\\d{1,"+n+"}"),t)}}function C1(n,t){switch(n){case 1:return F(L$1.singleDigitSigned,t);case 2:return F(L$1.twoDigitsSigned,t);case 3:return F(L$1.threeDigitsSigned,t);case 4:return F(L$1.fourDigitsSigned,t);default:return F(new RegExp("^-?\\d{1,"+n+"}"),t)}}function w1(n){switch(n){case "morning":return 4;case "evening":return 17;case "pm":case "noon":case "afternoon":return 12;default:return 0}}function M2(n,t){let e=t>0,o=e?t:1-t,a;if(o<=50)a=n||100;else {let i=o+50,r=Math.trunc(i/100)*100,c=n>=i%100;a=n+r-(c?100:0);}return e?a:1-a}function C2(n){return n%400===0||n%4===0&&n%100!==0}var w2=class extends _{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,o){let a=i=>({year:i,isTwoDigitYear:e==="yy"});switch(e){case "y":return q(V(4,t),a);case "yo":return q(o.ordinalNumber(t,{unit:"year"}),a);default:return q(V(e.length,t),a)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,o){let a=t.getFullYear();if(o.isTwoDigitYear){let r=M2(o.year,a);return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}let i=!("era"in e)||e.era===1?o.year:1-o.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}};var x2=class extends _{priority=130;parse(t,e,o){let a=i=>({year:i,isTwoDigitYear:e==="YY"});switch(e){case "Y":return q(V(4,t),a);case "Yo":return q(o.ordinalNumber(t,{unit:"year"}),a);default:return q(V(e.length,t),a)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,o,a){let i=b1(t,a);if(o.isTwoDigitYear){let c=M2(o.year,i);return t.setFullYear(c,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Me$1(t,a)}let r=!("era"in e)||e.era===1?o.year:1-o.year;return t.setFullYear(r,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Me$1(t,a)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]};var S2=class extends _{priority=130;parse(t,e){return e==="R"?C1(4,t):C1(e.length,t)}set(t,e,o){let a=C(t,0);return a.setFullYear(o,0,4),a.setHours(0,0,0,0),Xe(a)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]};var k2=class extends _{priority=130;parse(t,e){return e==="u"?C1(4,t):C1(e.length,t)}set(t,e,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]};var V2=class extends _{priority=120;parse(t,e,o){switch(e){case "Q":case "QQ":return V(e.length,t);case "Qo":return o.ordinalNumber(t,{unit:"quarter"});case "QQQ":return o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"});case "QQQQQ":return o.quarter(t,{width:"narrow",context:"formatting"});default:return o.quarter(t,{width:"wide",context:"formatting"})||o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]};var T2=class extends _{priority=120;parse(t,e,o){switch(e){case "q":case "qq":return V(e.length,t);case "qo":return o.ordinalNumber(t,{unit:"quarter"});case "qqq":return o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"});case "qqqqq":return o.quarter(t,{width:"narrow",context:"standalone"});default:return o.quarter(t,{width:"wide",context:"standalone"})||o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]};var D2=class extends _{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,o){let a=i=>i-1;switch(e){case "M":return q(F(L$1.month,t),a);case "MM":return q(V(2,t),a);case "Mo":return q(o.ordinalNumber(t,{unit:"month"}),a);case "MMM":return o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"});case "MMMMM":return o.month(t,{width:"narrow",context:"formatting"});default:return o.month(t,{width:"wide",context:"formatting"})||o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}};var P2=class extends _{priority=110;parse(t,e,o){let a=i=>i-1;switch(e){case "L":return q(F(L$1.month,t),a);case "LL":return q(V(2,t),a);case "Lo":return q(o.ordinalNumber(t,{unit:"month"}),a);case "LLL":return o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"});case "LLLLL":return o.month(t,{width:"narrow",context:"standalone"});default:return o.month(t,{width:"wide",context:"standalone"})||o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]};function Ei$1(n,t,e){let o=y(n,e?.in),a=m2(o,e)-t;return o.setDate(o.getDate()-a*7),y(o,e?.in)}var H2=class extends _{priority=100;parse(t,e,o){switch(e){case "w":return F(L$1.week,t);case "wo":return o.ordinalNumber(t,{unit:"week"});default:return V(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,o,a){return Me$1(Ei$1(t,o,a),a)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]};function Oi$1(n,t,e){let o=y(n,e?.in),a=_1(o,e)-t;return o.setDate(o.getDate()-a*7),o}var E2=class extends _{priority=100;parse(t,e,o){switch(e){case "I":return F(L$1.week,t);case "Io":return o.ordinalNumber(t,{unit:"week"});default:return V(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,o){return Xe(Oi$1(t,o))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]};var kl=[31,28,31,30,31,30,31,31,30,31,30,31],Vl=[31,29,31,30,31,30,31,31,30,31,30,31],O2=class extends _{priority=90;subPriority=1;parse(t,e,o){switch(e){case "d":return F(L$1.date,t);case "do":return o.ordinalNumber(t,{unit:"date"});default:return V(e.length,t)}}validate(t,e){let o=t.getFullYear(),a=C2(o),i=t.getMonth();return a?e>=1&&e<=Vl[i]:e>=1&&e<=kl[i]}set(t,e,o){return t.setDate(o),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]};var Y2=class extends _{priority=90;subpriority=1;parse(t,e,o){switch(e){case "D":case "DD":return F(L$1.dayOfYear,t);case "Do":return o.ordinalNumber(t,{unit:"date"});default:return V(e.length,t)}}validate(t,e){let o=t.getFullYear();return C2(o)?e>=1&&e<=366:e>=1&&e<=365}set(t,e,o){return t.setMonth(0,o),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]};function Zt(n,t,e){let o=Ne$1(),a=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,i=y(n,e?.in),r=i.getDay(),s=(t%7+7)%7,h=7-a,f=t<0||t>6?t-(r+h)%7:(s+h)%7-(r+h)%7;return v1(i,f,e)}var F2=class extends _{priority=90;parse(t,e,o){switch(e){case "E":case "EE":case "EEE":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case "EEEEE":return o.day(t,{width:"narrow",context:"formatting"});case "EEEEEE":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,o,a){return t=Zt(t,o,a),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]};var A2=class extends _{priority=90;parse(t,e,o,a){let i=r=>{let c=Math.floor((r-1)/7)*7;return (r+a.weekStartsOn+6)%7+c};switch(e){case "e":case "ee":return q(V(e.length,t),i);case "eo":return q(o.ordinalNumber(t,{unit:"day"}),i);case "eee":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case "eeeee":return o.day(t,{width:"narrow",context:"formatting"});case "eeeeee":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,o,a){return t=Zt(t,o,a),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]};var L2=class extends _{priority=90;parse(t,e,o,a){let i=r=>{let c=Math.floor((r-1)/7)*7;return (r+a.weekStartsOn+6)%7+c};switch(e){case "c":case "cc":return q(V(e.length,t),i);case "co":return q(o.ordinalNumber(t,{unit:"day"}),i);case "ccc":return o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case "ccccc":return o.day(t,{width:"narrow",context:"standalone"});case "cccccc":return o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});default:return o.day(t,{width:"wide",context:"standalone"})||o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,o,a){return t=Zt(t,o,a),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]};function Yi$1(n,t,e){let o=y(n,e?.in),a=Di$1(o,e),i=t-a;return v1(o,i,e)}var I2=class extends _{priority=90;parse(t,e,o){let a=i=>i===0?7:i;switch(e){case "i":case "ii":return V(e.length,t);case "io":return o.ordinalNumber(t,{unit:"day"});case "iii":return q(o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a);case "iiiii":return q(o.day(t,{width:"narrow",context:"formatting"}),a);case "iiiiii":return q(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a);default:return q(o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,e){return e>=1&&e<=7}set(t,e,o){return t=Yi$1(t,o),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]};var N2=class extends _{priority=80;parse(t,e,o){switch(e){case "a":case "aa":case "aaa":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case "aaaaa":return o.dayPeriod(t,{width:"narrow",context:"formatting"});default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,o){return t.setHours(w1(o),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]};var B2=class extends _{priority=80;parse(t,e,o){switch(e){case "b":case "bb":case "bbb":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case "bbbbb":return o.dayPeriod(t,{width:"narrow",context:"formatting"});default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,o){return t.setHours(w1(o),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]};var R2=class extends _{priority=80;parse(t,e,o){switch(e){case "B":case "BB":case "BBB":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case "BBBBB":return o.dayPeriod(t,{width:"narrow",context:"formatting"});default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,o){return t.setHours(w1(o),0,0,0),t}incompatibleTokens=["a","b","t","T"]};var j2=class extends _{priority=70;parse(t,e,o){switch(e){case "h":return F(L$1.hour12h,t);case "ho":return o.ordinalNumber(t,{unit:"hour"});default:return V(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,o){let a=t.getHours()>=12;return a&&o<12?t.setHours(o+12,0,0,0):!a&&o===12?t.setHours(0,0,0,0):t.setHours(o,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]};var U2=class extends _{priority=70;parse(t,e,o){switch(e){case "H":return F(L$1.hour23h,t);case "Ho":return o.ordinalNumber(t,{unit:"hour"});default:return V(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,o){return t.setHours(o,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]};var W2=class extends _{priority=70;parse(t,e,o){switch(e){case "K":return F(L$1.hour11h,t);case "Ko":return o.ordinalNumber(t,{unit:"hour"});default:return V(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,o){return t.getHours()>=12&&o<12?t.setHours(o+12,0,0,0):t.setHours(o,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]};var q2=class extends _{priority=70;parse(t,e,o){switch(e){case "k":return F(L$1.hour24h,t);case "ko":return o.ordinalNumber(t,{unit:"hour"});default:return V(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,o){let a=o<=24?o%24:o;return t.setHours(a,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]};var K2=class extends _{priority=60;parse(t,e,o){switch(e){case "m":return F(L$1.minute,t);case "mo":return o.ordinalNumber(t,{unit:"minute"});default:return V(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,o){return t.setMinutes(o,0,0),t}incompatibleTokens=["t","T"]};var G2=class extends _{priority=50;parse(t,e,o){switch(e){case "s":return F(L$1.second,t);case "so":return o.ordinalNumber(t,{unit:"second"});default:return V(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,o){return t.setSeconds(o,0),t}incompatibleTokens=["t","T"]};var $2=class extends _{priority=30;parse(t,e){let o=a=>Math.trunc(a*Math.pow(10,-e.length+3));return q(V(e.length,t),o)}set(t,e,o){return t.setMilliseconds(o),t}incompatibleTokens=["t","T"]};var Z2=class extends _{priority=10;parse(t,e){switch(e){case "X":return Re(Be.basicOptionalMinutes,t);case "XX":return Re(Be.basic,t);case "XXXX":return Re(Be.basicOptionalSeconds,t);case "XXXXX":return Re(Be.extendedOptionalSeconds,t);default:return Re(Be.extended,t)}}set(t,e,o){return e.timestampIsSet?t:C(t,t.getTime()-Gt(t)-o)}incompatibleTokens=["t","T","x"]};var Q2=class extends _{priority=10;parse(t,e){switch(e){case "x":return Re(Be.basicOptionalMinutes,t);case "xx":return Re(Be.basic,t);case "xxxx":return Re(Be.basicOptionalSeconds,t);case "xxxxx":return Re(Be.extendedOptionalSeconds,t);default:return Re(Be.extended,t)}}set(t,e,o){return e.timestampIsSet?t:C(t,t.getTime()-Gt(t)-o)}incompatibleTokens=["t","T","X"]};var X2=class extends _{priority=40;parse(t){return b2(t)}set(t,e,o){return [C(t,o*1e3),{timestampIsSet:true}]}incompatibleTokens="*"};var J2=class extends _{priority=20;parse(t){return b2(t)}set(t,e,o){return [C(t,o),{timestampIsSet:true}]}incompatibleTokens="*"};var Fi$1={G:new _2,y:new w2,Y:new x2,R:new S2,u:new k2,Q:new V2,q:new T2,M:new D2,L:new P2,w:new H2,I:new E2,d:new O2,D:new Y2,E:new F2,e:new A2,c:new L2,i:new I2,a:new N2,b:new B2,B:new R2,h:new j2,H:new U2,K:new W2,k:new q2,m:new K2,s:new G2,S:new $2,X:new Z2,x:new Q2,t:new X2,T:new J2};var Tl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pl=/^'([^]*?)'?$/,Hl=/''/g,El=/\S/,Ol=/[a-zA-Z]/;function Ai$1(n,t,e,o){let a=()=>C(o?.in||e,NaN),i=Ti$1(),r=o?.locale??i.locale??Z1,c=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,s=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0;if(!t)return n?a():y(e,o?.in);let h={firstWeekContainsDate:c,weekStartsOn:s,locale:r},f=[new y2(o?.in,e)],v=t.match(Dl).map(u=>{let g=u[0];if(g in Q1){let ne=Q1[g];return ne(u,r.formatLong)}return u}).join("").match(Tl),R=[];for(let u of v){let g=u[0],ne=Fi$1[g];if(ne){let{incompatibleTokens:rt}=ne;if(Array.isArray(rt)){let ct=R.find(oe=>rt.includes(oe.token)||oe.token===g);if(ct)throw new RangeError(`The format string mustn't contain \`${ct.fullToken}\` and \`${u}\` at the same time`)}else if(ne.incompatibleTokens==="*"&&R.length>0)throw new RangeError(`The format string mustn't contain \`${u}\` and any other token at the same time`);R.push({token:g,fullToken:u});let je=ne.run(n,u,r.match,h);if(!je)return a();f.push(je.setter),n=je.rest;}else {if(g.match(Ol))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");if(u==="''"?u="'":g==="'"&&(u=Yl(u)),n.indexOf(u)===0)n=n.slice(u.length);else return a()}}if(n.length>0&&El.test(n))return a();let m=f.map(u=>u.priority).sort((u,g)=>g-u).filter((u,g,ne)=>ne.indexOf(u)===g).map(u=>f.filter(g=>g.priority===u).sort((g,ne)=>ne.subPriority-g.subPriority)).map(u=>u[0]),p=y(e,o?.in);if(isNaN(+p))return a();let d={};for(let u of m){if(!u.validate(p,h))return a();let g=u.set(p,d,h);Array.isArray(g)?(p=g[0],Object.assign(d,g[1])):p=g;}return p}function Yl(n){return n.match(Pl)[1].replace(Hl,"'")}function Li$1(n,t){return _n$1(C(n,n),li(n))}function e3(n,t,e){let o=y(n,e?.in),a=o.getFullYear(),i=o.getDate(),r=C(n,0);r.setFullYear(a,t,15),r.setHours(0,0,0,0);let c=v2(r);return o.setMonth(t,Math.min(i,c)),o}function Ii$1(n,t,e){let o=y(n,e?.in),a=Math.trunc(o.getMonth()/3)+1,i=t-a;return e3(o,o.getMonth()+i*3)}function Ni$1(n,t,e){let o=y(n,e?.in);return isNaN(+o)?C(n,NaN):(o.setFullYear(t),o)}var Mn=new A$2(""),n3=new A$2(""),Fl={firstDayOfWeek:void 0};var it="NzDateAdapter: method not implemented. Override this method in your adapter to opt in.";function Al(n,t){let a={},{locale:e}=a,o=t$1(a,["locale"]);return Eu$1([n,{provide:t3,useExisting:n},{provide:Mn,useValue:r(r({},Fl),o)},...e!==void 0?[{provide:n3,useValue:e}]:[]])}var t3=class{locale;_localeChanges=new re$1;localeChanges=this._localeChanges;setLocale(t){this.locale=t,this._localeChanges.next();}deserialize(t){return t==null||this.isDateInstance(t)?t:this.invalid()}getValidDateOrNull(t){if(this.isDateInstance(t)){let e=t;return this.isValid(e)?e:null}return null}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let o=this.isValid(t),a=this.isValid(e);return o&&a?this.compareDate(t,e)===0:o===a}return t===e}clampDate(t,e,o){return e&&this.compareDate(e,t)>0?this.clone(e):o&&this.compareDate(t,o)>0?this.clone(o):t}calendarStartOfMonth(t){return this.createDate(this.getYear(t),this.getMonth(t),1)}calendarStartOfWeek(t){let e=this.getDayOfWeek(t),o=this.getFirstDayOfWeek(),a=(e-o+7)%7;return this.addCalendarDays(t,-a)}isFirstDayOfMonth(t){return this.getDate(t)===1}isLastDayOfMonth(t){return this.getDate(t)===this.getNumDaysInMonth(t)}isToday(t){return this.sameDate(t,this.today())}setTime(t,e,o,a){throw new Error(it)}getHours(t){throw new Error(it)}getMinutes(t){throw new Error(it)}getSeconds(t){throw new Error(it)}parseTime(t,e){throw new Error(it)}addSeconds(t,e){throw new Error(it)}compareTime(t,e){return this.getHours(t)-this.getHours(e)||this.getMinutes(t)-this.getMinutes(e)||this.getSeconds(t)-this.getSeconds(e)}sameTime(t,e){return t&&e?!this.isValid(t)&&!this.isValid(e)||this.compareTime(t,e)===0:t===e}getMilliseconds(t){throw new Error(it)}getTime(t){throw new Error(it)}getCalendarId(t){throw new Error(it)}getTimezoneOffset(t){throw new Error(it)}addYears(t,e){return this.addCalendarYears(t,e)}addMonths(t,e){return this.addCalendarMonths(t,e)}addDays(t,e){return this.addCalendarDays(t,e)}getDaysInMonth(t){return this.getNumDaysInMonth(t)}getDay(t){return this.getDayOfWeek(t)}},Ll=(()=>{class n extends t3{dateLocale=C$1(n3,{optional:true});dateConfig=C$1(Mn,{optional:true});constructor(){super(),this.dateLocale&&super.setLocale(this.dateLocale);}today(){return new Date}createDate(e,o,a){return new Date(e,o,a)}clone(e){return new Date(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getNumDaysInMonth(e){return v2(e)}getYearName(e){return J1(e,"yyyy",{locale:this.locale})}getMonthNames(e){let o=e==="narrow"?"MMMMM":e==="short"?"MMM":"MMMM";return Array.from({length:12},(a,i)=>J1(new Date(2024,i,1),o,{locale:this.locale}))}getDateNames(){return Array.from({length:31},(e,o)=>String(o+1))}getDayOfWeekNames(e){let o=e==="narrow"?"EEEEEE":e==="short"?"EEE":"EEEE";return Array.from({length:7},(a,i)=>J1(new Date(2024,0,i+1),o,{locale:this.locale}))}getFirstDayOfWeek(){return this.dateConfig?.firstDayOfWeek!=null?this.dateConfig.firstDayOfWeek:this.locale?.options?.weekStartsOn??1}addCalendarYears(e,o){return ci(e,o)}addCalendarMonths(e,o){return l2(e,o)}addCalendarDays(e,o){return v1(e,o)}format(e,o){if(!e)return "";if(!this.isValid(e))throw new Error("DateFnsDateAdapter: Cannot format invalid date.");let a=o.replace(/\[(.*?)\]/g,"'$1'");return J1(e,a,{locale:this.locale,useAdditionalWeekYearTokens:true,useAdditionalDayOfYearTokens:true})}parse(e,o){if(typeof e=="string"&&e.length>0){let a=Array.isArray(o)?o:[o];if(!a.length)throw new Error("Formats array must not be empty.");for(let i of a){let r=i.replace(/\[(.*?)\]/g,"'$1'"),c=Ai$1(e,r,new Date,{locale:this.locale,weekStartsOn:this.getFirstDayOfWeek()});if(this.isValid(c))return c}return this.invalid()}else {if(typeof e=="number")return new Date(e);if(e instanceof Date)return this.clone(e)}return null}isDateInstance(e){return e instanceof Date}isValid(e){return d2(e)}invalid(){return new Date(NaN)}getQuarter(e){return hi(e)}setQuarter(e,o){return Ii$1(e,o)}startOfQuarter(e){return pi(e)}getISOWeek(e){return _1(e)}setYear(e,o){return Ni$1(e,o)}setMonth(e,o){return e3(e,o)}setDate(e,o){let a=new Date(e);return a.setDate(o),a}setTime(e,o,a,i){let r=new Date(e);return r.setHours(o,a,i,0),r}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,o){return this.parse(e,o)}addSeconds(e,o){return ri(e,o)}getMilliseconds(e){return e.getMilliseconds()}getTime(e){return e.getTime()}isFirstDayOfMonth(e){return Pi$1(e)}isLastDayOfMonth(e){return mi(e)}isToday(e){return Li$1(e)}calendarStartOfMonth(e){return fi$1(e)}calendarStartOfWeek(e){return Me$1(e,{weekStartsOn:this.getFirstDayOfWeek()})}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$1({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Dy(n){return Al(Ll)}var Il={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:true,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:true,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Form:{optional:"(optional)"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},CheckList:{checkList:"Check List",checkListFinish:"You have successfully completed the list!",checkListClose:"Close",checkListFooter:"Check list is no longer required",checkListCheck:"Do you want to close the list?",ok:"OK",cancel:"Cancel",checkListCheckOther:"No longer required to show"}},Nl={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"],locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},timePickerLocale:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]}},TimePicker:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},Calendar:{lang:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"],locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},timePickerLocale:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]}},global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectNone:"\u6E05\u7A7A\u6240\u6709"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Form:{optional:"(\u53EF\u9009)"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Image:{preview:"\u9884\u89C8"},CronExpression:{cronError:"cron \u8868\u8FBE\u5F0F\u4E0D\u5408\u6CD5",second:"\u79D2",minute:"\u5206\u949F",hour:"\u5C0F\u65F6",day:"\u65E5",month:"\u6708",week:"\u5468"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0",scanned:"\u5DF2\u626B\u63CF"},CheckList:{checkList:"\u4EFB\u52A1\u6E05\u5355",checkListFinish:"\u4F60\u5DF2\u6210\u529F\u5B8C\u6210\u4EFB\u52A1\u6E05\u5355\uFF01",checkListClose:"\u5173\u95ED",checkListFooter:"\u4E0D\u9700\u8981\u64CD\u4F5C\u6307\u5F15",checkListCheck:"\u4F60\u8981\u5173\u95ED\u64CD\u4F5C\u6E05\u5355\u5417",ok:"\u786E\u5B9A",cancel:"\u53D6\u6D88",checkListCheckOther:"\u4EE5\u540E\u4E0D\u518D\u9700\u8981\u64CD\u4F5C\u6E05\u5355"}},Cn$1=new A$2("");function jy(n){return Eu$1([typeof n=="function"?{provide:Cn$1,useFactory:n}:{provide:Cn$1,useValue:n}])}var wn$1=(()=>{class n{_locale;_change=new On$2(this._locale);dateLocale;get localeChange(){return this._change.asObservable()}constructor(){this.setLocale(C$1(Cn$1,{optional:true})||Nl),this.setDateLocale(C$1(n3,{optional:true}));}translate(e,o){let a=this._getObjectPath(this._locale,e);return typeof a=="string"?(o&&Object.keys(o).forEach(i=>a=a.replace(new RegExp(`%${i}%`,"g"),o[i])),a):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e));}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e;}getDateLocale(){return this.dateLocale}getLocaleData(e,o){let a=e?this._getObjectPath(this._locale,e):this._locale;return !a&&!o&&Rt(`Missing translations for "${e}" in language "${this._locale.locale}".
|
|
214
|
+
You can use "NzI18nService.setLocale" as a temporary fix.
|
|
215
|
+
Welcome to submit a pull request to help us optimize the translations!
|
|
216
|
+
https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),a||o||this._getObjectPath(Il,e)||{}}_getObjectPath(e,o){let a=e,i=o.split("."),r=i.length,c=0;for(;a&&c<r;)a=a[i[c++]];return c===r?a:null}static \u0275fac=function(o){return new(o||n)};static \u0275prov=ie$1({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Uy=(()=>{class n{_locale=C$1(wn$1);transform(e,o){return this._locale.translate(e,o)}static \u0275fac=function(o){return new(o||n)};static \u0275pipe=eD({name:"nzI18n",type:n,pure:true})}return n})(),Wy=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({})}return n})();var qy={locale:"es",Pagination:{items_per_page:"/ p\xE1gina",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"P\xE1gina",prev_page:"P\xE1gina anterior",next_page:"P\xE1gina siguiente",prev_5:"5 p\xE1ginas previas",next_5:"5 p\xE1ginas siguientes",prev_3:"3 p\xE1ginas previas",next_3:"3 p\xE1ginas siguientes",page_size:"tama\xF1o de p\xE1gina"},DatePicker:{lang:{placeholder:"Seleccionar fecha",yearPlaceholder:"Seleccionar a\xF1o",quarterPlaceholder:"Seleccionar trimestre",monthPlaceholder:"Seleccionar mes",weekPlaceholder:"Seleccionar semana",rangePlaceholder:["Fecha inicial","Fecha final"],rangeYearPlaceholder:["A\xF1o inicial","A\xF1o final"],rangeQuarterPlaceholder:["Trimestre inicial","Trimestre final"],rangeMonthPlaceholder:["Mes inicial","Mes final"],rangeWeekPlaceholder:["Semana inicial","Semana final"],locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xF1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",weekSelect:"Elegir una semana",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xF1o",decadeSelect:"Elegir una d\xE9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:true,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"A\xF1o anterior (Control + left)",nextYear:"A\xF1o siguiente (Control + right)",previousDecade:"D\xE9cada anterior",nextDecade:"D\xE9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"},timePickerLocale:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]}},TimePicker:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]},Calendar:{lang:{placeholder:"Seleccionar fecha",yearPlaceholder:"Seleccionar a\xF1o",quarterPlaceholder:"Seleccionar trimestre",monthPlaceholder:"Seleccionar mes",weekPlaceholder:"Seleccionar semana",rangePlaceholder:["Fecha inicial","Fecha final"],rangeYearPlaceholder:["A\xF1o inicial","A\xF1o final"],rangeMonthPlaceholder:["Mes inicial","Mes final"],rangeWeekPlaceholder:["Semana inicial","Semana final"],locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xF1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",weekSelect:"Elegir una semana",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xF1o",decadeSelect:"Elegir una d\xE9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:true,previousMonth:"Mes anterior (AvP\xE1g)",nextMonth:"Mes siguiente (ReP\xE1g)",previousYear:"A\xF1o anterior (Control + izquierda)",nextYear:"A\xF1o siguiente (Control + derecha)",previousDecade:"D\xE9cada anterior",nextDecade:"D\xE9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"},timePickerLocale:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]}},global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar men\xFA",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selecci\xF3n",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Colapsar fila",triggerDesc:"Click para ordenar descendentemente",triggerAsc:"Click para ordenar ascendentemenre",cancelSort:"Click para cancelar ordenaci\xF3n",filterCheckall:"Seleccionar todos los filtros",filterSearchPlaceholder:"Buscar en filtros",selectNone:"Vaciar todo"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aqu\xED",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar p\xE1gina actual",removeCurrent:"Eliminar p\xE1gina actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir p\xE1gina actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Form:{optional:"(opcional)"},Icon:{icon:"icono"},Text:{edit:"Editar",copy:"Copiar",copied:"Copiado",expand:"Expandir"},PageHeader:{back:"Volver"},Image:{preview:"Previsualizaci\xF3n"},CronExpression:{cronError:"Expresi\xF3n cron inv\xE1lida",second:"segundo",minute:"minuto",hour:"hora",day:"d\xEDa",month:"mes",week:"semana"},QRCode:{expired:"C\xF3digo QR expirado",refresh:"Actualizar",scanned:"Escaneado"},CheckList:{checkList:"Lista de tareas",checkListFinish:"\xA1Has completado la lista correctamente!",checkListClose:"Cerrar",checkListFooter:"La lista ya no es necesaria",checkListCheck:"\xBFQuiere cerrar la lista?",ok:"OK",cancel:"Cancelar",checkListCheckOther:"No mostrar de nuevo"}};function Bl(n,t){if(n&1&&(el$1(0),lh(1,"img",4),tl$1()),n&2){let e=VD(2);gI(),ch("src",e.nzNotFoundImage,jf)("alt",e.isContentString?e.nzNotFoundContent:"empty");}}function Rl(n,t){if(n&1&&nh(0,Bl,2,2,"ng-container",3),n&2){let e=VD();ch("nzStringTemplateOutlet",e.nzNotFoundImage);}}function jl(n,t){n&1&&lh(0,"nz-empty-simple");}function Ul(n,t){n&1&&lh(0,"nz-empty-default");}function Wl(n,t){if(n&1&&bD(0,jl,1,0,"nz-empty-simple")(1,Ul,1,0,"nz-empty-default"),n&2){let e=VD();_D(e.nzNotFoundImage==="simple"?0:1);}}function ql(n,t){if(n&1&&(el$1(0),vw(1),tl$1()),n&2){let e=VD(2);gI(),nl$1(" ",e.isContentString?e.nzNotFoundContent:e.locale.description," ");}}function Kl(n,t){if(n&1&&(_i$3(0,"p",1),nh(1,ql,2,1,"ng-container",3),Kc$1()),n&2){let e=VD();gI(),ch("nzStringTemplateOutlet",e.nzNotFoundContent);}}function Gl(n,t){if(n&1&&(el$1(0),vw(1),tl$1()),n&2){let e=VD(2);gI(),nl$1(" ",e.nzNotFoundFooter," ");}}function $l(n,t){if(n&1&&(_i$3(0,"div",2),nh(1,Gl,2,1,"ng-container",3),Kc$1()),n&2){let e=VD();gI(),ch("nzStringTemplateOutlet",e.nzNotFoundFooter);}}var Zl=n=>({$implicit:n});function Ql(n,t){if(n&1&&(el$1(0),vw(1),tl$1()),n&2){let e=VD(3);gI(),Ph(e.content);}}function Xl(n,t){if(n&1&&nh(0,Ql,2,1,"ng-container",1),n&2){let e=VD(2);ch("nzStringTemplateOutlet",e.content)("nzStringTemplateOutletContext",xw(2,Zl,e.nzComponentName));}}function Jl(n,t){}function es(n,t){if(n&1&&nh(0,Jl,0,0,"ng-template",0),n&2){let e=VD(2);ch("cdkPortalOutlet",e.contentPortal);}}function ts(n,t){if(n&1&&bD(0,Xl,1,4,"ng-container")(1,es,1,1,null,0),n&2){let e=VD();_D(e.contentType==="template"||e.contentType==="string"?0:1);}}function ns(n,t){n&1&&lh(0,"nz-empty",2);}function os(n,t){n&1&&lh(0,"nz-empty",3);}function as(n,t){n&1&&lh(0,"nz-empty");}function is(n,t){if(n&1&&bD(0,ns,1,0,"nz-empty",2)(1,os,1,0,"nz-empty",3)(2,as,1,0,"nz-empty"),n&2){let e,o=VD(2);_D((e=o.size)==="normal"?0:e==="small"?1:2);}}function rs(n,t){if(n&1&&bD(0,is,3,1),n&2){let e=VD();_D(e.specificContent!==null?0:-1);}}var cs=new A$2(""),ls=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(o,a){o&1&&(Qu(),Jc$1(0,"svg",0)(1,"g",1)(2,"g",2),uh(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),Xc$1(),uh(8,"path",8),Jc$1(9,"g",9),uh(10,"ellipse",10)(11,"path",11),Xc$1()()());},encapsulation:2})}return n})(),ss=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(o,a){o&1&&(Qu(),Jc$1(0,"svg",0)(1,"g",1),uh(2,"ellipse",2),Jc$1(3,"g",3),uh(4,"path",4)(5,"path",5),Xc$1()()());},encapsulation:2})}return n})(),hs=["default","simple"],Bi$1=(()=>{class n{i18n=C$1(wn$1);cdr=C$1(z0$1);destroyRef=C$1(at$1);nzNotFoundImage="default";nzNotFoundContent;nzNotFoundFooter;isContentString=false;isImageBuildIn=true;locale;ngOnChanges(e){let{nzNotFoundContent:o,nzNotFoundImage:a}=e;if(o){let i=o.currentValue;this.isContentString=typeof i=="string";}if(a){let i=a.currentValue||"default";this.isImageBuildIn=hs.findIndex(r=>r===i)>-1;}}ngOnInit(){this.i18n.localeChange.pipe(ue(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck();});}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[ly],decls:5,vars:3,consts:[[1,"ant-empty-image"],[1,"ant-empty-description"],[1,"ant-empty-footer"],[4,"nzStringTemplateOutlet"],[3,"src","alt"]],template:function(o,a){o&1&&(_i$3(0,"div",0),bD(1,Rl,1,1,"ng-container")(2,Wl,2,1),Kc$1(),bD(3,Kl,2,1,"p",1),bD(4,$l,2,1,"div",2)),o&2&&(gI(),_D(a.isImageBuildIn?2:1),gI(2),_D(a.nzNotFoundContent!==null?3:-1),gI(),_D(a.nzNotFoundFooter?4:-1));},dependencies:[Tt,Ie,ls,ss],encapsulation:2})}return n})();function ds(n){switch(n){case "table":case "list":return "normal";case "select":case "tree-select":case "cascader":case "transfer":return "small";default:return ""}}var xn$1=(()=>{class n{configService=C$1(kt);viewContainerRef=C$1(ji$3);cdr=C$1(z0$1);injector=C$1(Ee$2);nzComponentName;specificContent;content;contentType="string";contentPortal;size="";constructor(){Vt("empty",()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty();});}ngOnChanges(e){e.nzComponentName&&(this.size=ds(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty());}ngOnInit(){this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty();}renderEmpty(){let e=this.content;if(typeof e=="string")this.contentType="string";else if(e instanceof Er$2)this.contentType="template",this.contentPortal=void 0;else if(e instanceof xy){let o=Ee$2.create({parent:this.injector,providers:[{provide:cs,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new K1(e,this.viewContainerRef,o);}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges();}getUserDefaultEmptyContent(){return (this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[ly],decls:2,vars:1,consts:[[3,"cdkPortalOutlet"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nzNotFoundImage","simple",1,"ant-empty-normal"],["nzNotFoundImage","simple",1,"ant-empty-small"]],template:function(o,a){o&1&&bD(0,ts,2,1)(1,rs,1,1),o&2&&_D(a.content?0:1);},dependencies:[Bi$1,Z4,Da,Tt,Ie],encapsulation:2})}return n})(),Ri$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({imports:[Bi$1,xn$1]})}return n})();function ji$1(n){return n.buttons===0||n.detail===0}function Ui$1(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return !!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Wi$1=new A$2("cdk-input-modality-detector-options"),qi$1={ignoreKeys:[18,17,224,91,16]},Ki$1=650,Sn$1={passive:true,capture:true},Gi$1=(()=>{class n{_platform=C$1(J);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new On$2(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(o=>o===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=He(e));};_onMousedown=e=>{Date.now()-this._lastTouchMs<Ki$1||(this._modality.next(ji$1(e)?"keyboard":"mouse"),this._mostRecentTarget=He(e));};_onTouchstart=e=>{if(Ui$1(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=He(e);};constructor(){let e=C$1(oe$1),o=C$1(Uo$2),a=C$1(Wi$1,{optional:true});if(this._options=r(r({},qi$1),a),this.modalityDetected=this._modality.pipe(om(1)),this.modalityChanged=this.modalityDetected.pipe(Kg()),this._platform.isBrowser){let i=C$1(Dr$2).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[i.listen(o,"keydown",this._onKeydown,Sn$1),i.listen(o,"mousedown",this._onMousedown,Sn$1),i.listen(o,"touchstart",this._onTouchstart,Sn$1)]);}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e());}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),e4=(function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n})(e4||{}),$i$1=new A$2("cdk-focus-monitor-default-options"),o3=i8({passive:true,capture:true}),a3=(()=>{class n{_ngZone=C$1(oe$1);_platform=C$1(J);_inputModalityDetector=C$1(Gi$1);_origin=null;_lastFocusOrigin=null;_windowFocused=false;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=false;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=true,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=false);};_document=C$1(Uo$2);_stopInputModalityDetector=new re$1;constructor(){let e=C$1($i$1,{optional:true});this._detectionMode=e?.detectionMode||e4.IMMEDIATE;}_rootNodeFocusAndBlurListener=e=>{let o=He(e);for(let a=o;a;a=a.parentElement)e.type==="focus"?this._onFocus(e,a):this._onBlur(e,a);};monitor(e,o=false){let a=jt(e);if(!this._platform.isBrowser||a.nodeType!==1)return Dg();let i=D3(a)||this._document,r=this._elementInfo.get(a);if(r)return o&&(r.checkChildren=true),r.subject;let c={checkChildren:o,subject:new re$1,rootNode:i};return this._elementInfo.set(a,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let o=jt(e),a=this._elementInfo.get(o);a&&(a.subject.complete(),this._setClasses(o),this._elementInfo.delete(o),this._removeGlobalListeners(a));}focusVia(e,o,a){let i=jt(e),r=this._document.activeElement;i===r?this._getClosestElementsInfo(i).forEach(([c,s])=>this._originChanged(c,o,s)):(this._setOrigin(o),typeof i.focus=="function"&&i.focus(a));}ngOnDestroy(){this._elementInfo.forEach((e,o)=>this.stopMonitoring(o));}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===e4.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,o){e.classList.toggle("cdk-focused",!!o),e.classList.toggle("cdk-touch-focused",o==="touch"),e.classList.toggle("cdk-keyboard-focused",o==="keyboard"),e.classList.toggle("cdk-mouse-focused",o==="mouse"),e.classList.toggle("cdk-program-focused",o==="program");}_setOrigin(e,o=false){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&o,this._detectionMode===e4.IMMEDIATE){clearTimeout(this._originTimeoutId);let a=this._originFromTouchInteraction?Ki$1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,a);}});}_onFocus(e,o){let a=this._elementInfo.get(o),i=He(e);!a||!a.checkChildren&&o!==i||this._originChanged(o,this._getFocusOrigin(i),a);}_onBlur(e,o){let a=this._elementInfo.get(o);!a||a.checkChildren&&e.relatedTarget instanceof Node&&o.contains(e.relatedTarget)||(this._setClasses(o),this._emitOrigin(a,null));}_emitOrigin(e,o){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(o));}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let o=e.rootNode,a=this._rootNodeFocusListenerCount.get(o)||0;a||this._ngZone.runOutsideAngular(()=>{o.addEventListener("focus",this._rootNodeFocusAndBlurListener,o3),o.addEventListener("blur",this._rootNodeFocusAndBlurListener,o3);}),this._rootNodeFocusListenerCount.set(o,a+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener);}),this._inputModalityDetector.modalityDetected.pipe(im(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,true);}));}_removeGlobalListeners(e){let o=e.rootNode;if(this._rootNodeFocusListenerCount.has(o)){let a=this._rootNodeFocusListenerCount.get(o);a>1?this._rootNodeFocusListenerCount.set(o,a-1):(o.removeEventListener("focus",this._rootNodeFocusAndBlurListener,o3),o.removeEventListener("blur",this._rootNodeFocusAndBlurListener,o3),this._rootNodeFocusListenerCount.delete(o));}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId));}_originChanged(e,o,a){this._setClasses(e,o),this._emitOrigin(a,o),this._lastFocusOrigin=o;}_getClosestElementsInfo(e){let o=[];return this._elementInfo.forEach((a,i)=>{(i===e||a.checkChildren&&i.contains(e))&&o.push([i,a]);}),o}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:o,mostRecentModality:a}=this._inputModalityDetector;if(a!=="mouse"||!o||o===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return false;let i=e.labels;if(i){for(let r=0;r<i.length;r++)if(i[r].contains(o))return true}return false}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();var Zi$1=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(o,a){},styles:[`.cdk-visually-hidden {
|
|
217
|
+
border: 0;
|
|
218
|
+
clip: rect(0 0 0 0);
|
|
219
|
+
height: 1px;
|
|
220
|
+
margin: -1px;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
padding: 0;
|
|
223
|
+
position: absolute;
|
|
224
|
+
width: 1px;
|
|
225
|
+
white-space: nowrap;
|
|
226
|
+
outline: 0;
|
|
227
|
+
-webkit-appearance: none;
|
|
228
|
+
-moz-appearance: none;
|
|
229
|
+
left: 0;
|
|
230
|
+
}
|
|
231
|
+
[dir=rtl] .cdk-visually-hidden {
|
|
232
|
+
left: auto;
|
|
233
|
+
right: 0;
|
|
234
|
+
}
|
|
235
|
+
`],encapsulation:2})}return n})();var Qi$1=new Set,Qt,ms=(()=>{class n{_platform=C$1(J);_nonce=C$1(zm,{optional:true});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fs;}matchMedia(e){return (this._platform.WEBKIT||this._platform.BLINK)&&ps(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();function ps(n,t){if(!Qi$1.has(n))try{Qt||(Qt=document.createElement("style"),t&&Qt.setAttribute("nonce",t),Qt.setAttribute("type","text/css"),document.head.appendChild(Qt)),Qt.sheet&&(Qt.sheet.insertRule(`@media ${n.replace(/[{}]/g,"")} {body{ }}`,0),Qi$1.add(n));}catch(e){console.error(e);}}function fs(n){return {matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var Ji$1=(()=>{class n{_mediaMatcher=C$1(ms);_zone=C$1(oe$1);_queries=new Map;_destroySubject=new re$1;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete();}isMatched(e){return Xi$1(u1(e)).some(a=>this._registerQuery(a).mql.matches)}observe(e){let a=Xi$1(u1(e)).map(r=>this._registerQuery(r).observable),i=Fg(a);return i=rn$3(i.pipe(yt$1(1)),i.pipe(om(1),Vl$1(0))),i.pipe(Se$3(r=>{let c={matches:false,breakpoints:{}};return r.forEach(({matches:s,query:h})=>{c.matches=c.matches||s,c.breakpoints[h]=s;}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let o=this._mediaMatcher.matchMedia(e),i={observable:new S(r=>{let c=s=>this._zone.run(()=>r.next(s));return o.addListener(c),()=>{o.removeListener(c);}}).pipe(Gl$1(o),Se$3(({matches:r})=>({query:e,matches:r})),im(this._destroySubject)),mql:o};return this._queries.set(e,i),i}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();function Xi$1(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var vs=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();var e0=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({providers:[vs]})}return n})();var gs=(()=>{class n{_platform=C$1(J);isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return ys(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return false;let o=zs(ks(e));if(o&&(t0(o)===-1||!this.isVisible(o)))return false;let a=e.nodeName.toLowerCase(),i=t0(e);return e.hasAttribute("contenteditable")?i!==-1:a==="iframe"||a==="object"||this._platform.WEBKIT&&this._platform.IOS&&!xs(e)?false:a==="audio"?e.hasAttribute("controls")?i!==-1:false:a==="video"?i===-1?false:i!==null?true:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,o){return Ss(e)&&!this.isDisabled(e)&&(o?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})();function zs(n){try{return n.frameElement}catch(t){return null}}function ys(n){return !!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function _s(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function bs(n){return Cs(n)&&n.type=="hidden"}function Ms(n){return ws(n)&&n.hasAttribute("href")}function Cs(n){return n.nodeName.toLowerCase()=="input"}function ws(n){return n.nodeName.toLowerCase()=="a"}function a0(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return false;let t=n.getAttribute("tabindex");return !!(t&&!isNaN(parseInt(t,10)))}function t0(n){if(!a0(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function xs(n){let t=n.nodeName.toLowerCase(),e=t==="input"&&n.type;return e==="text"||e==="password"||t==="select"||t==="textarea"}function Ss(n){return bs(n)?false:_s(n)||Ms(n)||n.hasAttribute("contenteditable")||a0(n)}function ks(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Vn$1=class Vn{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=false;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor));}_enabled=true;constructor(t,e,o,a,i=false,r){this._element=t,this._checker=e,this._ngZone=o,this._document=a,this._injector=r,i||this.attachAnchors();}destroy(){let t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=false;}attachAnchors(){return this._hasAttached?true:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener));}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=true),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)));})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)));})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)));})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let o=this._getFirstTabbableElement(e);return o?.focus(t),!!o}return e.focus(t),true}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){let e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let o=0;o<e.length;o++){let a=e[o].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[o]):null;if(a)return a}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let o=e.length-1;o>=0;o--){let a=e[o].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[o]):null;if(a)return a}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex");}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor));}_executeOnStable(t){Kf(t,{injector:this._injector});}},i0=(()=>{class n{_checker=C$1(gs);_ngZone=C$1(oe$1);_document=C$1(Uo$2);_injector=C$1(Ee$2);constructor(){C$1(R1).load(Zi$1);}create(e,o=false){return new Vn$1(e,this._checker,this._ngZone,this._document,o,this._injector)}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),Vs=(()=>{class n{_elementRef=C$1(_r$2);_focusTrapFactory=C$1(i0);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||false}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e);}autoCapture=false;constructor(){C$1(J).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,true));}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null);}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus();}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors();}ngOnChanges(e){let o=e.autoCapture;o&&!o.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus();}_captureFocus(){this._previouslyFocusedElement=P3(),this.focusTrap?.focusInitialElementWhenReady();}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Z0$1],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Z0$1]},exportAs:["cdkTrapFocus"],features:[ly]})}return n})();var Pt=(function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n})(Pt||{}),n0="cdk-high-contrast-black-on-white",o0="cdk-high-contrast-white-on-black",kn$1="cdk-high-contrast-active",r0=(()=>{class n{_platform=C$1(J);_hasCheckedHighContrastMode=false;_document=C$1(Uo$2);_breakpointSubscription;constructor(){this._breakpointSubscription=C$1(Ji$1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=false,this._applyBodyHighContrastModeCssClasses());});}getHighContrastMode(){if(!this._platform.isBrowser)return Pt.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let o=this._document.defaultView||window,a=o&&o.getComputedStyle?o.getComputedStyle(e):null,i=(a&&a.backgroundColor||"").replace(/ /g,"");switch(e.remove(),i){case "rgb(0,0,0)":case "rgb(45,50,54)":case "rgb(32,32,32)":return Pt.WHITE_ON_BLACK;case "rgb(255,255,255)":case "rgb(255,250,239)":return Pt.BLACK_ON_WHITE}return Pt.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe();}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(kn$1,n0,o0),this._hasCheckedHighContrastMode=true;let o=this.getHighContrastMode();o===Pt.BLACK_ON_WHITE?e.add(kn$1,n0):o===Pt.WHITE_ON_BLACK&&e.add(kn$1,o0);}}static \u0275fac=function(o){return new(o||n)};static \u0275prov=br$2({token:n,factory:n.\u0275fac})}return n})(),Ts=(()=>{class n{constructor(){C$1(r0)._applyBodyHighContrastModeCssClasses();}static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({imports:[e0]})}return n})();var x1=typeof globalThis.requestAnimationFrame=="function"?globalThis.requestAnimationFrame:globalThis.setTimeout,Tn$1=typeof globalThis.requestAnimationFrame=="function"?globalThis.cancelAnimationFrame:globalThis.clearTimeout;var Ds="nz-animate-disabled",t4=(()=>{class n{animationType=C$1(Gm,{optional:true});nzNoAnimation=$0$1(false,{transform:Z0$1});static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(o,a){o&2&&Mh("nz-animate-disabled",a.nzNoAnimation()||a.animationType==="NoopAnimations");},inputs:{nzNoAnimation:[1,"nzNoAnimation"]},exportAs:["nzNoAnimation"]})}return n})();function l0(){return C$1(Gm,{optional:true})!=="NoopAnimations"}function Ps(n){return l0()?Hw(n):qo$2(false)}function s0(n){return l0()?Hw(n):qo$2(Ds)}var c0="ant-motion-collapse",db=(()=>{class n{elementRef=C$1(_r$2);noAnimation=C$1(t4,{optional:true,host:true});animationEnabled=Ps(()=>!this.noAnimation?.nzNoAnimation());open=$0$1(false);leavedClassName=$0$1("");firstRender=true;constructor(){rd(()=>{let e=this.open(),o=this.animationEnabled()&&!this.firstRender,a=this.elementRef.nativeElement,i=this.leavedClassName();if(e&&i&&a.classList.remove(i),o)if(a.classList.add(c0),e)x1(()=>{let r=this.getActualScrollHeight(a);a.style.height=W(r),a.style.opacity="1";});else {let r=this.getActualScrollHeight(a);a.style.height=W(r),x1(()=>{a.style.height=W(0),a.style.opacity="0";});}else e?(a.style.height="auto",a.style.opacity="1"):(a.style.height=W(0),a.style.opacity="0",i&&a.classList.add(i));this.firstRender=false;});}getActualScrollHeight(e){return Array.from(e.children).reduce((o,a)=>o+a.offsetHeight,0)}onTransitionEnd(e){!this.animationEnabled()||e.target!==this.elementRef.nativeElement||(this.open()?this.elementRef.nativeElement.style.height="auto":this.leavedClassName()&&this.elementRef.nativeElement.classList.add(this.leavedClassName()),this.elementRef.nativeElement.classList.remove(c0));}static \u0275fac=function(o){return new(o||n)};static \u0275dir=XE({type:n,selectors:[["","animation-collapse",""]],hostBindings:function(o,a){o&1&&gh("transitionend",function(r){return a.onTransitionEnd(r)});},inputs:{open:[1,"open"],leavedClassName:[1,"leavedClassName"]}})}return n})();var h0={enter:"ant-slide-up-enter ant-slide-up-enter-active",leave:"ant-slide-up-leave ant-slide-up-leave-active"},d0={enter:"ant-slide-down-enter ant-slide-down-enter-active",leave:"ant-slide-down-leave ant-slide-down-leave-active"};function u0(n=()=>"up"){return s0(()=>n()==="up"?h0.enter:d0.enter)}function m0(n=()=>"up"){return s0(()=>n()==="up"?h0.leave:d0.leave)}var f0=["*"];function Hs(n,t){if(n&1&&(el$1(0),vw(1),tl$1()),n&2){let e=VD();gI(),Ph(e.nzLabel);}}function Es(n,t){}function Os(n,t){if(n&1&&nh(0,Es,0,0,"ng-template",1),n&2){let e=VD();ch("ngTemplateOutlet",e.template);}}function Ys(n,t){if(n&1&&vw(0),n&2){let e=VD();nl$1(" ",e.label," ");}}function Fs(n,t){n&1&&lh(0,"nz-icon",3);}function As(n,t){}function Ls(n,t){if(n&1&&nh(0,As,0,0,"ng-template",1),n&2){let e=VD(2);ch("ngTemplateOutlet",e.icon);}}function Is(n,t){if(n&1&&(_i$3(0,"div",2),bD(1,Fs,1,0,"nz-icon",3)(2,Ls,1,1,null,1),Kc$1()),n&2){let e=VD();gI(),_D(e.icon?2:1);}}function Ns(n,t){if(n&1&&(_i$3(0,"div",0),lh(1,"nz-embed-empty",4),Kc$1()),n&2){let e=VD();gI(),ch("specificContent",e.notFoundContent);}}function Bs(n,t){if(n&1&&lh(0,"nz-option-item-group",5),n&2){let e=VD().$implicit;ch("nzLabel",e.groupLabel??null);}}function Rs(n,t){if(n&1){let e=LD();_i$3(0,"nz-option-item",7),gh("itemHover",function(a){Pu$1(e);let i=VD(2);return Lu$1(i.onItemHover(a))})("itemClick",function(a){Pu$1(e);let i=VD(2);return Lu$1(i.onItemClick(a))}),Kc$1();}if(n&2){let e=VD().$implicit,o=VD();ch("icon",o.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template??null)("grouped",!!e.groupLabel)("disabled",e.nzDisabled||o.isMaxMultipleCountReached&&!o.listOfSelectedValue.includes(e.nzValue))("showState",o.mode==="tags"||o.mode==="multiple")("title",e.nzTitle)("label",e.nzLabel)("compareWith",o.compareWith)("activatedValue",o.activatedValue)("listOfSelectedValue",o.listOfSelectedValue)("value",e.nzValue);}}function js(n,t){if(n&1&&bD(0,Bs,1,1,"nz-option-item-group",5)(1,Rs,1,12,"nz-option-item",6),n&2){let e,o=t.$implicit;_D((e=o.type)==="group"?0:e==="item"?1:-1);}}function Us(n,t){}function Ws(n,t){n&1&&$D(0);}function qs(n,t){if(n&1&&(_i$3(0,"span"),vw(1),Kc$1()),n&2){let e=VD();gI(),Lh("",e.listOfValue.length," / ",e.nzMaxMultipleCount);}}function Ks(n,t){n&1&&lh(0,"nz-icon",0);}function Gs(n,t){n&1&&lh(0,"nz-icon",2);}function $s(n,t){n&1&&lh(0,"nz-icon",3);}function Zs(n,t){if(n&1&&bD(0,Gs,1,0,"nz-icon",2)(1,$s,1,0,"nz-icon",3),n&2){let e=VD(2);_D(e.search?0:1);}}function Qs(n,t){if(n&1&&(el$1(0),lh(1,"nz-icon",4),tl$1()),n&2){let e=t.$implicit;gI(),ch("nzType",e);}}function Xs(n,t){if(n&1&&nh(0,Qs,2,1,"ng-container",1),n&2){let e=VD(2);ch("nzStringTemplateOutlet",e.suffixIcon);}}function Js(n,t){if(n&1&&bD(0,Zs,2,1)(1,Xs,1,1,"ng-container"),n&2){let e=VD();_D(e.showArrow&&!e.suffixIcon?0:1);}}function e5(n,t){if(n&1&&(el$1(0),vw(1),tl$1()),n&2){let e=VD();gI(),Ph(e.feedbackIcon);}}function t5(n,t){}function n5(n,t){if(n&1&&nh(0,t5,0,0,"ng-template",0),n&2){let e=VD();ch("ngTemplateOutlet",e.clearIcon);}}function o5(n,t){n&1&&lh(0,"nz-icon",1);}function a5(n,t){if(n&1&&lh(0,"span",4),n&2){let e=VD(2);Mh("ant-select-selection-item-content",e.deletable),ch("innerHTML",e.label,vv);}}function i5(n,t){if(n&1&&(_i$3(0,"span"),vw(1),Kc$1()),n&2){let e=VD(2);Mh("ant-select-selection-item-content",e.deletable),gI(),Ph(e.label);}}function r5(n,t){if(n&1&&(el$1(0),bD(1,a5,1,3,"span",2)(2,i5,2,3,"span",3),tl$1()),n&2){let e=VD();gI(),_D(e.displayLabelInHtml?1:2);}}function c5(n,t){n&1&&lh(0,"nz-icon",6);}function l5(n,t){}function s5(n,t){if(n&1&&nh(0,l5,0,0,"ng-template",7),n&2){let e=VD(2);ch("ngTemplateOutlet",e.removeIcon);}}function h5(n,t){if(n&1){let e=LD();_i$3(0,"span",5),gh("click",function(a){Pu$1(e);let i=VD();return Lu$1(i.onDelete(a))}),bD(1,c5,1,0,"nz-icon",6)(2,s5,1,1,null,7),Kc$1();}if(n&2){let e=VD();gI(),_D(e.removeIcon?2:1);}}function d5(n,t){if(n&1&&(el$1(0),vw(1),tl$1()),n&2){let e=VD();gI(),nl$1(" ",e.placeholder," ");}}var u5=["inputElement"],m5=["mirrorElement"];function p5(n,t){n&1&&lh(0,"span",3,1);}var f5=(n,t)=>t.nzValue;function v5(n,t){if(n&1&&(el$1(0),vw(1),tl$1()),n&2){let e=VD(2);gI(),Ph(e.prefix);}}function g5(n,t){if(n&1&&(_i$3(0,"div",0),nh(1,v5,2,1,"ng-container",4),Kc$1()),n&2){let e=VD();gI(),ch("nzStringTemplateOutlet",e.prefix);}}function z5(n,t){if(n&1&&lh(0,"nz-select-item",6),n&2){let e=VD(2);ch("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0]);}}function y5(n,t){if(n&1){let e=LD();_i$3(0,"nz-select-search",5),gh("isComposingChange",function(a){Pu$1(e);let i=VD();return Lu$1(i.isComposingChange(a))})("valueChange",function(a){Pu$1(e);let i=VD();return Lu$1(i.onInputValueChange(a))}),Kc$1(),bD(1,z5,1,4,"nz-select-item",6);}if(n&2){let e=VD();ch("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",false)("autofocus",e.autofocus)("focusTrigger",e.open),gI(),_D(e.isShowSingleLabel?1:-1);}}function _5(n,t){if(n&1){let e=LD();_i$3(0,"div",7)(1,"nz-select-item",10),gh("delete",function(){let a=Pu$1(e).$implicit,i=VD(2);return Lu$1(i.onDeleteItem(a.contentTemplateOutletContext))}),Kc$1()();}if(n&2){let e=t.$implicit,o=VD(2);gI(),ch("removeIcon",o.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||o.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("contentTemplateOutletContext",e.contentTemplateOutletContext);}}function b5(n,t){if(n&1){let e=LD();_i$3(0,"div",2),ND(1,_5,2,5,"div",7,f5),_i$3(3,"div",8)(4,"nz-select-search",9),gh("isComposingChange",function(a){Pu$1(e);let i=VD();return Lu$1(i.isComposingChange(a))})("valueChange",function(a){Pu$1(e);let i=VD();return Lu$1(i.onInputValueChange(a))}),Kc$1()()();}if(n&2){let e=VD();gI(),xD(e.listOfSlicedItem),gI(3),ch("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",true)("mirrorSync",true)("focusTrigger",e.open);}}function M5(n,t){if(n&1&&lh(0,"nz-select-placeholder",3),n&2){let e=VD();ch("placeholder",e.placeHolder);}}function C5(n,t){if(n&1&&lh(0,"nz-form-item-feedback-icon",6),n&2){let e=VD(3);ch("status",e.status);}}function w5(n,t){if(n&1&&bD(0,C5,1,1,"nz-form-item-feedback-icon",6),n&2){let e=VD(2);_D(e.hasFeedback&&e.status?0:-1);}}function x5(n,t){if(n&1&&(_i$3(0,"nz-select-arrow",3),nh(1,w5,1,1,"ng-template",null,1,Lw),Kc$1()),n&2){let e=zD(2),o=VD();ch("showArrow",o.nzShowArrow)("loading",o.nzLoading)("search",o.nzOpen&&o.nzShowSearch)("suffixIcon",o.nzSuffixIcon)("feedbackIcon",e)("nzMaxMultipleCount",o.nzMaxMultipleCount)("listOfValue",o.listOfValue)("isMaxMultipleCountSet",o.isMaxMultipleCountSet);}}function S5(n,t){if(n&1){let e=LD();_i$3(0,"nz-select-clear",7),gh("clear",function(){Pu$1(e);let a=VD();return Lu$1(a.onClearSelection())}),Kc$1();}if(n&2){let e=VD();ch("clearIcon",e.nzClearIcon);}}function k5(n,t){if(n&1){let e=LD();_i$3(0,"nz-option-container",8),oi(function(){Pu$1(e);let a=VD();return Lu$1(a.slideAnimationLeave())}),ri$1(function(){Pu$1(e);let a=VD();return Lu$1(a.slideAnimationEnter())}),gh("keydown",function(a){Pu$1(e);let i=VD();return Lu$1(i.onKeyDown(a))})("itemClick",function(a){Pu$1(e);let i=VD();return Lu$1(i.onItemClick(a))})("scrollToBottom",function(){Pu$1(e);let a=VD();return Lu$1(a.nzScrollToBottom.emit())}),Kc$1();}if(n&2){let e=VD();sw(e.nzDropdownStyle),Mh("ant-select-dropdown-placement-bottomLeft",e.placement()==="bottomLeft")("ant-select-dropdown-placement-topLeft",e.placement()==="topLeft")("ant-select-dropdown-placement-bottomRight",e.placement()==="bottomRight")("ant-select-dropdown-placement-topRight",e.placement()==="topRight"),ch("itemSize",e.nzOptionHeightPx)("maxItemLength",e.nzOptionOverflowSize)("matchWidth",e.nzDropdownMatchSelectWidth)("nzNoAnimation",!!e.noAnimation?.nzNoAnimation?.())("listOfContainerItem",e.listOfContainerItem)("menuItemSelectedIcon",e.nzMenuItemSelectedIcon)("notFoundContent",e.nzNotFoundContent)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfValue)("dropdownRender",e.nzDropdownRender)("compareWith",e.compareWith)("mode",e.nzMode)("isMaxMultipleCountReached",e.isMaxMultipleCountReached);}}var Dn$1=(()=>{class n{nzLabel=null;changes=new re$1;ngOnChanges(){this.changes.next();}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[ly],ngContentSelectors:f0,decls:1,vars:0,template:function(o,a){o&1&&(BD(),$D(0));},encapsulation:2})}return n})(),v0=(()=>{class n{nzLabel=null;static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(o,a){o&1&&nh(0,Hs,2,1,"ng-container",0),o&2&&ch("nzStringTemplateOutlet",a.nzLabel);},dependencies:[Tt,Ie],encapsulation:2})}return n})(),g0=(()=>{class n{el=C$1(_r$2).nativeElement;ngZone=C$1(oe$1);destroyRef=C$1(at$1);selected=false;activated=false;grouped=false;customContent=false;template=null;disabled=false;showState=false;title;label=null;value=null;activatedValue=null;listOfSelectedValue=[];icon=null;compareWith;itemClick=new Le$2;itemHover=new Le$2;ngOnChanges(e){let{value:o,activatedValue:a,listOfSelectedValue:i}=e;(o||i)&&(this.selected=this.listOfSelectedValue.some(r=>this.compareWith(r,this.value))),(o||a)&&(this.activated=this.compareWith(this.activatedValue,this.value));}ngOnInit(){St(this.el,"click").pipe(ue(this.destroyRef)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value));}),St(this.el,"mouseenter").pipe(ue(this.destroyRef)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value));});}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(o,a){o&2&&(ah("title",a.title),Mh("ant-select-item-option-grouped",a.grouped)("ant-select-item-option-selected",a.selected&&!a.disabled)("ant-select-item-option-disabled",a.disabled)("ant-select-item-option-active",a.activated&&!a.disabled));},inputs:{grouped:"grouped",customContent:[2,"customContent","customContent",Z0$1],template:"template",disabled:"disabled",showState:"showState",title:"title",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[ly],decls:4,vars:2,consts:[[1,"ant-select-item-option-content"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state"],["nzType","check",1,"ant-select-selected-icon"]],template:function(o,a){o&1&&(_i$3(0,"div",0),bD(1,Os,1,1,null,1)(2,Ys,1,1),Kc$1(),bD(3,Is,3,1,"div",2)),o&2&&(gI(),_D(a.customContent?1:2),gI(2),_D(a.showState&&a.selected?3:-1));},dependencies:[es$1,pt$1,Se],encapsulation:2})}return n})(),z0=(()=>{class n{ngZone=C$1(oe$1);platformId=C$1(Wm);notFoundContent=void 0;menuItemSelectedIcon=null;dropdownRender=null;activatedValue=null;listOfSelectedValue=[];compareWith;mode="default";matchWidth=true;itemSize=32;maxItemLength=8;isMaxMultipleCountReached=false;listOfContainerItem=[];itemClick=new Le$2;scrollToBottom=new Le$2;cdkVirtualScrollViewport;scrolledIndex=0;onItemClick(e){this.itemClick.emit(e);}onItemHover(e){this.activatedValue=e;}trackValue(e,o){return o.key}onScrolledIndexChange(e){let o=this.listOfContainerItem.length-e<=this.maxItemLength+1,a=this.listOfContainerItem.length-this.scrolledIndex<=this.maxItemLength+1;o&&!a&&this.scrollToBottom.emit(),this.scrolledIndex=e;}scrollToActivatedValue(){let e=this.listOfContainerItem.findIndex(o=>this.compareWith(o.key,this.activatedValue));(e<this.scrolledIndex||e>=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0);}ngOnChanges(e){let{listOfContainerItem:o,activatedValue:a}=e,i=!!o&&!o.previousValue?.length&&!!o.currentValue?.length;(a||i)&&this.scrollToActivatedValue();}ngAfterViewInit(){jl$1(this.platformId)&&this.ngZone.runOutsideAngular(()=>setTimeout(()=>this.scrollToActivatedValue()));}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-option-container"]],viewQuery:function(o,a){if(o&1&&Ih(W1,7),o&2){let i;qD(i=WD())&&(a.cdkVirtualScrollViewport=i.first);}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",isMaxMultipleCountReached:"isMaxMultipleCountReached",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[ly],decls:5,vars:14,consts:[[1,"ant-select-item-empty"],[3,"scrolledIndexChange","itemSize","maxBufferPx","minBufferPx"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],["nzComponentName","select",3,"specificContent"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","title","label","compareWith","activatedValue","listOfSelectedValue","value"],[3,"itemHover","itemClick","icon","customContent","template","grouped","disabled","showState","title","label","compareWith","activatedValue","listOfSelectedValue","value"]],template:function(o,a){o&1&&(_i$3(0,"div"),bD(1,Ns,2,1,"div",0),_i$3(2,"cdk-virtual-scroll-viewport",1),gh("scrolledIndexChange",function(r){return a.onScrolledIndexChange(r)}),nh(3,js,2,1,"ng-template",2),Kc$1(),nh(4,Us,0,0,"ng-template",3),Kc$1()),o&2&&(gI(),_D(a.listOfContainerItem.length===0?1:-1),gI(),_h("height",a.listOfContainerItem.length*a.itemSize,"px")("max-height",a.itemSize*a.maxItemLength,"px"),Mh("full-width",!a.matchWidth),ch("itemSize",a.itemSize)("maxBufferPx",a.itemSize*a.maxItemLength)("minBufferPx",a.itemSize*a.maxItemLength),gI(),ch("cdkVirtualForOf",a.listOfContainerItem)("cdkVirtualForTrackBy",a.trackValue)("cdkVirtualForTemplateCacheSize",0),gI(),ch("ngTemplateOutlet",a.dropdownRender));},dependencies:[Ri$1,xn$1,v0,g0,es$1,fn$1,nn,an$1,W1,gn$1],encapsulation:2})}return n})(),V5=(()=>{class n{destroyRef=C$1(at$1);nzOptionGroupComponent=C$1(Dn$1,{optional:true});changes=new re$1;groupLabel=null;template;nzTitle;nzLabel=null;nzValue=null;nzKey;nzDisabled=false;nzHide=false;nzCustomContent=false;ngOnInit(){this.nzOptionGroupComponent?.changes.pipe(Gl$1(true),ue(this.destroyRef)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent?.nzLabel;});}ngOnChanges(){this.changes.next();}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-option"]],viewQuery:function(o,a){if(o&1&&Ih(Er$2,7),o&2){let i;qD(i=WD())&&(a.template=i.first);}},inputs:{nzTitle:"nzTitle",nzLabel:"nzLabel",nzValue:"nzValue",nzKey:"nzKey",nzDisabled:[2,"nzDisabled","nzDisabled",Z0$1],nzHide:[2,"nzHide","nzHide",Z0$1],nzCustomContent:[2,"nzCustomContent","nzCustomContent",Z0$1]},exportAs:["nzOption"],features:[ly],ngContentSelectors:f0,decls:1,vars:0,template:function(o,a){o&1&&(BD(),rh(0,Ws,1,0,"ng-template"));},encapsulation:2})}return n})(),y0=(()=>{class n{listOfValue=[];loading=false;search=false;showArrow=false;isMaxMultipleCountSet=false;suffixIcon=null;feedbackIcon=null;nzMaxMultipleCount=1/0;static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(o,a){o&2&&Mh("ant-select-arrow-loading",a.loading);},inputs:{listOfValue:"listOfValue",loading:"loading",search:"search",showArrow:"showArrow",isMaxMultipleCountSet:"isMaxMultipleCountSet",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon",nzMaxMultipleCount:[2,"nzMaxMultipleCount","nzMaxMultipleCount",U3]},decls:4,vars:3,consts:[["nzType","loading"],[4,"nzStringTemplateOutlet"],["nzType","search"],["nzType","down"],[3,"nzType"]],template:function(o,a){o&1&&(bD(0,qs,2,2,"span"),bD(1,Ks,1,0,"nz-icon",0)(2,Js,2,1),nh(3,e5,2,1,"ng-container",1)),o&2&&(_D(a.isMaxMultipleCountSet?0:-1),gI(),_D(a.loading?1:2),gI(2),ch("nzStringTemplateOutlet",a.feedbackIcon));},dependencies:[pt$1,Se,Tt,Ie],encapsulation:2})}return n})(),_0=(()=>{class n{clearIcon=null;clear=new Le$2;onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e);}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(o,a){o&1&&gh("click",function(r){return a.onClick(r)});},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:2,vars:1,consts:[[3,"ngTemplateOutlet"],["nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(o,a){o&1&&bD(0,n5,1,1,null,0)(1,o5,1,0,"nz-icon",1),o&2&&_D(a.clearIcon?0:1);},dependencies:[es$1,pt$1,Se],encapsulation:2})}return n})(),b0=(()=>{class n{disabled=false;label=null;displayLabelInHtml=false;deletable=false;removeIcon=null;contentTemplateOutletContext=null;contentTemplateOutlet=null;delete=new Le$2;get templateOutletContext(){return r({$implicit:this.contentTemplateOutletContext},this.contentTemplateOutletContext)}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e);}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(o,a){o&2&&(ah("title",a.label),Mh("ant-select-selection-item-disabled",a.disabled));},inputs:{disabled:[2,"disabled","disabled",Z0$1],label:"label",displayLabelInHtml:[2,"displayLabelInHtml","displayLabelInHtml",Z0$1],deletable:[2,"deletable","deletable",Z0$1],removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:3,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-select-selection-item-remove"],[3,"ant-select-selection-item-content","innerHTML"],[3,"ant-select-selection-item-content"],[3,"innerHTML"],[1,"ant-select-selection-item-remove",3,"click"],["nzType","close"],[3,"ngTemplateOutlet"]],template:function(o,a){o&1&&(nh(0,r5,3,1,"ng-container",0),bD(1,h5,3,1,"span",1)),o&2&&(ch("nzStringTemplateOutlet",a.contentTemplateOutlet)("nzStringTemplateOutletContext",a.templateOutletContext),gI(),_D(a.deletable&&!a.disabled?1:-1));},dependencies:[es$1,Tt,Ie,pt$1,Se],encapsulation:2})}return n})(),M0=(()=>{class n{placeholder=null;static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(o,a){o&1&&nh(0,d5,2,1,"ng-container",0),o&2&&ch("nzStringTemplateOutlet",a.placeholder);},dependencies:[Tt,Ie],encapsulation:2})}return n})(),Pn$1=(()=>{class n{elementRef=C$1(_r$2);renderer=C$1(XI);focusMonitor=C$1(a3);nzId=null;disabled=false;mirrorSync=false;showInput=true;focusTrigger=false;value="";autofocus=false;valueChange=new Le$2;isComposingChange=new Le$2;inputElement;mirrorElement;constructor(){Kf(()=>{this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus();});}setCompositionState(e){this.isComposingChange.next(e);}onValueChange(e){this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth();}clearInputValue(){let e=this.inputElement.nativeElement;e.value="",this.onValueChange("");}syncMirrorWidth(){let e=this.mirrorElement.nativeElement,o=this.elementRef.nativeElement,a=this.inputElement.nativeElement;this.renderer.removeStyle(o,"width"),this.renderer.setProperty(e,"textContent",`${a.value}\xA0`),this.renderer.setStyle(o,"width",`${e.scrollWidth}px`);}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard");}blur(){this.inputElement.nativeElement.blur();}ngOnChanges(e){let o=this.inputElement.nativeElement,{focusTrigger:a,showInput:i}=e;i&&(this.showInput?this.renderer.removeAttribute(o,"readonly"):this.renderer.setAttribute(o,"readonly","readonly")),a&&a.currentValue===true&&a.previousValue===false&&o.focus();}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-select-search"]],viewQuery:function(o,a){if(o&1&&Ih(u5,7)(m5,5),o&2){let i;qD(i=WD())&&(a.inputElement=i.first),qD(i=WD())&&(a.mirrorElement=i.first);}},hostAttrs:[1,"ant-select-selection-search"],hostVars:2,hostBindings:function(o,a){o&2&&_h("width",a.mirrorSync?0:null,"px");},inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[Sw([{provide:M3,useValue:false}]),ly],decls:3,vars:7,consts:[["inputElement",""],["mirrorElement",""],["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModelChange","compositionstart","compositionend","ngModel","disabled"],[1,"ant-select-selection-search-mirror"]],template:function(o,a){o&1&&(_i$3(0,"input",2,0),gh("ngModelChange",function(r){return a.onValueChange(r)})("compositionstart",function(){return a.setCompositionState(true)})("compositionend",function(){return a.setCompositionState(false)}),Kc$1(),oE(),bD(2,p5,2,0,"span",3)),o&2&&(_h("opacity",a.showInput?null:0),ch("ngModel",a.value)("disabled",a.disabled),ah("id",a.nzId)("autofocus",a.autofocus?"autofocus":null),sE(),gI(2),_D(a.mirrorSync?2:-1));},dependencies:[n8,S4,J6,k3],encapsulation:2})}return n})(),i3=(()=>{class n{destroyRef=C$1(at$1);elementRef=C$1(_r$2);ngZone=C$1(oe$1);noAnimation=C$1(t4,{host:true,optional:true});nzId=null;showSearch=false;placeHolder=null;open=false;maxTagCount=1/0;autofocus=false;disabled=false;mode="default";customTemplate=null;maxTagPlaceholder=null;removeIcon=null;listOfTopItem=[];tokenSeparators=[];prefix=null;tokenize=new Le$2;inputValueChange=new Le$2;deleteItem=new Le$2;nzSelectSearchComponent;listOfSlicedItem=[];isShowPlaceholder=true;isShowSingleLabel=false;isComposing=false;inputValue=null;updateTemplateVariable(){let e=this.listOfTopItem.length===0;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue;}isComposingChange(e){this.isComposing=e,this.updateTemplateVariable();}onInputValueChange(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators));}tokenSeparate(e,o){let a=(r,c)=>{for(let s=0;s<c.length;++s)if(r.lastIndexOf(c[s])>0)return true;return false},i=(r,c)=>{let s=new RegExp(`[${c.join()}]`),h=r.split(s).filter(f=>f);return [...new Set(h)]};if(e&&e.length&&o.length&&this.mode!=="default"&&a(e,o)){let r=i(e,o);this.tokenize.next(r);}}clearInputValue(){this.nzSelectSearchComponent?.clearInputValue();}focus(){this.nzSelectSearchComponent?.focus();}blur(){this.nzSelectSearchComponent?.blur();}onDeleteItem(e){!this.disabled&&!e.nzDisabled&&this.deleteItem.next(e);}ngOnChanges(e){let{listOfTopItem:o,maxTagCount:a,customTemplate:i,maxTagPlaceholder:r}=e;if(o&&this.updateTemplateVariable(),o||a||i||r){let c=this.listOfTopItem.slice(0,this.maxTagCount).map(s=>({nzLabel:s.nzLabel,nzValue:s.nzValue,nzDisabled:s.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:s}));if(this.listOfTopItem.length>this.maxTagCount){let s=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,h=this.listOfTopItem.map(v=>v.nzValue),f={nzLabel:s,nzValue:"$$__nz_exceeded_item",nzDisabled:true,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:h.slice(this.maxTagCount)};c.push(f);}this.listOfSlicedItem=c;}}ngOnInit(){St(this.elementRef.nativeElement,"click").pipe(ue(this.destroyRef)).subscribe(e=>{e.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus();}),St(this.elementRef.nativeElement,"keydown").pipe(ue(this.destroyRef)).subscribe(e=>{if(e.target instanceof HTMLInputElement){let o=e.target.value;e.keyCode===8&&this.mode!=="default"&&!o&&this.listOfTopItem.length>0&&(e.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])));}});}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=QE({type:n,selectors:[["nz-select-top-control"]],viewQuery:function(o,a){if(o&1&&Ih(Pn$1,5),o&2){let i;qD(i=WD())&&(a.nzSelectSearchComponent=i.first);}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:[2,"maxTagCount","maxTagCount",Y0$1],autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators",prefix:"prefix"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[ly],decls:5,vars:3,consts:[[1,"ant-select-prefix"],[1,"ant-select-selection-wrap"],[1,"ant-select-selection-overflow"],[3,"placeholder"],[4,"nzStringTemplateOutlet"],[3,"isComposingChange","valueChange","nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger"],[3,"removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[1,"ant-select-selection-overflow-item"],[1,"ant-select-selection-overflow-item","ant-select-selection-overflow-item-suffix"],[3,"isComposingChange","valueChange","nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger"],["deletable","",3,"delete","removeIcon","label","disabled","contentTemplateOutlet","contentTemplateOutletContext"]],template:function(o,a){if(o&1&&(bD(0,g5,2,1,"div",0),_i$3(1,"span",1),bD(2,y5,2,8)(3,b5,5,7,"div",2),bD(4,M5,1,1,"nz-select-placeholder",3),Kc$1()),o&2){_D(a.prefix?0:-1),gI(2),_D((a.mode)==="default"?2:3),gI(2),_D(a.isShowPlaceholder?4:-1);}},dependencies:[Pn$1,b0,M0,Ie],encapsulation:2})}return n})(),T5=(n,t)=>t&&t.nzLabel?t.nzLabel.toString().toLowerCase().indexOf(n.toLowerCase())>-1:false,p0="select",D5=(()=>{let n,t=[],e=[],o,a=[],i=[],r,c=[],s=[],h,f=[],v=[];return class r3{static{let m=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;n=[ut$1()],o=[ut$1()],r=[ut$1()],h=[ut$1()],pT(null,null,n,{kind:"field",name:"nzVariant",static:false,private:false,access:{has:p=>"nzVariant"in p,get:p=>p.nzVariant,set:(p,d)=>{p.nzVariant=d;}},metadata:m},t,e),pT(null,null,o,{kind:"field",name:"nzOptionHeightPx",static:false,private:false,access:{has:p=>"nzOptionHeightPx"in p,get:p=>p.nzOptionHeightPx,set:(p,d)=>{p.nzOptionHeightPx=d;}},metadata:m},a,i),pT(null,null,r,{kind:"field",name:"nzSuffixIcon",static:false,private:false,access:{has:p=>"nzSuffixIcon"in p,get:p=>p.nzSuffixIcon,set:(p,d)=>{p.nzSuffixIcon=d;}},metadata:m},c,s),pT(null,null,h,{kind:"field",name:"nzBackdrop",static:false,private:false,access:{has:p=>"nzBackdrop"in p,get:p=>p.nzBackdrop,set:(p,d)=>{p.nzBackdrop=d;}},metadata:m},f,v),m&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:m});}_nzModuleName=p0;ngZone=C$1(oe$1);cdr=C$1(z0$1);host=C$1(_r$2);renderer=C$1(XI);platform=C$1(J);focusMonitor=C$1(a3);destroyRef=C$1(at$1);noAnimation=C$1(t4,{host:true,optional:true});nzFormStatusService=C$1(ga,{optional:true});nzId=null;nzSize="default";nzStatus="";nzVariant=hT(this,t,void 0);nzOptionHeightPx=(hT(this,e),hT(this,a,32));nzOptionOverflowSize=(hT(this,i),8);nzDropdownClassName=null;nzDropdownMatchSelectWidth=true;nzDropdownStyle=null;nzNotFoundContent=void 0;nzPlaceHolder=null;nzPlacement=null;nzMaxTagCount=1/0;nzDropdownRender=null;nzCustomTemplate=null;nzPrefix=null;nzSuffixIcon=hT(this,c,null);nzClearIcon=(hT(this,s),null);nzRemoveIcon=null;nzMenuItemSelectedIcon=null;nzTokenSeparators=[];nzMaxTagPlaceholder=null;nzMaxMultipleCount=1/0;nzMode="default";nzFilterOption=T5;compareWith=(m,p)=>m===p;nzAllowClear=false;nzShowSearch=false;nzLoading=false;nzAutoFocus=false;nzAutoClearSearchValue=true;nzServerSearch=false;nzDisabled=false;nzOpen=false;nzSelectOnTab=false;nzBackdrop=hT(this,f,false);nzOptions=(hT(this,v),[]);nzShowArrow=true;get showArrow(){return this.nzShowArrow||!!this.nzSuffixIcon}get isMultiple(){return this.nzMode==="multiple"||this.nzMode==="tags"}get isMaxMultipleCountSet(){return this.isMultiple&&this.nzMaxMultipleCount!==1/0}get isMaxMultipleCountReached(){return this.nzMaxMultipleCount!==1/0&&this.listOfValue.length===this.nzMaxMultipleCount}nzOnSearch=new Le$2;nzScrollToBottom=new Le$2;nzOpenChange=new Le$2;nzBlur=new Le$2;nzFocus=new Le$2;nzOnClear=B0$1();originElement;cdkConnectedOverlay;nzSelectTopControlComponent;listOfNzOptionComponent;listOfNzOptionGroupComponent;nzOptionGroupComponentElement;nzSelectTopControlComponentElement;finalSize=Hw(()=>this.formSize?.()?this.formSize():this.compactSize?this.compactSize():this.size());finalVariant=Hw(()=>this.variant()||this.formVariant?.()||"outlined");size=qo$2(this.nzSize);variant=qo$2(this.nzVariant);formSize=C$1(m1,{optional:true});formVariant=C$1(za,{optional:true});compactSize=C$1(N1,{optional:true});listOfValue$=new On$2([]);listOfTemplateItem$=new On$2([]);listOfTagAndTemplateItem=[];searchValue="";isReactiveDriven=false;value;requestId=-1;isNzDisableFirstChange=true;onChange=()=>{};onTouched=()=>{};triggerWidth=null;listOfContainerItem=[];listOfTopItem=[];activatedValue=null;listOfValue=[];focused=false;positions=[];dir=C$1(Le).valueSignal;placement=qo$2("bottomLeft");slideAnimationEnter=u0(()=>this.placement().startsWith("top")?"down":"up");slideAnimationLeave=m0(()=>this.placement().startsWith("top")?"down":"up");prefixCls="ant-select";statusCls={};status="";hasFeedback=false;generateTagItem(m){return {nzValue:m,nzLabel:m,type:"item"}}onItemClick(m){if(this.activatedValue=m,this.nzMode==="default")(this.listOfValue.length===0||!this.compareWith(this.listOfValue[0],m))&&this.updateListOfValue([m]),this.setOpenState(false);else {let p=this.listOfValue.findIndex(d=>this.compareWith(d,m));if(p!==-1){let d=this.listOfValue.filter((u,g)=>g!==p);this.updateListOfValue(d);}else if(this.listOfValue.length<this.nzMaxMultipleCount){let d=[...this.listOfValue,m];this.updateListOfValue(d);}this.focus(),this.nzAutoClearSearchValue&&this.clearInput();}}onItemDelete(m){let p=this.listOfValue.filter(d=>!this.compareWith(d,m.nzValue));this.updateListOfValue(p),this.clearInput();}updateListOfContainerItem(){let m=this.listOfTagAndTemplateItem.filter(u=>!u.nzHide).filter(u=>!this.nzServerSearch&&this.searchValue?this.nzFilterOption(this.searchValue,u):true);if(this.nzMode==="tags"&&this.searchValue){let u=this.listOfTagAndTemplateItem.find(g=>g.nzLabel===this.searchValue);if(u)this.activatedValue=u.nzValue;else {let g=this.generateTagItem(this.searchValue);m=[g,...m],this.activatedValue=g.nzValue;}}let p=m.find(u=>u.nzLabel===this.searchValue)||m.find(u=>this.compareWith(u.nzValue,this.activatedValue))||m.find(u=>this.compareWith(u.nzValue,this.listOfValue[0]))||m[0];this.activatedValue=p&&p.nzValue||null;let d=[];this.isReactiveDriven?d=[...new Set(this.nzOptions.filter(u=>u.groupLabel).map(u=>u.groupLabel))]:this.listOfNzOptionGroupComponent&&(d=this.listOfNzOptionGroupComponent.map(u=>u.nzLabel)),d.forEach(u=>{let g=m.findIndex(ne=>u===ne.groupLabel);if(g>-1){let ne={groupLabel:u,type:"group",key:u};m.splice(g,0,ne);}}),this.listOfContainerItem=[...m],this.updateCdkConnectedOverlayPositions();}clearInput(){this.nzSelectTopControlComponent.clearInputValue();}updateListOfValue(m){let d=((u,g)=>g==="default"?u.length>0?u[0]:null:u)(m,this.nzMode);this.value!==d&&(this.listOfValue=m,this.listOfValue$.next(m),this.value=d,this.onChange(this.value));}onTokenSeparate(m){let p=this.listOfTagAndTemplateItem.filter(u=>m.findIndex(g=>g===u.nzLabel)!==-1).map(u=>u.nzValue).filter(u=>this.listOfValue.findIndex(g=>this.compareWith(g,u))===-1),d=u=>this.isMaxMultipleCountSet?u.slice(0,this.nzMaxMultipleCount):u;if(this.nzMode==="multiple"){let u=d([...this.listOfValue,...p]);this.updateListOfValue(u);}else if(this.nzMode==="tags"){let u=m.filter(ne=>this.listOfTagAndTemplateItem.findIndex(rt=>rt.nzLabel===ne)===-1),g=d([...this.listOfValue,...p,...u]);this.updateListOfValue(g);}this.clearInput();}onKeyDown(m){if(this.nzDisabled)return;let p=this.listOfContainerItem.filter(u=>u.type==="item").filter(u=>!u.nzDisabled),d=p.findIndex(u=>this.compareWith(u.nzValue,this.activatedValue));switch(m.keyCode){case 38:if(m.preventDefault(),this.nzOpen&&p.length>0){let u=d>0?d-1:p.length-1;this.activatedValue=p[u].nzValue;}break;case 40:if(m.preventDefault(),this.nzOpen&&p.length>0){let u=d<p.length-1?d+1:0;this.activatedValue=p[u].nzValue;}else this.setOpenState(true);break;case 13:m.preventDefault(),this.nzOpen?j3(this.activatedValue)&&d!==-1&&this.onItemClick(this.activatedValue):this.setOpenState(true);break;case 32:this.nzOpen||(this.setOpenState(true),m.preventDefault());break;case 9:this.nzSelectOnTab?this.nzOpen&&(m.preventDefault(),j3(this.activatedValue)&&this.onItemClick(this.activatedValue)):this.setOpenState(false);break;case 27:break;default:this.nzOpen||this.setOpenState(true);}}setOpenState(m){this.nzOpen!==m&&(this.nzOpen=m,this.nzOpenChange.emit(m),this.onOpenChange(),this.cdr.markForCheck());}onOpenChange(){this.updateCdkConnectedOverlayStatus(),(this.nzAutoClearSearchValue||!this.isMultiple)&&this.clearInput();}onInputValueChange(m){this.searchValue=m,this.updateListOfContainerItem(),this.nzOnSearch.emit(m),this.updateCdkConnectedOverlayPositions();}onClearSelection(){this.updateListOfValue([]),this.nzOnClear.emit();}onClickOutside(m){let p=He(m);this.host.nativeElement.contains(p)||this.setOpenState(false);}focus(){this.nzSelectTopControlComponent.focus();}blur(){this.nzSelectTopControlComponent.blur();}onPositionChange(m){let p=vn(m);this.placement.set(p);}updateCdkConnectedOverlayStatus(){if(this.platform.isBrowser&&this.originElement.nativeElement){let m=this.triggerWidth;Tn$1(this.requestId),this.requestId=x1(()=>{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,m!==this.triggerWidth&&this.cdr.detectChanges();});}}updateCdkConnectedOverlayPositions(){x1(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition();});}constructor(){this.destroyRef.onDestroy(()=>{Tn$1(this.requestId),this.focusMonitor.stopMonitoring(this.host);}),Vt(p0,()=>{this.size.set(this.nzSize),this.cdr.markForCheck();});}writeValue(m){if(this.value!==m){this.value=m;let d=((u,g)=>u==null?[]:g==="default"?[u]:u)(m,this.nzMode);this.listOfValue=d,this.nzOpen||(this.activatedValue=d[0]??null),this.listOfValue$.next(d),this.cdr.markForCheck();}}registerOnChange(m){this.onChange=m;}registerOnTouched(m){this.onTouched=m;}setDisabledState(m){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||m,this.isNzDisableFirstChange=false,this.nzDisabled&&this.setOpenState(false),this.cdr.markForCheck();}ngOnChanges({nzOpen:m,nzDisabled:p,nzOptions:d,nzStatus:u,nzPlacement:g,nzSize:ne,nzVariant:rt}){if(m&&this.onOpenChange(),p&&this.nzDisabled&&this.setOpenState(false),d){this.isReactiveDriven=true;let ct=(this.nzOptions||[]).map(oe=>({template:oe.label instanceof Er$2?oe.label:null,nzTitle:this.getTitle(oe.title,oe.label),nzLabel:typeof oe.label=="string"||typeof oe.label=="number"?oe.label:null,nzValue:oe.value,nzDisabled:oe.disabled||false,nzHide:oe.hide||false,nzCustomContent:oe.label instanceof Er$2,groupLabel:oe.groupLabel||null,type:"item",key:oe.key===void 0?oe.value:oe.key}));this.listOfTemplateItem$.next(ct);}if(u&&this.setStatusStyles(this.nzStatus,this.hasFeedback),g){let{currentValue:je}=g;this.placement.set(je);let ct=["bottomLeft","topLeft","bottomRight","topRight"];je&&ct.includes(je)?this.positions=[_e[je]]:this.positions=ct.map(oe=>_e[oe]);}ne&&this.size.set(ne.currentValue),rt&&this.variant.set(rt.currentValue);}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Kg((m,p)=>m.status===p.status&&m.hasFeedback===p.hasFeedback),ue(this.destroyRef)).subscribe(({status:m,hasFeedback:p})=>{this.setStatusStyles(m,p);}),this.focusMonitor.monitor(this.host,true).pipe(ue(this.destroyRef)).subscribe(m=>{m?(this.focused=true,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=false,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched();}));}),Fg([this.listOfValue$,this.listOfTemplateItem$]).pipe(ue(this.destroyRef)).subscribe(([m,p])=>{let d=m.filter(()=>this.nzMode==="tags").filter(u=>p.findIndex(g=>this.compareWith(g.nzValue,u))===-1).map(u=>this.listOfTopItem.find(g=>this.compareWith(g.nzValue,u))||this.generateTagItem(u));this.listOfTagAndTemplateItem=[...p,...d],this.listOfTopItem=this.listOfValue.map(u=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(g=>this.compareWith(u,g.nzValue))).filter(u=>!!u),this.updateListOfContainerItem();}),St(this.host.nativeElement,"click").pipe(ue(this.destroyRef)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen));}),this.cdkConnectedOverlay.overlayKeydown.pipe(ue(this.destroyRef)).subscribe(m=>{m.keyCode===27&&this.setOpenState(false);});}ngAfterContentInit(){this.isReactiveDriven||zg(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(Gl$1(true),Ml$1(()=>zg(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(m=>m.changes),...this.listOfNzOptionGroupComponent.map(m=>m.changes)).pipe(Gl$1(true))),ue(this.destroyRef)).subscribe(()=>{let m=this.listOfNzOptionComponent.toArray().map(p=>{let{template:d,nzLabel:u,nzValue:g,nzKey:ne,nzDisabled:rt,nzHide:je,nzCustomContent:ct,groupLabel:oe}=p;return {template:d,nzLabel:u,nzValue:g,nzDisabled:rt,nzHide:je,nzCustomContent:ct,groupLabel:oe,nzTitle:this.getTitle(p.nzTitle,p.nzLabel),type:"item",key:ne===void 0?g:ne}});this.listOfTemplateItem$.next(m),this.cdr.markForCheck();});}setStatusStyles(m,p){this.status=m,this.hasFeedback=p,this.cdr.markForCheck(),this.statusCls=D8(this.prefixCls,m,p),Object.keys(this.statusCls).forEach(d=>{this.statusCls[d]?this.renderer.addClass(this.host.nativeElement,d):this.renderer.removeClass(this.host.nativeElement,d);});}getTitle(m,p){let d;return m===void 0?(typeof p=="string"||typeof p=="number")&&(d=p.toString()):(typeof m=="string"||typeof m=="number")&&(d=m.toString()),d}static \u0275fac=function(p){return new(p||r3)};static \u0275cmp=QE({type:r3,selectors:[["nz-select"]],contentQueries:function(p,d,u){if(p&1&&vh(u,V5,5)(u,Dn$1,5),p&2){let g;qD(g=WD())&&(d.listOfNzOptionComponent=g),qD(g=WD())&&(d.listOfNzOptionGroupComponent=g);}},viewQuery:function(p,d){if(p&1&&Ih(Dt,7,_r$2)(f1,7)(i3,7)(Dn$1,7,_r$2)(i3,7,_r$2),p&2){let u;qD(u=WD())&&(d.originElement=u.first),qD(u=WD())&&(d.cdkConnectedOverlay=u.first),qD(u=WD())&&(d.nzSelectTopControlComponent=u.first),qD(u=WD())&&(d.nzOptionGroupComponentElement=u.first),qD(u=WD())&&(d.nzSelectTopControlComponentElement=u.first);}},hostAttrs:[1,"ant-select"],hostVars:32,hostBindings:function(p,d){p&2&&Mh("ant-select-in-form-item",!!d.nzFormStatusService)("ant-select-lg",d.finalSize()==="large")("ant-select-sm",d.finalSize()==="small")("ant-select-show-arrow",d.showArrow)("ant-select-disabled",d.nzDisabled)("ant-select-show-search",(d.nzShowSearch||d.nzMode!=="default")&&!d.nzDisabled)("ant-select-allow-clear",d.nzAllowClear)("ant-select-outlined",d.finalVariant()==="outlined")("ant-select-borderless",d.finalVariant()==="borderless")("ant-select-filled",d.finalVariant()==="filled")("ant-select-underlined",d.finalVariant()==="underlined")("ant-select-open",d.nzOpen)("ant-select-focused",d.nzOpen||d.focused)("ant-select-single",d.nzMode==="default")("ant-select-multiple",d.nzMode!=="default")("ant-select-rtl",d.dir()==="rtl");},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzVariant:"nzVariant",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzPrefix:"nzPrefix",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:[2,"nzMaxMultipleCount","nzMaxMultipleCount",U3],nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:[2,"nzAllowClear","nzAllowClear",Z0$1],nzShowSearch:[2,"nzShowSearch","nzShowSearch",Z0$1],nzLoading:[2,"nzLoading","nzLoading",Z0$1],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Z0$1],nzAutoClearSearchValue:[2,"nzAutoClearSearchValue","nzAutoClearSearchValue",Z0$1],nzServerSearch:[2,"nzServerSearch","nzServerSearch",Z0$1],nzDisabled:[2,"nzDisabled","nzDisabled",Z0$1],nzOpen:[2,"nzOpen","nzOpen",Z0$1],nzSelectOnTab:[2,"nzSelectOnTab","nzSelectOnTab",Z0$1],nzBackdrop:[2,"nzBackdrop","nzBackdrop",Z0$1],nzOptions:"nzOptions",nzShowArrow:[2,"nzShowArrow","nzShowArrow",Z0$1]},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus",nzOnClear:"nzOnClear"},exportAs:["nzSelect"],features:[Sw([{provide:h1,useExisting:wo$2(()=>r3),multi:true},{provide:B1,useValue:"select"}]),rD([R4]),ly],decls:5,vars:25,consts:[["origin","cdkOverlayOrigin"],["feedbackIconTpl",""],["cdkOverlayOrigin","",3,"inputValueChange","tokenize","deleteItem","keydown","nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","prefix"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon","nzMaxMultipleCount","listOfValue","isMaxMultipleCountSet"],[3,"clearIcon"],["cdkConnectedOverlay","","nzConnectedOverlay","","cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOffsetY","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions"],[3,"status"],[3,"clear","clearIcon"],[3,"keydown","itemClick","scrollToBottom","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","isMaxMultipleCountReached"]],template:function(p,d){if(p&1&&(_i$3(0,"nz-select-top-control",2,0),gh("inputValueChange",function(g){return d.onInputValueChange(g)})("tokenize",function(g){return d.onTokenSeparate(g)})("deleteItem",function(g){return d.onItemDelete(g)})("keydown",function(g){return d.onKeyDown(g)}),Kc$1(),bD(2,x5,3,8,"nz-select-arrow",3),bD(3,S5,1,1,"nz-select-clear",4),nh(4,k5,1,23,"ng-template",5),gh("overlayOutsideClick",function(g){return d.onClickOutside(g)})("detach",function(){return d.setOpenState(false)})("positionChange",function(g){return d.onPositionChange(g)})),p&2){let u=zD(1);ch("nzId",d.nzId)("open",d.nzOpen)("disabled",d.nzDisabled)("mode",d.nzMode)("nzNoAnimation",d.noAnimation?.nzNoAnimation?.())("maxTagPlaceholder",d.nzMaxTagPlaceholder)("removeIcon",d.nzRemoveIcon)("placeHolder",d.nzPlaceHolder)("maxTagCount",d.nzMaxTagCount)("customTemplate",d.nzCustomTemplate)("tokenSeparators",d.nzTokenSeparators)("showSearch",d.nzShowSearch)("autofocus",d.nzAutoFocus)("listOfTopItem",d.listOfTopItem)("prefix",d.nzPrefix),gI(2),_D(d.showArrow||d.hasFeedback&&d.status||d.isMaxMultipleCountSet?2:-1),gI(),_D(d.nzAllowClear&&!d.nzDisabled&&d.listOfValue.length?3:-1),gI(),ch("cdkConnectedOverlayOffsetY",d.placement().startsWith("top")?-4:4)("cdkConnectedOverlayHasBackdrop",d.nzBackdrop)("cdkConnectedOverlayMinWidth",d.nzDropdownMatchSelectWidth?null:d.triggerWidth)("cdkConnectedOverlayWidth",d.nzDropdownMatchSelectWidth?d.triggerWidth:null)("cdkConnectedOverlayOrigin",u)("cdkConnectedOverlayPanelClass",d.nzDropdownClassName)("cdkConnectedOverlayOpen",d.nzOpen)("cdkConnectedOverlayPositions",d.positions);}},dependencies:[i3,Dt,t4,y0,va,_0,f1,gn$1,Xa,z0],encapsulation:2})}})(),$b=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=YE({type:n});static \u0275inj=uu$1({imports:[D5,z0,g0,i3,Pn$1,b0,_0,y0,M0,v0]})}return n})();function L(e){return v$1(this,null,function*(){if(e==="es"){let t=yield import('./chunk-JvTI8UXr.js');Bl$1(t.default);return}let h=yield import('./chunk-fWbYKoKA.js');Bl$1(h.default);})}var g=new A$2("APP_LOCALE_REGISTRAR",{providedIn:"root",factory:()=>L});var A={en:Il,es:qy},O=(()=>{class e{constructor(){this.transloco=C$1(Ve),this.nzI18n=C$1(wn$1),this.document=C$1(Uo$2),this.registerLocale=C$1(g),this.lang=qo$2(this.transloco.getActiveLang()||"en"),this.currentLang=this.lang.asReadonly();}setLanguage(t){return v$1(this,null,function*(){this.transloco.setActiveLang(t),this.lang.set(t),this.nzI18n.setLocale(A[t]),yield this.registerLocale(t),this.document.documentElement.lang=t;})}static{this.\u0275fac=function(u){return new(u||e)};}static{this.\u0275prov=ie$1({token:e,factory:e.\u0275fac,providedIn:"root"});}}return e})();var $=(()=>{class i{constructor(){this.http=C$1(Zi$2),this.apiBase=a.apiBaseUrl;}getSettings(){return this.http.get(`${this.apiBase}/settings`).pipe(E())}updateSettings(t){return this.http.patch(`${this.apiBase}/settings`,t).pipe(E())}listProviderInstances(){return this.http.get(`${this.apiBase}/provider-instances`).pipe(E())}createProviderInstance(t){return this.http.post(`${this.apiBase}/provider-instances`,t).pipe(E())}updateProviderInstance(t,r){return this.http.patch(`${this.apiBase}/provider-instances/${encodeURIComponent(t)}`,r).pipe(E())}deleteProviderInstance(t){return this.http.delete(`${this.apiBase}/provider-instances/${encodeURIComponent(t)}`).pipe(E())}getProviderStatus(){return this.http.get(`${this.apiBase}/providers/status`).pipe(E())}setSecret(t,r){return this.http.post(`${this.apiBase}/secrets/${encodeURIComponent(t)}`,{value:r},{responseType:"text"}).pipe(Se$3(()=>{}),E())}static{this.\u0275fac=function(r){return new(r||i)};}static{this.\u0275prov=ie$1({token:i,factory:i.\u0275fac,providedIn:"root"});}}return i})();function u(e){if(!e)return {};let r={};for(let[t,n]of Object.entries(e))n!=null&&(r[t]=String(n));return r}var U$1=(()=>{class r{constructor(){this.http=C$1(Zi$2),this.baseUrl=`${a.apiBaseUrl}/views`;}list(t){return this.http.get(this.baseUrl,{params:u(t)}).pipe(E())}get(t){return this.http.get(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(E())}getSubjects(t){return this.http.get(`${this.baseUrl}/${encodeURIComponent(t)}/subjects`).pipe(E())}create(t){return this.http.post(this.baseUrl,t).pipe(E())}update(t,i){return this.http.patch(`${this.baseUrl}/${encodeURIComponent(t)}`,i).pipe(E())}reorder(t){return this.http.patch(`${this.baseUrl}/reorder`,{viewIds:t}).pipe(E())}delete(t){return this.http.delete(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(E())}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275prov=ie$1({token:r,factory:r.\u0275fac,providedIn:"root"});}}return r})();var U=(()=>{class r{constructor(){this.http=C$1(Zi$2),this.baseUrl=`${a.apiBaseUrl}/jobs`;}list(t){return this.http.get(this.baseUrl,{params:u(t)}).pipe(E())}get(t){return this.http.get(`${this.baseUrl}/${encodeURIComponent(t)}`).pipe(E())}start(t){return this.http.post(this.baseUrl,t).pipe(E())}latestBySubject(t,s){return this.http.post(`${this.baseUrl}/latest-by-subject`,{workflowId:t,subjectIds:s}).pipe(E())}resume(t,s){return this.http.post(`${this.baseUrl}/${encodeURIComponent(t)}/resume`,{response:s}).pipe(E())}retry(t){return this.http.post(`${this.baseUrl}/${encodeURIComponent(t)}/retry`,{}).pipe(E())}static{this.\u0275fac=function(s){return new(s||r)};}static{this.\u0275prov=ie$1({token:r,factory:r.\u0275fac,providedIn:"root"});}}return r})();function rn(o,t){if(o&1&&(_i$3(0,"p",3),vw(1),Kc$1()),o&2){let e=t.$implicit,i=VD(2).$index,n=VD(2);Mh("current",e===n.countArray[i]),gI(),nl$1(" ",e," ");}}function sn(o,t){if(o&1&&ND(0,rn,2,3,"p",2,SD),o&2){let e=VD(3);xD(e.countSingleArray);}}function an(o,t){if(o&1&&(_i$3(0,"span",1),bD(1,sn,2,0),Kc$1()),o&2){let e=t.$index,i=VD(2);_h("transform","translateY("+-i.countArray[e]*100+"%)"),ch("nzNoAnimation",!!i.noAnimation?.nzNoAnimation?.()),gI(),_D(!i.nzDot&&i.countArray[e]!==void 0?1:-1);}}function ln(o,t){if(o&1&&ND(0,an,2,4,"span",0,SD),o&2){let e=VD();xD(e.maxNumberArray);}}function dn(o,t){if(o&1&&vw(0),o&2){let e=VD();nl$1(" ",e.nzOverflowCount,"+ ");}}var _i=["*"];function cn(o,t){if(o&1&&(el$1(0),vw(1),tl$1()),o&2){let e=VD(2);gI(),Ph(e.nzText);}}function hn(o,t){if(o&1&&(lh(0,"span",1),_i$3(1,"span",2),nh(2,cn,2,1,"ng-container",0),Kc$1()),o&2){let e=VD();sw(e.mergedStyle),cw((e.nzStatus||e.presetColor)&&"ant-badge-status-"+(e.nzStatus||e.presetColor)),gI(2),ch("nzStringTemplateOutlet",e.nzText);}}function pn(o,t){if(o&1){let e=LD();_i$3(0,"nz-badge-sup",3),oi(function(){Pu$1(e);let n=VD(2);return Lu$1(n.supAnimationLeave())}),ri$1(function(){Pu$1(e);let n=VD(2);return Lu$1(n.supAnimationEnter())}),Kc$1();}if(o&2){let e=VD(2);ch("isPresetColor",e.nzStatus||e.presetColor)("nzColor",e.nzStatus||e.presetColor||e.nzColor)("nzOffset",e.nzOffset)("nzSize",e.nzSize)("nzTitle",e.nzTitle)("nzStyle",e.mergedStyle)("nzDot",e.nzDot)("nzCount",e.nzCount)("nzOverflowCount",e.nzOverflowCount);}}function gn(o,t){if(o&1&&(el$1(0),bD(1,pn,1,9,"nz-badge-sup",3),tl$1()),o&2){let e=VD();gI(),_D(e.showSup?1:-1);}}function un(o,t){if(o&1&&(el$1(0),_i$3(1,"span",3),vw(2),Kc$1(),tl$1()),o&2){let e=VD();gI(2),Ph(e.nzText);}}var mn=(()=>{class o{noAnimation=C$1(t4,{host:true,optional:true});nzOffset;nzTitle;nzStyle=null;nzDot=false;nzOverflowCount=99;nzCount;nzSize="default";isPresetColor=false;nzColor;maxNumberArray=[];countArray=[];count=0;countSingleArray=[0,1,2,3,4,5,6,7,8,9];generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("").map((e,i)=>`${e}-${i}`);}ngOnInit(){this.generateMaxNumberArray();}ngOnChanges(e){let{nzOverflowCount:i,nzCount:n}=e;n&&typeof n.currentValue=="number"&&(this.count=Math.max(0,n.currentValue),this.countArray=this.count.toString().split("").map(r=>+r)),i&&this.generateMaxNumberArray();}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=QE({type:o,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:17,hostBindings:function(i,n){i&2&&(ah("title",n.nzTitle===null?"":n.nzTitle||n.nzCount),sw(n.nzStyle),cw(n.isPresetColor?"ant-badge-status-"+n.nzColor:""),_h("right",n.nzOffset&&n.nzOffset[0]?-n.nzOffset[0]:null,"px")("margin-top",n.nzOffset&&n.nzOffset[1]?n.nzOffset[1]:null,"px"),Mh("ant-badge-count",!n.nzDot)("ant-badge-count-sm",n.nzSize==="small")("ant-badge-dot",n.nzDot)("ant-badge-multiple-words",n.countArray.length>=2));},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:[2,"nzOverflowCount","nzOverflowCount",Y0$1],nzCount:"nzCount",nzSize:"nzSize",isPresetColor:[2,"isPresetColor","isPresetColor",Z0$1],nzColor:"nzColor"},exportAs:["nzBadgeSup"],features:[ly],decls:2,vars:1,consts:[[1,"ant-scroll-number-only",3,"nzNoAnimation","transform"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[1,"ant-scroll-number-only-unit",3,"current"],[1,"ant-scroll-number-only-unit"]],template:function(i,n){i&1&&bD(0,ln,2,0)(1,dn,1,1),i&2&&_D(n.count<=n.nzOverflowCount?0:1);},dependencies:[t4],encapsulation:2})}return o})(),fi=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"],_n="badge",st=(()=>{let o,t=[],e=[],i,n=[],r$1=[];return class rt{static{let a=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;o=[ut$1()],i=[ut$1()],pT(null,null,o,{kind:"field",name:"nzOverflowCount",static:false,private:false,access:{has:l=>"nzOverflowCount"in l,get:l=>l.nzOverflowCount,set:(l,d)=>{l.nzOverflowCount=d;}},metadata:a},t,e),pT(null,null,i,{kind:"field",name:"nzColor",static:false,private:false,access:{has:l=>"nzColor"in l,get:l=>l.nzColor,set:(l,d)=>{l.nzColor=d;}},metadata:a},n,r$1),a&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:a});}dir=C$1(Le).valueSignal;_nzModuleName=_n;showSup=false;supAnimationEnter=s0(()=>"ant-badge-zoom-enter");supAnimationLeave=s0(()=>"ant-badge-zoom-leave");presetColor=null;nzShowZero=false;nzShowDot=true;nzStandalone=false;nzDot=false;nzOverflowCount=hT(this,t,99);nzColor=(hT(this,e),hT(this,n,void 0));nzStyle=(hT(this,r$1),null);nzText=null;nzTitle;nzStatus;nzCount;nzOffset;nzSize="default";get mergedStyle(){return r({backgroundColor:!this.presetColor&&this.nzColor},this.nzStyle??{})}ngOnChanges(a){let{nzColor:l,nzShowDot:d,nzDot:p,nzCount:v,nzShowZero:x}=a;l&&(this.presetColor=this.nzColor&&fi.indexOf(this.nzColor)!==-1?this.nzColor:null),(d||p||v||x)&&(this.showSup=this.nzShowDot&&this.nzDot||typeof this.nzCount=="number"&&(this.nzCount>0||this.nzShowZero));}static \u0275fac=function(l){return new(l||rt)};static \u0275cmp=QE({type:rt,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:6,hostBindings:function(l,d){l&2&&Mh("ant-badge-status",d.nzStatus)("ant-badge-not-a-wrapper",!!(d.nzStandalone||(d.nzStatus||d.nzColor)&&!d.showSup&&!d.nzCount))("ant-badge-rtl",d.dir()==="rtl");},inputs:{nzShowZero:[2,"nzShowZero","nzShowZero",Z0$1],nzShowDot:[2,"nzShowDot","nzShowDot",Z0$1],nzStandalone:[2,"nzStandalone","nzStandalone",Z0$1],nzDot:[2,"nzDot","nzDot",Z0$1],nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset",nzSize:"nzSize"},exportAs:["nzBadge"],features:[ly],ngContentSelectors:_i,decls:3,vars:2,consts:[[4,"nzStringTemplateOutlet"],[1,"ant-badge-status-dot"],[1,"ant-badge-status-text"],[3,"isPresetColor","nzColor","nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzCount","nzOverflowCount"]],template:function(l,d){l&1&&(BD(),bD(0,hn,3,5),$D(1),nh(2,gn,2,1,"ng-container",0)),l&2&&(_D((d.nzStatus||d.nzColor)&&!d.showSup&&!d.nzCount?0:-1),gI(2),ch("nzStringTemplateOutlet",d.nzCount));},dependencies:[mn,Tt,Ie],encapsulation:2})}})(),fn=(()=>{class o{nzColor;nzPlacement="end";nzText=null;presetColor=null;ngOnChanges(e){let{nzColor:i}=e;i&&(this.presetColor=this.nzColor&&fi.indexOf(this.nzColor)!==-1?this.nzColor:null);}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=QE({type:o,selectors:[["nz-ribbon"]],hostAttrs:[1,"ant-ribbon-wrapper"],inputs:{nzColor:"nzColor",nzPlacement:"nzPlacement",nzText:"nzText"},exportAs:["nzRibbon"],features:[ly],ngContentSelectors:_i,decls:4,vars:11,consts:[[1,"ant-ribbon"],[4,"nzStringTemplateOutlet"],[1,"ant-ribbon-corner"],[1,"ant-ribbon-text"]],template:function(i,n){i&1&&(BD(),$D(0),_i$3(1,"div",0),nh(2,un,3,1,"ng-container",1),lh(3,"div",2),Kc$1()),i&2&&(gI(),cw(n.presetColor&&"ant-ribbon-color-"+n.presetColor),_h("background-color",!n.presetColor&&n.nzColor),Mh("ant-ribbon-placement-end",n.nzPlacement==="end")("ant-ribbon-placement-start",n.nzPlacement==="start"),gI(),ch("nzStringTemplateOutlet",n.nzText),gI(),_h("color",!n.presetColor&&n.nzColor));},dependencies:[Tt,Ie],encapsulation:2})}return o})(),vi=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=YE({type:o});static \u0275inj=uu$1({imports:[st,fn]})}return o})();var bn=["ticket","pull_request","documentation"],Dn={ticket:"shell.group.tickets",pull_request:"shell.group.pullRequests",documentation:"shell.group.documentation"};function Cn(o,t){return Dn[o]}function bi(o,t){let e=new Map;for(let i of o){let n=e.get(i.subjectType)??[];n.push(i),e.set(i.subjectType,n);}return bn.flatMap(i=>{let n=e.get(i);return n?.length?[{subjectType:i,labelKey:Cn(i),views:[...n].sort((r,s)=>r.order-s.order)}]:[]})}function dt(o){let t=o.cloneNode(true),e=t.querySelectorAll("[id]"),i=o.nodeName.toLowerCase();t.removeAttribute("id");for(let n=0;n<e.length;n++)e[n].removeAttribute("id");return i==="canvas"?wi(o,t):(i==="input"||i==="select"||i==="textarea")&&Ci(o,t),Di("canvas",o,t,wi),Di("input, textarea, select",o,t,Ci),t}function Di(o,t,e,i){let n=t.querySelectorAll(o);if(n.length){let r=e.querySelectorAll(o);for(let s=0;s<n.length;s++)i(n[s],r[s]);}}var wn=0;function Ci(o,t){t.type!=="file"&&(t.value=o.value),t.type==="radio"&&t.name&&(t.name=`mat-clone-${t.name}-${wn++}`);}function wi(o,t){let e=t.getContext("2d");if(e)try{e.drawImage(o,0,0);}catch(i){}}function mt(o){let t=o.getBoundingClientRect();return {top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function ct(o,t,e){let{top:i,bottom:n,left:r,right:s}=o;return e>=i&&e<=n&&t>=r&&t<=s}function Sn(o,t){let e=t.left<o.left,i=t.left+t.width>o.right,n=t.top<o.top,r=t.top+t.height>o.bottom;return e||i||n||r}function le(o,t,e){o.top+=t,o.bottom=o.top+o.height,o.left+=e,o.right=o.left+o.width;}function Si(o,t,e,i){let{top:n,right:r,bottom:s,left:a,width:l,height:d}=o,p=l*t,v=d*t;return i>n-v&&i<s+v&&e>a-p&&e<r+p}var Me=class{_document;positions=new Map;constructor(t){this._document=t;}clear(){this.positions.clear();}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:mt(e)});});}handleScroll(t){let e=He(t),i=this.positions.get(e);if(!i)return null;let n=i.scrollPosition,r,s;if(e===this._document){let d=this.getViewportScrollPosition();r=d.top,s=d.left;}else r=e.scrollTop,s=e.scrollLeft;let a=n.top-r,l=n.left-s;return this.positions.forEach((d,p)=>{d.clientRect&&e!==p&&e.contains(p)&&le(d.clientRect,a,l);}),n.top=r,n.left=s,{top:a,left:l}}getViewportScrollPosition(){return {top:window.scrollY,left:window.scrollX}}};function Ai(o,t){let e=o.rootNodes;if(e.length===1&&e[0].nodeType===t.ELEMENT_NODE)return e[0];let i=t.createElement("div");return e.forEach(n=>i.appendChild(n)),i}function _t(o,t,e){for(let i in t)if(t.hasOwnProperty(i)){let n=t[i];n?o.setProperty(i,n,e?.has(i)?"important":""):o.removeProperty(i);}return o}function Y(o,t){let e=t?"":"none";_t(o.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e});}function yi(o,t,e){_t(o.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e);}function Ne(o,t){return t&&t!="none"?o+" "+t:o}function Pi(o,t){o.style.width=`${t.width}px`,o.style.height=`${t.height}px`,o.style.transform=de(t.left,t.top);}function de(o,t){return `translate3d(${Math.round(o)}px, ${Math.round(t)}px, 0)`}var se={capture:true},at={passive:false,capture:true},yn=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=QE({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(i,n){},styles:[`@layer cdk-resets {
|
|
236
|
+
.cdk-drag-preview {
|
|
237
|
+
background: none;
|
|
238
|
+
border: none;
|
|
239
|
+
padding: 0;
|
|
240
|
+
color: inherit;
|
|
241
|
+
overflow: visible;
|
|
242
|
+
inset: auto;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
.cdk-drag-placeholder *,
|
|
246
|
+
.cdk-drag-preview * {
|
|
247
|
+
pointer-events: none !important;
|
|
248
|
+
}
|
|
249
|
+
`],encapsulation:2})}return o})(),ft=(()=>{class o{_ngZone=C$1(oe$1);_document=C$1(Uo$2);_styleLoader=C$1(R1);_renderer=C$1(Dr$2).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new re$1;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=qo$2([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new re$1;pointerUp=new re$1;registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e);}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,at);});}removeDropContainer(e){this._dropInstances.delete(e);}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.();}startDragging(e,i){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._styleLoader.load(yn),this._activeDragInstances.update(n=>[...n,e]),this._activeDragInstances().length===1)){let n=i.type.startsWith("touch"),r=a=>this.pointerUp.next(a),s=[["scroll",a=>this._scroll.next(a),se],["selectstart",this._preventDefaultWhileDragging,at]];n?s.push(["touchend",r,se],["touchcancel",r,se]):s.push(["mouseup",r,se]),n||s.push(["mousemove",a=>this.pointerMove.next(a),at]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=s.map(([a,l,d])=>this._renderer.listen(this._document,a,l,d));});}}stopDragging(e){this._activeDragInstances.update(i=>{let n=i.indexOf(e);return n>-1?(i.splice(n,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners();}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let i=[this._scroll];return e&&e!==this._document&&i.push(new S(n=>this._ngZone.runOutsideAngular(()=>{let r=this._renderer.listen(e,"scroll",s=>{this._activeDragInstances().length&&n.next(s);},se);return ()=>{r();}}))),zg(...i)}registerDirectiveNode(e,i){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(e,i);}removeDirectiveNode(e){this._domNodesToDirectives?.delete(e);}getDragDirectiveForNode(e){return this._domNodesToDirectives?.get(e)||null}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete();}_preventDefaultWhileDragging=e=>{this._activeDragInstances().length>0&&e.preventDefault();};_persistentTouchmoveListener=e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e));};_clearGlobalListeners(){this._globalListeners?.forEach(e=>e()),this._globalListeners=void 0;}static \u0275fac=function(i){return new(i||o)};static \u0275prov=br$2({token:o,factory:o.\u0275fac})}return o})();function xi(o){let t=o.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(o)*t}function Pn(o){let t=getComputedStyle(o),e=lt(t,"transition-property"),i=e.find(a=>a==="transform"||a==="all");if(!i)return 0;let n=e.indexOf(i),r=lt(t,"transition-duration"),s=lt(t,"transition-delay");return xi(r[n])+xi(s[n])}function lt(o,t){return o.getPropertyValue(t).split(",").map(i=>i.trim())}var xn=new Set(["position"]),ht=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView=null;_preview;get element(){return this._preview}constructor(t,e,i,n,r,s,a,l,d,p){this._document=t,this._rootElement=e,this._direction=i,this._initialDomRect=n,this._previewTemplate=r,this._previewClass=s,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=d,this._renderer=p;}attach(t){this._preview=this._createPreview(),t.appendChild(this._preview),Ei(this._preview)&&this._preview.showPopover();}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null;}setTransform(t){this._preview.style.transform=t;}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(t){this._preview.classList.add(t);}getTransitionDuration(){return Pn(this._preview)}addEventListener(t,e){return this._renderer.listen(this._preview,t,e)}_createPreview(){let t=this._previewTemplate,e=this._previewClass,i=t?t.template:null,n;if(i&&t){let r=t.matchSize?this._initialDomRect:null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),n=Ai(s,this._document),this._previewEmbeddedView=s,t.matchSize?Pi(n,r):n.style.transform=de(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y);}else n=dt(this._rootElement),Pi(n,this._initialDomRect),this._initialTransform&&(n.style.transform=this._initialTransform);return _t(n.style,{"pointer-events":"none",margin:Ei(n)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},xn),Y(n,false),n.classList.add("cdk-drag-preview"),n.setAttribute("popover","manual"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(r=>n.classList.add(r)):n.classList.add(e)),n}};function Ei(o){return "showPopover"in o}var En={passive:true},Ri={passive:false},Rn={passive:false,capture:true},Tn=800,Ti="cdk-drag-placeholder",Ii=new Set(["position"]);function Li(o,t,e={dragStartThreshold:5,pointerDirectionChangeThreshold:5}){let i=o.get(XI,null,{optional:true})||o.get(Dr$2).createRenderer(null,null);return new pt(t,e,o.get(Uo$2),o.get(oe$1),o.get(qt),o.get(ft),i)}var pt=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview=null;_previewContainer;_placeholderRef=null;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=qo$2(false);_hasMoved=false;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new re$1;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement=null;_rootElementTapHighlight;_pointerMoveSubscription=H$1.EMPTY;_pointerUpSubscription=H$1.EMPTY;_scrollSubscription=H$1.EMPTY;_resizeSubscription=H$1.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=true;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef=null;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(t){t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(e=>Y(e,t)));}_disabled=false;beforeStarted=new re$1;started=new re$1;released=new re$1;ended=new re$1;entered=new re$1;exited=new re$1;dropped=new re$1;moved=this._moveEvents;data;constrainPosition;constructor(t,e,i,n,r,s,a){this._config=e,this._document=i,this._ngZone=n,this._viewportRuler=r,this._dragDropRegistry=s,this._renderer=a,this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new Me(i),s.registerDragItem(this);}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>jt(i)),this._handles.forEach(i=>Y(i,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i);}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){let e=jt(t);if(e!==this._rootElement){this._removeRootElementListeners();let i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"mousedown",this._pointerDown,Ri),i.listen(e,"touchstart",this._pointerDown,En),i.listen(e,"dragstart",this._nativeDragStart,Ri)]),this._initialTransform=void 0,this._rootElement=e;}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?jt(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null;}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0};}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&Sn(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let t=this._boundaryElement.getBoundingClientRect(),e=this._rootElement.getBoundingClientRect(),i=0,n=0;e.left<t.left?i=t.left-e.left:e.right>t.right&&(i=t.right-e.right),e.top<t.top?n=t.top-e.top:e.bottom>t.bottom&&(n=t.bottom-e.bottom);let r=this._activeTransform.x,s=this._activeTransform.y,a=r+i,l=s+n;this._rootElement.style.transform=de(a,l),this._activeTransform={x:a,y:l},this._passiveTransform={x:a,y:l};}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),Y(t,true));}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),Y(t,this.disabled));}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t;}getFreeDragPosition(){let t=this.isDragging()?this._activeTransform:this._passiveTransform;return {x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){let t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t);}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0;}_destroyPreview(){this._preview?.destroy(),this._preview=null;}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null;}_pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){let e=this._getTargetHandle(t);e&&!this._disabledHandles.has(e)&&!this.disabled&&this._initializeDragSequence(e,t);}else this.disabled||this._initializeDragSequence(this._rootElement,t);};_pointerMove=t=>{let e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging()){let n=Math.abs(e.x-this._pickupPositionOnPage.x),r=Math.abs(e.y-this._pickupPositionOnPage.y);if(n+r>=this._config.dragStartThreshold){let a=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),l=this._dropContainer;if(!a){this._endDragSequence(t);return}(!l||!l.isDragging()&&!l.isReceiving())&&(t.cancelable&&t.preventDefault(),this._hasStartedDragging.set(true),this._ngZone.run(()=>this._startDragSequence(t)));}return}t.cancelable&&t.preventDefault();let i=this._getConstrainedPointerPosition(e);if(this._hasMoved=true,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else {let n=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,r=this._activeTransform;r.x=i.x-n.x+this._passiveTransform.x,r.y=i.y-n.y+this._passiveTransform.y,this._applyRootElementTransform(r.x,r.y);}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta});});};_pointerUp=t=>{this._endDragSequence(t);};_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this);});else {this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t});}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this);}}_startDragSequence(t){ae(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),i=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(e,"selectstart",In,Rn);}),i){let n=this._rootElement,r=n.parentNode,s=this._placeholder=this._createPlaceholderElement(),a=this._marker=this._marker||this._document.createComment("");r.insertBefore(a,n),this._initialTransform=n.style.transform||"",this._preview=new ht(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(r,e)),yi(n,false,Ii),this._document.body.appendChild(r.replaceChild(s,n)),this.started.next({source:this,event:t}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this);}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[]);}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();let i=this.isDragging(),n=ae(e),r=!n&&e.button!==0,s=this._rootElement,a=He(e),l=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+Tn>Date.now(),d=n?Ui$1(e):ji$1(e);if(a&&a.draggable&&e.type==="mousedown"&&e.preventDefault(),i||r||l||d)return;if(this._handles.length){let x=s.style;this._rootElementTapHighlight=x.webkitTapHighlightColor||"",x.webkitTapHighlightColor="transparent";}this._hasMoved=false,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(x=>this._updateOnScroll(x)),this._boundaryElement&&(this._boundaryRect=mt(this._boundaryElement));let p=this._previewTemplate;this._pickupPositionInElement=p&&p.template&&!p.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,t,e);let v=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:v.x,y:v.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e);}_cleanupDragArtifacts(t){yi(this._rootElement,true,Ii),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),r=this._getDragDistance(n),s=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:r,dropPoint:n,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:r,dropPoint:n,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,s,r,n,t),this._dropContainer=this._initialContainer;});}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let r=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{let s=this._dropContainer.getItemIndex(this),a=this._dropContainer.getItemAtIndex(s+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(r,this._dropContainer,a),this._dropContainer=r,this._dropContainer.enter(this,t,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)});}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y));}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let t=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let n=a=>{(!a||this._preview&&He(a)===this._preview.element&&a.propertyName==="transform")&&(s(),i(),clearTimeout(r));},r=setTimeout(n,e*1.5),s=this._preview.addEventListener("transitionend",n);}))}_createPlaceholderElement(){let t=this._placeholderTemplate,e=t?t.template:null,i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=Ai(this._placeholderRef,this._document)):i=dt(this._rootElement),i.style.pointerEvents="none",i.classList.add(Ti),i}_getPointerPositionInElement(t,e,i){let n=e===this._rootElement?null:e,r=n?n.getBoundingClientRect():t,s=ae(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition(),l=s.pageX-r.left-a.left,d=s.pageY-r.top-a.top;return {x:r.left-t.left+l,y:r.top-t.top+d}}_getPointerPositionOnPage(t){let e=this._getViewportScrollPosition(),i=ae(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,r=i.pageY-e.top;if(this._ownerSVGElement){let s=this._ownerSVGElement.getScreenCTM();if(s){let a=this._ownerSVGElement.createSVGPoint();return a.x=n,a.y=r,a.matrixTransform(s.inverse())}}return {x:n,y:r}}_getConstrainedPointerPosition(t){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this,this._initialDomRect,this._pickupPositionInElement):t;if(this.lockAxis==="x"||e==="x"?n=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:r,y:s}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:d}=this._getPreviewRect(),p=a.top+s,v=a.bottom-(d-s),x=a.left+r,Le=a.right-(l-r);i=zi(i,x,Le),n=zi(n,p,v);}return {x:i,y:n}}_updatePointerDirectionDelta(t){let{x:e,y:i}=t,n=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-r.x),a=Math.abs(i-r.y);return s>this._config.pointerDirectionChangeThreshold&&(n.x=e>r.x?1:-1,r.x=e),a>this._config.pointerDirectionChangeThreshold&&(n.y=i>r.y?1:-1,r.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,Y(this._rootElement,t));}_removeRootElementListeners(){this._rootElementCleanups?.forEach(t=>t()),this._rootElementCleanups=void 0;}_applyRootElementTransform(t,e){let i=1/this.scale,n=de(t*i,e*i),r=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=r.transform&&r.transform!="none"?r.transform:""),r.transform=Ne(n,this._initialTransform);}_applyPreviewTransform(t,e){let i=this._previewTemplate?.template?void 0:this._initialTransform,n=de(t,e);this._preview.setTransform(Ne(n,i));}_getDragDistance(t){let e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear();}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(t===0&&e===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),n=this._boundaryElement.getBoundingClientRect();if(n.width===0&&n.height===0||i.width===0&&i.height===0)return;let r=n.left-i.left,s=i.right-n.right,a=n.top-i.top,l=i.bottom-n.bottom;n.width>i.width?(r>0&&(t+=r),s>0&&(t-=s)):t=0,n.height>i.height?(a>0&&(e+=a),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t});}_getDragStartDelay(t){let e=this.dragStartDelay;return typeof e=="number"?e:ae(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){let e=this._parentPositions.handleScroll(t);if(e){let i=He(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&le(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y));}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=D3(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){let i=this._previewContainer||"global";if(i==="parent")return t;if(i==="global"){let n=this._document;return e||n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body}return jt(i)}_getPreviewRect(){return (!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=t=>{if(this._handles.length){let e=this._getTargetHandle(t);e&&!this._disabledHandles.has(e)&&!this.disabled&&t.preventDefault();}else this.disabled||t.preventDefault();};_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}_conditionallyInsertAnchor(t,e,i){if(t===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(e===this._initialContainer&&e.hasAnchor){let n=this._anchor??=dt(this._placeholder);n.classList.remove(Ti),n.classList.add("cdk-drag-anchor"),n.style.transform="",i?i.before(n):jt(e.element).appendChild(n);}}};function zi(o,t,e){return Math.max(t,Math.min(e,o))}function ae(o){return o.type[0]==="t"}function In(o){o.preventDefault();}function ce(o,t,e){let i=Oi(t,o.length-1),n=Oi(e,o.length-1);if(i===n)return;let r=o[i],s=n<i?-1:1;for(let a=i;a!==n;a+=s)o[a]=o[a+s];o[n]=r;}function Oi(o,t){return Math.max(0,Math.min(t,o))}var Ae=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction="ltr";constructor(t){this._dragDropRegistry=t;}_previousSwap={drag:null,delta:0,overlaps:false};start(t){this.withItems(t);}sort(t,e,i,n){let r=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,i,n);if(s===-1&&r.length>0)return null;let a=this.orientation==="horizontal",l=r.findIndex(C=>C.drag===t),d=r[s],p=r[l].clientRect,v=d.clientRect,x=l>s?1:-1,Le=this._getItemOffsetPx(p,v,x),tn=this._getSiblingOffsetPx(l,r,x),nn=r.slice();return ce(r,l,s),r.forEach((C,on)=>{if(nn[on]===C)return;let bt=C.drag===t,Fe=bt?Le:tn,Dt=bt?t.getPlaceholderElement():C.drag.getRootElement();C.offset+=Fe;let Ct=Math.round(C.offset*(1/C.drag.scale));a?(Dt.style.transform=Ne(`translate3d(${Ct}px, 0, 0)`,C.initialTransform),le(C.clientRect,0,Fe)):(Dt.style.transform=Ne(`translate3d(0, ${Ct}px, 0)`,C.initialTransform),le(C.clientRect,Fe,0));}),this._previousSwap.overlaps=ct(v,e,i),this._previousSwap.drag=d.drag,this._previousSwap.delta=a?n.x:n.y,{previousIndex:l,currentIndex:s}}enter(t,e,i,n){let r=this._activeDraggables,s=r.indexOf(t),a=t.getPlaceholderElement();s>-1&&r.splice(s,1);let l=n==null||n<0?this._getItemIndexFromPointerPosition(t,e,i):n,d=r[l];if(d===t&&(d=r[l+1]),!d&&(l==null||l===-1||l<r.length-1)&&this._shouldEnterAsFirstChild(e,i)&&(d=r[0]),d&&!this._dragDropRegistry.isDragging(d)){let p=d.getRootElement();p.parentElement.insertBefore(a,p),r.splice(l,0,t);}else this._element.appendChild(a),r.push(t);a.style.transform="",this._cacheItemPositions();}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions();}withSortPredicate(t){this._sortPredicate=t;}reset(){this._activeDraggables?.forEach(t=>{let e=t.getRootElement();if(e){let i=this._itemPositions.find(n=>n.drag===t)?.initialTransform;e.style.transform=i||"";}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=false;}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return this._getVisualItemPositions().findIndex(e=>e.drag===t)}getItemAtIndex(t){return this._getVisualItemPositions()[t]?.drag||null}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{le(i,t,e);}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition();});}withElementContainer(t){this._element=t;}_cacheItemPositions(){let t=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let i=e.getVisibleElement();return {drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:mt(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top);}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(t,e,i){let n=this.orientation==="horizontal",r=n?e.left-t.left:e.top-t.top;return i===-1&&(r+=n?e.width-t.width:e.height-t.height),r}_getSiblingOffsetPx(t,e,i){let n=this.orientation==="horizontal",r=e[t].clientRect,s=e[t+i*-1],a=r[n?"width":"height"]*i;if(s){let l=n?"left":"top",d=n?"right":"bottom";i===-1?a-=s.clientRect[l]-r[d]:a+=r[l]-s.clientRect[d];}return a}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return false;let i=this._itemPositions,n=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let s=i[i.length-1].clientRect;return n?t>=s.right:e>=s.bottom}else {let s=i[0].clientRect;return n?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,n){let r=this.orientation==="horizontal",s=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===t)return false;if(n){let d=r?n.x:n.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&d===this._previousSwap.delta)return false}return r?e>=Math.floor(l.left)&&e<Math.floor(l.right):i>=Math.floor(l.top)&&i<Math.floor(l.bottom)});return s===-1||!this._sortPredicate(s,t)?-1:s}},gt=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:false};_relatedNodes=[];constructor(t,e){this._document=t,this._dragDropRegistry=e;}start(t){let e=this._element.childNodes;this._relatedNodes=[];for(let i=0;i<e.length;i++){let n=e[i];this._relatedNodes.push([n,n.nextSibling]);}this.withItems(t);}sort(t,e,i,n){let r=this._getItemIndexFromPointerPosition(t,e,i),s=this._previousSwap;if(r===-1||this._activeItems[r]===t)return null;let a=this._activeItems[r];if(s.drag===a&&s.overlaps&&s.deltaX===n.x&&s.deltaY===n.y)return null;let l=this.getItemIndex(t),d=t.getPlaceholderElement(),p=a.getRootElement();r>l?p.after(d):p.before(d),ce(this._activeItems,l,r);let v=this._getRootNode().elementFromPoint(e,i);return s.deltaX=n.x,s.deltaY=n.y,s.drag=a,s.overlaps=p===v||p.contains(v),{previousIndex:l,currentIndex:r}}enter(t,e,i,n){let r=this._activeItems.indexOf(t);r>-1&&this._activeItems.splice(r,1);let s=n==null||n<0?this._getItemIndexFromPointerPosition(t,e,i):n;s===-1&&(s=this._getClosestItemIndexToPointer(t,e,i));let a=this._activeItems[s];a&&!this._dragDropRegistry.isDragging(a)?(this._activeItems.splice(s,0,t),a.getRootElement().before(t.getPlaceholderElement())):(this._activeItems.push(t),this._element.appendChild(t.getPlaceholderElement()));}withItems(t){this._activeItems=t.slice();}withSortPredicate(t){this._sortPredicate=t;}reset(){let t=this._element,e=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[n,r]=this._relatedNodes[i];n.parentNode===t&&n.nextSibling!==r&&(r===null?t.appendChild(n):r.parentNode===t&&t.insertBefore(n,r));}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=false;}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(t){return this._activeItems.indexOf(t)}getItemAtIndex(t){return this._activeItems[t]||null}updateOnScroll(){this._activeItems.forEach(t=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition();});}withElementContainer(t){t!==this._element&&(this._element=t,this._rootNode=void 0);}_getItemIndexFromPointerPosition(t,e,i){let n=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(i)),r=n?this._activeItems.findIndex(s=>{let a=s.getRootElement();return n===a||a.contains(n)}):-1;return r===-1||!this._sortPredicate(r,t)?-1:r}_getRootNode(){return this._rootNode||(this._rootNode=D3(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(t,e,i){if(this._activeItems.length===0)return -1;if(this._activeItems.length===1)return 0;let n=1/0,r=-1;for(let s=0;s<this._activeItems.length;s++){let a=this._activeItems[s];if(a!==t){let{x:l,y:d}=a.getRootElement().getBoundingClientRect(),p=Math.hypot(e-l,i-d);p<n&&(n=p,r=s);}}return r}},ki=.05,Fi=.05,P=(function(o){return o[o.NONE=0]="NONE",o[o.UP=1]="UP",o[o.DOWN=2]="DOWN",o})(P||{}),D=(function(o){return o[o.NONE=0]="NONE",o[o.LEFT=1]="LEFT",o[o.RIGHT=2]="RIGHT",o})(D||{});function Bi(o,t){return new ut(t,o.get(ft),o.get(Uo$2),o.get(oe$1),o.get(qt))}var ut=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=false;sortingDisabled=false;lockAxis=null;autoScrollDisabled=false;autoScrollStep=2;hasAnchor=false;enterPredicate=()=>true;sortPredicate=()=>true;beforeStarted=new re$1;entered=new re$1;exited=new re$1;dropped=new re$1;sorted=new re$1;receivingStarted=new re$1;receivingStopped=new re$1;data;_container;_isDragging=false;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=H$1.EMPTY;_verticalScrollDirection=P.NONE;_horizontalScrollDirection=D.NONE;_scrollNode;_stopScrollTimers=new re$1;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(t,e,i,n,r){this._dragDropRegistry=e,this._ngZone=n,this._viewportRuler=r;let s=this.element=jt(t);this._document=i,this.withOrientation("vertical").withElementContainer(s),e.registerDropContainer(this),this._parentPositions=new Me(i);}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this);}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings();}enter(t,e,i,n){this._draggingStarted(),n==null&&this.sortingDisabled&&(n=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,n),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)});}exit(t){this._reset(),this.exited.next({item:t,container:this});}drop(t,e,i,n,r,s,a,l){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:r,distance:s,dropPoint:a,event:l});}withItems(t){let e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(n=>n.isDragging()).every(n=>t.indexOf(n)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._direction=t,this._sortStrategy instanceof Ae&&(this._sortStrategy.direction=t),this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){if(t==="mixed")this._sortStrategy=new gt(this._document,this._dragDropRegistry);else {let e=new Ae(this._dragDropRegistry);e.direction=this._direction,e.orientation=t,this._sortStrategy=e;}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,i)=>this.sortPredicate(e,i,this)),this}withScrollableParents(t){let e=this._container;return this._scrollableElements=t.indexOf(e)===-1?[e,...t]:t.slice(),this}withElementContainer(t){if(t===this._container)return this;jt(this.element);let i=this._scrollableElements.indexOf(this._container),n=this._scrollableElements.indexOf(t);return i>-1&&this._scrollableElements.splice(i,1),n>-1&&this._scrollableElements.splice(n,1),this._sortStrategy&&this._sortStrategy.withElementContainer(t),this._cachedShadowRoot=null,this._scrollableElements.unshift(t),this._container=t,this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}getItemAtIndex(t){return this._isDragging?this._sortStrategy.getItemAtIndex(t):this._draggables[t]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._domRect||!Si(this._domRect,ki,e,i))return;let r=this._sortStrategy.sort(t,e,i,n);r&&this.sorted.next({previousIndex:r.previousIndex,currentIndex:r.currentIndex,container:this,item:t});}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=P.NONE,r=D.NONE;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||i||Si(s.clientRect,ki,t,e)&&([n,r]=zn(a,s.clientRect,this._direction,t,e),(n||r)&&(i=a));}),!n&&!r){let{width:s,height:a}=this._viewportRuler.getViewportSize(),l={width:s,height:a,top:0,right:s,bottom:a,left:0};n=Vi(l,e),r=Hi(l,t),i=window;}i&&(n!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=n,this._horizontalScrollDirection=r,this._scrollNode=i,(n||r)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling());}_stopScrolling(){this._stopScrollTimers.next();}_draggingStarted(){let t=this._container.style;this.beforeStarted.next(),this._isDragging=true,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents();}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect;}_reset(){this._isDragging=false;let t=this._container.style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear();}_startScrollInterval=()=>{this._stopScrolling(),Gg(0,Og).pipe(im(this._stopScrollTimers)).subscribe(()=>{let t=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===P.UP?t.scrollBy(0,-e):this._verticalScrollDirection===P.DOWN&&t.scrollBy(0,e),this._horizontalScrollDirection===D.LEFT?t.scrollBy(-e,0):this._horizontalScrollDirection===D.RIGHT&&t.scrollBy(e,0);});};_isOverContainer(t,e){return this._domRect!=null&&ct(this._domRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(n=>n._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._domRect||!ct(this._domRect,e,i)||!this.enterPredicate(t,this))return false;let n=this._getShadowRoot().elementFromPoint(e,i);return n?n===this._container||this._container.contains(n):false}_startReceiving(t,e){let i=this._activeSiblings;!i.has(t)&&e.every(n=>this.enterPredicate(n,this)||this._draggables.indexOf(n)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:e}));}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this});}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left);}else this.isReceiving()&&this._cacheParentPositions();});}_getShadowRoot(){if(!this._cachedShadowRoot){let t=D3(this._container);this._cachedShadowRoot=t||this._document;}return this._cachedShadowRoot}_notifyReceivingSiblings(){let t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t));}};function Vi(o,t){let{top:e,bottom:i,height:n}=o,r=n*Fi;return t>=e-r&&t<=e+r?P.UP:t>=i-r&&t<=i+r?P.DOWN:P.NONE}function Hi(o,t){let{left:e,right:i,width:n}=o,r=n*Fi;return t>=e-r&&t<=e+r?D.LEFT:t>=i-r&&t<=i+r?D.RIGHT:D.NONE}function zn(o,t,e,i,n){let r=Vi(t,n),s=Hi(t,i),a=P.NONE,l=D.NONE;if(r){let d=o.scrollTop;r===P.UP?d>0&&(a=P.UP):o.scrollHeight-d>o.clientHeight&&(a=P.DOWN);}if(s){let d=o.scrollLeft;e==="rtl"?s===D.RIGHT?d<0&&(l=D.RIGHT):o.scrollWidth+d>o.clientWidth&&(l=D.LEFT):s===D.LEFT?d>0&&(l=D.LEFT):o.scrollWidth-d>o.clientWidth&&(l=D.RIGHT);}return [a,l]}var On=(()=>{class o{_injector=C$1(Ee$2);createDrag(e,i){return Li(this._injector,e,i)}createDropList(e){return Bi(this._injector,e)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=br$2({token:o,factory:o.\u0275fac})}return o})(),Mi=new A$2("CDK_DRAG_PARENT");var kn=new A$2("CdkDragHandle");var ji=new A$2("CDK_DRAG_CONFIG"),Gi=new A$2("CdkDropList"),Ui=(()=>{class o{element=C$1(_r$2);dropContainer=C$1(Gi,{optional:true,skipSelf:true});_ngZone=C$1(oe$1);_viewContainerRef=C$1(ji$3);_dir=C$1(Le,{optional:true});_changeDetectorRef=C$1(z0$1);_selfHandle=C$1(kn,{optional:true,self:true});_parentDrag=C$1(Mi,{optional:true,skipSelf:true});_dragDropRegistry=C$1(ft);_destroyed=new re$1;_handles=new On$2([]);_previewTemplate=null;_placeholderTemplate=null;_dragRef;data;lockAxis=null;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled;}_disabled=false;constrainPosition;previewClass;previewContainer;scale=1;started=new Le$2;released=new Le$2;ended=new Le$2;entered=new Le$2;exited=new Le$2;dropped=new Le$2;moved=new S(e=>{let i=this._dragRef.moved.pipe(Se$3(n=>({source:this,pointerPosition:n.pointerPosition,event:n.event,delta:n.delta,distance:n.distance}))).subscribe(e);return ()=>{i.unsubscribe();}});_injector=C$1(Ee$2);constructor(){let e=this.dropContainer,i=C$1(ji,{optional:true});this._dragRef=Li(this._injector,this.element,{dragStartThreshold:i&&i.dragStartThreshold!=null?i.dragStartThreshold:5,pointerDirectionChangeThreshold:i&&i.pointerDirectionChangeThreshold!=null?i.pointerDirectionChangeThreshold:5,zIndex:i?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),i&&this._assignDefaults(i),e&&(e.addItem(this),e._dropListRef.beforeStarted.pipe(im(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale;})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef);}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset();}resetToBoundary(){this._dragRef.resetToBoundary();}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e);}ngAfterViewInit(){Kf(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition);},{injector:this._injector});}ngOnChanges(e){let i=e.rootElementSelector,n=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition);}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose();});}_addHandle(e){let i=this._handles.getValue();i.push(e),this._handles.next(i);}_removeHandle(e){let i=this._handles.getValue(),n=i.indexOf(e);n>-1&&(i.splice(n,1),this._handles.next(i));}_setPreviewTemplate(e){this._previewTemplate=e;}_resetPreviewTemplate(e){e===this._previewTemplate&&(this._previewTemplate=null);}_setPlaceholderTemplate(e){this._placeholderTemplate=e;}_resetPlaceholderTemplate(e){e===this._placeholderTemplate&&(this._placeholderTemplate=null);}_updateRootElement(){let e=this.element.nativeElement,i=e;this.rootElementSelector&&(i=e.closest!==void 0?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e);}_getBoundaryElement(){let e=this.boundaryElement;return e?typeof e=="string"?this.element.nativeElement.closest(e):jt(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){let i=this._dir,n=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.scale=this.scale,e.dragStartDelay=typeof n=="object"&&n?n:xt(n),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value);}}),e.beforeStarted.pipe(yt$1(1)).subscribe(()=>{if(this._parentDrag){e.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){let n=this._dragDropRegistry.getDragDirectiveForNode(i);if(n){e.withParent(n._dragRef);break}i=i.parentElement;}});}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck();}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event});}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck();}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex});}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this});}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event});});}_assignDefaults(e){let{lockAxis:i,dragStartDelay:n,constrainPosition:r,previewClass:s,boundaryElement:a,draggingDisabled:l,rootElementSelector:d,previewContainer:p}=e;this.disabled=l??false,this.dragStartDelay=n||0,this.lockAxis=i||null,r&&(this.constrainPosition=r),s&&(this.previewClass=s),a&&(this.boundaryElement=a),d&&(this.rootElementSelector=d),p&&(this.previewContainer=p);}_setupHandlesListener(){this._handles.pipe(zl$1(e=>{let i=e.map(n=>n.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i);}),Ml$1(e=>zg(...e.map(i=>i._stateChanges.pipe(Gl$1(i))))),im(this._destroyed)).subscribe(e=>{let i=this._dragRef,n=e.element.nativeElement;e.disabled?i.disableHandle(n):i.enableHandle(n);});}static \u0275fac=function(i){return new(i||o)};static \u0275dir=XE({type:o,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,n){i&2&&Mh("cdk-drag-disabled",n.disabled)("cdk-drag-dragging",n._dragRef.isDragging());},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",Z0$1],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",Y0$1]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Sw([{provide:Mi,useExisting:o}]),ly]})}return o})(),Ni=new A$2("CdkDropListGroup");var Wi=(()=>{class o{element=C$1(_r$2);_changeDetectorRef=C$1(z0$1);_scrollDispatcher=C$1(U1);_dir=C$1(Le,{optional:true});_group=C$1(Ni,{optional:true,skipSelf:true});_latestSortedRefs;_destroyed=new re$1;_scrollableParentsResolved=false;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation="vertical";id=C$1(K4).getId("cdk-drop-list-");lockAxis=null;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e;}_disabled=false;sortingDisabled=false;enterPredicate=()=>true;sortPredicate=()=>true;autoScrollDisabled=false;autoScrollStep;elementContainerSelector=null;hasAnchor=false;dropped=new Le$2;entered=new Le$2;exited=new Le$2;sorted=new Le$2;_unsortedItems=new Set;constructor(){let e=C$1(ji,{optional:true}),i=C$1(Ee$2);this._dropListRef=Bi(i,this.element),this._dropListRef.data=this,e&&this._assignDefaults(e),this._dropListRef.enterPredicate=(n,r)=>this.enterPredicate(n.data,r.data),this._dropListRef.sortPredicate=(n,r,s)=>this.sortPredicate(n,r.data,s.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),o._dropLists.push(this),this._group&&this._group._items.add(this);}addItem(e){this._unsortedItems.add(e),e._dragRef._withDropContainer(this._dropListRef),this._dropListRef.isDragging()&&this._syncItemsWithRef(this.getSortedItems().map(i=>i._dragRef));}removeItem(e){if(this._unsortedItems.delete(e),this._latestSortedRefs){let i=this._latestSortedRefs.indexOf(e._dragRef);i>-1&&(this._latestSortedRefs.splice(i,1),this._syncItemsWithRef(this._latestSortedRefs));}}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){let e=o._dropLists.indexOf(this);e>-1&&o._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._latestSortedRefs=void 0,this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete();}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Gl$1(this._dir.value),im(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{let i=u1(this.connectedTo).map(n=>{if(typeof n=="string"){let r=o._dropLists.find(s=>s.id===n);return r}return n});if(this._group&&this._group._items.forEach(n=>{i.indexOf(n)===-1&&i.push(n);}),!this._scrollableParentsResolved){let n=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(r=>r.getElementRef().nativeElement);this._dropListRef.withScrollableParents(n),this._scrollableParentsResolved=true;}if(this.elementContainerSelector){let n=this.element.nativeElement.querySelector(this.elementContainerSelector);e.withElementContainer(n);}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=xt(this.autoScrollStep,2),e.hasAnchor=this.hasAnchor,e.connectedTo(i.filter(n=>n&&n!==this).map(n=>n._dropListRef)).withOrientation(this.orientation);});}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(this.getSortedItems().map(i=>i._dragRef)),this._changeDetectorRef.markForCheck();}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex});}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck();}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data});}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck();}),zg(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck());}_assignDefaults(e){let{lockAxis:i,draggingDisabled:n,sortingDisabled:r,listAutoScrollDisabled:s,listOrientation:a}=e;this.disabled=n??false,this.sortingDisabled=r??false,this.autoScrollDisabled=s??false,this.orientation=a||"vertical",this.lockAxis=i||null;}_syncItemsWithRef(e){this._latestSortedRefs=e,this._dropListRef.withItems(e);}static \u0275fac=function(i){return new(i||o)};static \u0275dir=XE({type:o,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,n){i&2&&(ah("id",n.id),Mh("cdk-drop-list-disabled",n.disabled)("cdk-drop-list-dragging",n._dropListRef.isDragging())("cdk-drop-list-receiving",n._dropListRef.isReceiving()));},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",Z0$1],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",Z0$1],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",Z0$1],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",Z0$1]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Sw([{provide:Ni,useValue:void 0},{provide:Gi,useExisting:o}])]})}return o})();var Zi=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=YE({type:o});static \u0275inj=uu$1({providers:[On],imports:[tn]})}return o})();var Ln=o=>["/views",o],Fn=(o,t)=>t.subjectType,$i=(o,t)=>t.id;function Bn(o,t){o&1&&(_i$3(0,"section",3)(1,"h2"),vw(2),Rw(3,"transloco"),Kc$1(),_i$3(4,"p"),vw(5),Rw(6,"transloco"),Kc$1(),_i$3(7,"a",4),vw(8),Rw(9,"transloco"),Kc$1()()),o&2&&(gI(2),Ph(Ow(3,3,"shell.empty.title")),gI(3),Ph(Ow(6,5,"shell.empty.body")),gI(3),nl$1(" ",Ow(9,7,"shell.empty.settingsLink")," "));}function Vn(o,t){if(o&1&&(_i$3(0,"p",5),vw(1),Kc$1()),o&2){let e=VD(2);gI(),Ph(e.reorderError());}}function Hn(o,t){if(o&1&&(_i$3(0,"li",10)(1,"a",11),vw(2),Kc$1()()),o&2){let e=t.$implicit;ah("data-testid","sidebar-view-"+e.id),gI(),ch("routerLink",xw(4,Ln,e.id)),ah("data-testid","sidebar-link-"+e.id),gI(),nl$1(" ",e.name," ");}}function jn(o,t){if(o&1){let e=LD();_i$3(0,"section",6)(1,"h2",8),vw(2),Rw(3,"transloco"),Kc$1(),_i$3(4,"ul",9),gh("cdkDropListDropped",function(n){let r=Pu$1(e).$implicit,s=VD(2);return Lu$1(s.drop(r,n))}),ND(5,Hn,3,6,"li",10,$i),Kc$1()();}if(o&2){let e=t.$implicit,i=VD(2);ah("data-testid","sidebar-group-"+e.subjectType),gI(2),Ph(Ow(3,5,e.labelKey)),gI(2),ch("cdkDropListData",e.views)("cdkDropListDisabled",i.reordering()),ah("data-testid","sidebar-drop-"+e.subjectType),gI(),xD(e.views);}}function Gn(o,t){if(o&1&&(_i$3(0,"li",10)(1,"a",13),vw(2),Kc$1()()),o&2){let e=t.$implicit;ah("data-testid","sidebar-shortcut-"+e.id),gI(),ah("data-testid","sidebar-shortcut-link-"+e.id),gI(),nl$1(" ",e.name," ");}}function Un(o,t){if(o&1){let e=LD();_i$3(0,"section",7)(1,"h2",8),vw(2),Rw(3,"transloco"),Kc$1(),_i$3(4,"ul",12),gh("cdkDropListDropped",function(n){Pu$1(e);let r=VD(2);return Lu$1(r.dropShortcut(n))}),ND(5,Gn,3,3,"li",10,$i),Kc$1()();}if(o&2){let e=VD(2);gI(2),Ph(Ow(3,3,"shell.shortcuts")),gI(2),ch("cdkDropListData",e.shortcuts())("cdkDropListDisabled",e.reordering()),gI(),xD(e.shortcuts());}}function Wn(o,t){if(o&1&&(bD(0,Vn,2,1,"p",5),ND(1,jn,7,7,"section",6,Fn),bD(3,Un,7,5,"section",7)),o&2){let e=VD();_D(e.reorderError()?0:-1),gI(),xD(e.groups()),gI(2),_D(e.shortcuts().length>0?3:-1);}}var qi=(()=>{class o{constructor(){this.viewsApi=C$1(U$1),this.shortcutsApi=C$1(u$1),this.destroyRef=C$1(at$1),this.groups=$0$1.required(),this.shortcuts=$0$1([]),this.empty=$0$1(false),this.viewsChanged=B0$1(),this.shortcutsChanged=B0$1(),this.reorderError=qo$2(null),this.reordering=qo$2(false);}drop(e,i){if(i.previousIndex===i.currentIndex)return;let n=[...e.views];ce(n,i.previousIndex,i.currentIndex),this.reorderError.set(null),this.reordering.set(true),this.viewsApi.reorder(n.map(r=>r.id)).pipe(ue(this.destroyRef)).subscribe({next:()=>{this.reordering.set(false),this.viewsChanged.emit();},error:r=>{this.reordering.set(false),this.reorderError.set(r instanceof Error?r.message:"Failed to reorder views");}});}dropShortcut(e){if(e.previousIndex===e.currentIndex)return;let i=[...this.shortcuts()];ce(i,e.previousIndex,e.currentIndex),this.reorderError.set(null),this.reordering.set(true),this.shortcutsApi.reorder(i.map(n=>n.id)).pipe(ue(this.destroyRef)).subscribe({next:()=>{this.reordering.set(false),this.shortcutsChanged.emit();},error:n=>{this.reordering.set(false),this.reorderError.set(n instanceof Error?n.message:"Failed to reorder shortcuts");}});}static{this.\u0275fac=function(i){return new(i||o)};}static{this.\u0275cmp=QE({type:o,selectors:[["app-sidebar"]],inputs:{groups:[1,"groups"],shortcuts:[1,"shortcuts"],empty:[1,"empty"]},outputs:{viewsChanged:"viewsChanged",shortcutsChanged:"shortcutsChanged"},decls:6,vars:1,consts:[["data-testid","app-sidebar",1,"sidebar"],["data-testid","app-brand",1,"brand"],[1,"sidebar-body"],["data-testid","sidebar-empty",1,"empty"],["nz-button","","nzType","primary","routerLink","/settings","data-testid","sidebar-empty-settings"],["data-testid","sidebar-reorder-error",1,"error"],[1,"group"],["data-testid","sidebar-group-shortcuts",1,"group"],[1,"group-title"],["cdkDropList","",1,"view-list",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["cdkDrag","",1,"view-item"],["routerLinkActive","active",3,"routerLink"],["cdkDropList","","data-testid","sidebar-drop-shortcuts",1,"view-list",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["routerLink","/shortcuts","routerLinkActive","active"]],template:function(i,n){i&1&&(_i$3(0,"aside",0)(1,"div",1),vw(2,"knoflows"),Kc$1(),_i$3(3,"div",2),bD(4,Bn,10,9,"section",3)(5,Wn,4,2),Kc$1()()),i&2&&(gI(4),_D(n.empty()?4:5));},dependencies:[Mi$2,Zi,Wi,Ui,Ln$1,Mu,sd,zc,t7,Kt$1],styles:[".sidebar[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:15rem;height:100vh;flex-shrink:0;border-right:1px solid #d6d3d1;background:#ffffffb8;overflow:hidden}.brand[_ngcontent-%COMP%]{flex-shrink:0;padding:.85rem 1rem;font-size:1.1rem;font-weight:700;letter-spacing:.02em;border-bottom:1px solid #d6d3d1}.sidebar-body[_ngcontent-%COMP%]{flex:1;min-height:0;overflow-y:auto;padding:1rem .75rem 1.5rem}.group[_ngcontent-%COMP%] + .group[_ngcontent-%COMP%]{margin-top:1.25rem}.group-title[_ngcontent-%COMP%]{margin:0 0 .5rem;padding:0 .35rem;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#78716c}.view-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.view-item[_ngcontent-%COMP%]{margin:.15rem 0;border-radius:.35rem;cursor:grab}.view-item.cdk-drag-disabled[_ngcontent-%COMP%]{cursor:default}.view-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;padding:.45rem .5rem;color:#44403c;text-decoration:none;border-radius:.35rem}.view-item[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%], .view-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#f5f5f4;color:#0c0a09}.view-item[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:600}.empty[_ngcontent-%COMP%]{padding:.5rem .35rem}.empty[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:1rem}.empty[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 1rem;color:#57534e;font-size:.92rem;line-height:1.45}.error[_ngcontent-%COMP%]{margin:0 0 .75rem;padding:0 .35rem;color:#9f1239;font-size:.85rem}.cdk-drag-preview[_ngcontent-%COMP%]{box-shadow:0 4px 12px #0000001f;background:#fff;border-radius:.35rem}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}"]});}}return o})();var Zn=()=>({status:"waiting_for_human"}),$n=3e4,qn=500,Ki=(()=>{class o{constructor(){this.viewsApi=C$1(U$1),this.shortcutsApi=C$1(u$1),this.settingsApi=C$1($),this.jobsApi=C$1(U),this.destroyRef=C$1(at$1),this.language=C$1(O),this.views=qo$2([]),this.shortcuts=qo$2([]),this.settings=qo$2(null),this.waitingJobsCount=qo$2(0),this.groups=Hw(()=>bi(this.views(),this.settings())),this.sidebarEmpty=Hw(()=>this.views().length===0&&this.shortcuts().length===0),this.loadViews(),this.loadShortcuts(),this.loadSettings(),this.pollWaitingJobs();}onLanguageChange(e){this.language.setLanguage(e);}reloadViews(){this.loadViews();}reloadShortcuts(){this.loadShortcuts();}loadViews(){this.viewsApi.list().pipe(ue(this.destroyRef)).subscribe({next:e=>this.views.set(e),error:()=>this.views.set([])});}loadShortcuts(){this.shortcutsApi.list().pipe(ue(this.destroyRef)).subscribe({next:e=>this.shortcuts.set(e),error:()=>this.shortcuts.set([])});}loadSettings(){this.settingsApi.getSettings().pipe(ue(this.destroyRef)).subscribe({next:e=>this.settings.set(e),error:()=>this.settings.set(null)});}pollWaitingJobs(){Gg($n).pipe(Gl$1(0),Ml$1(()=>this.jobsApi.list({status:"waiting_for_human",topLevelOnly:false,limit:qn,offset:0})),ue(this.destroyRef)).subscribe({next:e=>this.waitingJobsCount.set(e.length),error:()=>this.waitingJobsCount.set(0)});}static{this.\u0275fac=function(i){return new(i||o)};}static{this.\u0275cmp=QE({type:o,selectors:[["app-shell"]],decls:22,vars:17,consts:[["data-testid","app-shell",1,"app-shell"],[3,"viewsChanged","shortcutsChanged","groups","shortcuts","empty"],[1,"main"],["data-testid","app-top-bar",1,"top-bar"],[1,"top-actions"],["routerLink","/jobs","data-testid","jobs-waiting-badge",1,"jobs-badge",3,"queryParams"],[3,"nzCount","nzOverflowCount"],["nz-button","","nzType","link","routerLink","/manage","routerLinkActive","active","data-testid","manage-link"],[1,"lang"],["data-testid","language-select",3,"ngModelChange","ngModel"],["nzValue","en","nzLabel","English"],["nzValue","es","nzLabel","Espa\xF1ol"],[1,"content"]],template:function(i,n){i&1&&(_i$3(0,"div",0)(1,"app-sidebar",1),gh("viewsChanged",function(){return n.reloadViews()})("shortcutsChanged",function(){return n.reloadShortcuts()}),Kc$1(),_i$3(2,"div",2)(3,"header",3)(4,"div",4)(5,"a",5)(6,"nz-badge",6)(7,"span"),vw(8),Rw(9,"transloco"),Kc$1()()(),_i$3(10,"a",7),vw(11),Rw(12,"transloco"),Kc$1(),_i$3(13,"label",8)(14,"span"),vw(15),Rw(16,"transloco"),Kc$1(),_i$3(17,"nz-select",9),gh("ngModelChange",function(s){return n.onLanguageChange(s)}),lh(18,"nz-option",10)(19,"nz-option",11),Kc$1(),oE(),Kc$1()()(),_i$3(20,"div",12),lh(21,"router-outlet"),Kc$1()()()),i&2&&(gI(),ch("groups",n.groups())("shortcuts",n.shortcuts())("empty",n.sidebarEmpty()),gI(4),ch("queryParams",Nw(16,Zn)),gI(),ch("nzCount",n.waitingJobsCount())("nzOverflowCount",99),gI(2),Ph(Ow(9,10,"shell.jobs")),gI(3),nl$1(" ",Ow(12,12,"shell.manage")," "),gI(4),Ph(Ow(16,14,"nav.language")),gI(2),ch("ngModel",n.language.currentLang()),sE());},dependencies:[Mi$2,n8,J6,k3,Lr$1,Ln$1,Mu,vi,st,sd,zc,t7,$b,V5,D5,qi,Kt$1],styles:[".app-shell[_ngcontent-%COMP%]{display:flex;min-height:100vh;background:linear-gradient(180deg,#fafaf9,#f5f5f4);color:#1c1917}.main[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column}.top-bar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:1rem;padding:.75rem 1.25rem;border-bottom:1px solid #d6d3d1;background:#ffffffd9}.top-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.jobs-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.35rem .5rem;color:#44403c;text-decoration:none;border-radius:.35rem}.jobs-badge[_ngcontent-%COMP%]:hover{background:#f5f5f4}.lang[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;font-size:.9rem;color:#57534e}.content[_ngcontent-%COMP%]{flex:1;min-height:0}[_nghost-%COMP%] .top-actions a.active{font-weight:600}"]});}}return o})();var Ji=(()=>{class o{static{this.\u0275fac=function(i){return new(i||o)};}static{this.\u0275cmp=QE({type:o,selectors:[["app-root"]],decls:1,vars:0,template:function(i,n){i&1&&lh(0,"app-shell");},dependencies:[Ki],encapsulation:2});}}return o})();var Kn="@",Jn=(()=>{class o{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=C$1(Ee$2);loadingSchedulerFn=C$1(Yn,{optional:true});_engine;constructor(e,i,n,r,s){this.doc=e,this.delegate=i,this.zone=n,this.animationType=r,this.moduleImpl=s;}ngOnDestroy(){this._engine?.flush();}loadImpl(){let e=()=>this.moduleImpl??import('./chunk-He--f9Sf.js').then(n=>n),i;return this.loadingSchedulerFn?i=this.loadingSchedulerFn(e):i=e(),i.catch(n=>{throw new _$1(5300,false)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:r})=>{this._engine=n(this.animationType,this.doc);let s=new r(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(e,i){let n=this.delegate.createRenderer(e,i);if(n.\u0275type===0)return n;typeof n.throwOnSyntheticProps=="boolean"&&(n.throwOnSyntheticProps=false);let r=new vt(n);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let a=s.createRenderer(e,i);r.use(a),this.scheduler??=this.injector.get(He$3,null,{optional:true}),this.scheduler?.notify(10);}).catch(s=>{r.use(n);}),r}begin(){this.delegate.begin?.();}end(){this.delegate.end?.();}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e);}static \u0275fac=function(i){fE();};static \u0275prov=ie$1({token:o,factory:o.\u0275fac})}return o})(),vt=class{delegate;replay=[];\u0275type=1;constructor(t){this.delegate=t;}use(t){if(this.delegate=t,this.replay!==null){for(let e of this.replay)e(t);this.replay=null;}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy();}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,e){this.delegate.appendChild(t,e);}insertBefore(t,e,i,n){this.delegate.insertBefore(t,e,i,n);}removeChild(t,e,i,n){this.delegate.removeChild(t,e,i,n);}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n);}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i);}addClass(t,e){this.delegate.addClass(t,e);}removeClass(t,e){this.delegate.removeClass(t,e);}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n);}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i);}setProperty(t,e,i){this.shouldReplay(e)&&this.replay.push(n=>n.setProperty(t,e,i)),this.delegate.setProperty(t,e,i);}setValue(t,e){this.delegate.setValue(t,e);}listen(t,e,i,n){return this.shouldReplay(e)&&this.replay.push(r=>r.listen(t,e,i,n)),this.delegate.listen(t,e,i,n)}shouldReplay(t){return this.replay!==null&&t.startsWith(Kn)}},Yn=new A$2("");function Yi(o="animations"){return ce$1("NgAsyncAnimations"),Eu$1([{provide:Dr$2,useFactory:()=>new Jn(C$1(Uo$2),C$1(or$1),C$1(oe$1),o)},{provide:Gm,useValue:o==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Xi=(()=>{class o{constructor(){this.http=C$1(Zi$2);}getTranslation(e){return this.http.get(`./assets/i18n/${e}.json`)}static{this.\u0275fac=function(i){return new(i||o)};}static{this.\u0275prov=ie$1({token:o,factory:o.\u0275fac,providedIn:"root"});}}return o})();var Qi=[{path:"",pathMatch:"full",redirectTo:"jobs"},{path:"jobs",pathMatch:"full",loadComponent:()=>import('./chunk-mmWflnUN.js').then(o=>o.JobListComponent)},{path:"jobs/new",loadComponent:()=>import('./chunk-CxgNB2C8.js').then(o=>o.JobRunnerComponent)},{path:"jobs/:id",loadComponent:()=>import('./chunk-DrlNmyyx.js').then(o=>o.JobDetailComponent)},{path:"batches/:id",loadComponent:()=>import('./chunk-fPx6gQSM.js').then(o=>o.BatchDetailComponent)},{path:"manage",loadComponent:()=>import('./chunk-BQgEbMSp.js').then(o=>o.ManageShellComponent),children:[{path:"",pathMatch:"full",redirectTo:"workflows"},{path:"workflows",loadComponent:()=>import('./chunk-CB7iIlL9.js').then(o=>o.WorkflowsManageComponent)},{path:"views",loadComponent:()=>import('./chunk-CL0Sh0Qb.js').then(o=>o.ViewsAndShortcutsManageComponent)},{path:"providers",loadComponent:()=>import('./chunk-BrJS_1Y1.js').then(o=>o.ProvidersManageComponent)},{path:"preferences",loadComponent:()=>import('./chunk-CNj32s8G.js').then(o=>o.PreferencesManageComponent)}]},{path:"workflows",pathMatch:"full",redirectTo:"/manage/workflows"},{path:"workflows/new",loadComponent:()=>import('./chunk-G2CzeazF.js').then(o=>o.WorkflowEditorComponent)},{path:"workflows/:id/edit",loadComponent:()=>import('./chunk-G2CzeazF.js').then(o=>o.WorkflowEditorComponent)},{path:"views",pathMatch:"full",redirectTo:"/manage/views"},{path:"views/new",loadComponent:()=>import('./chunk-JcYd5MYJ.js').then(o=>o.ViewEditorComponent)},{path:"views/:id/edit",loadComponent:()=>import('./chunk-JcYd5MYJ.js').then(o=>o.ViewEditorComponent)},{path:"views/:id",loadComponent:()=>import('./chunk-DTLDtzu5.js').then(o=>o.ViewDetailComponent)},{path:"shortcuts",loadComponent:()=>import('./chunk-DO1B2M6l.js').then(o=>o.ShortcutListComponent)},{path:"shortcuts/new",loadComponent:()=>import('./chunk-DflfYru0.js').then(o=>o.ShortcutEditorComponent)},{path:"shortcuts/:id/edit",loadComponent:()=>import('./chunk-DflfYru0.js').then(o=>o.ShortcutEditorComponent)},{path:"settings",pathMatch:"full",redirectTo:"/manage/providers"}];var en={providers:[Fu(Qi),Ys$1(),Yi(),jy(Il),Dy(),Ht({config:{availableLangs:["en","es"],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:true,prodMode:true},loader:Xi})]};Ss$1(Ji,en).catch(o=>console.error(o));export{$b as $,xD as A,_D as B,C$1 as C,D5 as D,VD as E,LD as F,Pu$1 as G,Hw as H,Lu$1 as I,J6 as J,Kt$1 as K,Ln$1 as L,Mi$2 as M,ND as N,Ow as O,Ph as P,QE as Q,Rw as R,SD as S,Ie$2 as T,U,Ve as V,Lh as W,rd as X,Bw as Y,y7 as Z,_$1 as _,ae$1 as a,Vt as a$,$0$1 as a0,B0$1 as a1,Pw as a2,xw as a3,Mh as a4,ah as a5,Nw as a6,MD as a7,a as a8,Ng as a9,Ie as aA,ly as aB,Z0$1 as aC,Sw as aD,h1 as aE,wo$2 as aF,Ih as aG,qD as aH,WD as aI,ut$1 as aJ,nh as aK,el$1 as aL,tl$1 as aM,XI as aN,Le$2 as aO,N7 as aP,B7 as aQ,BD as aR,$D as aS,_h as aT,fr as aU,pr as aV,Jc$1 as aW,Xc$1 as aX,O as aY,de$1 as aZ,P1 as a_,Xi$3 as aa,Dg as ab,Lr$1 as ac,Mu as ad,U$1 as ae,u$1 as af,$ as ag,Ml$1 as ah,Se$3 as ai,S4 as aj,YE as ak,uu$1 as al,pT as am,kt as an,_r$2 as ao,oe$1 as ap,z0$1 as aq,a3 as ar,hT as as,Le as at,m1 as au,St as av,c8 as aw,pt$1 as ax,Se as ay,Tt as az,at$1 as b,Bh as b$,es$1 as b0,sw as b1,vh as b2,$6 as b3,l9 as b4,XE as b5,Y0$1 as b6,N1 as b7,q0$1 as b8,Ee$2 as b9,ww as bA,Zi$2 as bB,E as bC,u as bD,Gm as bE,t4 as bF,ec$1 as bG,fh as bH,eh as bI,re$1 as bJ,Uo$2 as bK,k8 as bL,em as bM,on$2 as bN,ql$1 as bO,fn$1 as bP,f1 as bQ,gn$1 as bR,Xa as bS,Ts as bT,Vs as bU,Wy as bV,Uy as bW,s0 as bX,Sy as bY,oi as bZ,ri$1 as b_,ga as ba,j3 as bb,za as bc,Uw as bd,W0$1 as be,D8 as bf,u9 as bg,a9 as bh,Kf as bi,f9 as bj,va as bk,Lw as bl,B1 as bm,rD as bn,R4 as bo,cw as bp,Dh as bq,GD as br,Eh as bs,U0$1 as bt,uh as bu,zD as bv,Vh as bw,jh as bx,rh as by,Er$2 as bz,sd as c,Me$2 as c$,ji$3 as c0,Wm as c1,jl$1 as c2,Kg as c3,Yg as c4,kg as c5,kr$2 as c6,xy as c7,r2 as c8,a2 as c9,jt as cA,S as cB,Vl$1 as cC,om as cD,Yc$1 as cE,TD as cF,ph as cG,A$2 as cH,X$1 as cI,r9 as cJ,u0 as cK,m0 as cL,rs$2 as cM,Qg as cN,un$1 as cO,pn$1 as cP,hn$1 as cQ,Pa as cR,G1 as cS,Dt as cT,m9 as cU,p9 as cV,db as cW,h0 as cX,X as cY,w0 as cZ,bt as c_,_e as ca,Ou as cb,vn as cc,He as cd,i9 as ce,wn$1 as cf,Ln$2 as cg,On$2 as ch,Fg as ci,d9 as cj,Gl$1 as ck,mt$3 as cl,zg as cm,Ie$3 as cn,Ri$1 as co,xn$1 as cp,is$1 as cq,c9 as cr,Aw as cs,J as ct,rn$1 as cu,on as cv,nn as cw,an$1 as cx,W1 as cy,o9 as cz,t7 as d,Ga as d0,Vc as d1,K1 as d2,s9 as d3,G5 as d4,p3 as d5,zl$1 as d6,$5 as d7,R0 as d8,tr as d9,Tw as da,u$2 as db,v$1 as dc,Cw as dd,vv as de,mh as df,ms as dg,Dr$2 as dh,V5 as e,_i$3 as f,Kc$1 as g,gh as h,ie$1 as i,oE as j,k3 as k,lh as l,bD as m,n8 as n,o,gI as p,qo$2 as q,r,s,t$1 as t,ue as u,vw as v,nl$1 as w,ch as x,sE as y,zc as z};
|