inferyx-codegate 1.1.0__py3-none-any.whl
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.
- codegate/__init__.py +8 -0
- codegate/__main__.py +3 -0
- codegate/api/__init__.py +0 -0
- codegate/api/admin.py +457 -0
- codegate/api/deps.py +36 -0
- codegate/api/devproxy.py +132 -0
- codegate/api/public.py +371 -0
- codegate/app.py +115 -0
- codegate/auth/__init__.py +0 -0
- codegate/auth/csrf.py +43 -0
- codegate/auth/native.py +111 -0
- codegate/auth/passwords.py +88 -0
- codegate/auth/saml.py +222 -0
- codegate/auth/sessions.py +121 -0
- codegate/cli/__init__.py +0 -0
- codegate/cli/auth_cmd.py +168 -0
- codegate/cli/backup_cmd.py +114 -0
- codegate/cli/common.py +103 -0
- codegate/cli/doctor_cmd.py +136 -0
- codegate/cli/main.py +526 -0
- codegate/cli/nginx_setup.py +220 -0
- codegate/cli/setup_cmd.py +401 -0
- codegate/cli/ssh_setup.py +114 -0
- codegate/cli/upgrade_cmd.py +209 -0
- codegate/config.py +161 -0
- codegate/db.py +297 -0
- codegate/errors.py +122 -0
- codegate/jobs.py +133 -0
- codegate/pages.py +177 -0
- codegate/resources/__init__.py +20 -0
- codegate/resources/docker/Dockerfile +36 -0
- codegate/resources/nginx/codegate.conf.tmpl +51 -0
- codegate/resources/nginx/map.conf +5 -0
- codegate/resources/nginx/site.conf.tmpl +9 -0
- codegate/resources/nginx/user.conf.tmpl +19 -0
- codegate/resources/systemd/codegate-backup.service.tmpl +7 -0
- codegate/resources/systemd/codegate-backup.timer +10 -0
- codegate/resources/systemd/codegate.service.tmpl +20 -0
- codegate/static/admin/3rdpartylicenses.txt +614 -0
- codegate/static/admin/chunk-0r_p7pcB.js +672 -0
- codegate/static/admin/chunk-BoGqYCjO.js +1260 -0
- codegate/static/admin/chunk-BqiJ460N.js +1269 -0
- codegate/static/admin/chunk-BtoaIoDj.js +449 -0
- codegate/static/admin/chunk-CB4E-q63.js +255 -0
- codegate/static/admin/chunk-CMN75K3s.js +181 -0
- codegate/static/admin/chunk-CW_CPa20.js +106 -0
- codegate/static/admin/chunk-CcgsCK7w.js +393 -0
- codegate/static/admin/chunk-Cjwyuum6.js +375 -0
- codegate/static/admin/chunk-D6j6hnz3.js +1 -0
- codegate/static/admin/chunk-D9RytJgO.js +1 -0
- codegate/static/admin/chunk-DA6TldFU.js +35 -0
- codegate/static/admin/chunk-DFGdyoNb.js +1 -0
- codegate/static/admin/chunk-DXvCZ3pT.js +1 -0
- codegate/static/admin/chunk-DstgVdtz.js +27 -0
- codegate/static/admin/chunk-kPDFCwHP.js +102 -0
- codegate/static/admin/chunk-yikJ2ObQ.js +1 -0
- codegate/static/admin/favicon.ico +0 -0
- codegate/static/admin/index.html +14 -0
- codegate/static/admin/main-LWBML7JF.js +2347 -0
- codegate/static/admin/media/material-icons-JLIDJUWE.woff +0 -0
- codegate/static/admin/media/material-icons-LEZCGFVT.woff2 +0 -0
- codegate/static/admin/styles-YWRWGLKG.css +1 -0
- codegate/system/__init__.py +27 -0
- codegate/system/base.py +165 -0
- codegate/system/devdocker.py +90 -0
- codegate/system/fake.py +199 -0
- codegate/system/real.py +493 -0
- codegate/system/shell.py +40 -0
- codegate/users.py +262 -0
- codegate/workspace.py +355 -0
- inferyx_codegate-1.1.0.dist-info/METADATA +217 -0
- inferyx_codegate-1.1.0.dist-info/RECORD +74 -0
- inferyx_codegate-1.1.0.dist-info/WHEEL +4 -0
- inferyx_codegate-1.1.0.dist-info/entry_points.txt +2 -0
|
@@ -0,0 +1,2347 @@
|
|
|
1
|
+
var Jy=Object.defineProperty;var ev=Object.defineProperties;var tv=Object.getOwnPropertyDescriptors;var tf=Object.getOwnPropertySymbols;var nv=Object.prototype.hasOwnProperty;var rv=Object.prototype.propertyIsEnumerable;var nf=(e,t,n)=>t in e?Jy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var R$3=(e,t)=>{for(var n in t||={})nv.call(t,n)&&nf(e,n,t[n]);if(tf)for(var n of tf(t))rv.call(t,n)&&nf(e,n,t[n]);return e};var J$2=(e,t)=>ev(e,tv(t));var Qr=[null];var mi$1=[!1];var sn$2=1;var ov=null;var ee$2=Symbol(`SIGNAL`);function E$1(e){let t=Qr[0];return Qr[0]=e,t}function hi$1(){return Qr[0]}var Ot$3={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:`unknown`,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ut$2(e){if(mi$1[0])throw new Error(``);let t=Qr[0];if(t===null)return;t.consumerOnSignalRead(e);let n=t.producersTail;if(n!==void 0&&n.producer===e)return;let r,o=t.recomputing;if(o&&(r=n!==void 0?n.nextProducer:t.producers,r!==void 0&&r.producer===e)){t.producersTail=r,r.lastReadVersion=e.version,r.knownValidAtEpoch=sn$2;return}let i=e.consumersTail;if(i!==void 0&&i.consumer===t&&(!o||i.knownValidAtEpoch===sn$2))return;let s=tr$1(t),a={producer:e,consumer:t,nextProducer:r,prevConsumer:void 0,knownValidAtEpoch:sn$2,lastReadVersion:e.version,nextConsumer:void 0};t.producersTail=a,n!==void 0?n.nextProducer=a:t.producers=a,s&&af(e,a)}function rf(){sn$2++}function kt$4(e){if(!(tr$1(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===sn$2)){if(!e.producerMustRecompute(e)&&!er$1(e)){Jn$1(e);return}e.producerRecomputeValue(e),Jn$1(e)}}function Wa(e){if(e.consumers===void 0)return;let t=mi$1[0];mi$1[0]=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||iv(r)}}finally{mi$1[0]=t}}function Ga(){return Qr[0]?.consumerAllowSignalWrites!==!1}function iv(e){e.dirty=!0,Wa(e),e.consumerMarkedDirty?.(e)}function Jn$1(e){e.dirty=!1,e.lastCleanEpoch=sn$2}function dt$4(e){return e&&of(e),E$1(e)}function of(e){if(e.producersTail?.knownValidAtEpoch===sn$2){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function Ft$1(e,t){E$1(t),e&&sf(e)}function sf(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(tr$1(e))do n=qa(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function er$1(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(kt$4(n),r!==n.version))return!0}return!1}function Pt$2(e){if(tr$1(e)){let t=e.producers;for(;t!==void 0;)t=qa(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function af(e,t){let n=e.consumersTail,r=tr$1(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)af(o.producer,o)}function qa(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,!tr$1(t)){let i=t.producers;for(;i!==void 0;)i=qa(i)}return n}function tr$1(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Xr$1(e){ov?.(e)}function Jr$1(e,t){return Object.is(e,t)}function eo$1(e,t){let n=Object.create(sv);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(kt$4(n),ut$2(n),n.value===Ne$1)throw n.error;return n.value};return r[ee$2]=n,Xr$1(n),r}var an$2=Symbol(`UNSET`);var cn$1=Symbol(`COMPUTING`);var Ne$1=Symbol(`ERRORED`);var sv=J$2(R$3({},Ot$3),{value:an$2,dirty:!0,error:null,equal:Jr$1,kind:`computed`,producerMustRecompute(e){return e.value===an$2||e.value===cn$1},producerRecomputeValue(e){if(e.value===cn$1)throw new Error(``);let t=e.value;e.value=cn$1;let n=dt$4(e),r,o=!1;try{r=e.computation(),E$1(null),o=t!==an$2&&t!==Ne$1&&r!==Ne$1&&e.equal(t,r),e.error=null}catch(i){r=Ne$1,e.error=i}finally{Ft$1(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function av(){throw new Error}var cf=av;function lf(e){cf(e)}function Za(e){cf=e}var cv=null;function Ya(e,t){let n=Object.create(nr$1);n.value=e,t!==void 0&&(n.equal=t);let r=()=>uf(n);return r[ee$2]=n,Xr$1(n),[r,s=>Lt$1(n,s),s=>gi$1(n,s)]}function uf(e){return ut$2(e),e.value}function Lt$1(e,t){Ga()||lf(e),e.equal(e.value,t)||(e.value=t,lv(e))}function gi$1(e,t){Ga()||lf(e),Lt$1(e,t(e.value))}var nr$1=J$2(R$3({},Ot$3),{equal:Jr$1,value:void 0,kind:`signal`});function lv(e){e.version++,rf(),Wa(e),cv?.(e)}var Ka=J$2(R$3({},Ot$3),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:`effect`});function Qa(e){if(e.dirty=!1,e.version>0&&!er$1(e))return;e.version++;let t=dt$4(e);try{e.cleanup(),e.fn()}finally{Ft$1(e,t)}}var Xa=[void 0];function bi$1(){return Xa[0]}function Xe$1(e){let t=Xa[0];return Xa[0]=e,t}var df=Symbol(`NotFound`);function rr$1(e){return e===df||e?.name===`ɵNotFound`}function Ja(e,t,n){let r=Object.create(uv);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(kt$4(r),ut$2(r),r.value===Ne$1)throw r.error;return r.value};return i[ee$2]=r,Xr$1(r),i}function ec(e,t){kt$4(e),Lt$1(e,t),Jn$1(e),e.error=null}function ff(e,t){if(kt$4(e),e.value===Ne$1)throw e.error;gi$1(e,t),Jn$1(e)}var uv=J$2(R$3({},Ot$3),{value:an$2,dirty:!0,error:null,equal:Jr$1,kind:`linkedSignal`,producerMustRecompute(e){return e.value===an$2||e.value===cn$1},producerRecomputeValue(e){if(e.value===cn$1)throw new Error(``);let t=e.value;e.value=cn$1;let n=dt$4(e),r,o=!1;try{let i=e.source(),s=t!==an$2&&t!==Ne$1,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,E$1(null),o=s&&r!==Ne$1&&e.equal(t,r),e.error=null}catch(i){r=Ne$1,e.error=i}finally{Ft$1(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function pf(e){let t=E$1(null);try{return e()}finally{E$1(t)}}function x$2(e){return typeof e==`function`}function or$1(e){let n=e(r=>{Error.call(r),r.stack=(/* @__PURE__ */ new Error()).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var yi$3=or$1(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 ln$2(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var q$2=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(x$2(r))try{r()}catch(i){t=i instanceof yi$3?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{mf(i)}catch(s){t=t??[],s instanceof yi$3?t=[...t,...s.errors]:t.push(s)}}if(t)throw new yi$3(t)}}add(t){var n;if(t&&t!==this)if(this.closed)mf(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)&&ln$2(n,t)}remove(t){let{_finalizers:n}=this;n&&ln$2(n,t),t instanceof e&&t._removeParent(this)}};q$2.EMPTY=(()=>{let e=new q$2;return e.closed=!0,e})();var tc=q$2.EMPTY;function vi$1(e){return e instanceof q$2||e&&`closed`in e&&x$2(e.remove)&&x$2(e.add)&&x$2(e.unsubscribe)}function mf(e){x$2(e)?e():e.unsubscribe()}var Be$1={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ir$1={setTimeout(e,t,...n){let{delegate:r}=ir$1;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ir$1;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ei$2(e){ir$1.setTimeout(()=>{let{onUnhandledError:t}=Be$1;if(t)t(e);else throw e})}function un$1(){}var hf=nc(`C`,void 0,void 0);function gf(e){return nc(`E`,void 0,e)}function bf(e){return nc(`N`,e,void 0)}function nc(e,t,n){return{kind:e,value:t,error:n}}var dn$1=null;function sr$1(e){if(Be$1.useDeprecatedSynchronousErrorHandling){let t=!dn$1;if(t&&(dn$1={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=dn$1;if(dn$1=null,n)throw r}}else e()}function yf(e){Be$1.useDeprecatedSynchronousErrorHandling&&dn$1&&(dn$1.errorThrown=!0,dn$1.error=e)}var fn$1=class extends q$2{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,vi$1(t)&&t.add(this)):this.destination=pv}static create(t,n,r){return new ft$3(t,n,r)}next(t){this.isStopped?oc(bf(t),this):this._next(t)}error(t){this.isStopped?oc(gf(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?oc(hf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}};var dv=Function.prototype.bind;function rc(e,t){return dv.call(e,t)}var ic=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Di$2(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Di$2(r)}else Di$2(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Di$2(n)}}};var ft$3=class extends fn$1{constructor(t,n,r){super();let o;if(x$2(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Be$1.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&rc(t.next,i),error:t.error&&rc(t.error,i),complete:t.complete&&rc(t.complete,i)}):o=t}this.destination=new ic(o)}};function Di$2(e){Be$1.useDeprecatedSynchronousErrorHandling?yf(e):Ei$2(e)}function fv(e){throw e}function oc(e,t){let{onStoppedNotification:n}=Be$1;n&&ir$1.setTimeout(()=>n(e,t))}var pv={closed:!0,next:un$1,error:fv,complete:un$1};var ar$1=typeof Symbol==`function`&&Symbol.observable||`@@observable`;function Ee(e){return e}function mv(...e){return sc(e)}function sc(e){return e.length===0?Ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T$3=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=gv(t)?t:new ft$3(t,n,r);return sr$1(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=vf(n),new n((r,o)=>{let i=new ft$3({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[ar$1](){return this}pipe(...t){return sc(t)(this)}toPromise(t){return t=vf(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};T$3.create=e=>new T$3(e);function vf(e){var t;return(t=e??Be$1.Promise)!==null&&t!==void 0?t:Promise}function hv(e){return e&&x$2(e.next)&&x$2(e.error)&&x$2(e.complete)}function gv(e){return e&&e instanceof fn$1||hv(e)&&vi$1(e)}function ac(e){return x$2(e?.lift)}function C(e){return t=>{if(ac(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 S(e,t,n,r,o){return new cc(e,t,n,r,o)}var cc=class extends fn$1{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 Ef(){return C((e,t)=>{let n=null;e._refCount++;let r=S(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 lc=class extends T$3{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ac(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 q$2;let n=this.getSubject();t.add(this.source.subscribe(S(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=q$2.EMPTY)}return t}refCount(){return Ef()(this)}};var cr$1={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=cr$1;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new q$2(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=cr$1;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=cr$1;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Df=or$1(e=>function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`});var B=class extends T$3{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new _i$1(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new Df}next(t){sr$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){sr$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){sr$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?tc:(this.currentObservers=null,o.push(t),new q$2(()=>{this.currentObservers=null,ln$2(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new T$3;return t.source=this,t}};B.create=(e,t)=>new _i$1(e,t);var _i$1=class extends B{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:tc}};var pn$1=class extends B{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 to$1={now(){return(to$1.delegate||Date).now()},delegate:void 0};var no$1=class extends B{constructor(t=1/0,n=1/0,r=to$1){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,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 Ii$2=class extends q$2{constructor(t,n){super()}schedule(t,n=0){return this}};var ro$1={setInterval(e,t,...n){let{delegate:r}=ro$1;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=ro$1;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var jt$1=class extends Ii$2{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}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=!0,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 ro$1.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&ro$1.clearInterval(n)}execute(t,n){if(this.closed)return/* @__PURE__ */ new Error(`executing a cancelled action`);this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||/* @__PURE__ */ 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=!1,ln$2(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var bv=1;var uc;var dc={};function _f(e){return e in dc?(delete dc[e],!0):!1}var{setImmediate:yv,clearImmediate:vv}={setImmediate(e){let t=bv++;return dc[t]=!0,uc||(uc=Promise.resolve()),uc.then(()=>_f(t)&&e()),t},clearImmediate(e){_f(e)}},oo$1={setImmediate(...e){let{delegate:t}=oo$1;return(t?.setImmediate||yv)(...e)},clearImmediate(e){let{delegate:t}=oo$1;return(t?.clearImmediate||vv)(e)},delegate:void 0};var wi$1=class extends jt$1{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=oo$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&&(oo$1.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var lr$1=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)}};lr$1.now=to$1.now;var Bt$2=class extends lr$1{constructor(t,n=lr$1.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Si$2=class extends Bt$2{flush(t){this._active=!0;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=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Ev=new Si$2(wi$1);var mn$1=new Bt$2(jt$1);var wf=mn$1;var Ci$2=class extends jt$1{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=cr$1.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&&(cr$1.cancelAnimationFrame(n),t._scheduled=void 0)}};var Ti$1=class extends Bt$2{flush(t){this._active=!0;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=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Dv=new Ti$1(Ci$2);var hn$1=new T$3(e=>e.complete());function xi$2(e){return e&&x$2(e.schedule)}function fc(e){return e[e.length-1]}function Ni$2(e){return x$2(fc(e))?e.pop():void 0}function Je$2(e){return xi$2(fc(e))?e.pop():void 0}function Sf(e,t){return typeof fc(e)==`number`?e.pop():t}function Tf(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,t||[])).next())})}function Cf(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 gn$1(e){return this instanceof gn$1?(this.v=e,this):new gn$1(e)}function xf(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(y){return new Promise(function(v,N){i.push([f,y,v,N])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof gn$1?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 Nf(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 Cf==`function`?Cf(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 Mi$2=(e=>e&&typeof e.length==`number`&&typeof e!=`function`);function Ai$3(e){return x$2(e?.then)}function Ri$2(e){return x$2(e[ar$1])}function Oi$2(e){return Symbol.asyncIterator&&x$2(e?.[Symbol.asyncIterator])}function ki$2(e){return/* @__PURE__ */ 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 _v(){return typeof Symbol!=`function`||!Symbol.iterator?`@@iterator`:Symbol.iterator}var Fi$2=_v();function Pi$2(e){return x$2(e?.[Fi$2])}function Li$2(e){return xf(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield gn$1(n.read());if(o)return yield gn$1(void 0);yield yield gn$1(r)}}finally{n.releaseLock()}})}function ji$2(e){return x$2(e?.getReader)}function U$2(e){if(e instanceof T$3)return e;if(e!=null){if(Ri$2(e))return Iv(e);if(Mi$2(e))return wv(e);if(Ai$3(e))return Sv(e);if(Oi$2(e))return Mf(e);if(Pi$2(e))return Cv(e);if(ji$2(e))return Tv(e)}throw ki$2(e)}function Iv(e){return new T$3(t=>{let n=e[ar$1]();if(x$2(n.subscribe))return n.subscribe(t);throw new TypeError(`Provided object does not correctly implement Symbol.observable`)})}function wv(e){return new T$3(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Sv(e){return new T$3(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ei$2)})}function Cv(e){return new T$3(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Mf(e){return new T$3(t=>{xv(e,t).catch(n=>t.error(n))})}function Tv(e){return Mf(Li$2(e))}function xv(e,t){var n,r,o,i;return Tf(this,void 0,void 0,function*(){try{for(n=Nf(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 be$1(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Bi$2(e,t=0){return C((n,r)=>{n.subscribe(S(r,o=>be$1(r,e,()=>r.next(o),t),()=>be$1(r,e,()=>r.complete(),t),o=>be$1(r,e,()=>r.error(o),t)))})}function Vi$2(e,t=0){return C((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Af(e,t){return U$2(e).pipe(Vi$2(t),Bi$2(t))}function Rf(e,t){return U$2(e).pipe(Vi$2(t),Bi$2(t))}function Of(e,t){return new T$3(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function kf(e,t){return new T$3(n=>{let r;return be$1(n,t,()=>{r=e[Fi$2](),be$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,!0)}),()=>x$2(r?.return)&&r.return()})}function Hi$2(e,t){if(!e)throw new Error(`Iterable cannot be null`);return new T$3(n=>{be$1(n,t,()=>{let r=e[Symbol.asyncIterator]();be$1(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ff(e,t){return Hi$2(Li$2(e),t)}function Pf(e,t){if(e!=null){if(Ri$2(e))return Af(e,t);if(Mi$2(e))return Of(e,t);if(Ai$3(e))return Rf(e,t);if(Oi$2(e))return Hi$2(e,t);if(Pi$2(e))return kf(e,t);if(ji$2(e))return Ff(e,t)}throw ki$2(e)}function et$2(e,t){return t?Pf(e,t):U$2(e)}function Ve$1(...e){return et$2(e,Je$2(e))}function pc(e,t){let n=x$2(e)?e:()=>e,r=o=>o.error(n());return new T$3(t?o=>t.schedule(r,0,o):r)}function Nv(e){return!!e&&(e instanceof T$3||x$2(e.lift)&&x$2(e.subscribe))}var io$1=or$1(e=>function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`});function Lf(e){return e instanceof Date&&!isNaN(e)}function W$2(e,t){return C((n,r)=>{let o=0;n.subscribe(S(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Mv}=Array;function Av(e,t){return Mv(t)?e(...t):e(t)}function Ui$1(e){return W$2(t=>Av(e,t))}var{isArray:Rv}=Array,{getPrototypeOf:Ov,prototype:kv,keys:Fv}=Object;function $i$2(e){if(e.length===1){let t=e[0];if(Rv(t))return{args:t,keys:null};if(Pv(t)){let n=Fv(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Pv(e){return e&&typeof e==`object`&&Ov(e)===kv}function zi$2(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function mc(...e){let t=Je$2(e),n=Ni$2(e),{args:r,keys:o}=$i$2(e);if(r.length===0)return et$2([],t);let i=new T$3(Lv(r,t,o?s=>zi$2(o,s):Ee));return n?i.pipe(Ui$1(n)):i}function Lv(e,t,n=Ee){return r=>{jf(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)jf(t,()=>{let l=et$2(e[c],t),u=!1;l.subscribe(S(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function jf(e,t,n){e?be$1(n,e,t):t()}function Bf(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l<r?h(y):c.push(y),h=y=>{i&&t.next(y),l++;let v=!1;U$2(n(y,u++)).subscribe(S(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;c.length&&l<r;){let N=c.shift();s?be$1(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(S(t,f,()=>{d=!0,p()})),()=>{a?.()}}function pt$2(e,t,n=1/0){return x$2(t)?pt$2((r,o)=>W$2((i,s)=>t(r,i,o,s))(U$2(e(r,o))),n):(typeof t==`number`&&(n=t),C((r,o)=>Bf(r,o,e,n)))}function so$1(e=1/0){return pt$2(Ee,e)}function Vf(){return so$1(1)}function Vt$2(...e){return Vf()(et$2(e,Je$2(e)))}function jv(e){return new T$3(t=>{U$2(e()).subscribe(t)})}function hc(...e){let t=Ni$2(e),{args:n,keys:r}=$i$2(e),o=new T$3(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=!1;U$2(n[u]).subscribe(S(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?zi$2(r,a):a),i.complete())}))}});return t?o.pipe(Ui$1(t)):o}function ao$1(e=0,t,n=wf){let r=-1;return t!=null&&(xi$2(t)?n=t:r=t),new T$3(o=>{let i=Lf(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 Bv(...e){let t=Je$2(e),n=Sf(e,1/0),r=e;return r.length?r.length===1?U$2(r[0]):so$1(n)(et$2(r,t)):hn$1}function He$2(e,t){return C((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Hf(e){return C((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(S(n,l=>{r=!0,o=l,i||U$2(e(l)).subscribe(i=S(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Vv(e,t=mn$1){return Hf(()=>ao$1(e,t))}function co$1(e){return C((t,n)=>{let r=null,o=!1,i;r=t.subscribe(S(n,void 0,void 0,s=>{i=U$2(e(s,co$1(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function gc(e,t){return x$2(t)?pt$2(e,t,1):pt$2(e,1)}function bn$1(e,t=mn$1){return C((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(S(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 Uf(e){return C((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function tt$2(e){return e<=0?()=>hn$1:C((t,n)=>{let r=0;t.subscribe(S(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function $f(){return C((e,t)=>{e.subscribe(S(t,un$1))})}function bc(e){return W$2(()=>e)}function yc(e,t){return t?n=>Vt$2(t.pipe(tt$2(1),$f()),n.pipe(yc(e))):pt$2((n,r)=>U$2(e(n,r)).pipe(tt$2(1),bc(n)))}function Hv(e,t=mn$1){let n=ao$1(e,t);return yc(()=>n)}function vc(e,t=Ee){return e=e??Uv,C((n,r)=>{let o,i=!0;n.subscribe(S(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Uv(e,t){return e===t}function zf(e=$v){return C((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function $v(){return new io$1}function lo$1(e){return C((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function zv(e,t){let n=arguments.length>=2;return r=>r.pipe(e?He$2((o,i)=>e(o,i,r)):Ee,tt$2(1),n?Uf(t):zf(()=>new io$1))}function Wv(e){return e<=0?()=>hn$1:C((t,n)=>{let r=[];t.subscribe(S(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 Gv(){return C((e,t)=>{let n,r=!1;e.subscribe(S(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function uo$1(e={}){let{connector:t=()=>new B,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return C((y,v)=>{l++,!d&&!u&&p();let N=c=c??t();v.add(()=>{l--,l===0&&!d&&!u&&(a=Ec(h,o))}),N.subscribe(v),!s&&l>0&&(s=new ft$3({next:k=>N.next(k),error:k=>{d=!0,p(),a=Ec(f,n,k),N.error(k)},complete:()=>{u=!0,p(),a=Ec(f,r),N.complete()}}),U$2(y).subscribe(s))})(i)}}function Ec(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ft$3({next:()=>{r.unsubscribe(),e()}});return U$2(t(...n)).subscribe(r)}function qv(e,t,n){let r,o=!1;return e&&typeof e==`object`?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,uo$1({connector:()=>new no$1(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function fo$1(e){return He$2((t,n)=>e<=n)}function Dc(...e){let t=Je$2(e);return C((n,r)=>{(t?Vt$2(e,n,t):Vt$2(e,n)).subscribe(r)})}function Wf(e,t){return C((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(S(r,c=>{o?.unsubscribe();let l=0,u=i++;U$2(e(c,u)).subscribe(o=S(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function po$1(e){return C((t,n)=>{U$2(e).subscribe(S(n,()=>n.complete(),un$1)),!n.closed&&t.subscribe(n)})}function Zv(e,t=!1){return C((n,r)=>{let o=0;n.subscribe(S(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Me(e,t,n){let r=x$2(e)||t||n?{next:e,error:t,complete:n}:e;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(S(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)}))}):Ee}var Lc=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`;var b$2=class extends Error{code;constructor(t,n){super(In$2(t,n)),this.code=t}};function Yv(e){return`NG0${Math.abs(e)}`}function In$2(e,t){return`${Yv(e)}${t?`: `+t:``}`}function V(e){for(let t in e)if(e[t]===V)return t;throw Error(``)}function Qf(e,t){for(let n in t)Object.hasOwn(t,n)&&!Object.hasOwn(e,n)&&(e[n]=t[n])}function vo$1(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(vo$1).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 Qi$1(e,t){return e?t?`${e} ${t}`:e:t||``}var Kv=V({__forward_ref__:V});function Xi$2(e){return e.__forward_ref__=Xi$2,e}function re$1(e){return jc(e)?e():e}function jc(e){return typeof e==`function`&&Object.hasOwn(e,Kv)&&e.__forward_ref__===Xi$2}function A$2(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ae$3(e){return{providers:e.providers||[],imports:e.imports||[]}}function Eo$1(e){return Xv(e,Ji$2)}function Qv(e){return Eo$1(e)!==null}function Xv(e,t){return Object.hasOwn(e,t)&&e[t]||null}function Jv(e){return(e?.[Ji$2]??null)||null}function Ic(e){return e&&Object.hasOwn(e,Gi$2)?e[Gi$2]:null}var Ji$2=V({ɵprov:V});var Gi$2=V({ɵinj:V});var g=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;constructor(t,n){this._desc=t,this.ɵprov=void 0,typeof n==`number`?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.ɵprov=A$2({token:this,providedIn:n.providedIn||`root`,factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Bc(e){return e&&!!e.ɵproviders}var Do$1=V({ɵcmp:V});var _o$1=V({ɵdir:V});var Vc=V({ɵpipe:V});var Hc=V({ɵmod:V});var go$1=V({ɵfac:V});var wn$1=V({__NG_ELEMENT_ID__:V});var Gf=V({__NG_ENV_ID__:V});function Xf(e){return es(e,`@NgModule`),e[Hc]||null}function bt$3(e){return es(e,`@Component`),e[Do$1]||null}function Io$1(e){return es(e,`@Directive`),e[_o$1]||null}function Jf(e){return es(e,`@Pipe`),e[Vc]||null}function es(e,t){if(e==null)throw new b$2(-919,!1)}function _e$1(e){return typeof e==`string`?e:e==null?``:String(e)}var ep=V({ngErrorCode:V});var eE=V({ngErrorMessage:V});var tE=V({ngTokenPath:V});function Uc(e,t){return tp(``,-200,t)}function ts(e,t){throw new b$2(-201,!1)}function tp(e,t,n){let r=new b$2(t,e);return r[ep]=t,r[eE]=e,n&&(r[tE]=n),r}function nE(e){return e[ep]}var wc;function np(){return wc}function pe$3(e){let t=wc;return wc=e,t}function $c(e,t,n){let r=Eo$1(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;ts(e,``)}var $t$1=globalThis;var yn$1={};var oE=`__NG_DI_FLAG__`;var Sc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=vn$1(n)||0;try{return this.injector.get(t,r&8?null:yn$1,r)}catch(o){if(rr$1(o))return o;throw o}}};function iE(e,t=0){let n=bi$1();if(n===void 0)throw new b$2(-203,!1);if(n===null)return $c(e,void 0,t);{let r=sE(t),o=n.retrieve(e,r);if(rr$1(o)){if(r.optional)return null;throw o}return o}}function I(e,t=0){return(np()||iE)(re$1(e),t)}function m$1(e,t){return I(e,vn$1(t))}function vn$1(e){return typeof e>`u`||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sE(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Cc(e){let t=[];for(let n=0;n<e.length;n++){let r=re$1(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b$2(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=aE(a);typeof c==`number`?c===-1?o=a.token:i|=c:o=a}t.push(I(o,i))}else t.push(I(r))}return t}function aE(e){return e[oE]}function Ut$2(e,t){return Object.hasOwn(e,go$1)?e[go$1]:null}function rp(e,t,n){if(e.length!==t.length)return!1;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!1}return!0}function op(e){return e.flat(Number.POSITIVE_INFINITY)}function ns(e,t){e.forEach(n=>Array.isArray(n)?ns(n,t):t(n))}function zc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wo$1(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ip(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function sp(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 rs(e,t,n){let r=fr$1(e,t);return r>=0?e[r|1]=n:(r=~r,sp(e,r,t,n)),r}function os(e,t){let n=fr$1(e,t);if(n>=0)return e[n|1]}function fr$1(e,t){return cE(e,t,1)}function cE(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 zt$2={};var ue$3=[];var Sn$1=new g(``);var Wc=new g(``,-1);var Gc=new g(``);var dr$1=class{get(t,n=yn$1){if(n===yn$1){let o=tp(``,-201);throw o.name=`ɵNotFound`,o}return n}};function Wt$2(e){return{ɵproviders:e}}function ap(e){return Wt$2([{provide:Sn$1,multi:!0,useValue:e}])}function cp(...e){return{ɵproviders:qc(!0,e),ɵfromNgModule:!0}}function qc(e,...t){let n=[],r=/* @__PURE__ */ new Set,o,i=s=>{n.push(s)};return ns(t,s=>{let a=s;qi$2(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&lp(o,i),n}function lp(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Zc(o,i=>{t(i,r)})}}function qi$2(e,t,n,r){if(e=re$1(e),!e)return!1;let o=null,i=Ic(e),s=!i&&bt$3(e);if(!i&&!s){let c=e.ngModule;if(i=Ic(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies==`function`?s.dependencies():s.dependencies;for(let l of c)qi$2(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ns(i.imports,u=>{qi$2(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&lp(l,t)}if(!a){let l=Ut$2(o)||(()=>new o);t({provide:o,useFactory:l,deps:ue$3},o),t({provide:Gc,useValue:o,multi:!0},o),t({provide:Sn$1,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Zc(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Zc(e,t){for(let n of e)Bc(n)&&(n=n.ɵproviders),Array.isArray(n)?Zc(n,t):t(n)}var lE=V({provide:String,useValue:V});function up(e){return e!==null&&typeof e==`object`&&lE in e}function uE(e){return!!(e&&e.useExisting)}function dE(e){return!!(e&&e.useFactory)}function En$1(e){return typeof e==`function`}function dp(e){return!!e.useClass}var So$1=new g(``);var Wi$2={};var qf={};var _c;function pr$1(){return _c===void 0&&(_c=new dr$1),_c}var de$3=class{};var Dn$1=class extends de$3{parent;source;scopes;records=/* @__PURE__ */ new Map;_ngOnDestroyHooks=/* @__PURE__ */ new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,xc(t,s=>this.processProvider(s)),this.records.set(Wc,ur$1(void 0,this)),o.has(`environment`)&&this.records.set(de$3,ur$1(void 0,this));let i=this.records.get(So$1);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Gc,ue$3,{self:!0}))}retrieve(t,n){let r=vn$1(n)||0;try{return this.get(t,yn$1,r)}catch(o){if(rr$1(o))return o;throw o}}destroy(){mo$1(this),this._destroyed=!0;let t=E$1(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(),E$1(t)}}onDestroy(t){return mo$1(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){mo$1(this);let n=Xe$1(this),r=pe$3(void 0);try{return t()}finally{Xe$1(n),pe$3(r)}}get(t,n=yn$1,r){if(mo$1(this),Object.hasOwn(t,Gf))return t[Gf](this);let o=vn$1(r),s=Xe$1(this),a=pe$3(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=gE(t)&&Eo$1(t);u&&this.injectableDefInScope(u)?l=ur$1(Tc(t),Wi$2):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?pr$1():this.parent;return n=o&8&&n===yn$1?null:n,c.get(t,n)}catch(c){let l=nE(c);throw l===-200||l===-201?new b$2(l,null):c}finally{pe$3(a),Xe$1(s)}}resolveInjectorInitializers(){let t=E$1(null),n=Xe$1(this),r=pe$3(void 0);try{let i=this.get(Sn$1,ue$3,{self:!0});for(let s of i)s()}finally{Xe$1(n),pe$3(r),E$1(t)}}toString(){return`R3Injector[...]`}processProvider(t){t=re$1(t);let n=En$1(t)?t:re$1(t&&t.provide),r=pE(t);if(!En$1(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ur$1(void 0,Wi$2,!0),o.factory=()=>Cc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E$1(null);try{if(n.value===qf)throw Uc(``);return n.value===Wi$2&&(n.value=qf,n.value=n.factory(void 0,r)),typeof n.value==`object`&&n.value&&hE(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E$1(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=re$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 Tc(e){let t=Eo$1(e),n=t!==null?t.factory:Ut$2(e);if(n!==null)return n;if(e instanceof g)throw new b$2(-204,!1);if(e instanceof Function)return fE(e);throw new b$2(-204,!1)}function fE(e){if(e.length>0)throw new b$2(-204,!1);let n=Jv(e);return n!==null?()=>n.factory(e):()=>new e}function pE(e){if(up(e))return ur$1(void 0,e.useValue);return ur$1(Yc(e),Wi$2)}function Yc(e,t,n){let r;if(En$1(e)){let o=re$1(e);return Ut$2(o)||Tc(o)}else if(up(e))r=()=>re$1(e.useValue);else if(dE(e))r=()=>e.useFactory(...Cc(e.deps||[]));else if(uE(e))r=(o,i)=>I(re$1(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=re$1(e&&(e.useClass||e.provide));if(mE(e))r=()=>new o(...Cc(e.deps));else return Ut$2(o)||Tc(o)}return r}function mo$1(e){if(e.destroyed)throw new b$2(-205,!1)}function ur$1(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mE(e){return!!e.deps}function hE(e){return e!==null&&typeof e==`object`&&typeof e.ngOnDestroy==`function`}function gE(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function xc(e,t){for(let n of e)Array.isArray(n)?xc(n,t):n&&Bc(n)?xc(n.ɵproviders,t):t(n)}function mr$1(e,t){let n;e instanceof Dn$1?(mo$1(e),n=e):n=new Sc(e);let o=Xe$1(n),i=pe$3(void 0);try{return t()}finally{Xe$1(o),pe$3(i)}}function fp(){return np()!==void 0||bi$1()!=null}var Ue$2=0;var _$1=1;var w$2=2;var te$1=3;var Ae=4;var se$3=5;var Cn$1=6;var hr$1=7;var Q$2=8;var yt$3=9;var $e$2=10;var $$3=11;var gr$1=12;var Kc=13;var Gt$2=14;var ce$3=15;var qt$2=16;var Tn$1=17;var rt$2=18;var Co$1=19;var Qc=20;var mt$3=21;var is=22;var ht$3=23;var Ie=24;var xn$1=25;var pp=26;var br=27;var K$2=28;var mp=1;var Xc=6;var Nn$1=7;var To$1=8;var Mn$1=9;var X$3=10;function vt$3(e){return Array.isArray(e)&&typeof e[mp]==`object`}function Re$2(e){return Array.isArray(e)&&e[mp]===!0}function Jc(e){return(e.flags&4)!==0}function ot$3(e){return e.componentOffset>-1}function yr$1(e){return(e.flags&1)===1}function it$3(e){return!!e.template}function vr$1(e){return(e[w$2]&512)!==0}function An$1(e){return(e[w$2]&256)===256}var j$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})(j$2||{});var ho$1;var _n$1=`svg`;var ss=`math`;var Nc=``;var Zf=`*`;var Mc=()=>Object.create(null);function bE(){return ho$1||(ho$1=Mc(),Ht$1(j$2.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),Ht$1(j$2.STYLE,void 0,[[`*`,[`style`]]]),Ht$1(j$2.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]]]),Ht$1(j$2.URL,ss,[[`*`,[`href`,`xlink:href`]]]),Ht$1(j$2.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),Ht$1(j$2.URL,_n$1,[[`a`,[`href`,`xlink:href`]]]),Ht$1(j$2.ATTRIBUTE_NO_BINDING,_n$1,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),Ht$1(j$2.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),ho$1)}function Ht$1(e,t,n){let r=t??Nc;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),l=ho$1[c]??=Mc(),u=l[r]??=Mc();u[s]=e}}}function hp(e,t,n){let i=bE()[t.replace(/^:+/,``).toLowerCase()];if(!i)return j$2.NONE;let s=e.toLowerCase(),a;if(n){let c=i[n];c&&(a=c[s]??c[Zf])}if(a===void 0){let c=i[Nc];c&&(a=c[s]??c[Zf])}if(a===void 0&&(!n||n===Nc)){let c=i[_n$1];c&&(a=c[s])}return a??j$2.NONE}function le$3(e){for(;Array.isArray(e);)e=e[Ue$2];return e}function el(e,t){return le$3(t[e])}function ye$2(e,t){return le$3(t[e.index])}function as(e,t){return e.data[t]}function tl(e,t){return e[t]}function nl(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Oe$3(e,t){let n=t[e];return vt$3(n)?n:n[Ue$2]}function gp(e){return(e[w$2]&4)===4}function cs(e){return(e[w$2]&128)===128}function bp(e){return Re$2(e[te$1])}function we$2(e,t){return t==null?null:e[t]}function rl(e){e[Tn$1]=0}function ol(e){e[w$2]&1024||(e[w$2]|=1024,cs(e)&&Rn$2(e))}function yp(e,t){for(;e>0;)t=t[Gt$2],e--;return t}function xo$1(e){return!!(e[w$2]&5120||e[Ie]?.dirty)}function ls(e){e[$e$2].changeDetectionScheduler?.notify(8),e[w$2]&64&&(e[w$2]|=1024),xo$1(e)&&Rn$2(e)}function Rn$2(e){e[$e$2].changeDetectionScheduler?.notify(0);let t=gt$3(e);for(;t!==null&&!(t[w$2]&4096||(t[w$2]|=4096,!cs(t)));)t=gt$3(t)}function us(e,t){if(An$1(e))throw new b$2(911,!1);e[mt$3]===null&&(e[mt$3]=[]),e[mt$3].push(t)}function vp(e,t){if(e[mt$3]===null)return;let n=e[mt$3].indexOf(t);n!==-1&&e[mt$3].splice(n,1)}function gt$3(e){let t=e[te$1];return Re$2(t)?t[te$1]:t}function il(e){return e[hr$1]??=[]}function sl(e){return e.cleanup??=[]}function Ep(e,t,n,r){let o=il(t);o.push(n),e.firstCreatePass&&sl(e).push(r,o.length-1)}var M$2={lFrame:Op(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ac=!1;function Dp(){return M$2.lFrame.elementDepthCount}function _p(){M$2.lFrame.elementDepthCount++}function al(){M$2.lFrame.elementDepthCount--}function ds(){return M$2.bindingsEnabled}function cl(){return M$2.skipHydrationRootTNode!==null}function ll(e){return M$2.skipHydrationRootTNode===e}function ul(){M$2.skipHydrationRootTNode=null}function D(){return M$2.lFrame.lView}function z$2(){return M$2.lFrame.tView}function Ip(e){return M$2.lFrame.contextLView=e,e[Q$2]}function wp(e){return M$2.lFrame.contextLView=null,e}function ne$1(){let e=dl();for(;e!==null&&e.type===64;)e=e.parent;return e}function dl(){return M$2.lFrame.currentTNode}function Sp(){let e=M$2.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Er(e,t){let n=M$2.lFrame;n.currentTNode=e,n.isParent=t}function fl(){return M$2.lFrame.isParent}function pl(){M$2.lFrame.isParent=!1}function Cp(){return M$2.lFrame.contextLView}function ml(){return Ac}function bo$1(e){let t=Ac;return Ac=e,t}function fs(){let e=M$2.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ps(){return M$2.lFrame.bindingIndex}function Tp(e){return M$2.lFrame.bindingIndex=e}function Et$3(){return M$2.lFrame.bindingIndex++}function Dr(e){let t=M$2.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function xp(){return M$2.lFrame.inI18n}function Np(e,t){let n=M$2.lFrame;n.bindingIndex=n.bindingRootIndex=e,ms(t)}function Mp(){return M$2.lFrame.currentDirectiveIndex}function ms(e){M$2.lFrame.currentDirectiveIndex=e}function Ap(e){let t=M$2.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function hs(){return M$2.lFrame.currentQueryIndex}function No$1(e){M$2.lFrame.currentQueryIndex=e}function yE(e){let t=e[_$1];return t.type===2?t.declTNode:t.type===1?e[se$3]:null}function hl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=yE(i),o===null||(i=i[Gt$2],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M$2.lFrame=Rp();return r.currentTNode=t,r.lView=e,!0}function gs(e){let t=Rp(),n=e[_$1];M$2.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Rp(){let e=M$2.lFrame,t=e===null?null:e.child;return t===null?Op(e):t}function Op(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function kp(){let e=M$2.lFrame;return M$2.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var gl=kp;function bs(){let e=kp();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fp(e){return(M$2.lFrame.contextLView=yp(e,M$2.lFrame.contextLView))[Q$2]}function Se$2(){return M$2.lFrame.selectedIndex}function Zt$3(e){M$2.lFrame.selectedIndex=e}function Yt$2(){let e=M$2.lFrame;return as(e.tView,e.selectedIndex)}function Pp(){M$2.lFrame.currentNamespace=_n$1}function Lp(){vE()}function vE(){M$2.lFrame.currentNamespace=null}function bl(){return M$2.lFrame.currentNamespace}var jp=!0;function ys(){return jp}function Mo$1(e){jp=e}function Rc(e,t=null,n=null,r){let o=yl(e,t,n,r);return o.resolveInjectorInitializers(),o}function yl(e,t=null,n=null,r,o=/* @__PURE__ */ new Set){return new Dn$1([n||ue$3,cp(e)],t||pr$1(),null,o)}var Y$1=class e{static THROW_IF_NOT_FOUND=yn$1;static NULL=new dr$1;static create(t,n){if(Array.isArray(t))return Rc({name:``},n,t,``);{let r=t.name??``;return Rc({name:r},t.parent,t.providers,r)}}static ɵprov=A$2({token:e,providedIn:`any`,factory:()=>I(Wc)});static __NG_ELEMENT_ID__=-1};var O$2=new g(``);var De=class{static __NG_ELEMENT_ID__=EE;static __NG_ENV_ID__=t=>t};var Zi$2=class extends De{_lView;constructor(t){super(),this._lView=t}get destroyed(){return An$1(this._lView)}onDestroy(t){let n=this._lView;return us(n,t),()=>vp(n,t)}};function EE(){return new Zi$2(D())}var Bp=!1;var Vp=new g(``);var On$1=(()=>{class e{taskId=0;pendingTasks=/* @__PURE__ */ new Set;destroyed=!1;pendingTask=new pn$1(!1);debugTaskTracker=m$1(Vp,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new T$3(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);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(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=A$2({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Oc=class extends B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,fp()&&(this.destroyRef=m$1(De,{optional:!0})??void 0,this.pendingTasks=m$1(On$1,{optional:!0})??void 0)}emit(t){let n=E$1(null);try{super.next(t)}finally{E$1(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 q$2&&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)}})}}};var me$3=Oc;function Yi$2(...e){}function vl(e){let t,n;function r(){e=Yi$2;try{n!==void 0&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame==`function`&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Hp(e){return queueMicrotask(()=>e()),()=>{e=Yi$2}}var Up=`isAngularZone`;var P$2=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new me$3(!1);onMicrotaskEmpty=new me$3(!1);onStable=new me$3(!1);onError=new me$3(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Bp}=t;if(typeof Zone>`u`)throw new b$2(908,!1);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=!1,s.scheduleInRootZone=i,IE(s)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get(Up)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b$2(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b$2(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask(`NgZoneEvent: `+o,t,DE,Yi$2,Yi$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)}};var DE={};function El(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function _E(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){vl(()=>{e.callbackScheduled=!1,kc(e),e.isCheckStableRunning=!0,El(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),kc(e)}function IE(e){let t=()=>{_E(e)};e._inner=e._inner.fork({name:`angular`,properties:{[Up]:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(wE(a))return n.invokeTask(o,i,s,a);try{return Yf(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&t(),Kf(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Yf(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!SE(a)&&t(),Kf(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change==`microTask`?(e._hasPendingMicrotasks=i.microTask,kc(e),El(e)):i.change==`macroTask`&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function kc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Yf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kf(e){e._nesting--,El(e)}var yo$1=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new me$3;onMicrotaskEmpty=new me$3;onStable=new me$3;onError=new me$3;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 wE(e){return $p(e,`__ignore_ng_zone__`)}function SE(e){return $p(e,`__scheduler_tick__`)}function $p(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var he$3=class{_console=console;handleError(t){this._console.error(`ERROR`,t)}};function zp(e){return Wp(e)?e:new Fc(e)}function Wp(e){return e instanceof Error||typeof e==`object`&&e!==null&&typeof e.name==`string`&&typeof e.message==`string`}var Fc=class extends Error{constructor(t){super(String(t),{cause:t}),this.name=`ErrorBoundaryWrappedError`}};var Dt$3=new g(``,{factory:()=>{let e=m$1(P$2),t=m$1(de$3),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(he$3),n.handleError(r))})}}});var Gp={provide:Sn$1,useValue:()=>{m$1(he$3,{optional:!0})},multi:!0};var CE=new g(``,{factory:()=>{let e=m$1(O$2).defaultView;if(!e)return;let t=m$1(Dt$3),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener(`unhandledrejection`,n),e.addEventListener(`error`,r)};typeof Zone<`u`?Zone.root.run(o):o(),m$1(De).onDestroy(()=>{e.removeEventListener(`error`,r),e.removeEventListener(`unhandledrejection`,n)})}});function TE(){return Wt$2([ap(()=>{m$1(CE)})])}function ke$3(e,t){let[n,r,o]=Ya(e,t?.equal),i=n;i[ee$2];return i.set=r,i.update=o,i.asReadonly=vs.bind(i),i}function vs(){let e=this[ee$2];if(e.readonlyFn===void 0){let t=()=>this();t[ee$2]=e,e.readonlyFn=t}return e.readonlyFn}var _t$3=new g(``,{factory:()=>xE});var xE=`ng`;var Es=new g(``);var kn$1=new g(``,{providedIn:`platform`,factory:()=>`unknown`});var Dl=new g(``);var Fn$2=new g(``,{factory:()=>m$1(O$2).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null});var _r=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=NE}return e})();function NE(){return new _r(D(),ne$1())}var nt$3=class{};var Ao$1=new g(``,{factory:()=>!0});var _l=new g(``);var Ds=(()=>{class e{static ɵprov=A$2({token:e,providedIn:`root`,factory:()=>new Pc})}return e})();var Pc=class{dirtyEffectCount=0;queues=/* @__PURE__ */ 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,/* @__PURE__ */ new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;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=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};var Ki$2=class{constructor(t){this[ee$2]=t}destroy(){this[ee$2].destroy()}};function _s(e,t){let n=t?.injector??m$1(Y$1),r=t?.manualCleanup!==!0?n.get(De):null,o,i=n.get(_r,null,{optional:!0}),s=n.get(nt$3);return i!==null?(o=Zp(i.view,s,e),r instanceof Zi$2&&r._lView===i.view&&(r=null)):o=RE(e,n.get(Ds),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ki$2(o)}var qp=J$2(R$3({},Ka),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=bo$1(!1);try{Qa(this)}finally{bo$1(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E$1(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E$1(e)}}});var ME=J$2(R$3({},qp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Pt$2(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}});var AE=J$2(R$3({},qp),{consumerMarkedDirty(){this.view[w$2]|=4096,Rn$2(this.view),this.notifier.notify(13)},destroy(){if(Pt$2(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[ht$3]?.delete(this)}});function Zp(e,t,n){let r=Object.create(AE);return r.view=e,r.zone=typeof Zone<`u`?Zone.current:null,r.notifier=t,r.userFn=n,r.fn=Yp(r,n),e[ht$3]??=/* @__PURE__ */ new Set,e[ht$3].add(r),r.consumerMarkedDirty(r),r}function RE(e,t,n){let r=Object.create(ME);return r.userFn=e,r.fn=Yp(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 Yp(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Kt$3(e){return typeof e==`function`&&e[ee$2]!==void 0}function Is(e){return Kt$3(e)&&typeof e.set==`function`}var Ro$1=(()=>{class e{internalPendingTasks=m$1(On$1);scheduler=m$1(nt$3);errorHandler=m$1(Dt$3);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 ɵprov=A$2({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Qs=Symbol(`InputSignalNode#UNSET`);var Fm=J$2(R$3({},nr$1),{transformFn:void 0,applyValueToInputSignal(e,t){Lt$1(e,t)}});function Ho$1(e){return{toString:e}.toString()}var L$1=(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})(L$1||{});var Rs=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Pm(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Lm=null;var Xs=(()=>{Lm=Kp;let e=()=>Kp;return e.ngInherit=!0,e})();function $E(){return Lm}function Kp(e){return e.type.prototype.ngOnChanges&&(e.setInput=WE),zE}function zE(){let e=jm(this),t=e?.current;if(t){let n=e.previous;if(n===zt$2)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function WE(e,t,n,r,o){let i=this.declaredInputs[r],s=jm(e)||GE(e,{previous:zt$2,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Rs(l&&l.currentValue,n,c===zt$2),Pm(e,t,o,n)}var kl=`__ngSimpleChanges__`;function jm(e){return Object.hasOwn(e,kl)&&e[kl]||null}function GE(e,t){return e[kl]=t}var Qp=[];var H$2=function(e,t=null,n){for(let r=0;r<Qp.length;r++){let o=Qp[r];o(e,t,n)}};function qE(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=$E()(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 Bm(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=e.data[n].type.prototype;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 xs(e,t,n){Vm(e,t,3,n)}function Ns(e,t,n,r){(e[w$2]&3)===n&&Vm(e,t,n,r)}function Il(e,t){let n=e[w$2];(n&3)===t&&(n&=8191,n+=1,e[w$2]=n)}function Vm(e,t,n,r){let o=r!==void 0?e[Tn$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[Tn$1]+=65536),(a<i||i==-1)&&(ZE(e,n,t,c),e[Tn$1]=(e[Tn$1]&4294901760)+c+2),c++}function Xp(e,t){H$2(L$1.LifecycleHookStart,e,t);let n=E$1(null);try{t.call(e)}finally{E$1(n),H$2(L$1.LifecycleHookEnd,e,t)}}function ZE(e,t,n,r){let o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[w$2]>>13<e[Tn$1]>>16&&(e[w$2]&3)===t&&(e[w$2]+=8192,Xp(a,i)):Xp(a,i)}var Sr$1=-1;var Ln$1=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function YE(e){return(e.flags&8)!==0}function KE(e){return(e.flags&16)!==0}function QE(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];XE(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Hm(e){return e===3||e===4||e===6}function XE(e){return e.charCodeAt(0)===64}function Tr(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?Jp(e,n,o,null,t[++r]):Jp(e,n,o,null,null))}}return e}function Jp(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 Um(e){return e!==Sr$1}function Os(e){return e&32767}function JE(e){return e>>16}function ks(e,t){let n=JE(e),r=t;for(;n>0;)r=r[Gt$2],n--;return r}var Fl=!0;function Fs(e){let t=Fl;return Fl=e,t}var $m=255;var zm=5;var tD=0;var st$3={};function nD(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:Object.hasOwn(n,wn$1)&&(r=n[wn$1]),r??=n[wn$1]=tD++;let o=r&$m,i=1<<o;t.data[e+(o>>zm)]|=i}function Ps(e,t){let n=Wm(e,t);if(n!==-1)return n;let r=t[_$1];r.firstCreatePass&&(e.injectorIndex=t.length,wl(r.data,e),wl(t,null),wl(r.blueprint,null));let o=bu(e,t),i=e.injectorIndex;if(Um(o)){let s=Os(o),a=ks(o,t),c=a[_$1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function wl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wm(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function bu(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=Qm(o),r===null)return Sr$1;if(n++,o=o[Gt$2],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Sr$1}function Pl(e,t,n){nD(e,t,n)}function rD(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(Hm(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 Gm(e,t,n){if(n&8||e!==void 0)return e;ts(t,`NodeInjector`)}function qm(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[yt$3],i=pe$3(void 0);try{return o?o.get(t,r,n&8):$c(t,r,n&8)}finally{pe$3(i)}}return Gm(r,t,n)}function Zm(e,t,n,r=0,o){if(e!==null){if(t[w$2]&2048&&!(r&2)){let s=aD(e,t,n,r,st$3);if(s!==st$3)return s}let i=Ym(e,t,n,r,st$3);if(i!==st$3)return i}return qm(t,n,r,o)}function Ym(e,t,n,r,o){let i=iD(n);if(typeof i==`function`){if(!hl(t,e,r))return r&1?Gm(o,n,r):qm(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ts(n);else return s}finally{gl()}}else if(typeof i==`number`){let s=null,a=Wm(e,t),c=Sr$1,l=r&1?t[ce$3][se$3]:null;for((a===-1||r&4)&&(c=a===-1?bu(e,t):t[a+8],c===Sr$1||!tm(r,!1)?a=-1:(s=t[_$1],a=Os(c),t=ks(c,t)));a!==-1;){let u=t[_$1];if(em(i,a,u.data)){let d=oD(a,t,n,s,r,l);if(d!==st$3)return d}c=t[a+8],c!==Sr$1&&tm(r,t[_$1].data[a+8]===l)&&em(i,a,t)?(s=u,a=Os(c),t=ks(c,t)):a=-1}}return o}function oD(e,t,n,r,o,i){let s=t[_$1],a=s.data[e+8],u=Ms(a,s,n,r==null?ot$3(a)&&Fl:r!=s&&(a.type&3)!==0,o&1&&i===a);return u!==null?Fo$1(t,s,u,a,o):st$3}function Ms(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&&it$3(f)&&f.type===n)return c}return null}function Fo$1(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Ln$1){let a=i;if(a.resolving)throw Uc(``);let c=Fs(a.canSeeViewProviders);a.resolving=!0;s[n].type||s[n];let d=a.injectImpl?pe$3(a.injectImpl):null;hl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&qE(n,s[n],t)}finally{d!==null&&pe$3(d),Fs(c),a.resolving=!1,gl()}}return i}function iD(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=Object.hasOwn(e,wn$1)?e[wn$1]:void 0;return typeof t==`number`?t>=0?t&$m:sD:t}function em(e,t,n){let r=1<<e;return!!(n[t+(e>>zm)]&r)}function tm(e,t){return!(e&2)&&!(e&1&&t)}var It$3=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Zm(this._tNode,this._lView,t,vn$1(r),n)}};function sD(){return new It$3(ne$1(),D())}function Km(e){return Ho$1(()=>{let t=e.prototype.constructor,n=t[go$1]||Ll(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[go$1]||Ll(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ll(e){return jc(e)?()=>{let t=Ll(re$1(e));return t&&t()}:Ut$2(e)}function aD(e,t,n,r,o){let i=e,s=t,a=r&1?t[ce$3][se$3]:null;for(;i!==null&&s!==null&&s[w$2]&2048&&!vr$1(s);){let c=Ym(i,s,n,r|2,st$3);if(c!==st$3)return c;if(r&=-5,r&1&&i===a)return o;let l=i.parent;if(!l){let u=s[Qc];if(u){let d=u.get(n,st$3,r);if(d!==st$3)return d}l=Qm(s),s=s[Gt$2]}i=l}return o}function Qm(e){let t=e[_$1],n=t.type;return n===2?t.declTNode:n===1?e[se$3]:null}function yu(e){return rD(ne$1(),e)}function F$1(e){return{token:e.token,providedIn:e.autoProvided===!1?null:`root`,factory:e.factory,value:void 0}}function cD(){return kr(ne$1(),D())}function kr(e,t){return new oe$2(ye$2(e,t))}var oe$2=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=cD}return e})();function Xm(e){return e instanceof oe$2?e.nativeElement:e}function lD(){return this._results[Symbol.iterator]()}var jn$2=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new B}constructor(t=!1){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=!1;let r=op(t);(this._changesDetected=!rp(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=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=lD};var uD=/(^-?|--!?)>|<(?=!--|!-$)/g;var dD=/(<|>)/g;var fD=`$1`;function pD(e){return e.replace(uD,t=>t.replace(dD,fD))}function Jm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw eh(t);return t}function mD(e){let t=e.firstChild;if(t&&(t.parentNode!==e||t.previousSibling!==null))throw eh(t);return t}function nm(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function eh(e){return/* @__PURE__ */ new Error(`Action failed because the element is clobbered: ${e.outerHTML}`)}function th(e){return(e.flags&128)===128}var vu=(function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e})(vu||{});var nh=/* @__PURE__ */ new Map;var hD=0;function gD(){return hD++}function bD(e){nh.set(e[Co$1],e)}function jl(e){nh.delete(e[Co$1])}var rm=`__ngContext__`;function xr(e,t){vt$3(t)?(e[rm]=t[Co$1],bD(t)):e[rm]=t}function rh(e){return ih(e[gr$1])}function oh(e){return ih(e[Ae])}function ih(e){for(;e!==null&&!Re$2(e);)e=e[Ae];return e}var Bl;function Eu(e){Bl=e}function sh(){if(Bl!==void 0)return Bl;if(typeof document<`u`)return document;throw new b$2(210,!1)}var ah=`r`;var ch=`di`;var lh=!1;var uh=new g(``,{factory:()=>lh});var om=/* @__PURE__ */ new WeakMap;function yD(e,t){if(e==null||typeof e!=`object`)return;let n=om.get(e);n||(n=/* @__PURE__ */ new WeakSet,om.set(e,n)),n.add(t)}function Js(e){return(e.flags&32)===32}var DD=()=>null;function dh(e,t,n=!1){return DD(e,t,n)}function fh(e,t){let n=e.contentQueries;if(n!==null){let r=E$1(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];No$1(i),a.contentQueries(2,t[s],s)}}}finally{E$1(r)}}}function Vl(e,t,n){No$1(0);let r=E$1(null);try{t(e,n)}finally{E$1(r)}}function Du(e,t,n){if(Jc(t)){let r=E$1(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{E$1(r)}}}var Ge$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})(Ge$1||{});var wt$2=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`}};var Hl=class extends wt$2{getTypeName(){return`HTML`}};var Ul=class extends wt$2{getTypeName(){return`Style`}};var $l=class extends wt$2{getTypeName(){return`Script`}};var zl=class extends wt$2{getTypeName(){return`URL`}};var Wl=class extends wt$2{getTypeName(){return`ResourceURL`}};function Ce$2(e){return e instanceof wt$2?e.changingThisBreaksApplicationSecurity:e}function St$4(e,t){let n=ph(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Lc})`)}return n===t}function ph(e){return e instanceof wt$2&&e.getTypeName()||null}function _u(e){return new Hl(e)}function Iu(e){return new Ul(e)}function wu(e){return new $l(e)}function Su(e){return new zl(e)}function Cu(e){return new Wl(e)}var _D={"http://www.w3.org/2000/svg":_n$1,"http://www.w3.org/1998/Math/MathML":ss};var ws;function ID(){if(ws===void 0&&(ws=null,$t$1.trustedTypes))try{ws=$t$1.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ws}function ea(e){return ID()?.createHTML(e)||e}var Ss;function wD(){if(Ss===void 0&&(Ss=null,$t$1.trustedTypes))try{Ss=$t$1.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ss}function Sl(e){return wD()?.createScriptURL(e)||e}function SD(e){let t=new ql(e);return CD()?new Gl(t):t}var Gl=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=`<body><remove></remove>`+t;try{let n=new window.DOMParser().parseFromString(ea(t),`text/html`).body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}};var ql=class{inertDocument;constructor(t){this.inertDocument=t.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(t){let n=this.inertDocument.createElement(`template`);return n.innerHTML=ea(t),n}};function CD(){try{return!!new window.DOMParser().parseFromString(ea(``),`text/html`)}catch{return!1}}var TD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Uo$1(e){return e=String(e),e.match(TD)?e:`unsafe:`+e}function Ct$4(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=!0;return t}function $o$1(...e){let t=Object.create(null);for(let n of e)for(let r in n)Object.hasOwn(n,r)&&(t[r]=!0);return t}var mh=Ct$4(`area,br,col,hr,img,wbr`);var hh=Ct$4(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`);var gh=Ct$4(`rp,rt`);var xD=$o$1(gh,hh);var im=$o$1(mh,$o$1(hh,Ct$4(`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`)),$o$1(gh,Ct$4(`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`)),xD);var bh=Ct$4(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`);var OD=$o$1(bh,Ct$4(`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`),Ct$4(`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`));var kD=Ct$4(`script,style,template`);var Zl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=mD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Jm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join(``)}startElement(t){let n=nm(t).toLowerCase();if(!Object.hasOwn(im,n))return this.sanitizedSomething=!0,!Object.hasOwn(kD,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(!Object.hasOwn(OD,a)){this.sanitizedSomething=!0;continue}let c=i.value;bh[a]&&(c=Uo$1(c)),this.buf.push(` `,s,`="`,sm(c),`"`)}return this.buf.push(`>`),!0}endElement(t){let n=nm(t).toLowerCase();Object.hasOwn(im,n)&&!Object.hasOwn(mh,n)&&(this.buf.push(`</`),this.buf.push(n),this.buf.push(`>`))}chars(t){this.buf.push(sm(t))}};var FD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var PD=/([^\#-~ |!])/g;function sm(e){return e.replace(/&/g,`&`).replace(FD,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return`&#`+((n-55296)*1024+(r-56320)+65536)+`;`}).replace(PD,function(t){return`&#`+t.charCodeAt(0)+`;`}).replace(/</g,`<`).replace(/>/g,`>`)}var Cs;function Tu(e,t){let n=null;try{Cs=Cs||SD(e);let r=t?String(t):``;n=Cs.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,am(n),n=null,n=Cs.getInertBodyElement(r)}while(r!==i);return ea(new Zl().sanitizeChildren(yh(n)||n))}finally{n&&am(n)}}function am(e){let t=yh(e)||e;for(;t.firstChild;)t.firstChild.remove()}function yh(e){return`content`in e&&LD(e)?e.content:null}function LD(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}function jD(e,t){return e.createText(t)}function BD(e,t,n){e.setValue(t,n)}function VD(e,t){return e.createComment(pD(t))}function vh(e,t,n){return e.createElement(t,n)}function Pn$1(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Eh(e,t,n){e.appendChild(t,n)}function cm(e,t,n,r,o){r!==null?Pn$1(e,t,n,r,o):Eh(e,t,n)}function Dh(e,t,n,r){e.removeChild(null,t,n,r)}function _h(e,t,n,r,o,i,s){if(i==null)s?.(i,r||``,o),e.removeAttribute(t,o,n);else{let a=s==null?_e$1(i):s(i,r||``,o);e.setAttribute(t,o,a,n)}}function HD(e,t,n){e.setAttribute(t,`style`,n)}function UD(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function Ih(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&QE(e,t,r),o!==null&&UD(e,t,o),i!==null&&HD(e,t,i)}function $D(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1||n===1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function wh(e){let t=Ch();return t?t.sanitize(j$2.URL,e)||``:St$4(e,`URL`)?Ce$2(e):Uo$1(_e$1(e))}function Sh(e){let t=Ch();if(t)return Sl(t.sanitize(j$2.RESOURCE_URL,e)||``);if(e==null)return Sl(``);if(St$4(e,`ResourceURL`))return Sl(Ce$2(e));throw new b$2(-904,!1)}function zD(e,t){switch(GD(e,t)){case j$2.RESOURCE_URL:return Sh;case j$2.URL:return wh;default:return null}}function WD(e,t,n){return zD(t,n)?.(e)??e}function Ch(){let e=D();return e&&e[$e$2].sanitizer}function GD(e,t){let[n,r]=qD(e);return hp(r,t,n)}function qD(e){e=e.toLowerCase();let t=$D(e,!1);if(t[0])return t;let r=Se$2()===-1?null:Yt$2(),o=r?.namespace;if(e===`#host`&&r?.type===2){let i=ye$2(r,D());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&_D[s]}}return[o,e]}function ZD(e){return e instanceof Function?e():e}function YD(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 Th=`ng-template`;function KD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]==`string`;o+=2)if(t[o]===`class`&&YD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(xu(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])==`string`;)if(i.toLowerCase()===n)return!0}return!1}function xu(e){return e.type===4&&e.value!==Th}function QD(e,t,n){return t===(e.type===4&&!n?Th:e.value)}function XD(e,t,n){let r=4,o=e.attrs,i=o!==null?t_(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c==`number`){if(!s&&!ze$2(r)&&!ze$2(c))return!1;if(s&&ze$2(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==``&&!QD(e,c,n)||c===``&&t.length===1){if(ze$2(r))return!1;s=!0}}else if(r&8){if(o===null||!KD(e,o,c,n)){if(ze$2(r))return!1;s=!0}}else{let l=t[++a],u=JD(c,o,xu(e),n);if(u===-1){if(ze$2(r))return!1;s=!0;continue}if(l!==``){let d;if(u>i?d=``:d=o[u+1].toLowerCase(),r&2&&l!==d){if(ze$2(r))return!1;s=!0}}}}return ze$2(r)||s}function ze$2(e){return(e&1)===0}function JD(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;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 n_(t,e)}function xh(e,t,n=!1){for(let r=0;r<t.length;r++)if(XD(e,t[r],n))return!0;return!1}function e_(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function t_(e){for(let t=0;t<e.length;t++){let n=e[t];if(Hm(n))return t}return e.length}function n_(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 r_(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!0}}return!1}function lm(e,t){return e?`:not(`+t.trim()+`)`:t}function o_(e){let t=e[0],n=1,r=2,o=``,i=!1;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!==``&&!ze$2(s)&&(t+=lm(i,o),o=``),r=s,i=i||!ze$2(r);n++}return o!==``&&(t+=lm(i,o)),t}function i_(e){return e.map(o_).join(`,`)}function s_(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(!ze$2(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ie$2={};var at$3=(function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e})(at$3||{});var a_;function Nu(e,t){return a_(e,t)}var Mu=/* @__PURE__ */ new Set;typeof document<`u`&&document?.documentElement?.getAnimations;var Yl=/* @__PURE__ */ new WeakMap;function Nh(e){return e?e[Gt$2]??e:null}var Ir=/* @__PURE__ */ new WeakSet;function c_(e,t,n){let r=Yl.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=Nh(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),Ir.add(c),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),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:!0}})),c.parentNode?.removeChild(c))}}function l_(e,t,n){let r=Nh(n),o=Yl.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Yl.set(e,[{el:t,declarationView:r}])}var ta=(function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e})(ta||{});var Ze$2=new g(``);var um=/* @__PURE__ */ new Set;function Xt$2(e){um.has(e)||(um.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}var na=(()=>{class e{impl=null;execute(){this.impl?.execute()}static ɵprov=A$2({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Au=[0,1,2,3];var Ru=(()=>{class e{ngZone=m$1(P$2);scheduler=m$1(nt$3);errorHandler=m$1(he$3,{optional:!0});sequences=/* @__PURE__ */ new Set;deferredRegistrations=/* @__PURE__ */ new Set;executing=!1;constructor(){m$1(Ze$2,{optional:!0})}execute(){let n=this.sequences.size>0;n&&H$2(L$1.AfterRenderHooksStart),this.executing=!0;for(let r of Au)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=!0,this.errorHandler?.handleError(i)}this.executing=!1;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&&H$2(L$1.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[xn$1]??=[]).push(n),Rn$2(r),r[w$2]|=4096):this.addSequence(n)}addSequence(n){this.executing?this.deferredRegistrations.add(n):this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ta.AFTER_NEXT_RENDER,n):n()}static ɵprov=A$2({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Po=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;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=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[xn$1];t&&(this.view[xn$1]=t.filter(n=>n!==this))}};function Ou(e,t){let n=t?.injector??m$1(Y$1);return Xt$2(`NgAfterNextRender`),d_(e,n,t,!0)}function u_(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function d_(e,t,n,r){let o=t.get(na);o.impl??=t.get(Ru);let i=t.get(Ze$2,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(De):null,a=t.get(_r,null,{optional:!0}),c=new Po(o.impl,u_(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Kl=null;var Mh=null;function dm(e,t,n,r){Kl?.maybeQueueEnterAnimation(e,t,n,r)}function fm(e,t,n,r){Kl===null?r(!1):Kl.runLeaveAnimationsWithCallback(e,t,n,r)}function f_(e){Mh?.initViewDetachAnimations(e)}function p_(e){Mh?.clearViewDetachAnimations(e)}function wr(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Re$2(o)?c=o:vt$3(o)&&(l=!0,o=o[Ue$2]);let u=le$3(o);e===0&&r!==null?(dm(a,r,i,n),s==null?Eh(t,r,u):Pn$1(t,r,u,s||null,!0)):e===1&&r!==null?(Pn$1(t,r,u,s||null,!0),c_(i,u,a),Ir.has(u)||dm(a,r,i,n)):e===2?(a?.[pp]?.leave?.has(i.index)&&l_(i,u,a),Ir.delete(u),fm(a,i,n,d=>{if(Ir.has(u)){Ir.delete(u);return}Dh(t,u,l,d)})):e===3&&(Ir.delete(u),fm(a,i,n,()=>{t.destroyNode(u)})),c!=null&&w_(t,e,n,c,i,r,s)}}function m_(e,t){Ah(e,t),t[Ue$2]=null,t[se$3]=null}function h_(e,t,n,r,o,i){r[Ue$2]=o,r[se$3]=t,oa(e,r,n,1,o,i)}function Ah(e,t){t[$e$2].changeDetectionScheduler?.notify(9),oa(e,t,t[$$3],2,null,null)}function g_(e){let t=e[gr$1];if(!t)return Cl(e[_$1],e);for(;t;){let n=null;if(vt$3(t))n=t[gr$1];else{let r=t[X$3];r&&(n=r)}if(!n){for(;t&&!t[Ae]&&t!==e;)vt$3(t)&&Cl(t[_$1],t),t=t[te$1];t===null&&(t=e),vt$3(t)&&Cl(t[_$1],t),n=t&&t[Ae]}t=n}}function ku(e,t){let n=e[Mn$1],r=n.indexOf(t);n.splice(r,1)}function ra(e,t){if(An$1(t))return;let n=t[$$3];n.destroyNode&&oa(e,t,n,3,null,null),g_(t)}function Cl(e,t){if(An$1(t))return;let n=E$1(null);try{t[w$2]&=-129,t[w$2]|=256,t[Ie]&&Pt$2(t[Ie]),y_(e,t),b_(e,t),t[_$1].type===1&&t[$$3].destroy();let r=t[qt$2];if(r!==null&&Re$2(t[te$1])){r!==t[te$1]&&ku(r,t);let o=t[rt$2];o!==null&&o.detachView(e)}jl(t)}finally{E$1(n)}}function b_(e,t){let n=e.cleanup,r=t[hr$1];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[hr$1]=null);let o=t[mt$3];if(o!==null){t[mt$3]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ht$3];if(i!==null){t[ht$3]=null;for(let s of i)s.destroy()}}function y_(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 Ln$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];H$2(L$1.LifecycleHookStart,a,c);try{c.call(a)}finally{H$2(L$1.LifecycleHookEnd,a,c)}}else{H$2(L$1.LifecycleHookStart,o,i);try{i.call(o)}finally{H$2(L$1.LifecycleHookEnd,o,i)}}}}}function Rh(e,t,n){if(t===null)throw new b$2(510,!1);return v_(e,t.parent,n)}function v_(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ue$2];if(ot$3(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ge$1.None||o===Ge$1.Emulated)return null}return ye$2(r,n)}function Oh(e,t,n){return D_(e,t,n)}function E_(e,t,n){return e.type&40?ye$2(e,n):null}var D_=E_;function Fu(e,t,n,r){let o=Rh(e,r,t),i=t[$$3],a=Oh(r.parent||t[se$3],r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)cm(i,o,n[c],a,!1);else cm(i,o,n,a,!1)}function Oo$1(e,t){if(t!==null){let n=t.type;if(n&3)return ye$2(t,e);if(n&4)return Ql(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Oo$1(e,r);{let o=e[t.index];return Re$2(o)?Ql(-1,o):le$3(o)}}else{if(n&128)return Oo$1(e,t.next);if(n&32)return Nu(t,e)()||le$3(e[t.index]);{let r=kh(e,t);if(r!==null){if(Array.isArray(r))return r[0];return Oo$1(gt$3(e[ce$3]),r)}else return Oo$1(e,t.next)}}}return null}function kh(e,t){if(t!==null){let r=e[ce$3][se$3],o=t.projection;return r.projection[o]}return null}function Ql(e,t){let n=X$3+e+1;if(n<t.length){let r=t[n],o=r[_$1].firstChild;if(o!==null)return Oo$1(r,o)}return t[Nn$1]}function Pu(e,t,n,r,o,i,s){for(;n!=null;){let a=r[yt$3];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&xr(le$3(c),r),n.flags|=2),!Js(n))if(l&8)Pu(e,t,n.child,r,o,i,!1),wr(t,e,a,o,c,n,i,r);else if(l&32){let u=Nu(n,r),d;for(;d=u();)wr(t,e,a,o,d,n,i,r);wr(t,e,a,o,c,n,i,r)}else l&16?Fh(e,t,r,n,o,i):wr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function oa(e,t,n,r,o,i){e.type===3?__(n,r,t,o,i):Pu(n,r,e.firstChild,t,o,i,!1)}function __(e,t,n,r,o){let s=n[_$1].firstChild,a=s.next,c=le$3(n[s.index]),l=le$3(n[a.index]),u=a.index+1,d=n[u];if(t===1||t===0)r!==null&&(d&&d.hasChildNodes()?Pn$1(e,r,d,o,!0):(Pn$1(e,r,c,o,!0),Pn$1(e,r,l,o,!0)));else if(t===2){if(d||(d=document.createDocumentFragment(),n[u]=d),c&&c.parentNode===d)return;let p=c;for(;p!==null;){let f=p.nextSibling;if(d.appendChild(p),p===l)break;p=f}}}function I_(e,t,n){let r=t[$$3];Fh(r,0,t,n,Rh(e,n,t),Oh(n.parent||t[se$3],n,t))}function Fh(e,t,n,r,o,i){let s=n[ce$3],c=s[se$3].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];wr(t,e,n[yt$3],o,u,r,i,n)}else{let l=c,u=s[te$1];th(r)&&(l.flags|=128),Pu(e,t,l,u,o,i,!0)}}function w_(e,t,n,r,o,i,s){let a=r[Nn$1];if(a!==le$3(r)&&wr(t,e,n,i,a,o,s),(r[w$2]&4)===0)for(let l=X$3;l<r.length;l++){let u=r[l];oa(u[_$1],u,e,t,i,a)}}function S_(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf(`-`)===-1?void 0:at$3.DashCase;o==null?e.removeStyle(n,r,i):(typeof o==`string`&&o.endsWith(`!important`)&&(o=o.slice(0,-10),i|=at$3.Important),e.setStyle(n,r,o,i))}}function Lu(e,t,n,r,o,i,s,a,c,l,u){let d=K$2+r,p=d+o,f=C_(d,p),h=typeof l==`function`?l():l;return f[_$1]={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:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i==`function`?i():i,pipeRegistry:typeof s==`function`?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function C_(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ie$2);return n}function T_(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Lu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ju(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ue$2]=o,d[w$2]=r|1228,(l!==null||e&&e[w$2]&2048)&&(d[w$2]|=2048),rl(d),d[te$1]=d[Gt$2]=e,d[Q$2]=n,d[$e$2]=s||e&&e[$e$2],d[$$3]=a||e&&e[$$3],d[yt$3]=c||e&&e[yt$3]||null,d[se$3]=i,d[Co$1]=gD(),d[Cn$1]=u,d[Qc]=l,d[ce$3]=t.type==2?e[ce$3]:d,d}function x_(e,t,n){let r=ye$2(t,e),o=T_(n),i=e[$e$2].rendererFactory,s=Bu(e,ju(e,o,null,Ph(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Ph(e){let t=16;return e.onPush&&(t=64),t}function Lh(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 Bu(e,t){return e[gr$1]?e[Kc][Ae]=t:e[gr$1]=t,e[Kc]=t,t}function zo$1(e=1){jh(z$2(),D(),Se$2()+e,!1)}function jh(e,t,n,r){if(!r)if((t[w$2]&3)===3){let i=e.preOrderCheckHooks;i!==null&&xs(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ns(t,i,0,n)}Zt$3(n)}var Wo=(function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e})(Wo||{});function Bn$1(e,t,n,r){let o=E$1(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Wo.SignalBased)!==0&&(c=t[i][ee$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):Pm(t,c,i,r)}finally{E$1(o)}}function Bh(e,t,n,r,o){let i=Se$2(),s=r&2;try{Zt$3(-1),s&&t.length>K$2&&jh(e,t,K$2,!1);H$2(s?L$1.TemplateUpdateStart:L$1.TemplateCreateStart,o,n),n(r,o)}finally{Zt$3(i);H$2(s?L$1.TemplateUpdateEnd:L$1.TemplateCreateEnd,o,n)}}function ia(e,t,n){O_(e,t,n),(n.flags&64)===64&&k_(e,t,n)}function Go$1(e,t,n=ye$2){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 N_(e,t,n,r){let i=r.get(uh,lh)||n===Ge$1.ShadowDom||n===Ge$1.ExperimentalIsolatedShadowDom;return e.selectRootElement(t,i)}function R_(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function Vh(e,t,n,r,o,i){let s=t[_$1];if(sa(e,s,t,n,r)){ot$3(e)&&$h(t,e.index);return}e.type&3&&(n=R_(n)),Hh(e,t,n,r,o,i)}function Hh(e,t,n,r,o,i){if(e.type&3){let s=ye$2(e,t);r=i!=null?i(r,e.value||``,n):r,r=Uh(n,s,r),o.setProperty(s,n,r)}else e.type&12}function Uh(e,t,n,r=!1){return e===`src`&&(t.tagName===`IMG`||t.tagName===`VIDEO`)?n==null?r?n:``:Ce$2(n):n}function $h(e,t){let n=Oe$3(t,e);n[w$2]&16||(n[w$2]|=64)}function O_(e,t,n){let r=n.directiveStart,o=n.directiveEnd;ot$3(n)&&x_(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ps(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Fo$1(t,e,s,n);if(xr(c,t),i!==null&&L_(t,s-r,c,a,n,i),it$3(a)){let l=Oe$3(n.index,t);l[Q$2]=Fo$1(t,e,s,n)}}}function k_(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Mp();try{Zt$3(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ms(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&F_(c,l)}}finally{Zt$3(-1),ms(s)}}function F_(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Vu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];xh(t,i.selectors,!1)&&(r??=[],it$3(i)?r.unshift(i):r.push(i))}return r}function P_(e,t,n,r,o,i){let s=ye$2(e,t);r=Uh(n,s,r,!0),_h(t[$$3],s,i,e.value,n,r,o)}function L_(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];Bn$1(r,n,c,l)}}function Hu(e,t,n,r,o){let i=K$2+n,s=t[_$1],a=o(s,t,e,r,n);t[i]=a,Er(e,!0);let c=e.type===2;return c?(Ih(t[$$3],a,e),(Dp()===0||yr$1(e))&&xr(a,t),_p()):xr(a,t),ys()&&(!c||!Js(e))&&Fu(s,t,a,e),e}function Uu(e){let t=e;return fl()?pl():(t=t.parent,Er(t,!1)),t}function j_(e,t){let n=e[yt$3];if(!n)return;let r;try{r=n.get(Dt$3,null)}catch{r=null}r?.(t)}function sa(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Bn$1(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Bn$1(u,l,r,o),a=!0}return a}function B_(e,t,n,r,o,i){let s=null,a=null,c=null,l=!1,u=e.directiveToIndex.get(r.type);if(typeof u==`number`?s=u:[s,a,c]=u,a!==null&&c!==null&&e.hostDirectiveInputs&&Object.hasOwn(e.hostDirectiveInputs,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],y=d[p+1];Bn$1(h,n[f],y,i),l=!0}else if(f>c)break}}return s!==null&&Object.hasOwn(r.inputs,o)&&(Bn$1(r,n[s],o,i),l=!0),l}function V_(e,t){let n=Oe$3(t,e),r=n[_$1];H_(r,n);let o=n[Ue$2];o!==null&&n[Cn$1]===null&&(n[Cn$1]=dh(o,n[yt$3])),H$2(L$1.ComponentStart);try{$u(r,n,n[Q$2])}finally{H$2(L$1.ComponentEnd,n[Q$2])}}function H_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function $u(e,t,n){gs(t);try{let r=e.viewQuery;r!==null&&Vl(1,r,n);let o=e.template;o!==null&&Bh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[rt$2]?.finishViewCreation(e),e.staticContentQueries&&fh(e,t),e.staticViewQueries&&Vl(2,e.viewQuery,n);let i=e.components;i!==null&&U_(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w$2]&=-5,bs()}}function U_(e,t){for(let n=0;n<t.length;n++)V_(e,t[n])}function qo$1(e,t,n,r){let o=E$1(null);try{let i=t.tView,s=ju(e,i,n,16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);s[qt$2]=e[t.index];let c=e[rt$2];return c!==null&&(s[rt$2]=c.createEmbeddedView(i)),$u(i,s,n),s}finally{E$1(o)}}function Nr(e,t){return!t||t.firstChild===null||th(e)}function Lo$1(e,t,n,r,o=!1){if(e.type===3){let i=e.firstChild,s=i.next,a=le$3(t[i.index]),c=le$3(t[s.index]),l=a;for(;l!==null&&(r.push(l),l!==c);)l=l.nextSibling;return r}for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];if(i!==null)if(Re$2(i)){let a=i[Nn$1];a!==i[Ue$2]&&r.push(le$3(i)),i[w$2]&4||zh(i,r),r.push(a)}else r.push(le$3(i));let s=n.type;if(s&8)Lo$1(e,t,n.child,r);else if(s&32){let a=Nu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=kh(t,n);if(Array.isArray(a))r.push(...a);else{let c=gt$3(t[ce$3]);Lo$1(c[_$1],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function zh(e,t){for(let n=X$3;n<e.length;n++){let r=e[n],o=r[_$1].firstChild;o!==null&&Lo$1(r[_$1],r,o,t)}}function Wh(e){if(e[xn$1]!==null){for(let t of e[xn$1])t.impl.addSequence(t);e[xn$1].length=0}}var Gh=[];function $_(e){return e[Ie]??z_(e)}function z_(e){let t=Gh.pop()??Object.create(G_);return t.lView=e,t}function W_(e){e.lView[Ie]!==e&&(e.lView=null,Gh.push(e))}var G_=J$2(R$3({},Ot$3),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{Rn$2(e.lView)},consumerOnSignalRead(){this.lView[Ie]=this}});function q_(e){let t=e[Ie]??Object.create(Z_);return t.lView=e,t}var Z_=J$2(R$3({},Ot$3),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=gt$3(e.lView);for(;t&&!qh(t[_$1]);)t=gt$3(t);t&&ol(t)},consumerOnSignalRead(){this.lView[Ie]=this}});function qh(e){return e.type!==2}function Zh(e){if(e[ht$3]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ht$3])if(r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()),e[ht$3]===null))return;t=n&&!!(e[w$2]&4096)}}var Y_=100;function Yh(e,t=0){let r=e[$e$2].rendererFactory;r.begin?.();try{K_(e,t)}finally{r.end?.()}}function K_(e,t){let n=ml();try{bo$1(!0),Xl(e,t);let r=0;for(;xo$1(e);){if(r===Y_)throw new b$2(103,!1);r++,Xl(e,1)}}finally{bo$1(n)}}function Q_(e,t,n,r){if(An$1(t))return;let o=t[w$2],i=!1;gs(t);let a=!0,c=null,l=null;qh(e)?(l=$_(t),c=dt$4(l)):hi$1()===null?(a=!1,l=q_(t),c=dt$4(l)):t[Ie]&&(Pt$2(t[Ie]),t[Ie]=null);try{rl(t),Tp(e.bindingStartIndex),n!==null&&Bh(e,t,n,2,r);let u=(o&3)===3;if(u){let f=e.preOrderCheckHooks;f!==null&&xs(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ns(t,f,0,null),Il(t,0)}if(X_(t),Zh(t),Qh(t,0),e.contentQueries!==null&&fh(e,t),true)if(u){let f=e.contentCheckHooks;f!==null&&xs(t,f)}else{let f=e.contentHooks;f!==null&&Ns(t,f,1),Il(t,1)}eI(e,t);let d=e.components;d!==null&&Jh(t,d,0);let p=e.viewQuery;if(p!==null&&Vl(2,p,r),true)if(u){let f=e.viewCheckHooks;f!==null&&xs(t,f)}else{let f=e.viewHooks;f!==null&&Ns(t,f,2),Il(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[is]){for(let f of t[is])f();t[is]=null}Wh(t),t[w$2]&=-73}catch(u){Kh(t,u,i)}finally{l!==null&&(Ft$1(l,c),a&&W_(l)),bs()}}function Kh(e,t,n){let r=!1,o=t,i=e,s=E$1(null);try{for(;i!==null;){if(Re$2(i)){i=i[te$1];continue}let a=i[br];if(a)try{let c=e[ce$3][Q$2],u={declarationInstance:c,declarationType:c?.constructor,caughtBy:a},d=E$1(null);try{a(zp(o),u)}finally{E$1(d)}r=!0;break}catch(c){o=c}i=i[te$1]}}finally{E$1(s)}if(!r)throw n||Rn$2(e),o}function Qh(e,t){for(let n=rh(e);n!==null;n=oh(n))for(let r=X$3;r<n.length;r++){let o=n[r];Xh(o,t)}}function X_(e){for(let t=rh(e);t!==null;t=oh(t)){if(!(t[w$2]&2))continue;let n=t[Mn$1];for(let r=0;r<n.length;r++){let o=n[r];ol(o)}}}function J_(e,t,n){H$2(L$1.ComponentStart);let r=Oe$3(t,e);try{Xh(r,n)}finally{H$2(L$1.ComponentEnd,r[Q$2])}}function Xh(e,t){cs(e)&&Xl(e,t)}function Xl(e,t){let r=e[_$1],o=e[w$2],i=e[Ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&er$1(i)),s||=!1,i&&(i.dirty=!1),e[w$2]&=-5121,s)Q_(r,e,r.template,e[Q$2]);else if(o&4096){let a=E$1(null);try{try{Zh(e)}catch(l){Kh(e,l,!1)}Qh(e,1);let c=r.components;c!==null&&Jh(e,c,1),Wh(e)}finally{E$1(a)}}}function Jh(e,t,n){for(let r=0;r<t.length;r++)J_(e,t[r],n)}function eI(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)Zt$3(~o);else{let i=o,s=n[++r],a=n[++r];Np(s,i);let c=t[i];H$2(L$1.HostBindingsUpdateStart,c);try{a(2,c)}finally{H$2(L$1.HostBindingsUpdateEnd,c)}}}}finally{Zt$3(-1)}}function zu(e,t){let n=ml()?64:1088;for(e[$e$2].changeDetectionScheduler?.notify(t);e;){e[w$2]|=n;let r=gt$3(e);if(vr$1(e)&&!r)return e;e=r}return null}function eg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function tg(e,t){let n=X$3+t;if(n<e.length)return e[n]}function Zo(e,t,n,r=!0){let o=t[_$1];if(tI(o,t,e,n),r){let s=Ql(n,e),a=t[$$3],c=a.parentNode(e[Nn$1]);c!==null&&h_(o,e[se$3],a,t,c,s)}let i=t[Cn$1];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ng(e,t){let n=jo$1(e,t);return n!==void 0&&ra(n[_$1],n),n}function jo$1(e,t){if(e.length<=X$3)return;let n=X$3+t,r=e[n];if(r){let o=r[qt$2];o!==null&&o!==e&&ku(o,r),t>0&&(e[n-1][Ae]=r[Ae]);let i=wo$1(e,X$3+t);m_(r[_$1],r);let s=i[rt$2];s!==null&&s.detachView(i[_$1]),r[te$1]=null,r[Ae]=null,r[w$2]&=-129}return r}function tI(e,t,n,r){let o=X$3+r,i=n.length;r>0&&(n[o-1][Ae]=t),r<i-X$3?(t[Ae]=n[o],zc(n,X$3+r,t)):(n.push(t),t[Ae]=null),t[te$1]=n;let s=t[qt$2];s!==null&&n!==s&&rg(s,t);let a=t[rt$2];a!==null&&a.insertView(e),ls(t),t[w$2]|=128}function rg(e,t){let n=e[Mn$1],r=t[te$1];if(vt$3(r))e[w$2]|=2;else{let o=r[te$1][ce$3];t[ce$3]!==o&&(e[w$2]|=2)}n===null?e[Mn$1]=[t]:n.push(t)}var Qt$3=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[_$1];return Lo$1(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Q$2]}set context(t){this._lView[Q$2]=t}get destroyed(){return An$1(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[te$1];if(Re$2(t)){let n=t[To$1],r=n?n.indexOf(this):-1;r>-1&&(jo$1(t,r),wo$1(n,r))}this._attachedToViewContainer=!1}ra(this._lView[_$1],this._lView)}onDestroy(t){us(this._lView,t)}markForCheck(){zu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w$2]&=-129}reattach(){ls(this._lView),this._lView[w$2]|=128}detectChanges(){this._lView[w$2]|=1024,Yh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b$2(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=vr$1(this._lView),n=this._lView[qt$2];n!==null&&!t&&ku(n,this._lView),Ah(this._lView[_$1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b$2(902,!1);this._appRef=t;let n=vr$1(this._lView),r=this._lView[qt$2];r!==null&&!n&&rg(r,this._lView),ls(this._lView)}};var Mr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nI;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){return new Qt$3(qo$1(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o}))}}return e})();function nI(){return aa(ne$1(),D())}function aa(e,t){return e.type&4?new Mr(t,e,kr(e,t)):null}function Fr(e,t,n,r,o){let i=e.data[t];if(i===null)i=rI(e,t,n,r,o),xp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Sp();i.injectorIndex=s===null?-1:s.injectorIndex}return Er(i,!0),i}function rI(e,t,n,r,o){let i=dl(),s=fl(),a=s?i:i&&i.parent,c=e.data[t]=iI(e,a,n,t,r,o);return oI(e,c,i,s),c}function oI(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 iI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return cl()&&(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:bl(),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 sI(e){let t=e[Xc]??[],r=e[te$1][$$3],o=[];for(let i of t)i.data[ch]!==void 0?o.push(i):aI(i,r);e[Xc]=o}function aI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[ah];for(;n<o;){let i=Jm(r);Dh(t,r,!1),r=i,n++}}}var cI=()=>null;var lI=()=>null;function Ls(e,t){return cI(e,t)}function og(e,t,n){return lI(e,t,n)}var ig=class{};var qe$2=class{};var Ar=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>uI()};function uI(){let e=D(),n=Oe$3(ne$1().index,e);return(vt$3(n)?n:e)[$$3]}var sg=(()=>{class e{static ɵprov=A$2({token:e,providedIn:`root`,factory:()=>null})}return e})();function ag(e){return e.debugInfo?.className||e.type.name||null}var As={};var js=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,As,r);return o!==As||n===As?o:this.parentInjector.get(t,n,r)}};function Wu(e){return ca(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function cg(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 ca(e){return e!==null&&(typeof e==`function`||typeof e==`object`)}function lg(e,t,n){return e[t]=n}function dI(e,t){return e[t]}function ve$2(e,t,n){if(n===ie$2)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Bs(e,t,n,r){let o=ve$2(e,t,n);return ve$2(e,t+1,r)||o}function fI(e,t,n,r,o){let i=Bs(e,t,n,r);return ve$2(e,t+2,o)||i}function pI(e,t,n,r,o,i){let s=Bs(e,t,n,r);return Bs(e,t+2,o,i)||s}function Cr(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&yD(o,i);zu(ot$3(e)?Oe$3(e.index,t):t,5);let a=t[Q$2],c=mm(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=mm(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function mm(e,t,n,r){let o=E$1(null);try{return H$2(L$1.OutputStart,t,n),n(r)!==!1}catch(i){return j_(e,i),!1}finally{H$2(L$1.OutputEnd,t,n),E$1(o)}}function ug(e,t,n,r,o,i,s,a){let c=yr$1(e),l=!1,u=null;if(!r&&c&&(u=hI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ye$2(e,n),p=r?r(d):d;r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!mI(i))dg(r?y=>r(le$3(y[e.index])):e.index,t,n,i,a,f,!1)}return l}function mI(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function hI(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[hr$1],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s==`string`&&(i+=2)}return null}function dg(e,t,n,r,o,i,s){let a=t.firstCreatePass?sl(t):null,c=il(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function hm(e,t,n,r,o){let i=null,s=null,a=null,c=!1,l=e.directiveToIndex.get(n.type);if(typeof l==`number`?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,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=!0,Vs(e,t,p,u[d+1],r,o);else if(p>a)break}}return Object.hasOwn(n.outputs,r)&&(c=!0,Vs(e,t,i,r,r,o)),c}function Vs(e,t,n,r,o,i){let s=t[n],a=t[_$1],d=s[a.data[n].outputs[r]].subscribe(i);dg(e.index,a,t,o,i,d,!0)}function gI(){bI()}function bI(){let e=D(),t=z$2(),n=ne$1();if(t.firstCreatePass&&EI(t,n),n.controlDirectiveIndex===-1)return;Xt$2(`NgSignalForms`);let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new Hs(e,t,n))}function yI(){vI()}function vI(){let e=D(),t=z$2(),n=Yt$2();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new Hs(e,t,n))}var Hs=class{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 ye$2(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];hm(this.tNode,this.lView,r,t,Cr(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?`valueChange`:`checkedChange`,r=this.tView.data[this.tNode.customControlIndex];hm(this.tNode,this.lView,r,n,Cr(this.tNode,this.lView,t))}setInputOnDirectives(t,n,r){let o=this.tNode.inputs?.[t],i=this.tNode.hostDirectiveInputs?.[t];if(!o&&!i)return!1;let s=!1;if(o)for(let a of o){if(a===this.tNode.controlDirectiveIndex)continue;let c=this.lView[a],l=this.tView.data[a];(!r||r(bm(c,l,t),c))&&(Bn$1(l,c,t,n),s=!0)}if(i)for(let a=0;a<i.length;a+=2){let c=i[a];if(c===this.tNode.controlDirectiveIndex)continue;let l=this.lView[c],u=i[a+1],d=this.tView.data[c];(!r||r(bm(l,d,t),l))&&(Bn$1(d,l,u,n),s=!0)}return s}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?`value`:`checked`;B_(this.tNode,this.tView,this.lView,n,r,t)}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return!1;let n=this.tView.data[this.tNode.customControlIndex];return(n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===!0}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=!0;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]]=!0;let i=gm(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]=!0}let s=gm(i.directive);s!==null&&r.push(...s)}}}return n}};function gm(e){return typeof e==`function`&&`ɵdir`in e?e.ɵdir.hostDirectives??null:null}function bm(e,t,n){if(!t.inputs||!Object.hasOwn(t.inputs,n))return;let[r,o]=t.inputs[n];if((o&Wo.SignalBased)!==0){let s=e[r][ee$2];return s.value===Qs?void 0:s.value}return e[r]}function EI(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}DI(e,t)}function DI(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(ym(r,`value`)){t.flags|=1024,t.customControlIndex=n;return}if(ym(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!1;for(let a=0;a<i.length;a+=2){let c=i[a];for(let l=0;l<s.length;l+=2)if(c===s[l])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,!0}}return!1};if(n(`value`,1024)||n(`checked`,2048))return}}function ym(e,t){return _I(e,t)&&II(e,t+`Change`)}function _I(e,t){return t in e.inputs}function II(e,t){return t in e.outputs}var Jl=Symbol(`BINDING`);var $n$1=new g(``);function Us(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=Qi$1(o,a);else if(i==2){let c=a,l=t[++s];r=Qi$1(r,c+`: `+l+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Jt$3(e,t=0){let n=D();if(n===null)return I(e,t);return Zm(ne$1(),n,re$1(e),t)}function wI(){throw new Error(`invalid`)}function fg(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}TI(e,t,n,a,i,c,l)}i!==null&&r!==null&&SI(n,r,i)}function SI(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 b$2(-301,!1);r.push(t[o],i)}}function CI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function TI(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&&it$3(f)&&(c=f,CI(e,n,p)),Pl(Ps(n,t),e,f.type)}OI(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=!1,u=!1,d=Lh(e,t,a,null);a>0&&(n.directiveToIndex=/* @__PURE__ */ new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Tr(n.mergedAttrs,f.hostAttrs),NI(e,n,t,d,f),RI(d,f,o),s!==null&&s.has(f)){let[y,v]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,v+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=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}xI(e,n,i)}function xI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))vm(0,t,o,r),vm(1,t,o,r),Dm(t,r,!1);else{let i=n.get(o);Em(0,t,i,r),Em(1,t,i,r),Dm(t,r,!0)}}}function vm(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s;e===0?(s=t.inputs??={},pg(t,i)):s=t.outputs??={},s[i]??=[],s[i].push(r)}}function Em(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s=o[i],a;e===0?(a=t.hostDirectiveInputs??={},pg(t,s)):a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i)}}function pg(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function Dm(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||xu(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&&Object.hasOwn(o,c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&Object.hasOwn(i,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 NI(e,t,n,r,o){e.data[r]=o;let s=new Ln$1(o.factory||(o.factory=Ut$2(o.type,!0)),it$3(o),Jt$3,null);e.blueprint[r]=s,n[r]=s,MI(e,t,r,Lh(e,n,o.hostVars,ie$2),o)}function MI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;AI(s)!=a&&s.push(a),s.push(n,r,i)}}function AI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function RI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;it$3(t)&&(n[``]=e)}}function OI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Gu(e,t,n,r,o,i,s,a){let c=t[_$1],l=c.consts,d=Fr(c,e,n,r,we$2(l,s));return i&&fg(c,t,d,we$2(l,a),o),d.mergedAttrs=Tr(d.mergedAttrs,d.attrs),d.attrs!==null&&Us(d,d.attrs,!1),d.mergedAttrs!==null&&Us(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function qu(e,t){Bm(e,t),Jc(t)&&e.queries.elementEnd(t)}function kI(e,t,n,r,o,i){let s=t.consts,c=Fr(t,e,n,r,we$2(s,o));if(c.mergedAttrs=Tr(c.mergedAttrs,c.attrs),i!=null){let l=we$2(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Us(c,c.attrs,!1),c.mergedAttrs!==null&&Us(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var Zu=`en-US`;function FI(){return typeof $localize<`u`&&$localize.locale||Zu}var la=new g(``,{factory:()=>m$1(la,{optional:!0,skipSelf:!0})||FI()});var mg=typeof ShadowRoot<`u`;var PI=typeof Document<`u`;function LI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Wo.SignalBased)!==0};return o&&(i.transform=o),i})}function jI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function BI(e,t,n){let r=t instanceof de$3?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new js(n,r):n}function VI(e){let t=e.get(qe$2,null);if(t===null)throw new b$2(407,!1);return{rendererFactory:t,sanitizer:e.get(sg,null),changeDetectionScheduler:e.get(nt$3,null),ngReflect:!1,tracingService:e.get(Ze$2,null,{optional:!0}),locale:e.get(la,Zu)}}function HI(e,t,n){let r=hg(e);return vh(t,r,r===`svg`?_n$1:r===`math`?ss:n)}function UI(e){if((e&&`localName`in e&&typeof e.localName==`string`?e.localName:e?.tagName)?.toLowerCase()===`script`)throw new b$2(905,!1)}function hg(e){return(e.selectors[0][0]||`div`).toLowerCase()}var Vn$1=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=LI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=jI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=i_(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s,a,c){H$2(L$1.DynamicComponentStart);let l=E$1(null);try{let u=this.componentDef,d=BI(u,o||this.ngModule,t),p=VI(d),f=p.tracingService;return f&&f.componentCreate?f.componentCreate(ag(u),()=>this.createComponentRef(p,d,n,r,i,s,a,c)):this.createComponentRef(p,d,n,r,i,s,a,c)}finally{E$1(l)}}createComponentRef(t,n,r,o,i,s,a,c){let l=this.componentDef,u=$I(o,l,s,i,c),d=t.rendererFactory.createRenderer(null,l),p=o?N_(d,o,l.encapsulation,n):HI(l,d,a??null);UI(p);let f=n.get($n$1,null),h=zI(p,()=>n.get(O$2,null)??sh());f&&f.addHost(h);let y=s?.some(_m)||i?.some(k=>typeof k!=`function`&&k.bindings.some(_m)),v=ju(null,u,null,512|Ph(l),null,null,t,d,n,null,dh(p,n,!0));f&&mg&&h instanceof ShadowRoot&&us(v,()=>{f.removeHost(h)}),v[K$2]=p,gs(v);let N=null;try{let k=Gu(K$2,v,2,`#host`,()=>u.directiveRegistry,!0,0);Ih(d,p,k),xr(p,v),ia(u,v,k),Du(u,k,v),qu(u,k),r!==void 0&&GI(k,this.ngContentSelectors,r),N=Oe$3(k.index,v),v[Q$2]=N[Q$2],$u(u,v,null)}catch(k){throw N!==null&&jl(N),jl(v),k}finally{H$2(L$1.DynamicComponentEnd),bs()}return new $s(this.componentType,v,!!y)}};function $I(e,t,n,r,o){let i=e?[`ng-version`,`22.3.0`]:s_(t.selectors[0]),s=null,a=null,c=0;if(n)for(let d of n)c+=d[Jl].requiredVars,d.create&&(d.targetIdx=0,(s??=[]).push(d)),d.update&&(d.targetIdx=0,(a??=[]).push(d));if(r)for(let d=0;d<r.length;d++){let p=r[d];if(typeof p!=`function`)for(let f of p.bindings){c+=f[Jl].requiredVars;let h=d+1;f.create&&(f.targetIdx=h,(s??=[]).push(f)),f.update&&(f.targetIdx=h,(a??=[]).push(f))}}let l=[t];if(r)for(let d of r){let f=Io$1(typeof d==`function`?d:d.type);l.push(f)}return Lu(0,null,WI(s,a),1,c,l,null,null,null,[i],null)}function zI(e,t){let n=e.getRootNode?.();return PI&&n instanceof Document?n.head:n&&mg&&n instanceof ShadowRoot?n:t().head}function WI(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 _m(e){let t=e[Jl].kind;return t===`input`||t===`twoWay`}var $s=class extends ig{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=as(n[_$1],K$2),this.location=kr(this._tNode,n),this.instance=Oe$3(this._tNode.index,n)[Q$2],this.hostView=this.changeDetectorRef=new Qt$3(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=/* @__PURE__ */ new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;sa(r,o[_$1],o,t,n);this.previousInputValues.set(t,n);zu(Oe$3(r.index,o),1)}get injector(){return new It$3(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function GI(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 Pr=(()=>{class e{static __NG_ELEMENT_ID__=qI}return e})();function qI(){return gg(ne$1(),D())}var eu=class e extends Pr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return kr(this._hostTNode,this._hostLView)}get injector(){return new It$3(this._hostTNode,this._hostLView)}get parentInjector(){let t=bu(this._hostTNode,this._hostLView);if(Um(t)){let n=ks(t,this._hostLView),r=Os(t),o=n[_$1].data[r+8];return new It$3(o,n)}else return new It$3(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Im(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-X$3}createEmbeddedView(t,n,r){let o,i,s;typeof r==`number`?o=r:r!=null&&(o=r.index,i=r.injector,s=r.onError);let a=Ls(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},i,a);return s&&(c._lView[br]=s),this.insertImpl(c,o,Nr(this._hostTNode,a)),c}createComponent(t,n,r,o,i,s,a){let c,l,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings,l=u.onError;let d=new Vn$1(bt$3(t)),p=r||this.parentInjector;if(!i&&d.ngModule==null){let k=this.parentInjector.get(de$3,null);k&&(i=k)}let f=bt$3(d.componentType??{}),h=Ls(this._lContainer,f?.id??null),y=h?.firstChild??null,v=d.create(p,o,y,i,s,a,this._getHostElementNamespace());return l&&(v.hostView._lView[br]=l),this.insertImpl(v.hostView,c,Nr(this._hostTNode,h)),v}_getHostElementNamespace(){if(this._hostTNode.type&2){let t=this._hostTNode.parent??this._hostLView[se$3];return t!==null&&t.type&2&&typeof t.value==`string`&&t.value.toLowerCase()===`foreignobject`?null:t?.namespace??null}return this._hostTNode.namespace}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[te$1],l=new e(c,c[se$3],c[te$1]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Zo(s,o,i,r),t.attachToViewContainerRef(),zc(Tl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Im(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=jo$1(this._lContainer,n);r&&(wo$1(Tl(this._lContainer),n),ra(r[_$1],r))}detach(t){let n=this._adjustIndex(t,-1),r=jo$1(this._lContainer,n);return r&&wo$1(Tl(this._lContainer),n)!=null?new Qt$3(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Im(e){return e[To$1]}function Tl(e){return e[To$1]||(e[To$1]=[])}function gg(e,t){let n,r=t[e.index];return Re$2(r)?n=r:(n=eg(r,t,null,e),t[e.index]=n,Bu(t,n)),YI(n,t,e,r),new eu(n,e,t)}function ZI(e,t){let n=e[$$3],r=n.createComment(``),o=ye$2(t,e);return Pn$1(n,n.parentNode(o),r,n.nextSibling(o),!1),r}var YI=XI;var KI=()=>!1;function QI(e,t,n){return KI(e,t,n)}function XI(e,t,n,r){if(e[Nn$1])return;let o;n.type&8?o=le$3(r):o=ZI(t,n),e[Nn$1]=o}var tu=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}};var nu=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++)Ku(t,n).matches!==null&&this.queries[n].setDirty()}};var zs=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t==`string`?this.predicate=rw(t):this.predicate=t}};var ru=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)}};var ou=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;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=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,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,JI(n,i)),this.matchTNodeWithReadOption(t,n,Ms(n,t,i,!1,!1))}else r===Mr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ms(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===oe$2||o===Pr||o===Y$1||o===Mr&&n.type&4)this.addMatch(n.index,-2);else{let i=Ms(n,t,o,!1,!1);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 JI(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 ew(e,t){return e.type&11?kr(e,t):e.type&4?aa(e,t):null}function tw(e,t,n,r){return n===-1?ew(t,e):n===-2?nw(e,t,r):Fo$1(e,e[_$1],n,t)}function nw(e,t,n){if(n===oe$2)return kr(t,e);if(n===Mr)return aa(t,e);if(n===Pr)return gg(t,e);if(n===Y$1)return new It$3(t,e)}function bg(e,t,n,r){let o=t[rt$2].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(tw(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function iu(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=bg(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=X$3;d<u.length;d++){let p=u[d];p[qt$2]===p[te$1]&&iu(p[_$1],p,l,r)}if(u[Mn$1]!==null){let d=u[Mn$1];for(let p=0;p<d.length;p++){let f=d[p];iu(f[_$1],f,l,r)}}}}}return r}function Yu(e,t){return e[rt$2].queries[t].queryList}function yg(e,t,n){let r=new jn$2((n&4)===4);return Ep(e,t,r,r.destroy),(t[rt$2]??=new nu).queries.push(new tu(r))-1}function vg(e,t,n){let r=z$2();return r.firstCreatePass&&(Dg(r,new zs(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),yg(r,D(),t)}function Eg(e,t,n,r){let o=z$2();if(o.firstCreatePass){let i=ne$1();Dg(o,new zs(t,n,r),i.index),ow(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return yg(o,D(),n)}function rw(e){return e.split(`,`).map(t=>t.trim())}function Dg(e,t,n){e.queries===null&&(e.queries=new ru),e.queries.track(new ou(t,n))}function ow(e,t){let n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}function Ku(e,t){return e.queries.getByIndex(t)}function _g(e,t){let n=e[_$1],r=Ku(n,t);return r.crossesNgTemplate?iu(n,e,t,[]):bg(n,e,r,t)}function Ig(e,t,n){let r,o=eo$1(()=>{r._dirtyCounter();let i=iw(r,e);if(t&&i===void 0)throw new b$2(-951,!1);return i});return r=o[ee$2],r._dirtyCounter=ke$3(0),r._flatValue=void 0,o}function Qu(e){return Ig(!0,!1,e)}function Xu(e){return Ig(!0,!0,e)}function wg(e,t){let n=e[ee$2];n._lView=D(),n._queryIndex=t,n._queryList=Yu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function iw(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w$2]&4)return t?void 0:ue$3;let o=Yu(n,r),i=_g(n,r);return o.reset(i,Xm),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function ua(e){return!!e&&typeof e.then==`function`}function Ju(e){return!!e&&typeof e.subscribe==`function`}var Hn$1=class{};var Sg=class{};var Ws=class extends Hn$1{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Xf(t);this._bootstrapComponents=ZD(i.bootstrap),this._r3Injector=yl(t,n,[{provide:Hn$1,useValue:this},...r],vo$1(t),/* @__PURE__ */ 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)}};var Gs=class extends Sg{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ws(this.moduleType,t,[])}};var Bo$1=class extends Hn$1{injector;instance=null;constructor(t){super();let n=new Dn$1([...t.providers,{provide:Hn$1,useValue:this}],t.parent||pr$1(),t.debugName,/* @__PURE__ */ new Set([`environment`]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Cg(e,t,n=null){return new Bo$1({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var sw=(()=>{class e{_injector;cachedInjectors=/* @__PURE__ */ new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=qc(!1,n.type),o=r.length>0?Cg([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 ɵprov=A$2({token:e,providedIn:`environment`,factory:()=>new e(I(de$3))})}return e})();function Te$1(e){return Ho$1(()=>{let t=Tg(e),n=J$2(R$3({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==vu.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(sw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,data:e.data||{},encapsulation:e.encapsulation||Ge$1.Emulated,styles:e.styles||ue$3,_:null,schemas:e.schemas||null,tView:null,id:``});t.standalone&&Xt$2(`NgStandalone`),xg(n);let r=e.dependencies;return n.directiveDefs=wm(r,aw),n.pipeDefs=wm(r,Jf),n.id=uw(n),n})}function aw(e){return bt$3(e)||Io$1(e)}function fe$3(e){return Ho$1(()=>({type:e.type,bootstrap:e.bootstrap||ue$3,declarations:e.declarations||ue$3,imports:e.imports||ue$3,exports:e.exports||ue$3,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function cw(e,t){if(e==null)return zt$2;let n={};for(let r in e)if(Object.hasOwn(e,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=Wo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function lw(e){if(e==null)return zt$2;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function xe$2(e){return Ho$1(()=>{let t=Tg(e);return xg(t),t})}function da(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Tg(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||zt$2,exportAs:e.exportAs||null,standalone:e.standalone??!0,selectors:e.selectors||ue$3,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:cw(e.inputs,t),outputs:lw(e.outputs),debugInfo:null}}function xg(e){e.features?.forEach(t=>t(e))}function wm(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 uw(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.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 Ng=new g(``);var ed=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=m$1(Ng,{optional:!0})??[];injector=m$1(Y$1);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=mr$1(this.injector,o);if(ua(i))n.push(i);else if(Ju(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();function dw(e){return t=>{t.controlDef={create:(n,r)=>{n?.ɵngControlCreate(r)},update:(n,r)=>{n?.ɵngControlUpdate?.(r)},passThroughInput:e}}}function fw(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=pw,n.hostDirectives=r?e.map(su):[e]):r?n.hostDirectives.unshift(...e.map(su)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function pw(e){let t=[],n=!1,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??=/* @__PURE__ */ new Map,o??=/* @__PURE__ */ new Map,Mg(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&it$3(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{mw(s.declaredInputs,i.inputs)}),[t,r,o]}function Mg(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)Sm(su(s),t,n,r)}else Sm(o,t,n,r)}function Sm(e,t,n,r){let o=Io$1(e.directive);if(Mg(o,t,n,r),n.has(o)){let i=n.get(o);Cm(i,e.inputs,`input`),Cm(i,e.outputs,`output`)}else r.includes(o)||(n.set(o,e),t.push(o))}function Cm(e,t,n){let r=n===`input`?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!Object.hasOwn(r,o)||r[o]===i)&&(r[o]=i)})}function su(e){return typeof e==`function`?{directive:re$1(e),inputs:{},outputs:{}}:{directive:re$1(e.directive),inputs:Tm(e.inputs),outputs:Tm(e.outputs)}}function Tm(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 mw(e,t){for(let n in t)if(Object.hasOwn(t,n)){let r=t[n];e[r]=e[n]}}function hw(e){return Object.getPrototypeOf(e.prototype).constructor}function Lr(e){let t=hw(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,Do$1)?t[Do$1]:void 0,s=Object.hasOwn(t,_o$1)?t[_o$1]:void 0;if(it$3(e))o=i??s;else{if(i&&e.selectors&&e.selectors.length>0)throw new b$2(903,!1);o=i??s}if(o){if(n){r.push(o);let c=e;c.inputs=xl(e.inputs),c.declaredInputs=xl(e.declaredInputs),c.outputs=xl(e.outputs);let l=o.hostBindings;l&&Ew(e,l);let u=o.viewQuery,d=o.contentQueries;u&&yw(e,u),d&&vw(e,d),gw(e,o),Qf(e.outputs,o.outputs);let p=o.data?.animation;if(p){let f=e.data??={};f.animation=(f.animation||[]).concat(p)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===Lr&&(n=!1)}}t=Object.getPrototypeOf(t)}bw(r)}function gw(e,t){for(let n in t.inputs){if(!Object.hasOwn(t.inputs,n)||Object.hasOwn(e.inputs,n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function bw(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=Tr(o.hostAttrs,n=Tr(n,o.hostAttrs))}}function xl(e){return e===zt$2?{}:e===ue$3?[]:e}function yw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function vw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Ew(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Ag(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Tr(e.mergedAttrs,e.attrs);let u=e.tView=Lu(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),Er(e,!1);let c=_w(n,t,e,r);ys()&&Fu(n,t,c,e),xr(c,t);let l=eg(c,t,c,e);t[r+K$2]=l,Bu(t,l),QI(l,e,t)}function Dw(e,t,n,r,o,i,s,a,c,l,u){let d=n+K$2,p;return t.firstCreatePass?(p=Fr(t,d,4,s||null,a||null),ds()&&fg(t,e,p,we$2(t.consts,l),Vu),Bm(t,p)):p=t.data[d],Ag(p,e,t,n,r,o,i,c),yr$1(p)&&ia(t,e,p),l!=null&&Go$1(e,p,u),p}function Rr$1(e,t,n,r,o,i,s,a,c,l,u){let d=n+K$2,p;if(t.firstCreatePass){if(p=Fr(t,d,4,s||null,a||null),l!=null){let f=we$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 Ag(p,e,t,n,r,o,i,c),l!=null&&Go$1(e,p,u),p}function Rg(e,t,n,r,o,i,s,a){let c=D(),l=z$2();return Dw(c,l,e,t,n,r,o,we$2(l.consts,i),void 0,s,a),Rg}function Og(e,t,n,r,o,i,s,a){let c=D(),l=z$2();return Rr$1(c,l,e,t,n,r,o,we$2(l.consts,i),void 0,s,a),Og}var _w=Iw;function Iw(e,t,n,r){return Mo$1(!0),t[$$3].createComment(``)}var kg=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=A$2({token:e,factory:e.ɵfac,providedIn:`platform`})}return e})();var td=new g(``);var nd=new g(``);function Fg(){Za(e=>{throw new b$2(-600,``)})}var ww=10;var zn$1=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m$1(Dt$3);afterRenderManager=m$1(na);zonelessEnabled=m$1(Ao$1);rootEffectScheduler=m$1(Ds);dirtyFlags=0;tracingSnapshot=null;allTestViews=/* @__PURE__ */ new Set;autoDetectTestViews=/* @__PURE__ */ new Set;includeAllTestViews=!1;afterTick=new B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m$1(On$1);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(W$2(n=>!n))}constructor(){m$1(Ze$2,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=m$1(de$3);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Y$1.NULL){return this._injector.get(P$2).run(()=>{if(H$2(L$1.BootstrapComponentStart),!this._injector.get(ed).done)throw new b$2(405,``);let a=bt$3(n),c=this._injector.get(Hn$1),l=new Vn$1(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=Sw(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),y=h.location.nativeElement,v=h.injector.get(td,null);return v?.registerApplication(y),h.onDestroy(()=>{this.detachView(h.hostView),ko$1(this.components,h),v?.unregisterApplication(y)}),this._loadComponent(h),H$2(L$1.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){H$2(L$1.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ta.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw H$2(L$1.ChangeDetectionEnd),new b$2(101,!1);let n=E$1(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E$1(n),this.afterTick.next(),H$2(L$1.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(qe$2,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<ww;){H$2(L$1.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{H$2(L$1.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!xo$1(o))continue;Yh(o,r&&!this.zonelessEnabled?0:1),n=!0}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})=>xo$1(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;ko$1(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(nd,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ko$1(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b$2(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();function Sw(e){return e===void 0||typeof e==`string`||e instanceof Element?{hostElement:e}:e}function ko$1(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Pg(e,t){let n=D();if(ve$2(n,Et$3(),t)){let o=z$2(),i=Yt$2();if(sa(i,o,n,e,t))ot$3(i)&&$h(n,i.index);else{let a=ye$2(i,n);_h(n[$$3],a,null,i.value,e,t,null)}}return Pg}function Wn$1(e,t,n,r){let o=D();if(ve$2(o,Et$3(),t)){z$2();P_(Yt$2(),o,e,t,n,r)}return Wn$1}var au=class{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 Nl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Cw(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){E$1(r);let l=t.length-1;for(E$1(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Nl(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],y=Nl(a,f,l,h,n);if(y!==0){y<0&&e.updateValue(a,h),a--,l--;continue}let v=n(s,u),N=n(a,f),k=n(s,d);if(Object.is(k,N)){let je=n(l,h);Object.is(je,v)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new qs,i??=Nm(e,s,a,n),cu(e,o,s,k))e.updateValue(s,d),s++,a++;else if(i.has(k))o.set(v,e.detach(s)),a--;else{let je=e.create(s,t[s]);e.attach(s,je),s++,a++}}for(;s<=l;)xm(e,o,n,s,t[s]),s++}else if(t!=null){E$1(r);let l=t[Symbol.iterator]();E$1(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Nl(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new qs,i??=Nm(e,s,a,n);let h=n(s,p);if(cu(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 y=n(s,d);o.set(y,e.detach(s)),a--}}}for(;!u.done;)xm(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 cu(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function xm(e,t,n,r,o){if(cu(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Nm(e,t,n,r){let o=/* @__PURE__ */ new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var qs=class{kvMap=/* @__PURE__ */ new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;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),!0}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=/* @__PURE__ */ 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 Yo(e,t,n,r,o,i,s,a){Xt$2(`NgControlFlow`);let c=D(),l=z$2();return Rr$1(c,l,e,t,n,r,o,we$2(l.consts,i),256,s,a),rd}function rd(e,t,n,r,o,i,s,a){return Xt$2(`NgControlFlow`),Tw(e,t,n,r,o,i,s,a),rd}function Tw(e,t,n,r,o,i,s,a){let c=D(),l=z$2();Rr$1(c,l,e,t,n,r,o,we$2(l.consts,i),512,s,a)}function Ko(e,t){Xt$2(`NgControlFlow`);let n=D(),r=Et$3(),o=n[r]!==ie$2?n[r]:-1,i=o!==-1?Zs(n,K$2+o):void 0,s=0;if(ve$2(n,r,e)){let a=E$1(null);try{if(i!==void 0&&ng(i,s),e!==-1){let c=K$2+e,l=Zs(n,c),u=fu(n[_$1],c),d=og(l,u,n);Zo(l,qo$1(n,u,t,{dehydratedView:d}),s,Nr(u,d))}}finally{E$1(a)}}else if(i!==void 0){let a=tg(i,s);a!==void 0&&(a[Q$2]=t)}}var lu=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-X$3}};function xw(e){return e}function Nw(e,t){return t}var uu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Mw(e,t,n,r,o,i,s,a,c,l,u,d,p){Xt$2(`NgControlFlow`);let f=D(),h=z$2(),y=c!==void 0,v=D(),k=new uu(y,a?s.bind(v[ce$3][Q$2]):s);v[K$2+e]=k,Rr$1(f,h,e+1,t,n,r,o,we$2(h.consts,i),256),y&&Rr$1(f,h,e+2,c,l,u,d,we$2(h.consts,p),512)}var du=class extends au{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-X$3}at(t){return this.getLView(t)[Q$2].$implicit}attach(t,n){let r=n[Cn$1];this.needsIndexUpdate||=t!==this.length,Zo(this.lContainer,n,t,Nr(this.templateTNode,r)),Rw(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Ow(this.lContainer,t),kw(this.lContainer,t)}create(t,n){let r=Ls(this.lContainer,this.templateTNode.tView.ssrId);return qo$1(this.hostLView,this.templateTNode,new lu(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ra(t[_$1],t)}updateValue(t,n){this.getLView(t)[Q$2].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Q$2].$index=t}getLView(t){return Fw(this.lContainer,t)}};function Aw(e){let t=E$1(null),n=Se$2();try{let r=D(),o=r[_$1],i=r[n],s=n+1,a=Zs(r,s);if(i.liveCollection===void 0)i.liveCollection=new du(a,r,fu(o,s));else i.liveCollection.reset();let c=i.liveCollection;if(Cw(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Et$3(),u=c.length===0;if(ve$2(r,l,u)){let d=n+2,p=Zs(r,d);if(u){let f=fu(o,d),h=og(p,f,r);Zo(p,qo$1(r,f,void 0,{dehydratedView:h}),0,Nr(f,h))}else o.firstUpdatePass&&sI(p),ng(p,0)}}}finally{E$1(t)}}function Zs(e,t){return e[t]}function Rw(e,t){if(e.length<=X$3)return;let r=e[X$3+t];r&&p_(r)}function Ow(e,t){if(e.length<=X$3)return;let r=e[X$3+t];r&&f_(r)}function kw(e,t){return jo$1(e,t)}function Fw(e,t){return tg(e,t)}function fu(e,t){return as(e,t)}function Lg(e,t,n){let r=D();if(ve$2(r,Et$3(),t)){z$2();Vh(Yt$2(),r,e,t,r[$$3],n)}return Lg}function pu(e,t,n,r,o){sa(t,e,n,o?`class`:`style`,r)}function Ys(e,t,n,r){let o=D(),i=o[_$1],s=e+K$2,a=i.firstCreatePass?Gu(s,o,2,t,Vu,ds(),n,r):i.data[s];if(ot$3(a)){let c=o[$e$2].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(ag(l),()=>(Mm(e,t,o,a,r),Ys))}}return Mm(e,t,o,a,r),Ys}function Mm(e,t,n,r,o){if(Hu(r,n,e,t,Bg),yr$1(r)){let i=n[_$1];ia(i,n,r),Du(i,r,n)}o!=null&&Go$1(n,r)}function od(){let e=z$2(),n=Uu(ne$1());return e.firstCreatePass&&qu(e,n),ll(n)&&ul(),al(),n.classesWithoutHost!=null&&YE(n)&&pu(e,n,D(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&KE(n)&&pu(e,n,D(),n.stylesWithoutHost,!1),od}function jg(e,t,n,r){return Ys(e,t,n,r),od(),jg}function en$2(e,t,n,r){let o=D(),i=o[_$1],s=e+K$2,a=i.firstCreatePass?kI(s,i,2,t,n,r):i.data[s];return Hu(a,o,e,t,Bg),r!=null&&Go$1(o,a),en$2}function tn$2(){return ll(Uu(ne$1()))&&ul(),al(),tn$2}function nn$2(e,t,n,r){return en$2(e,t,n,r),tn$2(),nn$2}var Bg=(e,t,n,r,o)=>(Mo$1(!0),vh(t[$$3],r,bl()));function id(e,t,n){let r=D(),o=r[_$1],i=e+K$2,s=o.firstCreatePass?Gu(i,r,8,`ng-container`,Vu,ds(),t,n):o.data[i];if(Hu(s,r,e,`ng-container`,Pw),yr$1(s)){let a=r[_$1];ia(a,r,s),Du(a,s,r)}return n!=null&&Go$1(r,s),id}function sd(){let e=z$2(),n=Uu(ne$1());return e.firstCreatePass&&qu(e,n),sd}function Vg(e,t,n){return id(e,t,n),sd(),Vg}var Pw=(e,t,n,r,o)=>(Mo$1(!0),VD(t[$$3],``));function Lw(){return D()}function Hg(e,t,n){let r=D();if(ve$2(r,Et$3(),t)){z$2();Hh(Yt$2(),r,e,t,r[$$3],n)}return Hg}function Ug(e,t,n){let r=D(),o=z$2(),i=ne$1();return zg(o,r,r[$$3],i,e,t,n),Ug}function $g(e,t,n){let r=D(),o=z$2(),i=ne$1();return(i.type&3||n)&&ug(i,o,r,n,r[$$3],e,t,Cr(i,r,t)),$g}function zg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Cr(r,t,i),ug(r,e,t,s,n,o,i,c)&&(a=!1)),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??=Cr(r,t,i),Vs(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Cr(r,t,i),Vs(r,t,d,o,o,c)}}function jw(e=1){return Fp(e)}function Bw(e,t){let n=null,r=e_(e);for(let o=0;o<t.length;o++){let i=t[o];if(i===`*`){n=o;continue}if(r===null?xh(e,i,!0):r_(r,i))return o}return n}function Gn$1(e){let t=D()[ce$3][se$3];if(!t.projection){let r=t.projection=ip(e?e.length:1,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Bw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Ye$1(e,t=0,n,r,o,i){let s=D(),a=z$2(),c=r?e+1:null;c!==null&&Rr$1(s,a,c,r,o,i,null,n);let l=Fr(a,K$2+e,16,null,n||null);l.projection===null&&(l.projection=t),pl();let d=!s[Cn$1]||cl();s[ce$3][se$3].projection[l.projection]===null&&c!==null?Vw(s,a,c):d&&!Js(l)&&I_(a,s,l)}function Vw(e,t,n){let r=K$2+n,o=t.data[r],i=e[r],s=Ls(i,o.tView.ssrId);Zo(i,qo$1(e,o,void 0,{dehydratedView:s}),0,Nr(o,s))}function Wg(e,t,n,r){return Eg(e,t,n,r),Wg}function Gg(e,t,n){return vg(e,t,n),Gg}function Hw(e){let t=D(),n=z$2(),r=hs();No$1(r+1);let o=Ku(n,r);if(e.dirty&&gp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=_g(t,r);e.reset(i,Xm),e.notifyOnChanges()}return!0}return!1}function Uw(){return Yu(D(),hs())}function qg(e,t,n,r,o){return wg(t,Eg(e,n,r,o)),qg}function Zg(e,t,n,r){return wg(e,vg(t,n,r)),Zg}function $w(e=1){No$1(hs()+e)}function zw(e){return tl(Cp(),K$2+e)}function Ts(e,t){return e<<17|t<<2}function Un$1(e){return e>>17&32767}function Ww(e){return(e&2)==2}function Gw(e,t){return e&131071|t<<17}function mu(e){return e|2}function Or(e){return(e&131068)>>2}function Ml(e,t){return e&-131069|t<<2}function qw(e){return(e&1)===1}function hu(e){return e|1}function Zw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Un$1(s),c=Or(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||fr$1(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Un$1(e[a+1]);e[r+1]=Ts(p,a),p!==0&&(e[p+1]=Ml(e[p+1],r)),e[a+1]=Gw(e[a+1],r)}else e[r+1]=Ts(a,0),a!==0&&(e[a+1]=Ml(e[a+1],r)),a=r;else e[r+1]=Ts(c,0),a===0?a=r:e[c+1]=Ml(e[c+1],r),c=r;l&&(e[r+1]=mu(e[r+1])),Am(e,u,r,!0),Am(e,u,r,!1),Yw(t,u,e,r,i),s=Ts(a,c),i?t.classBindings=s:t.styleBindings=s}function Yw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t==`string`&&fr$1(i,t)>=0&&(n[r+1]=hu(n[r+1]))}function Am(e,t,n,r){let o=e[n+1],i=t===null,s=r?Un$1(o):Or(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Kw(c,t)&&(a=!0,e[s+1]=r?hu(l):mu(l)),s=r?Un$1(l):Or(l)}a&&(e[n+1]=r?mu(o):hu(o))}function Kw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?fr$1(e,t)>=0:!1}var We$2={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Qw(e){return e.substring(We$2.key,We$2.keyEnd)}function Xw(e){return Jw(e),Yg(e,Kg(e,0,We$2.textEnd))}function Yg(e,t){let n=We$2.textEnd;return n===t?-1:(t=We$2.keyEnd=eS(e,We$2.key=t,n),Kg(e,t,n))}function Jw(e){We$2.key=0,We$2.keyEnd=0,We$2.value=0,We$2.valueEnd=0,We$2.textEnd=e.length}function Kg(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function eS(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Qg(e,t,n){return Xg(e,t,n,!1),Qg}function ct$3(e,t){return Xg(e,t,null,!0),ct$3}function Qo(e){nS(cS,tS,e,!0)}function tS(e,t){for(let n=Xw(t);n>=0;n=Yg(t,n))rs(e,Qw(t),!0)}function Xg(e,t,n,r){let o=D(),i=z$2(),s=Dr(2);if(i.firstUpdatePass&&eb(i,e,s,r),t!==ie$2&&ve$2(o,s,t)){let a=i.data[Se$2()];tb(i,a,o,o[$$3],e,o[s+1]=uS(t,n),r,s)}}function nS(e,t,n,r){let o=z$2(),i=Dr(2);o.firstUpdatePass&&eb(o,null,i,r);let s=D();if(n!==ie$2&&ve$2(s,i,n)){let a=o.data[Se$2()];if(nb(a,r)&&!Jg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Qi$1(c,n||``)),pu(o,a,s,n,r)}else lS(o,a,s,s[$$3],s[i+1],s[i+1]=aS(e,t,n),r,i)}}function Jg(e,t){return t>=e.expandoStartIndex}function eb(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Se$2()],s=Jg(e,n);nb(i,r)&&t===null&&!s&&(t=!1),t=rS(o,i,t,r),Zw(o,i,t,n,s,r)}}function rS(e,t,n,r){let o=Ap(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Al(null,e,t,n,r),n=Vo$1(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Al(o,e,t,n,r),i===null){let c=oS(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Al(null,e,t,c[1],r),c=Vo$1(c,t.attrs,r),iS(e,t,r,c))}else i=sS(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function oS(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Or(r)!==0)return e[Un$1(r)]}function iS(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Un$1(o)]=r}function sS(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Vo$1(r,s,n)}return Vo$1(r,t.attrs,n)}function Al(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=Vo$1(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Vo$1(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]),rs(e,s,n?!0:t[++i]))}return e===void 0?null:e}function aS(e,t,n){if(n==null||n===``)return ue$3;let r=[],o=Ce$2(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);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 cS(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&rs(e,r,n)}function lS(e,t,n,r,o,i,s,a){o===ie$2&&(o=ue$3);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,y;u===d?(c+=2,l+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,y=f),h!==null&&tb(e,t,n,r,h,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function tb(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1];if(!Ks(qw(l)?Rm(c,t,n,o,Or(l),s):void 0)){Ks(i)||Ww(l)&&(i=Rm(c,null,n,o,a,s));S_(r,s,el(Se$2(),n),o,i)}}function Rm(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===ie$2&&(p=d?ue$3:void 0);let f=d?os(p,r):u===r?p:void 0;if(l&&!Ks(f)&&(f=os(c,r)),Ks(f)&&(a=f,s))return a;let h=e[o+1];o=s?Un$1(h):Or(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=os(c,r))}return a}function Ks(e){return e!==void 0}function uS(e,t){return e==null||e===``||(typeof t==`string`?e=Ce$2(e)+t:typeof e==`object`&&(e=vo$1(Ce$2(e)))),e}function nb(e,t){return(e.flags&(t?8:16))!==0}function dS(e,t=``){let n=D(),r=z$2(),o=e+K$2,i=r.firstCreatePass?Fr(r,o,1,t,null):r.data[o],s=fS(r,n,i,t);n[o]=s,ys()&&Fu(r,n,s,i),Er(i,!1)}var fS=(e,t,n,r)=>(Mo$1(!0),jD(t[$$3],r));function pS(e,t,n,r=``){return ve$2(e,Et$3(),n)?t+_e$1(n)+r:ie$2}function mS(e,t,n,r,o,i=``){let a=Bs(e,ps(),n,o);return Dr(2),a?t+_e$1(n)+r+_e$1(o)+i:ie$2}function hS(e,t,n,r,o,i,s,a=``){let l=fI(e,ps(),n,o,s);return Dr(3),l?t+_e$1(n)+r+_e$1(o)+i+_e$1(s)+a:ie$2}function gS(e,t,n,r,o,i,s,a,c,l=``){let d=pI(e,ps(),n,o,s,c);return Dr(4),d?t+_e$1(n)+r+_e$1(o)+i+_e$1(s)+a+_e$1(c)+l:ie$2}function rb(e){return ad(``,e),rb}function ad(e,t,n){let r=D(),o=pS(r,e,t,n);return o!==ie$2&&fa(r,Se$2(),o),ad}function ob(e,t,n,r,o){let i=D(),s=mS(i,e,t,n,r,o);return s!==ie$2&&fa(i,Se$2(),s),ob}function ib(e,t,n,r,o,i,s){let a=D(),c=hS(a,e,t,n,r,o,i,s);return c!==ie$2&&fa(a,Se$2(),c),ib}function sb(e,t,n,r,o,i,s,a,c){let l=D(),u=gS(l,e,t,n,r,o,i,s,a,c);return u!==ie$2&&fa(l,Se$2(),u),sb}function fa(e,t,n){let r=el(t,e);BD(e[$$3],r,n)}function ab(e,t,n){Is(t)&&(t=t());let r=D();if(ve$2(r,Et$3(),t)){z$2();Vh(Yt$2(),r,e,t,r[$$3],n)}return ab}function bS(e,t){let n=Is(e);return n&&e.set(t),n}function cb(e,t){let n=D(),r=z$2(),o=ne$1();return zg(r,n,n[$$3],o,e,t),cb}function Om(e,t,n){let r=z$2();r.firstCreatePass&&lb(t,r.data,r.blueprint,it$3(e),n)}function lb(e,t,n,r,o){if(e=re$1(e),Array.isArray(e))for(let i=0;i<e.length;i++)lb(e[i],t,n,r,o);else{let i=z$2(),s=D(),a=ne$1(),c=En$1(e)?e:re$1(e.provide),l=Yc(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(En$1(e)||!e.multi){let f=new Ln$1(l,o,Jt$3,null),h=Ol(c,t,o?u:u+p,d);h===-1?(Pl(Ps(a,s),i,c),Rl(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ol(c,t,u+p,d),h=Ol(c,t,u,u+p),y=f>=0&&n[f],v=h>=0&&n[h];if(o&&!v||!o&&!y){Pl(Ps(a,s),i,c);let N=ES(o?vS:yS,n.length,o,r,l,e);!o&&v&&(n[h].providerFactory=N),Rl(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=ub(n[o?h:f],l,!o&&r);Rl(i,e,f>-1?f:h,N)}!o&&r&&v&&n[h].componentProviders++}}}function Rl(e,t,n,r){let o=En$1(t),i=dp(t);if(o||i){let c=(i?re$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 ub(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ol(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function yS(e,t,n,r,o){return gu(this.multi,[])}function vS(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Fo$1(r,r[_$1],this.providerFactory.index,o);s=c.slice(0,a),gu(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],gu(i,s);return s}function gu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function ES(e,t,n,r,o,i){let s=new Ln$1(e,n,Jt$3,null);return s.multi=[],s.index=t,s.componentProviders=0,ub(s,o,r&&!n),s}function db(e,t){return n=>{n.providersResolver=(r,o)=>Om(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Om(r,o?o(t):t,!0))}}function DS(e,t){let n=fs()+e,r=D();return r[n]===ie$2?lg(r,n,t()):dI(r,n)}function _S(e,t,n){return fb(D(),fs(),e,t,n)}function IS(e,t){let n=e[t];return n===ie$2?void 0:n}function fb(e,t,n,r,o,i){let s=t+n;return ve$2(e,s,o)?lg(e,s+1,i?r.call(i,o):r(o)):IS(e,s+1)}function wS(e,t){let n=z$2(),r,o=e+K$2;n.firstCreatePass?(r=SS(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=Ut$2(r.type,!0)),a=pe$3(Jt$3);try{let c=Fs(!1),l=i();return Fs(c),nl(n,D(),o,l),l}finally{pe$3(a)}}function SS(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function CS(e,t,n){let r=e+K$2,o=D(),i=tl(o,r);return TS(o,r)?fb(o,fs(),t,i.transform,n,i):i.transform(n)}function TS(e,t){return e[_$1].data[t].pure}function xS(e,t){return aa(e,t)}var pb=(()=>{class e{applicationErrorHandler=m$1(Dt$3);appRef=m$1(zn$1);taskService=m$1(On$1);ngZone=m$1(P$2);zonelessEnabled=m$1(Ao$1);tracing=m$1(Ze$2,{optional:!0});zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new q$2;innerNgZone=this.zoneIsDefined?this.ngZone._inner??null:null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m$1(_l,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;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=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,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?Hp:vl;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.innerNgZone!==null&&this.isInNgZone())}isInNgZone(){let n=Zone.current;for(;n;){if(n===this.innerNgZone)return!0;n=n.parent}return!1}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=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();function mb(){return[{provide:nt$3,useExisting:pb},{provide:P$2,useClass:yo$1},{provide:Ao$1,useValue:!0}]}var NS=(()=>{class e{compileModuleSync(n){return new Gs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();function MS(e,t){return eo$1(e,t?.equal)}function jr(e){return pf(e)}var AS=e=>e;function RS(e,t){if(typeof e==`function`)return hb(Ja(e,AS,t?.equal),void 0,t?.set);else return hb(Ja(e.source,e.computation,e.equal),void 0,e.set)}function hb(e,t,n){let r=e[ee$2],o=e;if(n!==void 0){let i=s=>ec(r,s);o.set=s=>n(s,i),o.update=s=>n(s(jr(e)),i)}else o.set=i=>ec(r,i),o.update=i=>ff(r,i);return o.asReadonly=vs.bind(e),o}function _b(e,t){let n=Object.create(Fm);n.value=e,n.transformFn=t?.transform;function r(){if(ut$2(n),n.value===Qs)throw new b$2(-950,null);return n.value}return r[ee$2]=n,r}var ma=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>yu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};var b2=(()=>{let e=new g(``);return e.__NG_ELEMENT_ID__=t=>{let n=ne$1();if(n===null)throw new b$2(-204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new b$2(-204,!1)},e})();function y2(e){return ZS(e)?e.default:e}function ZS(e){return e&&typeof e==`object`&&`default`in e}function gb(e,t){return _b(e,t)}function YS(e){return _b(Qs,e)}var Ib=(gb.required=YS,gb);function bb(e,t){return Qu(t)}function KS(e,t){return Xu(t)}var v2=(bb.required=KS,bb);function yb(e,t){return Qu(t)}function QS(e,t){return Xu(t)}var E2=(yb.required=QS,yb);var ld=class{supports(t){return Wu(t)}create(t){return new ud(t)}};var JS=(e,t)=>t;var ud=class{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||JS}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<vb(r,o,i)?n:r,a=vb(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??=[],!Wu(t))throw new b$2(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,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=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,cg(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(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 dd(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 ha),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 ha),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}};var dd=class{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}};var fd=class{_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}};var ha=class{map=/* @__PURE__ */ new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new fd,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 vb(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}var pd=class{supports(t){return t instanceof Map||ca(t)}create(){return new md}};var md=class{_records=/* @__PURE__ */ new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=/* @__PURE__ */ new Map;else if(!(t instanceof Map||ca(t)))throw new b$2(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new hd(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}};var hd=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Eb(){return new wb([new ld])}var wb=(()=>{class e{factories;static ɵprov=A$2({token:e,providedIn:`root`,factory:Eb});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=m$1(e,{optional:!0,skipSelf:!0});return e.create(n,r||Eb())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b$2(901,!1)}}return e})();function Db(){return new yd([new pd])}var yd=(()=>{class e{static ɵprov=A$2({token:e,providedIn:`root`,factory:Db});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=m$1(e,{optional:!0,skipSelf:!0});return e.create(n,r||Db())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b$2(901,!1)}}return e})();var eC=(()=>{class e{static __NG_ELEMENT_ID__=tC}return e})();function tC(e){return nC(ne$1(),D(),(e&16)===16)}function nC(e,t,n){if(ot$3(e)&&!n){let r=Oe$3(e.index,t);return new Qt$3(r,r)}else if(e.type&175){let r=t[ce$3];return new Qt$3(r,t)}return null}var gd=new g(``);var rC=new g(``);function Xo(e){return!e.moduleRef}function oC(e){let t=Xo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(P$2);return n.run(()=>{Xo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Dt$3),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Xo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(gd);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(gd);s.add(i),e.moduleRef.onDestroy(()=>{ko$1(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return sC(r,n,()=>{let i=t.get(On$1),s=i.add(),a=t.get(ed);return a.runInitializers(),a.donePromise.then(()=>{if(!t.get(rC,!0))return Xo(e)?t.get(zn$1):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Xo(e)){let l=t.get(zn$1);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return iC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var iC;function sC(e,t,n){try{let r=n();return ua(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var pa=null;function aC(e=[],t){return Y$1.create({name:t,providers:[{provide:So$1,useValue:`platform`},{provide:gd,useValue:/* @__PURE__ */ new Set([()=>pa=null])},...e]})}function cC(e=[]){if(pa)return pa;let t=aC(e);return pa=t,Fg(),lC(t),t}function lC(e){let t=e.get(Es,null);mr$1(e,()=>{t?.forEach(n=>n())})}function Sb(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;H$2(L$1.BootstrapApplicationStart);try{let i=o?.injector??cC(r);return oC({r3Injector:new Bo$1({providers:[mb(),Gp,...n||[]],parent:i,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{H$2(L$1.BootstrapApplicationEnd)}}function Ke$1(e){return typeof e==`boolean`?e:e!=null&&e!==`false`}function Cb(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var cd=Symbol(`NOT_SET`);var Tb=/* @__PURE__ */ new Set;var uC=J$2(R$3({},nr$1),{kind:`afterRenderEffectPhase`,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:cd,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==cd&&!er$1(this))return this.signal;try{for(let o of this.cleanup??Tb)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=dt$4(this),r;try{r=this.userFn.apply(null,t)}finally{Ft$1(this,n)}return(this.value===cd||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}});var bd=class extends Po{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null,a){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(De),s),this.scheduler=o;for(let c of Au){let l=n[c];if(l===void 0)continue;let u=Object.create(uC);u.sequence=this,u.phase=c,u.userFn=l,u.dirty=!0,u.signal=()=>(ut$2(u),u.value),u.signal[ee$2]=u,u.registerCleanupFn=d=>(u.cleanup??=/* @__PURE__ */ new Set).add(d),this.nodes[c]=u,this.hooks[c]=d=>u.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Tb)n()}finally{Pt$2(t)}}};function _2(e,t){let n=t?.injector??m$1(Y$1),r=n.get(nt$3),o=n.get(na),i=n.get(Ze$2,null,{optional:!0});o.impl??=n.get(Ru);let s=e;typeof s==`function`&&(s={mixedReadWrite:e});let a=n.get(_r,null,{optional:!0}),c=new bd(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null),void 0);return o.impl.register(c),c}function xb(e,t){let n=bt$3(e),r=t.elementInjector||pr$1(),i=new Vn$1(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings);return t.onError&&(i.hostView._lView[br]=t.onError),i}function I2(e){let t=bt$3(e);if(!t)return null;let n=new Vn$1(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}var Nb=null;function Tt$2(){return Nb}function vd(e){Nb??=e}var Jo=class{};var Br=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=A$2({token:e,factory:()=>m$1(Mb),providedIn:`platform`})}return e})();var Mb=(()=>{class e extends Br{_location;_history;_doc=m$1(O$2);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Tt$2().getBaseHref(this._doc)}onPopState(n){let r=Tt$2().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`popstate`,n,!1),()=>r.removeEventListener(`popstate`,n)}onHashChange(n){let r=Tt$2().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`hashchange`,n,!1),()=>r.removeEventListener(`hashchange`,n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static ɵfac=function(r){return new(r||e)};static ɵprov=A$2({token:e,factory:()=>new e,providedIn:`platform`})}return e})();function Ob(e,t){return e?t?e.endsWith(`/`)?t.startsWith(`/`)?e+t.slice(1):e+t:t.startsWith(`/`)?e+t:`${e}/${t}`:e:t}function Ab(e){let t=e.search(/#|\?|$/);return e[t-1]===`/`?e.slice(0,t-1)+e.slice(t):e}function rn$2(e){return e&&e[0]!==`?`?`?${e}`:e}var ga=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=A$2({token:e,factory:()=>m$1(fC),providedIn:`root`})}return e})();var dC=new g(``);var fC=(()=>{class e extends ga{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m$1(O$2).location?.origin??``}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ob(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+rn$2(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+rn$2(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+rn$2(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(I(Br),I(dC,8))};static ɵprov=A$2({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var kb=(()=>{class e{_subject=new B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=hC(Ab(Rb(r))),this._locationStrategy.onPopState(o=>{let i={url:this.path(!0),pop:!0,state:o.state,type:o.type};o.hasUAVisualTransition&&(i.hasUAVisualTransition=!0),this._subject.next(i)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=``){return this.path()==this.normalize(n+rn$2(r))}normalize(n){return e.stripTrailingSlash(mC(this._basePath,Rb(n)))}prepareExternalUrl(n){return n&&n[0]!==`/`&&(n=`/`+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r=``,o=null){this._locationStrategy.pushState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn$2(r)),o)}replaceState(n,r=``,o=null){this._locationStrategy.replaceState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn$2(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n=``,r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=rn$2;static joinWithSlash=Ob;static stripTrailingSlash=Ab;static ɵfac=function(r){return new(r||e)(I(ga))};static ɵprov=A$2({token:e,factory:()=>pC(),providedIn:`root`})}return e})();function pC(){return new kb(I(ga))}function mC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===``||[`/`,`;`,`?`,`#`].includes(n[0])?n:t}function Rb(e){return e.replace(/\/index\.html$/,``)}function hC(e){if((/* @__PURE__ */ new RegExp(`^(https?:)?//`)).test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var gC=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=m$1(Y$1);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static ɵfac=function(r){return new(r||e)(Jt$3(Pr))};static ɵdir=xe$2({type:e,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[Xs]})}return e})();var bC=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static ɵfac=function(r){return new(r||e)};static ɵpipe=da({name:`json`,type:e,pure:!1})}return e})();function Ed(e,t){return{key:e,value:t}}var yC=(()=>{class e{differs;constructor(n){this.differs=n}differ;keyValues=[];compareFn=Fb;transform(n,r=Fb){if(!n||!(n instanceof Map)&&typeof n!=`object`)return null;this.differ??=this.differs.find(n).create();let o=this.differ.diff(n),i=r!==this.compareFn;if(o||i){if(this.keyValues=[],o)o.forEachItem(s=>{this.keyValues.push(Ed(s.key,s.currentValue))});else if(n instanceof Map)n.forEach((s,a)=>this.keyValues.push(Ed(a,s)));else for(let s of Object.keys(n))this.keyValues.push(Ed(s,n[s]));r&&this.keyValues.sort(r),this.compareFn=r}return this.keyValues}static ɵfac=function(r){return new(r||e)(Jt$3(yd,16))};static ɵpipe=da({name:`keyvalue`,type:e,pure:!1})}return e})();function Fb(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n==null)return 1;if(r==null)return-1;if(typeof n==`string`&&typeof r==`string`)return n<r?-1:1;if(typeof n==`number`&&typeof r==`number`)return n-r;if(typeof n==`boolean`&&typeof r==`boolean`)return n<r?-1:1;let o=String(n),i=String(r);return o==i?0:o<i?-1:1}function ei(e,t){t=encodeURIComponent(t);for(let n of e.split(`;`)){let r=n.indexOf(`=`),[o,i]=r==-1?[n,``]:[n.slice(0,r),n.slice(r+1)];if(o.trim()!==t)continue;let s=i;try{s=decodeURIComponent(i)}catch{}return s.length>1&&s[0]===`"`&&s[s.length-1]===`"`&&(s=s.slice(1,-1)),s}return null}var Dd=`browser`;function Pb(e){return e===Dd}var ti=class{_doc;constructor(t){this._doc=t}manager};var ba=(()=>{class e extends ti{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static ɵfac=function(r){return new(r||e)(I(O$2))};static ɵprov=A$2({token:e,factory:e.ɵfac})}return e})();var Ea=new g(``);var Sd=(()=>{class e{_zone;_plugins;_eventNameToPlugin=/* @__PURE__ */ new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ba));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ba);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new b$2(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static ɵfac=function(r){return new(r||e)(I(Ea),I(P$2))};static ɵprov=A$2({token:e,factory:e.ɵfac})}return e})();var _d=`ng-app-id`;function Lb(e){for(let t of e)t.remove()}function jb(e,t){let n=t.createElement(`style`);return n.textContent=e,n}function _C(e,t,n,r){let o=e.head?.querySelectorAll(`style[${_d}="${t}"],link[${_d}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(_d),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf(`/`)+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]});return!0}function wd(e,t){let n=t.createElement(`link`);return n.setAttribute(`rel`,`stylesheet`),n.setAttribute(`href`,e),n}var Cd=(()=>{class e{doc;appId;nonce;inline=/* @__PURE__ */ new Map;external=/* @__PURE__ */ new Map;hosts=/* @__PURE__ */ new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,_C(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,jb);r?.forEach(o=>this.addUsage(o,this.external,wd))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Lb(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Lb(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,jb(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,wd(r,this.doc)))}}removeHost(n){this.hosts.delete(n);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}addElement(n,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),n.appendChild(r)}static ɵfac=function(r){return new(r||e)(I(O$2),I(_t$3),I(Fn$2,8),I(kn$1))};static ɵprov=A$2({token:e,factory:e.ɵfac})}return e})();var Id={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`};var Td=/%COMP%/g;var Vb=`%COMP%`;var IC=`_nghost-${Vb}`;var wC=`_ngcontent-${Vb}`;var SC=!0;var CC=new g(``,{factory:()=>SC});var TC=new g(``);function xC(e){return wC.replace(Td,e)}function NC(e){return IC.replace(Td,e)}function Hb(e,t){return t.map(n=>n.replace(Td,e))}var xd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=/* @__PURE__ */ new Map;defaultRenderer;cssVarNamespace;constructor(n,r,o,i,s,a,c=null,l=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.cssVarNamespace=u??``,this.defaultRenderer=new ni(n,s,a,this.tracingService,this.cssVarNamespace)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof va?o.applyToHost(n):o instanceof ri&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ge$1.Emulated:i=new va(c,l,r,this.appId,u,s,a,d,this.cssVarNamespace);break;case Ge$1.ShadowDom:return new ya(c,n,r,s,a,this.nonce,d,this.cssVarNamespace,l);case Ge$1.ExperimentalIsolatedShadowDom:return new ya(c,n,r,s,a,this.nonce,d,this.cssVarNamespace);default:i=new ri(c,l,r,u,s,a,d,this.cssVarNamespace)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static ɵfac=function(r){return new(r||e)(I(Sd),I($n$1),I(_t$3),I(CC),I(O$2),I(P$2),I(Fn$2),I(Ze$2,8),I(TC,8))};static ɵprov=A$2({token:e,factory:e.ɵfac})}return e})();var ni=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i=``){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o,this.cssVarNamespace=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Id[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Bb(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){if(t){let o=Bb(t)?t.content:t;if(r!=null&&r.parentNode!==o)throw new b$2(-5106,!1);o.insertBefore(n,r)}}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t==`string`?this.doc.querySelector(t):t;if(!r)throw new b$2(-5104,!1);return n||(r.textContent=``),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+`:`+n;let i=Id[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Id[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){let i=n.startsWith(`--`);i&&(n=n.replace(`%NS%`,this.cssVarNamespace)),i||o&(at$3.DashCase|at$3.Important)?t.style.setProperty(n,r,o&at$3.Important?`important`:``):t.style[n]=r}removeStyle(t,n,r){let o=n.startsWith(`--`);o&&(n=n.replace(`%NS%`,this.cssVarNamespace)),o||r&at$3.DashCase?t.style.removeProperty(n):t.style[n]=``}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t==`string`&&(t=Tt$2().getGlobalEventTarget(this.doc,t),!t))throw new b$2(-5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n===`__ngUnwrap__`)return t;t(n)===!1&&n.preventDefault()}}};function Bb(e){return e.tagName===`TEMPLATE`&&e.content!==void 0}var ya=class extends ni{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,o,i,a,c),this.hostEl=n,this.sharedStylesHost=l,this.shadowRoot=n.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Hb(r.id,u).map(p=>p.replace(/%NS%/g,c));for(let p of u){let f=document.createElement(`style`);s&&f.setAttribute(`nonce`,s),f.textContent=p,this.shadowRoot.appendChild(f)}let d=r.getExternalStyles?.();if(d)for(let p of d){let f=wd(p,o);s&&f.setAttribute(`nonce`,s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var ri=class extends ni{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles,d=l?Hb(l,u):u;this.styles=d.map(p=>p.replace(/%NS%/g,c)),this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Mu.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var va=class extends ri{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+`-`+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=xC(u),this.hostAttr=NC(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,``)}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,``),r}};var Da=class e extends Jo{supportsDOMEvents=!0;static makeCurrent(){vd(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n===`window`?window:n===`document`?t:n===`body`?t.body:null}getBaseHref(t){let n=MC();return n==null?null:AC(n)}resetBaseElement(){oi$1=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ei(document.cookie,t)}};var oi$1=null;function MC(){return oi$1=oi$1||document.head.querySelector(`base`),oi$1?oi$1.getAttribute(`href`):null}function AC(e){return new URL(e,document.baseURI).pathname}var Ub=[`alt`,`control`,`meta`,`shift`];var RC={"\b":`Backspace`," ":`Tab`,"":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var OC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};var $b=(()=>{class e extends ti{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Tt$2().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split(`.`),o=r.shift();if(r.length===0||!(o===`keydown`||o===`keyup`))return null;let i=e._normalizeKey(r.pop()),s=``,a=r.indexOf(`code`);if(a>-1&&(r.splice(a,1),s=`code.`),Ub.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+`.`)}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=RC[n.key]||n.key,i=``;return r.indexOf(`code.`)>-1&&(o=n.code,i=`code.`),o==null||!o?!1:(o=o.toLowerCase(),o===` `?o=`space`:o===`.`&&(o=`dot`),Ub.forEach(s=>{if(s!==o){let a=OC[s];a(n)&&(i+=s+`.`)}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n===`esc`?`escape`:n}static ɵfac=function(r){return new(r||e)(I(O$2))};static ɵprov=A$2({token:e,factory:e.ɵfac})}return e})();async function kC(e,t,n){return Sb(R$3({rootComponent:e},FC(t,n)))}function FC(e,t){return{platformRef:t?.platformRef,appProviders:[...VC,...e?.providers??[]],platformProviders:BC}}function PC(){Da.makeCurrent()}function LC(){return new he$3}function jC(){return Eu(document),document}var BC=[{provide:kn$1,useValue:Dd},{provide:Es,useValue:PC,multi:!0},{provide:O$2,useFactory:jC}];var VC=[{provide:So$1,useValue:`root`},{provide:he$3,useFactory:LC},{provide:Ea,useClass:ba,multi:!0},{provide:Ea,useClass:$b,multi:!0},xd,{provide:$n$1,useClass:Cd},{provide:Cd,useExisting:$n$1},Sd,{provide:qe$2,useExisting:xd},[]];var xt$3=class e{headers;normalizedNames=/* @__PURE__ */ new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t==`string`?this.lazyInit=()=>{this.headers=/* @__PURE__ */ new Map,t.split(`
|
|
5
|
+
`).forEach(n=>{let r=n.indexOf(`:`);if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<`u`&&t instanceof Headers?(this.headers=/* @__PURE__ */ new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=/* @__PURE__ */ new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=/* @__PURE__ */ new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:`a`})}set(t,n){return this.clone({name:t,value:n,op:`s`})}delete(t,n){return this.clone({name:t,value:n,op:`d`})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[n,r]of t.headers.entries())this.headers.set(n,r),this.normalizedNames.set(n,t.normalizedNames.get(n))}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case`a`:case`s`:let r=t.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=t.op===`a`?(this.headers.get(n)||[]).slice():[];o.push(...r),this.headers.set(n,o);break;case`d`:let i=t.value;if(i===void 0)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(n);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var wa=class{map=/* @__PURE__ */ new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};var Sa=class{encodeKey(t){return zb(t)}encodeValue(t){return zb(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function HC(e,t){let n=/* @__PURE__ */ new Map;return e.length>0&&e.replace(/^\?/,``).split(`&`).forEach(o=>{let i=o.indexOf(`=`),[s,a]=i==-1?[t.decodeKey(o),``]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var UC=/[&+#]/g;function zb(e){return encodeURI(e).replace(UC,encodeURIComponent)}function _a(e){return`${e}`}var Fe$2=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Sa,t.fromString){if(t.fromObject)throw new b$2(2805,!1);this.map=HC(t.fromString,this.encoder)}else t.fromObject?(this.map=/* @__PURE__ */ new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(_a):[_a(r)];o.length>0&&this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:`a`})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:`a`})}):n.push({param:r,value:o,op:`a`})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:`s`})}delete(t,n){return this.clone({param:t,value:n,op:`d`})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(t=>t!==``).join(`&`)}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){if(this.map===null&&(this.map=/* @__PURE__ */ new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,n]of this.cloneFrom.map.entries())this.map.set(t,n);this.updates.forEach(t=>{switch(t.op){case`a`:case`s`:let n=t.op===`a`?(this.map.get(t.param)||[]).slice():[];n.push(_a(t.value)),this.map.set(t.param,n);break;case`d`:if(t.value!==void 0){let r=(this.map.get(t.param)||[]).slice(),o=r.indexOf(_a(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null}}};function $C(e){switch(e){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function Wb(e){return typeof ArrayBuffer<`u`&&e instanceof ArrayBuffer}function Gb(e){return typeof Blob<`u`&&e instanceof Blob}function qb(e){return typeof FormData<`u`&&e instanceof FormData}function zC(e){return typeof URLSearchParams<`u`&&e instanceof URLSearchParams}var Nd=`Content-Type`;var Zb=`Accept`;var Qb=`text/plain`;var Xb=`application/json`;var WC=`${Xb}, ${Qb}, */*`;var Vr=class e{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if($C(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.reportUploadProgress=!!i.reportUploadProgress,this.reportDownloadProgress=!!i.reportDownloadProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout==`number`){if(i.timeout<1||!Number.isInteger(i.timeout))throw new b$2(2822,``);this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new xt$3,this.context??=new wa,!this.params)this.params=new Fe$2,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n,c=``,l=n.indexOf(`#`);l!==-1&&(c=n.substring(l),a=n.substring(0,l));let u=a.indexOf(`?`),d=u===-1?`?`:u<a.length-1?`&`:``;this.urlWithParams=a+d+s+c}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||Wb(this.body)||Gb(this.body)||qb(this.body)||zC(this.body)?this.body:this.body instanceof Fe$2?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||qb(this.body)?null:Gb(this.body)?this.body.type||null:Wb(this.body)?null:typeof this.body==`string`?Qb:this.body instanceof Fe$2?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?Xb:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,l=t.redirect||this.redirect,u=t.credentials||this.credentials,d=t.referrer??this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,y=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,N=t.withCredentials??this.withCredentials,k=t.reportProgress??this.reportProgress,je=t.reportUploadProgress??this.reportUploadProgress,Zr=t.reportDownloadProgress??this.reportDownloadProgress,At=t.headers||this.headers,Yr=t.params||this.params,Kr=t.context??this.context;return t.setHeaders!==void 0&&(At=Object.keys(t.setHeaders).reduce((Xn,Rt)=>Xn.set(Rt,t.setHeaders[Rt]),At)),t.setParams&&(Yr=Object.keys(t.setParams).reduce((Xn,Rt)=>Xn.set(Rt,t.setParams[Rt]),Yr)),new e(n,r,v,{params:Yr,headers:At,context:Kr,reportProgress:k,reportUploadProgress:je,reportDownloadProgress:Zr,responseType:o,withCredentials:N,transferCache:h,keepalive:i,cache:a,priority:s,timeout:y,mode:c,redirect:l,credentials:u,referrer:d,integrity:p,referrerPolicy:f})}};var Zn$1=(function(e){return e[e.Sent=0]=`Sent`,e[e.UploadProgress=1]=`UploadProgress`,e[e.ResponseHeader=2]=`ResponseHeader`,e[e.DownloadProgress=3]=`DownloadProgress`,e[e.Response=4]=`Response`,e[e.User=5]=`User`,e})(Zn$1||{});var Hr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r=`OK`){this.headers=t.headers||new xt$3,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}};var Ca=class e extends Hr{constructor(t={}){super(t)}type=Zn$1.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var ii$1=class e extends Hr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Zn$1.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}};var qn$1=class extends Hr{name=`HttpErrorResponse`;message;error;ok=!1;constructor(t){super(t,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||`(unknown url)`}`:this.message=`Http failure response for ${t.url||`(unknown url)`}: ${t.status} ${t.statusText}`,this.error=t.error||null}};var GC=200;var qC=/^\)\]\}',?\n/;var Jb=new g(``,{factory:()=>null});var Ta=(()=>{class e{fetchImpl=m$1(Md,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=m$1(P$2);destroyRef=m$1(De);maxResponseSize=m$1(Jb);handle(n){return new T$3(r=>{let o=new AbortController,i=!1,s={next:c=>{c.type===Zn$1.Response&&(i=!0),r.next(c)},error:c=>{i=!0,r.error(c)},complete:()=>{i=!0,r.complete()}};this.doRequest(n,o.signal,s).then(Ad,c=>s.error(new qn$1({error:c})));let a;return n.timeout&&(a=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException(`signal timed out`,`TimeoutError`))},n.timeout))),()=>{a!==void 0&&clearTimeout(a),!i&&!o.signal.aborted&&o.abort()}})}async doRequest(n,r,o){let i=this.createRequestInit(n),s;try{let v=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,R$3({signal:r},i)));ZC(v),o.next({type:Zn$1.Sent}),s=await v}catch(v){o.error(new qn$1({error:v,status:v.status??0,statusText:v.statusText,url:n.urlWithParams,headers:v.headers}));return}let a=new xt$3(s.headers),c=s.statusText,l=s.url||n.urlWithParams,u=s.status,d=null,p=n.reportProgress||n.reportDownloadProgress;if(p&&o.next(new Ca({headers:a,status:u,statusText:c,url:l})),s.body){let v=s.headers.get(Nd)??``,N=s.headers.get(`content-length`),k=N!==null?Number(N):NaN;this.maxResponseSize!==null&&Number.isFinite(k)&&k>this.maxResponseSize&&(await s.body.cancel(),Yb(this.maxResponseSize));let je=[],Zr=s.body.getReader(),At=0,Yr,Kr,Xn=typeof Zone<`u`&&Zone.current,Rt=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await Zr.cancel(),Rt=!0;break}let{done:$a,value:za}=await Zr.read();if($a)break;if(je.push(za),At+=za.length,this.maxResponseSize!==null&&At>this.maxResponseSize&&(await Zr.cancel(),Yb(this.maxResponseSize)),p){Kr=n.responseType===`text`?(Kr??``)+(Yr??=Kb(v)).decode(za,{stream:!0}):void 0;let ef=()=>o.next({type:Zn$1.DownloadProgress,total:Number.isFinite(k)?k:void 0,loaded:At,partialText:Kr});Xn?Xn.run(ef):ef()}}}),Rt){o.complete();return}let Xy=this.concatChunks(je,At);try{d=this.parseBody(n,Xy,v,u)}catch($a){o.error(new qn$1({error:$a,headers:new xt$3(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}u===0&&(u=d?GC:0);let f=u>=200&&u<300,h=s.redirected,y=s.type;f?(o.next(new ii$1({body:d,headers:a,status:u,statusText:c,url:l,redirected:h,responseType:y})),o.complete()):o.error(new qn$1({error:d,headers:a,status:u,statusText:c,url:l,redirected:h,responseType:y}))}parseBody(n,r,o,i){switch(n.responseType){case`json`:let s=new TextDecoder().decode(r).replace(qC,``);if(s===``)return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case`text`:return Kb(o).decode(r);case`blob`:return new Blob([r],{type:o});case`arraybuffer`:return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new b$2(2824,!1);let r={},o;if(o=n.credentials,n.withCredentials&&(o=`include`),n.headers.forEach((i,s)=>r[i]=s.join(`,`)),n.headers.has(Zb)||(r[Zb]=WC),!n.headers.has(Nd)){let i=n.detectContentTypeHeader();i!==null&&(r[Nd]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var Md=class{};function Ad(){}function ZC(e){e.then(Ad,Ad)}function Yb(e){throw new b$2(-2825,!1)}var YC=/charset=\s*["']?([^;"'\s]+)["']?/i;function Kb(e){let t=e.match(YC);if(t!==null)try{return new TextDecoder(t[1])}catch{}return new TextDecoder}var KC=new g(``,{factory:()=>!0});var QC=`XSRF-TOKEN`;var XC=new g(``,{factory:()=>QC});var JC=`X-XSRF-TOKEN`;var eT=new g(``,{factory:()=>JC});var tT=(()=>{class e{cookieName=m$1(XC);doc=m$1(O$2);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||``;return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ei(n,this.cookieName),this.lastCookieString=n),this.lastToken}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var ey=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=A$2({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(tT),o},providedIn:`root`})}return e})();function ty(e,t){if(!m$1(KC)||e.method===`GET`||e.method===`HEAD`||e.method===`QUERY`)return t(e);try{let o=m$1(Br).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch{return t(e)}let n=m$1(ey).getToken(),r=m$1(eT);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function nT(e,t){return t(e)}function rT(e,t,n){return(r,o)=>mr$1(n,()=>t(r,i=>e(i,o)))}var Rd=new g(``,{factory:()=>[ty]});var ny=new g(``);var ry=new g(``,{factory:()=>!0});var Od=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=A$2({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(Ta),o},providedIn:`root`})}return e})();var xa=(()=>{class e{backend;injector;chain=null;pendingTasks=m$1(Ro$1);contributeToStability=m$1(ry);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=this.injector.get(Na,null,{skipSelf:!0}),i=o!==null&&this.backend===o,s=this.injector.get(ny,[],i?{self:!0}:void 0),a=Array.from(/* @__PURE__ */ new Set([...this.injector.get(Rd),...s]));this.chain=a.reduceRight((c,l)=>rT(c,l,this.injector),nT)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();try{return jr(()=>r(n,i=>this.backend.handle(i))).pipe(lo$1(o))}catch(i){throw o(),i}}else return jr(()=>r(n,o=>this.backend.handle(o)))}static ɵfac=function(r){return new(r||e)(I(Od),I(de$3))};static ɵprov=A$2({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Na=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=A$2({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(xa),o},providedIn:`root`})}return e})();function Ia(e,t){return R$3({body:t},e)}var Ur=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Vr)i=n;else{let c;o.headers instanceof xt$3?c=o.headers:c=new xt$3(o.headers);let l;o.params&&(o.params instanceof Fe$2?l=o.params:l=new Fe$2({fromObject:o.params})),i=new Vr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||`json`,withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=Ve$1(i).pipe(gc(c=>this.handler.handle(c)));if(n instanceof Vr||o.observe===`events`)return s;let a=s.pipe(He$2(c=>c instanceof ii$1));switch(o.observe||`body`){case`body`:switch(i.responseType){case`arraybuffer`:return a.pipe(W$2(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b$2(2806,!1);return c.body}));case`blob`:return a.pipe(W$2(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b$2(2807,!1);return c.body}));case`text`:return a.pipe(W$2(c=>{if(c.body!==null&&typeof c.body!=`string`)throw new b$2(2808,!1);return c.body}));default:return a.pipe(W$2(c=>c.body))}case`response`:return a;default:throw new b$2(2809,!1)}}delete(n,r={}){return this.request(`DELETE`,n,r)}get(n,r={}){return this.request(`GET`,n,r)}head(n,r={}){return this.request(`HEAD`,n,r)}jsonp(n,r){return this.request(`JSONP`,n,{params:new Fe$2().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(n,r={}){return this.request(`OPTIONS`,n,r)}patch(n,r,o={}){return this.request(`PATCH`,n,Ia(o,r))}post(n,r,o={}){return this.request(`POST`,n,Ia(o,r))}query(n,r,o={}){return this.request(`QUERY`,n,Ia(o,r))}put(n,r,o={}){return this.request(`PUT`,n,Ia(o,r))}static ɵfac=function(r){return new(r||e)(I(Na))};static ɵprov=A$2({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var kd=(function(e){return e[e.Interceptors=0]=`Interceptors`,e[e.LegacyInterceptors=1]=`LegacyInterceptors`,e[e.CustomXsrfConfiguration=2]=`CustomXsrfConfiguration`,e[e.NoXsrfProtection=3]=`NoXsrfProtection`,e[e.JsonpSupport=4]=`JsonpSupport`,e[e.RequestsMadeViaParent=5]=`RequestsMadeViaParent`,e[e.Fetch=6]=`Fetch`,e[e.Xhr=7]=`Xhr`,e})(kd||{});function oT(e,t){return{ɵkind:e,ɵproviders:t}}function iT(...e){let t=[Ur,Ta,xa,{provide:Na,useExisting:xa},{provide:Od,useFactory:()=>m$1(Ta)},{provide:Rd,useValue:ty,multi:!0}];for(let n of e)t.push(...n.ɵproviders);return Wt$2(t)}function sT(e){return oT(kd.Interceptors,e.map(t=>({provide:Rd,useValue:t,multi:!0})))}var T$=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||``}static ɵfac=function(r){return new(r||e)(I(O$2))};static ɵprov=A$2({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var si$1=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=A$2({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(cT),o},providedIn:`root`})}return e})();var cT=(()=>{class e extends si$1{_doc=m$1(O$2);sanitize(n,r){if(r==null)return null;switch(n){case j$2.NONE:return r;case j$2.HTML:return St$4(r,`HTML`)?Ce$2(r):Tu(this._doc,String(r)).toString();case j$2.STYLE:return St$4(r,`Style`)?Ce$2(r):r;case j$2.SCRIPT:if(St$4(r,`Script`))return Ce$2(r);throw new b$2(5200,!1);case j$2.URL:return St$4(r,`URL`)?Ce$2(r):Uo$1(String(r));case j$2.RESOURCE_URL:if(St$4(r,`ResourceURL`))return Ce$2(r);throw new b$2(-5201,!1);default:throw new b$2(5202,!1)}}bypassSecurityTrustHtml(n){return _u(n)}bypassSecurityTrustStyle(n){return Iu(n)}bypassSecurityTrustScript(n){return wu(n)}bypassSecurityTrustUrl(n){return Su(n)}bypassSecurityTrustResourceUrl(n){return Cu(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var Ma=/* @__PURE__ */ new WeakMap;var Nt$3=(()=>{class e{_appRef;_injector=m$1(Y$1);_environmentInjector=m$1(de$3);load(n){let r=this._appRef=this._appRef||this._injector.get(zn$1),o=Ma.get(r);o||(o={loaders:/* @__PURE__ */ new Set,refs:[]},Ma.set(r,o),r.onDestroy(()=>{Ma.get(r)?.refs.forEach(i=>i.destroy()),Ma.delete(r)})),o.loaders.has(n)||(o.loaders.add(n),o.refs.push(xb(n,{environmentInjector:this._environmentInjector})))}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var Ra=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=Te$1({type:e,selectors:[[`ng-component`]],exportAs:[`cdkVisuallyHidden`],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden {
|
|
6
|
+
border: 0;
|
|
7
|
+
clip: rect(0 0 0 0);
|
|
8
|
+
height: 1px;
|
|
9
|
+
margin: -1px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
padding: 0;
|
|
12
|
+
position: absolute;
|
|
13
|
+
width: 1px;
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
outline: 0;
|
|
16
|
+
-webkit-appearance: none;
|
|
17
|
+
-moz-appearance: none;
|
|
18
|
+
left: 0;
|
|
19
|
+
}
|
|
20
|
+
[dir=rtl] .cdk-visually-hidden {
|
|
21
|
+
left: auto;
|
|
22
|
+
right: 0;
|
|
23
|
+
}
|
|
24
|
+
`],encapsulation:2})}return e})();var Aa;function uT(){if(Aa===void 0&&(Aa=null,typeof window<`u`)){let e=window;if(e.trustedTypes!==void 0)try{Aa=e.trustedTypes.createPolicy(`angular#components`,{createHTML:t=>t})}catch(t){console.error(t)}}return Aa}function Yn$1(e){return uT()?.createHTML(e)||e}function oy(e,t,n){e.innerHTML=Yn$1(n.sanitize(j$2.HTML,t)||``)}function iy(e){return Error(`Unable to find icon with the name "${e}"`)}function dT(){return Error(`Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.`)}function sy(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function ay(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Mt$4=class{url;svgText;options;svgElement=null;constructor(t,n,r){this.url=t,this.svgText=n,this.options=r}};var ly=(()=>{class e{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=/* @__PURE__ */ new Map;_iconSetConfigs=/* @__PURE__ */ new Map;_cachedIconsByUrl=/* @__PURE__ */ new Map;_inProgressUrlFetches=/* @__PURE__ */ new Map;_fontCssClassesByAlias=/* @__PURE__ */ new Map;_resolvers=[];_defaultFontSetClass;constructor(n,r,o,i){this._httpClient=n,this._sanitizer=r,this._errorHandler=i,this._document=o}addSvgIcon(n,r,o){return this.addSvgIconInNamespace(``,n,r,o)}addSvgIconLiteral(n,r,o){return this.addSvgIconLiteralInNamespace(``,n,r,o)}addSvgIconInNamespace(n,r,o,i){return this._addSvgIconConfig(n,r,new Mt$4(o,null,i))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,o,i){let s=this._sanitizer.sanitize(j$2.HTML,o);if(!s)throw ay(o);let a=Yn$1(s);return this._addSvgIconConfig(n,r,new Mt$4(``,a,i))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace(``,n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace(``,n,r)}addSvgIconSetInNamespace(n,r,o){return this._addSvgIconSetConfig(n,new Mt$4(r,null,o))}addSvgIconSetLiteralInNamespace(n,r,o){let i=this._sanitizer.sanitize(j$2.HTML,r);if(!i)throw ay(r);let s=Yn$1(i);return this._addSvgIconSetConfig(n,new Mt$4(``,s,o))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass??=pT(this._document),this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(j$2.RESOURCE_URL,n);if(!r)throw sy(n);let o=this._cachedIconsByUrl.get(r);return o?Ve$1(Oa(o)):this._loadSvgIconFromConfig(new Mt$4(n,null)).pipe(Me(i=>this._cachedIconsByUrl.set(r,i)),W$2(i=>Oa(i)))}getNamedSvgIcon(n,r=``){let o=cy(r,n),i=this._svgIconConfigs.get(o);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(r,n),i)return this._svgIconConfigs.set(o,i),this._getSvgFromConfig(i);let s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(n,s):pc(iy(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?Ve$1(Oa(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(W$2(r=>Oa(r)))}_getSvgFromIconSetConfigs(n,r){let o=this._extractIconWithNameFromAnySet(n,r);if(o)return Ve$1(o);return hc(r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(co$1(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(j$2.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),Ve$1(null)})))).pipe(W$2(()=>{let s=this._extractIconWithNameFromAnySet(n,r);if(!s)throw iy(n);return s}))}_extractIconWithNameFromAnySet(n,r){for(let o=r.length-1;o>=0;o--){let i=r[o];if(i.svgText&&i.svgText.toString().indexOf(n)>-1){let s=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(s,n,i.options);if(a)return a}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Me(r=>n.svgText=r),W$2(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?Ve$1(null):this._fetchIcon(n).pipe(Me(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,o){let i=n.querySelector(`[id="${r}"]`);if(!i)return null;let s=i.cloneNode(!0);if(s.removeAttribute(`id`),s.nodeName.toLowerCase()===`svg`)return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()===`symbol`)return this._setSvgAttributes(this._toSvgElement(s),o);let a=this._svgElementFromString(Yn$1(`<svg></svg>`));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(n){let r=this._document.createElement(`DIV`);r.innerHTML=n;let o=r.querySelector(`svg`);if(!o)throw Error(`<svg> tag not found`);return o}_toSvgElement(n){let r=this._svgElementFromString(Yn$1(`<svg></svg>`)),o=n.attributes;for(let i=0;i<o.length;i++){let{name:s,value:a}=o[i],c=s.toLowerCase();c!==`id`&&!c.startsWith(`on`)&&r.setAttribute(s,a)}for(let i=0;i<n.childNodes.length;i++)n.childNodes[i].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[i].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute(`fit`,``),n.setAttribute(`height`,`100%`),n.setAttribute(`width`,`100%`),n.setAttribute(`preserveAspectRatio`,`xMidYMid meet`),n.setAttribute(`focusable`,`false`),r&&r.viewBox&&n.setAttribute(`viewBox`,r.viewBox),n}_fetchIcon(n){let{url:r,options:o}=n,i=o?.withCredentials??!1;if(!this._httpClient)throw dT();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(j$2.RESOURCE_URL,r);if(!s)throw sy(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:`text`,withCredentials:i}).pipe(W$2(l=>Yn$1(l)),lo$1(()=>this._inProgressUrlFetches.delete(s)),uo$1());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(n,r,o){return this._svgIconConfigs.set(cy(n,r),o),this}_addSvgIconSetConfig(n,r){let o=this._iconSetConfigs.get(n);return o?o.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let o=0;o<this._resolvers.length;o++){let i=this._resolvers[o](r,n);if(i)return fT(i)?new Mt$4(i.url,null,i.options):new Mt$4(i,null)}}static ɵfac=function(r){return new(r||e)(I(Ur,8),I(si$1),I(O$2,8),I(he$3))};static ɵprov=A$2({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function Oa(e){return e.cloneNode(!0)}function cy(e,t){return e+`:`+t}function fT(e){return!!(e.url&&e.options)}function pT(e){let t=null,n=!1;return e.fonts&&typeof e.fonts.forEach==`function`&&e.fonts.forEach(r=>{let o=r.family.replace(/['"]/g,``).trim().toLowerCase();(o===`material icons`||o.startsWith(`material icons `))&&(n=!0),o.startsWith(`material symbols rounded`)?t=`rounded`:o.startsWith(`material symbols sharp`)?t=`sharp`:o.startsWith(`material symbols`)&&(t=`outlined`)}),[t&&!n?`material-symbols-${t}`:`material-icons`,`mat-ligature-font`]}var mT=new g(`cdk-dir-doc`,{providedIn:`root`,factory:()=>m$1(O$2)});var hT=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function uy(e){let t=e?.toLowerCase()||``;return t===`auto`&&typeof navigator<`u`&&navigator?.language?hT.test(navigator.language)?`rtl`:`ltr`:t===`rtl`?`rtl`:`ltr`}var gT=(()=>{class e{get value(){return this.valueSignal()}valueSignal=ke$3(`ltr`);change=new me$3;constructor(){let n=m$1(mT,{optional:!0});if(n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.valueSignal.set(uy(r||o||`ltr`))}}ngOnDestroy(){this.change.complete()}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var $r=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=fe$3({type:e});static ɵinj=ae$3({})}return e})();var bT=new g(`MAT_ICON_DEFAULT_OPTIONS`);var yT=new g(`mat-icon-location`,{providedIn:`root`,factory:()=>{let e=m$1(O$2),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:``}}});var dy=[`clip-path`,`color-profile`,`src`,`cursor`,`fill`,`filter`,`marker`,`marker-start`,`marker-mid`,`marker-end`,`mask`,`stroke`];var vT=dy.map(e=>`[${e}]`).join(`, `);var ET=/^url\(['"]?#(.*?)['"]?\)$/;var i8=(()=>{class e{_elementRef=m$1(oe$2);_iconRegistry=m$1(ly);_location=m$1(yT);_errorHandler=m$1(he$3);_defaultColor;get color(){return this._color||this._defaultColor}set color(n){this._color=n}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(n){let r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=q$2.EMPTY;constructor(){let n=m$1(new ma(`aria-hidden`),{optional:!0}),r=m$1(bT,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),n||this._elementRef.nativeElement.setAttribute(`aria-hidden`,`true`)}_splitIconName(n){if(!n)return[``,``];let r=n.split(`:`);switch(r.length){case 1:return[``,r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=n.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()===`svg`)&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),r.forEach(o=>n.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes(`mat-ligature-font`)&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n==`string`?n.trim().split(` `)[0]:n}_prependPathToReferences(n){let r=this._elementsWithExternalReferences,o=n.startsWith(`//`)?`/.${n}`:n;r&&r.forEach((i,s)=>{i.forEach(a=>{s.setAttribute(a.name,`url('${o}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(vT),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||/* @__PURE__ */ new Map;for(let i=0;i<r.length;i++)dy.forEach(s=>{let a=r[i],c=a.getAttribute(s),l=c?c.match(ET):null;if(l){let u=o.get(a);u||(u=[],o.set(a,u)),u.push({name:s,value:l[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[r,o]=this._splitIconName(n);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(tt$2(1)).subscribe(i=>this._setSvgElement(i),i=>{let s=`Error retrieving icon ${r}:${o}! ${i.message}`;this._errorHandler.handleError(new Error(s))})}}static ɵfac=function(r){return new(r||e)};static ɵcmp=(function(){return Te$1({type:e,selectors:[[`mat-icon`]],hostAttrs:[`role`,`img`,1,`mat-icon`,`notranslate`],hostVars:10,hostBindings:function(o,i){o&2&&(Wn$1(`data-mat-icon-type`,i._usingFontIcon()?`font`:`svg`)(`data-mat-icon-name`,i._svgName||i.fontIcon)(`data-mat-icon-namespace`,i._svgNamespace||i.fontSet)(`fontIcon`,i._usingFontIcon()?i.fontIcon:null),Qo(i.color?`mat-`+i.color:``),ct$3(`mat-icon-inline`,i.inline)(`mat-icon-no-color`,i.color!==`primary`&&i.color!==`accent`&&i.color!==`warn`))},inputs:{color:`color`,inline:[2,`inline`,`inline`,Ke$1],svgIcon:`svgIcon`,fontSet:`fontSet`,fontIcon:`fontIcon`},exportAs:[`matIcon`],ngContentSelectors:[`*`],decls:1,vars:0,template:function(o,i){o&1&&(Gn$1(),Ye$1(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {
|
|
25
|
+
color: var(--%NS%mat-icon-color, inherit);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.mat-icon {
|
|
29
|
+
-webkit-user-select: none;
|
|
30
|
+
user-select: none;
|
|
31
|
+
background-repeat: no-repeat;
|
|
32
|
+
display: inline-block;
|
|
33
|
+
fill: currentColor;
|
|
34
|
+
height: 24px;
|
|
35
|
+
width: 24px;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
}
|
|
38
|
+
.mat-icon.mat-icon-inline {
|
|
39
|
+
font-size: inherit;
|
|
40
|
+
height: inherit;
|
|
41
|
+
line-height: inherit;
|
|
42
|
+
width: inherit;
|
|
43
|
+
}
|
|
44
|
+
.mat-icon.mat-ligature-font[fontIcon]::before {
|
|
45
|
+
content: attr(fontIcon);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[dir=rtl] .mat-icon-rtl-mirror {
|
|
49
|
+
transform: scale(-1, 1);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,
|
|
53
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon {
|
|
54
|
+
display: block;
|
|
55
|
+
}
|
|
56
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,
|
|
57
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {
|
|
58
|
+
margin: auto;
|
|
59
|
+
}
|
|
60
|
+
`],encapsulation:2})})()}return e})();var s8=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=fe$3({type:e});static ɵinj=ae$3({imports:[$r]})}return e})();function ai$1(e){return e.buttons===0||e.detail===0}function ci$1(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Fd;function fy(){if(Fd==null){let e=typeof document<`u`?document.head:null;Fd=!!(e&&(e.createShadowRoot||e.attachShadow))}return Fd}function Pd(e){if(fy()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<`u`&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function DT(){let e=typeof document<`u`&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function Qe$2(e){if(e.composedPath)try{return e.composedPath()[0]}catch{}return e.target}var Ld;try{Ld=typeof Intl<`u`&&Intl.v8BreakIterator}catch{Ld=!1}var ge$3=(()=>{class e{_platformId=m$1(kn$1);isBrowser=this._platformId?Pb(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||Ld)&&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 ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var li$1;function py(){if(li$1==null&&typeof window<`u`)try{window.addEventListener(`test`,null,Object.defineProperty({},"passive",{get:()=>li$1=!0}))}finally{li$1=li$1||!1}return li$1}function zr(e){return py()?e:!!e.capture}function jd(e,t=0){return my(e)?Number(e):arguments.length===2?t:0}function my(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function lt$4(e){return e instanceof oe$2?e.nativeElement:e}var hy=new g(`cdk-input-modality-detector-options`);var gy={ignoreKeys:[18,17,224,91,16]};var by=650;var Bd={passive:!0,capture:!0};var yy=(()=>{class e{_platform=m$1(ge$3);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new pn$1(null);_options;_lastTouchMs=0;_onKeydown=n=>{this._options?.ignoreKeys?.some(r=>r===n.keyCode)||(this._modality.next(`keyboard`),this._mostRecentTarget=Qe$2(n))};_onMousedown=n=>{Date.now()-this._lastTouchMs<by||(this._modality.next(ai$1(n)?`keyboard`:`mouse`),this._mostRecentTarget=Qe$2(n))};_onTouchstart=n=>{if(ci$1(n)){this._modality.next(`keyboard`);return}this._lastTouchMs=Date.now(),this._modality.next(`touch`),this._mostRecentTarget=Qe$2(n)};constructor(){let n=m$1(P$2),r=m$1(O$2),o=m$1(hy,{optional:!0});if(this._options=R$3(R$3({},gy),o),this.modalityDetected=this._modality.pipe(fo$1(1)),this.modalityChanged=this.modalityDetected.pipe(vc()),this._platform.isBrowser){let i=m$1(qe$2).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[i.listen(r,`keydown`,this._onKeydown,Bd),i.listen(r,`mousedown`,this._onMousedown,Bd),i.listen(r,`touchstart`,this._onTouchstart,Bd)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(n=>n())}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var ui$1=(function(e){return e[e.IMMEDIATE=0]=`IMMEDIATE`,e[e.EVENTUAL=1]=`EVENTUAL`,e})(ui$1||{});var vy=new g(`cdk-focus-monitor-default-options`);var ka=zr({passive:!0,capture:!0});var Fa=(()=>{class e{_ngZone=m$1(P$2);_platform=m$1(ge$3);_inputModalityDetector=m$1(yy);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=/* @__PURE__ */ new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=/* @__PURE__ */ new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=m$1(O$2);_stopInputModalityDetector=new B;constructor(){let n=m$1(vy,{optional:!0});this._detectionMode=n?.detectionMode||ui$1.IMMEDIATE}_rootNodeFocusAndBlurListener=n=>{let r=Qe$2(n);for(let o=r;o;o=o.parentElement)n.type===`focus`?this._onFocus(n,o):this._onBlur(n,o)};monitor(n,r=!1){let o=lt$4(n);if(!this._platform.isBrowser||o.nodeType!==1)return Ve$1();let i=Pd(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new B,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(n){let r=lt$4(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){let i=lt$4(n);i===this._document.activeElement?this._getClosestElementsInfo(i).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof i.focus==`function`&&i.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?`touch`:`program`:this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?`mouse`:`program`}_shouldBeAttributedToTouch(n){return this._detectionMode===ui$1.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle(`cdk-focused`,!!r),n.classList.toggle(`cdk-touch-focused`,r===`touch`),n.classList.toggle(`cdk-keyboard-focused`,r===`keyboard`),n.classList.toggle(`cdk-mouse-focused`,r===`mouse`),n.classList.toggle(`cdk-program-focused`,r===`program`)}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n===`touch`&&r,this._detectionMode===ui$1.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?by:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,r){let o=this._elementInfo.get(r),i=Qe$2(n);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(n,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener(`focus`,this._rootNodeFocusAndBlurListener,ka),r.addEventListener(`blur`,this._rootNodeFocusAndBlurListener,ka)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener(`focus`,this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(po$1(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener(`focus`,this._rootNodeFocusAndBlurListener,ka),r.removeEventListener(`blur`,this._rootNodeFocusAndBlurListener,ka),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener(`focus`,this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((o,i)=>{(i===n||o.checkChildren&&i.contains(n))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!==`mouse`||!r||r===n||n.nodeName!==`INPUT`&&n.nodeName!==`TEXTAREA`||n.disabled)return!1;let i=n.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var _T=(()=>{class e{_elementRef=m$1(oe$2);_focusMonitor=m$1(Fa);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new me$3;get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let n=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(n,n.nodeType===1&&n.hasAttribute(`cdkMonitorSubtreeFocus`)).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static ɵfac=function(r){return new(r||e)};static ɵdir=xe$2({type:e,selectors:[[``,`cdkMonitorElementFocus`,``],[``,`cdkMonitorSubtreeFocus`,``]],outputs:{cdkFocusChange:`cdkFocusChange`},exportAs:[`cdkMonitorFocus`]})}return e})();function Vd(e){return Array.isArray(e)?e:[e]}var Ey=/* @__PURE__ */ new Set;var Kn$1;var Pa=(()=>{class e{_platform=m$1(ge$3);_nonce=m$1(Fn$2,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):wT}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&IT(n,this._nonce),this._matchMedia(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();function IT(e,t){if(!Ey.has(e))try{Kn$1||(Kn$1=document.createElement(`style`),t&&Kn$1.setAttribute(`nonce`,t),Kn$1.setAttribute(`type`,`text/css`),document.head.appendChild(Kn$1)),Kn$1.sheet&&(Kn$1.sheet.insertRule(`@media ${e.replace(/[{}]/g,``)} {body{ }}`,0),Ey.add(e))}catch(n){console.error(n)}}function wT(e){return{matches:e===`all`||e===``,media:e,addListener:()=>{},removeListener:()=>{}}}var Hd=(()=>{class e{_mediaMatcher=m$1(Pa);_zone=m$1(P$2);_queries=/* @__PURE__ */ new Map;_destroySubject=new B;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Dy(Vd(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let i=mc(Dy(Vd(n)).map(s=>this._registerQuery(s).observable));return i=Vt$2(i.pipe(tt$2(1)),i.pipe(fo$1(1),bn$1(0))),i.pipe(W$2(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),i={observable:new T$3(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Dc(r),W$2(({matches:s})=>({query:n,matches:s})),po$1(this._destroySubject)),mql:r};return this._queries.set(n,i),i}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();function Dy(e){return e.map(t=>t.split(`,`)).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}function ST(e){if(e.type===`characterData`&&e.target instanceof Comment)return!0;if(e.type===`childList`){for(let t=0;t<e.addedNodes.length;t++)if(!(e.addedNodes[t]instanceof Comment))return!1;for(let t=0;t<e.removedNodes.length;t++)if(!(e.removedNodes[t]instanceof Comment))return!1;return!0}return!1}var _y=(()=>{class e{create(n){return typeof MutationObserver>`u`?null:new MutationObserver(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var Iy=(()=>{class e{_mutationObserverFactory=m$1(_y);_observedElements=/* @__PURE__ */ new Map;_ngZone=m$1(P$2);ngOnDestroy(){this._observedElements.forEach((n,r)=>this._cleanupObserver(r))}observe(n){let r=lt$4(n);return new T$3(o=>{let s=this._observeElement(r).pipe(W$2(a=>a.filter(c=>!ST(c))),He$2(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(n){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(n))this._observedElements.get(n).count++;else{let r=new B,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:r,count:1})}return this._observedElements.get(n).stream})}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:r,stream:o}=this._observedElements.get(n);r&&r.disconnect(),o.complete(),this._observedElements.delete(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var X8=(()=>{class e{_contentObserver=m$1(Iy);_elementRef=m$1(oe$2);event=new me$3;get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(n){this._debounce=jd(n),this._subscribe()}_debounce;_currentSubscription=null;ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?n.pipe(bn$1(this.debounce)):n).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static ɵfac=function(r){return new(r||e)};static ɵdir=xe$2({type:e,selectors:[[``,`cdkObserveContent`,``]],inputs:{disabled:[2,`cdkObserveContentDisabled`,`disabled`,Ke$1],debounce:`debounce`},outputs:{event:`cdkObserveContent`},exportAs:[`cdkObserveContent`]})}return e})();var wy=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=fe$3({type:e});static ɵinj=ae$3({providers:[_y]})}return e})();var xy=(()=>{class e{_platform=m$1(ge$3);isDisabled(n){return n.hasAttribute(`disabled`)}isVisible(n){return TT(n)&&getComputedStyle(n).visibility===`visible`}isTabbable(n){if(!this._platform.isBrowser)return!1;let r=CT(FT(n));if(r&&(Sy(r)===-1||!this.isVisible(r)))return!1;let o=n.nodeName.toLowerCase(),i=Sy(n);return n.hasAttribute(`contenteditable`)?i!==-1:o===`iframe`||o===`object`||this._platform.WEBKIT&&this._platform.IOS&&!OT(n)?!1:o===`audio`?n.hasAttribute(`controls`)?i!==-1:!1:o===`video`?i===-1?!1:i!==null?!0:this._platform.FIREFOX||n.hasAttribute(`controls`):n.tabIndex>=0}isFocusable(n,r){return kT(n)&&!this.isDisabled(n)&&(r?.ignoreInert||!n.closest?.(`[inert]`))&&(r?.ignoreVisibility||this.isVisible(n))}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();function CT(e){try{return e.frameElement}catch{return null}}function TT(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects==`function`&&e.getClientRects().length)}function xT(e){let t=e.nodeName.toLowerCase();return t===`input`||t===`select`||t===`button`||t===`textarea`}function NT(e){return AT(e)&&e.type==`hidden`}function MT(e){return RT(e)&&e.hasAttribute(`href`)}function AT(e){return e.nodeName.toLowerCase()==`input`}function RT(e){return e.nodeName.toLowerCase()==`a`}function Ny(e){if(!e.hasAttribute(`tabindex`)||e.tabIndex===void 0)return!1;let t=e.getAttribute(`tabindex`);return!!(t&&!isNaN(parseInt(t,10)))}function Sy(e){if(!Ny(e))return null;let t=parseInt(e.getAttribute(`tabindex`)||``,10);return isNaN(t)?-1:t}function OT(e){let t=e.nodeName.toLowerCase(),n=t===`input`&&e.type;return n===`text`||n===`password`||t===`select`||t===`textarea`}function kT(e){return NT(e)?!1:xT(e)||MT(e)||e.hasAttribute(`contenteditable`)||Ny(e)}function FT(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var La=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>{!this.focusLastTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};endAnchorListener=()=>{!this.focusFirstTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};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=!0;constructor(t,n,r,o,i=!1,s){this._element=t,this._checker=n,this._ngZone=r,this._document=o,this._injector=s,i||this.attachAnchors()}destroy(){let t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener(`focus`,this.startAnchorListener),t.remove()),n&&(n.removeEventListener(`focus`,this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(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=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let n=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t==`start`?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let n=this._element.querySelector(`[cdk-focus-initial], [cdkFocusInitial]`);if(n){if(!this._checker.isFocusable(n)){let r=this._getFirstTabbableElement(n);return r?.focus(t),!!r}return n.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let n=this._getRegionBoundary(`start`);return n&&n.focus(t),!!n}focusLastTabbableElement(t){let n=this._getRegionBoundary(`end`);return n&&n.focus(t),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children;for(let r=0;r<n.length;r++){let o=n[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[r]):null;if(o)return o}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children;for(let r=n.length-1;r>=0;r--){let o=n[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[r]):null;if(o)return o}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,n){t?n.setAttribute(`tabindex`,`0`):n.removeAttribute(`tabindex`)}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){Ou(t,{injector:this._injector})}};var PT=(()=>{class e{_checker=m$1(xy);_ngZone=m$1(P$2);_document=m$1(O$2);_injector=m$1(Y$1);constructor(){m$1(Nt$3).load(Ra)}create(n,r=!1){return new La(n,this._checker,this._ngZone,this._document,r,this._injector)}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var My=new g(`liveAnnouncerElement`,{providedIn:`root`,factory:()=>null});var Ay=new g(`LIVE_ANNOUNCER_DEFAULT_OPTIONS`);var LT=0;var jT=(()=>{class e{_ngZone=m$1(P$2);_defaultOptions=m$1(Ay,{optional:!0});_liveElement;_document=m$1(O$2);_sanitizer=m$1(si$1);_previousTimeout;_currentPromise;_currentResolve;constructor(){let n=m$1(My,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...r){let o=this._defaultOptions,i,s;return r.length===1&&typeof r[0]==`number`?s=r[0]:[i,s]=r,this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:`polite`),s==null&&o&&(s=o.duration),this._liveElement.setAttribute(`aria-live`,i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!n||typeof n==`string`?this._liveElement.textContent=n:oy(this._liveElement,n,this._sanitizer),typeof s==`number`&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent=``)}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n=`cdk-live-announcer-element`,r=this._document.getElementsByClassName(n),o=this._document.createElement(`div`);for(let i=0;i<r.length;i++)r[i].remove();return o.classList.add(n),o.classList.add(`cdk-visually-hidden`),o.setAttribute(`aria-atomic`,`true`),o.setAttribute(`aria-live`,`polite`),o.id=`cdk-live-announcer-${LT++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll(`body > .cdk-overlay-container [aria-modal="true"]`);for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute(`aria-owns`);s?s.indexOf(n)===-1&&i.setAttribute(`aria-owns`,s+` `+n):i.setAttribute(`aria-owns`,n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var on$2=(function(e){return e[e.NONE=0]=`NONE`,e[e.BLACK_ON_WHITE=1]=`BLACK_ON_WHITE`,e[e.WHITE_ON_BLACK=2]=`WHITE_ON_BLACK`,e})(on$2||{});var Cy=`cdk-high-contrast-black-on-white`;var Ty=`cdk-high-contrast-white-on-black`;var Ud=`cdk-high-contrast-active`;var Ry=(()=>{class e{_platform=m$1(ge$3);_hasCheckedHighContrastMode=!1;_document=m$1(O$2);_breakpointSubscription;constructor(){this._breakpointSubscription=m$1(Hd).observe(`(forced-colors: active)`).subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return on$2.NONE;let n=this._document.createElement(`div`);n.style.backgroundColor=`rgb(1,2,3)`,n.style.position=`absolute`,this._document.body.appendChild(n);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,i=(o&&o.backgroundColor||``).replace(/ /g,``);switch(n.remove(),i){case`rgb(0,0,0)`:case`rgb(45,50,54)`:case`rgb(32,32,32)`:return on$2.WHITE_ON_BLACK;case`rgb(255,255,255)`:case`rgb(255,250,239)`:return on$2.BLACK_ON_WHITE}return on$2.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Ud,Cy,Ty),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===on$2.BLACK_ON_WHITE?n.add(Ud,Cy):r===on$2.WHITE_ON_BLACK&&n.add(Ud,Ty)}}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var BT=(()=>{class e{constructor(){m$1(Ry)._applyBodyHighContrastModeCssClasses()}static ɵfac=function(r){return new(r||e)};static ɵmod=fe$3({type:e});static ɵinj=ae$3({imports:[wy]})}return e})();var VT=200;var ja=class{_letterKeyStream=new B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new B;selectedItem=this._selectedItem;constructor(t,n){let r=typeof n?.debounceInterval==`number`?n.debounceInterval:VT;n?.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),this.setItems(t),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){let n=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(Me(n=>this._pressedLetters.push(n)),bn$1(t),He$2(()=>this._pressedLetters.length>0),W$2(()=>this._pressedLetters.join(``).toLocaleUpperCase())).subscribe(n=>{for(let r=1;r<this._items.length+1;r++){let o=(this._selectedItemIndex+r)%this._items.length,i=this._items[o];if(!this._skipPredicateFn?.(i)&&i.getLabel?.().toLocaleUpperCase().trim().indexOf(n)===0){this._selectedItem.next(i);break}}this._pressedLetters=[]})}};function Oy(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Wr=class{_items;_activeItemIndex=ke$3(-1);_activeItem=ke$3(null);_wrap=!1;_typeaheadSubscription=q$2.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,n){this._items=t,t instanceof jn$2?this._itemChangesSubscription=t.changes.subscribe(r=>this._itemsChanged(r.toArray())):Kt$3(t)&&(this._effectRef=_s(()=>this._itemsChanged(t()),{injector:n}))}tabOut=new B;change=new B;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let n=this._getItemsArray();return this._typeahead=new ja(n,{debounceInterval:typeof t==`number`?t:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,n=10){return this._pageUpAndDown={enabled:t,delta:n},this}setActiveItem(t){let n=this._activeItem();this.updateActiveItem(t),this._activeItem()!==n&&this.change.next(this._activeItemIndex())}onKeydown(t){let n=t.keyCode,o=[`altKey`,`ctrlKey`,`metaKey`,`shiftKey`].every(i=>!t[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal===`rtl`?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal===`rtl`?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(i<s?i:s-1,-1);break}else return;default:(o||Oy(t,`shiftKey`))&&this._typeahead?.handleKey(t);return}this._typeahead?.reset(),t.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let n=this._getItemsArray(),r=typeof t==`number`?t:n.indexOf(t),o=n[r];this._activeItem.set(o??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let n=this._getItemsArray();for(let r=1;r<=n.length;r++){let o=(this._activeItemIndex()+t*r+n.length)%n.length,i=n[o];if(!this._skipPredicateFn(i)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t)}_setActiveItemByIndex(t,n){let r=this._getItemsArray();if(r[t]){for(;this._skipPredicateFn(r[t]);)if(t+=n,!r[t])return;this.setActiveItem(t)}}_getItemsArray(){return Kt$3(this._items)?this._items():this._items instanceof jn$2?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);let n=this._activeItem();if(n){let r=t.indexOf(n);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var $d=class extends Wr{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}};var zd=class extends Wr{_origin=`program`;setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var ky=/* @__PURE__ */ new Map;var Wd=class e{_appId=m$1(_t$3);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(t,n=!1){this._appId!==`ng`&&(t+=this._appId);let r=ky.get(t);return r===void 0?r=0:r++,ky.set(t,r),`${t}${n?e._infix+`-`:``}${r}`}static ɵfac=function(n){return new(n||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})};var Py=` `;function HT(e,t,n){let r=Va(e,t);n=n.trim(),!r.some(o=>o.trim()===n)&&(r.push(n),e.setAttribute(t,r.join(Py)))}function UT(e,t,n){let r=Va(e,t);n=n.trim();let o=r.filter(i=>i!==n);o.length?e.setAttribute(t,o.join(Py)):e.removeAttribute(t)}function Va(e,t){return e.getAttribute(t)?.match(/\S+/g)??[]}var Ly=`cdk-describedby-message`;var Ba=`cdk-describedby-host`;var qd=0;var Kz=(()=>{class e{_platform=m$1(ge$3);_document=m$1(O$2);_messageRegistry=/* @__PURE__ */ new Map;_messagesContainer=null;_id=`${qd++}`;constructor(){m$1(Nt$3).load(Ra),this._id=m$1(_t$3)+`-`+qd++}describe(n,r,o){if(!this._canBeDescribed(n,r))return;let i=Gd(r,o);typeof r!=`string`?(Fy(r,this._id),this._messageRegistry.set(i,{messageElement:r,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(r,o),this._isElementDescribedByMessage(n,i)||this._addMessageReference(n,i)}removeDescription(n,r,o){if(!r||!this._isElementNode(n))return;let i=Gd(r,o);if(this._isElementDescribedByMessage(n,i)&&this._removeMessageReference(n,i),typeof r==`string`){let s=this._messageRegistry.get(i);s&&s.referenceCount===0&&this._deleteMessageElement(i)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${Ba}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(Ba);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let o=this._document.createElement(`div`);Fy(o,this._id),o.textContent=n,r&&o.setAttribute(`role`,r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Gd(n,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(n){this._messageRegistry.get(n)?.messageElement?.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n=`cdk-describedby-message-container`,r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let i=0;i<r.length;i++)r[i].remove();let o=this._document.createElement(`div`);o.style.visibility=`hidden`,o.classList.add(n),o.classList.add(`cdk-visually-hidden`),this._platform.isBrowser||o.setAttribute(`platform`,`server`),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(n){let r=Va(n,`aria-describedby`).filter(o=>o.indexOf(Ly)!=0);n.setAttribute(`aria-describedby`,r.join(` `))}_addMessageReference(n,r){let o=this._messageRegistry.get(r);HT(n,`aria-describedby`,o.messageElement.id),n.setAttribute(Ba,this._id),o.referenceCount++}_removeMessageReference(n,r){let o=this._messageRegistry.get(r);o.referenceCount--,UT(n,`aria-describedby`,o.messageElement.id),n.removeAttribute(Ba)}_isElementDescribedByMessage(n,r){let o=Va(n,`aria-describedby`),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r==`object`)return!0;let o=r==null?``:`${r}`.trim(),i=n.getAttribute(`aria-label`);return o?!i||i.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();function Gd(e,t){return typeof e==`string`?`${t||``}/${e}`:e}function Fy(e,t){e.id||(e.id=`${Ly}-${t}-${qd++}`)}var di$1=(function(e){return e[e.NORMAL=0]=`NORMAL`,e[e.NEGATED=1]=`NEGATED`,e[e.INVERTED=2]=`INVERTED`,e})(di$1||{});var Ha;var Qn$1;function o3(){if(Qn$1==null){if(typeof document!=`object`||!document||typeof Element!=`function`||!Element)return Qn$1=!1,Qn$1;if(document.documentElement?.style&&`scrollBehavior`in document.documentElement.style)Qn$1=!0;else{let e=Element.prototype.scrollTo;e?Qn$1=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Qn$1=!1}}return Qn$1}function i3(){if(typeof document!=`object`||!document)return di$1.NORMAL;if(Ha==null){let e=document.createElement(`div`),t=e.style;e.dir=`rtl`,t.width=`1px`,t.overflow=`auto`,t.visibility=`hidden`,t.pointerEvents=`none`,t.position=`absolute`;let n=document.createElement(`div`),r=n.style;r.width=`2px`,r.height=`1px`,e.appendChild(n),document.body.appendChild(e),Ha=di$1.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Ha=e.scrollLeft===0?di$1.NEGATED:di$1.INVERTED),e.remove()}return Ha}function a3(){return typeof __karma__<`u`&&!!__karma__||typeof jasmine<`u`&&!!jasmine||typeof jest<`u`&&!!jest||typeof Mocha<`u`&&!!Mocha}var Gr;var jy=[`color`,`button`,`checkbox`,`date`,`datetime-local`,`email`,`file`,`hidden`,`image`,`month`,`number`,`password`,`radio`,`range`,`reset`,`search`,`submit`,`tel`,`text`,`time`,`url`,`week`];function l3(){if(Gr)return Gr;if(typeof document!=`object`||!document)return Gr=new Set(jy),Gr;let e=document.createElement(`input`);return Gr=new Set(jy.filter(t=>(e.setAttribute(`type`,t),e.type===t))),Gr}var m3={XSmall:`(max-width: 599.98px)`,Small:`(min-width: 600px) and (max-width: 959.98px)`,Medium:`(min-width: 960px) and (max-width: 1279.98px)`,Large:`(min-width: 1280px) and (max-width: 1919.98px)`,XLarge:`(min-width: 1920px)`,Handset:`(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)`,Tablet:`(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)`,Web:`(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)`,HandsetPortrait:`(max-width: 599.98px) and (orientation: portrait)`,TabletPortrait:`(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)`,WebPortrait:`(min-width: 840px) and (orientation: portrait)`,HandsetLandscape:`(max-width: 959.98px) and (orientation: landscape)`,TabletLandscape:`(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)`,WebLandscape:`(min-width: 1280px) and (orientation: landscape)`};var $T=new g(`MATERIAL_ANIMATIONS`);var By=null;function zT(){return m$1($T,{optional:!0})?.animationsDisabled||m$1(Dl,{optional:!0})===`NoopAnimations`?`di-disabled`:(By??=m$1(Pa).matchMedia(`(prefers-reduced-motion)`).matches,By?`reduced-motion`:`enabled`)}function qr(){return zT()!==`enabled`}function E3(e){return e==null?``:typeof e==`string`?e:`${e}px`}function _3(e){return e!=null&&`${e}`!=`false`}var Pe$2=(function(e){return e[e.FADING_IN=0]=`FADING_IN`,e[e.VISIBLE=1]=`VISIBLE`,e[e.FADING_OUT=2]=`FADING_OUT`,e[e.HIDDEN=3]=`HIDDEN`,e})(Pe$2||{});var Zd=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Pe$2.HIDDEN;constructor(t,n,r,o=!1){this._renderer=t,this.element=n,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}};var Vy=zr({passive:!0,capture:!0});var Yd=class{_events=/* @__PURE__ */ new Map;addHandler(t,n,r,o){let i=this._events.get(n);if(i){let s=i.get(r);s?s.add(o):i.set(r,/* @__PURE__ */ new Set([o]))}else this._events.set(n,/* @__PURE__ */ new Map([[r,/* @__PURE__ */ new Set([o])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,Vy)})}removeHandler(t,n,r){let o=this._events.get(t);if(!o)return;let i=o.get(n);i&&(i.delete(r),i.size===0&&o.delete(n),o.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Vy)))}_delegateEventHandler=t=>{let n=Qe$2(t);n&&this._events.get(t.type)?.forEach((r,o)=>{(o===n||o.contains(n))&&r.forEach(i=>i.handleEvent(t))})}};var fi$1={enterDuration:225,exitDuration:150};var WT=800;var Hy=zr({passive:!0,capture:!0});var Uy=[`mousedown`,`touchstart`];var $y=[`mouseup`,`mouseleave`,`touchend`,`touchcancel`];var GT=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=Te$1({type:e,selectors:[[`ng-component`]],hostAttrs:[`mat-ripple-style-loader`,``],decls:0,vars:0,template:function(r,o){},styles:[`.mat-ripple {
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
position: relative;
|
|
63
|
+
}
|
|
64
|
+
.mat-ripple:not(:empty) {
|
|
65
|
+
transform: translateZ(0);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.mat-ripple.mat-ripple-unbounded {
|
|
69
|
+
overflow: visible;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.mat-ripple-element {
|
|
73
|
+
position: absolute;
|
|
74
|
+
border-radius: 50%;
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);
|
|
77
|
+
transform: scale3d(0, 0, 0);
|
|
78
|
+
background-color: var(--%NS%mat-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 10%, transparent));
|
|
79
|
+
}
|
|
80
|
+
@media (forced-colors: active) {
|
|
81
|
+
.mat-ripple-element {
|
|
82
|
+
display: none;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {
|
|
86
|
+
display: none;
|
|
87
|
+
}
|
|
88
|
+
`],encapsulation:2})}return e})();var pi$1=class e{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=/* @__PURE__ */ new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Yd;constructor(t,n,r,o,i){this._target=t,this._ngZone=n,this._platform=o,o.isBrowser&&(this._containerElement=lt$4(r)),i&&i.get(Nt$3).load(GT)}fadeInRipple(t,n,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=R$3(R$3({},fi$1),r.animation);r.centered&&(t=o.left+o.width/2,n=o.top+o.height/2);let s=r.radius||qT(t,n,o),a=t-o.left,c=n-o.top,l=i.enterDuration,u=document.createElement(`div`);u.classList.add(`mat-ripple-element`),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),p=d.transitionProperty,f=d.transitionDuration,h=p===`none`||f===`0s`||f===`0s, 0s`||o.width===0&&o.height===0,y=new Zd(this,u,r,h);u.style.transform=`scale3d(1, 1, 1)`,y.state=Pe$2.FADING_IN,r.persistent||(this._mostRecentTransientRipple=y);let v=null;return!h&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let N=()=>{v&&(v.fallbackTimer=null),clearTimeout(je),this._finishRippleTransition(y)},k=()=>this._destroyRipple(y),je=setTimeout(k,l+100);u.addEventListener(`transitionend`,N),u.addEventListener(`transitioncancel`,k),v={onTransitionEnd:N,onTransitionCancel:k,fallbackTimer:je}}),this._activeRipples.set(y,v),(h||!l)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(t.state===Pe$2.FADING_OUT||t.state===Pe$2.HIDDEN)return;let n=t.element,r=R$3(R$3({},fi$1),t.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity=`0`,t.state=Pe$2.FADING_OUT,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let n=lt$4(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Uy.forEach(r=>{e._eventManager.addHandler(this._ngZone,r,n,this)}))}handleEvent(t){t.type===`mousedown`?this._onMousedown(t):t.type===`touchstart`?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$y.forEach(n=>{this._triggerElement.addEventListener(n,this,Hy)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Pe$2.FADING_IN?this._startFadeOutTransition(t):t.state===Pe$2.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=Pe$2.VISIBLE,!r&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Pe$2.HIDDEN,n!==null&&(t.element.removeEventListener(`transitionend`,n.onTransitionEnd),t.element.removeEventListener(`transitioncancel`,n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){let n=ai$1(t),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+WT;!this._target.rippleDisabled&&!n&&!r&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!ci$1(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=t.changedTouches;if(n)for(let r=0;r<n.length;r++)this.fadeInRipple(n[r].clientX,n[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let n=t.state===Pe$2.VISIBLE||t.config.terminateOnPointerUp&&t.state===Pe$2.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Uy.forEach(n=>e._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&($y.forEach(n=>t.removeEventListener(n,this,Hy)),this._pointerUpEventsRegistered=!1))}};function qT(e,t,n){let r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),o=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+o*o)}var Kd=new g(`mat-ripple-global-options`);var F3=(()=>{class e{_elementRef=m$1(oe$2);_animationsDisabled=qr();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let n=m$1(P$2),r=m$1(ge$3),o=m$1(Kd,{optional:!0}),i=m$1(Y$1);this._globalOptions=o||{},this._rippleRenderer=new pi$1(this,n,this._elementRef,r,i)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:R$3(R$3(R$3({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,r=0,o){return typeof n==`number`?this._rippleRenderer.fadeInRipple(n,r,R$3(R$3({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,R$3(R$3({},this.rippleConfig),n))}static ɵfac=function(r){return new(r||e)};static ɵdir=xe$2({type:e,selectors:[[``,`mat-ripple`,``],[``,`matRipple`,``]],hostAttrs:[1,`mat-ripple`],hostVars:2,hostBindings:function(r,o){r&2&&ct$3(`mat-ripple-unbounded`,o.unbounded)},inputs:{color:[0,`matRippleColor`,`color`],unbounded:[0,`matRippleUnbounded`,`unbounded`],centered:[0,`matRippleCentered`,`centered`],radius:[0,`matRippleRadius`,`radius`],animation:[0,`matRippleAnimation`,`animation`],disabled:[0,`matRippleDisabled`,`disabled`],trigger:[0,`matRippleTrigger`,`trigger`]},exportAs:[`matRipple`]})}return e})();var ZT={capture:!0};var YT=[`focus`,`mousedown`,`mouseenter`,`touchstart`];var Qd=`mat-ripple-loader-uninitialized`;var Xd=`mat-ripple-loader-class-name`;var zy=`mat-ripple-loader-centered`;var Ua=`mat-ripple-loader-disabled`;var Wy=(()=>{class e{_document=m$1(O$2);_animationsDisabled=qr();_globalRippleOptions=m$1(Kd,{optional:!0});_platform=m$1(ge$3);_ngZone=m$1(P$2);_injector=m$1(Y$1);_eventCleanups;_hosts=/* @__PURE__ */ new Map;constructor(){let n=m$1(qe$2).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>YT.map(r=>n.listen(this._document,r,this._onInteraction,ZT)))}ngOnDestroy(){let n=this._hosts.keys();for(let r of n)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(n,r){n.setAttribute(Qd,this._globalRippleOptions?.namespace??``),(r.className||!n.hasAttribute(Xd))&&n.setAttribute(Xd,r.className||``),r.centered&&n.setAttribute(zy,``),r.disabled&&n.setAttribute(Ua,``)}setDisabled(n,r){let o=this._hosts.get(n);o?(o.target.rippleDisabled=r,!r&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(n))):r?n.setAttribute(Ua,``):n.removeAttribute(Ua)}_onInteraction=n=>{let r=Qe$2(n);if(r instanceof HTMLElement){let o=r.closest(`[${Qd}="${this._globalRippleOptions?.namespace??``}"]`);o&&this._createRipple(o)}};_createRipple(n){if(!this._document||this._hosts.has(n))return;n.querySelector(`.mat-ripple`)?.remove();let r=this._document.createElement(`span`);r.classList.add(`mat-ripple`,n.getAttribute(Xd)),n.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??fi$1.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??fi$1.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||n.hasAttribute(Ua),rippleConfig:{centered:n.hasAttribute(zy),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new pi$1(a,this._ngZone,r,this._platform,this._injector),l=!a.rippleDisabled;l&&c.setupTriggerEvents(n),this._hosts.set(n,{target:a,renderer:c,hasSetUpEvents:l}),n.removeAttribute(Qd)}destroyRipple(n){let r=this._hosts.get(n);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(n))}static ɵfac=function(r){return new(r||e)};static ɵprov=F$1({token:e,factory:e.ɵfac})}return e})();var Gy=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=Te$1({type:e,selectors:[[`structural-styles`]],decls:0,vars:0,template:function(r,o){},styles:[`.mat-focus-indicator {
|
|
89
|
+
position: relative;
|
|
90
|
+
}
|
|
91
|
+
.mat-focus-indicator::before {
|
|
92
|
+
top: 0;
|
|
93
|
+
left: 0;
|
|
94
|
+
right: 0;
|
|
95
|
+
bottom: 0;
|
|
96
|
+
position: absolute;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
pointer-events: none;
|
|
99
|
+
display: var(--%NS%mat-focus-indicator-display, none);
|
|
100
|
+
border-width: var(--%NS%mat-focus-indicator-border-width, 3px);
|
|
101
|
+
border-style: var(--%NS%mat-focus-indicator-border-style, solid);
|
|
102
|
+
border-color: var(--%NS%mat-focus-indicator-border-color, transparent);
|
|
103
|
+
border-radius: var(--%NS%mat-focus-indicator-border-radius, 4px);
|
|
104
|
+
}
|
|
105
|
+
.mat-focus-indicator:focus-visible::before {
|
|
106
|
+
content: "";
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@media (forced-colors: active) {
|
|
110
|
+
html {
|
|
111
|
+
--%NS%mat-focus-indicator-display: block;
|
|
112
|
+
--%NS%mat-focus-indicator-fallback-border-style: none;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
`],encapsulation:2})}return e})();var KT=new g(`MAT_BUTTON_CONFIG`);function qy(e){return e==null?void 0:Cb(e)}var Jd=(()=>{class e{_elementRef=m$1(oe$2);_ngZone=m$1(P$2);_animationsDisabled=qr();_config=m$1(KT,{optional:!0});_focusMonitor=m$1(Fa);_cleanupClick;_renderer=m$1(Ar);_rippleLoader=m$1(Wy);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(n){this.tabIndex=n}showProgress=Ib(!1,{transform:Ke$1});constructor(){m$1(Nt$3).load(Gy);let n=this._elementRef.nativeElement;this._isAnchor=n.tagName===`A`,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(n,{className:`mat-mdc-button-ripple`})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n=`program`,r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,`click`,n=>{this.disabled&&(n.preventDefault(),n.stopImmediatePropagation())}))}static ɵfac=function(r){return new(r||e)};static ɵdir=xe$2({type:e,hostAttrs:[1,`mat-mdc-button-base`],hostVars:15,hostBindings:function(r,o){r&2&&(Wn$1(`disabled`,o._getDisabledAttribute())(`aria-disabled`,o._getAriaDisabled())(`tabindex`,o._getTabIndex()),Qo(o.color?`mat-`+o.color:``),ct$3(`mat-mdc-button-progress-indicator-shown`,o.showProgress())(`mat-mdc-button-disabled`,o.disabled)(`mat-mdc-button-disabled-interactive`,o.disabledInteractive)(`mat-unthemed`,!o.color)(`_mat-animation-noopable`,o._animationsDisabled))},inputs:{color:`color`,disableRipple:[2,`disableRipple`,`disableRipple`,Ke$1],disabled:[2,`disabled`,`disabled`,Ke$1],ariaDisabled:[2,`aria-disabled`,`ariaDisabled`,Ke$1],disabledInteractive:[2,`disabledInteractive`,`disabledInteractive`,Ke$1],tabIndex:[2,`tabIndex`,`tabIndex`,qy],_tabindex:[2,`tabindex`,`_tabindex`,qy],showProgress:[1,`showProgress`]}})}return e})();var QT=(()=>{class e extends Jd{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static ɵfac=function(r){return new(r||e)};static ɵcmp=(function(){let n=[`*`,[[``,`progressIndicator`,``]]],r=[`*`,`[progressIndicator]`];function o(i,s){i&1&&(en$2(0,`div`,1),Ye$1(1,1),tn$2())}return Te$1({type:e,selectors:[[`button`,`mat-icon-button`,``],[`a`,`mat-icon-button`,``],[`button`,`matIconButton`,``],[`a`,`matIconButton`,``]],hostAttrs:[1,`mdc-icon-button`,`mat-mdc-icon-button`],exportAs:[`matButton`,`matAnchor`],features:[Lr],ngContentSelectors:r,decls:5,vars:1,consts:[[1,`mat-mdc-button-persistent-ripple`,`mdc-icon-button__ripple`],[1,`mat-mdc-button-progress-indicator-container`],[1,`mat-focus-indicator`],[1,`mat-mdc-button-touch-target`]],template:function(s,a){s&1&&(Gn$1(n),nn$2(0,`span`,0),Ye$1(1),Yo(2,o,2,0,`div`,1),nn$2(3,`span`,2)(4,`span`,3)),s&2&&(zo$1(2),Ko(a.showProgress()?2:-1))},styles:[`.mat-mdc-icon-button {
|
|
116
|
+
-webkit-user-select: none;
|
|
117
|
+
user-select: none;
|
|
118
|
+
display: inline-block;
|
|
119
|
+
position: relative;
|
|
120
|
+
box-sizing: border-box;
|
|
121
|
+
border: none;
|
|
122
|
+
outline: none;
|
|
123
|
+
background-color: transparent;
|
|
124
|
+
fill: currentColor;
|
|
125
|
+
text-decoration: none;
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
z-index: 0;
|
|
128
|
+
overflow: visible;
|
|
129
|
+
border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%));
|
|
130
|
+
flex-shrink: 0;
|
|
131
|
+
text-align: center;
|
|
132
|
+
width: var(--%NS%mat-icon-button-state-layer-size, 40px);
|
|
133
|
+
height: var(--%NS%mat-icon-button-state-layer-size, 40px);
|
|
134
|
+
padding: calc(calc(var(--%NS%mat-icon-button-state-layer-size, 40px) - var(--%NS%mat-icon-button-icon-size, 24px)) / 2);
|
|
135
|
+
font-size: var(--%NS%mat-icon-button-icon-size, 24px);
|
|
136
|
+
color: var(--%NS%mat-icon-button-icon-color, var(--%NS%mat-sys-on-surface-variant));
|
|
137
|
+
-webkit-tap-highlight-color: transparent;
|
|
138
|
+
}
|
|
139
|
+
.mat-mdc-icon-button .mat-mdc-button-ripple,
|
|
140
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,
|
|
141
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
|
|
142
|
+
top: 0;
|
|
143
|
+
left: 0;
|
|
144
|
+
right: 0;
|
|
145
|
+
bottom: 0;
|
|
146
|
+
position: absolute;
|
|
147
|
+
pointer-events: none;
|
|
148
|
+
border-radius: inherit;
|
|
149
|
+
}
|
|
150
|
+
.mat-mdc-icon-button .mat-mdc-button-ripple {
|
|
151
|
+
overflow: hidden;
|
|
152
|
+
}
|
|
153
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
|
|
154
|
+
content: "";
|
|
155
|
+
opacity: 0;
|
|
156
|
+
}
|
|
157
|
+
.mat-mdc-icon-button .mdc-button__label,
|
|
158
|
+
.mat-mdc-icon-button .mat-icon {
|
|
159
|
+
z-index: 1;
|
|
160
|
+
position: relative;
|
|
161
|
+
}
|
|
162
|
+
.mat-mdc-icon-button .mat-focus-indicator {
|
|
163
|
+
top: 0;
|
|
164
|
+
left: 0;
|
|
165
|
+
right: 0;
|
|
166
|
+
bottom: 0;
|
|
167
|
+
position: absolute;
|
|
168
|
+
border-radius: inherit;
|
|
169
|
+
}
|
|
170
|
+
.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before {
|
|
171
|
+
content: "";
|
|
172
|
+
border-radius: inherit;
|
|
173
|
+
}
|
|
174
|
+
.mat-mdc-icon-button .mat-ripple-element {
|
|
175
|
+
background-color: var(--%NS%mat-icon-button-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface-variant) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
176
|
+
}
|
|
177
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
|
|
178
|
+
background-color: var(--%NS%mat-icon-button-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
|
|
179
|
+
}
|
|
180
|
+
.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
181
|
+
background-color: var(--%NS%mat-icon-button-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
|
|
182
|
+
}
|
|
183
|
+
.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
184
|
+
opacity: var(--%NS%mat-icon-button-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
185
|
+
}
|
|
186
|
+
.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
187
|
+
opacity: var(--%NS%mat-icon-button-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
188
|
+
}
|
|
189
|
+
.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
190
|
+
opacity: var(--%NS%mat-icon-button-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
|
|
191
|
+
}
|
|
192
|
+
.mat-mdc-icon-button .mat-mdc-button-touch-target {
|
|
193
|
+
position: absolute;
|
|
194
|
+
top: 50%;
|
|
195
|
+
height: var(--%NS%mat-icon-button-touch-target-size, 48px);
|
|
196
|
+
display: var(--%NS%mat-icon-button-touch-target-display, block);
|
|
197
|
+
left: 50%;
|
|
198
|
+
width: var(--%NS%mat-icon-button-touch-target-size, 48px);
|
|
199
|
+
transform: translate(-50%, -50%);
|
|
200
|
+
}
|
|
201
|
+
.mat-mdc-icon-button._mat-animation-noopable {
|
|
202
|
+
transition: none !important;
|
|
203
|
+
animation: none !important;
|
|
204
|
+
}
|
|
205
|
+
.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled {
|
|
206
|
+
cursor: default;
|
|
207
|
+
pointer-events: none;
|
|
208
|
+
color: var(--%NS%mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
209
|
+
}
|
|
210
|
+
.mat-mdc-icon-button.mat-mdc-button-disabled-interactive {
|
|
211
|
+
pointer-events: auto;
|
|
212
|
+
}
|
|
213
|
+
.mat-mdc-icon-button img,
|
|
214
|
+
.mat-mdc-icon-button svg {
|
|
215
|
+
width: var(--%NS%mat-icon-button-icon-size, 24px);
|
|
216
|
+
height: var(--%NS%mat-icon-button-icon-size, 24px);
|
|
217
|
+
vertical-align: baseline;
|
|
218
|
+
}
|
|
219
|
+
.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__determinate-circle-graphic {
|
|
220
|
+
width: inherit;
|
|
221
|
+
height: inherit;
|
|
222
|
+
}
|
|
223
|
+
.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__indeterminate-circle-graphic {
|
|
224
|
+
height: 100%;
|
|
225
|
+
}
|
|
226
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple {
|
|
227
|
+
border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%));
|
|
228
|
+
}
|
|
229
|
+
.mat-mdc-icon-button[hidden] {
|
|
230
|
+
display: none;
|
|
231
|
+
}
|
|
232
|
+
.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before {
|
|
233
|
+
background: transparent;
|
|
234
|
+
opacity: 1;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.mat-mdc-button-progress-indicator-container {
|
|
238
|
+
position: absolute;
|
|
239
|
+
inset-inline-start: 0;
|
|
240
|
+
inset-block-start: 0;
|
|
241
|
+
display: flex;
|
|
242
|
+
align-items: center;
|
|
243
|
+
justify-content: center;
|
|
244
|
+
width: 100%;
|
|
245
|
+
height: 100%;
|
|
246
|
+
box-sizing: border-box;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.mat-mdc-button-progress-indicator-shown mat-icon {
|
|
250
|
+
visibility: hidden;
|
|
251
|
+
}
|
|
252
|
+
`,`@media (forced-colors: active) {
|
|
253
|
+
.mat-mdc-button:not(.mdc-button--outlined),
|
|
254
|
+
.mat-mdc-unelevated-button:not(.mdc-button--outlined),
|
|
255
|
+
.mat-mdc-raised-button:not(.mdc-button--outlined),
|
|
256
|
+
.mat-mdc-outlined-button:not(.mdc-button--outlined),
|
|
257
|
+
.mat-mdc-button-base.mat-tonal-button,
|
|
258
|
+
.mat-mdc-icon-button.mat-mdc-icon-button,
|
|
259
|
+
.mat-mdc-outlined-button .mdc-button__ripple {
|
|
260
|
+
outline: solid 1px;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
`],encapsulation:2})})()}return e})();var Zy=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=fe$3({type:e});static ɵinj=ae$3({imports:[$r]})}return e})();var Yy=/* @__PURE__ */ new Map([[`text`,[`mat-mdc-button`]],[`filled`,[`mdc-button--unelevated`,`mat-mdc-unelevated-button`]],[`elevated`,[`mdc-button--raised`,`mat-mdc-raised-button`]],[`outlined`,[`mdc-button--outlined`,`mat-mdc-outlined-button`]],[`tonal`,[`mat-tonal-button`]]]);var aW=(()=>{class e extends Jd{get appearance(){return this._appearance}set appearance(n){this.setAppearance(n||this._config?.defaultAppearance||`text`)}_appearance=null;constructor(){super();let n=XT(this._elementRef.nativeElement);n&&this.setAppearance(n)}setAppearance(n){if(n===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?Yy.get(this._appearance):null,i=Yy.get(n);o&&r.remove(...o),r.add(...i),this._appearance=n}static ɵfac=function(r){return new(r||e)};static ɵcmp=(function(){let n=[[[``,8,`material-icons`,3,`iconPositionEnd`,``],[`mat-icon`,3,`iconPositionEnd`,``],[``,`matButtonIcon`,``,3,`iconPositionEnd`,``],[``,8,`material-symbols-outlined`,3,`iconPositionEnd`,``],[``,8,`material-symbols-rounded`,3,`iconPositionEnd`,``],[``,8,`material-symbols-sharp`,3,`iconPositionEnd`,``]],`*`,[[``,`iconPositionEnd`,``,8,`material-icons`],[`mat-icon`,`iconPositionEnd`,``],[``,`matButtonIcon`,``,`iconPositionEnd`,``],[``,`iconPositionEnd`,``,8,`material-symbols-outlined`],[``,`iconPositionEnd`,``,8,`material-symbols-rounded`],[``,`iconPositionEnd`,``,8,`material-symbols-sharp`]],[[``,`progressIndicator`,``]]],r=[`.material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd]), .material-symbols-outlined:not([iconPositionEnd]), .material-symbols-rounded:not([iconPositionEnd]), .material-symbols-sharp:not([iconPositionEnd])`,`*`,`.material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd], .material-symbols-outlined[iconPositionEnd], .material-symbols-rounded[iconPositionEnd], .material-symbols-sharp[iconPositionEnd]`,`[progressIndicator]`];function o(i,s){i&1&&(en$2(0,`div`,2),Ye$1(1,3),tn$2())}return Te$1({type:e,selectors:[[`button`,`matButton`,``],[`a`,`matButton`,``],[`button`,`mat-button`,``],[`button`,`mat-raised-button`,``],[`button`,`mat-flat-button`,``],[`button`,`mat-stroked-button`,``],[`a`,`mat-button`,``],[`a`,`mat-raised-button`,``],[`a`,`mat-flat-button`,``],[`a`,`mat-stroked-button`,``]],hostAttrs:[1,`mdc-button`],inputs:{appearance:[0,`matButton`,`appearance`]},exportAs:[`matButton`,`matAnchor`],features:[Lr],ngContentSelectors:r,decls:8,vars:5,consts:[[1,`mat-mdc-button-persistent-ripple`],[1,`mdc-button__label`],[1,`mat-mdc-button-progress-indicator-container`],[1,`mat-focus-indicator`],[1,`mat-mdc-button-touch-target`]],template:function(s,a){s&1&&(Gn$1(n),nn$2(0,`span`,0),Ye$1(1),en$2(2,`span`,1),Ye$1(3,1),tn$2(),Ye$1(4,2),Yo(5,o,2,0,`div`,2),nn$2(6,`span`,3)(7,`span`,4)),s&2&&(ct$3(`mdc-button__ripple`,!a._isFab)(`mdc-fab__ripple`,a._isFab),zo$1(5),Ko(a.showProgress()?5:-1))},styles:[`.mat-mdc-button-base {
|
|
264
|
+
text-decoration: none;
|
|
265
|
+
}
|
|
266
|
+
.mat-mdc-button-base .mat-icon {
|
|
267
|
+
min-height: fit-content;
|
|
268
|
+
flex-shrink: 0;
|
|
269
|
+
}
|
|
270
|
+
@media (hover: none) {
|
|
271
|
+
.mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before {
|
|
272
|
+
opacity: 0;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.mdc-button {
|
|
277
|
+
-webkit-user-select: none;
|
|
278
|
+
user-select: none;
|
|
279
|
+
position: relative;
|
|
280
|
+
display: inline-flex;
|
|
281
|
+
align-items: center;
|
|
282
|
+
justify-content: center;
|
|
283
|
+
box-sizing: border-box;
|
|
284
|
+
min-width: 64px;
|
|
285
|
+
border: none;
|
|
286
|
+
outline: none;
|
|
287
|
+
line-height: inherit;
|
|
288
|
+
-webkit-appearance: none;
|
|
289
|
+
overflow: visible;
|
|
290
|
+
vertical-align: middle;
|
|
291
|
+
background: transparent;
|
|
292
|
+
padding: 0 8px;
|
|
293
|
+
}
|
|
294
|
+
.mdc-button::-moz-focus-inner {
|
|
295
|
+
padding: 0;
|
|
296
|
+
border: 0;
|
|
297
|
+
}
|
|
298
|
+
.mdc-button:active {
|
|
299
|
+
outline: none;
|
|
300
|
+
}
|
|
301
|
+
.mdc-button:hover {
|
|
302
|
+
cursor: pointer;
|
|
303
|
+
}
|
|
304
|
+
.mdc-button:disabled {
|
|
305
|
+
cursor: default;
|
|
306
|
+
pointer-events: none;
|
|
307
|
+
}
|
|
308
|
+
.mdc-button[hidden] {
|
|
309
|
+
display: none;
|
|
310
|
+
}
|
|
311
|
+
.mdc-button .mdc-button__label {
|
|
312
|
+
position: relative;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.mat-mdc-button {
|
|
316
|
+
padding: 0 var(--%NS%mat-button-text-horizontal-padding, 12px);
|
|
317
|
+
height: var(--%NS%mat-button-text-container-height, 40px);
|
|
318
|
+
font-family: var(--%NS%mat-button-text-label-text-font, var(--%NS%mat-sys-label-large-font));
|
|
319
|
+
font-size: var(--%NS%mat-button-text-label-text-size, var(--%NS%mat-sys-label-large-size));
|
|
320
|
+
letter-spacing: var(--%NS%mat-button-text-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
|
|
321
|
+
text-transform: var(--%NS%mat-button-text-label-text-transform);
|
|
322
|
+
font-weight: var(--%NS%mat-button-text-label-text-weight, var(--%NS%mat-sys-label-large-weight));
|
|
323
|
+
}
|
|
324
|
+
.mat-mdc-button, .mat-mdc-button .mdc-button__ripple {
|
|
325
|
+
border-radius: var(--%NS%mat-button-text-container-shape, var(--%NS%mat-sys-corner-full));
|
|
326
|
+
}
|
|
327
|
+
.mat-mdc-button:not(:disabled) {
|
|
328
|
+
color: var(--%NS%mat-button-text-label-text-color, var(--%NS%mat-sys-primary));
|
|
329
|
+
}
|
|
330
|
+
.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled {
|
|
331
|
+
cursor: default;
|
|
332
|
+
pointer-events: none;
|
|
333
|
+
color: var(--%NS%mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
334
|
+
}
|
|
335
|
+
.mat-mdc-button.mat-mdc-button-disabled-interactive {
|
|
336
|
+
pointer-events: auto;
|
|
337
|
+
}
|
|
338
|
+
.mat-mdc-button:has(.material-icons, .material-symbols-outlined, .material-symbols-rounded,
|
|
339
|
+
.material-symbols-sharp, mat-icon, [matButtonIcon]) {
|
|
340
|
+
padding: 0 var(--%NS%mat-button-text-with-icon-horizontal-padding, 16px);
|
|
341
|
+
}
|
|
342
|
+
.mat-mdc-button > .mat-icon {
|
|
343
|
+
margin-right: var(--%NS%mat-button-text-icon-spacing, 8px);
|
|
344
|
+
margin-left: var(--%NS%mat-button-text-icon-offset, -4px);
|
|
345
|
+
}
|
|
346
|
+
[dir=rtl] .mat-mdc-button > .mat-icon {
|
|
347
|
+
margin-right: var(--%NS%mat-button-text-icon-offset, -4px);
|
|
348
|
+
margin-left: var(--%NS%mat-button-text-icon-spacing, 8px);
|
|
349
|
+
}
|
|
350
|
+
.mat-mdc-button .mdc-button__label + .mat-icon {
|
|
351
|
+
margin-right: var(--%NS%mat-button-text-icon-offset, -4px);
|
|
352
|
+
margin-left: var(--%NS%mat-button-text-icon-spacing, 8px);
|
|
353
|
+
}
|
|
354
|
+
[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon {
|
|
355
|
+
margin-right: var(--%NS%mat-button-text-icon-spacing, 8px);
|
|
356
|
+
margin-left: var(--%NS%mat-button-text-icon-offset, -4px);
|
|
357
|
+
}
|
|
358
|
+
.mat-mdc-button .mat-ripple-element {
|
|
359
|
+
background-color: var(--%NS%mat-button-text-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
360
|
+
}
|
|
361
|
+
.mat-mdc-button .mat-mdc-button-persistent-ripple::before {
|
|
362
|
+
background-color: var(--%NS%mat-button-text-state-layer-color, var(--%NS%mat-sys-primary));
|
|
363
|
+
}
|
|
364
|
+
.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
365
|
+
background-color: var(--%NS%mat-button-text-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
|
|
366
|
+
}
|
|
367
|
+
.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
368
|
+
opacity: var(--%NS%mat-button-text-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
369
|
+
}
|
|
370
|
+
.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
371
|
+
opacity: var(--%NS%mat-button-text-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
372
|
+
}
|
|
373
|
+
.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
374
|
+
opacity: var(--%NS%mat-button-text-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
|
|
375
|
+
}
|
|
376
|
+
.mat-mdc-button .mat-mdc-button-touch-target {
|
|
377
|
+
position: absolute;
|
|
378
|
+
top: 50%;
|
|
379
|
+
height: var(--%NS%mat-button-text-touch-target-size, 48px);
|
|
380
|
+
display: var(--%NS%mat-button-text-touch-target-display, block);
|
|
381
|
+
left: 0;
|
|
382
|
+
right: 0;
|
|
383
|
+
transform: translateY(-50%);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.mat-mdc-unelevated-button {
|
|
387
|
+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
388
|
+
height: var(--%NS%mat-button-filled-container-height, 40px);
|
|
389
|
+
font-family: var(--%NS%mat-button-filled-label-text-font, var(--%NS%mat-sys-label-large-font));
|
|
390
|
+
font-size: var(--%NS%mat-button-filled-label-text-size, var(--%NS%mat-sys-label-large-size));
|
|
391
|
+
letter-spacing: var(--%NS%mat-button-filled-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
|
|
392
|
+
text-transform: var(--%NS%mat-button-filled-label-text-transform);
|
|
393
|
+
font-weight: var(--%NS%mat-button-filled-label-text-weight, var(--%NS%mat-sys-label-large-weight));
|
|
394
|
+
padding: 0 var(--%NS%mat-button-filled-horizontal-padding, 24px);
|
|
395
|
+
}
|
|
396
|
+
.mat-mdc-unelevated-button > .mat-icon {
|
|
397
|
+
margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px);
|
|
398
|
+
margin-left: var(--%NS%mat-button-filled-icon-offset, -8px);
|
|
399
|
+
}
|
|
400
|
+
[dir=rtl] .mat-mdc-unelevated-button > .mat-icon {
|
|
401
|
+
margin-right: var(--%NS%mat-button-filled-icon-offset, -8px);
|
|
402
|
+
margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px);
|
|
403
|
+
}
|
|
404
|
+
.mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
|
|
405
|
+
margin-right: var(--%NS%mat-button-filled-icon-offset, -8px);
|
|
406
|
+
margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px);
|
|
407
|
+
}
|
|
408
|
+
[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
|
|
409
|
+
margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px);
|
|
410
|
+
margin-left: var(--%NS%mat-button-filled-icon-offset, -8px);
|
|
411
|
+
}
|
|
412
|
+
.mat-mdc-unelevated-button .mat-ripple-element {
|
|
413
|
+
background-color: var(--%NS%mat-button-filled-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
414
|
+
}
|
|
415
|
+
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before {
|
|
416
|
+
background-color: var(--%NS%mat-button-filled-state-layer-color, var(--%NS%mat-sys-on-primary));
|
|
417
|
+
}
|
|
418
|
+
.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
419
|
+
background-color: var(--%NS%mat-button-filled-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
|
|
420
|
+
}
|
|
421
|
+
.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
422
|
+
opacity: var(--%NS%mat-button-filled-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
423
|
+
}
|
|
424
|
+
.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
425
|
+
opacity: var(--%NS%mat-button-filled-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
426
|
+
}
|
|
427
|
+
.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
428
|
+
opacity: var(--%NS%mat-button-filled-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
|
|
429
|
+
}
|
|
430
|
+
.mat-mdc-unelevated-button .mat-mdc-button-touch-target {
|
|
431
|
+
position: absolute;
|
|
432
|
+
top: 50%;
|
|
433
|
+
height: var(--%NS%mat-button-filled-touch-target-size, 48px);
|
|
434
|
+
display: var(--%NS%mat-button-filled-touch-target-display, block);
|
|
435
|
+
left: 0;
|
|
436
|
+
right: 0;
|
|
437
|
+
transform: translateY(-50%);
|
|
438
|
+
}
|
|
439
|
+
.mat-mdc-unelevated-button:not(:disabled) {
|
|
440
|
+
color: var(--%NS%mat-button-filled-label-text-color, var(--%NS%mat-sys-on-primary));
|
|
441
|
+
background-color: var(--%NS%mat-button-filled-container-color, var(--%NS%mat-sys-primary));
|
|
442
|
+
}
|
|
443
|
+
.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple {
|
|
444
|
+
border-radius: var(--%NS%mat-button-filled-container-shape, var(--%NS%mat-sys-corner-full));
|
|
445
|
+
}
|
|
446
|
+
.mat-mdc-unelevated-button .mat-mdc-button-progress-indicator-container {
|
|
447
|
+
--%NS%mat-progress-spinner-active-indicator-color: var(--%NS%mat-button-filled-progress-active-indicator-color, var(--%NS%mat-sys-on-primary));
|
|
448
|
+
}
|
|
449
|
+
.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled {
|
|
450
|
+
cursor: default;
|
|
451
|
+
pointer-events: none;
|
|
452
|
+
color: var(--%NS%mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
453
|
+
background-color: var(--%NS%mat-button-filled-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));
|
|
454
|
+
}
|
|
455
|
+
.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive {
|
|
456
|
+
pointer-events: auto;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.mat-mdc-raised-button {
|
|
460
|
+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
461
|
+
box-shadow: var(--%NS%mat-button-protected-container-elevation-shadow, var(--%NS%mat-sys-level1));
|
|
462
|
+
height: var(--%NS%mat-button-protected-container-height, 40px);
|
|
463
|
+
font-family: var(--%NS%mat-button-protected-label-text-font, var(--%NS%mat-sys-label-large-font));
|
|
464
|
+
font-size: var(--%NS%mat-button-protected-label-text-size, var(--%NS%mat-sys-label-large-size));
|
|
465
|
+
letter-spacing: var(--%NS%mat-button-protected-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
|
|
466
|
+
text-transform: var(--%NS%mat-button-protected-label-text-transform);
|
|
467
|
+
font-weight: var(--%NS%mat-button-protected-label-text-weight, var(--%NS%mat-sys-label-large-weight));
|
|
468
|
+
padding: 0 var(--%NS%mat-button-protected-horizontal-padding, 24px);
|
|
469
|
+
}
|
|
470
|
+
.mat-mdc-raised-button > .mat-icon {
|
|
471
|
+
margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px);
|
|
472
|
+
margin-left: var(--%NS%mat-button-protected-icon-offset, -8px);
|
|
473
|
+
}
|
|
474
|
+
[dir=rtl] .mat-mdc-raised-button > .mat-icon {
|
|
475
|
+
margin-right: var(--%NS%mat-button-protected-icon-offset, -8px);
|
|
476
|
+
margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px);
|
|
477
|
+
}
|
|
478
|
+
.mat-mdc-raised-button .mdc-button__label + .mat-icon {
|
|
479
|
+
margin-right: var(--%NS%mat-button-protected-icon-offset, -8px);
|
|
480
|
+
margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px);
|
|
481
|
+
}
|
|
482
|
+
[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon {
|
|
483
|
+
margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px);
|
|
484
|
+
margin-left: var(--%NS%mat-button-protected-icon-offset, -8px);
|
|
485
|
+
}
|
|
486
|
+
.mat-mdc-raised-button .mat-ripple-element {
|
|
487
|
+
background-color: var(--%NS%mat-button-protected-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
488
|
+
}
|
|
489
|
+
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before {
|
|
490
|
+
background-color: var(--%NS%mat-button-protected-state-layer-color, var(--%NS%mat-sys-primary));
|
|
491
|
+
}
|
|
492
|
+
.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
493
|
+
background-color: var(--%NS%mat-button-protected-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
|
|
494
|
+
}
|
|
495
|
+
.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
496
|
+
opacity: var(--%NS%mat-button-protected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
497
|
+
}
|
|
498
|
+
.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
499
|
+
opacity: var(--%NS%mat-button-protected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
500
|
+
}
|
|
501
|
+
.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
502
|
+
opacity: var(--%NS%mat-button-protected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
|
|
503
|
+
}
|
|
504
|
+
.mat-mdc-raised-button .mat-mdc-button-touch-target {
|
|
505
|
+
position: absolute;
|
|
506
|
+
top: 50%;
|
|
507
|
+
height: var(--%NS%mat-button-protected-touch-target-size, 48px);
|
|
508
|
+
display: var(--%NS%mat-button-protected-touch-target-display, block);
|
|
509
|
+
left: 0;
|
|
510
|
+
right: 0;
|
|
511
|
+
transform: translateY(-50%);
|
|
512
|
+
}
|
|
513
|
+
.mat-mdc-raised-button:not(:disabled) {
|
|
514
|
+
color: var(--%NS%mat-button-protected-label-text-color, var(--%NS%mat-sys-primary));
|
|
515
|
+
background-color: var(--%NS%mat-button-protected-container-color, var(--%NS%mat-sys-surface));
|
|
516
|
+
}
|
|
517
|
+
.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple {
|
|
518
|
+
border-radius: var(--%NS%mat-button-protected-container-shape, var(--%NS%mat-sys-corner-full));
|
|
519
|
+
}
|
|
520
|
+
@media (hover: hover) {
|
|
521
|
+
.mat-mdc-raised-button:hover {
|
|
522
|
+
box-shadow: var(--%NS%mat-button-protected-hover-container-elevation-shadow, var(--%NS%mat-sys-level2));
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
.mat-mdc-raised-button:focus {
|
|
526
|
+
box-shadow: var(--%NS%mat-button-protected-focus-container-elevation-shadow, var(--%NS%mat-sys-level1));
|
|
527
|
+
}
|
|
528
|
+
.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active {
|
|
529
|
+
box-shadow: var(--%NS%mat-button-protected-pressed-container-elevation-shadow, var(--%NS%mat-sys-level1));
|
|
530
|
+
}
|
|
531
|
+
.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled {
|
|
532
|
+
cursor: default;
|
|
533
|
+
pointer-events: none;
|
|
534
|
+
color: var(--%NS%mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
535
|
+
background-color: var(--%NS%mat-button-protected-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));
|
|
536
|
+
}
|
|
537
|
+
.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled {
|
|
538
|
+
box-shadow: var(--%NS%mat-button-protected-disabled-container-elevation-shadow, var(--%NS%mat-sys-level0));
|
|
539
|
+
}
|
|
540
|
+
.mat-mdc-raised-button.mat-mdc-button-disabled-interactive {
|
|
541
|
+
pointer-events: auto;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.mat-mdc-outlined-button {
|
|
545
|
+
border-style: solid;
|
|
546
|
+
transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
547
|
+
height: var(--%NS%mat-button-outlined-container-height, 40px);
|
|
548
|
+
font-family: var(--%NS%mat-button-outlined-label-text-font, var(--%NS%mat-sys-label-large-font));
|
|
549
|
+
font-size: var(--%NS%mat-button-outlined-label-text-size, var(--%NS%mat-sys-label-large-size));
|
|
550
|
+
letter-spacing: var(--%NS%mat-button-outlined-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
|
|
551
|
+
text-transform: var(--%NS%mat-button-outlined-label-text-transform);
|
|
552
|
+
font-weight: var(--%NS%mat-button-outlined-label-text-weight, var(--%NS%mat-sys-label-large-weight));
|
|
553
|
+
border-radius: var(--%NS%mat-button-outlined-container-shape, var(--%NS%mat-sys-corner-full));
|
|
554
|
+
border-width: var(--%NS%mat-button-outlined-outline-width, 1px);
|
|
555
|
+
padding: 0 var(--%NS%mat-button-outlined-horizontal-padding, 24px);
|
|
556
|
+
}
|
|
557
|
+
.mat-mdc-outlined-button > .mat-icon {
|
|
558
|
+
margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px);
|
|
559
|
+
margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px);
|
|
560
|
+
}
|
|
561
|
+
[dir=rtl] .mat-mdc-outlined-button > .mat-icon {
|
|
562
|
+
margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px);
|
|
563
|
+
margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px);
|
|
564
|
+
}
|
|
565
|
+
.mat-mdc-outlined-button .mdc-button__label + .mat-icon {
|
|
566
|
+
margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px);
|
|
567
|
+
margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px);
|
|
568
|
+
}
|
|
569
|
+
[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon {
|
|
570
|
+
margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px);
|
|
571
|
+
margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px);
|
|
572
|
+
}
|
|
573
|
+
.mat-mdc-outlined-button .mat-ripple-element {
|
|
574
|
+
background-color: var(--%NS%mat-button-outlined-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
575
|
+
}
|
|
576
|
+
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {
|
|
577
|
+
background-color: var(--%NS%mat-button-outlined-state-layer-color, var(--%NS%mat-sys-primary));
|
|
578
|
+
}
|
|
579
|
+
.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
580
|
+
background-color: var(--%NS%mat-button-outlined-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
|
|
581
|
+
}
|
|
582
|
+
.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
583
|
+
opacity: var(--%NS%mat-button-outlined-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
584
|
+
}
|
|
585
|
+
.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
586
|
+
opacity: var(--%NS%mat-button-outlined-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
587
|
+
}
|
|
588
|
+
.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
589
|
+
opacity: var(--%NS%mat-button-outlined-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
|
|
590
|
+
}
|
|
591
|
+
.mat-mdc-outlined-button .mat-mdc-button-touch-target {
|
|
592
|
+
position: absolute;
|
|
593
|
+
top: 50%;
|
|
594
|
+
height: var(--%NS%mat-button-outlined-touch-target-size, 48px);
|
|
595
|
+
display: var(--%NS%mat-button-outlined-touch-target-display, block);
|
|
596
|
+
left: 0;
|
|
597
|
+
right: 0;
|
|
598
|
+
transform: translateY(-50%);
|
|
599
|
+
}
|
|
600
|
+
.mat-mdc-outlined-button:not(:disabled) {
|
|
601
|
+
color: var(--%NS%mat-button-outlined-label-text-color, var(--%NS%mat-sys-primary));
|
|
602
|
+
border-color: var(--%NS%mat-button-outlined-outline-color, var(--%NS%mat-sys-outline));
|
|
603
|
+
}
|
|
604
|
+
.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled {
|
|
605
|
+
cursor: default;
|
|
606
|
+
pointer-events: none;
|
|
607
|
+
color: var(--%NS%mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
608
|
+
border-color: var(--%NS%mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));
|
|
609
|
+
}
|
|
610
|
+
.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive {
|
|
611
|
+
pointer-events: auto;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.mat-tonal-button {
|
|
615
|
+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
616
|
+
height: var(--%NS%mat-button-tonal-container-height, 40px);
|
|
617
|
+
font-family: var(--%NS%mat-button-tonal-label-text-font, var(--%NS%mat-sys-label-large-font));
|
|
618
|
+
font-size: var(--%NS%mat-button-tonal-label-text-size, var(--%NS%mat-sys-label-large-size));
|
|
619
|
+
letter-spacing: var(--%NS%mat-button-tonal-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
|
|
620
|
+
text-transform: var(--%NS%mat-button-tonal-label-text-transform);
|
|
621
|
+
font-weight: var(--%NS%mat-button-tonal-label-text-weight, var(--%NS%mat-sys-label-large-weight));
|
|
622
|
+
padding: 0 var(--%NS%mat-button-tonal-horizontal-padding, 24px);
|
|
623
|
+
}
|
|
624
|
+
.mat-tonal-button:not(:disabled) {
|
|
625
|
+
color: var(--%NS%mat-button-tonal-label-text-color, var(--%NS%mat-sys-on-secondary-container));
|
|
626
|
+
background-color: var(--%NS%mat-button-tonal-container-color, var(--%NS%mat-sys-secondary-container));
|
|
627
|
+
}
|
|
628
|
+
.mat-tonal-button, .mat-tonal-button .mdc-button__ripple {
|
|
629
|
+
border-radius: var(--%NS%mat-button-tonal-container-shape, var(--%NS%mat-sys-corner-full));
|
|
630
|
+
}
|
|
631
|
+
.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled {
|
|
632
|
+
cursor: default;
|
|
633
|
+
pointer-events: none;
|
|
634
|
+
color: var(--%NS%mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
635
|
+
background-color: var(--%NS%mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));
|
|
636
|
+
}
|
|
637
|
+
.mat-tonal-button.mat-mdc-button-disabled-interactive {
|
|
638
|
+
pointer-events: auto;
|
|
639
|
+
}
|
|
640
|
+
.mat-tonal-button > .mat-icon {
|
|
641
|
+
margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px);
|
|
642
|
+
margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px);
|
|
643
|
+
}
|
|
644
|
+
[dir=rtl] .mat-tonal-button > .mat-icon {
|
|
645
|
+
margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px);
|
|
646
|
+
margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px);
|
|
647
|
+
}
|
|
648
|
+
.mat-tonal-button .mdc-button__label + .mat-icon {
|
|
649
|
+
margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px);
|
|
650
|
+
margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px);
|
|
651
|
+
}
|
|
652
|
+
[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon {
|
|
653
|
+
margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px);
|
|
654
|
+
margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px);
|
|
655
|
+
}
|
|
656
|
+
.mat-tonal-button .mat-ripple-element {
|
|
657
|
+
background-color: var(--%NS%mat-button-tonal-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-secondary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
658
|
+
}
|
|
659
|
+
.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
|
|
660
|
+
background-color: var(--%NS%mat-button-tonal-state-layer-color, var(--%NS%mat-sys-on-secondary-container));
|
|
661
|
+
}
|
|
662
|
+
.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
663
|
+
background-color: var(--%NS%mat-button-tonal-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
|
|
664
|
+
}
|
|
665
|
+
.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
666
|
+
opacity: var(--%NS%mat-button-tonal-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
667
|
+
}
|
|
668
|
+
.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
669
|
+
opacity: var(--%NS%mat-button-tonal-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
670
|
+
}
|
|
671
|
+
.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
672
|
+
opacity: var(--%NS%mat-button-tonal-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
|
|
673
|
+
}
|
|
674
|
+
.mat-tonal-button .mat-mdc-button-touch-target {
|
|
675
|
+
position: absolute;
|
|
676
|
+
top: 50%;
|
|
677
|
+
height: var(--%NS%mat-button-tonal-touch-target-size, 48px);
|
|
678
|
+
display: var(--%NS%mat-button-tonal-touch-target-display, block);
|
|
679
|
+
left: 0;
|
|
680
|
+
right: 0;
|
|
681
|
+
transform: translateY(-50%);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.mat-mdc-button,
|
|
685
|
+
.mat-mdc-unelevated-button,
|
|
686
|
+
.mat-mdc-raised-button,
|
|
687
|
+
.mat-mdc-outlined-button,
|
|
688
|
+
.mat-tonal-button {
|
|
689
|
+
-webkit-tap-highlight-color: transparent;
|
|
690
|
+
}
|
|
691
|
+
.mat-mdc-button .mat-mdc-button-ripple,
|
|
692
|
+
.mat-mdc-button .mat-mdc-button-persistent-ripple,
|
|
693
|
+
.mat-mdc-button .mat-mdc-button-persistent-ripple::before,
|
|
694
|
+
.mat-mdc-unelevated-button .mat-mdc-button-ripple,
|
|
695
|
+
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,
|
|
696
|
+
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
|
|
697
|
+
.mat-mdc-raised-button .mat-mdc-button-ripple,
|
|
698
|
+
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,
|
|
699
|
+
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
|
|
700
|
+
.mat-mdc-outlined-button .mat-mdc-button-ripple,
|
|
701
|
+
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,
|
|
702
|
+
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,
|
|
703
|
+
.mat-tonal-button .mat-mdc-button-ripple,
|
|
704
|
+
.mat-tonal-button .mat-mdc-button-persistent-ripple,
|
|
705
|
+
.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
|
|
706
|
+
top: 0;
|
|
707
|
+
left: 0;
|
|
708
|
+
right: 0;
|
|
709
|
+
bottom: 0;
|
|
710
|
+
position: absolute;
|
|
711
|
+
pointer-events: none;
|
|
712
|
+
border-radius: inherit;
|
|
713
|
+
}
|
|
714
|
+
.mat-mdc-button .mat-mdc-button-ripple,
|
|
715
|
+
.mat-mdc-unelevated-button .mat-mdc-button-ripple,
|
|
716
|
+
.mat-mdc-raised-button .mat-mdc-button-ripple,
|
|
717
|
+
.mat-mdc-outlined-button .mat-mdc-button-ripple,
|
|
718
|
+
.mat-tonal-button .mat-mdc-button-ripple {
|
|
719
|
+
overflow: hidden;
|
|
720
|
+
}
|
|
721
|
+
.mat-mdc-button .mat-mdc-button-persistent-ripple::before,
|
|
722
|
+
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
|
|
723
|
+
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
|
|
724
|
+
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,
|
|
725
|
+
.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
|
|
726
|
+
content: "";
|
|
727
|
+
opacity: 0;
|
|
728
|
+
}
|
|
729
|
+
.mat-mdc-button .mdc-button__label,
|
|
730
|
+
.mat-mdc-button .mat-icon,
|
|
731
|
+
.mat-mdc-unelevated-button .mdc-button__label,
|
|
732
|
+
.mat-mdc-unelevated-button .mat-icon,
|
|
733
|
+
.mat-mdc-raised-button .mdc-button__label,
|
|
734
|
+
.mat-mdc-raised-button .mat-icon,
|
|
735
|
+
.mat-mdc-outlined-button .mdc-button__label,
|
|
736
|
+
.mat-mdc-outlined-button .mat-icon,
|
|
737
|
+
.mat-tonal-button .mdc-button__label,
|
|
738
|
+
.mat-tonal-button .mat-icon {
|
|
739
|
+
z-index: 1;
|
|
740
|
+
position: relative;
|
|
741
|
+
}
|
|
742
|
+
.mat-mdc-button .mat-focus-indicator,
|
|
743
|
+
.mat-mdc-unelevated-button .mat-focus-indicator,
|
|
744
|
+
.mat-mdc-raised-button .mat-focus-indicator,
|
|
745
|
+
.mat-mdc-outlined-button .mat-focus-indicator,
|
|
746
|
+
.mat-tonal-button .mat-focus-indicator {
|
|
747
|
+
top: 0;
|
|
748
|
+
left: 0;
|
|
749
|
+
right: 0;
|
|
750
|
+
bottom: 0;
|
|
751
|
+
position: absolute;
|
|
752
|
+
border-radius: inherit;
|
|
753
|
+
}
|
|
754
|
+
.mat-mdc-button:focus-visible > .mat-focus-indicator::before,
|
|
755
|
+
.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before,
|
|
756
|
+
.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before,
|
|
757
|
+
.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before,
|
|
758
|
+
.mat-tonal-button:focus-visible > .mat-focus-indicator::before {
|
|
759
|
+
content: "";
|
|
760
|
+
border-radius: inherit;
|
|
761
|
+
}
|
|
762
|
+
.mat-mdc-button._mat-animation-noopable,
|
|
763
|
+
.mat-mdc-unelevated-button._mat-animation-noopable,
|
|
764
|
+
.mat-mdc-raised-button._mat-animation-noopable,
|
|
765
|
+
.mat-mdc-outlined-button._mat-animation-noopable,
|
|
766
|
+
.mat-tonal-button._mat-animation-noopable {
|
|
767
|
+
transition: none !important;
|
|
768
|
+
animation: none !important;
|
|
769
|
+
}
|
|
770
|
+
.mat-mdc-button > .mat-icon,
|
|
771
|
+
.mat-mdc-unelevated-button > .mat-icon,
|
|
772
|
+
.mat-mdc-raised-button > .mat-icon,
|
|
773
|
+
.mat-mdc-outlined-button > .mat-icon,
|
|
774
|
+
.mat-tonal-button > .mat-icon {
|
|
775
|
+
display: inline-block;
|
|
776
|
+
position: relative;
|
|
777
|
+
vertical-align: top;
|
|
778
|
+
font-size: 1.125rem;
|
|
779
|
+
height: 1.125rem;
|
|
780
|
+
width: 1.125rem;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.mat-mdc-outlined-button .mat-mdc-button-ripple,
|
|
784
|
+
.mat-mdc-outlined-button .mdc-button__ripple {
|
|
785
|
+
top: -1px;
|
|
786
|
+
left: -1px;
|
|
787
|
+
bottom: -1px;
|
|
788
|
+
right: -1px;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.mat-mdc-unelevated-button .mat-focus-indicator::before,
|
|
792
|
+
.mat-tonal-button .mat-focus-indicator::before,
|
|
793
|
+
.mat-mdc-raised-button .mat-focus-indicator::before {
|
|
794
|
+
margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1);
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.mat-mdc-outlined-button .mat-focus-indicator::before {
|
|
798
|
+
margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 3px) * -1);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.mat-mdc-button-progress-indicator-container {
|
|
802
|
+
position: absolute;
|
|
803
|
+
inset-inline-start: 0;
|
|
804
|
+
inset-block-start: 0;
|
|
805
|
+
display: flex;
|
|
806
|
+
align-items: center;
|
|
807
|
+
justify-content: center;
|
|
808
|
+
width: 100%;
|
|
809
|
+
height: 100%;
|
|
810
|
+
box-sizing: border-box;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.mat-mdc-button-progress-indicator-shown mat-icon,
|
|
814
|
+
.mat-mdc-button-progress-indicator-shown [matButtonIcon],
|
|
815
|
+
.mat-mdc-button-progress-indicator-shown .mdc-button__label {
|
|
816
|
+
visibility: hidden;
|
|
817
|
+
}
|
|
818
|
+
`,`@media (forced-colors: active) {
|
|
819
|
+
.mat-mdc-button:not(.mdc-button--outlined),
|
|
820
|
+
.mat-mdc-unelevated-button:not(.mdc-button--outlined),
|
|
821
|
+
.mat-mdc-raised-button:not(.mdc-button--outlined),
|
|
822
|
+
.mat-mdc-outlined-button:not(.mdc-button--outlined),
|
|
823
|
+
.mat-mdc-button-base.mat-tonal-button,
|
|
824
|
+
.mat-mdc-icon-button.mat-mdc-icon-button,
|
|
825
|
+
.mat-mdc-outlined-button .mdc-button__ripple {
|
|
826
|
+
outline: solid 1px;
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
`],encapsulation:2})})()}return e})();function XT(e){return e.hasAttribute(`mat-raised-button`)?`elevated`:e.hasAttribute(`mat-stroked-button`)?`outlined`:e.hasAttribute(`mat-flat-button`)?`filled`:e.hasAttribute(`mat-button`)?`text`:null}var cW=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=fe$3({type:e});static ɵinj=ae$3({imports:[Zy,$r]})}return e})();function JT(){return(document.querySelector(`base`)?.getAttribute(`href`)??`/codeapp/admin/`).replace(/admin\/?$/,``).replace(/\/?$/,`/`)}var Ky=()=>JT()+`api/`;var Qy=class e{http=m$1(Ur);base=Ky();pendingCount=ke$3(0);me=ke$3(null);loadMe(){return this.http.get(this.base+`me`).pipe(Me(t=>this.me.set(t)))}stats(){return this.http.get(this.base+`admin/stats`).pipe(Me(t=>this.pendingCount.set(t.users.pending)))}system(){return this.http.get(this.base+`admin/system`)}users(t,n){let r=new Fe$2;return t&&(r=r.set(`status`,t)),n&&(r=r.set(`q`,n)),this.http.get(this.base+`admin/users`,{params:r}).pipe(Me(o=>{t===`pending`&&this.pendingCount.set(o.length)}))}user(t){return this.http.get(this.base+`admin/users/${Le$2(t)}`)}createUser(t){return this.http.post(this.base+`admin/users`,t)}updateUser(t,n){return this.http.patch(this.base+`admin/users/${Le$2(t)}`,n)}approve(t,n){return this.http.post(this.base+`admin/users/${Le$2(t)}/approve`,{plan:n||null})}reject(t){return this.http.post(this.base+`admin/users/${Le$2(t)}/reject`,{})}disable(t){return this.http.post(this.base+`admin/users/${Le$2(t)}/disable`,{})}enable(t){return this.http.post(this.base+`admin/users/${Le$2(t)}/enable`,{})}deleteUser(t,n){return this.http.delete(this.base+`admin/users/${Le$2(t)}`,{params:{keep_home:n}})}container(t,n){return this.http.post(this.base+`admin/users/${Le$2(t)}/container/${n}`,{})}forceLogout(t,n=!0){return this.http.post(this.base+`admin/users/${Le$2(t)}/logout`,{},{params:{disconnect:n}})}sessions(){return this.http.get(this.base+`admin/sessions`)}killSession(t){return this.http.delete(this.base+`admin/sessions/${t}`)}audit(t,n,r,o){let i=new Fe$2().set(`limit`,t).set(`offset`,n);return r&&(i=i.set(`action`,r)),o&&(i=i.set(`q`,o)),this.http.get(this.base+`admin/audit`,{params:i})}settings(){return this.http.get(this.base+`admin/settings`)}saveSettings(t){return this.http.put(this.base+`admin/settings`,t)}setPassword(t,n,r){return this.http.post(this.base+`admin/users/${Le$2(t)}/password`,{password:n,must_change_password:r})}removePassword(t){return this.http.delete(this.base+`admin/users/${Le$2(t)}/password`)}unlock(t){return this.http.post(this.base+`admin/users/${Le$2(t)}/unlock`,{})}ssoTest(t){return this.http.post(this.base+`admin/sso/test`,{metadata_url:t||null})}logout(){return this.http.post(this.base+`me/logout`,{})}nginxSync(){return this.http.post(this.base+`admin/nginx/sync`,{})}static ɵfac=function(n){return new(n||e)};static ɵprov=A$2({token:e,factory:e.ɵfac,providedIn:`root`})};function Le$2(e){return encodeURIComponent(e)}function xe$1(n){return n&&typeof n.connect==`function`&&!(n instanceof lc)}var R$2=(function(n){return n[n.REPLACED=0]=`REPLACED`,n[n.INSERTED=1]=`INSERTED`,n[n.MOVED=2]=`MOVED`,n[n.REMOVED=3]=`REMOVED`,n})(R$2||{});var Zt$2=class{viewCacheSize=20;_viewCache=[];applyChanges(e,t,i,o,r){e.forEachOperation((s,a,c)=>{let d,l;if(s.previousIndex==null){let u=()=>i(s,a,c);d=this._insertView(u,c,t,o(s)),l=d?R$2.INSERTED:R$2.REPLACED}else c==null?(this._detachAndCacheView(a,t),l=R$2.REMOVED):(d=this._moveView(a,c,t,o(s)),l=R$2.MOVED);r&&r({context:d?.context,operation:l,record:s})})}detach(){for(let e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,i,o){let r=this._insertViewFromCache(t,i);if(r){r.context.$implicit=o;return}let s=e();return i.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(e,t){let i=t.detach(e);this._maybeCacheView(i,t)}_moveView(e,t,i,o){let r=i.get(e);return i.move(r,t),r.context.$implicit=o,r}_maybeCacheView(e,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{let i=t.indexOf(e);i===-1?e.destroy():t.remove(i)}}_insertViewFromCache(e,t){let i=this._viewCache.pop();return i&&t.insert(i,e),i||null}};var ve$1=20;var X$2=(()=>{class n{_ngZone=m$1(P$2);_platform=m$1(ge$3);_renderer=m$1(qe$2).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new B;_scrolledCount=0;scrollContainers=/* @__PURE__ */ new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=ve$1){return this._platform.isBrowser?new T$3(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen(`document`,`scroll`,()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(Vv(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Ve$1()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){let o=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(He$2(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(t){let i=[];return this.scrollContainers.forEach((o,r)=>{this._targetContainsElement(r,t)&&i.push(r)}),i}_targetContainsElement(t,i){let o=lt$4(i),r=t.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();var me$2=(()=>{class n{elementRef=m$1(oe$2);scrollDispatcher=m$1(X$2);ngZone=m$1(P$2);dir=m$1(gT,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new B;_renderer=m$1(Ar);_cleanupScroll;_elementScrolled=new B;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,`scroll`,t=>this._elementScrolled.next(t))),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(t){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value==`rtl`;t.left??=o?t.end:t.start,t.right??=o?t.start:t.end,t.bottom!=null&&(t.top=i.scrollHeight-i.clientHeight-t.bottom),o&&i3()!=di$1.NORMAL?(t.left!=null&&(t.right=i.scrollWidth-i.clientWidth-t.left),i3()==di$1.INVERTED?t.left=t.right:i3()==di$1.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=i.scrollWidth-i.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let i=this.elementRef.nativeElement;o3()?i.scrollTo(t):(t.top!=null&&(i.scrollTop=t.top),t.left!=null&&(i.scrollLeft=t.left))}measureScrollOffset(t){let i=`left`,o=`right`,r=this.elementRef.nativeElement;if(t==`top`)return r.scrollTop;if(t==`bottom`)return r.scrollHeight-r.clientHeight-r.scrollTop;let s=this.dir&&this.dir.value==`rtl`;return t==`start`?t=s?o:i:t==`end`&&(t=s?i:o),s&&i3()==di$1.INVERTED?t==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&i3()==di$1.NEGATED?t==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:t==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static ɵfac=function(i){return new(i||n)};static ɵdir=xe$2({type:n,selectors:[[``,`cdk-scrollable`,``],[``,`cdkScrollable`,``]]})}return n})();var ye$1=20;var L=(()=>{class n{_platform=m$1(ge$3);_listeners;_viewportSize=null;_change=new B;_document=m$1(O$2);constructor(){let t=m$1(P$2),i=m$1(qe$2).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[i.listen(`window`,`resize`,o),i.listen(`window`,`orientationchange`,o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,i=this._getWindow(),o=t.documentElement,r=o.getBoundingClientRect();return{top:-r.top||t.body?.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||t.body?.scrollLeft||i.scrollX||o.scrollLeft||0}}change(t=ye$1){return t>0?this._change.pipe(Vv(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();var yi$2=new g(`CDK_VIRTUAL_SCROLL_VIEWPORT`);var Ct$3=(()=>{class n{static ɵfac=function(i){return new(i||n)};static ɵmod=fe$3({type:n});static ɵinj=ae$3({})}return n})();var bt$2=(()=>{class n{static ɵfac=function(i){return new(i||n)};static ɵmod=fe$3({type:n});static ɵinj=ae$3({imports:[$r,Ct$3,$r,Ct$3]})}return n})();var kt$3=class{_multiple;_emitChanges;compareWith;_selection=/* @__PURE__ */ new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new B;bulk={select:e=>this._select(e),deselect:e=>this._deselect(e),setSelection:e=>this._setSelection(e)};constructor(e=!1,t,i=!0,o){this._multiple=e,this._emitChanges=i,this.compareWith=o,t&&t.length&&(e?t.forEach(r=>this._markSelected(r)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...e){return this._select(e)}deselect(...e){return this._deselect(e)}setSelection(...e){return this._setSelection(e)}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_select(e){this._verifyValueAssignment(e),e.forEach(i=>this._markSelected(i));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}_deselect(e){this._verifyValueAssignment(e),e.forEach(i=>this._unmarkSelected(i));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}_setSelection(e){this._verifyValueAssignment(e);let t=this.selected,i=new Set(e.map(r=>this._getConcreteValue(r)));e.forEach(r=>this._markSelected(r)),t.filter(r=>!i.has(this._getConcreteValue(r,i))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let i of t)if(this.compareWith(e,i))return i;return e}else return e}};var Kt$2=class{applyChanges(e,t,i,o,r){e.forEachOperation((s,a,c)=>{let d,l;if(s.previousIndex==null){let u=i(s,a,c);d=t.createEmbeddedView(u.templateRef,u.context,u.index),l=R$2.INSERTED}else c==null?(t.remove(a),l=R$2.REMOVED):(d=t.get(a),t.move(d,c),l=R$2.MOVED);r&&r({context:d?.context,operation:l,record:s})})}detach(){}};var j$1=class{_attachedHost=null;attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}};var St$3=class extends j$1{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(e,t,i,o,r,s){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.projectableNodes=o,this.bindings=r||null,this.directives=s||null}};var z$1=class extends j$1{templateRef;viewContainerRef;context;injector;constructor(e,t,i,o){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}};var Ot$2=class extends j$1{element;constructor(e){super(),this.element=e instanceof oe$2?e.nativeElement:e}};var it$2=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof St$3)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof z$1)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Ot$2)return this._attachedPortal=e,this.attachDomPortal(e)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var nt$2=class extends it$2{outletElement;_appRef;_defaultInjector;constructor(e,t,i){super(),this.outletElement=e,this._appRef=t,this._defaultInjector=i}attachComponentPortal(e){let t;if(e.viewContainerRef){let i=e.injector||e.viewContainerRef.injector,o=i.get(Hn$1,null,{optional:!0})||void 0;t=e.viewContainerRef.createComponent(e.component,{index:e.viewContainerRef.length,injector:i,ngModuleRef:o,projectableNodes:e.projectableNodes||void 0,bindings:e.bindings||void 0,directives:e.directives||void 0}),this.setDisposeFn(()=>t.destroy())}else{let i=this._appRef,o=e.injector||this._defaultInjector||Y$1.NULL,r=o.get(de$3,i.injector);t=xb(e.component,{elementInjector:o,environmentInjector:r,projectableNodes:e.projectableNodes||void 0,bindings:e.bindings||void 0,directives:e.directives||void 0}),i.attachView(t.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(i);o!==-1&&t.remove(o)}),this._attachedPortal=e,i}attachDomPortal=e=>{let t=e.element;t.parentNode;let i=this.outletElement.ownerDocument.createComment(`dom-portal`);t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var Ai$2=(()=>{class n extends z$1{constructor(){let t=m$1(Mr),i=m$1(Pr);super(t,i)}static ɵfac=function(i){return new(i||n)};static ɵdir=xe$2({type:n,selectors:[[``,`cdkPortal`,``]],exportAs:[`cdkPortal`],features:[Lr]})}return n})();var Bi$1=(()=>{class n extends it$2{_moduleRef=m$1(Hn$1,{optional:!0});_document=m$1(O$2);_viewContainerRef=m$1(Pr);_isInitialized=!1;_attachedRef=null;get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new me$3;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let i=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=i.createComponent(t.component,{index:i.length,injector:t.injector||i.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0});return i!==this._viewContainerRef&&this._insertContent(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(t){t.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=t=>{let i=t.element;i.parentNode;let o=this._document.createComment(`dom-portal`);t.setAttachedHost(this),i.parentNode.insertBefore(o,i),this._insertContent(i),this._attachedPortal=t,super.setDisposeFn(()=>o.parentNode?.replaceChild(i,o))};_insertContent(t){let i=this._viewContainerRef.element.nativeElement;i.nodeType===i.ELEMENT_NODE?i.appendChild(t):i.parentNode?.insertBefore(t,i)}static ɵfac=(()=>{let t;return function(o){return(t||(t=Km(n)))(o||n)}})();static ɵdir=xe$2({type:n,selectors:[[``,`cdkPortalOutlet`,``]],inputs:{portal:[0,`cdkPortalOutlet`,`portal`]},outputs:{attached:`attached`},exportAs:[`cdkPortalOutlet`],features:[Lr]})}return n})();var qt$1=(()=>{class n{static ɵfac=function(i){return new(i||n)};static ɵmod=fe$3({type:n});static ɵinj=ae$3({})}return n})();var Qt$2=o3();function re(n){return new ot$2(n.get(L),n.get(O$2))}var ot$2=class{_viewportRuler;_previousHTMLStyles={top:``,left:``};_previousScrollPosition;_isEnabled=!1;_document;constructor(e,t){this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||``,this._previousHTMLStyles.top=e.style.top||``,e.style.left=E3(-this._previousScrollPosition.left),e.style.top=E3(-this._previousScrollPosition.top),e.classList.add(`cdk-global-scrollblock`),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,i=e.style,o=t.style,r=i.scrollBehavior||``,s=o.scrollBehavior||``;this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove(`cdk-global-scrollblock`),Qt$2&&(i.scrollBehavior=o.scrollBehavior=`auto`),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Qt$2&&(i.scrollBehavior=r,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains(`cdk-global-scrollblock`)||this._isEnabled)return!1;let t=this._document.documentElement,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}};function se$2(n,e){return new rt$1(n.get(X$2),n.get(P$2),n.get(L),e)}var rt$1=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(e,t,i,o){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=o}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(He$2(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.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())}};var U$1=class{enable(){}disable(){}attach(){}};function xt$2(n,e){return e.some(t=>{let i=n.bottom<t.top,o=n.top>t.bottom,r=n.right<t.left,s=n.left>t.right;return i||o||r||s})}function Jt$2(n,e){return e.some(t=>{let i=n.top<t.top,o=n.bottom>t.bottom,r=n.left<t.left,s=n.right>t.right;return i||o||r||s})}function Pt$1(n,e){return new st$2(n.get(X$2),n.get(L),n.get(P$2),e)}var st$2=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(e,t,i,o){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=o}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();xt$2(t,[{width:i,height:o,bottom:o,right:i,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}};var ae$2=(()=>{class n{_injector=m$1(Y$1);noop=()=>new U$1;close=t=>se$2(this._injector,t);block=()=>re(this._injector);reposition=t=>Pt$1(this._injector,t);static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();var Z$2=class{positionStrategy;scrollStrategy=new U$1;panelClass=``;hasBackdrop=!1;backdropClass=`cdk-overlay-dark-backdrop`;disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(e){if(e){let t=Object.keys(e);for(let i of t)e[i]!==void 0&&(this[i]=e[i])}}};var at$2=class{connectionPair;scrollableViewProperties;constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}};var le$2=(()=>{class n{_attachedOverlays=[];_document=m$1(O$2);_isAttached=!1;ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(t,i,o){return o.observers.length<1?!1:t.eventPredicate?t.eventPredicate(i):!0}static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();var ce$2=(()=>{class n extends le$2{_ngZone=m$1(P$2);_renderer=m$1(qe$2).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen(`body`,`keydown`,this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{let i=this._attachedOverlays;for(let o=i.length-1;o>-1;o--){let r=i[o];if(this.canReceiveEvent(r,t,r._keydownEvents)){this._ngZone.run(()=>r._keydownEvents.next(t));break}}};static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();var he$2=(()=>{class n extends le$2{_platform=m$1(ge$3);_ngZone=m$1(P$2);_renderer=m$1(qe$2).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(t){if(super.add(t),!this._isAttached){let i=this._document.body,o={capture:!0},r=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[r.listen(i,`pointerdown`,this._pointerDownListener,o),r.listen(i,`click`,this._clickListener,o),r.listen(i,`auxclick`,this._clickListener,o),r.listen(i,`contextmenu`,this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor=`pointer`,this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=Qe$2(t)};_clickListener=t=>{let i=Qe$2(t),o=t.type===`click`&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let s=r.length-1;s>-1;s--){let a=r[s],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,t,c))){if(te(a.overlayElement,i)||te(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(t)):c.next(t)}}};static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();function te(n,e){let t=typeof ShadowRoot<`u`&&ShadowRoot,i=e;for(;i;){if(i===n)return!0;i=t&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var de$2=(()=>{class n{static ɵfac=function(i){return new(i||n)};static ɵcmp=Te$1({type:n,selectors:[[`ng-component`]],hostAttrs:[`cdk-overlay-style-loader`,``],decls:0,vars:0,template:function(i,o){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
830
|
+
pointer-events: none;
|
|
831
|
+
top: 0;
|
|
832
|
+
left: 0;
|
|
833
|
+
height: 100%;
|
|
834
|
+
width: 100%;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.cdk-overlay-container {
|
|
838
|
+
position: fixed;
|
|
839
|
+
}
|
|
840
|
+
@layer cdk-overlay {
|
|
841
|
+
.cdk-overlay-container {
|
|
842
|
+
z-index: 1000;
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
.cdk-overlay-container:empty {
|
|
846
|
+
display: none;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.cdk-global-overlay-wrapper {
|
|
850
|
+
display: flex;
|
|
851
|
+
position: absolute;
|
|
852
|
+
}
|
|
853
|
+
@layer cdk-overlay {
|
|
854
|
+
.cdk-global-overlay-wrapper {
|
|
855
|
+
z-index: 1000;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.cdk-overlay-pane {
|
|
860
|
+
position: absolute;
|
|
861
|
+
pointer-events: auto;
|
|
862
|
+
box-sizing: border-box;
|
|
863
|
+
display: flex;
|
|
864
|
+
max-width: 100%;
|
|
865
|
+
max-height: 100%;
|
|
866
|
+
}
|
|
867
|
+
@layer cdk-overlay {
|
|
868
|
+
.cdk-overlay-pane {
|
|
869
|
+
z-index: 1000;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
.cdk-overlay-backdrop {
|
|
874
|
+
position: absolute;
|
|
875
|
+
top: 0;
|
|
876
|
+
bottom: 0;
|
|
877
|
+
left: 0;
|
|
878
|
+
right: 0;
|
|
879
|
+
pointer-events: auto;
|
|
880
|
+
-webkit-tap-highlight-color: transparent;
|
|
881
|
+
opacity: 0;
|
|
882
|
+
touch-action: manipulation;
|
|
883
|
+
}
|
|
884
|
+
@layer cdk-overlay {
|
|
885
|
+
.cdk-overlay-backdrop {
|
|
886
|
+
z-index: 1000;
|
|
887
|
+
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
@media (prefers-reduced-motion) {
|
|
891
|
+
.cdk-overlay-backdrop {
|
|
892
|
+
transition-duration: 1ms;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.cdk-overlay-backdrop-showing {
|
|
897
|
+
opacity: 1;
|
|
898
|
+
}
|
|
899
|
+
@media (forced-colors: active) {
|
|
900
|
+
.cdk-overlay-backdrop-showing {
|
|
901
|
+
opacity: 0.6;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
@layer cdk-overlay {
|
|
906
|
+
.cdk-overlay-dark-backdrop {
|
|
907
|
+
background: rgba(0, 0, 0, 0.32);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.cdk-overlay-transparent-backdrop {
|
|
912
|
+
transition: visibility 1ms linear, opacity 1ms linear;
|
|
913
|
+
visibility: hidden;
|
|
914
|
+
opacity: 1;
|
|
915
|
+
}
|
|
916
|
+
.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
|
|
917
|
+
opacity: 0;
|
|
918
|
+
visibility: visible;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.cdk-overlay-backdrop-noop-animation {
|
|
922
|
+
transition: none;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.cdk-overlay-connected-position-bounding-box {
|
|
926
|
+
position: absolute;
|
|
927
|
+
display: flex;
|
|
928
|
+
flex-direction: column;
|
|
929
|
+
min-width: 1px;
|
|
930
|
+
min-height: 1px;
|
|
931
|
+
}
|
|
932
|
+
@layer cdk-overlay {
|
|
933
|
+
.cdk-overlay-connected-position-bounding-box {
|
|
934
|
+
z-index: 1000;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.cdk-global-scrollblock {
|
|
939
|
+
position: fixed;
|
|
940
|
+
width: 100%;
|
|
941
|
+
overflow-y: scroll;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
.cdk-overlay-popover {
|
|
945
|
+
background: none;
|
|
946
|
+
border: none;
|
|
947
|
+
padding: 0;
|
|
948
|
+
outline: 0;
|
|
949
|
+
overflow: visible;
|
|
950
|
+
position: fixed;
|
|
951
|
+
pointer-events: none;
|
|
952
|
+
white-space: normal;
|
|
953
|
+
color: inherit;
|
|
954
|
+
text-decoration: none;
|
|
955
|
+
width: 100%;
|
|
956
|
+
height: 100%;
|
|
957
|
+
inset: auto;
|
|
958
|
+
top: 0;
|
|
959
|
+
left: 0;
|
|
960
|
+
}
|
|
961
|
+
.cdk-overlay-popover::backdrop {
|
|
962
|
+
display: none;
|
|
963
|
+
}
|
|
964
|
+
.cdk-overlay-popover .cdk-overlay-backdrop {
|
|
965
|
+
position: fixed;
|
|
966
|
+
z-index: auto;
|
|
967
|
+
}
|
|
968
|
+
`],encapsulation:2})}return n})();var ue$2=(()=>{class n{_platform=m$1(ge$3);_containerElement;_document=m$1(O$2);_styleLoader=m$1(Nt$3);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=`cdk-overlay-container`;if(this._platform.isBrowser||a3()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}let i=this._document.createElement(`div`);i.classList.add(t),a3()?i.setAttribute(`platform`,`test`):this._platform.isBrowser||i.setAttribute(`platform`,`server`),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(de$2)}static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();var Et$2=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(e,t,i,o){this._renderer=t,this._ngZone=i,this.element=e.createElement(`div`),this.element.classList.add(`cdk-overlay-backdrop`),this._cleanupClick=t.listen(this.element,`click`,o)}detach(){this._ngZone.runOutsideAngular(()=>{let e=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(e,`transitionend`,this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents=`none`,e.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 Mt$3(n){return n&&n.nodeType===1}var Rt$2=ke$3([]);var lt$3=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new B;_attachments=new B;_detachments=new B;_positionStrategy;_scrollStrategy;_locationChanges;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new B;_outsidePointerEvents=new B;_afterNextRenderRef;constructor(e,t,i,o,r,s,a,c,d,l=!1,u,f){this._portalOutlet=e,this._host=t,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=d,this._animationsDisabled=l,this._injector=u,this._renderer=f,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.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(e){if(this._disposed)return null;this._attachHost();let t=this._portalOutlet.attach(e);if(this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),jr(()=>{Rt$2.update(i=>i.includes(this)?i:[...i,this])}),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Ou(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation===!0||this._config.disposeOnNavigation===`pop-state`){let i=this._location.subscribe(()=>this.dispose());this._locationChanges=()=>i.unsubscribe()}else this._config.disposeOnNavigation===`url-change`&&(this._locationChanges=this._location.onUrlChange(()=>this.dispose()));return this._outsideClickDispatcher.add(this),typeof t?.onDestroy==`function`&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges?.(),this._outsideClickDispatcher.remove(this),jr(()=>{Rt$2.update(t=>t.filter(i=>i!==this))}),e}dispose(){if(this._disposed)return;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges?.(),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,e&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0,jr(()=>{Rt$2.update(t=>t.filter(i=>i!==this))})}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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=R$3(R$3({},this._config),e),this._updateElementSize()}setDirection(e){this._config=J$2(R$3({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e==`string`?e:e.value:`ltr`}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute(`dir`,this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=E3(this._config.width),e.height=E3(this._config.height),e.minWidth=E3(this._config.minWidth),e.minHeight=E3(this._config.minHeight),e.maxWidth=E3(this._config.maxWidth),e.maxHeight=E3(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?``:`none`}_attachHost(){if(!this._host.parentElement){let e=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Mt$3(e)?e.after(this._host):e?.type===`parent`?e.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){let e=`cdk-overlay-backdrop-showing`;this._backdropRef?.dispose(),this._backdropRef=new Et$2(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add(`cdk-overlay-backdrop-noop-animation`),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),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(e))}):this._backdropRef.element.classList.add(e)}_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(e,t,i){let o=Vd(t||[]).filter(r=>!!r);o.length&&(i?e.classList.add(...o):e.classList.remove(...o))}_detachContentWhenEmpty(){let e=!1;try{this._detachContentAfterRenderRef=Ou(()=>{e=!0,this._detachContent()},{injector:this._injector})}catch(t){if(e)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),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 e=this._scrollStrategy;e?.disable(),e?.detach?.()}};var ee$1=`cdk-overlay-connected-position-bounding-box`;var we$1=/([A-Za-z%]+)$/;function Vt$1(n,e){return new ct$2(e,n.get(L),n.get(O$2),n.get(ge$3),n.get(ue$2))}var ct$2=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new B;_resizeSubscription=q$2.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation=`global`;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(e,t,i,o,r){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=r,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(ee$1),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,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 e=this._originRect,t=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,o,a),d=this._getOverlayPoint(c,t,a),l=this._getOverlayFit(d,t,i,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(l,d,i)){r.push({position:a,origin:c,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<l.visibleArea)&&(s={overlayFit:l,overlayPoint:d,originPoint:c,position:a,overlayRect:t})}if(r.length){let a=null,c=-1;for(let d of r){let l=d.boundingBoxRect.width*d.boundingBoxRect.height*(d.position.weight||1);l>c&&(c=l,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&A$1(this._boundingBox.style,{top:``,left:``,right:``,bottom:``,height:``,width:``,alignItems:``,justifyContent:``}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ee$1),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;e?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(e,this._getOriginPoint(this._originRect,this._containerRect,e))):this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}withPopoverLocation(e){return this._popoverLocation=e,this}getPopoverInsertionPoint(){return this._popoverLocation===`global`?null:this._popoverLocation!==`inline`?this._popoverLocation:this._origin instanceof oe$2?this._origin.nativeElement:Mt$3(this._origin)?this._origin:null}_getOriginPoint(e,t,i){let o;if(i.originX==`center`)o=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;o=i.originX==`start`?s:a}t.left<0&&(o-=t.left);let r;return i.originY==`center`?r=e.top+e.height/2:r=i.originY==`top`?e.top:e.bottom,t.top<0&&(r-=t.top),{x:o,y:r}}_getOverlayPoint(e,t,i){let o;i.overlayX==`center`?o=-t.width/2:i.overlayX===`start`?o=this._isRtl()?-t.width:0:o=this._isRtl()?0:-t.width;let r;return i.overlayY==`center`?r=-t.height/2:r=i.overlayY==`top`?0:-t.height,{x:e.x+o,y:e.y+r}}_getOverlayFit(e,t,i,o){let r=ne(t),{x:s,y:a}=e,c=this._getOffset(o,`x`),d=this._getOffset(o,`y`);c&&(s+=c),d&&(a+=d);let l=0-s,u=s+r.width-i.width,f=0-a,v=a+r.height-i.height,g=this._subtractOverflows(r.width,l,u),w=this._subtractOverflows(r.height,f,v),Ft=g*w;return{visibleArea:Ft,isCompletelyWithinViewport:r.width*r.height===Ft,fitsInViewportVertically:w===r.height,fitsInViewportHorizontally:g==r.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){let o=i.bottom-t.y,r=i.right-t.x,s=ie$1(this._overlayRef.getConfig().minHeight),a=ie$1(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||s!=null&&s<=o,d=e.fitsInViewportHorizontally||a!=null&&a<=r;return c&&d}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let o=ne(t),r=this._viewportRect,s=Math.max(e.x+o.width-r.width,0),a=Math.max(e.y+o.height-r.height,0),c=Math.max(r.top-i.top-e.y,0),d=Math.max(r.left-i.left-e.x,0),l=0,u=0;return o.width<=r.width?l=d||-s:l=e.x<this._getViewportMarginStart()?r.left-i.left-e.x:0,o.height<=r.height?u=c||-a:u=e.y<this._getViewportMarginTop()?r.top-i.top-e.y:0,this._previousPushAmount={x:l,y:u},{x:e.x+l,y:e.y+u}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!Ce$1(this._lastScrollVisibility,i)){let o=new at$2(e,i);this._positionChanges.next(o)}this._lastScrollVisibility=i}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,o=e.overlayY;e.overlayX===`center`?i=`center`:this._isRtl()?i=e.overlayX===`start`?`right`:`left`:i=e.overlayX===`start`?`left`:`right`;for(let r=0;r<t.length;r++)t[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(e,t){let i=this._viewportRect,o=this._isRtl(),r,s,a;if(t.overlayY===`top`)s=e.y,r=i.height-s+this._getViewportMarginBottom();else if(t.overlayY===`bottom`)a=i.height-e.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),r=i.height-a+this._getViewportMarginTop();else{let v=Math.min(i.bottom-e.y+i.top,e.y),g=this._lastBoundingBoxSize.height;r=v*2,s=e.y-v,r>g&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-g/2)}let c=t.overlayX===`start`&&!o||t.overlayX===`end`&&o,d=t.overlayX===`end`&&!o||t.overlayX===`start`&&o,l,u,f;if(d)f=i.width-e.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),l=e.x-this._getViewportMarginStart();else if(c)u=e.x,l=i.right-e.x-this._getViewportMarginEnd();else{let v=Math.min(i.right-e.x+i.left,e.x),g=this._lastBoundingBoxSize.width;l=v*2,u=e.x-v,l>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:s,left:u,bottom:a,right:f,width:l,height:r}}_setBoundingBoxStyles(e,t){let i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left=`0`,o.bottom=o.right=`auto`,o.maxHeight=o.maxWidth=``,o.width=o.height=`100%`;else{let r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=E3(i.width),o.height=E3(i.height),o.top=E3(i.top)||`auto`,o.bottom=E3(i.bottom)||`auto`,o.left=E3(i.left)||`auto`,o.right=E3(i.right)||`auto`,t.overlayX===`center`?o.alignItems=`center`:o.alignItems=t.overlayX===`end`?`flex-end`:`flex-start`,t.overlayY===`center`?o.justifyContent=`center`:o.justifyContent=t.overlayY===`bottom`?`flex-end`:`flex-start`,r&&(o.maxHeight=E3(r)),s&&(o.maxWidth=E3(s))}this._lastBoundingBoxSize=i,A$1(this._boundingBox.style,o)}_resetBoundingBoxStyles(){A$1(this._boundingBox.style,{top:`0`,left:`0`,right:`0`,bottom:`0`,height:``,width:``,alignItems:``,justifyContent:``})}_resetOverlayElementStyles(){A$1(this._pane.style,{top:``,left:``,bottom:``,right:``,position:``,transform:``})}_setOverlayElementStyles(e,t){let i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let l=this._viewportRuler.getViewportScrollPosition();A$1(i,this._getExactOverlayY(t,e,l)),A$1(i,this._getExactOverlayX(t,e,l))}else i.position=`static`;let a=``,c=this._getOffset(t,`x`),d=this._getOffset(t,`y`);c&&(a+=`translateX(${c}px) `),d&&(a+=`translateY(${d}px)`),i.transform=a.trim(),s.maxHeight&&(o?i.maxHeight=E3(s.maxHeight):r&&(i.maxHeight=``)),s.maxWidth&&(o?i.maxWidth=E3(s.maxWidth):r&&(i.maxWidth=``)),A$1(this._pane.style,i)}_getExactOverlayY(e,t,i){let o={top:``,bottom:``},r=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),e.overlayY===`bottom`)o.bottom=`${this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)}px`;else o.top=E3(r.y);return o}_getExactOverlayX(e,t,i){let o={left:``,right:``},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i));let s;if(this._isRtl()?s=e.overlayX===`end`?`left`:`right`:s=e.overlayX===`end`?`right`:`left`,s===`right`)o.right=`${this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)}px`;else o.left=E3(r.x);return o}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Jt$2(e,i),isOriginOutsideView:xt$2(e,i),isOverlayClipped:Jt$2(t,i),isOverlayOutsideView:xt$2(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,o)=>i-Math.max(o,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._getViewportMarginTop(),left:i.left+this._getViewportMarginStart(),right:i.left+e-this._getViewportMarginEnd(),bottom:i.top+t-this._getViewportMarginBottom(),width:e-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:t-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()===`rtl`}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t===`x`?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Vd(e).forEach(t=>{t!==``&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),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 e=this._origin;if(e instanceof oe$2)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}_getContainerRect(){let e=this._overlayRef.getConfig().usePopover&&this._popoverLocation!==`global`,t=this._overlayContainer.getContainerElement();e&&(t.style.display=`block`);let i=t.getBoundingClientRect();return e&&(t.style.display=``),i}};function A$1(n,e){for(let t in e)Object.hasOwn(e,t)&&(n[t]=e[t]);return n}function ie$1(n){if(typeof n!=`number`&&n!=null){let[e,t]=n.split(we$1);return!t||t===`px`?parseFloat(e):null}return n||null}function ne(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 Ce$1(n,e){return n===e?!0:n.isOriginClipped===e.isOriginClipped&&n.isOriginOutsideView===e.isOriginOutsideView&&n.isOverlayClipped===e.isOverlayClipped&&n.isOverlayOutsideView===e.isOverlayOutsideView}var oe$1=`cdk-global-overlay-wrapper`;function pe$2(n){return new ht$2}var ht$2=class{_overlayRef;_cssPosition=`static`;_topOffset=``;_bottomOffset=``;_alignItems=``;_xPosition=``;_xOffset=``;_width=``;_height=``;_isDisposed=!1;attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(oe$1),this._isDisposed=!1}top(e=``){return this._bottomOffset=``,this._topOffset=e,this._alignItems=`flex-start`,this}left(e=``){return this._xOffset=e,this._xPosition=`left`,this}bottom(e=``){return this._topOffset=``,this._bottomOffset=e,this._alignItems=`flex-end`,this}right(e=``){return this._xOffset=e,this._xPosition=`right`,this}start(e=``){return this._xOffset=e,this._xPosition=`start`,this}end(e=``){return this._xOffset=e,this._xPosition=`end`,this}width(e=``){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=``){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=``){return this.left(e),this._xPosition=`center`,this}centerVertically(e=``){return this.top(e),this._alignItems=`center`,this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,{width:o,height:r,maxWidth:s,maxHeight:a}=this._overlayRef.getConfig(),c=(o===`100%`||o===`100vw`)&&(!s||s===`100%`||s===`100vw`),d=(r===`100%`||r===`100vh`)&&(!a||a===`100%`||a===`100vh`),l=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction===`rtl`,v=``,g=``,w=``;c?w=`flex-start`:l===`center`?(w=`center`,f?g=u:v=u):f?l===`left`||l===`end`?(w=`flex-end`,v=u):(l===`right`||l===`start`)&&(w=`flex-start`,g=u):l===`left`||l===`start`?(w=`flex-start`,v=u):(l===`right`||l===`end`)&&(w=`flex-end`,g=u),e.position=this._cssPosition,e.marginLeft=c?`0`:v,e.marginTop=d?`0`:this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?`0`:g,t.justifyContent=w,t.alignItems=d?`flex-start`:this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(oe$1),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position=``,this._overlayRef=null,this._isDisposed=!0}};var fe$2=(()=>{class n{_injector=m$1(Y$1);global(){return pe$2()}flexibleConnectedTo(t){return Vt$1(this._injector,t)}static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();var At$3=new g(`OVERLAY_DEFAULT_CONFIG`);function Bt$1(n,e){n.get(Nt$3).load(de$2);let t=n.get(ue$2),i=n.get(O$2),o=n.get(Wd),r=n.get(zn$1),s=n.get(gT),a=n.get(Ar,null,{optional:!0})||n.get(qe$2).createRenderer(null,null),c=new Z$2(e),d=n.get(At$3,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,!i.body||!(`showPopover`in i.body)?c.usePopover=!1:c.usePopover=e?.usePopover??d;let l=i.createElement(`div`),u=i.createElement(`div`);l.id=o.getId(`cdk-overlay-`),l.classList.add(`cdk-overlay-pane`),u.appendChild(l),c.usePopover&&(u.setAttribute(`popover`,`manual`),u.classList.add(`cdk-overlay-popover`));let f=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return Mt$3(f)?f.after(u):f?.type===`parent`?f.element.appendChild(u):t.getContainerElement().appendChild(u),new lt$3(new nt$2(l,r,n),u,l,c,n.get(P$2),n.get(ce$2),i,n.get(kb),n.get(he$2),e?.disableAnimations??n.get(Dl,null,{optional:!0})===`NoopAnimations`,n.get(de$3),a)}var _e=(()=>{class n{scrollStrategies=m$1(ae$2);_positionBuilder=m$1(fe$2);_injector=m$1(Y$1);create(t){return Bt$1(this._injector,t)}position(){return this._positionBuilder}static ɵfac=function(i){return new(i||n)};static ɵprov=F$1({token:n,factory:n.ɵfac})}return n})();var be=[{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`}];var ke$2=new g(`cdk-connected-overlay-scroll-strategy`,{providedIn:`root`,factory:()=>{let n=m$1(Y$1);return()=>Pt$1(n)}});var Dt$2=(()=>{class n{elementRef=m$1(oe$2);static ɵfac=function(i){return new(i||n)};static ɵdir=xe$2({type:n,selectors:[[``,`cdk-overlay-origin`,``],[``,`overlay-origin`,``],[``,`cdkOverlayOrigin`,``]],exportAs:[`cdkOverlayOrigin`]})}return n})();var ge$2=new g(`cdk-connected-overlay-default-config`);var Se$1=(()=>{class n{_dir=m$1(gT,{optional:!0});_injector=m$1(Y$1);_overlayRef;_templatePortal;_backdropSubscription=q$2.EMPTY;_attachSubscription=q$2.EMPTY;_detachSubscription=q$2.EMPTY;_positionSubscription=q$2.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=m$1(ke$2);_ngZone=m$1(P$2);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(t){typeof t!=`string`&&this._assignConfig(t)}backdropClick=new me$3;positionChange=new me$3;attach=new me$3;detach=new me$3;overlayKeydown=new me$3;overlayOutsideClick=new me$3;constructor(){let t=m$1(Mr),i=m$1(Pr),o=m$1(ge$2,{optional:!0}),r=m$1(At$3,{optional:!0});this.usePopover=r?.usePopover===!1?null:`global`,this._templatePortal=new z$1(t,i),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=be);let t=this._overlayRef=Bt$1(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Oy(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let o=this._getOriginElement(),r=Qe$2(i);(!o||o!==r&&!o.contains(r))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Z$2({direction:this._dir||`ltr`,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).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 t=Vt$1(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Dt$2?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Dt$2?this.origin.elementRef.nativeElement:this.origin instanceof oe$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 t=this._overlayRef;t.getConfig().hasBackdrop=this.hasBackdrop,t.updateSize({width:this._getWidth()}),t.hasAttached()||t.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=t.backdropClick().subscribe(i=>this.backdropClick.emit(i)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Zv(()=>this.positionChange.observers.length>0)).subscribe(i=>{this._ngZone.run(()=>this.positionChange.emit(i)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(t){this.origin=t.origin??this.origin,this.positions=t.positions??this.positions,this.positionStrategy=t.positionStrategy??this.positionStrategy,this.offsetX=t.offsetX??this.offsetX,this.offsetY=t.offsetY??this.offsetY,this.width=t.width??this.width,this.height=t.height??this.height,this.minWidth=t.minWidth??this.minWidth,this.minHeight=t.minHeight??this.minHeight,this.backdropClass=t.backdropClass??this.backdropClass,this.panelClass=t.panelClass??this.panelClass,this.viewportMargin=t.viewportMargin??this.viewportMargin,this.scrollStrategy=t.scrollStrategy??this.scrollStrategy,this.disableClose=t.disableClose??this.disableClose,this.transformOriginSelector=t.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=t.hasBackdrop??this.hasBackdrop,this.lockPosition=t.lockPosition??this.lockPosition,this.flexibleDimensions=t.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=t.growAfterOpen??this.growAfterOpen,this.push=t.push??this.push,this.disposeOnNavigation=t.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=t.usePopover??this.usePopover,this.matchWidth=t.matchWidth??this.matchWidth}static ɵfac=function(i){return new(i||n)};static ɵdir=xe$2({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`,Ke$1],lockPosition:[2,`cdkConnectedOverlayLockPosition`,`lockPosition`,Ke$1],flexibleDimensions:[2,`cdkConnectedOverlayFlexibleDimensions`,`flexibleDimensions`,Ke$1],growAfterOpen:[2,`cdkConnectedOverlayGrowAfterOpen`,`growAfterOpen`,Ke$1],push:[2,`cdkConnectedOverlayPush`,`push`,Ke$1],disposeOnNavigation:[2,`cdkConnectedOverlayDisposeOnNavigation`,`disposeOnNavigation`,t=>t===`url-change`||t===`pop-state`?t:Ke$1(t)],usePopover:[0,`cdkConnectedOverlayUsePopover`,`usePopover`],matchWidth:[2,`cdkConnectedOverlayMatchWidth`,`matchWidth`,Ke$1],_config:[0,`cdkConnectedOverlay`,`_config`]},outputs:{backdropClick:`backdropClick`,positionChange:`positionChange`,attach:`attach`,detach:`detach`,overlayKeydown:`overlayKeydown`,overlayOutsideClick:`overlayOutsideClick`},exportAs:[`cdkConnectedOverlay`],features:[Xs]})}return n})();var Oe$2=(()=>{class n{static ɵfac=function(i){return new(i||n)};static ɵmod=fe$3({type:n});static ɵinj=ae$3({providers:[_e],imports:[$r,qt$1,bt$2,bt$2]})}return n})();var $$2=new g(`MAT_MENU_PANEL`);var G$1=(()=>{class r{_isAnchor;_elementRef=m$1(oe$2);_document=m$1(O$2);_focusMonitor=m$1(Fa);_parentMenu=m$1($$2,{optional:!0});_changeDetectorRef=m$1(eC);role=`menuitem`;disabled=!1;disabledInteractive=!1;disableRipple=!1;_hovered=new B;_focused=new B;_highlighted=!1;_triggersSubmenu=!1;constructor(){m$1(Nt$3).load(Gy),this._parentMenu?.addItem?.(this),this._isAnchor=this._elementRef.nativeElement.tagName===`A`}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled&&!this.disabledInteractive?`-1`:`0`}_getAriaDisabled(){return this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabled(){return this.disabledInteractive||!this.disabled?null:!0}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll(`mat-icon, .material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp`);for(let n=0;n<t.length;n++)t[n].remove();return e.textContent?.trim()||``}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static ɵfac=function(t){return new(t||r)};static ɵcmp=(function(){let e=[[[`mat-icon`],[``,`matMenuItemIcon`,``]],`*`],t=[`mat-icon, [matMenuItemIcon]`,`*`];function n(a,i){a&1&&(Pp(),Ys(0,`svg`,2),jg(1,`polygon`,3),od())}return Te$1({type:r,selectors:[[``,`mat-menu-item`,``]],hostAttrs:[1,`mat-mdc-menu-item`,`mat-focus-indicator`],hostVars:12,hostBindings:function(i,s){i&1&&Ug(`click`,function(l){return s._checkDisabled(l)})(`mouseenter`,function(){return s._handleMouseEnter()}),i&2&&(Wn$1(`role`,s.role)(`tabindex`,s._getTabIndex())(`aria-disabled`,s._getAriaDisabled())(`disabled`,s._getDisabled()),ct$3(`mat-mdc-menu-item-highlighted`,s._highlighted)(`mat-mdc-menu-item-submenu-trigger`,s._triggersSubmenu)(`mat-mdc-menu-item-disabled`,s.disabled)(`mat-mdc-menu-item-disabled-interactive`,s.disabledInteractive))},inputs:{role:`role`,disabled:[2,`disabled`,`disabled`,Ke$1],disabledInteractive:[2,`disabledInteractive`,`disabledInteractive`,Ke$1],disableRipple:[2,`disableRipple`,`disableRipple`,Ke$1]},exportAs:[`matMenuItem`],ngContentSelectors:t,decls:5,vars:3,consts:[[1,`mat-mdc-menu-item-text`],[`matRipple`,``,1,`mat-mdc-menu-ripple`,3,`matRippleDisabled`,`matRippleTrigger`],[`viewBox`,`0 0 5 10`,`focusable`,`false`,`aria-hidden`,`true`,1,`mat-mdc-menu-submenu-icon`],[`points`,`0,0 5,5 0,10`]],template:function(i,s){i&1&&(Gn$1(e),Ye$1(0),Ys(1,`span`,0),Ye$1(2,1),od(),jg(3,`div`,1),Yo(4,n,2,0,`svg`,2)),i&2&&(zo$1(3),Lg(`matRippleDisabled`,s.disableRipple||s.disabled)(`matRippleTrigger`,s._getHostElement()),zo$1(),Ko(s._triggersSubmenu?4:-1))},dependencies:[F3],encapsulation:2})})()}return r})();var Ze$1=new g(`MatMenuContent`);var Je$1=new g(`mat-menu-default-options`,{providedIn:`root`,factory:()=>({overlapTrigger:!1,xPosition:`after`,yPosition:`below`,backdropClass:`cdk-overlay-transparent-backdrop`})});var K$1=`_mat-menu-enter`;var T$2=`_mat-menu-exit`;var P$1=(()=>{class r{_elementRef=m$1(oe$2);_changeDetectorRef=m$1(eC);_injector=m$1(Y$1);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=qr();_allItems;_directDescendantItems=new jn$2;_classList={};_panelAnimationState=`void`;_animationDone=new B;_isAnimating=ke$3(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;get panelClass(){return this._previousPanelClass}set panelClass(e){let t=this._previousPanelClass,n=R$3({},this._classList);t&&t.length&&t.split(` `).forEach(a=>{n[a]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(` `).forEach(a=>{n[a]=!0}),this._elementRef.nativeElement.className=``),this._classList=n}_previousPanelClass=``;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new me$3;close=this.closed;panelId=m$1(Wd).getId(`mat-menu-panel-`);constructor(){let e=m$1(Je$1);this.overlayPanelClass=e.overlayPanelClass||``,this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new zd(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(e=>e.disabled&&!e.disabledInteractive),this._keyManager.tabOut.subscribe(()=>this.closed.emit(`tab`)),this._directDescendantItems.changes.pipe(Dc(this._directDescendantItems),Wf(e=>Bv(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState===`enter`&&t.activeItem?._hasFocus()){let n=e.toArray(),a=Math.max(0,Math.min(n.length-1,t.activeItemIndex||0));n[a]&&!n[a].disabled?t.setActiveItem(a):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(Dc(this._directDescendantItems),Wf(t=>Bv(...t.map(n=>n._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,n=this._keyManager;switch(t){case 27:Oy(e)||(e.preventDefault(),this.closed.emit(`keydown`));break;case 37:this.parentMenu&&this.direction===`ltr`&&this.closed.emit(`keydown`);break;case 39:this.parentMenu&&this.direction===`rtl`&&this.closed.emit(`keydown`);break;default:(t===38||t===40)&&n.setFocusOrigin(`keyboard`),n.onKeydown(e);return}}focusFirstItem(e=`program`){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Ou(()=>{let t=this._resolvePanel();if(!t||!t.contains(document.activeElement)){let n=this._keyManager;n.setFocusOrigin(e).setFirstItemActive(),!n.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=J$2(R$3({},this._classList),{"mat-menu-before":e===`before`,"mat-menu-after":e===`after`,"mat-menu-above":t===`above`,"mat-menu-below":t===`below`}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let t=e===T$2;(t||e===K$1)&&(t&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(t?`void`:`enter`),this._isAnimating.set(!1))}_onAnimationStart(e){(e===K$1||e===T$2)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?`enter`:`void`,e){if(this._keyManager.activeItemIndex===0){let t=this._resolvePanel();t&&(t.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(T$2),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?K$1:T$2)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(Dc(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest(`[role="menu"]`)),e}static ɵfac=function(t){return new(t||r)};static ɵcmp=(function(){let e=[`*`];function t(n,a){if(n&1){let i=Lw();en$2(0,`div`,0),$g(`click`,function(){Ip(i);let m=jw();return wp(m.closed.emit(`click`))})(`animationstart`,function(m){Ip(i);let l=jw();return wp(l._onAnimationStart(m.animationName))})(`animationend`,function(m){Ip(i);let l=jw();return wp(l._onAnimationDone(m.animationName))})(`animationcancel`,function(m){Ip(i);let l=jw();return wp(l._onAnimationDone(m.animationName))}),en$2(1,`div`,1),Ye$1(2),tn$2()()}if(n&2){let i=jw();Qo(i._classList),ct$3(`mat-menu-panel-animations-disabled`,i._animationsDisabled)(`mat-menu-panel-exit-animation`,i._panelAnimationState===`void`)(`mat-menu-panel-animating`,i._isAnimating()),Hg(`id`,i.panelId),Wn$1(`aria-label`,i.ariaLabel||null)(`aria-labelledby`,i.ariaLabelledby||null)(`aria-describedby`,i.ariaDescribedby||null)}}return Te$1({type:r,selectors:[[`mat-menu`]],contentQueries:function(a,i,s){if(a&1&&Wg(s,Ze$1,5)(s,G$1,5)(s,G$1,4),a&2){let m;Hw(m=Uw())&&(i.lazyContent=m.first),Hw(m=Uw())&&(i._allItems=m),Hw(m=Uw())&&(i.items=m)}},viewQuery:function(a,i){if(a&1&&Gg(Mr,5),a&2){let s;Hw(s=Uw())&&(i.templateRef=s.first)}},hostVars:3,hostBindings:function(a,i){a&2&&Wn$1(`aria-label`,null)(`aria-labelledby`,null)(`aria-describedby`,null)},inputs:{backdropClass:`backdropClass`,ariaLabel:[0,`aria-label`,`ariaLabel`],ariaLabelledby:[0,`aria-labelledby`,`ariaLabelledby`],ariaDescribedby:[0,`aria-describedby`,`ariaDescribedby`],xPosition:`xPosition`,yPosition:`yPosition`,overlapTrigger:[2,`overlapTrigger`,`overlapTrigger`,Ke$1],hasBackdrop:[2,`hasBackdrop`,`hasBackdrop`,n=>n==null?null:Ke$1(n)],panelClass:[0,`class`,`panelClass`],classList:`classList`},outputs:{closed:`closed`,close:`close`},exportAs:[`matMenu`],features:[db([{provide:$$2,useExisting:r}])],ngContentSelectors:e,decls:1,vars:0,consts:[[`tabindex`,`-1`,`role`,`menu`,1,`mat-mdc-menu-panel`,3,`click`,`animationstart`,`animationend`,`animationcancel`,`id`],[1,`mat-mdc-menu-content`]],template:function(a,i){a&1&&(Gn$1(),Og(0,t,3,12,`ng-template`))},styles:[`mat-menu {
|
|
969
|
+
display: none;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.mat-mdc-menu-content {
|
|
973
|
+
margin: 0;
|
|
974
|
+
padding: 8px 0;
|
|
975
|
+
outline: 0;
|
|
976
|
+
}
|
|
977
|
+
.mat-mdc-menu-content,
|
|
978
|
+
.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text {
|
|
979
|
+
-moz-osx-font-smoothing: grayscale;
|
|
980
|
+
-webkit-font-smoothing: antialiased;
|
|
981
|
+
flex: 1;
|
|
982
|
+
white-space: normal;
|
|
983
|
+
font-family: var(--%NS%mat-menu-item-label-text-font, var(--%NS%mat-sys-label-large-font));
|
|
984
|
+
line-height: var(--%NS%mat-menu-item-label-text-line-height, var(--%NS%mat-sys-label-large-line-height));
|
|
985
|
+
font-size: var(--%NS%mat-menu-item-label-text-size, var(--%NS%mat-sys-label-large-size));
|
|
986
|
+
letter-spacing: var(--%NS%mat-menu-item-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
|
|
987
|
+
font-weight: var(--%NS%mat-menu-item-label-text-weight, var(--%NS%mat-sys-label-large-weight));
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
@keyframes _mat-menu-enter {
|
|
991
|
+
from {
|
|
992
|
+
opacity: 0;
|
|
993
|
+
transform: scale(0.8);
|
|
994
|
+
}
|
|
995
|
+
to {
|
|
996
|
+
opacity: 1;
|
|
997
|
+
transform: none;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
@keyframes _mat-menu-exit {
|
|
1001
|
+
from {
|
|
1002
|
+
opacity: 1;
|
|
1003
|
+
}
|
|
1004
|
+
to {
|
|
1005
|
+
opacity: 0;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
.mat-mdc-menu-panel {
|
|
1009
|
+
min-width: 112px;
|
|
1010
|
+
max-width: 280px;
|
|
1011
|
+
overflow: auto;
|
|
1012
|
+
box-sizing: border-box;
|
|
1013
|
+
outline: 0;
|
|
1014
|
+
animation: _mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);
|
|
1015
|
+
border-radius: var(--%NS%mat-menu-container-shape, var(--%NS%mat-sys-corner-extra-small));
|
|
1016
|
+
background-color: var(--%NS%mat-menu-container-color, var(--%NS%mat-sys-surface-container));
|
|
1017
|
+
box-shadow: var(--%NS%mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));
|
|
1018
|
+
will-change: transform, opacity;
|
|
1019
|
+
}
|
|
1020
|
+
.mat-mdc-menu-panel.mat-menu-panel-exit-animation {
|
|
1021
|
+
animation: _mat-menu-exit 100ms 25ms linear forwards;
|
|
1022
|
+
}
|
|
1023
|
+
.mat-mdc-menu-panel.mat-menu-panel-animations-disabled {
|
|
1024
|
+
animation: none;
|
|
1025
|
+
}
|
|
1026
|
+
.mat-mdc-menu-panel.mat-menu-panel-animating {
|
|
1027
|
+
pointer-events: none;
|
|
1028
|
+
}
|
|
1029
|
+
.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty) {
|
|
1030
|
+
display: none;
|
|
1031
|
+
}
|
|
1032
|
+
@media (forced-colors: active) {
|
|
1033
|
+
.mat-mdc-menu-panel {
|
|
1034
|
+
outline: solid 1px;
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
.mat-mdc-menu-panel .mat-divider {
|
|
1038
|
+
border-top-color: var(--%NS%mat-menu-divider-color, var(--%NS%mat-sys-surface-variant));
|
|
1039
|
+
margin-bottom: var(--%NS%mat-menu-divider-bottom-spacing, 8px);
|
|
1040
|
+
margin-top: var(--%NS%mat-menu-divider-top-spacing, 8px);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.mat-mdc-menu-item {
|
|
1044
|
+
display: flex;
|
|
1045
|
+
position: relative;
|
|
1046
|
+
align-items: center;
|
|
1047
|
+
justify-content: flex-start;
|
|
1048
|
+
overflow: hidden;
|
|
1049
|
+
padding: 0;
|
|
1050
|
+
cursor: pointer;
|
|
1051
|
+
width: 100%;
|
|
1052
|
+
text-align: left;
|
|
1053
|
+
box-sizing: border-box;
|
|
1054
|
+
color: inherit;
|
|
1055
|
+
font-size: inherit;
|
|
1056
|
+
background: none;
|
|
1057
|
+
text-decoration: none;
|
|
1058
|
+
margin: 0;
|
|
1059
|
+
min-height: 48px;
|
|
1060
|
+
padding-left: var(--%NS%mat-menu-item-leading-spacing, 12px);
|
|
1061
|
+
padding-right: var(--%NS%mat-menu-item-trailing-spacing, 12px);
|
|
1062
|
+
-webkit-user-select: none;
|
|
1063
|
+
user-select: none;
|
|
1064
|
+
cursor: pointer;
|
|
1065
|
+
outline: none;
|
|
1066
|
+
border: none;
|
|
1067
|
+
-webkit-tap-highlight-color: transparent;
|
|
1068
|
+
}
|
|
1069
|
+
.mat-mdc-menu-item::-moz-focus-inner {
|
|
1070
|
+
border: 0;
|
|
1071
|
+
}
|
|
1072
|
+
[dir=rtl] .mat-mdc-menu-item {
|
|
1073
|
+
padding-left: var(--%NS%mat-menu-item-trailing-spacing, 12px);
|
|
1074
|
+
padding-right: var(--%NS%mat-menu-item-leading-spacing, 12px);
|
|
1075
|
+
}
|
|
1076
|
+
.mat-mdc-menu-item:has(.material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, mat-icon, [matButtonIcon]) {
|
|
1077
|
+
padding-left: var(--%NS%mat-menu-item-with-icon-leading-spacing, 12px);
|
|
1078
|
+
padding-right: var(--%NS%mat-menu-item-with-icon-trailing-spacing, 12px);
|
|
1079
|
+
}
|
|
1080
|
+
[dir=rtl] .mat-mdc-menu-item:has(.material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, mat-icon, [matButtonIcon]) {
|
|
1081
|
+
padding-left: var(--%NS%mat-menu-item-with-icon-trailing-spacing, 12px);
|
|
1082
|
+
padding-right: var(--%NS%mat-menu-item-with-icon-leading-spacing, 12px);
|
|
1083
|
+
}
|
|
1084
|
+
.mat-mdc-menu-item, .mat-mdc-menu-item:visited, .mat-mdc-menu-item:link {
|
|
1085
|
+
color: var(--%NS%mat-menu-item-label-text-color, var(--%NS%mat-sys-on-surface));
|
|
1086
|
+
}
|
|
1087
|
+
.mat-mdc-menu-item .mat-icon-no-color,
|
|
1088
|
+
.mat-mdc-menu-item .mat-mdc-menu-submenu-icon {
|
|
1089
|
+
color: var(--%NS%mat-menu-item-icon-color, var(--%NS%mat-sys-on-surface-variant));
|
|
1090
|
+
}
|
|
1091
|
+
.mat-mdc-menu-item[disabled], .mat-mdc-menu-item.mat-mdc-menu-item-disabled {
|
|
1092
|
+
cursor: default;
|
|
1093
|
+
opacity: 0.38;
|
|
1094
|
+
}
|
|
1095
|
+
.mat-mdc-menu-item[disabled]::after, .mat-mdc-menu-item.mat-mdc-menu-item-disabled::after {
|
|
1096
|
+
display: block;
|
|
1097
|
+
position: absolute;
|
|
1098
|
+
content: "";
|
|
1099
|
+
top: 0;
|
|
1100
|
+
left: 0;
|
|
1101
|
+
bottom: 0;
|
|
1102
|
+
right: 0;
|
|
1103
|
+
}
|
|
1104
|
+
.mat-mdc-menu-item:focus {
|
|
1105
|
+
outline: 0;
|
|
1106
|
+
}
|
|
1107
|
+
.mat-mdc-menu-item .mat-icon {
|
|
1108
|
+
flex-shrink: 0;
|
|
1109
|
+
margin-right: var(--%NS%mat-menu-item-spacing, 12px);
|
|
1110
|
+
height: var(--%NS%mat-menu-item-icon-size, 24px);
|
|
1111
|
+
width: var(--%NS%mat-menu-item-icon-size, 24px);
|
|
1112
|
+
}
|
|
1113
|
+
[dir=rtl] .mat-mdc-menu-item {
|
|
1114
|
+
text-align: right;
|
|
1115
|
+
}
|
|
1116
|
+
[dir=rtl] .mat-mdc-menu-item .mat-icon {
|
|
1117
|
+
margin-right: 0;
|
|
1118
|
+
margin-left: var(--%NS%mat-menu-item-spacing, 12px);
|
|
1119
|
+
}
|
|
1120
|
+
.mat-mdc-menu-item:not([disabled]):hover {
|
|
1121
|
+
background-color: var(--%NS%mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-hover-state-layer-opacity) * 100%), transparent));
|
|
1122
|
+
}
|
|
1123
|
+
.mat-mdc-menu-item:not([disabled]).cdk-program-focused, .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused, .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted {
|
|
1124
|
+
background-color: var(--%NS%mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-focus-state-layer-opacity) * 100%), transparent));
|
|
1125
|
+
}
|
|
1126
|
+
@media (forced-colors: active) {
|
|
1127
|
+
.mat-mdc-menu-item {
|
|
1128
|
+
margin-top: 1px;
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.mat-mdc-menu-submenu-icon {
|
|
1133
|
+
width: var(--%NS%mat-menu-item-icon-size, 24px);
|
|
1134
|
+
height: 10px;
|
|
1135
|
+
fill: currentColor;
|
|
1136
|
+
padding-left: var(--%NS%mat-menu-item-spacing, 12px);
|
|
1137
|
+
}
|
|
1138
|
+
[dir=rtl] .mat-mdc-menu-submenu-icon {
|
|
1139
|
+
padding-right: var(--%NS%mat-menu-item-spacing, 12px);
|
|
1140
|
+
padding-left: 0;
|
|
1141
|
+
}
|
|
1142
|
+
[dir=rtl] .mat-mdc-menu-submenu-icon polygon {
|
|
1143
|
+
transform: scaleX(-1);
|
|
1144
|
+
transform-origin: center;
|
|
1145
|
+
}
|
|
1146
|
+
@media (forced-colors: active) {
|
|
1147
|
+
.mat-mdc-menu-submenu-icon {
|
|
1148
|
+
fill: CanvasText;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.mat-mdc-menu-item .mat-mdc-menu-ripple {
|
|
1153
|
+
top: 0;
|
|
1154
|
+
left: 0;
|
|
1155
|
+
right: 0;
|
|
1156
|
+
bottom: 0;
|
|
1157
|
+
position: absolute;
|
|
1158
|
+
pointer-events: none;
|
|
1159
|
+
}
|
|
1160
|
+
`],encapsulation:2})})()}return r})();var et$1=new g(`mat-menu-scroll-strategy`,{providedIn:`root`,factory:()=>{let r=m$1(Y$1);return()=>Pt$1(r)}});var d=/* @__PURE__ */ new WeakMap;var tt$1=(()=>{class r{_canHaveBackdrop;_element=m$1(oe$2);_viewContainerRef=m$1(Pr);_menuItemInstance=m$1(G$1,{optional:!0,self:!0});_dir=m$1(gT,{optional:!0});_focusMonitor=m$1(Fa);_ngZone=m$1(P$2);_injector=m$1(Y$1);_scrollStrategy=m$1(et$1);_changeDetectorRef=m$1(eC);_animationsDisabled=qr();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=q$2.EMPTY;_menuCloseSubscription=q$2.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e?(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t===`click`||t===`tab`)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})):this._destroyMenu(),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(e){this._canHaveBackdrop=e;let t=m$1($$2,{optional:!0});this._parentMaterialMenu=t instanceof P$1?t:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&d.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value===`rtl`?`rtl`:`ltr`}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){if(this._triggerIsAriaDisabled())return;let t=this._menu;if(this._menuOpen||!t)return;this._pendingRemoval?.unsubscribe();let n=d.get(t);d.set(t,this),n&&n!==this&&n._closeMenu();let a=this._createOverlay(t),i=a.getConfig(),s=i.positionStrategy;this._setPosition(t,s),this._canHaveBackdrop?i.hasBackdrop=t.hasBackdrop==null?!this._triggersSubmenu():t.hasBackdrop:i.hasBackdrop=t.hasBackdrop??!1,a.hasAttached()||(a.attach(this._getPortal(t)),t.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),t.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,e&&t.focusFirstItem(this._openedBy||`program`),this._setIsMenuOpen(!0),t instanceof P$1&&(t._setIsOpen(!0),t._directDescendantItems.changes.pipe(po$1(t.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(e){let t=this._overlayRef,n=this._menu;!t||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),n instanceof P$1&&this._ownsMenu(n)?(this._pendingRemoval=n._animationDone.pipe(tt$2(1)).subscribe(()=>{t.detach(),d.has(n)||n.lazyContent?.detach()}),n._setIsOpen(!1)):(t.detach(),n?.lazyContent?.detach()),n&&this._ownsMenu(n)&&d.delete(n),this.restoreFocus&&(e===`keydown`||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=Bt$1(this._injector,t),this._overlayRef.keydownEvents().subscribe(n=>{this._menu instanceof P$1&&this._menu._handleKeydown(n)})}return this._overlayRef}_getOverlayConfig(e){return new Z$2({positionStrategy:Vt$1(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(`.mat-menu-panel, .mat-mdc-menu-panel`),backdropClass:e.backdropClass||`cdk-overlay-transparent-backdrop`,panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||`ltr`,disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(n=>{this._ngZone.run(()=>{let a=n.connectionPair.overlayX===`start`?`after`:`before`,i=n.connectionPair.overlayY===`top`?`below`:`above`;e.setPositionClasses(a,i)})})}_setPosition(e,t){let[n,a]=e.xPosition===`before`?[`end`,`start`]:[`start`,`end`],[i,s]=e.yPosition===`above`?[`bottom`,`top`]:[`top`,`bottom`],[m,l]=[i,s],[R,A]=[n,a],p=0;if(this._triggersSubmenu()){if(A=n=e.xPosition===`before`?`start`:`end`,a=R=n===`end`?`start`:`end`,this._parentMaterialMenu){if(this._parentInnerPadding==null){let q=this._parentMaterialMenu.items.first;this._parentInnerPadding=q?q._getHostElement().offsetTop:0}p=i===`bottom`?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(m=i===`top`?`bottom`:`top`,l=s===`top`?`bottom`:`top`);t.withPositions([{originX:n,originY:m,overlayX:R,overlayY:i,offsetY:p},{originX:a,originY:m,overlayX:A,overlayY:i,offsetY:p},{originX:n,originY:l,overlayX:R,overlayY:s,offsetY:-p},{originX:a,originY:l,overlayX:A,overlayY:s,offsetY:-p}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),t=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:Ve$1(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(He$2(i=>this._menuOpen&&i!==this._menuItemInstance)):Ve$1();return Bv(e,n,a,t)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new z$1(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return d.get(e)===this}_triggerIsAriaDisabled(){return Ke$1(this._element.nativeElement.getAttribute(`aria-disabled`))}static ɵfac=function(t){wI()};static ɵdir=xe$2({type:r})}return r})();var At$2=(()=>{class r extends tt$1{_cleanupTouchstart;_hoverSubscription=q$2.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new me$3;onMenuOpen=this.menuOpened;menuClosed=new me$3;onMenuClose=this.menuClosed;constructor(){super(!0);let e=m$1(Ar);this._cleanupTouchstart=e.listen(this._element.nativeElement,`touchstart`,t=>{ci$1(t)||(this._openedBy=`touch`)},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){ai$1(e)||(this._openedBy=e.button===0?`mouse`:void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy=`keyboard`),this.triggersSubmenu()&&(t===39&&this.dir===`ltr`||t===37&&this.dir===`rtl`)&&(this._openedBy=`keyboard`,this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!==`void`&&(this._openedBy=`mouse`,this._openMenu(!1))}))}static ɵfac=function(t){return new(t||r)};static ɵdir=xe$2({type:r,selectors:[[``,`mat-menu-trigger-for`,``],[``,`matMenuTriggerFor`,``]],hostAttrs:[1,`mat-mdc-menu-trigger`],hostVars:3,hostBindings:function(t,n){t&1&&Ug(`click`,function(i){return n._handleClick(i)})(`mousedown`,function(i){return n._handleMousedown(i)})(`keydown`,function(i){return n._handleKeydown(i)}),t&2&&Wn$1(`aria-haspopup`,n.menu?`menu`:null)(`aria-expanded`,n.menuOpen)(`aria-controls`,n.menuOpen?n.menu?.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,`mat-menu-trigger-for`,`_deprecatedMatMenuTriggerFor`],menu:[0,`matMenuTriggerFor`,`menu`],menuData:[0,`matMenuTriggerData`,`menuData`],restoreFocus:[0,`matMenuTriggerRestoreFocus`,`restoreFocus`]},outputs:{menuOpened:`menuOpened`,onMenuOpen:`onMenuOpen`,menuClosed:`menuClosed`,onMenuClose:`onMenuClose`},exportAs:[`matMenuTrigger`],features:[Lr]})}return r})();var Ot$1=(()=>{class r{static ɵfac=function(t){return new(t||r)};static ɵmod=fe$3({type:r});static ɵinj=ae$3({imports:[Zy,Oe$2,$r,Ct$3]})}return r})();var f$1=`primary`;var Be=Symbol(`RouteTitle`);var Zt$1=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function oe(t){return new Zt$1(t)}function Gt$1(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===`:`)e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function sn$1(t,n,e){let r=e.path.split(`/`),i=r.indexOf(`**`);if(i===-1){if(r.length>t.length||e.pathMatch===`full`&&(n.hasChildren()||r.length<t.length))return null;let a={},u=t.slice(0,r.length);return Gt$1(r,u,a)?{consumed:u,posParams:a}:null}if(i!==r.lastIndexOf(`**`))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch===`full`&&n.hasChildren()&&e.path!==`**`)return null;let c={};return!Gt$1(o,t.slice(0,o.length),c)||!Gt$1(s,t.slice(t.length-s.length),c)?null:{consumed:t,posParams:c}}function ut$1(t){return new Promise((n,e)=>{t.pipe(zv()).subscribe({next:r=>n(r),error:r=>e(r)})})}function ii(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!H$1(t[e],n[e]))return!1;return!0}function H$1(t,n){let e=t?Jt$1(t):void 0,r=n?Jt$1(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!an$1(t[i],n[i]))return!1;return!0}function Jt$1(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function an$1(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function oi(t){return t.length>0?t[t.length-1]:null}function Ve(t){return Nv(t)?t:ua(t)?et$2(Promise.resolve(t)):Ve$1(t)}function cn(t){return Nv(t)?ut$1(t):Promise.resolve(t)}var si={exact:ln$1,subset:dn};var un={exact:ai,subset:ci,ignored:()=>!0};var dr={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var pe$1={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function hr(t,n,e){let r=t instanceof M$1?t:n.parseUrl(t);return MS(()=>lt$2(n.lastSuccessfulNavigation()?.finalUrl??new M$1,r,e))}function lt$2(t,n,e){let r=R$3(R$3({},pe$1),e||{});return si[r.paths](t.root,n.root,r.matrixParams)&&un[r.queryParams](t.queryParams,n.queryParams)&&!(r.fragment===`exact`&&t.fragment!==n.fragment)}function ai(t,n){return H$1(t,n)}function ln$1(t,n,e){if(!ie(t.segments,n.segments)||!st$1(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!ln$1(t.children[r],n.children[r],e))return!1;return!0}function ci(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>an$1(t[e],n[e]))}function dn(t,n,e){return hn(t,n,n.segments,e)}function hn(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!ie(i,e)||n.hasChildren()||!st$1(i,e,r))}else if(t.segments.length===e.length){if(!ie(t.segments,e)||!st$1(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!dn(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!ie(t.segments,i)||!st$1(t.segments,i,r)||!t.children[f$1]?!1:hn(t.children[f$1],n,o,r)}}function st$1(t,n,e){return n.every((r,i)=>un[e](t[i].parameters,r.parameters))}var M$1=class{root;queryParams;fragment;_queryParamMap;constructor(n=new m([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=oe(this.queryParams),this._queryParamMap}toString(){return hi.serialize(this)}};var m=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return at$1(this)}};var Z$1=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=oe(this.parameters),this._parameterMap}toString(){return pn(this)}};function ui(t,n){return ie(t,n)&&t.every((e,r)=>H$1(e.parameters,n[r].parameters))}function ie(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function li(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===f$1&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==f$1&&(e=e.concat(n(i,r)))}),e}var Re$1=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:()=>new J$1})}return t})();var J$1=class{parse(n){let e=new er(n);return new M$1(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${le$1(n.root,!0)}`;di(e)&&(e=`/`);let r=vi(n.queryParams),i=typeof n.fragment==`string`?`#${pi(n.fragment)}`:``;return`${e}${r}${i}`}};var Jr=`http://fake`;function di(t){try{let n=new URL(t,Jr);return n.origin!==Jr||n.pathname.startsWith(`//`)}catch{return!0}}var hi=new J$1;function at$1(t){return t.segments.map(n=>pn(n)).join(`/`)}function le$1(t,n){if(!t.hasChildren())return at$1(t);if(n){let e=t.children[f$1]?le$1(t.children[f$1],!1):``,r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==f$1&&r.push(`${i}:${le$1(o,!1)}`)}),r.length>0?`${e}(${r.join(`//`)})`:e}else{if(Object.keys(t.children).length===1&&t.children[f$1]!=null)return`${at$1(t)}/${le$1(t.children[f$1],!1)}`;let e=li(t,(r,i)=>i===f$1?[fi(le$1(t.children[f$1],!1))]:[`${i}:${le$1(r,!1)}`]);return`${at$1(t)}/(${e.join(`//`)})`}}function fi(t){return t.replace(gn,n=>n.replace(/:/g,`%3A`))}function fn(t){return encodeURIComponent(t).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function it$1(t){return fn(t).replace(/%3B/gi,`;`)}function pi(t){return encodeURI(t)}function Xt$1(t){return fn(t).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function ct$1(t){return decodeURIComponent(t)}function Xr(t){return ct$1(t.replace(/\+/g,`%20`))}function pn(t){return`${Xt$1(t.path)}${gi(t.parameters)}`}function gi(t){return Object.entries(t).map(([n,e])=>`;${Xt$1(n)}=${Xt$1(e)}`).join(``)}function vi(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${it$1(e)}=${it$1(i)}`).join(`&`):`${it$1(e)}=${it$1(r)}`).filter(e=>e);return n.length?`?${n.join(`&`)}`:``}var Wt$1=1073741824;function dt$3(t,n,e){Number(n)>=32&&!Object.hasOwn(t,Wt$1)&&(t[Wt$1]=e,delete t[Wt$1]),t[n]=e}var gn=/^[^\/()?;#]+/;function Qt$1(t){let n=t.match(gn);return n?n[0]:``}var mi=/^[^\/()?;=#]+/;function yi$1(t){let n=t.match(mi);return n?n[0]:``}var Ri$1=/^[^=?&#]+/;function Si$1(t){let n=t.match(Ri$1);return n?n[0]:``}var Ci$1=/^[^&#]+/;function wi(t){let n=t.match(Ci$1);return n?n[0]:``}var er=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional(`?`))do this.parseQueryParam(n);while(this.consumeOptional(`&`));return n}parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new b$2(4010,!1);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 r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,n));let i={};return this.peekStartsWith(`(`)&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[f$1]=new m(e,r)),i}parseSegment(){let n=Qt$1(this.remaining);if(n===``&&this.peekStartsWith(`;`))throw new b$2(4009,!1);return this.capture(n),new Z$1(ct$1(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(`;`);)this.parseParam(n);return n}parseParam(n){let e=yi$1(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let i=Qt$1(this.remaining);i&&(r=i,this.capture(r))}dt$3(n,ct$1(e),ct$1(r))}parseQueryParam(n){let e=Si$1(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let s=wi(this.remaining);s&&(r=s,this.capture(r))}let i=Xr(e),o=Xr(r);if(Object.hasOwn(n,i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let i=Qt$1(this.remaining),o=this.remaining[i.length];if(o!==`/`&&o!==`)`&&o!==`;`)throw new b$2(4010,!1);let s;i.indexOf(`:`)>-1?(s=i.slice(0,i.indexOf(`:`)),this.capture(s),this.capture(`:`)):n&&(s=f$1);let c=this.parseChildren(e+1),a=Object.keys(c).length===1&&c[f$1]?c[f$1]:new m([],c);dt$3(r,s??f$1,a),this.consumeOptional(`//`)}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new b$2(4011,!1)}};function vn(t){return t.segments.length>0?new m([],{[f$1]:t}):t}function mn(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=mn(i);if(r===f$1&&o.segments.length===0&&o.hasChildren())for(let[s,c]of Object.entries(o.children))dt$3(n,s,c);else(o.segments.length>0||o.hasChildren())&&dt$3(n,r,o)}return bi(new m(t.segments,n))}function bi(t){if(t.numberOfChildren===1&&t.children[f$1]){let n=t.children[f$1];return new m(t.segments.concat(n.segments),n.children)}return t}function X$1(t){return t instanceof M$1}function yn(t,n,e=null,r=null,i=new J$1){return Sn(Rn$1(t),n,e,r,i)}function Rn$1(t){let n;function e(o){let s={};for(let a of o.children){let u=e(a);s[a.outlet]=u}let c=new m(o.url,s);return o===t&&(n=c),c}let i=vn(e(t.root));return n??i}function Sn(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return Kt$1(o,o,o,e,r,i);let s=Ei$1(n);if(s.toRoot())return Kt$1(o,o,new m([],{}),e,r,i);let c=Ii$1(s,o,t),a=c.processChildren?Ue$1(c.segmentGroup,c.index,s.commands):wn(c.segmentGroup,c.index,s.commands);return Kt$1(o,c.segmentGroup,a,e,r,i)}function ht$1(t){return typeof t==`object`&&t!=null&&!t.outlets&&!t.segmentPath}function je$1(t){return typeof t==`object`&&t!=null&&t.outlets}function en$1(t,n,e){t||=`ɵ`;let r=new M$1;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Kt$1(t,n,e,r,i,o){let s={};for(let[u,l]of Object.entries(r??{}))l!=null&&(s[u]=Array.isArray(l)?l.map(g=>en$1(u,g,o)):en$1(u,l,o));let c;t===n?c=e:c=Cn(t,n,e);return new M$1(vn(mn(c)),s,i)}function Cn(t,n,e){let r=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=Cn(o,n,e)}),new m(t.segments,r)}var ft$2=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&ht$1(r[0]))throw new b$2(4003,!1);let i=r.find(je$1);if(i&&i!==oi(r))throw new b$2(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function Ei$1(t){if(typeof t[0]==`string`&&t.length===1&&t[0]===`/`)return new ft$2(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o==`object`&&o!=null){if(o.outlets){let c={};return Object.entries(o.outlets).forEach(([a,u])=>{c[a]=typeof u==`string`?u.split(`/`):u}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!=`string`?[...i,o]:s===0?(o.split(`/`).forEach((c,a)=>{a==0&&c===`.`||(a==0&&c===``?e=!0:c===`..`?n++:c!=``&&i.push(c))}),i):[...i,o]},[]);return new ft$2(e,n,r)}var he$1=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function Ii$1(t,n,e){if(t.isAbsolute)return new he$1(n,!0,0);if(!e)return new he$1(n,!1,NaN);if(e.parent===null)return new he$1(e,!0,0);let r=ht$1(t.commands[0])?0:1;return Ai$1(e,e.segments.length-1+r,t.numberOfDoubleDots)}function Ai$1(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new b$2(4005,!1);i=r.segments.length}return new he$1(r,!1,i-o)}function Mi$1(t){return je$1(t[0])?t[0].outlets:{[f$1]:t}}function wn(t,n,e){if(t??=new m([],{}),t.segments.length===0&&t.hasChildren())return Ue$1(t,n,e);let r=Di$1(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new m(t.segments.slice(0,r.pathIndex),{});return o.children[f$1]=new m(t.segments.slice(r.pathIndex),t.children),Ue$1(o,0,i)}else return r.match&&i.length===0?new m(t.segments,{}):r.match&&!t.hasChildren()?tr(t,n,e):r.match?Ue$1(t,0,i):tr(t,n,e)}function Ue$1(t,n,e){if(e.length===0)return new m(t.segments,{});{let r=Mi$1(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==f$1)&&t.children[f$1]&&t.numberOfChildren===1&&t.children[f$1].segments.length===0){let o=Ue$1(t.children[f$1],n,e);return new m(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(i[o]=wn(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new m(t.segments,i)}}function Di$1(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],c=e[r];if(je$1(c))break;let a=`${c}`,u=r<e.length-1?e[r+1]:null;if(i>0&&a===void 0)break;if(a&&u&&typeof u==`object`&&u.outlets===void 0){if(!rn$1(a,u,s))return o;r+=2}else{if(!rn$1(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function tr(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(je$1(o))return new m(r,_i(o.outlets));if(i===0&&ht$1(e[0])){let a=t.segments[n];r.push(new Z$1(a.path,tn$1(e[0]))),i++;continue}let s=je$1(o)?o.outlets[f$1]:`${o}`,c=i<e.length-1?e[i+1]:null;s&&c&&ht$1(c)?(r.push(new Z$1(s,tn$1(c))),i+=2):(r.push(new Z$1(s,{})),i++)}return new m(r,{})}function _i(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(n[e]=tr(new m([],{}),0,r))}),n}function tn$1(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function rn$1(t,n,e){return t==e.path&&H$1(n,e.parameters)}var bn=new g(``);var pt$1=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new se$1(this.rootInjector)}resetChildren(){this.children=new se$1(this.rootInjector)}};var se$1=(()=>{class t{rootInjector;contexts=/* @__PURE__ */ new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=/* @__PURE__ */ new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new pt$1(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static ɵfac=function(r){return new(r||t)(I(de$3))};static ɵprov=A$2({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var gt$2=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=rr(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=rr(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=nr(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return nr(n,this._root).map(e=>e.value)}};function rr(t,n){if(t===n.value)return n;for(let e of n.children){let r=rr(t,e);if(r)return r}return null}function nr(t,n){if(t===n.value)return[n];for(let e of n.children){let r=nr(t,e);if(r.length)return r.unshift(n),r}return[]}var A=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function de$1(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var xe=class extends gt$2{snapshot;constructor(n,e){super(n),this.snapshot=e}toString(){return this.snapshot.toString()}};function En(t,n){let e=Ti(t,n),r=new pn$1([new Z$1(``,{})]),i=new pn$1({}),o=new pn$1({}),a=new G(r,i,new pn$1({}),new pn$1(``),o,f$1,t,e.root);a.snapshot=e.root;let u=new A(a,[]),l=new xe(u,e);return Dt$1(l,u),l}function Ti(t,n){return new ke$1(``,new A(new ge$1([],{},{},``,{},f$1,t,null,{},n),[]))}var G=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_ownResources;_ownRawResourcesSignal;_resourceContextSignal;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,e,r,i,o,s,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(W$2(u=>u[Be]))??Ve$1(void 0),this.url=n,this.params=e,this.queryParams=r,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(W$2(n=>oe(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(W$2(n=>oe(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}};var Ni$1=`always`;function fr(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e===`always`||i?.path===``||!n.component&&!n.routeConfig?.loadComponent)?r={params:Object.keys(t.params).length===0?n.params:Object.freeze(R$3(R$3({},n.params),t.params)),data:Object.freeze(R$3(R$3({},n.data),t.data)),resolve:R$3(R$3(R$3(R$3({},t.data),n.data),i?.data),t._resolvedData)}:r={params:Object.freeze(R$3({},t.params)),data:Object.freeze(R$3({},t.data)),resolve:R$3(R$3({},t.data),t._resolvedData??{})},i&&An(i)&&(r.resolve[Be]=i.title),r}var ge$1=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[Be]}constructor(n,e,r,i,o,s,c,a,u,l){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=c,this.routeConfig=a,this._resolve=u,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??=oe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=oe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var ke$1=class extends gt$2{url;constructor(n,e){super(e),this.url=n,Dt$1(this,e)}toString(){return In$1(this._root)}};function Dt$1(t,n){n.value._routerState=t,n.children.forEach(e=>Dt$1(t,e))}function In$1(t){let n=t.children.length>0?` { ${t.children.map(In$1).join(`, `)} } `:``;return`${t.value}${n}`}function Yt$1(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,H$1(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),H$1(n.params,e.params)||t.paramsSubject.next(e.params),ii(n.url,e.url)||t.urlSubject.next(e.url),H$1(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function ir(t,n){let e=H$1(t.params,n.params)&&ui(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||ir(t.parent,n.parent))}function An(t){return typeof t.title==`string`||t.title===null}var Mn=new g(``);var pr=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;isErrorComponentActive=!1;name=f$1;activateEvents=new me$3;deactivateEvents=new me$3;attachEvents=new me$3;detachEvents=new me$3;routerOutletData=Ib();parentContexts=m$1(se$1);location=m$1(Pr);changeDetector=m$1(eC);inputBinder=m$1(Ge,{optional:!0});errorBoundaryHandler=m$1(bn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)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 b$2(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b$2(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b$2(4012,!1);this.isErrorComponentActive=!1,this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.isErrorComponentActive=!1,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(e.instance)}deactivate(){this._activatedRoute=null,this.destroyActivatedComponent()}activateWith(e,r){if(this.isActivated)throw new b$2(4013,!1);this._activatedRoute=e,this.isErrorComponentActive=!1;let o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=this.errorBoundaryHandler,a=c?(l,g)=>{c.handleError(l,g,this,e,r,s)}:void 0,u;try{u=this.activateComponent(o,e,r,s,a)}catch(l){if(a){a(l);return}throw l}this.changeDetector.markForCheck(),this.activateEvents.emit(u.instance)}destroyActivatedComponent(){if(!this.activated)return;let e=this.component,r=this.isErrorComponentActive;this.inputBinder?.unsubscribeFromRouteData(this),this.activated.destroy(),this.activated=null,this.isErrorComponentActive=!1,r||this.deactivateEvents.emit(e)}activateComponent(e,r,i,o,s){let c=this.location.createComponent(e,{index:this.location.length,injector:new or(r,o,this.location.injector,this.routerOutletData),environmentInjector:i,onError:s});return this.activated=c,this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),c}static ɵfac=function(r){return new(r||t)};static ɵdir=xe$2({type:t,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[Xs]})}return t})();var or=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===G?this.route:n===se$1?this.childContexts:n===Mn?this.outletData:this.parent.get(n,e)}};var Ge=new g(``);var Dn=(()=>{class t{options;feature;outletDataSubscriptions=/* @__PURE__ */ new Map;outletSeenKeys=/* @__PURE__ */ new Map;outletEffects=/* @__PURE__ */ new Map;constructor(e,r=null){this.options=e,this.feature=r,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e,r){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e,r)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e),this.outletEffects.get(e)?.forEach(r=>r.destroy()),this.outletEffects.delete(e)}subscribeToRouteData(e,r){let{activatedRoute:i}=e,o=[],s=[];if(this.feature?.createResourceOutletBindingEffects&&e.activatedComponentRef){let{handledKeys:a,createdEffects:u}=this.feature.createResourceOutletBindingEffects(e.activatedComponentRef,i,e.isErrorComponentActive);o.push(...u),s=a}o.length>0&&this.outletEffects.set(e,o);let c=mc([this.options.queryParams?i.queryParams:Ve$1({}),i.params,i.data]).pipe(Wf(([a,u,l],g)=>(l=R$3(R$3(R$3(R$3({},a),u),l),i.resources),g===0?Ve$1(l):Promise.resolve(l)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i){this.unsubscribeFromRouteData(e);return}let u=e.activatedComponentRef.componentType,l=I2(u);if(!l){this.unsubscribeFromRouteData(e);return}let g=this.outletSeenKeys.get(e);g||(g=/* @__PURE__ */ new Set,this.outletSeenKeys.set(e,g));for(let y of Object.keys(a))g.add(y);let v=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:y}of l.inputs){if(s.includes(y)||e.isErrorComponentActive&&y===`error`)continue;let P=a[y];(P!==void 0||v===`alwaysUndefined`||g.has(y))&&e.activatedComponentRef.setInput(y,P)}});this.outletDataSubscriptions.set(e,c)}static ɵfac=function(r){wI()};static ɵprov=A$2({token:t,factory:t.ɵfac})}return t})();var gr=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵcmp=Te$1({type:t,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,i){r&1&&jg(0,`router-outlet`)},dependencies:[pr],encapsulation:2,changeDetection:1})}return t})();function vr(t){let n=t.children&&t.children.map(vr),e=n?J$2(R$3({},t),{children:n}):R$3({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==f$1&&(e.component=gr),e}var Oe$1=`imperative`;var w$1=(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})(w$1||{});var O$1=class{id;url;constructor(n,e){this.id=n,this.url=e}};var ae$1=class extends O$1{type=w$1.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r=`imperative`,i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var $$1=class extends O$1{urlAfterRedirects;type=w$1.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var b$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})(b$1||{});var $e$1=(function(t){return t[t.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,t[t.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,t})($e$1||{});var x$1=class extends O$1{reason;code;type=w$1.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function _n(t){return t instanceof x$1&&(t.code===b$1.Redirect||t.code===b$1.SupersededByNewNavigation)}var W$1=class extends O$1{reason;code;type=w$1.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}};var ce$1=class extends O$1{error;target;type=w$1.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var ze$1=class extends O$1{urlAfterRedirects;state;type=w$1.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var vt$2=class extends O$1{urlAfterRedirects;state;type=w$1.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var mt$2=class extends O$1{urlAfterRedirects;state;shouldActivate;type=w$1.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};var yt$2=class extends O$1{urlAfterRedirects;state;type=w$1.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Rt$1=class extends O$1{urlAfterRedirects;state;type=w$1.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var St$2=class{route;type=w$1.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var Ct$2=class{route;type=w$1.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var wt$1=class{snapshot;type=w$1.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var bt$1=class{snapshot;type=w$1.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Et$1=class{snapshot;type=w$1.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var It$2=class{snapshot;type=w$1.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var ve=class{};var qe$1=class{};var me$1=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Ui(t){return!(t instanceof ve)&&!(t instanceof me$1)&&!(t instanceof qe$1)}function Oi$1(t,n,e){let r=/* @__PURE__ */ new Set;return{newlyCreatedRoutes:r,state:new xe(He$1(t,n._root,e?e._root:void 0,r),n)}}function He$1(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._setPending(n.value);return new A(i,Pi$1(t,n,e,r))}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let c=s.route;return c.value._setPending(n.value),c.children=n.children.map(a=>He$1(t,a,void 0,r)),c}}let i=Li$1(n.value);i._setPending(n.value),r.add(i);return new A(i,n.children.map(s=>He$1(t,s,void 0,r)))}}function Pi$1(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return He$1(t,i,o,r);return He$1(t,i,void 0,r)})}function Li$1(t){return new G(new pn$1(t.url),new pn$1(t.params),new pn$1(t.queryParams),new pn$1(t.fragment),new pn$1(t.data),t.outlet,t.component,t)}var Q$1=class t extends Error{redirectTo;navigationBehaviorOptions;constructor(n,e){super(),this.redirectTo=n,this.navigationBehaviorOptions=e,Object.setPrototypeOf(this,t.prototype)}};var Tn=`ngNavigationCancelingError`;function Pe$1(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=X$1(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Nn(!1,b$1.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Nn(t,n){let e=/* @__PURE__ */ new Error(`NavigationCancelingError: ${t||``}`);return e[Tn]=!0,e.cancellationCode=n,e}function ji$1(t){return Un(t)&&X$1(t.url)}function Un(t){return!!t&&t[Tn]}var sr=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){Dt$1(this.futureState,this.futureState._root);let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Yt$1(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=de$1(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){!e.getContext(n.value.outlet)?.outlet?.isErrorComponentActive&&n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=de$1(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),c=r.children.contexts;r.resetChildren(),this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=de$1(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,r){let i=de$1(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new It$2(o.value.snapshot))}),n.children.length&&this.forwardEvent(new bt$1(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(Yt$1(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);s.outlet?.isErrorComponentActive&&(s.outlet.deactivate(),s.outlet.activateWith(i,s.injector)),this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(c.contexts),s.attachRef=c.componentRef,s.route=c.route.value,s.outlet&&s.outlet.attach(c.componentRef,c.route.value),Yt$1(c.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}};var At$1=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}};var fe$1=class{component;route;constructor(n,e){this.component=n,this.route=e}};function xi$1(t,n,e){let r=t._root;return Ne(r,n?n._root:null,e,[r.value])}function ki$1(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Se(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t==`function`&&!Qv(t)?t:n.get(t):r}function Ne(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=de$1(n);return t.children.forEach(s=>{$i$1(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,c])=>Le$1(c,e.getContext(s),e,i)),i}function $i$1(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=zi$1(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new At$1(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ne(t,n,c?c.children:null,r,i):Ne(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new fe$1(c.outlet.component,s))}else s&&Le$1(n,c,e,i),i.canActivateChecks.push(new At$1(r)),o.component?Ne(t,null,c?c.children:null,r,i):Ne(t,null,e,r,i);return i}function zi$1(t,n,e){if(typeof e==`function`)return mr$1(n._environmentInjector,()=>e(t,n));switch(e){case`pathParamsChange`:return!ie(t.url,n.url);case`pathParamsOrQueryParamsChange`:return!ie(t.url,n.url)||!H$1(t.queryParams,n.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!ir(t,n)||!H$1(t.queryParams,n.queryParams);default:return!ir(t,n)}}function Le$1(t,n,e,r){let i=de$1(t),o=t.value;Object.entries(i).forEach(([s,c])=>{o.component?n?Le$1(c,n.children.getContext(s),n.children,r):Le$1(c,null,null,r):Le$1(c,e?e.getContext(s):null,e,r)}),o.component?n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new fe$1(n.outlet.component,o)):r.canDeactivateChecks.push(new fe$1(null,o)):r.canDeactivateChecks.push(new fe$1(null,o))}function We$1(t){return typeof t==`function`}function qi$1(t){return typeof t==`boolean`}function Hi$1(t){return t&&We$1(t.canLoad)}function Fi$1(t){return t&&We$1(t.canActivate)}function Bi(t){return t&&We$1(t.canActivateChild)}function Vi$1(t){return t&&We$1(t.canDeactivate)}function Gi$1(t){return t&&We$1(t.canMatch)}function On(t){return t instanceof io$1||t?.name===`EmptyError`}var ot$1=Symbol(`INITIAL_VALUE`);function ye(){return Wf(t=>mc(t.map(n=>n.pipe(tt$2(1),co$1(e=>{if(e instanceof Q$1)return Ve$1(e);throw e}),Dc(ot$1)))).pipe(W$2(n=>{for(let e of n)if(e!==!0){if(e===ot$1)return ot$1;if(e===!1||Wi$1(e))return e}return!0}),He$2(n=>n!==ot$1),tt$2(1)))}function Wi$1(t){return X$1(t)||t instanceof Q$1}function Pn(t){return new T$3(n=>{if(t.aborted){n.next(),n.complete();return}let e=()=>{n.next(),n.complete()};return t.addEventListener(`abort`,e),()=>t.removeEventListener(`abort`,e)})}function Ln(t){return po$1(Pn(t))}function Qi(t){return pt$2(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?Ve$1(J$2(R$3({},n),{guardsResult:!0})):Ki$1(o,e,r).pipe(pt$2(s=>s&&qi$1(s)?Yi$1(e,i,t):Ve$1(s)),W$2(s=>J$2(R$3({},n),{guardsResult:s})))})}function Ki$1(t,n,e){return et$2(t).pipe(pt$2(r=>to(r.component,r.route,e,n)),zv(r=>r!==!0,!0))}function Yi$1(t,n,e){return et$2(n).pipe(gc(r=>Vt$2(Ji$1(r.route.parent,e),Zi$1(r.route,e),eo(t,r.path),Xi$1(t,r.route))),zv(r=>r!==!0,!0))}function Zi$1(t,n){return t!==null&&n&&n(new Et$1(t)),Ve$1(!0)}function Ji$1(t,n){return t!==null&&n&&n(new wt$1(t)),Ve$1(!0)}function Xi$1(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return Ve$1(!0);let r=e.map(i=>jv(()=>{let o=n._environmentInjector,s=Se(i,o);return Ve(Fi$1(s)?s.canActivate(n,t):mr$1(o,()=>s(n,t))).pipe(zv())}));return Ve$1(r).pipe(ye())}function eo(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>ki$1(o)).filter(o=>o!==null).map(o=>jv(()=>{let s=o.guards.map(c=>{let a=o.node._environmentInjector,u=Se(c,a);return Ve(Bi(u)?u.canActivateChild(e,t):mr$1(a,()=>u(e,t))).pipe(zv())});return Ve$1(s).pipe(ye())}));return Ve$1(i).pipe(ye())}function to(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return Ve$1(!0);let o=i.map(s=>{let c=n._environmentInjector,a=Se(s,c);return mr(()=>Vi$1(a)?a.canDeactivate(t,n,e,r):mr$1(c,()=>a(t,n,e,r))).pipe(zv())});return Ve$1(o).pipe(ye())}function ro(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return Ve$1(!0);let s=o.map(c=>{let a=Se(c,t),u=mr(()=>Hi$1(a)?a.canLoad(n,e):mr$1(t,()=>a(n,e)));return i?u.pipe(Ln(i)):u});return Ve$1(s).pipe(ye(),jn$1(r))}function mr(t){try{return Ve(t())}catch(n){return new T$3(e=>e.error(n))}}function jn$1(t){return mv(Me(n=>{if(typeof n!=`boolean`)throw Pe$1(t,n)}),W$2(n=>n===!0))}function no(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return Ve$1(!0);let c=s.map(a=>{let u=Se(a,t);return mr(()=>Gi$1(u)?u.canMatch(n,e,i):mr$1(t,()=>u(n,e,i))).pipe(Ln(o))});return Ve$1(c).pipe(ye(),jn$1(r))}function io(t){return Wf(n=>{let e=xn(n.targetRouterState._root,t);return e.length===0?Ve$1(n):et$2(Promise.all(e).then(()=>n))})}function xn(t,n){let e=[],r=t.value,i=r._futureSnapshot;if(i.routeConfig?._loadedComponent)i.component=i.routeConfig._loadedComponent,r.component=i.routeConfig._loadedComponent;else if(i.routeConfig?.loadComponent){let o=i._environmentInjector;e.push(n.loadComponent(o,i.routeConfig).then(s=>{i.component=s,r.component=s}))}for(let o of t.children)e.push(...xn(o,n));return e}var q$1=class t extends Error{name=`NoMatch`;segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}};var Fe$1=class t extends Error{urlTree;name=`AbsoluteRedirect`;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function oo(t){throw new b$2(4e3,!1)}function so(t){throw Nn(!1,b$1.GuardRejected)}var ar=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}async lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[f$1])throw oo(`${n.redirectTo}`);i=i.children[f$1]}}async applyRedirectCommands(n,e,r,i,o){let s=await ao(e,i,o);if(s instanceof M$1)throw new Fe$1(s);let c=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]===`/`)throw new Fe$1(c);return c}applyRedirectCreateUrlTree(n,e,r,i){return new M$1(this.createSegmentGroup(n,e.root,r,i),this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o==`string`&&o[0]===`:`){let c=o.substring(1);r[i]=e[c]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s=Object.create(null);return Object.entries(e.children).forEach(([c,a])=>{s[c]=this.createSegmentGroup(n,a,r,i)}),new m(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===`:`?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new b$2(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function ao(t,n,e){if(typeof t==`string`)return Promise.resolve(t);let r=t;return ut$1(Ve(mr$1(e,()=>r(n))))}function kn(t,n){return t.providers&&!t._injector&&(t._injector=Cg(t.providers,n,`Route: ${t.path}`)),t._injector??n}function F(t){return t.outlet||f$1}function co(t,n){let e=t.filter(r=>F(r)===n);return e.push(...t.filter(r=>F(r)!==n)),e}var cr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $n(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 uo(t,n,e,r,i,o,s){let c=zn(t,n,e);if(!c.matched)return Ve$1(c);let a=$n(o(c));return r=kn(n,r),no(r,n,e,i,a,s).pipe(W$2(u=>u===!0?c:R$3({},cr)))}function zn(t,n,e){if(n.path===``)return n.pathMatch===`full`&&(t.hasChildren()||e.length>0)?R$3({},cr):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||sn$1)(e,t,n);if(!i)return R$3({},cr);let o={};Object.entries(i.posParams??{}).forEach(([c,a])=>{o[c]=a.path});let s=i.consumed.length>0?R$3(R$3({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function nn$1(t,n,e,r){return e.length>0&&fo(t,e,r)?{segmentGroup:new m(n,ho(r,new m(e,t.children))),slicedSegments:[]}:e.length===0&&po(t,e,r)?{segmentGroup:new m(t.segments,lo(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new m(t.segments,t.children),slicedSegments:e}}function lo(t,n,e,r){let i={};for(let o of e)if(_t$2(t,n,o)&&!r[F(o)]){let s=new m([],{});i[F(o)]=s}return R$3(R$3({},r),i)}function ho(t,n){let e={};e[f$1]=n;for(let r of t)if(r.path===``&&F(r)!==f$1){let i=new m([],{});e[F(r)]=i}return e}function fo(t,n,e){return e.some(r=>_t$2(t,n,r)&&F(r)!==f$1)}function po(t,n,e){return e.some(r=>_t$2(t,n,r))}function _t$2(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch===`full`?!1:e.path===``}function go(t,n,e){return n.length===0&&!t.hasChildren()}var ur=class{};async function vo(t,n,e,r,i,o,s,c){return new lr(t,n,e,r,i,s,o,c).recognize()}var mo=31;var lr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(n,e,r,i,o,s,c,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=c,this.abortSignal=a,this.applyRedirects=new ar(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(R$3({},this.urlTree.queryParams))}noMatchError(n){return new b$2(4002,`'${n.segmentGroup}'`)}async recognize(){let n=nn$1(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),o=new ke$1(``,new A(r,e)),s=yn(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}async match(n){let e=new ge$1([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),f$1,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,f$1,e),rootSnapshot:e}}catch(r){if(r instanceof Fe$1)return this.absoluteRedirectCount++,this.absoluteRedirectCount>mo&&(this.allowRedirects=!1),this.urlTree=r.urlTree,this.queryParams=Object.freeze(R$3({},this.urlTree.queryParams)),this.match(r.urlTree.root);throw r instanceof q$1?this.noMatchError(r):r}}async processSegmentGroup(n,e,r,i,o){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=await this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof A?[s]:[]}async processChildren(n,e,r,i){let o=[];for(let a of Object.keys(r.children))a===`primary`?o.unshift(a):o.push(a);let s=[];for(let a of o){let u=r.children[a],l=co(e,a),g=await this.processSegment(n,l,u,u.segments,a,!0,i);g instanceof A&&s.push(g)}let c=qn(s);return yo(c),c}async processSegment(n,e,r,i,o,s,c){for(let a of e)try{return await this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,o,s,c)}catch(u){if(u instanceof q$1||On(u))continue;throw u}if(go(r,i))return new ur;throw new q$1(r)}async processSegmentAgainstRoute(n,e,r,i,o,s,c,a){if(F(r)!==s&&(s===f$1||!_t$2(i,o,r)||!r.children?.length&&!r.loadChildren||o.length===0&&!i.hasChildren()))throw new q$1(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,a);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,a);throw new q$1(i)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,c){let{matched:a,parameters:u,consumedSegments:l,positionalParamSegments:g,remainingSegments:v}=zn(e,i,o);if(!a)throw new q$1(e);let y=this.createSnapshot(n,i,o,u,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let P=await this.applyRedirects.applyRedirectCommands(l,i.redirectTo,g,$n(y),n),B=await this.applyRedirects.lineralizeSegments(i,P);return this.processSegment(n,r,e,B.concat(v),s,!1,c)}createSnapshot(n,e,r,i,o){let s=new ge$1(r,i,this.queryParams,this.urlTree.fragment,Co(e),F(e),e.component??e._loadedComponent??null,e,wo(e),n),c=fr(s,o,this.paramsInheritanceStrategy);return s.params=c.params,s.data=c.data,s}async matchSegmentAgainstRoute(n,e,r,i,o,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=ee=>this.createSnapshot(n,r,ee.consumedSegments,ee.parameters,s),a=await ut$1(uo(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path===`**`&&(e.children={}),!a?.matched)throw new q$1(e);n=kn(r,n);let{routes:u}=await this.getChildConfig(n,r,i),l=r._loadedInjector??n,{parameters:g,consumedSegments:v,remainingSegments:y}=a,P=this.createSnapshot(n,r,v,g,s),B=F(r)===o,{segmentGroup:we,slicedSegments:be}=B?nn$1(e,v,y,u):{segmentGroup:e,slicedSegments:y};if(B&&be.length===0&&we.hasChildren())return new A(P,await this.processChildren(l,u,we,P));if(B&&u.length===0&&be.length===0)return new A(P,[]);let Ee=await this.processSegment(l,u,we,be,B?f$1:o,!0,P);if(!B&&!(Ee instanceof A))throw new q$1(e);return new A(P,Ee instanceof A?[Ee]:[])}async getChildConfig(n,e,r){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await ut$1(ro(n,e,r,this.urlSerializer,this.abortSignal))){let o=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw so(e)}return{routes:[],injector:n}}};function yo(t){t.sort((n,e)=>n.value.outlet===f$1?-1:e.value.outlet===f$1?1:n.value.outlet.localeCompare(e.value.outlet))}function Ro(t){let n=t.value.routeConfig;return n&&n.path===``}function qn(t){let n=[],e=/* @__PURE__ */ new Set;for(let i of t){if(!Ro(i)){n.push(i);continue}let o=n.find(s=>i.value.routeConfig===s.value.routeConfig);o!==void 0?(o.children.push(...i.children),e.add(o)):n.push(i)}for(let i of e){let o=qn(i.children);n.push(new A(i.value,o))}let r=n.filter(i=>!e.has(i));return So(r),r}function So(t){let n=Object.create(null);t.forEach(e=>{let r=n[e.value.outlet];if(r){r.url.map(s=>s.toString()).join(`/`);e.value.url.map(s=>s.toString()).join(`/`);throw new b$2(4006,!1)}n[e.value.outlet]=e.value})}function Co(t){return t.data||{}}function wo(t){return t.resolve||{}}function bo(t,n,e,r,i,o,s){return pt$2(async c=>{let{state:a,tree:u}=await vo(t,n,e,r,c.extractedUrl,i,o,s);return J$2(R$3({},c),{targetSnapshot:a,urlAfterRedirects:u})})}function Eo(t){return pt$2(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return Ve$1(n);let i=new Set(r.map(c=>c.route)),o=/* @__PURE__ */ new Set;for(let c of i)if(!o.has(c))for(let a of Hn(c))o.add(a);let s=0;return et$2(o).pipe(gc(c=>i.has(c)?Io(c,e,t):(c.data=fr(c,c.parent,t).resolve,Ve$1(void 0))),Me(()=>s++),Wv(1),pt$2(c=>s===o.size?Ve$1(n):hn$1))})}function Hn(t){return[t,...t.children.map(e=>Hn(e)).flat()]}function Io(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!An(r)&&(i[Be]=r.title),jv(()=>(t.data=fr(t,t.parent,e).resolve,Ao(i,t,n).pipe(W$2(o=>(t._resolvedData=o,t.data=R$3(R$3({},t.data),o),null)))))}function Ao(t,n,e){let r=Jt$1(t);if(r.length===0)return Ve$1({});let i={};return et$2(r).pipe(pt$2(o=>Mo(t[o],n,e).pipe(zv(),Me(s=>{if(s instanceof Q$1)throw Pe$1(new J$1,s);i[o]=s}))),Wv(1),W$2(()=>i),co$1(o=>On(o)?hn$1:pc(o)))}function Mo(t,n,e){let r=n._environmentInjector,i=Se(t,r);return Ve(i.resolve?i.resolve(n,e):mr$1(r,()=>i(n,e)))}var yr=new g(``);function Fn$1(t){return Wf(n=>{let e=t(n);return e?et$2(e).pipe(W$2(()=>n)):Ve$1(n)})}var Rr=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===f$1);return r}getResolvedTitleForRoute(e){return e.data[Be]}static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:()=>m$1(Bn)})}return t})();var Bn=(()=>{class t extends Rr{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||t)(I(T$))};static ɵprov=A$2({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Ce=new g(``,{factory:()=>({})});var Qe$1=new g(``);var Vn=(()=>{class t{componentLoaders=/* @__PURE__ */ new WeakMap;childrenLoaders=/* @__PURE__ */ new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m$1(NS);async loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await cn(mr$1(e,()=>r.loadComponent())),s=await Wn(y2(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await Gn(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:t.ɵfac})}return t})();async function Gn(t,n,e,r){let i=await cn(mr$1(e,()=>t.loadChildren())),o=await Wn(y2(i)),s;o instanceof Sg||Array.isArray(o)?s=o:s=await n.compileModuleAsync(o),r&&r(t);let c,a,l;return Array.isArray(s)?a=s:(c=s.create(e).injector,l=s,a=c.get(Qe$1,[],{optional:!0,self:!0}).flat()),{routes:a.map(vr),injector:c,factory:l}}async function Wn(t){return t}var Tt$1=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:()=>m$1(Do)})}return t})();var Do=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:t.ɵfac})}return t})();var Qn=new g(``);var _o=()=>{};var Kn=new g(``);var Yn=(()=>{class t{currentNavigation=ke$3(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=ke$3(null);events=new B;transitionAbortWithErrorSubject=new B;configLoader=m$1(Vn);environmentInjector=m$1(de$3);destroyRef=m$1(De);urlSerializer=m$1(Re$1);rootContexts=m$1(se$1);location=m$1(kb);inputBindingEnabled=m$1(Ge,{optional:!0})!==null;titleStrategy=m$1(Rr);options=m$1(Ce,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Ni$1;urlHandlingStrategy=m$1(Tt$1);createViewTransition=m$1(Qn,{optional:!0});navigationErrorHandler=m$1(Kn,{optional:!0});routerResourcesFeature=m$1(yr,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>Ve$1(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new St$2(i)),r=i=>this.events.next(new Ct$2(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;jr(()=>{this.transitions?.next(J$2(R$3({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new pn$1(null),this.transitions.pipe(He$2(r=>r!==null),Wf(r=>{let i=!0,o=!1,s=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return Ve$1(r).pipe(Wf(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,b$1.SupersededByNewNavigation),hn$1;this.currentTransition=r;let u=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:u?J$2(R$3({},u),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),g=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&g!==`reload`)return this.events.next(new W$1(a.id,this.urlSerializer.serialize(a.rawUrl),``,$e$1.IgnoredSameUrlNavigation)),a.resolve(!1),hn$1;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Ve$1(a).pipe(Wf(v=>(this.events.next(new ae$1(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),v.id!==this.navigationId?hn$1:Promise.resolve(v))),bo(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),Me(v=>{r.targetSnapshot=v.targetSnapshot,r.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation.update(y=>(y.finalUrl=v.urlAfterRedirects,y)),this.events.next(new qe$1)}),Wf(v=>et$2(r.routesRecognizeHandler.deferredHandle??Ve$1(void 0)).pipe(W$2(()=>v))),Me(()=>{let v=new ze$1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(v)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:v,extractedUrl:y,source:P,restoredState:B,extras:we}=a,be=new ae$1(v,this.urlSerializer.serialize(y),P,B);this.events.next(be);let Ee=En(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=J$2(R$3({},a),{targetSnapshot:Ee,urlAfterRedirects:y,extras:J$2(R$3({},we),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(ee=>(ee.finalUrl=y,ee)),Ve$1(r)}else return this.events.next(new W$1(a.id,this.urlSerializer.serialize(a.extractedUrl),``,$e$1.IgnoredByUrlHandlingStrategy)),a.resolve(!1),hn$1}),W$2(a=>{let u=new vt$2(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(u),this.currentTransition=r=J$2(R$3({},a),{guards:xi$1(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),Qi(a=>this.events.next(a)),Wf(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!=`boolean`)throw Pe$1(this.urlSerializer,a.guardsResult);let u=new mt$2(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(u),!c())return hn$1;if(!a.guardsResult)return this.cancelNavigationTransition(a,``,b$1.GuardRejected),hn$1;if(a.guards.canActivateChecks.length===0)return Ve$1(a);let l=new yt$2(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!c())return hn$1;let g=!1;return Ve$1(a).pipe(Eo(this.paramsInheritanceStrategy),Me({next:()=>{g=!0;let v=new Rt$1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(v)},complete:()=>{g||this.cancelNavigationTransition(a,``,b$1.NoDataFromResolver)}}))}),Wf(a=>{let{newlyCreatedRoutes:u,state:l}=Oi$1(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=r=a=J$2(R$3({},a),{targetRouterState:l,newlyCreatedRoutes:u}),this.currentNavigation.update(g=>(g.targetRouterState=l,g)),Ve$1(a)}),Wf(a=>{let u=Ve$1(a).pipe(io(this.configLoader));if(!this.routerResourcesFeature)return u;let l=Ve$1(a).pipe(this.routerResourcesFeature.setupAndRunResources(s.signal));return mc([u,l]).pipe(W$2(()=>a))}),Fn$1(()=>this.afterPreactivation()),Wf(()=>{let{currentSnapshot:a,targetSnapshot:u}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,u.root,r.hasUAVisualTransition);return l?et$2(l).pipe(W$2(()=>r)):Ve$1(r)}),tt$2(1),Wf(a=>{i=!1,this.events.next(new ve);let u=r.beforeActivateHandler.deferredHandle;return u?et$2(u.then(()=>a)):Ve$1(a)}),Me(a=>{new sr(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),c()&&(Zn(a.targetRouterState),o=!0,this.currentNavigation.update(u=>(u.abort=_o,u)),this.lastSuccessfulNavigation.set(jr(this.currentNavigation)),this.events.next(new $$1(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),po$1(Pn(s.signal).pipe(He$2(()=>!o&&i),Me(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,b$1.Aborted)}))),Me({complete:()=>{o=!0}}),po$1(this.transitionAbortWithErrorSubject.pipe(Me(a=>{throw a}))),lo$1(()=>{s.abort(),o||this.cancelNavigationTransition(r,``,b$1.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),co$1(a=>{if(o=!0,on$1(r),this.destroyed)return r.resolve(!1),hn$1;if(a instanceof Q$1&&(a=Pe$1(this.urlSerializer,a)),Un(a))this.events.next(new x$1(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),ji$1(a)?this.events.next(new me$1(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let u=new ce$1(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=mr$1(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof Q$1){let{message:g,cancellationCode:v}=Pe$1(this.urlSerializer,l);this.events.next(new x$1(r.id,this.urlSerializer.serialize(r.extractedUrl),g,v)),this.events.next(new me$1(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return hn$1}))}))}cancelNavigationTransition(e,r,i){on$1(e);let o=new x$1(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=jr(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:t.ɵfac})}return t})();function To(t){return t!==Oe$1}function on$1(t){for(let n of t.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;Zn(t.targetRouterState)}function Zn(t){if(!t)return;let n=e=>{e.value.pending?.set(!1),e.children.forEach(n)};n(t._root)}var Jn=new g(``);var Xn=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:()=>m$1(No)})}return t})();var Mt$2=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}};var No=(()=>{class t extends Mt$2{static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:t.ɵfac})}return t})();var Nt$2=(()=>{class t{urlSerializer=m$1(Re$1);options=m$1(Ce,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=m$1(kb);urlHandlingStrategy=m$1(Tt$1);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new M$1;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof M$1?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=En(null,m$1(de$3));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 ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:()=>m$1(Uo)})}return t})();var Uo=(()=>{class t extends Nt$2{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{e(r.url,r.state,`popstate`,{replaceUrl:!0},r.hasUAVisualTransition)})})}handleRouterEvent(e,r){e instanceof ae$1?this.updateStateMemento():e instanceof W$1?this.commitTransition(r):e instanceof ze$1?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof ve?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof x$1?_n(e)?e.code===b$1.Redirect&&this.routerState===r.targetRouterState&&this.resetInternalState(r):this.restoreHistory(r):e instanceof ce$1?this.restoreHistory(r,!0):e instanceof $$1&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:c}=i;if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,u=R$3(R$3({},c),this.generateNgRouterState(o,a,r));this.location.replaceState(e,``,u)}else{let a=R$3(R$3({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,``,a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution===`computed`){let i=this.browserPageId,o=this.currentPageId-i;o!==0&&this.lastSuccessfulId!==-1?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&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,r,i){return this.canceledNavigationResolution===`computed`?R$3({navigationId:e,ɵrouterPageId:r},this.routerUrlState(i)):R$3({navigationId:e},this.routerUrlState(i))}static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:t.ɵfac})}return t})();function Sr(t,n){t.events.pipe(He$2(e=>e instanceof $$1||e instanceof x$1||e instanceof ce$1||e instanceof W$1),W$2(e=>e instanceof $$1||e instanceof W$1?0:(e instanceof x$1?e.code===b$1.Redirect||e.code===b$1.SupersededByNewNavigation:!1)?2:1),He$2(e=>e!==2),tt$2(1)).subscribe(()=>{n()})}var ue$1=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m$1(kg);stateManager=m$1(Nt$2);options=m$1(Ce,{optional:!0})||{};pendingTasks=m$1(On$1);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=m$1(Yn);urlSerializer=m$1(Re$1);location=m$1(kb);urlHandlingStrategy=m$1(Tt$1);injector=m$1(de$3);_events=new B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m$1(Xn);injectorCleanup=m$1(Jn,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=m$1(Qe$1,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m$1(Ge,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new q$2;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=jr(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof x$1&&r.code!==b$1.Redirect&&r.code!==b$1.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof $$1)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof me$1){let s=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=R$3({scroll:i.extras.scroll,focusReset:i.extras.focusReset,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy===`eager`||To(i.source)},s);this.scheduleNavigation(c,Oe$1,null,a,i.hasUAVisualTransition,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Ui(r)&&this._events.next(r)}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(!0),Oe$1,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o,s)=>{this.navigateToSyncWithBrowser(e,i,r,o,s)})}navigateToSyncWithBrowser(e,r,i,o,s){let c=i?.navigationId?i:null,a=i?.ɵrouterUrl??e;if(i?.ɵrouterUrl&&(o=J$2(R$3({},o),{browserUrl:e})),i){let l=R$3({},i);delete l.navigationId,delete l.ɵrouterPageId,delete l.ɵrouterUrl,Object.keys(l).length!==0&&(o.state=l)}let u=this.parseUrl(a);this.scheduleNavigation(u,r,c,o,s).catch(l=>{this.disposed||this.injector.get(Dt$3)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return jr(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(vr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:c,preserveFragment:a}=r,u=a?this.currentUrlTree.fragment:s,l=null;switch(c??this.options.defaultQueryParamsHandling){case`merge`:l=R$3(R$3({},this.currentUrlTree.queryParams),o);break;case`preserve`:l=this.currentUrlTree.queryParams;break;default:l=o||null}let g;try{g=Rn$1(i?i.snapshot:this.routerState.snapshot.root)}catch{(typeof e[0]!=`string`||e[0][0]!==`/`)&&(e=[]),g=this.currentUrlTree.root}return Sn(g,e,l,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=X$1(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Oe$1,null,r)}navigate(e,r={skipLocationChange:!1}){return Oo(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(In$2(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(e,r){let i;if(r===!0?i=R$3({},dr):r===!1?i=R$3({},pe$1):i=R$3(R$3({},pe$1),r),X$1(e))return lt$2(this.currentUrlTree,e,i);let o=this.parseUrl(e);return lt$2(this.currentUrlTree,o,i)}scheduleNavigation(e,r,i,o,s,c){if(this.disposed)return Promise.resolve(!1);let a,u,l;c?(a=c.resolve,u=c.reject,l=c.promise):l=new Promise((v,y)=>{a=v,u=y});let g=this.pendingTasks.add();return Sr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,hasUAVisualTransition:s,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:t.ɵfac})}return t})();function Oo(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new b$2(4008,!1)}var Lo=(()=>{class t{router=m$1(ue$1);stateManager=m$1(Nt$2);fragment=ke$3(``);queryParams=ke$3({});path=ke$3(``);serializer=m$1(Re$1);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof $$1&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new M$1(r)))}static ɵfac=function(r){return new(r||t)};static ɵprov=F$1({token:t,factory:t.ɵfac})}return t})();var Ut$1=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=m$1(new ma(`href`),{optional:!0});reactiveHref=RS(()=>{if(!this.isAnchorElement)return this.hrefAttributeValue;this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=r=>r===`preserve`||r===`merge`;return(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams(),this.computeHref(this.createUrlTree())});get href(){return jr(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return jr(this._target)}_target=ke$3(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return jr(this._queryParams)}_queryParams=ke$3(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return jr(this._fragment)}_fragment=ke$3(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return jr(this._queryParamsHandling)}_queryParamsHandling=ke$3(void 0);set state(e){this._state.set(e)}get state(){return jr(this._state)}_state=ke$3(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return jr(this._info)}_info=ke$3(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return jr(this._relativeTo)}_relativeTo=ke$3(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return jr(this._preserveFragment)}_preserveFragment=ke$3(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return jr(this._skipLocationChange)}_skipLocationChange=ke$3(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return jr(this._replaceUrl)}_replaceUrl=ke$3(!1);browserUrl=Ib(void 0);scroll=Ib(void 0);isAnchorElement;onChanges=new B;applicationErrorHandler=m$1(Dt$3);options=m$1(Ce,{optional:!0});reactiveRouterState=m$1(Lo);constructor(e,r,i,o,s,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=c;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=ke$3(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(X$1(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(e,r,i,o,s){let c=this.urlTree;if(c===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let a=this.browserUrl(),u=this.scroll(),l=R$3(R$3({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},a!==void 0&&{browserUrl:a}),u!==void 0&&{scroll:u});return this.router.navigateByUrl(c,l)?.catch(g=>{this.applicationErrorHandler(g)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}createUrlTree(){let e=this.routerLinkInput();return e===null||!this.router.createUrlTree?null:X$1(e)?e:this.router.createUrlTree(e,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})}get urlTree(){return jr(()=>this.createUrlTree())}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??``:null}static ɵfac=function(r){return new(r||t)(Jt$3(ue$1),Jt$3(G),yu(`tabindex`),Jt$3(Ar),Jt$3(oe$2),Jt$3(ga))};static ɵdir=xe$2({type:t,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,i){r&1&&Ug(`click`,function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Wn$1(`href`,i.reactiveHref(),WD)(`target`,i._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,Ke$1],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,Ke$1],replaceUrl:[2,`replaceUrl`,`replaceUrl`,Ke$1],browserUrl:[1,`browserUrl`],scroll:[1,`scroll`],routerLink:`routerLink`},features:[Xs]})}return t})();var jo=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new me$3;link=m$1(Ut$1,{optional:!0});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof $$1&&this.update()})}ngAfterContentInit(){Ve$1(this.links.changes,Ve$1(null)).pipe(so$1()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=et$2(e).pipe(so$1()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=e==null?[]:(Array.isArray(e)?e:e.split(` `)).filter(i=>!!i);for(let i of this.classes)r.includes(i)||this.renderer.removeClass(this.element.nativeElement,i);this.classes=r}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||this.routerLinkActiveOptions===null&&!this._isActive||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),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 r=this.routerLinkActiveOptions;if(r===null)return()=>!1;let i;return r===void 0?i=R$3({},pe$1):xo(r)?i=r:r.exact??!1?i=R$3({},dr):i=R$3({},pe$1),o=>{let s=o.urlTree;return s?jr(hr(s,e,i)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static ɵfac=function(r){return new(r||t)(Jt$3(ue$1),Jt$3(oe$2),Jt$3(Ar),Jt$3(eC))};static ɵdir=xe$2({type:t,selectors:[[``,`routerLinkActive`,``]],contentQueries:function(r,i,o){if(r&1&&Wg(o,Ut$1,5),r&2){let s;Hw(s=Uw())&&(i.links=s)}},inputs:{routerLinkActiveOptions:`routerLinkActiveOptions`,ariaCurrentWhenActive:`ariaCurrentWhenActive`,routerLinkActive:`routerLinkActive`},outputs:{isActiveChange:`isActiveChange`},exportAs:[`routerLinkActive`],features:[Xs]})}return t})();function xo(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var ko=new g(``);function $o(t,...n){return Wt$2([{provide:Qe$1,multi:!0,useValue:t},{provide:G,useFactory:zo},{provide:nd,multi:!0,useFactory:Ho},n.map(e=>e.ɵproviders)])}function zo(){return m$1(ue$1).routerState.root}function qo(t,n){return{ɵkind:t,ɵproviders:n}}function Ho(){let t=m$1(Y$1);return n=>{let e=t.get(zn$1);if(n!==e.components[0])return;let r=t.get(ue$1),i=t.get(Fo);t.get(Bo)===1&&r.initialNavigation(),t.get(Vo,null,{optional:!0})?.setUpPreloading(),t.get(ko,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Fo=new g(``,{factory:()=>new B});var Bo=new g(``,{factory:()=>1});var Vo=new g(``);function Go(t={}){return qo(8,[{provide:Ge,useFactory:()=>new Dn(t,m$1(yr,{optional:!0}))}])}var ft$1=Math.pow(2,31)-1;var f=class{_overlayRef;instance;containerInstance;_afterDismissed=new B;_afterOpened=new B;_onAction=new B;_durationTimeoutId;_dismissedByAction=!1;constructor(c,t){this._overlayRef=t,this.containerInstance=c,c._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(c){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(c,ft$1))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}};var mt$1=new g(`MatSnackBarData`);var p=class{politeness=`polite`;announcementMessage=``;viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition=`center`;verticalPosition=`bottom`};var _t$1=(()=>{class i{static ɵfac=function(n){return new(n||i)};static ɵdir=xe$2({type:i,selectors:[[``,`matSnackBarLabel`,``]],hostAttrs:[1,`mat-mdc-snack-bar-label`,`mdc-snackbar__label`]})}return i})();var kt$2=(()=>{class i{static ɵfac=function(n){return new(n||i)};static ɵdir=xe$2({type:i,selectors:[[``,`matSnackBarActions`,``]],hostAttrs:[1,`mat-mdc-snack-bar-actions`,`mdc-snackbar__actions`]})}return i})();var vt$1=(()=>{class i{static ɵfac=function(n){return new(n||i)};static ɵdir=xe$2({type:i,selectors:[[``,`matSnackBarAction`,``]],hostAttrs:[1,`mat-mdc-snack-bar-action`,`mdc-snackbar__action`]})}return i})();var gt$1=(()=>{class i{snackBarRef=m$1(f);data=m$1(mt$1);action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static ɵfac=function(n){return new(n||i)};static ɵcmp=(function(){function t(n,e){if(n&1){let a=Lw();Ys(0,`div`,1)(1,`button`,2),Ug(`click`,function(){Ip(a);let s=jw();return wp(s.action())}),dS(2),od()()}if(n&2){let a=jw();zo$1(2),ad(` `,a.data.action,` `)}}return Te$1({type:i,selectors:[[`simple-snack-bar`]],hostAttrs:[1,`mat-mdc-simple-snack-bar`],exportAs:[`matSnackBar`],decls:3,vars:2,consts:[[`matSnackBarLabel`,``],[`matSnackBarActions`,``],[`matButton`,``,`matSnackBarAction`,``,3,`click`]],template:function(e,a){e&1&&(Ys(0,`div`,0),dS(1),od(),Yo(2,t,3,1,`div`,1)),e&2&&(zo$1(),ad(` `,a.data.message,`
|
|
1161
|
+
`),zo$1(),Ko(a.hasAction?2:-1))},dependencies:[aW,_t$1,kt$2,vt$1],styles:[`.mat-mdc-simple-snack-bar {
|
|
1162
|
+
display: flex;
|
|
1163
|
+
}
|
|
1164
|
+
.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label {
|
|
1165
|
+
max-height: 50vh;
|
|
1166
|
+
overflow: auto;
|
|
1167
|
+
}
|
|
1168
|
+
`],encapsulation:2})})()}return i})();var R$1=`_mat-snack-bar-enter`;var T$1=`_mat-snack-bar-exit`;var yt$1=(()=>{class i extends it$2{_ngZone=m$1(P$2);_elementRef=m$1(oe$2);_changeDetectorRef=m$1(eC);_platform=m$1(ge$3);_animationsDisabled=qr();snackBarConfig=m$1(p);_document=m$1(O$2);_trackedModals=/* @__PURE__ */ new Set;_enterFallback;_exitFallback;_injector=m$1(Y$1);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new B;_onExit=new B;_onEnter=new B;_animationState=`void`;_live;_label;_role;_liveElementId=m$1(Wd).getId(`mat-snack-bar-container-live-`);constructor(){super();let t=this.snackBarConfig;t.politeness===`assertive`&&!t.announcementMessage?this._live=`assertive`:t.politeness===`off`?this._live=`off`:this._live=`polite`,this._platform.FIREFOX&&(this._live===`polite`&&(this._role=`status`),this._live===`assertive`&&(this._role=`alert`))}attachComponentPortal(t){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),n}attachTemplatePortal(t){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),n}attachDomPortal=t=>{this._assertNotAttached();let n=this._portalOutlet.attachDomPortal(t);return this._afterPortalAttached(),n};onAnimationEnd(t){t===T$1?this._completeExit():t===R$1&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState=`visible`,this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?Ou(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(R$1)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add(`mat-snack-bar-fallback-visible`),this.onAnimationEnd(R$1)},200)))}exit(){return this._destroyed?Ve$1(void 0):(this._ngZone.run(()=>{this._animationState=`hidden`,this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute(`mat-exit`,``),clearTimeout(this._announceTimeoutId),this._animationsDisabled?Ou(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(T$1)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(T$1),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(r=>t.classList.add(r)):t.classList.add(n)),this._exposeToModals();let e=this._label.nativeElement,a=`mdc-snackbar__label`;e.classList.toggle(a,!e.querySelector(`.${a}`))}_exposeToModals(){let t=this._liveElementId,n=this._document.querySelectorAll(`body > .cdk-overlay-container [aria-modal="true"]`);for(let e=0;e<n.length;e++){let a=n[e],r=a.getAttribute(`aria-owns`);this._trackedModals.add(a),r?r.indexOf(t)===-1&&a.setAttribute(`aria-owns`,r+` `+t):a.setAttribute(`aria-owns`,t)}}_clearFromModals(){this._trackedModals.forEach(t=>{let n=t.getAttribute(`aria-owns`);if(n){let e=n.replace(this._liveElementId,``).trim();e.length>0?t.setAttribute(`aria-owns`,e):t.removeAttribute(`aria-owns`)}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let t=this._elementRef.nativeElement,n=t.querySelector(`[aria-hidden]`),e=t.querySelector(`[aria-live]`);if(n&&e){let a=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(a=document.activeElement),n.removeAttribute(`aria-hidden`),e.appendChild(n),a?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static ɵfac=function(n){return new(n||i)};static ɵcmp=(function(){let t=[`label`];function n(e,a){}return Te$1({type:i,selectors:[[`mat-snack-bar-container`]],viewQuery:function(a,r){if(a&1&&Gg(Bi$1,7)(t,7),a&2){let s;Hw(s=Uw())&&(r._portalOutlet=s.first),Hw(s=Uw())&&(r._label=s.first)}},hostAttrs:[1,`mdc-snackbar`,`mat-mdc-snack-bar-container`],hostVars:6,hostBindings:function(a,r){a&1&&Ug(`animationend`,function(l){return r.onAnimationEnd(l.animationName)})(`animationcancel`,function(l){return r.onAnimationEnd(l.animationName)}),a&2&&ct$3(`mat-snack-bar-container-enter`,r._animationState===`visible`)(`mat-snack-bar-container-exit`,r._animationState===`hidden`)(`mat-snack-bar-container-animations-enabled`,!r._animationsDisabled)},features:[Lr],decls:6,vars:3,consts:[[`label`,``],[1,`mdc-snackbar__surface`,`mat-mdc-snackbar-surface`],[1,`mat-mdc-snack-bar-label`],[`aria-hidden`,`true`],[`cdkPortalOutlet`,``]],template:function(a,r){a&1&&(Ys(0,`div`,1)(1,`div`,2,0)(3,`div`,3),Rg(4,n,0,0,`ng-template`,4),od(),jg(5,`div`),od()()),a&2&&(zo$1(5),Wn$1(`aria-live`,r._live)(`role`,r._role)(`id`,r._liveElementId))},dependencies:[Bi$1],styles:[`@keyframes _mat-snack-bar-enter {
|
|
1169
|
+
from {
|
|
1170
|
+
transform: scale(0.8);
|
|
1171
|
+
opacity: 0;
|
|
1172
|
+
}
|
|
1173
|
+
to {
|
|
1174
|
+
transform: scale(1);
|
|
1175
|
+
opacity: 1;
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
@keyframes _mat-snack-bar-exit {
|
|
1179
|
+
from {
|
|
1180
|
+
opacity: 1;
|
|
1181
|
+
}
|
|
1182
|
+
to {
|
|
1183
|
+
opacity: 0;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
.mat-mdc-snack-bar-container {
|
|
1187
|
+
display: flex;
|
|
1188
|
+
align-items: center;
|
|
1189
|
+
justify-content: center;
|
|
1190
|
+
box-sizing: border-box;
|
|
1191
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
1192
|
+
margin: 8px;
|
|
1193
|
+
}
|
|
1194
|
+
.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container {
|
|
1195
|
+
width: 100vw;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
.mat-snack-bar-container-animations-enabled {
|
|
1199
|
+
opacity: 0;
|
|
1200
|
+
}
|
|
1201
|
+
.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible {
|
|
1202
|
+
opacity: 1;
|
|
1203
|
+
}
|
|
1204
|
+
.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter {
|
|
1205
|
+
animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards;
|
|
1206
|
+
}
|
|
1207
|
+
.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit {
|
|
1208
|
+
animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.mat-mdc-snackbar-surface {
|
|
1212
|
+
box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
|
|
1213
|
+
display: flex;
|
|
1214
|
+
align-items: center;
|
|
1215
|
+
justify-content: flex-start;
|
|
1216
|
+
box-sizing: border-box;
|
|
1217
|
+
padding-left: 0;
|
|
1218
|
+
padding-right: 8px;
|
|
1219
|
+
}
|
|
1220
|
+
[dir=rtl] .mat-mdc-snackbar-surface {
|
|
1221
|
+
padding-right: 0;
|
|
1222
|
+
padding-left: 8px;
|
|
1223
|
+
}
|
|
1224
|
+
.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
|
|
1225
|
+
min-width: 344px;
|
|
1226
|
+
max-width: 672px;
|
|
1227
|
+
}
|
|
1228
|
+
.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface {
|
|
1229
|
+
width: 100%;
|
|
1230
|
+
min-width: 0;
|
|
1231
|
+
}
|
|
1232
|
+
@media (forced-colors: active) {
|
|
1233
|
+
.mat-mdc-snackbar-surface {
|
|
1234
|
+
outline: solid 1px;
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
|
|
1238
|
+
color: var(--%NS%mat-snack-bar-supporting-text-color, var(--%NS%mat-sys-inverse-on-surface));
|
|
1239
|
+
border-radius: var(--%NS%mat-snack-bar-container-shape, var(--%NS%mat-sys-corner-extra-small));
|
|
1240
|
+
background-color: var(--%NS%mat-snack-bar-container-color, var(--%NS%mat-sys-inverse-surface));
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
.mdc-snackbar__label {
|
|
1244
|
+
width: 100%;
|
|
1245
|
+
flex-grow: 1;
|
|
1246
|
+
box-sizing: border-box;
|
|
1247
|
+
margin: 0;
|
|
1248
|
+
padding: 14px 8px 14px 16px;
|
|
1249
|
+
}
|
|
1250
|
+
[dir=rtl] .mdc-snackbar__label {
|
|
1251
|
+
padding-left: 8px;
|
|
1252
|
+
padding-right: 16px;
|
|
1253
|
+
}
|
|
1254
|
+
.mat-mdc-snack-bar-container .mdc-snackbar__label {
|
|
1255
|
+
font-family: var(--%NS%mat-snack-bar-supporting-text-font, var(--%NS%mat-sys-body-medium-font));
|
|
1256
|
+
font-size: var(--%NS%mat-snack-bar-supporting-text-size, var(--%NS%mat-sys-body-medium-size));
|
|
1257
|
+
font-weight: var(--%NS%mat-snack-bar-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight));
|
|
1258
|
+
line-height: var(--%NS%mat-snack-bar-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height));
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
.mat-mdc-snack-bar-actions {
|
|
1262
|
+
display: flex;
|
|
1263
|
+
flex-shrink: 0;
|
|
1264
|
+
align-items: center;
|
|
1265
|
+
box-sizing: border-box;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
.mat-mdc-snack-bar-handset,
|
|
1269
|
+
.mat-mdc-snack-bar-container,
|
|
1270
|
+
.mat-mdc-snack-bar-label {
|
|
1271
|
+
flex: 1 1 auto;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed {
|
|
1275
|
+
color: var(--%NS%mat-snack-bar-button-color, var(--%NS%mat-sys-inverse-primary));
|
|
1276
|
+
}
|
|
1277
|
+
.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {
|
|
1278
|
+
--%NS%mat-button-text-state-layer-color: currentColor;
|
|
1279
|
+
--%NS%mat-button-text-ripple-color: currentColor;
|
|
1280
|
+
}
|
|
1281
|
+
.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {
|
|
1282
|
+
opacity: 0.1;
|
|
1283
|
+
}
|
|
1284
|
+
`],encapsulation:2,changeDetection:1})})()}return i})();var xt$1=new g(`mat-snack-bar-default-options`,{providedIn:`root`,factory:()=>new p});var dt$2=(()=>{class i{_live=m$1(jT);_injector=m$1(Y$1);_breakpointObserver=m$1(Hd);_parentSnackBar=m$1(i,{optional:!0,skipSelf:!0});_defaultConfig=m$1(xt$1);_animationsDisabled=qr();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=gt$1;snackBarContainerComponent=yt$1;handsetCssClass=`mat-mdc-snack-bar-handset`;get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,n){return this._attach(t,n)}openFromTemplate(t,n){return this._attach(t,n)}open(t,n=``,e){let a=R$3(R$3({},this._defaultConfig),e);return a.data={message:t,action:n},a.announcementMessage===t&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,n){let e=n&&n.viewContainerRef&&n.viewContainerRef.injector,a=Y$1.create({parent:e||this._injector,providers:[{provide:p,useValue:n}]}),r=new St$3(this.snackBarContainerComponent,n.viewContainerRef,a),s=t.attach(r);return s.instance.snackBarConfig=n,s.instance}_attach(t,n){let e=R$3(R$3(R$3({},new p),this._defaultConfig),n),a=this._createOverlay(e),r=this._attachSnackBarContainer(a,e),s=new f(r,a);if(t instanceof Mr){let l=new z$1(t,null,{$implicit:e.data,snackBarRef:s});s.instance=r.attachTemplatePortal(l)}else{let l=this._createInjector(e,s),ut=new St$3(t,void 0,l);s.instance=r.attachComponentPortal(ut).instance}return this._breakpointObserver.observe(m3.HandsetPortrait).pipe(po$1(a.detachments())).subscribe(l=>{a.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),e.announcementMessage&&r._onAnnounce.subscribe(()=>{this._live.announce(e.announcementMessage,e.politeness)}),this._animateSnackBar(s,e),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,n){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),n.duration&&n.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(n.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter()}_createOverlay(t){let n=new Z$2;n.direction=t.direction;let e=pe$2(this._injector),a=t.direction===`rtl`,r=t.horizontalPosition===`left`||t.horizontalPosition===`start`&&!a||t.horizontalPosition===`end`&&a,s=!r&&t.horizontalPosition!==`center`;return r?e.left(`0`):s?e.right(`0`):e.centerHorizontally(),t.verticalPosition===`top`?e.top(`0`):e.bottom(`0`),n.positionStrategy=e,n.disableAnimations=this._animationsDisabled,Bt$1(this._injector,n)}_createInjector(t,n){let e=t&&t.viewContainerRef&&t.viewContainerRef.injector;return Y$1.create({parent:e||this._injector,providers:[{provide:f,useValue:n},{provide:mt$1,useValue:t.data}]})}static ɵfac=function(n){return new(n||i)};static ɵprov=F$1({token:i,factory:i.ɵfac})}return i})();var pt=class i{snack=m$1(dt$2);ok(c){this.snack.open(c,`OK`,{duration:3e3})}error(c){this.snack.open(c,`Close`,{duration:8e3,panelClass:`snack-error`})}apiError(c){let t=c.error;if(c.status===0){this.error(`Server not reachable. Check your connection.`);return}let n=t?.message||c.message,e=t?.details;e?.failed_step?n+=` (failed step: ${e.failed_step}${e.cause?.message?` – `+e.cause.message:``})`:e?.errors?.length?n+=`: `+e.errors.map(a=>`${a.field} ${a.message}`).join(`, `):e?.error_id&&(n+=` [error id ${e.error_id}]`),this.error(n)}static ɵfac=function(t){return new(t||i)};static ɵprov=A$2({token:i,factory:i.ɵfac,providedIn:`root`})};var Le=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty(`disabled`,e)}static ɵfac=function(r){return new(r||n)(Jt$3(Ar),Jt$3(oe$2))};static ɵdir=xe$2({type:n})}return n})();var Ue=(()=>{class n extends Le{static ɵfac=(()=>{let e;return function(i){return(e||(e=Km(n)))(i||n)}})();static ɵdir=xe$2({type:n,features:[Lr]})}return n})();var de=new g(``);var ft={provide:de,useExisting:Xi$2(()=>He),multi:!0};function mt(){let n=Tt$2()?Tt$2().getUserAgent():``;return/android (\d+)/.test(n.toLowerCase())}var gt=new g(``);var He=(()=>{class n extends Le{_compositionMode;_composing=!1;constructor(e,r,i){super(e,r),this._compositionMode=i,this._compositionMode??=!mt()}writeValue(e){let r=e??``;this.setProperty(`value`,r)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static ɵfac=function(r){return new(r||n)(Jt$3(Ar),Jt$3(oe$2),Jt$3(gt,8))};static ɵdir=xe$2({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(r,i){r&1&&Ug(`input`,function(s){return i._handleInput(s.target.value)})(`blur`,function(){return i.onTouched()})(`compositionstart`,function(){return i._compositionStart()})(`compositionend`,function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[db([ft]),Lr]})}return n})();function ce(n){return n==null||he(n)===0}function he(n){return n==null?null:Array.isArray(n)||typeof n==`string`?n.length:n instanceof Set?n.size:null}var _=new g(``);var pe=new g(``);var yt=/^(?=.{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])?)*$/;var se=class{static min(t){return $e(t)}static max(t){return qe(t)}static required(t){return We(t)}static requiredTrue(t){return vt(t)}static email(t){return _t(t)}static minLength(t){return Ct$1(t)}static maxLength(t){return ze(t)}static pattern(t){return Ye(t)}static nullValidator(t){return H()}static compose(t){return et(t)}static composeAsync(t){return tt(t)}};function $e(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 qe(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 We(n){return ce(n.value)?{required:!0}:null}function vt(n){return n.value===!0?null:{required:!0}}function _t(n){return ce(n.value)||yt.test(n.value)?null:{email:!0}}function Ct$1(n){return t=>{let e=t.value?.length??he(t.value);return e===null||e===0?null:e<n?{minlength:{requiredLength:n,actualLength:e}}:null}}function ze(n){return t=>{let e=t.value?.length??he(t.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function Ye(n){if(!n)return H;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),r=>{if(ce(r.value))return null;let i=r.value;return t.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function H(n){return null}function Xe(n){return n!=null}function Ze(n){return ua(n)?et$2(n):n}function Ke(n){let t={};return n.forEach(e=>{t=e!=null?R$3(R$3({},t),e):t}),Object.keys(t).length===0?null:t}function Qe(n,t){return t.map(e=>e(n))}function bt(n){return!n.validate}function Je(n){return n.map(t=>bt(t)?t:e=>t.validate(e))}function et(n){if(!n)return null;let t=n.filter(Xe);return t.length==0?null:function(e){return Ke(Qe(e,t))}}function fe(n){return n!=null?et(Je(n)):null}function tt(n){if(!n)return null;let t=n.filter(Xe);return t.length==0?null:function(e){let r=Qe(e,t).map(Ze);return hc(r).pipe(W$2(Ke))}}function me(n){return n!=null?tt(Je(n)):null}function Fe(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function nt$1(n){return n._rawValidators}function rt(n){return n._rawAsyncValidators}function ae(n){return n?Array.isArray(n)?n:[n]:[]}function $(n,t){return Array.isArray(n)?n.includes(t):n===t}function ke(n,t){let e=ae(t);return ae(n).forEach(i=>{$(e,i)||e.push(i)}),e}function Oe(n,t){return ae(t).filter(e=>!$(n,e))}var q=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=fe(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=me(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):!1}getError(t,e){return this.control?this.control.getError(t,e):null}};var b=class extends q{name;get formDirective(){return null}get path(){return null}};var O=`VALID`;var U=`INVALID`;var M=`PENDING`;var w=`DISABLED`;var v=class{};var W=class extends v{value;source;constructor(t,e){super(),this.value=t,this.source=e}};var T=class extends v{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}};var P=class extends v{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}};var E=class extends v{status;source;constructor(t,e){super(),this.status=t,this.source=e}};var z=class extends v{source;constructor(t){super(),this.source=t}};var N=class extends v{source;constructor(t){super(),this.source=t}};function it(n){return(Q(n)?n.validators:n)||null}function Vt(n){return Array.isArray(n)?fe(n):n||null}function ot(n,t){return(Q(t)?t.asyncValidators:n)||null}function Dt(n){return Array.isArray(n)?me(n):n||null}function Q(n){return n!=null&&!Array.isArray(n)&&typeof n==`object`}function At(n,t,e){let r=n.controls;if(!(t?Object.keys(r):r).length)throw new b$2(1e3,``);if(!st(r,e))throw new b$2(1001,``)}function Mt$1(n,t,e){n._forEachChild((r,i)=>{if(e[i]===void 0)throw new b$2(-1002,``)})}var Et=Symbol();var Y=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=ke$3(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this[Et]=!0,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 jr(this.statusReactive)}set status(t){jr(()=>this.statusReactive.set(t))}_status=MS(()=>this.statusReactive());statusReactive=ke$3(void 0);get valid(){return this.status===O}get invalid(){return this.status===U}get pending(){return this.status===M}get disabled(){return this.status===w}get enabled(){return this.status!==w}get errors(){return jr(this.errorsReactive)}set errors(t){jr(()=>this.errorsReactive.set(t))}_errors=MS(()=>this.errorsReactive());errorsReactive=ke$3(null);get pristine(){return jr(this.pristineReactive)}set pristine(t){jr(()=>this.pristineReactive.set(t))}_pristine=MS(()=>this.pristineReactive());pristineReactive=ke$3(!0);get dirty(){return!this.pristine}get touched(){return jr(this.touchedReactive)}set touched(t){jr(()=>this.touchedReactive.set(t))}_touched=MS(()=>this.touchedReactive());touchedReactive=ke$3(!1);get untouched(){return!this.touched}_events=new B;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(ke(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ke(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Oe(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Oe(t,this._rawAsyncValidators))}hasValidator(t){return $(this._rawValidators,t)}hasAsyncValidator(t){return $(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;t.onlySelf||this._parent?.markAsTouched(J$2(R$3({},t),{sourceControl:r})),e&&t.emitEvent!==!1&&this._events.next(new P(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),t.onlySelf||this._parent?._updateTouched(t,r),e&&t.emitEvent!==!1&&this._events.next(new P(!1,r))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;t.onlySelf||this._parent?.markAsDirty(J$2(R$3({},t),{sourceControl:r})),e&&t.emitEvent!==!1&&this._events.next(new T(!1,r))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),t.onlySelf||this._parent?._updatePristine(t,r),e&&t.emitEvent!==!1&&this._events.next(new T(!0,r))}markAsPending(t={}){this.status=M;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new E(this.status,e)),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.markAsPending(J$2(R$3({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=w,this.errors=null,this._forEachChild(i=>{i.disable(J$2(R$3({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new W(this.value,r)),this._events.next(new E(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(J$2(R$3({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=O,this._forEachChild(r=>{r.enable(J$2(R$3({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(J$2(R$3({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!1))}_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 r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===O||this.status===M)&&this._runAsyncValidator(r,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new W(this.value,e)),this._events.next(new E(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.updateValueAndValidity(J$2(R$3({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?w:O}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=M,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:t!==!1};let r=Ze(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(`.`)),e.length===0)?null:e.reduce((r,i)=>r&&r._find(i),this)}getError(t,e){let r=e?this.get(e):this;return r?.errors?r.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,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new E(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,r)}_initObservables(){this.valueChanges=new me$3,this.statusChanges=new me$3}_calculateStatus(){return this._allControlsDisabled()?w:this.errors?U:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(M)?M:this._anyControlsHaveStatus(U)?U:O}_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 r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,t.onlySelf||this._parent?._updatePristine(t,e),i&&this._events.next(new T(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new P(this.touched,e)),t.onlySelf||this._parent?._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Q(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=Vt(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Dt(this._rawAsyncValidators)}_updateHasRequiredValidator(){jr(()=>this._hasRequired.set(this.hasValidator(se.required)))}};function st(n,t){return Object.hasOwn(n,t)}function Nt$1(n){return n.tagName===`INPUT`||n.tagName===`SELECT`||n.tagName===`TEXTAREA`}function xt(n,t,e,r){switch(e){case`name`:n.setAttribute(t,e,r);break;case`disabled`:case`readonly`:case`required`:r?n.setAttribute(t,e,``):n.removeAttribute(t,e);break;case`max`:case`min`:case`minLength`:case`maxLength`:r!==void 0?n.setAttribute(t,e,r.toString()):n.removeAttribute(t,e)}}var le=class{kind;context;control;message;constructor({kind:t,context:e,control:r}){this.kind=t,this.context=e,this.control=r}};var It$1=new g(``);var J=new g(``,{factory:()=>ge});var ge=`always`;function St$1(n,t){return[...t.path,n]}function we(n,t,e=ge){ee(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e===`always`)&&t.valueAccessor.setDisabledState?.(n.disabled),kt$1(n,t),wt(n,t),Ot(n,t),Ft(n,t)}function Re(n,t,e=!0){let r=()=>{};t?.valueAccessor?.registerOnChange(r),t?.valueAccessor?.registerOnTouched(r),Z(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function X(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Ft(n,t){if(t.valueAccessor.setDisabledState){let e=r=>{t.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function ee(n,t){let e=nt$1(n);t.validator!==null?n.setValidators(Fe(e,t.validator)):typeof e==`function`&&n.setValidators([e]);let r=rt(n);t.asyncValidator!==null?n.setAsyncValidators(Fe(r,t.asyncValidator)):typeof r==`function`&&n.setAsyncValidators([r]);let i=()=>n.updateValueAndValidity();X(t._rawValidators,i),X(t._rawAsyncValidators,i)}function Z(n,t){let e=!1;if(n!==null){if(t.validator!==null){let i=nt$1(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==t.validator);o.length!==i.length&&(e=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let i=rt(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(e=!0,n.setAsyncValidators(o))}}}let r=()=>{};return X(t._rawValidators,r),X(t._rawAsyncValidators,r),e}function kt$1(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn===`change`&&at(n,t)})}function Ot(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn===`blur`&&n._pendingChange&&at(n,t),n.updateOn!==`submit`&&n.markAsTouched()})}function at(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function wt(n,t){let e=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function lt$1(n,t){ee(n,t)}function Rt(n,t){return Z(n,t)}function Tt(n,t){if(!Object.hasOwn(n,`model`))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function Pt(n){return Object.getPrototypeOf(n.constructor)===Ue}function ut(n,t){n._syncPendingControls(),t.forEach(e=>{let r=e.control;r.updateOn===`submit`&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function jt(n,t){if(!t)return null;let e,r,i;return t.forEach(o=>{o.constructor===He?e=o:Pt(o)?r=o:i=o}),i||r||e||null}function Gt(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function Bt(n){return typeof n==`number`?n:parseInt(n,10)}function dt$1(n){return typeof n==`number`?n:parseFloat(n)}var j=(()=>{class n{_validator=H;_onChange;get _enabled(){return this.enabledReactive()}enabledReactive=ke$3(void 0);ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue),i=this.enabled(r);this.enabledReactive.set(i),this._validator=i?this.createValidator(r):H,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static ɵfac=function(r){return new(r||n)};static ɵdir=xe$2({type:n,features:[Xs]})}return n})();var Lt={provide:_,useExisting:Xi$2(()=>Ut),multi:!0};var Ut=(()=>{class n extends j{max;inputName=`max`;normalizeInput=e=>dt$1(e);createValidator=e=>qe(e);static ɵfac=(()=>{let e;return function(i){return(e||(e=Km(n)))(i||n)}})();static ɵdir=xe$2({type:n,selectors:[[`input`,`type`,`number`,`max`,``,`formControlName`,``],[`input`,`type`,`number`,`max`,``,`formControl`,``],[`input`,`type`,`number`,`max`,``,`ngModel`,``]],hostVars:1,hostBindings:function(r,i){r&2&&Wn$1(`max`,i._enabled?i.max:null)},inputs:{max:`max`},standalone:!1,features:[db([Lt]),Lr]})}return n})();var Ht={provide:_,useExisting:Xi$2(()=>$t),multi:!0};var $t=(()=>{class n extends j{min;inputName=`min`;normalizeInput=e=>dt$1(e);createValidator=e=>$e(e);static ɵfac=(()=>{let e;return function(i){return(e||(e=Km(n)))(i||n)}})();static ɵdir=xe$2({type:n,selectors:[[`input`,`type`,`number`,`min`,``,`formControlName`,``],[`input`,`type`,`number`,`min`,``,`formControl`,``],[`input`,`type`,`number`,`min`,``,`ngModel`,``]],hostVars:1,hostBindings:function(r,i){r&2&&Wn$1(`min`,i._enabled?i.min:null)},inputs:{min:`min`},standalone:!1,features:[db([Ht]),Lr]})}return n})();var qt={provide:_,useExisting:Xi$2(()=>ct),multi:!0};var ct=(()=>{class n extends j{required;inputName=`required`;normalizeInput=Ke$1;createValidator=e=>We;enabled(e){return e}static ɵfac=(()=>{let e;return function(i){return(e||(e=Km(n)))(i||n)}})();static ɵdir=xe$2({type:n,selectors:[[``,`required`,``,`formControlName`,``,3,`type`,`checkbox`],[``,`required`,``,`formControl`,``,3,`type`,`checkbox`],[``,`required`,``,`ngModel`,``,3,`type`,`checkbox`]],hostVars:1,hostBindings:function(r,i){r&2&&Wn$1(`required`,i._enabled?``:null)},inputs:{required:`required`},standalone:!1,features:[db([qt]),Lr]})}return n})();var Wt={provide:_,useExisting:Xi$2(()=>zt$1),multi:!0};var zt$1=(()=>{class n extends j{maxlength;inputName=`maxlength`;normalizeInput=e=>Bt(e);createValidator=e=>ze(e);static ɵfac=(()=>{let e;return function(i){return(e||(e=Km(n)))(i||n)}})();static ɵdir=xe$2({type:n,selectors:[[``,`maxlength`,``,`formControlName`,``],[``,`maxlength`,``,`formControl`,``],[``,`maxlength`,``,`ngModel`,``]],hostVars:1,hostBindings:function(r,i){r&2&&Wn$1(`maxlength`,i._enabled?i.maxlength:null)},inputs:{maxlength:`maxlength`},standalone:!1,features:[db([Wt]),Lr]})}return n})();var Yt={provide:_,useExisting:Xi$2(()=>Xt),multi:!0};var Xt=(()=>{class n extends j{pattern;inputName=`pattern`;normalizeInput=e=>e;createValidator=e=>Ye(e);static ɵfac=(()=>{let e;return function(i){return(e||(e=Km(n)))(i||n)}})();static ɵdir=xe$2({type:n,selectors:[[``,`pattern`,``,`formControlName`,``],[``,`pattern`,``,`formControl`,``],[``,`pattern`,``,`ngModel`,``]],hostVars:1,hostBindings:function(r,i){r&2&&Wn$1(`pattern`,i._enabled?i.pattern:null)},inputs:{pattern:`pattern`},standalone:!1,features:[db([Yt]),Lr]})}return n})();var Zt={provide:It$1,useFactory:()=>{let n=m$1(x,{self:!0});return{setParseErrors:t=>{n.setParseErrorSource(t)},set onReset(t){n.onReset=t}}}};var x=class extends q{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;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 N&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=jt(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;pendingCustomValue=void 0;hasPendingCustomValue=!1;constructor(t,e,r){super(),this.injector=t,this.renderer=e,this.rawValueAccessors=r,this.injector?.get(De)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();let t=this.control,e=this.injector?.get(eC);if(!t||!e)return;ee(t,this);let r=e.markForCheck.bind(e);if(this.subscription=new q$2,this.subscription.add(()=>this.discardPendingCustomValue(t)),typeof t.registerOnChange==`function`){let i=(o,s)=>{this.discardPendingCustomValue(t),s&&this.viewToModelUpdate(o),r()};t.registerOnChange(i),this.subscription.add(()=>t._unregisterOnChange(i))}this.subscription.add(t.valueChanges.subscribe(r)),this.subscription.add(t.statusChanges.subscribe(r)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=t.events.subscribe(i=>{i instanceof N&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&t.addValidators(this.parseErrorsValidator)}ngControlCreate(t){!t.nativeElement.hasAttribute?.(`ngNoCva`)&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!t.customControl||(this.isCustomControlBased=!0,t.listenToCustomControlModel(i=>{let o=this.control;o&&(o._pendingValue=i,o._pendingChange=!0,o._pendingDirty=!0,this.pendingCustomValue=i,this.hasPendingCustomValue=!0,o.updateOn===`change`&&this.updateControlFromCustom(o))}),t.listenToCustomControlOutput(`touch`,()=>{let i=this.control;i&&(i._pendingTouched=!0,i.updateOn===`blur`&&i._pendingChange&&this.updateControlFromCustom(i),i.updateOn!==`submit`&&i.markAsTouched())}),this.customControlBindings={},this.isNativeFormElement=Nt$1(t.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(i=>i instanceof ct))}updateControlFromCustom(t){let e=t._pendingValue;t._pendingChange=!1,this.clearPendingCustomValue(),this.customControlBindings&&(this.customControlBindings.value=e),t._pendingDirty&&t.markAsDirty(),t.setValue(e,{emitModelToViewChange:!1}),this.viewToModelUpdate(t.value)}discardPendingCustomValue(t){this.hasPendingCustomValue&&(this.customControlBindings&&(this.customControlBindings.value=this.pendingCustomValue),this.clearPendingCustomValue(),t._pendingValue=t.value,t._pendingChange=!1,t._pendingDirty=!1)}clearPendingCustomValue(){this.pendingCustomValue=void 0,this.hasPendingCustomValue=!1}ngControlUpdate(t){if(!this.isCustomControlBased)return;let e=this.control,r=this.customControlBindings;if(!e||!r)return;this.hasPendingCustomValue&&!e._pendingChange&&(r.value=this.pendingCustomValue,this.clearPendingCustomValue()),e._status(),e._errors(),Object.is(r.value,e.value)||(this.discardPendingCustomValue(e),r.value=e.value,t.setCustomControlModelInput(e.value)),this.bindControlProperty(t,r,`touched`,e.touched),this.bindControlProperty(t,r,`dirty`,e.dirty),this.bindControlProperty(t,r,`valid`,e.valid),this.bindControlProperty(t,r,`invalid`,e.invalid),this.bindControlProperty(t,r,`pending`,e.pending),this.bindControlProperty(t,r,`disabled`,e.disabled);let i=this.requiredValidatorViaDi;if(i){let s=this.isRequired;t.setInputOnDirectives(`required`,s,(te,ne)=>ne!==i&&te!==s)}else this.bindControlProperty(t,r,`required`,this.isRequired);let o=e.errors;if(r.errors!==o){r.errors=o;let s=this._convertErrors(o);t.setInputOnDirectives(`errors`,s)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}bindControlProperty(t,e,r,i){if(e[r]===i)return;e[r]=i;let o=t.setInputOnDirectives(r,i);this.isNativeFormElement&&!o&&(r===`disabled`||r===`required`)&&this.renderer&&xt(this.renderer,t.nativeElement,r,i)}_convertErrors(t){if(t===null)return[];let e=this.control;return Object.entries(t).map(([r,i])=>new le({context:i,kind:r,control:e}))}setParseErrorSource(t){if(t===void 0)return;let e=null,r=MS(()=>{let i=t();return i.length===0?null:i.reduce((o,s)=>(o[s.kind]=s,o),{})});this.parseErrorsValidator=()=>(e=jr(r),e),_s(()=>{let i=r();i!==e&&(e=i,this.control?.updateValueAndValidity({emitEvent:!1}),this.injector?.get(eC)?.markForCheck())},{injector:this.injector})}removeParseErrorsValidator(t){this.parseErrorsValidator&&(t?.removeValidators(this.parseErrorsValidator),t?.updateValueAndValidity({emitEvent:!1}))}};var ue=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 In=(()=>{class n extends ue{constructor(e){super(e)}static ɵfac=function(r){return new(r||n)(Jt$3(x,2))};static ɵdir=xe$2({type:n,selectors:[[``,`formControlName`,``],[``,`ngModel`,``],[``,`formControl`,``]],hostVars:14,hostBindings:function(r,i){r&2&&ct$3(`ng-untouched`,i.isUntouched)(`ng-touched`,i.isTouched)(`ng-pristine`,i.isPristine)(`ng-dirty`,i.isDirty)(`ng-valid`,i.isValid)(`ng-invalid`,i.isInvalid)(`ng-pending`,i.isPending)},standalone:!1,features:[Lr]})}return n})();var K=class extends Y{constructor(t,e,r){super(it(e),ot(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this._find(t)||(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,r={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){let r=this._find(t);r&&r._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,r={}){let i=this._find(t);i&&i._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this._find(t)?.enabled===!0}setValue(t,e={}){jr(()=>{Mt$1(this,!0,t),Object.keys(t).forEach(r=>{At(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)})}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(r=>{let i=this._find(r);i&&i.patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((r,i)=>{r.reset(t?t[i]:null,J$2(R$3({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new N(this))}getRawValue(){return this._reduceChildren({},(t,e,r)=>(t[r]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&t(r,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(t,e){let r=t;return this._forEachChild((i,o)=>{r=e(r,i,o)}),r}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return st(this.controls,t)?this.controls[t]:null}};var Kt={provide:b,useExisting:Xi$2(()=>Qt)};var R=Promise.resolve();var Qt=(()=>{class n extends b{callSetDisabledState;get submitted(){return jr(this.submittedReactive)}_submitted=MS(()=>this.submittedReactive());submittedReactive=ke$3(!1);_directives=/* @__PURE__ */ new Set;form;ngSubmit=new me$3;options;constructor(e,r,i){super(),this.callSetDisabledState=i,this.form=new K({},fe(e),me(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){R.then(()=>{e.control=this._findContainer(e.path).registerControl(e.name,e.control),e._setupWithForm(this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){R.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){R.then(()=>{let r=this._findContainer(e.path),i=new K({});lt$1(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){R.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){R.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),ut(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new z(this.control)),e?.target?.method===`dialog`}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static ɵfac=function(r){return new(r||n)(Jt$3(_,10),Jt$3(pe,10),Jt$3(J,8))};static ɵdir=xe$2({type:n,selectors:[[`form`,3,`ngNoForm`,``,3,`formGroup`,``,3,`formArray`,``],[`ng-form`],[``,`ngForm`,``]],hostBindings:function(r,i){r&1&&Ug(`submit`,function(s){return i.onSubmit(s)})(`reset`,function(){return i.onReset()})},inputs:{options:[0,`ngFormOptions`,`options`]},outputs:{ngSubmit:`ngSubmit`},exportAs:[`ngForm`],standalone:!1,features:[db([Kt]),Lr]})}return n})();function Te(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function Pe(n){return typeof n==`object`&&n!==null&&Object.keys(n).length===2&&`value`in n&&`disabled`in n}var ht=class extends Y{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,r){super(it(e),ot(r,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Q(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Pe(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){jr(()=>{this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,e.emitViewToModelChange!==!1)),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=!1,e?.emitEvent!==!1&&this._events.next(new N(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Te(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Te(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn===`submit`&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Pe(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Jt=n=>n instanceof ht;var en=(()=>{class n extends b{callSetDisabledState;get submitted(){return jr(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=MS(()=>this._submittedReactive());_submittedReactive=ke$3(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){if(!this.form)throw new b$2(1052,!1);Object.hasOwn(e,`form`)&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Z(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let r=this.form.get(e.path);if(!r)throw new b$2(-1055,!1);return e._setupWithForm(r,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){Re(e.control||null,e,!1),Gt(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,ut(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new z(this.control)),e?.target?.method===`dialog`}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,i=this.form.get(e.path);r!==i&&(Re(r||null,e),Jt(i)&&e._setupWithForm(i,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);lt$1(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let r=this.form?.get(e.path);r&&Rt(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){ee(this.form,this),this._oldForm&&Z(this._oldForm,this)}static ɵfac=function(r){return new(r||n)(Jt$3(_,10),Jt$3(pe,10),Jt$3(J,8))};static ɵdir=xe$2({type:n,features:[Lr,Xs]})}return n})();var tn={provide:b,useExisting:Xi$2(()=>nn)};var nn=(()=>{class n extends en{form=null;ngSubmit=new me$3;get control(){return this.form}static ɵfac=(()=>{let e;return function(i){return(e||(e=Km(n)))(i||n)}})();static ɵdir=xe$2({type:n,selectors:[[``,`formGroup`,``]],hostBindings:function(r,i){r&1&&Ug(`submit`,function(s){return i.onSubmit(s)})(`reset`,function(){return i.onReset()})},inputs:{form:[0,`formGroup`,`form`]},outputs:{ngSubmit:`ngSubmit`},exportAs:[`ngForm`],standalone:!1,features:[db([tn]),Lr]})}return n})();var rn={provide:x,useExisting:Xi$2(()=>on)};var je=Promise.resolve();var on=(()=>{class n extends x{_changeDetectorRef;callSetDisabledState;control=new ht;static ngAcceptInputType_isDisabled;_registered=!1;_ngModelInjector;viewModel;name=``;isDisabled;model;options;update=new me$3;constructor(e,r,i,o,s,te,ne,pt){super(ne,pt,o),this._changeDetectorRef=s,this.callSetDisabledState=te,this._parent=e,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(e){if(this._registered,this._checkForErrors(),!this._registered||`name`in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}`isDisabled`in e&&this._updateDisabled(e),Tt(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}ɵngControlCreate(e){super.ngControlCreate(e)}ɵngControlUpdate(e){super.ngControlUpdate(e)}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=!0}_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,we(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:!1})}_setupWithForm(e){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,we(this.control,this,e))}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){je.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,i=r!==0&&Ke$1(r);je.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?St$1(e,this._parent):[e]}static ɵfac=function(r){return new(r||n)(Jt$3(b,9),Jt$3(_,10),Jt$3(pe,10),Jt$3(de,10),Jt$3(eC,8),Jt$3(J,8),Jt$3(Y$1,8),Jt$3(Ar,8))};static ɵdir=xe$2({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:!1,features:[db([rn,Zt]),Lr,Xs,dw(null)]})}return n})();var sn={provide:de,useExisting:Xi$2(()=>an),multi:!0};var an=(()=>{class n extends Ue{writeValue(e){let r=e??``;this.setProperty(`value`,r)}registerOnChange(e){this.onChange=r=>{e(r==``?null:parseFloat(r))}}static ɵfac=(()=>{let e;return function(i){return(e||(e=Km(n)))(i||n)}})();static ɵdir=xe$2({type:n,selectors:[[`input`,`type`,`number`,`formControlName`,``,3,`ngNoCva`,``],[`input`,`type`,`number`,`formControl`,``,3,`ngNoCva`,``],[`input`,`type`,`number`,`ngModel`,``,3,`ngNoCva`,``]],hostBindings:function(r,i){r&1&&Ug(`input`,function(s){return i.onChange(s.target.value)})(`blur`,function(){return i.onTouched()})},standalone:!1,features:[db([sn]),Lr]})}return n})();var ln=(()=>{class n{static ɵfac=function(r){return new(r||n)};static ɵmod=fe$3({type:n});static ɵinj=ae$3({})}return n})();var Fn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:J,useValue:e.callSetDisabledState??ge}]}}static ɵfac=function(r){return new(r||n)};static ɵmod=fe$3({type:n});static ɵinj=ae$3({imports:[ln]})}return n})();var Rn=(()=>{class n{_animationsDisabled=qr();state=`unchecked`;disabled=!1;appearance=`full`;static ɵfac=function(r){return new(r||n)};static ɵcmp=Te$1({type:n,selectors:[[`mat-pseudo-checkbox`]],hostAttrs:[1,`mat-pseudo-checkbox`],hostVars:12,hostBindings:function(r,i){r&2&&ct$3(`mat-pseudo-checkbox-indeterminate`,i.state===`indeterminate`)(`mat-pseudo-checkbox-checked`,i.state===`checked`)(`mat-pseudo-checkbox-disabled`,i.disabled)(`mat-pseudo-checkbox-minimal`,i.appearance===`minimal`)(`mat-pseudo-checkbox-full`,i.appearance===`full`)(`_mat-animation-noopable`,i._animationsDisabled)},inputs:{state:`state`,disabled:`disabled`,appearance:`appearance`},decls:0,vars:0,template:function(r,i){},styles:[`.mat-pseudo-checkbox {
|
|
1285
|
+
border-radius: 2px;
|
|
1286
|
+
cursor: pointer;
|
|
1287
|
+
display: inline-block;
|
|
1288
|
+
vertical-align: middle;
|
|
1289
|
+
box-sizing: border-box;
|
|
1290
|
+
position: relative;
|
|
1291
|
+
flex-shrink: 0;
|
|
1292
|
+
transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1);
|
|
1293
|
+
}
|
|
1294
|
+
.mat-pseudo-checkbox::after {
|
|
1295
|
+
position: absolute;
|
|
1296
|
+
opacity: 0;
|
|
1297
|
+
content: "";
|
|
1298
|
+
border-bottom: 2px solid currentColor;
|
|
1299
|
+
transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);
|
|
1300
|
+
}
|
|
1301
|
+
.mat-pseudo-checkbox._mat-animation-noopable {
|
|
1302
|
+
transition: none !important;
|
|
1303
|
+
animation: none !important;
|
|
1304
|
+
}
|
|
1305
|
+
.mat-pseudo-checkbox._mat-animation-noopable::after {
|
|
1306
|
+
transition: none;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.mat-pseudo-checkbox-disabled {
|
|
1310
|
+
cursor: default;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
.mat-pseudo-checkbox-indeterminate::after {
|
|
1314
|
+
left: 1px;
|
|
1315
|
+
opacity: 1;
|
|
1316
|
+
border-radius: 2px;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
.mat-pseudo-checkbox-checked::after {
|
|
1320
|
+
left: 1px;
|
|
1321
|
+
border-left: 2px solid currentColor;
|
|
1322
|
+
transform: rotate(-45deg);
|
|
1323
|
+
opacity: 1;
|
|
1324
|
+
box-sizing: content-box;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {
|
|
1328
|
+
color: var(--%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--%NS%mat-sys-primary));
|
|
1329
|
+
}
|
|
1330
|
+
.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after {
|
|
1331
|
+
color: var(--%NS%mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
.mat-pseudo-checkbox-full {
|
|
1335
|
+
border-color: var(--%NS%mat-pseudo-checkbox-full-unselected-icon-color, var(--%NS%mat-sys-on-surface-variant));
|
|
1336
|
+
border-width: 2px;
|
|
1337
|
+
border-style: solid;
|
|
1338
|
+
}
|
|
1339
|
+
.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled {
|
|
1340
|
+
border-color: var(--%NS%mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
1341
|
+
}
|
|
1342
|
+
.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate {
|
|
1343
|
+
background-color: var(--%NS%mat-pseudo-checkbox-full-selected-icon-color, var(--%NS%mat-sys-primary));
|
|
1344
|
+
border-color: transparent;
|
|
1345
|
+
}
|
|
1346
|
+
.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
|
|
1347
|
+
color: var(--%NS%mat-pseudo-checkbox-full-selected-checkmark-color, var(--%NS%mat-sys-on-primary));
|
|
1348
|
+
}
|
|
1349
|
+
.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled {
|
|
1350
|
+
background-color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
|
|
1351
|
+
}
|
|
1352
|
+
.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after {
|
|
1353
|
+
color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface));
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
.mat-pseudo-checkbox {
|
|
1357
|
+
width: 18px;
|
|
1358
|
+
height: 18px;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after {
|
|
1362
|
+
width: 14px;
|
|
1363
|
+
height: 6px;
|
|
1364
|
+
transform-origin: center;
|
|
1365
|
+
top: -4.2426406871px;
|
|
1366
|
+
left: 0;
|
|
1367
|
+
bottom: 0;
|
|
1368
|
+
right: 0;
|
|
1369
|
+
margin: auto;
|
|
1370
|
+
}
|
|
1371
|
+
.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {
|
|
1372
|
+
top: 8px;
|
|
1373
|
+
width: 16px;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after {
|
|
1377
|
+
width: 10px;
|
|
1378
|
+
height: 4px;
|
|
1379
|
+
transform-origin: center;
|
|
1380
|
+
top: -2.8284271247px;
|
|
1381
|
+
left: 0;
|
|
1382
|
+
bottom: 0;
|
|
1383
|
+
right: 0;
|
|
1384
|
+
margin: auto;
|
|
1385
|
+
}
|
|
1386
|
+
.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
|
|
1387
|
+
top: 6px;
|
|
1388
|
+
width: 12px;
|
|
1389
|
+
}
|
|
1390
|
+
`],encapsulation:2})}return n})();var jn=(()=>{class n{static ɵfac=function(r){return new(r||n)};static ɵmod=fe$3({type:n});static ɵinj=ae$3({imports:[$r]})}return n})();var xi=[{path:``,loadComponent:()=>import(`./chunk-DXvCZ3pT.js`).then(i=>i.Dashboard),title:`Dashboard · CodeGate`},{path:`users`,loadComponent:()=>import(`./chunk-Cjwyuum6.js`).then(i=>i.Users),title:`Users · CodeGate`},{path:`pending`,loadComponent:()=>import(`./chunk-D9RytJgO.js`).then(i=>i.Pending),title:`Pending · CodeGate`},{path:`sessions`,loadComponent:()=>import(`./chunk-yikJ2ObQ.js`).then(i=>i.Sessions),title:`Sessions · CodeGate`},{path:`audit`,loadComponent:()=>import(`./chunk-kPDFCwHP.js`).then(i=>i.Audit),title:`Audit log · CodeGate`},{path:`settings`,loadComponent:()=>import(`./chunk-BqiJ460N.js`).then(i=>i.SettingsPage),title:`Settings · CodeGate`},{path:`:username`,loadComponent:()=>import(`./chunk-CcgsCK7w.js`).then(i=>i.UserDetail),title:`User · CodeGate`}];var yi=(i,g)=>{let t=m$1(pt);return g(i.clone({withCredentials:!0,setHeaders:{"X-CodeGate":`1`}})).pipe(co$1(n=>(n.status===401?location.href=JT()+`login?next=`+encodeURIComponent(location.pathname):n.status===403&&n.error?.code===`password_change_required`?location.href=JT()+`account/password?next=`+encodeURIComponent(location.pathname):n.status===403&&n.error?.code===`forbidden`?location.href=JT():i.headers.has(`X-Silent`)||t.apiError(n),pc(()=>n))))};var ki={providers:[TE(),$o(xi,Go()),iT(sT([yi]))]};var Oi=new g(`MAT_DRAWER_DEFAULT_AUTOSIZE`,{providedIn:`root`,factory:()=>!1});var Nt=new g(`MAT_DRAWER_CONTAINER`);var nt=(()=>{class i extends me$2{_platform=m$1(ge$3);_changeDetectorRef=m$1(eC);_element=m$1(oe$2);_ngZone=m$1(P$2);_isInert=!1;_container=m$1(St);ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>this._changeDetectorRef.markForCheck())}_drawerToggled(t){t.opened?this._ngZone.runOutsideAngular(()=>{t._animationEnd.pipe(Hv(50),tt$2(1)).subscribe(()=>this._updateInert())}):this._updateInert()}_drawerModeChanged(){this._updateInert()}_updateInert(){let t=this._container._isShowingBackdrop();if(t!==this._isInert){let e=this._element.nativeElement;this._isInert=t,t?e.setAttribute(`inert`,`true`):e.removeAttribute(`inert`)}}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:t,end:e}=this._container;return t!=null&&t.mode!==`over`&&t.opened||e!=null&&e.mode!==`over`&&e.opened}static ɵfac=(()=>{let t;return function(n){return(t||(t=Km(i)))(n||i)}})();static ɵcmp=(function(){return Te$1({type:i,selectors:[[`mat-drawer-content`]],hostAttrs:[1,`mat-drawer-content`],hostVars:6,hostBindings:function(n,a){n&2&&(Qg(`margin-left`,a._container._contentMargins.left,`px`)(`margin-right`,a._container._contentMargins.right,`px`),ct$3(`mat-drawer-content-hidden`,a._shouldBeHidden()))},features:[db([{provide:me$2,useExisting:i}]),Lr],ngContentSelectors:[`*`],decls:1,vars:0,template:function(n,a){n&1&&(Gn$1(),Ye$1(0))},encapsulation:2})})()}return i})();var kt=(()=>{class i{_elementRef=m$1(oe$2);_focusTrapFactory=m$1(PT);_focusMonitor=m$1(Fa);_platform=m$1(ge$3);_ngZone=m$1(P$2);_renderer=m$1(Ar);_interactivityChecker=m$1(xy);_doc=m$1(O$2);_isAnimating=!1;_container=m$1(Nt,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached=!1;_anchor=null;get position(){return this._position}set position(t){t=t===`end`?`end`:`start`,t!==this._position&&(this._isAttached&&this._updatePositionInParent(t),this._position=t,this.onPositionChanged.emit())}_position=`start`;get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next(),this._getContent()?._drawerModeChanged()}_mode=`over`;get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=_3(t)}_disableClose=!1;get autoFocus(){return this._autoFocus??(this.mode===`side`?`dialog`:`first-tabbable`)}set autoFocus(t){(t===`true`||t===`false`||t==null)&&(t=_3(t)),this._autoFocus=t}_autoFocus;get opened(){return this._opened()}set opened(t){this.toggle(_3(t))}_opened=ke$3(!1);_openedVia=null;_animationStarted=new B;_animationEnd=new B;openedChange=new me$3(!0);_openedStream=this.openedChange.pipe(He$2(t=>t),W$2(()=>{}));openedStart=this._animationStarted.pipe(He$2(()=>this.opened),bc(void 0));_closedStream=this.openedChange.pipe(He$2(t=>!t),W$2(()=>{}));closedStart=this._animationStarted.pipe(He$2(()=>!this.opened),bc(void 0));_destroyed=new B;onPositionChanged=new me$3;_content;_modeChanged=new B;_injector=m$1(Y$1);_changeDetectorRef=m$1(eC);constructor(){this.openedChange.pipe(po$1(this._destroyed)).subscribe(t=>{t?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||`program`)}),this._eventCleanups=this._ngZone.runOutsideAngular(()=>{let t=this._renderer,e=this._elementRef.nativeElement;return[t.listen(e,`keydown`,n=>{n.keyCode===27&&!this.disableClose&&!Oy(n)&&this._ngZone.run(()=>{this.close(),n.stopPropagation(),n.preventDefault()})}),t.listen(e,`transitionend`,this._handleTransitionEvent),t.listen(e,`transitioncancel`,this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_focusByCssSelector(t,e){let n=this._elementRef.nativeElement.querySelector(t);n&&(this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let a=()=>{r(),m(),n.removeAttribute(`tabindex`)},r=this._renderer.listen(n,`blur`,a),m=this._renderer.listen(n,`mousedown`,a)})),n.focus(e))}_takeFocus(){if(!this._focusTrap)return;let t=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case`dialog`:return;case!0:case`first-tabbable`:Ou(()=>{let e=this._isAnimating?{preventScroll:!0}:void 0;!this._focusTrap.focusInitialElement(e)&&typeof t.focus==`function`&&t.focus(e)},{injector:this._injector});break;case`first-heading`:this._focusByCssSelector(`h1, h2, h3, h4, h5, h6, [role="heading"]`);break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(t){this.autoFocus!==`dialog`&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,t):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let t=this._doc.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}ngAfterViewInit(){this._isAttached=!0,this._position===`end`&&this._updatePositionInParent(`end`),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(t=>t()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,`mouse`)}toggle(t=!this.opened,e){t&&e&&(this._openedVia=e);let n=this._setOpen(t,!t&&this._isFocusWithinDrawer(),this._openedVia||`program`);return t||(this._openedVia=null),n}_setOpen(t,e,n){return t===this.opened?Promise.resolve(t?`open`:`close`):(this._opened.set(t),this._getContent()?._drawerToggled(this),this._container?._transitionsEnabled?this._isAnimating?(this._setIsAnimating(!1),this._simulateAnimation()):(this._setIsAnimating(!0),setTimeout(()=>this._animationStarted.next())):this._simulateAnimation(),this._elementRef.nativeElement.classList.toggle(`mat-drawer-opened`,t),!t&&e&&this._restoreFocus(n),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(tt$2(1)).subscribe(r=>a(r?`open`:`close`))}))}_getContent(){return this._container?._content||this._container?._userContent}_setIsAnimating(t){t!==this._isAnimating&&(this._isAnimating=t,this._elementRef.nativeElement.classList.toggle(`mat-drawer-animating`,t))}_simulateAnimation(){setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()})}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&!!this._container?._isShowingBackdrop())}_updatePositionInParent(t){if(!this._platform.isBrowser)return;let e=this._elementRef.nativeElement,n=e.parentNode;t===`end`?(this._anchor||(this._anchor=this._doc.createComment(`mat-drawer-anchor`),n.insertBefore(this._anchor,e)),n.appendChild(e)):this._anchor&&this._anchor.parentNode.insertBefore(e,this._anchor)}_handleTransitionEvent=t=>{let e=this._elementRef.nativeElement;t.target===e&&this._ngZone.run(()=>{t.type===`transitionend`&&this._setIsAnimating(!1),this._animationEnd.next(t)})};static ɵfac=function(e){return new(e||i)};static ɵcmp=(function(){let t=[`content`];return Te$1({type:i,selectors:[[`mat-drawer`]],viewQuery:function(a,r){if(a&1&&Gg(t,5),a&2){let m;Hw(m=Uw())&&(r._content=m.first)}},hostAttrs:[1,`mat-drawer`],hostVars:12,hostBindings:function(a,r){a&2&&(Wn$1(`align`,null)(`tabIndex`,r.mode!==`side`?`-1`:null),Qg(`visibility`,!r._container&&!r.opened?`hidden`:null),ct$3(`mat-drawer-end`,r.position===`end`)(`mat-drawer-over`,r.mode===`over`)(`mat-drawer-push`,r.mode===`push`)(`mat-drawer-side`,r.mode===`side`))},inputs:{position:`position`,mode:`mode`,disableClose:`disableClose`,autoFocus:`autoFocus`,opened:`opened`},outputs:{openedChange:`openedChange`,_openedStream:`opened`,openedStart:`openedStart`,_closedStream:`closed`,closedStart:`closedStart`,onPositionChanged:`positionChanged`},exportAs:[`matDrawer`],ngContentSelectors:[`*`],decls:3,vars:0,consts:[[`content`,``],[`cdkScrollable`,``,1,`mat-drawer-inner-container`]],template:function(a,r){a&1&&(Gn$1(),Ys(0,`div`,1,0),Ye$1(2),od())},dependencies:[me$2],encapsulation:2})})()}return i})();var St=(()=>{class i{_dir=m$1(gT,{optional:!0});_element=m$1(oe$2);_ngZone=m$1(P$2);_changeDetectorRef=m$1(eC);_animationDisabled=qr();_transitionsEnabled=!1;_allDrawers;_drawers=new jn$2;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=_3(t)}_autosize=m$1(Oi);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(t){this._backdropOverride=t==null?null:_3(t)}_backdropOverride=null;backdropClick=new me$3;_start=null;_end=null;_left=null;_right=null;_destroyed=new B;_doCheckSubject=new B;_contentMargins={left:null,right:null};_contentMarginChanges=new B;get scrollable(){return this._userContent||this._content}_injector=m$1(Y$1);constructor(){let t=m$1(ge$3),e=m$1(L);this._dir?.change.pipe(po$1(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),e.change().pipe(po$1(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&t.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add(`mat-drawer-transition`),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe(Dc(this._allDrawers),po$1(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(e=>!e._container||e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Dc(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(bn$1(10),po$1(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened){if(this._left.mode==`side`)t+=this._left._getWidth();else if(this._left.mode==`push`){let n=this._left._getWidth();t+=n,e-=n}}if(this._right&&this._right.opened){if(this._right.mode==`side`)e+=this._right._getWidth();else if(this._right.mode==`push`){let n=this._right._getWidth();e+=n,t-=n}}t=t||null,e=e||null,(t!==this._contentMargins.left||e!==this._contentMargins.right)&&(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(po$1(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),t.mode!==`side`&&t.openedChange.pipe(po$1(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t.onPositionChanged.pipe(po$1(this._drawers.changes)).subscribe(()=>{Ou({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(t){t._modeChanged.pipe(po$1(Bv(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){let e=this._element.nativeElement.classList,n=`mat-drawer-container-has-open`;t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{t.position==`end`?(this._end,this._end=t):(this._start,this._start=t)}),this._right=this._left=null,this._dir&&this._dir.value===`rtl`?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!=`over`||this._isDrawerOpen(this._end)&&this._end.mode!=`over`}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._drawerHasBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(t){return t!=null&&t.opened}_drawerHasBackdrop(t){return this._backdropOverride==null?!!t&&t.mode!==`side`:this._backdropOverride}static ɵfac=function(e){return new(e||i)};static ɵcmp=(function(){let t=[[[`mat-drawer`],[`mat-sidenav`]],[[`mat-drawer-content`],[`mat-sidenav-content`]],`*`],e=[`mat-drawer, mat-sidenav`,`mat-drawer-content, mat-sidenav-content`,`*`];function n(r,m){if(r&1){let o=Lw();Ys(0,`div`,1),Ug(`click`,function(){Ip(o);let p=jw();return wp(p._onBackdropClicked())}),od()}if(r&2){let o=jw();ct$3(`mat-drawer-shown`,o._isShowingBackdrop())}}function a(r,m){r&1&&(Ys(0,`mat-drawer-content`),Ye$1(1,2),od())}return Te$1({type:i,selectors:[[`mat-drawer-container`]],contentQueries:function(m,o,h){if(m&1&&Wg(h,nt,5)(h,kt,5),m&2){let p;Hw(p=Uw())&&(o._content=p.first),Hw(p=Uw())&&(o._allDrawers=p)}},viewQuery:function(m,o){if(m&1&&Gg(nt,5),m&2){let h;Hw(h=Uw())&&(o._userContent=h.first)}},hostAttrs:[1,`mat-drawer-container`],hostVars:2,hostBindings:function(m,o){m&2&&ct$3(`mat-drawer-container-explicit-backdrop`,o._backdropOverride)},inputs:{autosize:`autosize`,hasBackdrop:`hasBackdrop`},outputs:{backdropClick:`backdropClick`},exportAs:[`matDrawerContainer`],features:[db([{provide:Nt,useExisting:i}])],ngContentSelectors:e,decls:4,vars:2,consts:[[1,`mat-drawer-backdrop`,3,`mat-drawer-shown`],[1,`mat-drawer-backdrop`,3,`click`]],template:function(m,o){m&1&&(Gn$1(t),Yo(0,n,1,2,`div`,0),Ye$1(1),Ye$1(2,1),Yo(3,a,2,0,`mat-drawer-content`)),m&2&&(Ko(o.hasBackdrop?0:-1),zo$1(3),Ko(o._content?-1:3))},dependencies:[nt],styles:[`.mat-drawer-container {
|
|
1391
|
+
position: relative;
|
|
1392
|
+
z-index: 1;
|
|
1393
|
+
color: var(--%NS%mat-sidenav-content-text-color, var(--%NS%mat-sys-on-background));
|
|
1394
|
+
background-color: var(--%NS%mat-sidenav-content-background-color, var(--%NS%mat-sys-background));
|
|
1395
|
+
box-sizing: border-box;
|
|
1396
|
+
display: block;
|
|
1397
|
+
overflow: hidden;
|
|
1398
|
+
}
|
|
1399
|
+
.mat-drawer-container[fullscreen] {
|
|
1400
|
+
top: 0;
|
|
1401
|
+
left: 0;
|
|
1402
|
+
right: 0;
|
|
1403
|
+
bottom: 0;
|
|
1404
|
+
position: absolute;
|
|
1405
|
+
}
|
|
1406
|
+
.mat-drawer-container[fullscreen].mat-drawer-container-has-open {
|
|
1407
|
+
overflow: hidden;
|
|
1408
|
+
}
|
|
1409
|
+
.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side {
|
|
1410
|
+
z-index: 3;
|
|
1411
|
+
}
|
|
1412
|
+
.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,
|
|
1413
|
+
.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,
|
|
1414
|
+
.ng-animate-disabled .mat-drawer-container .mat-drawer-content {
|
|
1415
|
+
transition: none;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
.mat-drawer-backdrop {
|
|
1419
|
+
top: 0;
|
|
1420
|
+
left: 0;
|
|
1421
|
+
right: 0;
|
|
1422
|
+
bottom: 0;
|
|
1423
|
+
position: absolute;
|
|
1424
|
+
display: block;
|
|
1425
|
+
z-index: 3;
|
|
1426
|
+
visibility: hidden;
|
|
1427
|
+
}
|
|
1428
|
+
.mat-drawer-backdrop.mat-drawer-shown {
|
|
1429
|
+
visibility: visible;
|
|
1430
|
+
background-color: var(--%NS%mat-sidenav-scrim-color, color-mix(in srgb, var(--%NS%mat-sys-neutral-variant20) 40%, transparent));
|
|
1431
|
+
}
|
|
1432
|
+
.mat-drawer-transition .mat-drawer-backdrop {
|
|
1433
|
+
transition-duration: 400ms;
|
|
1434
|
+
transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1435
|
+
transition-property: background-color, visibility;
|
|
1436
|
+
}
|
|
1437
|
+
@media (forced-colors: active) {
|
|
1438
|
+
.mat-drawer-backdrop {
|
|
1439
|
+
opacity: 0.5;
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
.mat-drawer-content {
|
|
1444
|
+
position: relative;
|
|
1445
|
+
z-index: 1;
|
|
1446
|
+
display: block;
|
|
1447
|
+
height: 100%;
|
|
1448
|
+
overflow: auto;
|
|
1449
|
+
}
|
|
1450
|
+
.mat-drawer-content.mat-drawer-content-hidden {
|
|
1451
|
+
opacity: 0;
|
|
1452
|
+
}
|
|
1453
|
+
.mat-drawer-transition .mat-drawer-content {
|
|
1454
|
+
transition-duration: 400ms;
|
|
1455
|
+
transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1456
|
+
transition-property: transform, margin-left, margin-right;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
.mat-drawer {
|
|
1460
|
+
position: relative;
|
|
1461
|
+
z-index: 4;
|
|
1462
|
+
color: var(--%NS%mat-sidenav-container-text-color, var(--%NS%mat-sys-on-surface-variant));
|
|
1463
|
+
box-shadow: var(--%NS%mat-sidenav-container-elevation-shadow, none);
|
|
1464
|
+
background-color: var(--%NS%mat-sidenav-container-background-color, var(--%NS%mat-sys-surface));
|
|
1465
|
+
border-top-right-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1466
|
+
border-bottom-right-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1467
|
+
width: var(--%NS%mat-sidenav-container-width, 360px);
|
|
1468
|
+
display: block;
|
|
1469
|
+
position: absolute;
|
|
1470
|
+
top: 0;
|
|
1471
|
+
bottom: 0;
|
|
1472
|
+
z-index: 3;
|
|
1473
|
+
outline: 0;
|
|
1474
|
+
box-sizing: border-box;
|
|
1475
|
+
overflow-y: auto;
|
|
1476
|
+
transform: translate3d(-100%, 0, 0);
|
|
1477
|
+
}
|
|
1478
|
+
@media (forced-colors: active) {
|
|
1479
|
+
.mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end {
|
|
1480
|
+
border-right: solid 1px currentColor;
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
@media (forced-colors: active) {
|
|
1484
|
+
[dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end {
|
|
1485
|
+
border-left: solid 1px currentColor;
|
|
1486
|
+
border-right: none;
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
.mat-drawer.mat-drawer-side {
|
|
1490
|
+
z-index: 2;
|
|
1491
|
+
}
|
|
1492
|
+
.mat-drawer.mat-drawer-end {
|
|
1493
|
+
right: 0;
|
|
1494
|
+
transform: translate3d(100%, 0, 0);
|
|
1495
|
+
border-top-left-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1496
|
+
border-bottom-left-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1497
|
+
border-top-right-radius: 0;
|
|
1498
|
+
border-bottom-right-radius: 0;
|
|
1499
|
+
}
|
|
1500
|
+
[dir=rtl] .mat-drawer {
|
|
1501
|
+
border-top-left-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1502
|
+
border-bottom-left-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1503
|
+
border-top-right-radius: 0;
|
|
1504
|
+
border-bottom-right-radius: 0;
|
|
1505
|
+
transform: translate3d(100%, 0, 0);
|
|
1506
|
+
}
|
|
1507
|
+
[dir=rtl] .mat-drawer.mat-drawer-end {
|
|
1508
|
+
border-top-right-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1509
|
+
border-bottom-right-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1510
|
+
border-top-left-radius: 0;
|
|
1511
|
+
border-bottom-left-radius: 0;
|
|
1512
|
+
left: 0;
|
|
1513
|
+
right: auto;
|
|
1514
|
+
transform: translate3d(-100%, 0, 0);
|
|
1515
|
+
}
|
|
1516
|
+
.mat-drawer-transition .mat-drawer {
|
|
1517
|
+
transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1518
|
+
}
|
|
1519
|
+
.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) {
|
|
1520
|
+
visibility: hidden;
|
|
1521
|
+
box-shadow: none;
|
|
1522
|
+
}
|
|
1523
|
+
.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container {
|
|
1524
|
+
display: none;
|
|
1525
|
+
}
|
|
1526
|
+
.mat-drawer.mat-drawer-opened.mat-drawer-opened {
|
|
1527
|
+
transform: none;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
.mat-drawer-side {
|
|
1531
|
+
box-shadow: none;
|
|
1532
|
+
border-right-color: var(--%NS%mat-sidenav-container-divider-color, transparent);
|
|
1533
|
+
border-right-width: 1px;
|
|
1534
|
+
border-right-style: solid;
|
|
1535
|
+
}
|
|
1536
|
+
.mat-drawer-side.mat-drawer-end {
|
|
1537
|
+
border-left-color: var(--%NS%mat-sidenav-container-divider-color, transparent);
|
|
1538
|
+
border-left-width: 1px;
|
|
1539
|
+
border-left-style: solid;
|
|
1540
|
+
border-right: none;
|
|
1541
|
+
}
|
|
1542
|
+
[dir=rtl] .mat-drawer-side {
|
|
1543
|
+
border-left-color: var(--%NS%mat-sidenav-container-divider-color, transparent);
|
|
1544
|
+
border-left-width: 1px;
|
|
1545
|
+
border-left-style: solid;
|
|
1546
|
+
border-right: none;
|
|
1547
|
+
}
|
|
1548
|
+
[dir=rtl] .mat-drawer-side.mat-drawer-end {
|
|
1549
|
+
border-right-color: var(--%NS%mat-sidenav-container-divider-color, transparent);
|
|
1550
|
+
border-right-width: 1px;
|
|
1551
|
+
border-right-style: solid;
|
|
1552
|
+
border-left: none;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
.mat-drawer-inner-container {
|
|
1556
|
+
width: 100%;
|
|
1557
|
+
height: 100%;
|
|
1558
|
+
overflow: auto;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
.mat-sidenav-fixed {
|
|
1562
|
+
position: fixed;
|
|
1563
|
+
}
|
|
1564
|
+
`],encapsulation:2})})()}return i})();var lt=(()=>{class i extends nt{static ɵfac=(()=>{let t;return function(n){return(t||(t=Km(i)))(n||i)}})();static ɵcmp=(function(){return Te$1({type:i,selectors:[[`mat-sidenav-content`]],hostAttrs:[1,`mat-drawer-content`,`mat-sidenav-content`],features:[db([{provide:me$2,useExisting:i},{provide:nt,useExisting:i}]),Lr],ngContentSelectors:[`*`],decls:1,vars:0,template:function(n,a){n&1&&(Gn$1(),Ye$1(0))},encapsulation:2})})()}return i})();var Ct=(()=>{class i extends kt{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=_3(t)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=jd(t)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=jd(t)}_fixedBottomGap=0;static ɵfac=(()=>{let t;return function(n){return(t||(t=Km(i)))(n||i)}})();static ɵcmp=(function(){return Te$1({type:i,selectors:[[`mat-sidenav`]],hostAttrs:[1,`mat-drawer`,`mat-sidenav`],hostVars:16,hostBindings:function(n,a){n&2&&(Wn$1(`tabIndex`,a.mode!==`side`?`-1`:null)(`align`,null),Qg(`top`,a.fixedInViewport?a.fixedTopGap:null,`px`)(`bottom`,a.fixedInViewport?a.fixedBottomGap:null,`px`),ct$3(`mat-drawer-end`,a.position===`end`)(`mat-drawer-over`,a.mode===`over`)(`mat-drawer-push`,a.mode===`push`)(`mat-drawer-side`,a.mode===`side`)(`mat-sidenav-fixed`,a.fixedInViewport))},inputs:{fixedInViewport:`fixedInViewport`,fixedTopGap:`fixedTopGap`,fixedBottomGap:`fixedBottomGap`},exportAs:[`matSidenav`],features:[db([{provide:kt,useExisting:i}]),Lr],ngContentSelectors:[`*`],decls:3,vars:0,consts:[[`content`,``],[`cdkScrollable`,``,1,`mat-drawer-inner-container`]],template:function(n,a){n&1&&(Gn$1(),Ys(0,`div`,1,0),Ye$1(2),od())},dependencies:[me$2],encapsulation:2})})()}return i})();var Si=(()=>{class i extends St{_allDrawers=void 0;_content=void 0;static ɵfac=(()=>{let t;return function(n){return(t||(t=Km(i)))(n||i)}})();static ɵcmp=(function(){let t=[[[`mat-drawer`],[`mat-sidenav`]],[[`mat-drawer-content`],[`mat-sidenav-content`]],`*`],e=[`mat-drawer, mat-sidenav`,`mat-drawer-content, mat-sidenav-content`,`*`];function n(r,m){if(r&1){let o=Lw();Ys(0,`div`,1),Ug(`click`,function(){Ip(o);let p=jw();return wp(p._onBackdropClicked())}),od()}if(r&2){let o=jw();ct$3(`mat-drawer-shown`,o._isShowingBackdrop())}}function a(r,m){r&1&&(Ys(0,`mat-sidenav-content`),Ye$1(1,2),od())}return Te$1({type:i,selectors:[[`mat-sidenav-container`]],contentQueries:function(m,o,h){if(m&1&&Wg(h,lt,5)(h,Ct,5),m&2){let p;Hw(p=Uw())&&(o._content=p.first),Hw(p=Uw())&&(o._allDrawers=p)}},hostAttrs:[1,`mat-drawer-container`,`mat-sidenav-container`],hostVars:2,hostBindings:function(m,o){m&2&&ct$3(`mat-drawer-container-explicit-backdrop`,o._backdropOverride)},exportAs:[`matSidenavContainer`],features:[db([{provide:Nt,useExisting:i},{provide:St,useExisting:i}]),Lr],ngContentSelectors:e,decls:4,vars:2,consts:[[1,`mat-drawer-backdrop`,3,`mat-drawer-shown`],[1,`mat-drawer-backdrop`,3,`click`]],template:function(m,o){m&1&&(Gn$1(t),Yo(0,n,1,2,`div`,0),Ye$1(1),Ye$1(2,1),Yo(3,a,2,0,`mat-sidenav-content`)),m&2&&(Ko(o.hasBackdrop?0:-1),zo$1(3),Ko(o._content?-1:3))},dependencies:[lt],styles:[`.mat-drawer-container {
|
|
1565
|
+
position: relative;
|
|
1566
|
+
z-index: 1;
|
|
1567
|
+
color: var(--%NS%mat-sidenav-content-text-color, var(--%NS%mat-sys-on-background));
|
|
1568
|
+
background-color: var(--%NS%mat-sidenav-content-background-color, var(--%NS%mat-sys-background));
|
|
1569
|
+
box-sizing: border-box;
|
|
1570
|
+
display: block;
|
|
1571
|
+
overflow: hidden;
|
|
1572
|
+
}
|
|
1573
|
+
.mat-drawer-container[fullscreen] {
|
|
1574
|
+
top: 0;
|
|
1575
|
+
left: 0;
|
|
1576
|
+
right: 0;
|
|
1577
|
+
bottom: 0;
|
|
1578
|
+
position: absolute;
|
|
1579
|
+
}
|
|
1580
|
+
.mat-drawer-container[fullscreen].mat-drawer-container-has-open {
|
|
1581
|
+
overflow: hidden;
|
|
1582
|
+
}
|
|
1583
|
+
.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side {
|
|
1584
|
+
z-index: 3;
|
|
1585
|
+
}
|
|
1586
|
+
.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,
|
|
1587
|
+
.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,
|
|
1588
|
+
.ng-animate-disabled .mat-drawer-container .mat-drawer-content {
|
|
1589
|
+
transition: none;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
.mat-drawer-backdrop {
|
|
1593
|
+
top: 0;
|
|
1594
|
+
left: 0;
|
|
1595
|
+
right: 0;
|
|
1596
|
+
bottom: 0;
|
|
1597
|
+
position: absolute;
|
|
1598
|
+
display: block;
|
|
1599
|
+
z-index: 3;
|
|
1600
|
+
visibility: hidden;
|
|
1601
|
+
}
|
|
1602
|
+
.mat-drawer-backdrop.mat-drawer-shown {
|
|
1603
|
+
visibility: visible;
|
|
1604
|
+
background-color: var(--%NS%mat-sidenav-scrim-color, color-mix(in srgb, var(--%NS%mat-sys-neutral-variant20) 40%, transparent));
|
|
1605
|
+
}
|
|
1606
|
+
.mat-drawer-transition .mat-drawer-backdrop {
|
|
1607
|
+
transition-duration: 400ms;
|
|
1608
|
+
transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1609
|
+
transition-property: background-color, visibility;
|
|
1610
|
+
}
|
|
1611
|
+
@media (forced-colors: active) {
|
|
1612
|
+
.mat-drawer-backdrop {
|
|
1613
|
+
opacity: 0.5;
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
.mat-drawer-content {
|
|
1618
|
+
position: relative;
|
|
1619
|
+
z-index: 1;
|
|
1620
|
+
display: block;
|
|
1621
|
+
height: 100%;
|
|
1622
|
+
overflow: auto;
|
|
1623
|
+
}
|
|
1624
|
+
.mat-drawer-content.mat-drawer-content-hidden {
|
|
1625
|
+
opacity: 0;
|
|
1626
|
+
}
|
|
1627
|
+
.mat-drawer-transition .mat-drawer-content {
|
|
1628
|
+
transition-duration: 400ms;
|
|
1629
|
+
transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1630
|
+
transition-property: transform, margin-left, margin-right;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
.mat-drawer {
|
|
1634
|
+
position: relative;
|
|
1635
|
+
z-index: 4;
|
|
1636
|
+
color: var(--%NS%mat-sidenav-container-text-color, var(--%NS%mat-sys-on-surface-variant));
|
|
1637
|
+
box-shadow: var(--%NS%mat-sidenav-container-elevation-shadow, none);
|
|
1638
|
+
background-color: var(--%NS%mat-sidenav-container-background-color, var(--%NS%mat-sys-surface));
|
|
1639
|
+
border-top-right-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1640
|
+
border-bottom-right-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1641
|
+
width: var(--%NS%mat-sidenav-container-width, 360px);
|
|
1642
|
+
display: block;
|
|
1643
|
+
position: absolute;
|
|
1644
|
+
top: 0;
|
|
1645
|
+
bottom: 0;
|
|
1646
|
+
z-index: 3;
|
|
1647
|
+
outline: 0;
|
|
1648
|
+
box-sizing: border-box;
|
|
1649
|
+
overflow-y: auto;
|
|
1650
|
+
transform: translate3d(-100%, 0, 0);
|
|
1651
|
+
}
|
|
1652
|
+
@media (forced-colors: active) {
|
|
1653
|
+
.mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end {
|
|
1654
|
+
border-right: solid 1px currentColor;
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
@media (forced-colors: active) {
|
|
1658
|
+
[dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end {
|
|
1659
|
+
border-left: solid 1px currentColor;
|
|
1660
|
+
border-right: none;
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
.mat-drawer.mat-drawer-side {
|
|
1664
|
+
z-index: 2;
|
|
1665
|
+
}
|
|
1666
|
+
.mat-drawer.mat-drawer-end {
|
|
1667
|
+
right: 0;
|
|
1668
|
+
transform: translate3d(100%, 0, 0);
|
|
1669
|
+
border-top-left-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1670
|
+
border-bottom-left-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1671
|
+
border-top-right-radius: 0;
|
|
1672
|
+
border-bottom-right-radius: 0;
|
|
1673
|
+
}
|
|
1674
|
+
[dir=rtl] .mat-drawer {
|
|
1675
|
+
border-top-left-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1676
|
+
border-bottom-left-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1677
|
+
border-top-right-radius: 0;
|
|
1678
|
+
border-bottom-right-radius: 0;
|
|
1679
|
+
transform: translate3d(100%, 0, 0);
|
|
1680
|
+
}
|
|
1681
|
+
[dir=rtl] .mat-drawer.mat-drawer-end {
|
|
1682
|
+
border-top-right-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1683
|
+
border-bottom-right-radius: var(--%NS%mat-sidenav-container-shape, var(--%NS%mat-sys-corner-large));
|
|
1684
|
+
border-top-left-radius: 0;
|
|
1685
|
+
border-bottom-left-radius: 0;
|
|
1686
|
+
left: 0;
|
|
1687
|
+
right: auto;
|
|
1688
|
+
transform: translate3d(-100%, 0, 0);
|
|
1689
|
+
}
|
|
1690
|
+
.mat-drawer-transition .mat-drawer {
|
|
1691
|
+
transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1692
|
+
}
|
|
1693
|
+
.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) {
|
|
1694
|
+
visibility: hidden;
|
|
1695
|
+
box-shadow: none;
|
|
1696
|
+
}
|
|
1697
|
+
.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container {
|
|
1698
|
+
display: none;
|
|
1699
|
+
}
|
|
1700
|
+
.mat-drawer.mat-drawer-opened.mat-drawer-opened {
|
|
1701
|
+
transform: none;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
.mat-drawer-side {
|
|
1705
|
+
box-shadow: none;
|
|
1706
|
+
border-right-color: var(--%NS%mat-sidenav-container-divider-color, transparent);
|
|
1707
|
+
border-right-width: 1px;
|
|
1708
|
+
border-right-style: solid;
|
|
1709
|
+
}
|
|
1710
|
+
.mat-drawer-side.mat-drawer-end {
|
|
1711
|
+
border-left-color: var(--%NS%mat-sidenav-container-divider-color, transparent);
|
|
1712
|
+
border-left-width: 1px;
|
|
1713
|
+
border-left-style: solid;
|
|
1714
|
+
border-right: none;
|
|
1715
|
+
}
|
|
1716
|
+
[dir=rtl] .mat-drawer-side {
|
|
1717
|
+
border-left-color: var(--%NS%mat-sidenav-container-divider-color, transparent);
|
|
1718
|
+
border-left-width: 1px;
|
|
1719
|
+
border-left-style: solid;
|
|
1720
|
+
border-right: none;
|
|
1721
|
+
}
|
|
1722
|
+
[dir=rtl] .mat-drawer-side.mat-drawer-end {
|
|
1723
|
+
border-right-color: var(--%NS%mat-sidenav-container-divider-color, transparent);
|
|
1724
|
+
border-right-width: 1px;
|
|
1725
|
+
border-right-style: solid;
|
|
1726
|
+
border-left: none;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
.mat-drawer-inner-container {
|
|
1730
|
+
width: 100%;
|
|
1731
|
+
height: 100%;
|
|
1732
|
+
overflow: auto;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
.mat-sidenav-fixed {
|
|
1736
|
+
position: fixed;
|
|
1737
|
+
}
|
|
1738
|
+
`],encapsulation:2})})()}return i})();var Ni=(()=>{class i{static ɵfac=function(e){return new(e||i)};static ɵmod=fe$3({type:i});static ɵinj=ae$3({imports:[Ct$3,$r,Ct$3]})}return i})();var Ci=(()=>{class i{static ɵfac=function(e){return new(e||i)};static ɵmod=fe$3({type:i});static ɵinj=ae$3({imports:[$r]})}return i})();var Ri=new g(`ListOption`);var zt=(()=>{class i{_elementRef=m$1(oe$2);static ɵfac=function(e){return new(e||i)};static ɵdir=xe$2({type:i,selectors:[[``,`matListItemTitle`,``]],hostAttrs:[1,`mat-mdc-list-item-title`,`mdc-list-item__primary-text`]})}return i})();var Fi=(()=>{class i{_elementRef=m$1(oe$2);static ɵfac=function(e){return new(e||i)};static ɵdir=xe$2({type:i,selectors:[[``,`matListItemLine`,``]],hostAttrs:[1,`mat-mdc-list-item-line`,`mdc-list-item__secondary-text`]})}return i})();var Pi=(()=>{class i{static ɵfac=function(e){return new(e||i)};static ɵdir=xe$2({type:i,selectors:[[``,`matListItemMeta`,``]],hostAttrs:[1,`mat-mdc-list-item-meta`,`mdc-list-item__end`]})}return i})();var Mi=(()=>{class i{_listOption=m$1(Ri,{optional:!0});_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()===`after`}static ɵfac=function(e){return new(e||i)};static ɵdir=xe$2({type:i,hostVars:4,hostBindings:function(e,n){e&2&&ct$3(`mdc-list-item__start`,n._isAlignedAtStart())(`mdc-list-item__end`,!n._isAlignedAtStart())}})}return i})();var ji=(()=>{class i extends Mi{static ɵfac=(()=>{let t;return function(n){return(t||(t=Km(i)))(n||i)}})();static ɵdir=xe$2({type:i,selectors:[[``,`matListItemAvatar`,``]],hostAttrs:[1,`mat-mdc-list-item-avatar`],features:[Lr]})}return i})();var It=(()=>{class i extends Mi{static ɵfac=(()=>{let t;return function(n){return(t||(t=Km(i)))(n||i)}})();static ɵdir=xe$2({type:i,selectors:[[``,`matListItemIcon`,``]],hostAttrs:[1,`mat-mdc-list-item-icon`],features:[Lr]})}return i})();var Vi=new g(`MAT_LIST_CONFIG`);var Mt=(()=>{class i{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=_3(t)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(t){this._disabled.set(_3(t))}_disabled=ke$3(!1);_defaultOptions=m$1(Vi,{optional:!0});static ɵfac=function(e){return new(e||i)};static ɵdir=xe$2({type:i,hostVars:1,hostBindings:function(e,n){e&2&&Wn$1(`aria-disabled`,n.disabled)},inputs:{disableRipple:`disableRipple`,disabled:`disabled`}})}return i})();var Gi=(()=>{class i{_elementRef=m$1(oe$2);_ngZone=m$1(P$2);_listBase=m$1(Mt,{optional:!0});_platform=m$1(ge$3);_hostElement;_isButtonElement;_noopAnimations=qr();_avatars;_icons;set lines(t){this._explicitLines=jd(t,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(t){this._disableRipple=_3(t)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(t){this._disabled.set(_3(t))}_disabled=ke$3(!1);_subscriptions=new q$2;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){m$1(Nt$3).load(Gy);let t=m$1(Kd,{optional:!0});this.rippleConfig=t||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()===`button`,this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute(`type`)&&this._hostElement.setAttribute(`type`,`button`)}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add(`mat-mdc-list-item-interactive`),this._rippleRenderer=new pi$1(this,this._ngZone,this._hostElement,this._platform,m$1(Y$1)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Bv(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(t){if(!this._lines||!this._titles||!this._unscopedContent)return;t&&this._checkDomForUnscopedTextContent();let e=this._explicitLines??this._inferLinesFromContent(),n=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle(`mat-mdc-list-item-single-line`,e<=1),this._hostElement.classList.toggle(`mdc-list-item--with-one-line`,e<=1),this._hostElement.classList.toggle(`mdc-list-item--with-two-lines`,e===2),this._hostElement.classList.toggle(`mdc-list-item--with-three-lines`,e===3),this._hasUnscopedTextContent){let a=this._titles.length===0&&e===1;n.classList.toggle(`mdc-list-item__primary-text`,a),n.classList.toggle(`mdc-list-item__secondary-text`,!a)}else n.classList.remove(`mdc-list-item__primary-text`),n.classList.remove(`mdc-list-item__secondary-text`)}_inferLinesFromContent(){let t=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(t+=1),t}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(t=>t.nodeType!==t.COMMENT_NODE).some(t=>!!(t.textContent&&t.textContent.trim()))}static ɵfac=function(e){return new(e||i)};static ɵdir=xe$2({type:i,contentQueries:function(e,n,a){if(e&1&&Wg(a,ji,4)(a,It,4),e&2){let r;Hw(r=Uw())&&(n._avatars=r),Hw(r=Uw())&&(n._icons=r)}},hostVars:4,hostBindings:function(e,n){e&2&&(Wn$1(`aria-disabled`,n.disabled)(`disabled`,n._isButtonElement&&n.disabled||null),ct$3(`mdc-list-item--disabled`,n.disabled))},inputs:{lines:`lines`,disableRipple:`disableRipple`,disabled:`disabled`}})}return i})();var zi=(()=>{class i extends Gi{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(t){this._activated=_3(t)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName===`A`&&this._activated?`page`:null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static ɵfac=(()=>{let t;return function(n){return(t||(t=Km(i)))(n||i)}})();static ɵcmp=(function(){let t=[`unscopedContent`],e=[`text`],n=[[[``,`matListItemAvatar`,``],[``,`matListItemIcon`,``]],[[``,`matListItemTitle`,``]],[[``,`matListItemLine`,``]],`*`,[[``,`matListItemMeta`,``]],[[`mat-divider`]]];return Te$1({type:i,selectors:[[`mat-list-item`],[`a`,`mat-list-item`,``],[`button`,`mat-list-item`,``]],contentQueries:function(m,o,h){if(m&1&&Wg(h,Fi,5)(h,zt,5)(h,Pi,5),m&2){let p;Hw(p=Uw())&&(o._lines=p),Hw(p=Uw())&&(o._titles=p),Hw(p=Uw())&&(o._meta=p)}},viewQuery:function(m,o){if(m&1&&Gg(t,5)(e,5),m&2){let h;Hw(h=Uw())&&(o._unscopedContent=h.first),Hw(h=Uw())&&(o._itemText=h.first)}},hostAttrs:[1,`mat-mdc-list-item`,`mdc-list-item`],hostVars:13,hostBindings:function(m,o){m&2&&(Wn$1(`aria-current`,o._getAriaCurrent()),ct$3(`mdc-list-item--activated`,o.activated)(`mdc-list-item--with-leading-avatar`,o._avatars.length!==0)(`mdc-list-item--with-leading-icon`,o._icons.length!==0)(`mdc-list-item--with-trailing-meta`,o._meta.length!==0)(`mat-mdc-list-item-both-leading-and-trailing`,o._hasBothLeadingAndTrailing())(`_mat-animation-noopable`,o._noopAnimations))},inputs:{activated:`activated`},exportAs:[`matListItem`],features:[Lr],ngContentSelectors:[`[matListItemAvatar],[matListItemIcon]`,`[matListItemTitle]`,`[matListItemLine]`,`*`,`[matListItemMeta]`,`mat-divider`],decls:10,vars:0,consts:[[`unscopedContent`,``],[1,`mdc-list-item__content`],[1,`mat-mdc-list-item-unscoped-content`,3,`cdkObserveContent`],[1,`mat-focus-indicator`]],template:function(m,o){m&1&&(Gn$1(n),Ye$1(0),Ys(1,`span`,1),Ye$1(2,1),Ye$1(3,2),Ys(4,`span`,2,0),Ug(`cdkObserveContent`,function(){return o._updateItemLines(!0)}),Ye$1(6,3),od()(),Ye$1(7,4),Ye$1(8,5),jg(9,`div`,3))},dependencies:[X8],encapsulation:2})})()}return i})();var Ii=(()=>{class i extends Mt{_isNonInteractive=!1;static ɵfac=(()=>{let t;return function(n){return(t||(t=Km(i)))(n||i)}})();static ɵcmp=(function(){return Te$1({type:i,selectors:[[`mat-nav-list`]],hostAttrs:[`role`,`navigation`,1,`mat-mdc-nav-list`,`mat-mdc-list-base`,`mdc-list`],exportAs:[`matNavList`],features:[db([{provide:Mt,useExisting:i}]),Lr],ngContentSelectors:[`*`],decls:1,vars:0,template:function(n,a){n&1&&(Gn$1(),Ye$1(0))},styles:[`.mdc-list {
|
|
1739
|
+
margin: 0;
|
|
1740
|
+
padding: 8px 0;
|
|
1741
|
+
list-style-type: none;
|
|
1742
|
+
}
|
|
1743
|
+
.mdc-list:focus {
|
|
1744
|
+
outline: none;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
.mdc-list-item {
|
|
1748
|
+
display: flex;
|
|
1749
|
+
position: relative;
|
|
1750
|
+
justify-content: flex-start;
|
|
1751
|
+
overflow: hidden;
|
|
1752
|
+
padding: 0;
|
|
1753
|
+
align-items: stretch;
|
|
1754
|
+
cursor: pointer;
|
|
1755
|
+
padding-left: 16px;
|
|
1756
|
+
padding-right: 16px;
|
|
1757
|
+
background-color: var(--%NS%mat-list-list-item-container-color, transparent);
|
|
1758
|
+
border-radius: var(--%NS%mat-list-list-item-container-shape, var(--%NS%mat-sys-corner-none));
|
|
1759
|
+
}
|
|
1760
|
+
.mdc-list-item.mdc-list-item--selected {
|
|
1761
|
+
background-color: var(--%NS%mat-list-list-item-selected-container-color);
|
|
1762
|
+
}
|
|
1763
|
+
.mdc-list-item:focus {
|
|
1764
|
+
outline: 0;
|
|
1765
|
+
}
|
|
1766
|
+
.mdc-list-item.mdc-list-item--disabled {
|
|
1767
|
+
cursor: auto;
|
|
1768
|
+
}
|
|
1769
|
+
.mdc-list-item.mdc-list-item--with-one-line {
|
|
1770
|
+
height: var(--%NS%mat-list-list-item-one-line-container-height, 48px);
|
|
1771
|
+
}
|
|
1772
|
+
.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start {
|
|
1773
|
+
align-self: center;
|
|
1774
|
+
margin-top: 0;
|
|
1775
|
+
}
|
|
1776
|
+
.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end {
|
|
1777
|
+
align-self: center;
|
|
1778
|
+
margin-top: 0;
|
|
1779
|
+
}
|
|
1780
|
+
.mdc-list-item.mdc-list-item--with-two-lines {
|
|
1781
|
+
height: var(--%NS%mat-list-list-item-two-line-container-height, 64px);
|
|
1782
|
+
}
|
|
1783
|
+
.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start {
|
|
1784
|
+
align-self: flex-start;
|
|
1785
|
+
margin-top: 16px;
|
|
1786
|
+
}
|
|
1787
|
+
.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end {
|
|
1788
|
+
align-self: center;
|
|
1789
|
+
margin-top: 0;
|
|
1790
|
+
}
|
|
1791
|
+
.mdc-list-item.mdc-list-item--with-three-lines {
|
|
1792
|
+
height: var(--%NS%mat-list-list-item-three-line-container-height, 88px);
|
|
1793
|
+
}
|
|
1794
|
+
.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start {
|
|
1795
|
+
align-self: flex-start;
|
|
1796
|
+
margin-top: 16px;
|
|
1797
|
+
}
|
|
1798
|
+
.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end {
|
|
1799
|
+
align-self: flex-start;
|
|
1800
|
+
margin-top: 16px;
|
|
1801
|
+
}
|
|
1802
|
+
.mdc-list-item.mdc-list-item--%NS%selected::before, .mdc-list-item.mdc-list-item--%NS%selected:focus::before, .mdc-list-item:not(.mdc-list-item--selected):focus::before {
|
|
1803
|
+
position: absolute;
|
|
1804
|
+
box-sizing: border-box;
|
|
1805
|
+
width: 100%;
|
|
1806
|
+
height: 100%;
|
|
1807
|
+
top: 0;
|
|
1808
|
+
left: 0;
|
|
1809
|
+
content: "";
|
|
1810
|
+
pointer-events: none;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
a.mdc-list-item {
|
|
1814
|
+
color: inherit;
|
|
1815
|
+
text-decoration: none;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
.mdc-list-item__start {
|
|
1819
|
+
fill: currentColor;
|
|
1820
|
+
flex-shrink: 0;
|
|
1821
|
+
pointer-events: none;
|
|
1822
|
+
}
|
|
1823
|
+
.mdc-list-item--with-leading-icon .mdc-list-item__start {
|
|
1824
|
+
color: var(--%NS%mat-list-list-item-leading-icon-color, var(--%NS%mat-sys-on-surface-variant));
|
|
1825
|
+
width: var(--%NS%mat-list-list-item-leading-icon-size, 24px);
|
|
1826
|
+
height: var(--%NS%mat-list-list-item-leading-icon-size, 24px);
|
|
1827
|
+
margin-left: 16px;
|
|
1828
|
+
margin-right: 32px;
|
|
1829
|
+
}
|
|
1830
|
+
[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start {
|
|
1831
|
+
margin-left: 32px;
|
|
1832
|
+
margin-right: 16px;
|
|
1833
|
+
}
|
|
1834
|
+
.mdc-list-item--%NS%with-leading-icon:hover .mdc-list-item__start {
|
|
1835
|
+
color: var(--%NS%mat-list-list-item-hover-leading-icon-color);
|
|
1836
|
+
}
|
|
1837
|
+
.mdc-list-item--with-leading-avatar .mdc-list-item__start {
|
|
1838
|
+
width: var(--%NS%mat-list-list-item-leading-avatar-size, 40px);
|
|
1839
|
+
height: var(--%NS%mat-list-list-item-leading-avatar-size, 40px);
|
|
1840
|
+
margin-left: 16px;
|
|
1841
|
+
margin-right: 16px;
|
|
1842
|
+
border-radius: 50%;
|
|
1843
|
+
}
|
|
1844
|
+
.mdc-list-item--with-leading-avatar .mdc-list-item__start, [dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start {
|
|
1845
|
+
margin-left: 16px;
|
|
1846
|
+
margin-right: 16px;
|
|
1847
|
+
border-radius: 50%;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
.mdc-list-item__end {
|
|
1851
|
+
flex-shrink: 0;
|
|
1852
|
+
pointer-events: none;
|
|
1853
|
+
}
|
|
1854
|
+
.mdc-list-item--with-trailing-meta .mdc-list-item__end {
|
|
1855
|
+
font-family: var(--%NS%mat-list-list-item-trailing-supporting-text-font, var(--%NS%mat-sys-label-small-font));
|
|
1856
|
+
line-height: var(--%NS%mat-list-list-item-trailing-supporting-text-line-height, var(--%NS%mat-sys-label-small-line-height));
|
|
1857
|
+
font-size: var(--%NS%mat-list-list-item-trailing-supporting-text-size, var(--%NS%mat-sys-label-small-size));
|
|
1858
|
+
font-weight: var(--%NS%mat-list-list-item-trailing-supporting-text-weight, var(--%NS%mat-sys-label-small-weight));
|
|
1859
|
+
letter-spacing: var(--%NS%mat-list-list-item-trailing-supporting-text-tracking, var(--%NS%mat-sys-label-small-tracking));
|
|
1860
|
+
}
|
|
1861
|
+
.mdc-list-item--with-trailing-icon .mdc-list-item__end {
|
|
1862
|
+
color: var(--%NS%mat-list-list-item-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant));
|
|
1863
|
+
width: var(--%NS%mat-list-list-item-trailing-icon-size, 24px);
|
|
1864
|
+
height: var(--%NS%mat-list-list-item-trailing-icon-size, 24px);
|
|
1865
|
+
}
|
|
1866
|
+
.mdc-list-item--%NS%with-trailing-icon:hover .mdc-list-item__end {
|
|
1867
|
+
color: var(--%NS%mat-list-list-item-hover-trailing-icon-color);
|
|
1868
|
+
}
|
|
1869
|
+
.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end {
|
|
1870
|
+
color: var(--%NS%mat-list-list-item-trailing-supporting-text-color, var(--%NS%mat-sys-on-surface-variant));
|
|
1871
|
+
}
|
|
1872
|
+
.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end {
|
|
1873
|
+
color: var(--%NS%mat-list-list-item-selected-trailing-icon-color, var(--%NS%mat-sys-primary));
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
.mdc-list-item__content {
|
|
1877
|
+
text-overflow: ellipsis;
|
|
1878
|
+
white-space: nowrap;
|
|
1879
|
+
overflow: hidden;
|
|
1880
|
+
align-self: center;
|
|
1881
|
+
flex: 1;
|
|
1882
|
+
pointer-events: none;
|
|
1883
|
+
}
|
|
1884
|
+
.mdc-list-item--with-two-lines .mdc-list-item__content, .mdc-list-item--with-three-lines .mdc-list-item__content {
|
|
1885
|
+
align-self: stretch;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
.mdc-list-item__primary-text {
|
|
1889
|
+
text-overflow: ellipsis;
|
|
1890
|
+
white-space: nowrap;
|
|
1891
|
+
overflow: hidden;
|
|
1892
|
+
color: var(--%NS%mat-list-list-item-label-text-color, var(--%NS%mat-sys-on-surface));
|
|
1893
|
+
font-family: var(--%NS%mat-list-list-item-label-text-font, var(--%NS%mat-sys-body-large-font));
|
|
1894
|
+
line-height: var(--%NS%mat-list-list-item-label-text-line-height, var(--%NS%mat-sys-body-large-line-height));
|
|
1895
|
+
font-size: var(--%NS%mat-list-list-item-label-text-size, var(--%NS%mat-sys-body-large-size));
|
|
1896
|
+
font-weight: var(--%NS%mat-list-list-item-label-text-weight, var(--%NS%mat-sys-body-large-weight));
|
|
1897
|
+
letter-spacing: var(--%NS%mat-list-list-item-label-text-tracking, var(--%NS%mat-sys-body-large-tracking));
|
|
1898
|
+
}
|
|
1899
|
+
.mdc-list-item:hover .mdc-list-item__primary-text {
|
|
1900
|
+
color: var(--%NS%mat-list-list-item-hover-label-text-color, var(--%NS%mat-sys-on-surface));
|
|
1901
|
+
}
|
|
1902
|
+
.mdc-list-item:focus .mdc-list-item__primary-text {
|
|
1903
|
+
color: var(--%NS%mat-list-list-item-focus-label-text-color, var(--%NS%mat-sys-on-surface));
|
|
1904
|
+
}
|
|
1905
|
+
.mdc-list-item--with-two-lines .mdc-list-item__primary-text, .mdc-list-item--with-three-lines .mdc-list-item__primary-text {
|
|
1906
|
+
display: block;
|
|
1907
|
+
margin-top: 0;
|
|
1908
|
+
line-height: normal;
|
|
1909
|
+
margin-bottom: -20px;
|
|
1910
|
+
}
|
|
1911
|
+
.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::before {
|
|
1912
|
+
display: inline-block;
|
|
1913
|
+
width: 0;
|
|
1914
|
+
height: 28px;
|
|
1915
|
+
content: "";
|
|
1916
|
+
vertical-align: 0;
|
|
1917
|
+
}
|
|
1918
|
+
.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::after {
|
|
1919
|
+
display: inline-block;
|
|
1920
|
+
width: 0;
|
|
1921
|
+
height: 20px;
|
|
1922
|
+
content: "";
|
|
1923
|
+
vertical-align: -20px;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
.mdc-list-item__secondary-text {
|
|
1927
|
+
text-overflow: ellipsis;
|
|
1928
|
+
white-space: nowrap;
|
|
1929
|
+
overflow: hidden;
|
|
1930
|
+
display: block;
|
|
1931
|
+
margin-top: 0;
|
|
1932
|
+
color: var(--%NS%mat-list-list-item-supporting-text-color, var(--%NS%mat-sys-on-surface-variant));
|
|
1933
|
+
font-family: var(--%NS%mat-list-list-item-supporting-text-font, var(--%NS%mat-sys-body-medium-font));
|
|
1934
|
+
line-height: var(--%NS%mat-list-list-item-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height));
|
|
1935
|
+
font-size: var(--%NS%mat-list-list-item-supporting-text-size, var(--%NS%mat-sys-body-medium-size));
|
|
1936
|
+
font-weight: var(--%NS%mat-list-list-item-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight));
|
|
1937
|
+
letter-spacing: var(--%NS%mat-list-list-item-supporting-text-tracking, var(--%NS%mat-sys-body-medium-tracking));
|
|
1938
|
+
}
|
|
1939
|
+
.mdc-list-item__secondary-text::before {
|
|
1940
|
+
display: inline-block;
|
|
1941
|
+
width: 0;
|
|
1942
|
+
height: 20px;
|
|
1943
|
+
content: "";
|
|
1944
|
+
vertical-align: 0;
|
|
1945
|
+
}
|
|
1946
|
+
.mdc-list-item--with-three-lines .mdc-list-item__secondary-text {
|
|
1947
|
+
white-space: normal;
|
|
1948
|
+
line-height: 20px;
|
|
1949
|
+
}
|
|
1950
|
+
.mdc-list-item--with-overline .mdc-list-item__secondary-text {
|
|
1951
|
+
white-space: nowrap;
|
|
1952
|
+
line-height: auto;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
.mdc-list-item--with-leading-radio.mdc-list-item,
|
|
1956
|
+
.mdc-list-item--with-leading-checkbox.mdc-list-item,
|
|
1957
|
+
.mdc-list-item--with-leading-icon.mdc-list-item,
|
|
1958
|
+
.mdc-list-item--with-leading-avatar.mdc-list-item {
|
|
1959
|
+
padding-left: 0;
|
|
1960
|
+
padding-right: 16px;
|
|
1961
|
+
}
|
|
1962
|
+
[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,
|
|
1963
|
+
[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,
|
|
1964
|
+
[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,
|
|
1965
|
+
[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item {
|
|
1966
|
+
padding-left: 16px;
|
|
1967
|
+
padding-right: 0;
|
|
1968
|
+
}
|
|
1969
|
+
.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
|
|
1970
|
+
.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
|
|
1971
|
+
.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
|
|
1972
|
+
.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text {
|
|
1973
|
+
display: block;
|
|
1974
|
+
margin-top: 0;
|
|
1975
|
+
line-height: normal;
|
|
1976
|
+
margin-bottom: -20px;
|
|
1977
|
+
}
|
|
1978
|
+
.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
|
|
1979
|
+
.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
|
|
1980
|
+
.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
|
|
1981
|
+
.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before {
|
|
1982
|
+
display: inline-block;
|
|
1983
|
+
width: 0;
|
|
1984
|
+
height: 32px;
|
|
1985
|
+
content: "";
|
|
1986
|
+
vertical-align: 0;
|
|
1987
|
+
}
|
|
1988
|
+
.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
|
|
1989
|
+
.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
|
|
1990
|
+
.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
|
|
1991
|
+
.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after {
|
|
1992
|
+
display: inline-block;
|
|
1993
|
+
width: 0;
|
|
1994
|
+
height: 20px;
|
|
1995
|
+
content: "";
|
|
1996
|
+
vertical-align: -20px;
|
|
1997
|
+
}
|
|
1998
|
+
.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
|
|
1999
|
+
.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
|
|
2000
|
+
.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
|
|
2001
|
+
.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end {
|
|
2002
|
+
display: block;
|
|
2003
|
+
margin-top: 0;
|
|
2004
|
+
line-height: normal;
|
|
2005
|
+
}
|
|
2006
|
+
.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
|
|
2007
|
+
.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
|
|
2008
|
+
.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
|
|
2009
|
+
.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before {
|
|
2010
|
+
display: inline-block;
|
|
2011
|
+
width: 0;
|
|
2012
|
+
height: 32px;
|
|
2013
|
+
content: "";
|
|
2014
|
+
vertical-align: 0;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
.mdc-list-item--with-trailing-icon.mdc-list-item, [dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item {
|
|
2018
|
+
padding-left: 0;
|
|
2019
|
+
padding-right: 0;
|
|
2020
|
+
}
|
|
2021
|
+
.mdc-list-item--with-trailing-icon .mdc-list-item__end {
|
|
2022
|
+
margin-left: 16px;
|
|
2023
|
+
margin-right: 16px;
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
.mdc-list-item--with-trailing-meta.mdc-list-item {
|
|
2027
|
+
padding-left: 16px;
|
|
2028
|
+
padding-right: 0;
|
|
2029
|
+
}
|
|
2030
|
+
[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item {
|
|
2031
|
+
padding-left: 0;
|
|
2032
|
+
padding-right: 16px;
|
|
2033
|
+
}
|
|
2034
|
+
.mdc-list-item--with-trailing-meta .mdc-list-item__end {
|
|
2035
|
+
-webkit-user-select: none;
|
|
2036
|
+
user-select: none;
|
|
2037
|
+
margin-left: 28px;
|
|
2038
|
+
margin-right: 16px;
|
|
2039
|
+
}
|
|
2040
|
+
[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end {
|
|
2041
|
+
margin-left: 16px;
|
|
2042
|
+
margin-right: 28px;
|
|
2043
|
+
}
|
|
2044
|
+
.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end {
|
|
2045
|
+
display: block;
|
|
2046
|
+
line-height: normal;
|
|
2047
|
+
align-self: flex-start;
|
|
2048
|
+
margin-top: 0;
|
|
2049
|
+
}
|
|
2050
|
+
.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before {
|
|
2051
|
+
display: inline-block;
|
|
2052
|
+
width: 0;
|
|
2053
|
+
height: 28px;
|
|
2054
|
+
content: "";
|
|
2055
|
+
vertical-align: 0;
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
.mdc-list-item--with-leading-radio .mdc-list-item__start,
|
|
2059
|
+
.mdc-list-item--with-leading-checkbox .mdc-list-item__start {
|
|
2060
|
+
margin-left: 8px;
|
|
2061
|
+
margin-right: 24px;
|
|
2062
|
+
}
|
|
2063
|
+
[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,
|
|
2064
|
+
[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start {
|
|
2065
|
+
margin-left: 24px;
|
|
2066
|
+
margin-right: 8px;
|
|
2067
|
+
}
|
|
2068
|
+
.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,
|
|
2069
|
+
.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start {
|
|
2070
|
+
align-self: flex-start;
|
|
2071
|
+
margin-top: 8px;
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
.mdc-list-item--with-trailing-radio.mdc-list-item,
|
|
2075
|
+
.mdc-list-item--with-trailing-checkbox.mdc-list-item {
|
|
2076
|
+
padding-left: 16px;
|
|
2077
|
+
padding-right: 0;
|
|
2078
|
+
}
|
|
2079
|
+
[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,
|
|
2080
|
+
[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item {
|
|
2081
|
+
padding-left: 0;
|
|
2082
|
+
padding-right: 16px;
|
|
2083
|
+
}
|
|
2084
|
+
.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,
|
|
2085
|
+
.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,
|
|
2086
|
+
.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar {
|
|
2087
|
+
padding-left: 0;
|
|
2088
|
+
}
|
|
2089
|
+
[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, [dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,
|
|
2090
|
+
[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,
|
|
2091
|
+
[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar {
|
|
2092
|
+
padding-right: 0;
|
|
2093
|
+
}
|
|
2094
|
+
.mdc-list-item--with-trailing-radio .mdc-list-item__end,
|
|
2095
|
+
.mdc-list-item--with-trailing-checkbox .mdc-list-item__end {
|
|
2096
|
+
margin-left: 24px;
|
|
2097
|
+
margin-right: 8px;
|
|
2098
|
+
}
|
|
2099
|
+
[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,
|
|
2100
|
+
[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end {
|
|
2101
|
+
margin-left: 8px;
|
|
2102
|
+
margin-right: 24px;
|
|
2103
|
+
}
|
|
2104
|
+
.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,
|
|
2105
|
+
.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end {
|
|
2106
|
+
align-self: flex-start;
|
|
2107
|
+
margin-top: 8px;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
.mdc-list-group__subheader {
|
|
2111
|
+
margin: 0.75rem 16px;
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
.mdc-list-item--disabled .mdc-list-item__start,
|
|
2115
|
+
.mdc-list-item--disabled .mdc-list-item__content,
|
|
2116
|
+
.mdc-list-item--disabled .mdc-list-item__end {
|
|
2117
|
+
opacity: 1;
|
|
2118
|
+
}
|
|
2119
|
+
.mdc-list-item--disabled .mdc-list-item__primary-text,
|
|
2120
|
+
.mdc-list-item--disabled .mdc-list-item__secondary-text {
|
|
2121
|
+
opacity: var(--%NS%mat-list-list-item-disabled-label-text-opacity, 0.3);
|
|
2122
|
+
}
|
|
2123
|
+
.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start {
|
|
2124
|
+
color: var(--%NS%mat-list-list-item-disabled-leading-icon-color, var(--%NS%mat-sys-on-surface));
|
|
2125
|
+
opacity: var(--%NS%mat-list-list-item-disabled-leading-icon-opacity, 0.38);
|
|
2126
|
+
}
|
|
2127
|
+
.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end {
|
|
2128
|
+
color: var(--%NS%mat-list-list-item-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface));
|
|
2129
|
+
opacity: var(--%NS%mat-list-list-item-disabled-trailing-icon-opacity, 0.38);
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing, [dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing {
|
|
2133
|
+
padding-left: 0;
|
|
2134
|
+
padding-right: 0;
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text {
|
|
2138
|
+
color: var(--%NS%mat-list-list-item-disabled-label-text-color, var(--%NS%mat-sys-on-surface));
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
.mdc-list-item:hover::before {
|
|
2142
|
+
background-color: var(--%NS%mat-list-list-item-hover-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
2143
|
+
opacity: var(--%NS%mat-list-list-item-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
.mdc-list-item.mdc-list-item--%NS%disabled::before {
|
|
2147
|
+
background-color: var(--%NS%mat-list-list-item-disabled-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
2148
|
+
opacity: var(--%NS%mat-list-list-item-disabled-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
.mdc-list-item:focus::before {
|
|
2152
|
+
background-color: var(--%NS%mat-list-list-item-focus-state-layer-color, var(--%NS%mat-sys-on-surface));
|
|
2153
|
+
opacity: var(--%NS%mat-list-list-item-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
.mdc-list-item--disabled .mdc-radio,
|
|
2157
|
+
.mdc-list-item--disabled .mdc-checkbox {
|
|
2158
|
+
opacity: var(--%NS%mat-list-list-item-disabled-label-text-opacity, 0.3);
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar {
|
|
2162
|
+
border-radius: var(--%NS%mat-list-list-item-leading-avatar-shape, var(--%NS%mat-sys-corner-full));
|
|
2163
|
+
background-color: var(--%NS%mat-list-list-item-leading-avatar-color, var(--%NS%mat-sys-primary-container));
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
.mat-mdc-list-item-icon {
|
|
2167
|
+
font-size: var(--%NS%mat-list-list-item-leading-icon-size, 24px);
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
@media (forced-colors: active) {
|
|
2171
|
+
a.mdc-list-item--%NS%activated::after {
|
|
2172
|
+
content: "";
|
|
2173
|
+
position: absolute;
|
|
2174
|
+
top: 50%;
|
|
2175
|
+
right: 16px;
|
|
2176
|
+
transform: translateY(-50%);
|
|
2177
|
+
width: 10px;
|
|
2178
|
+
height: 0;
|
|
2179
|
+
border-bottom: solid 10px;
|
|
2180
|
+
border-radius: 10px;
|
|
2181
|
+
}
|
|
2182
|
+
a.mdc-list-item--activated [dir=rtl]::after {
|
|
2183
|
+
right: auto;
|
|
2184
|
+
left: 16px;
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
.mat-mdc-list-base {
|
|
2189
|
+
display: block;
|
|
2190
|
+
}
|
|
2191
|
+
.mat-mdc-list-base .mdc-list-item__start,
|
|
2192
|
+
.mat-mdc-list-base .mdc-list-item__end,
|
|
2193
|
+
.mat-mdc-list-base .mdc-list-item__content {
|
|
2194
|
+
pointer-events: auto;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
.mat-mdc-list-item,
|
|
2198
|
+
.mat-mdc-list-option {
|
|
2199
|
+
width: 100%;
|
|
2200
|
+
box-sizing: border-box;
|
|
2201
|
+
-webkit-tap-highlight-color: transparent;
|
|
2202
|
+
}
|
|
2203
|
+
.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),
|
|
2204
|
+
.mat-mdc-list-option:not(.mat-mdc-list-item-interactive) {
|
|
2205
|
+
cursor: default;
|
|
2206
|
+
}
|
|
2207
|
+
.mat-mdc-list-item .mat-divider-inset,
|
|
2208
|
+
.mat-mdc-list-option .mat-divider-inset {
|
|
2209
|
+
position: absolute;
|
|
2210
|
+
left: 0;
|
|
2211
|
+
right: 0;
|
|
2212
|
+
bottom: 0;
|
|
2213
|
+
}
|
|
2214
|
+
.mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset,
|
|
2215
|
+
.mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset {
|
|
2216
|
+
margin-left: 72px;
|
|
2217
|
+
}
|
|
2218
|
+
[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset,
|
|
2219
|
+
[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset {
|
|
2220
|
+
margin-right: 72px;
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
.mat-mdc-list-item-interactive::before {
|
|
2224
|
+
top: 0;
|
|
2225
|
+
left: 0;
|
|
2226
|
+
right: 0;
|
|
2227
|
+
bottom: 0;
|
|
2228
|
+
position: absolute;
|
|
2229
|
+
content: "";
|
|
2230
|
+
opacity: 0;
|
|
2231
|
+
pointer-events: none;
|
|
2232
|
+
border-radius: inherit;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
.mat-mdc-list-item > .mat-focus-indicator {
|
|
2236
|
+
top: 0;
|
|
2237
|
+
left: 0;
|
|
2238
|
+
right: 0;
|
|
2239
|
+
bottom: 0;
|
|
2240
|
+
position: absolute;
|
|
2241
|
+
pointer-events: none;
|
|
2242
|
+
}
|
|
2243
|
+
.mat-mdc-list-item:focus-visible > .mat-focus-indicator::before {
|
|
2244
|
+
content: "";
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text {
|
|
2248
|
+
white-space: nowrap;
|
|
2249
|
+
line-height: normal;
|
|
2250
|
+
}
|
|
2251
|
+
.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text {
|
|
2252
|
+
display: -webkit-box;
|
|
2253
|
+
-webkit-box-orient: vertical;
|
|
2254
|
+
-webkit-line-clamp: 2;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
mat-action-list button {
|
|
2258
|
+
background: none;
|
|
2259
|
+
color: inherit;
|
|
2260
|
+
border: none;
|
|
2261
|
+
font: inherit;
|
|
2262
|
+
outline: inherit;
|
|
2263
|
+
-webkit-tap-highlight-color: transparent;
|
|
2264
|
+
text-align: start;
|
|
2265
|
+
}
|
|
2266
|
+
mat-action-list button::-moz-focus-inner {
|
|
2267
|
+
border: 0;
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
.mdc-list-item--with-leading-icon .mdc-list-item__start {
|
|
2271
|
+
margin-inline-start: var(--%NS%mat-list-list-item-leading-icon-start-space, 16px);
|
|
2272
|
+
margin-inline-end: var(--%NS%mat-list-list-item-leading-icon-end-space, 16px);
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
.mat-mdc-nav-list .mat-mdc-list-item {
|
|
2276
|
+
border-radius: var(--%NS%mat-list-active-indicator-shape, var(--%NS%mat-sys-corner-full));
|
|
2277
|
+
--%NS%mat-focus-indicator-border-radius: var(--%NS%mat-list-active-indicator-shape, var(--%NS%mat-sys-corner-full));
|
|
2278
|
+
}
|
|
2279
|
+
.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated {
|
|
2280
|
+
background-color: var(--%NS%mat-list-active-indicator-color, var(--%NS%mat-sys-secondary-container));
|
|
2281
|
+
}
|
|
2282
|
+
`],encapsulation:2})})()}return i})();var Di=(()=>{class i{static ɵfac=function(e){return new(e||i)};static ɵmod=fe$3({type:i});static ɵinj=ae$3({imports:[wy,Zy,jn,$r,Ci]})}return i})();var Hi=(()=>{class i{static ɵfac=function(e){return new(e||i)};static ɵdir=xe$2({type:i,selectors:[[`mat-toolbar-row`]],hostAttrs:[1,`mat-toolbar-row`],exportAs:[`matToolbarRow`]})}return i})();var Li=(()=>{class i{_elementRef=m$1(oe$2);_platform=m$1(ge$3);_document=m$1(O$2);color;_toolbarRows;ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static ɵfac=function(e){return new(e||i)};static ɵcmp=(function(){let t=[`*`,[[`mat-toolbar-row`]]];return Te$1({type:i,selectors:[[`mat-toolbar`]],contentQueries:function(a,r,m){if(a&1&&Wg(m,Hi,5),a&2){let o;Hw(o=Uw())&&(r._toolbarRows=o)}},hostAttrs:[1,`mat-toolbar`],hostVars:6,hostBindings:function(a,r){a&2&&(Qo(r.color?`mat-`+r.color:``),ct$3(`mat-toolbar-multiple-rows`,r._toolbarRows.length>0)(`mat-toolbar-single-row`,r._toolbarRows.length===0))},inputs:{color:`color`},exportAs:[`matToolbar`],ngContentSelectors:[`*`,`mat-toolbar-row`],decls:2,vars:0,template:function(a,r){a&1&&(Gn$1(t),Ye$1(0),Ye$1(1,1))},styles:[`.mat-toolbar {
|
|
2283
|
+
background: var(--%NS%mat-toolbar-container-background-color, var(--%NS%mat-sys-surface));
|
|
2284
|
+
color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface));
|
|
2285
|
+
}
|
|
2286
|
+
.mat-toolbar, .mat-toolbar h1, .mat-toolbar h2, .mat-toolbar h3, .mat-toolbar h4, .mat-toolbar h5, .mat-toolbar h6 {
|
|
2287
|
+
font-family: var(--%NS%mat-toolbar-title-text-font, var(--%NS%mat-sys-title-large-font));
|
|
2288
|
+
font-size: var(--%NS%mat-toolbar-title-text-size, var(--%NS%mat-sys-title-large-size));
|
|
2289
|
+
line-height: var(--%NS%mat-toolbar-title-text-line-height, var(--%NS%mat-sys-title-large-line-height));
|
|
2290
|
+
font-weight: var(--%NS%mat-toolbar-title-text-weight, var(--%NS%mat-sys-title-large-weight));
|
|
2291
|
+
letter-spacing: var(--%NS%mat-toolbar-title-text-tracking, var(--%NS%mat-sys-title-large-tracking));
|
|
2292
|
+
margin: 0;
|
|
2293
|
+
}
|
|
2294
|
+
@media (forced-colors: active) {
|
|
2295
|
+
.mat-toolbar {
|
|
2296
|
+
outline: solid 1px;
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
.mat-toolbar .mat-form-field-underline,
|
|
2300
|
+
.mat-toolbar .mat-form-field-ripple,
|
|
2301
|
+
.mat-toolbar .mat-focused .mat-form-field-ripple {
|
|
2302
|
+
background-color: currentColor;
|
|
2303
|
+
}
|
|
2304
|
+
.mat-toolbar .mat-form-field-label,
|
|
2305
|
+
.mat-toolbar .mat-focused .mat-form-field-label,
|
|
2306
|
+
.mat-toolbar .mat-select-value,
|
|
2307
|
+
.mat-toolbar .mat-select-arrow,
|
|
2308
|
+
.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow {
|
|
2309
|
+
color: inherit;
|
|
2310
|
+
}
|
|
2311
|
+
.mat-toolbar .mat-input-element {
|
|
2312
|
+
caret-color: currentColor;
|
|
2313
|
+
}
|
|
2314
|
+
.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed {
|
|
2315
|
+
--%NS%mat-button-text-label-text-color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface));
|
|
2316
|
+
--%NS%mat-button-outlined-label-text-color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface));
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
.mat-toolbar-row, .mat-toolbar-single-row {
|
|
2320
|
+
display: flex;
|
|
2321
|
+
box-sizing: border-box;
|
|
2322
|
+
padding: 0 16px;
|
|
2323
|
+
width: 100%;
|
|
2324
|
+
flex-direction: row;
|
|
2325
|
+
align-items: center;
|
|
2326
|
+
white-space: nowrap;
|
|
2327
|
+
height: var(--%NS%mat-toolbar-standard-height, 64px);
|
|
2328
|
+
}
|
|
2329
|
+
@media (max-width: 599px) {
|
|
2330
|
+
.mat-toolbar-row, .mat-toolbar-single-row {
|
|
2331
|
+
height: var(--%NS%mat-toolbar-mobile-height, 56px);
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
.mat-toolbar-multiple-rows {
|
|
2336
|
+
display: flex;
|
|
2337
|
+
box-sizing: border-box;
|
|
2338
|
+
flex-direction: column;
|
|
2339
|
+
width: 100%;
|
|
2340
|
+
min-height: var(--%NS%mat-toolbar-standard-height, 64px);
|
|
2341
|
+
}
|
|
2342
|
+
@media (max-width: 599px) {
|
|
2343
|
+
.mat-toolbar-multiple-rows {
|
|
2344
|
+
min-height: var(--%NS%mat-toolbar-mobile-height, 56px);
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
`],encapsulation:2})})()}return i})();var Ai=(()=>{class i{static ɵfac=function(e){return new(e||i)};static ɵmod=fe$3({type:i});static ɵinj=ae$3({imports:[$r]})}return i})();var Ei=(()=>{class i{static ɵfac=function(e){return new(e||i)};static ɵmod=fe$3({type:i});static ɵinj=ae$3({imports:[BT,$r]})}return i})();var Wi=i=>({exact:i});var Zi=(i,g)=>g.path;function qi(i,g){if(i&1&&(Ys(0,`span`,14),dS(1),od()),i&2){let t=jw(2);zo$1(),rb(t.api.pendingCount())}}function Xi(i,g){if(i&1){let t=Lw();Ys(0,`a`,11),Ug(`click`,function(){Ip(t);let n=jw(),a=zw(2);return wp(n.mobile()&&a.close())}),Ys(1,`mat-icon`,12),dS(2),od(),Ys(3,`span`,13),dS(4),Yo(5,qi,2,1,`span`,14),od()()}if(i&2){let t=g.$implicit,e=jw();Lg(`routerLink`,t.path)(`routerLinkActiveOptions`,_S(5,Wi,t.path===``)),zo$1(2),rb(t.icon),zo$1(2),ad(``,t.label,` `),zo$1(),Ko(t.path===`pending`&&e.api.pendingCount()>0?5:-1)}}function Yi(i,g){if(i&1){let t=Lw();Ys(0,`button`,15),Ug(`click`,function(){Ip(t),jw();let n=zw(2);return wp(n.toggle())}),Ys(1,`mat-icon`),dS(2,`menu`),od()()}}function Ki(i,g){if(i&1&&(Ys(0,`a`,16)(1,`mat-icon`),dS(2,`code`),od(),dS(3,` My workspace`),od()),i&2){let t=jw();Lg(`href`,t.editor_url,wh)}}function $i(i,g){if(i&1&&(Ys(0,`a`,18)(1,`mat-icon`),dS(2,`key`),od(),dS(3,` Change password`),od()),i&2){let t=jw(2);Lg(`href`,t.base+`account/password`,wh)}}function Ji(i,g){if(i&1){let t=Lw();Yo(0,Ki,4,1,`a`,16),Ys(1,`button`,17)(2,`mat-icon`),dS(3,`account_circle`),od(),dS(4),od(),Ys(5,`mat-menu`,null,1),Yo(7,$i,4,1,`a`,18),Ys(8,`button`,19),Ug(`click`,function(){Ip(t);let n=jw();return wp(n.logout())}),Ys(9,`mat-icon`),dS(10,`logout`),od(),dS(11,` Logout`),od()()}if(i&2){let t=g,e=zw(6);Ko(t.has_workspace?0:-1),zo$1(),Lg(`matMenuTriggerFor`,e),zo$1(3),ad(` `,t.email),zo$1(3),Ko(t.has_password?7:-1)}}var dt=class i{api=m$1(Qy);base=JT();mobile=ke$3(!1);menu=[{path:``,label:`Dashboard`,icon:`dashboard`},{path:`users`,label:`Users`,icon:`group`},{path:`pending`,label:`Pending`,icon:`how_to_reg`},{path:`sessions`,label:`Sessions`,icon:`devices`},{path:`audit`,label:`Audit log`,icon:`history`},{path:`settings`,label:`Settings`,icon:`settings`}];logout(){this.api.logout().subscribe({next:g=>location.href=g.login_url,error:()=>location.href=this.base+`logout`})}constructor(){m$1(Hd).observe(`(max-width: 900px)`).subscribe(g=>this.mobile.set(g.matches)),this.api.loadMe().subscribe(),this.api.users(`pending`).subscribe()}static ɵfac=function(t){return new(t||i)};static ɵcmp=Te$1({type:i,selectors:[[`app-root`]],decls:18,vars:4,consts:[[`nav`,``],[`m`,`matMenu`],[1,`shell`],[1,`nav`,3,`mode`,`opened`],[1,`brand`],[1,`logo`],[1,`tag`],[`mat-list-item`,``,`routerLinkActive`,`active-link`,3,`routerLink`,`routerLinkActiveOptions`],[1,`top`],[`mat-icon-button`,``],[1,`spacer`],[`mat-list-item`,``,`routerLinkActive`,`active-link`,3,`click`,`routerLink`,`routerLinkActiveOptions`],[`matListItemIcon`,``],[`matListItemTitle`,``],[1,`count`],[`mat-icon-button`,``,3,`click`],[`mat-stroked-button`,``,`target`,`_blank`,3,`href`],[`mat-button`,``,3,`matMenuTriggerFor`],[`mat-menu-item`,``,3,`href`],[`mat-menu-item`,``,3,`click`]],template:function(t,e){if(t&1&&(Ys(0,`mat-sidenav-container`,2)(1,`mat-sidenav`,3,0)(3,`div`,4)(4,`span`,5),dS(5,`⟨/⟩`),od(),dS(6,` CodeGate `),Ys(7,`span`,6),dS(8,`admin`),od()(),Ys(9,`mat-nav-list`),Mw(10,Xi,6,7,`a`,7,Zi),od()(),Ys(12,`mat-sidenav-content`)(13,`mat-toolbar`,8),Yo(14,Yi,3,0,`button`,9),jg(15,`span`,10),Yo(16,Ji,12,4),od(),jg(17,`router-outlet`),od()()),t&2){let n;zo$1(),Lg(`mode`,e.mobile()?`over`:`side`)(`opened`,!e.mobile()),zo$1(9),Aw(e.menu),zo$1(4),Ko(e.mobile()?14:-1),zo$1(2),Ko((n=e.api.me())?16:-1,n)}},dependencies:[pr,Ut$1,jo,Ni,Ct,Si,lt,Di,Ii,zi,It,zt,s8,i8,cW,aW,QT,Ai,Li,Ei,Ot$1,P$1,G$1,At$2],styles:[`.shell[_ngcontent-%COMP%]{height:100vh}.nav[_ngcontent-%COMP%]{width:232px;border-right:1px solid #e5e9f2;background:#0f172a;color:#cbd5e1}.brand[_ngcontent-%COMP%]{padding:20px 20px 12px;font-weight:700;font-size:18px;color:#fff}.logo[_ngcontent-%COMP%]{color:#38bdf8}.tag[_ngcontent-%COMP%]{font-size:11px;font-weight:600;color:#94a3b8;margin-left:4px}.nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{--%NS%mat-list-list-item-label-text-color: #cbd5e1;--%NS%mat-list-list-item-leading-icon-color: #94a3b8;--%NS%mat-list-list-item-hover-label-text-color: #fff;margin:2px 8px;border-radius:8px;width:auto}.nav[_ngcontent-%COMP%] a.active-link[_ngcontent-%COMP%]{background:#1e293b;--%NS%mat-list-list-item-label-text-color: #fff;--%NS%mat-list-list-item-leading-icon-color: #38bdf8}.count[_ngcontent-%COMP%]{background:#f59e0b;color:#111;border-radius:999px;padding:0 7px;font-size:11px;font-weight:700;margin-left:6px}.top[_ngcontent-%COMP%]{background:#fff;border-bottom:1px solid #e5e9f2;position:sticky;top:0;z-index:5;gap:8px}`]})};kC(dt,ki).catch(i=>console.error(i));export{yi$2 as $,eC as $n,yC as $r,PT as $t,Ct$3 as A,Yo as An,oe$2 as Ar,J$2 as At,X$2 as B,ab as Bn,sb as Br,Lr as Bt,G$1 as C,Wn$1 as Cn,ma as Cr,Gv as Ct,At$3 as D,Xs as Dn,no$1 as Dr,Hw as Dt,Ai$2 as E,Xi$2 as En,nn$2 as Er,Hg as Et,Pt$1 as F,_3 as Fn,qg as Fr,Ko as Ft,kt$3 as G,bC as Gn,wS as Gr,Nt$3 as Gt,Zt$2 as H,ae$3 as Hn,tn$2 as Hr,MS as Ht,R$2 as I,_S as In,qr as Ir,Kt$3 as It,pe$2 as J,cW as Jn,wy as Jr,O$2 as Jt,lt$3 as K,bS as Kn,wb as Kr,Nv as Kt,Se$1 as L,_T as Ln,qv as Lr,Kz as Lt,Kt$2 as M,Zg as Mn,po$1 as Mr,Kd as Mt,L as N,Zy as Nn,q$2 as Nr,Ke$1 as Nt,Bi$1 as O,Y$1 as On,ob as Or,Ib as Ot,Oe$2 as P,_2 as Pn,qe$2 as Pr,Km as Pt,xe$1 as Q,db as Qn,xy as Qr,P$2 as Qt,St$3 as R,_s as Rn,rb as Rr,Lg as Rt,At$2 as S,Wg as Sn,m$1 as Sr,Gn$1 as St,P$1 as T,X8 as Tn,me$3 as Tr,He$2 as Tt,bt$2 as U,ao$1 as Un,tt$2 as Ur,Mr as Ut,Z$2 as V,ad as Vn,sd as Vr,Lw as Vt,it$2 as W,b2 as Wn,v2 as Wr,Mw as Wt,re as X,ct$3 as Xn,xe$2 as Xr,Ou as Xt,qt$1 as Y,cb as Yn,xS as Yr,Og as Yt,ue$2 as Z,dS as Zn,xw as Zr,Oy as Zt,x as _,Vg as _n,jv as _r,Ev as _t,Qt as a,Qe$2 as an,gC as ar,Ar as at,Ut$1 as b,Wd as bn,l3 as br,Fa as bt,Xt as c,Qy as cn,ge$3 as cr,BT as ct,ct as d,Rg as dn,ib as dr,Cb as dt,yI as ei,Pa as en,en$2 as er,z$1 as et,de as f,T$3 as fn,id as fr,DS as ft,se as g,Ve$1 as gn,jn$2 as gr,E2 as gt,on as h,Uw as hn,jg as hr,Dv as ht,In as i,zw as ii,QT as in,g as ir,$w as it,Dt$2 as j,Ys as jn,pn$1 as jr,Jt$3 as jt,Bt$1 as k,Ye$1 as kn,od as kr,Ip as kt,_ as l,R$3 as ln,hn$1 as lr,Bv as lt,nn as m,Ug as mn,jd as mr,Dc as mt,Fn as n,zd as ni,Pp as nn,fo$1 as nr,$g as nt,Rn as o,Qg as on,gI as or,Aw as ot,jn as p,Te$1 as pn,jT as pr,DT as pt,me$2 as q,bn$1 as qn,wp as qr,Nw as qt,He as r,zo$1 as ri,Pr as rn,fw as rr,$r as rt,Ut as s,Qo as sn,gT as sr,B as st,$t as t,zT as ti,Pg as tn,fe$3 as tr,$d as tt,an as u,Ra as un,i8 as ur,CS as ut,zt$1 as v,Vv as vn,jw as vr,F$1 as vt,Ot$1 as w,Wy as wn,mc as wr,Gy as wt,ue$1 as x,Wf as xn,lt$4 as xr,Gg as xt,pt as y,W$2 as yn,ke$3 as yr,F3 as yt,Vt$1 as z,aW as zn,s8 as zr,Lp as zt};
|