@sourceloop/search-element 6.0.1 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/search-element.js CHANGED
@@ -1,3 +1,3 @@
1
- (()=>{"use strict";var e,_={},h={};function n(e){var a=h[e];if(void 0!==a)return a.exports;var r=h[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var s=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],o=!0,t=0;t<r.length;t++)(!1&l||s>=l)&&Object.keys(n.O).every(i=>n.O[i](r[t]))?r.splice(t--,1):(o=!1,l<s&&(s=l));if(o){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,s,o]=l,v=0;if(f.some(d=>0!==e[d])){for(t in s)n.o(s,t)&&(n.m[t]=s[t]);if(o)var b=o(n)}for(u&&u(l);v<f.length;v++)n.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunksearch_element=self.webpackChunksearch_element||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
2
- "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[429],{560:(ie,Ee,de)=>{de(232)},232:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return M.__symbol__=a,M})();const P={name:"",onHasTask:(M,E,t,r)=>M.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;E<M.length;E++){const t=M[E];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",X="scheduling",j="scheduled",p="running",G="canceling",h="unknown",I="microTask",w="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe="undefined"!=typeof window,Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Be="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&void 0!==Y.process&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=void 0!==Y.process&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o<n.length;o++)qe(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)qe(e,o[c],i)}}const ne=A("originalInstance");function ve(e){const n=Y[e];if(!n)return;Y[A(e)]=n,Y[e]=function(){const c=Le(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ue(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:Ee(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),ue(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function le(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=de(o);!o&&e[n]&&(o=e);const c=A(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Fe(o&&ie(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},ue(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=le(e,n,a=>function(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch(e){}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch(u){}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T<b.length;)ee(l,b[T++],b[T++],b[T++],b[T++]);if(0==b.length&&u==G){l[q]=0;let T=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(D){T=D}P&&(T.throwOriginal=!0),T.rejection=s,T.promise=l,T.zone=n.current,T.task=n.currentTask,d.push(T),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(0===l[q]){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch(u){}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const b=l[q],T=b?"function"==typeof f?f:H:"function"==typeof g?g:J;u.scheduleMicroTask("Promise.then",()=>{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch(T){return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O<s.length;O++)s[O].then(S=>{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G<p.length&&(!_||!0!==_[Ke]);G++){const h=Z(p[G],x,_);h&&j.push(h)}}if(1===j.length)throw j[0];for(let p=0;p<j.length;p++){const G=j[p];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;T<b.length;T++)if(b[T]===s){b.splice(T,1),s.isRemoved=!0,0===b.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return w.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return w.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[A("UNPATCHED_EVENTS")],l=e[A("PASSIVE_EVENTS")],u=function(s,f,g,b,T=!1,D=!1){return function(){const O=this||e;let S=arguments[0];_&&_.transferEventName&&(S=_.transferEventName(S));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===S)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,O,arguments))return;const fe=ye&&!!l&&-1!==l.indexOf(S),se=U(arguments[2],fe);if($)for(let _e=0;_e<$.length;_e++)if(S===$[_e])return fe?s.call(O,S,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,gt=Zone.current;let Ge=te[S];Ge||(Je(S,G),Ge=te[S]);const rt=Ge[xe?ce:ae];let De,me=O[rt],ot=!1;if(me){if(ot=!0,X)for(let _e=0;_e<me.length;_e++)if(C(me[_e],V))return}else me=O[rt]=[];const st=O.constructor.name,it=Ye[st];it&&(De=it[S]),De||(De=st+f+(G?G(S):S)),h.options=se,nt&&(h.options.once=!1),h.target=O,h.capture=xe,h.eventName=S,h.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=h);const he=gt.scheduleEventTask(De,V,be,g,b);return h.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=O,he.capture=xe,he.eventName=S,F&&(he.originalDelegate=V),D?me.unshift(he):me.push(he),T?O:void 0}};return p[c]=u(I,v,t,r,j),z&&(p.prependListener=u(z,".prependListener:",function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),p[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],b=!!g&&("boolean"==typeof g||g.capture),T=arguments[1];if(!T)return w.apply(this,arguments);if(x&&!x(w,T,s,arguments))return;const D=te[f];let O;D&&(O=D[b?ce:ae]);const S=O&&s[O];if(S)for(let V=0;V<S.length;V++){const F=S[V];if(C(F,T))return S.splice(V,1),F.isRemoved=!0,0===S.length&&(F.allRemoved=!0,s[O]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),j?s:void 0}return w.apply(this,arguments)},p[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],b=Qe(s,G?G(f):f);for(let T=0;T<b.length;T++){const D=b[T];g.push(D.originalDelegate?D.originalDelegate:D.callback)}return g},p[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const D=s[g[ae]],O=s[g[ce]];if(D){const S=D.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(O){const S=O.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let b=0;b<g.length;b++){const D=$e.exec(g[b]);let O=D&&D[1];O&&"removeListener"!==O&&this[d].call(this,O)}this[d].call(this,"removeListener")}if(j)return this},ue(p[c],I),ue(p[a],w),oe&&ue(p[d],oe),Q&&ue(p[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=J(i[R],o);return q}function Qe(e,n){if(!n){const a=[];for(let y in e){const d=$e.exec(y);let P=d&&d[1];if(P&&(!n||P===n)){const v=e[y];if(v)for(let m=0;m<v.length;m++)a.push(v[m])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ae]],c=e[i[ce]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch(N){}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)le(e,i[o],(a,y,d)=>function(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P<i.length;P++){const v=i[P],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===J&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===w[a]&&(w[d]=!0)};return N.call(w,H,oe),w[i]||(w[i]=h),p.apply(w,I.args),w[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const K=le(L,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Fe(ie(e,c)))continue;e[c]=(d=>{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=560)}]);
3
- "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[179],{487:()=>{function re(n){return"function"==typeof n}function Bs(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Hs=Bs(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function ur(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class Be{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(re(i))try{i()}catch(o){t=o instanceof Hs?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{up(o)}catch(s){t=null!=t?t:[],s instanceof Hs?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Hs(t)}}add(t){var e;if(t&&t!==this)if(this.closed)up(t);else{if(t instanceof Be){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&ur(e,t)}remove(t){const{_finalizers:e}=this;e&&ur(e,t),t instanceof Be&&t._removeParent(this)}}Be.EMPTY=(()=>{const n=new Be;return n.closed=!0,n})();const lp=Be.EMPTY;function cp(n){return n instanceof Be||n&&"closed"in n&&re(n.remove)&&re(n.add)&&re(n.unsubscribe)}function up(n){re(n)?n():n.unsubscribe()}const Ti={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},js={setTimeout(n,t,...e){const{delegate:i}=js;return null!=i&&i.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=js;return((null==t?void 0:t.clearTimeout)||clearTimeout)(n)},delegate:void 0};function dp(n){js.setTimeout(()=>{const{onUnhandledError:t}=Ti;if(!t)throw n;t(n)})}function _c(){}const _x=yc("C",void 0,void 0);function yc(n,t,e){return{kind:n,value:t,error:e}}let Fi=null;function $s(n){if(Ti.useDeprecatedSynchronousErrorHandling){const t=!Fi;if(t&&(Fi={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Fi;if(Fi=null,e)throw i}}else n()}class vc extends Be{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,cp(t)&&t.add(this)):this.destination=Ex}static create(t,e,i){return new mo(t,e,i)}next(t){this.isStopped?wc(function vx(n){return yc("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?wc(function yx(n){return yc("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?wc(_x,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const wx=Function.prototype.bind;function bc(n,t){return wx.call(n,t)}class Cx{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Gs(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Gs(i)}else Gs(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Gs(e)}}}class mo extends vc{constructor(t,e,i){let r;if(super(),re(t)||!t)r={next:null!=t?t:void 0,error:null!=e?e:void 0,complete:null!=i?i:void 0};else{let o;this&&Ti.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&bc(t.next,o),error:t.error&&bc(t.error,o),complete:t.complete&&bc(t.complete,o)}):r=t}this.destination=new Cx(r)}}function Gs(n){Ti.useDeprecatedSynchronousErrorHandling?function bx(n){Ti.useDeprecatedSynchronousErrorHandling&&Fi&&(Fi.errorThrown=!0,Fi.error=n)}(n):dp(n)}function wc(n,t){const{onStoppedNotification:e}=Ti;e&&js.setTimeout(()=>e(n,t))}const Ex={closed:!0,next:_c,error:function Dx(n){throw n},complete:_c},Cc="function"==typeof Symbol&&Symbol.observable||"@@observable";function dr(n){return n}let De=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function Sx(n){return n&&n instanceof vc||function xx(n){return n&&re(n.next)&&re(n.error)&&re(n.complete)}(n)&&cp(n)}(e)?e:new mo(e,i,r);return $s(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=hp(i))((r,o)=>{const s=new mo({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Cc](){return this}pipe(...e){return function fp(n){return 0===n.length?dr:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=hp(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function hp(n){var t;return null!==(t=null!=n?n:Ti.Promise)&&void 0!==t?t:Promise}const Mx=Bs(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ce=(()=>{class n extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new pp(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Mx}next(e){$s(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){$s(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){$s(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?lp:(this.currentObservers=null,o.push(e),new Be(()=>{this.currentObservers=null,ur(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new De;return e.source=this,e}}return n.create=(t,e)=>new pp(t,e),n})();class pp extends ce{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:lp}}function tt(n){return t=>{if(function Ax(n){return re(null==n?void 0:n.lift)}(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Xe(n,t,e,i,r){return new Ix(n,t,e,i,r)}class Ix extends vc{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Je(n,t){return tt((e,i)=>{let r=0;e.subscribe(Xe(i,o=>{i.next(n.call(t,o,r++))}))})}function ci(n){return this instanceof ci?(this.v=n,this):new ci(n)}function _p(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(p,m){o.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof ci?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(i[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function yp(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Sc(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Mc=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function vp(n){return re(null==n?void 0:n.then)}function bp(n){return re(n[Cc])}function wp(n){return Symbol.asyncIterator&&re(null==n?void 0:n[Symbol.asyncIterator])}function Cp(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Dp=function Zx(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ep(n){return re(null==n?void 0:n[Dp])}function xp(n){return _p(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield ci(e.read());if(r)return yield ci(void 0);yield yield ci(i)}}finally{e.releaseLock()}})}function Sp(n){return re(null==n?void 0:n.getReader)}function xt(n){if(n instanceof De)return n;if(null!=n){if(bp(n))return function Xx(n){return new De(t=>{const e=n[Cc]();if(re(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Mc(n))return function Jx(n){return new De(t=>{for(let e=0;e<n.length&&!t.closed;e++)t.next(n[e]);t.complete()})}(n);if(vp(n))return function e0(n){return new De(t=>{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,dp)})}(n);if(wp(n))return Mp(n);if(Ep(n))return function t0(n){return new De(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(Sp(n))return function n0(n){return Mp(xp(n))}(n)}throw Cp(n)}function Mp(n){return new De(t=>{(function r0(n,t){var e,i,r,o;return function gp(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=yp(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Ln(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function _o(n,t,e=1/0){return re(t)?_o((i,r)=>Je((o,s)=>t(i,o,r,s))(xt(n(i,r))),e):("number"==typeof t&&(e=t),tt((i,r)=>function o0(n,t,e,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=m=>c<i?p(m):l.push(m),p=m=>{o&&t.next(m),c++;let y=!1;xt(e(m,u++)).subscribe(Xe(t,_=>{null==r||r(_),o?h(_):t.next(_)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&c<i;){const _=l.shift();s?Ln(t,s,()=>p(_)):p(_)}f()}catch(_){t.error(_)}}))};return n.subscribe(Xe(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(i,r,n,e)))}function Ap(n=1/0){return _o(dr,n)}const Us=new De(n=>n.complete());function Ip(n){return n&&re(n.schedule)}function Ac(n){return n[n.length-1]}function Tp(n){return re(Ac(n))?n.pop():void 0}function yo(n){return Ip(Ac(n))?n.pop():void 0}function Fp(n,t=0){return tt((e,i)=>{e.subscribe(Xe(i,r=>Ln(i,n,()=>i.next(r),t),()=>Ln(i,n,()=>i.complete(),t),r=>Ln(i,n,()=>i.error(r),t)))})}function Op(n,t=0){return tt((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Rp(n,t){if(!n)throw new Error("Iterable cannot be null");return new De(e=>{Ln(e,t,()=>{const i=n[Symbol.asyncIterator]();Ln(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function ui(n,t){return t?function h0(n,t){if(null!=n){if(bp(n))return function l0(n,t){return xt(n).pipe(Op(t),Fp(t))}(n,t);if(Mc(n))return function u0(n,t){return new De(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(vp(n))return function c0(n,t){return xt(n).pipe(Op(t),Fp(t))}(n,t);if(wp(n))return Rp(n,t);if(Ep(n))return function d0(n,t){return new De(e=>{let i;return Ln(e,t,()=>{i=n[Dp](),Ln(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>re(null==i?void 0:i.return)&&i.return()})}(n,t);if(Sp(n))return function f0(n,t){return Rp(xp(n),t)}(n,t)}throw Cp(n)}(n,t):xt(n)}function Vn(...n){const t=yo(n),e=function a0(n,t){return"number"==typeof Ac(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?xt(i[0]):Ap(e)(ui(i,t)):Us}function kp(n={}){const{connector:t=(()=>new ce),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return tt((m,y)=>{c++,!d&&!u&&f();const _=l=null!=l?l:t();y.add(()=>{c--,0===c&&!d&&!u&&(a=Ic(p,r))}),_.subscribe(y),!s&&c>0&&(s=new mo({next:C=>_.next(C),error:C=>{d=!0,f(),a=Ic(h,e,C),_.error(C)},complete:()=>{u=!0,f(),a=Ic(h,i),_.complete()}}),xt(m).subscribe(s))})(o)}}function Ic(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new mo({next:()=>{i.unsubscribe(),n()}});return t(...e).subscribe(i)}function me(n){for(let t in n)if(n[t]===me)return t;throw Error("Could not find renamed property on target object.")}function Tc(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function _e(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(_e).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Fc(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const p0=me({__forward_ref__:me});function ye(n){return n.__forward_ref__=ye,n.toString=function(){return _e(this())},n}function H(n){return Oc(n)?n():n}function Oc(n){return"function"==typeof n&&n.hasOwnProperty(p0)&&n.__forward_ref__===ye}class E extends Error{constructor(t,e){super(function zs(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function W(n){return"string"==typeof n?n:null==n?"":String(n)}function Ws(n,t){throw new E(-201,!1)}function Ot(n,t){null==n&&function he(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function x(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function oe(n){return{providers:n.providers||[],imports:n.imports||[]}}function qs(n){return Pp(n,Ks)||Pp(n,Lp)}function Pp(n,t){return n.hasOwnProperty(t)?n[t]:null}function Np(n){return n&&(n.hasOwnProperty(Rc)||n.hasOwnProperty(C0))?n[Rc]:null}const Ks=me({\u0275prov:me}),Rc=me({\u0275inj:me}),Lp=me({ngInjectableDef:me}),C0=me({ngInjectorDef:me});var $=(()=>(($=$||{})[$.Default=0]="Default",$[$.Host=1]="Host",$[$.Self=2]="Self",$[$.SkipSelf=4]="SkipSelf",$[$.Optional=8]="Optional",$))();let kc;function Qt(n){const t=kc;return kc=n,t}function Vp(n,t,e){const i=qs(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&$.Optional?null:void 0!==t?t:void Ws(_e(n))}function di(n){return{toString:n}.toString()}var sn=(()=>((sn=sn||{})[sn.OnPush=0]="OnPush",sn[sn.Default=1]="Default",sn))(),an=(()=>{return(n=an||(an={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",an;var n})();const ve=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),fr={},de=[],Ys=me({\u0275cmp:me}),Pc=me({\u0275dir:me}),Nc=me({\u0275pipe:me}),Bp=me({\u0275mod:me}),Hn=me({\u0275fac:me}),vo=me({__NG_ELEMENT_ID__:me});let E0=0;function fi(n){return di(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===sn.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||de,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||an.Emulated,id:"c"+E0++,styles:n.styles||de,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return r.inputs=$p(n.inputs,i),r.outputs=$p(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Hp).filter(jp):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(pt).filter(jp):null,r})}function Hp(n){return ge(n)||ht(n)}function jp(n){return null!==n}function ae(n){return di(()=>({type:n.type,bootstrap:n.bootstrap||de,declarations:n.declarations||de,imports:n.imports||de,exports:n.exports||de,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function $p(n,t){if(null==n)return fr;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const D=fi;function ge(n){return n[Ys]||null}function ht(n){return n[Pc]||null}function pt(n){return n[Nc]||null}const Q=11;function Mt(n){return Array.isArray(n)&&"object"==typeof n[1]}function cn(n){return Array.isArray(n)&&!0===n[1]}function Bc(n){return 0!=(8&n.flags)}function Js(n){return 2==(2&n.flags)}function ea(n){return 1==(1&n.flags)}function un(n){return null!==n.template}function T0(n){return 0!=(256&n[2])}function Ni(n,t){return n.hasOwnProperty(Hn)?n[Hn]:null}class zp{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function gt(){return Wp}function Wp(n){return n.type.prototype.ngOnChanges&&(n.setInput=k0),R0}function R0(){const n=Kp(this),t=null==n?void 0:n.current;if(t){const e=n.previous;if(e===fr)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function k0(n,t,e,i){const r=Kp(n)||function P0(n,t){return n[qp]=t}(n,{previous:fr,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],l=s[a];o[a]=new zp(l&&l.currentValue,t,s===fr),n[i]=t}gt.ngInherit=!0;const qp="__ngSimpleChanges__";function Kp(n){return n[qp]||null}function He(n){for(;Array.isArray(n);)n=n[0];return n}function ta(n,t){return He(t[n])}function Pt(n,t){return He(t[n.index])}function Uc(n,t){return n.data[t]}function Nt(n,t){const e=t[n];return Mt(e)?e:e[0]}function na(n){return 64==(64&n[2])}function hi(n,t){return null==t?null:n[t]}function Yp(n){n[18]=0}function zc(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const U={lFrame:og(null),bindingsEnabled:!0};function Zp(){return U.bindingsEnabled}function w(){return U.lFrame.lView}function ie(){return U.lFrame.tView}function mt(n){return U.lFrame.contextLView=n,n[8]}function _t(n){return U.lFrame.contextLView=null,n}function qe(){let n=Xp();for(;null!==n&&64===n.type;)n=n.parent;return n}function Xp(){return U.lFrame.currentTNode}function Cn(n,t){const e=U.lFrame;e.currentTNode=n,e.isParent=t}function Wc(){return U.lFrame.isParent}function qc(){U.lFrame.isParent=!1}function _r(){return U.lFrame.bindingIndex++}function $n(n){const t=U.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function Q0(n,t){const e=U.lFrame;e.bindingIndex=e.bindingRootIndex=n,Kc(t)}function Kc(n){U.lFrame.currentDirectiveIndex=n}function ng(){return U.lFrame.currentQueryIndex}function Qc(n){U.lFrame.currentQueryIndex=n}function X0(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function ig(n,t,e){if(e&$.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&$.Host||(r=X0(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=U.lFrame=rg();return i.currentTNode=t,i.lView=n,!0}function Zc(n){const t=rg(),e=n[1];U.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function rg(){const n=U.lFrame,t=null===n?null:n.child;return null===t?og(n):t}function og(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function sg(){const n=U.lFrame;return U.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const ag=sg;function Xc(){const n=sg();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function vt(){return U.lFrame.selectedIndex}function pi(n){U.lFrame.selectedIndex=n}function Ae(){const n=U.lFrame;return Uc(n.tView,n.selectedIndex)}function ia(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e<i;e++){const o=n.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;s&&(n.contentHooks||(n.contentHooks=[])).push(-e,s),a&&((n.contentHooks||(n.contentHooks=[])).push(e,a),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(e,a)),l&&(n.viewHooks||(n.viewHooks=[])).push(-e,l),c&&((n.viewHooks||(n.viewHooks=[])).push(e,c),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(e,c)),null!=u&&(n.destroyHooks||(n.destroyHooks=[])).push(e,u)}}function ra(n,t,e){lg(n,t,3,e)}function oa(n,t,e,i){(3&n[2])===e&&lg(n,t,e,i)}function Jc(n,t){let e=n[2];(3&e)===t&&(e&=2047,e+=1,n[2]=e)}function lg(n,t,e,i){const o=null!=i?i:-1,s=t.length-1;let a=0;for(let l=void 0!==i?65535&n[18]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else t[l]<0&&(n[18]+=65536),(a<o||-1==o)&&(aS(n,e,t,l),n[18]=(4294901760&n[18])+l+2),l++}function aS(n,t,e,i){const r=e[i]<0,o=e[i+1],a=n[r?-e[i]:e[i]];if(r){if(n[2]>>11<n[18]>>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class So{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function sa(n,t,e){let i=0;for(;i<e.length;){const r=e[i];if("number"==typeof r){if(0!==r)break;i++;const o=e[i++],s=e[i++],a=e[i++];n.setAttribute(t,s,a,o)}else{const o=r,s=e[++i];ug(o)?n.setProperty(t,o,s):n.setAttribute(t,o,s),i++}}return i}function cg(n){return 3===n||4===n||6===n}function ug(n){return 64===n.charCodeAt(0)}function aa(n,t){if(null!==t&&0!==t.length)if(null===n||0===n.length)n=t.slice();else{let e=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?e=r:0===e||dg(n,e,r,null,-1===e||2===e?t[++i]:null)}}return n}function dg(n,t,e,i,r){let o=0,s=n.length;if(-1===t)s=-1;else for(;o<n.length;){const a=n[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<n.length;){const a=n[o];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==r&&(n[o+1]=r));if(i===n[o+1])return void(n[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(n.splice(s,0,t),o=s+1),n.splice(o++,0,e),null!==i&&n.splice(o++,0,i),null!==r&&n.splice(o++,0,r)}function fg(n){return-1!==n}function yr(n){return 32767&n}function vr(n,t){let e=function fS(n){return n>>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let tu=!0;function la(n){const t=tu;return tu=n,t}let hS=0;const Dn={};function Ao(n,t){const e=iu(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,nu(i.data,n),nu(t,null),nu(i.blueprint,null));const r=ca(n,t),o=n.injectorIndex;if(fg(r)){const s=yr(r),a=vr(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function nu(n,t){n.push(0,0,0,0,0,0,0,0,t)}function iu(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function ca(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=wg(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function ua(n,t,e){!function pS(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(vo)&&(i=e[vo]),null==i&&(i=e[vo]=hS++);const r=255&i;t.data[n+(r>>5)]|=1<<r}(n,t,e)}function gg(n,t,e){if(e&$.Optional||void 0!==n)return n;Ws()}function mg(n,t,e,i){if(e&$.Optional&&void 0===i&&(i=null),0==(e&($.Self|$.Host))){const r=n[9],o=Qt(void 0);try{return r?r.get(t,i,e&$.Optional):Vp(t,i,e&$.Optional)}finally{Qt(o)}}return gg(i,0,e)}function _g(n,t,e,i=$.Default,r){if(null!==n){if(1024&t[2]){const s=function vS(n,t,e,i,r){let o=n,s=t;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=yg(o,s,e,i|$.Self,Dn);if(a!==Dn)return a;let l=o.parent;if(!l){const c=s[21];if(c){const u=c.get(e,Dn,i);if(u!==Dn)return u}l=wg(s),s=s[15]}o=l}return r}(n,t,e,i,Dn);if(s!==Dn)return s}const o=yg(n,t,e,i,Dn);if(o!==Dn)return o}return mg(t,e,i,r)}function yg(n,t,e,i,r){const o=function _S(n){if("string"==typeof n)return n.charCodeAt(0)||0;const t=n.hasOwnProperty(vo)?n[vo]:void 0;return"number"==typeof t?t>=0?255&t:yS:t}(e);if("function"==typeof o){if(!ig(t,n,i))return i&$.Host?gg(r,0,i):mg(t,e,i,r);try{const s=o(i);if(null!=s||i&$.Optional)return s;Ws()}finally{ag()}}else if("number"==typeof o){let s=null,a=iu(n,t),l=-1,c=i&$.Host?t[16][6]:null;for((-1===a||i&$.SkipSelf)&&(l=-1===a?ca(n,t):t[a+8],-1!==l&&bg(i,!1)?(s=t[1],a=yr(l),t=vr(l,t)):a=-1);-1!==a;){const u=t[1];if(vg(o,a,u.data)){const d=mS(a,t,e,s,i,c);if(d!==Dn)return d}l=t[a+8],-1!==l&&bg(i,t[1].data[a+8]===c)&&vg(o,a,t)?(s=u,a=yr(l),t=vr(l,t)):a=-1}}return r}function mS(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],u=da(a,s,e,null==i?Js(a)&&tu:i!=s&&0!=(3&a.type),r&$.Host&&o===a);return null!==u?Io(t,s,u,a):Dn}function da(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,u=o>>20,f=r?a+u:n.directiveEnd;for(let h=i?a:a+u;h<f;h++){const p=s[h];if(h<l&&e===p||h>=l&&p.type===e)return h}if(r){const h=s[l];if(h&&un(h)&&h.type===e)return l}return null}function Io(n,t,e,i){let r=n[e];const o=t.data;if(function lS(n){return n instanceof So}(r)){const s=r;s.resolving&&function g0(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new E(-200,`Circular dependency in DI detected for ${n}${e}`)}(function ue(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():W(n)}(o[e]));const a=la(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Qt(s.injectImpl):null;ig(n,i,$.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function sS(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Wp(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&Qt(l),la(a),s.resolving=!1,ag()}}return r}function vg(n,t,e){return!!(e[t+(n>>5)]&1<<n)}function bg(n,t){return!(n&$.Self||n&$.Host&&t)}class br{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return _g(this._tNode,this._lView,t,i,e)}}function yS(){return new br(qe(),w())}function k(n){return di(()=>{const t=n.prototype.constructor,e=t[Hn]||ru(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Hn]||ru(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function ru(n){return Oc(n)?()=>{const t=ru(H(n));return t&&t()}:Ni(n)}function wg(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function To(n){return function gS(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r<i;){const o=e[r];if(cg(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof e[r];)r++;else{if(o===t)return e[r+1];r+=2}}}return null}(qe(),n)}const Cr="__parameters__";function Er(n,t,e){return di(()=>{const i=function ou(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Cr)?l[Cr]:Object.defineProperty(l,Cr,{value:[]})[Cr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class S{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=x({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Lt(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let i=n[e];Array.isArray(i)?(t===n&&(t=n.slice(0,e)),Lt(i,t)):t!==n&&t.push(i)}return t}function Gn(n,t){n.forEach(e=>Array.isArray(e)?Gn(e,t):t(e))}function Dg(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function fa(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Ro(n,t){const e=[];for(let i=0;i<n;i++)e.push(t);return e}function Vt(n,t,e){let i=xr(n,t);return i>=0?n[1|i]=e:(i=~i,function DS(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function au(n,t){const e=xr(n,t);if(e>=0)return n[1|e]}function xr(n,t){return function Sg(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<<e];if(t===s)return o<<e;s>t?r=o:i=o+1}return~(r<<e)}(n,t,1)}const ko={},cu="__NG_DI_FLAG__",pa="ngTempTokenPath",FS=/\n/gm,Mg="__source";let Po;function Sr(n){const t=Po;return Po=n,t}function RS(n,t=$.Default){if(void 0===Po)throw new E(-203,!1);return null===Po?Vp(n,void 0,t):Po.get(n,t&$.Optional?null:void 0,t)}function b(n,t=$.Default){return(function D0(){return kc}()||RS)(H(n),t)}function Un(n,t=$.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),b(n,t)}function uu(n){const t=[];for(let e=0;e<n.length;e++){const i=H(n[e]);if(Array.isArray(i)){if(0===i.length)throw new E(900,!1);let r,o=$.Default;for(let s=0;s<i.length;s++){const a=i[s],l=kS(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}t.push(b(r,o))}else t.push(b(i))}return t}function No(n,t){return n[cu]=t,n.prototype[cu]=t,n}function kS(n){return n[cu]}const Li=No(Er("Optional"),8),Lo=No(Er("SkipSelf"),4);var At=(()=>((At=At||{})[At.Important=1]="Important",At[At.DashCase=2]="DashCase",At))();const gu=new Map;let XS=0;const _u="__ngContext__";function ot(n,t){Mt(t)?(n[_u]=t[20],function eM(n){gu.set(n[20],n)}(t)):n[_u]=t}function vu(n,t){return undefined(n,t)}function jo(n){const t=n[3];return cn(t)?t[3]:t}function bu(n){return Kg(n[13])}function wu(n){return Kg(n[4])}function Kg(n){for(;null!==n&&!cn(n);)n=n[4];return n}function Ar(n,t,e,i,r){if(null!=i){let o,s=!1;cn(i)?o=i:Mt(i)&&(s=!0,i=i[0]);const a=He(i);0===n&&null!==e?null==r?em(t,e,a):Vi(t,e,a,r||null,!0):1===n&&null!==e?Vi(t,e,a,r||null,!0):2===n?function Au(n,t,e){const i=_a(n,t);i&&function CM(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function xM(n,t,e,i,r){const o=e[7];o!==He(e)&&Ar(t,n,i,o,r);for(let a=10;a<e.length;a++){const l=e[a];$o(l[1],l,n,t,i,o)}}(t,n,o,e,r)}}function Du(n,t,e){return n.createElement(t,e)}function Qg(n,t){const e=n[9],i=e.indexOf(t),r=t[3];512&t[2]&&(t[2]&=-513,zc(r,-1)),e.splice(i,1)}function Eu(n,t){if(n.length<=10)return;const e=10+t,i=n[e];if(i){const r=i[17];null!==r&&r!==n&&Qg(r,i),t>0&&(n[e-1][4]=i[4]);const o=fa(n,10+t);!function pM(n,t){$o(n,t,t[Q],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Zg(n,t){if(!(128&t[2])){const e=t[Q];e.destroyNode&&$o(n,t,e,3,null,null),function _M(n){let t=n[13];if(!t)return xu(n[1],n);for(;t;){let e=null;if(Mt(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)Mt(t)&&xu(t[1],t),t=t[3];null===t&&(t=n),Mt(t)&&xu(t[1],t),e=t&&t[4]}t=e}}(t)}}function xu(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function wM(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i<e.length;i+=2){const r=t[e[i]];if(!(r instanceof So)){const o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(r)}finally{}}}}(n,t),function bM(n,t){const e=n.cleanup,i=t[7];let r=-1;if(null!==e)for(let o=0;o<e.length-1;o+=2)if("string"==typeof e[o]){const s=e[o+1],a="function"==typeof s?s(t):He(t[s]),l=i[r=e[o+2]],c=e[o+3];"boolean"==typeof c?a.removeEventListener(e[o],l,c):c>=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;o<i.length;o++)(0,i[o])();t[7]=null}}(n,t),1===t[1].type&&t[Q].destroy();const e=t[17];if(null!==e&&cn(t[3])){e!==t[3]&&Qg(e,t);const i=t[19];null!==i&&i.detachView(n)}!function tM(n){gu.delete(n[20])}(t)}}function Xg(n,t,e){return function Jg(n,t,e){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return e[0];if(2&i.flags){const r=n.data[i.directiveStart].encapsulation;if(r===an.None||r===an.Emulated)return null}return Pt(i,e)}(n,t.parent,e)}function Vi(n,t,e,i,r){n.insertBefore(t,e,i,r)}function em(n,t,e){n.appendChild(t,e)}function tm(n,t,e,i,r){null!==i?Vi(n,t,e,i,r):em(n,t,e)}function _a(n,t){return n.parentNode(t)}function nm(n,t,e){return rm(n,t,e)}let ba,Ou,wa,rm=function im(n,t,e){return 40&n.type?Pt(n,e):null};function ya(n,t,e,i){const r=Xg(n,i,t),o=t[Q],a=nm(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(e))for(let l=0;l<e.length;l++)tm(o,r,e[l],a,!1);else tm(o,r,e,a,!1)}function va(n,t){if(null!==t){const e=t.type;if(3&e)return Pt(t,n);if(4&e)return Mu(-1,n[t.index]);if(8&e){const i=t.child;if(null!==i)return va(n,i);{const r=n[t.index];return cn(r)?Mu(-1,r):He(r)}}if(32&e)return vu(t,n)()||He(n[t.index]);{const i=sm(n,t);return null!==i?Array.isArray(i)?i[0]:va(jo(n[16]),i):va(n,t.next)}}return null}function sm(n,t){return null!==t?n[16][6].projection[t.projection]:null}function Mu(n,t){const e=10+n+1;if(e<t.length){const i=t[e],r=i[1].firstChild;if(null!==r)return va(i,r)}return t[7]}function Iu(n,t,e,i,r,o,s){for(;null!=e;){const a=i[e.index],l=e.type;if(s&&0===t&&(a&&ot(He(a),i),e.flags|=4),64!=(64&e.flags))if(8&l)Iu(n,t,e.child,i,r,o,!1),Ar(t,n,r,a,o);else if(32&l){const c=vu(e,i);let u;for(;u=c();)Ar(t,n,r,u,o);Ar(t,n,r,a,o)}else 16&l?am(n,t,i,e,r,o):Ar(t,n,r,a,o);e=s?e.projectionNext:e.next}}function $o(n,t,e,i,r,o){Iu(e,i,n.firstChild,t,r,o,!1)}function am(n,t,e,i,r,o){const s=e[16],l=s[6].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Ar(t,n,r,l[c],o);else Iu(n,t,l,s[3],r,o,!0)}function lm(n,t,e){n.setAttribute(t,"style",e)}function Tu(n,t,e){""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}function Bi(n){var t;return(null===(t=function Fu(){if(void 0===ba&&(ba=null,ve.trustedTypes))try{ba=ve.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return ba}())||void 0===t?void 0:t.createHTML(n))||n}function um(n){var t;return(null===(t=function Ru(){if(void 0===wa&&(wa=null,ve.trustedTypes))try{wa=ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return wa}())||void 0===t?void 0:t.createHTML(n))||n}class Hi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class FM extends Hi{getTypeName(){return"HTML"}}class OM extends Hi{getTypeName(){return"Style"}}class RM extends Hi{getTypeName(){return"Script"}}class kM extends Hi{getTypeName(){return"URL"}}class PM extends Hi{getTypeName(){return"ResourceURL"}}function Bt(n){return n instanceof Hi?n.changingThisBreaksApplicationSecurity:n}function En(n,t){const e=function NM(n){return n instanceof Hi&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}class $M{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Bi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class GM{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Bi(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Bi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const s=e.item(r).name;("xmlns:ns1"===s||0===s.indexOf("ns1:"))&&t.removeAttribute(s)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const zM=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Ca(n){return(n=String(n)).match(zM)?n:"unsafe:"+n}function zn(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function Go(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const pm=zn("area,br,col,hr,img,wbr"),gm=zn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mm=zn("rp,rt"),ku=Go(pm,Go(gm,zn("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")),Go(mm,zn("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")),Go(mm,gm)),Pu=zn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_m=Go(Pu,zn("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"),zn("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")),WM=zn("script,style,template");class qM{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!ku.hasOwnProperty(e))return this.sanitizedSomething=!0,!WM.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!_m.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Pu[a]&&(l=Ca(l)),this.buf.push(" ",s,'="',ym(l),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ku.hasOwnProperty(e)&&!pm.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(ym(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const KM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,YM=/([^\#-~ |!])/g;function ym(n){return n.replace(/&/g,"&amp;").replace(KM,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(YM,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Da;function vm(n,t){let e=null;try{Da=Da||function hm(n){const t=new GM(n);return function UM(){try{return!!(new window.DOMParser).parseFromString(Bi(""),"text/html")}catch(n){return!1}}()?new $M(t):t}(n);let i=t?String(t):"";e=Da.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Da.getInertBodyElement(i)}while(i!==o);return Bi((new qM).sanitizeChildren(Nu(e)||e))}finally{if(e){const i=Nu(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Nu(n){return"content"in n&&function QM(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var le=(()=>((le=le||{})[le.NONE=0]="NONE",le[le.HTML=1]="HTML",le[le.STYLE=2]="STYLE",le[le.SCRIPT=3]="SCRIPT",le[le.URL=4]="URL",le[le.RESOURCE_URL=5]="RESOURCE_URL",le))();function Lu(n){const t=Uo();return t?um(t.sanitize(le.HTML,n)||""):En(n,"HTML")?um(Bt(n)):vm(function cm(){return void 0!==Ou?Ou:"undefined"!=typeof document?document:void 0}(),W(n))}function Ea(n){const t=Uo();return t?t.sanitize(le.URL,n)||"":En(n,"URL")?Bt(n):Ca(W(n))}function Uo(){const n=w();return n&&n[12]}const wm=new S("ENVIRONMENT_INITIALIZER"),Cm=new S("INJECTOR",-1),Dm=new S("INJECTOR_DEF_TYPES");class Em{get(t,e=ko){if(e===ko){const i=new Error(`NullInjectorError: No provider for ${_e(t)}!`);throw i.name="NullInjectorError",i}return e}}function iA(...n){return{\u0275providers:xm(0,n)}}function xm(n,...t){const e=[],i=new Set;let r;return Gn(t,o=>{const s=o;Vu(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&Sm(r,e),e}function Sm(n,t){for(let e=0;e<n.length;e++){const{providers:r}=n[e];Gn(r,o=>{t.push(o)})}}function Vu(n,t,e,i){if(!(n=H(n)))return!1;let r=null,o=Np(n);const s=!o&&ge(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Np(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Vu(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Gn(o.imports,u=>{Vu(u,t,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Sm(c,t)}if(!a){const c=Ni(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:de},{provide:Dm,useValue:r,multi:!0},{provide:wm,useValue:()=>b(r),multi:!0})}const l=o.providers;null==l||a||Gn(l,u=>{t.push(u)})}}return r!==n&&void 0!==n.providers}const rA=me({provide:String,useValue:me});function Bu(n){return null!==n&&"object"==typeof n&&rA in n}function ji(n){return"function"==typeof n}const Hu=new S("Set Injector scope."),xa={},sA={};let ju;function Sa(){return void 0===ju&&(ju=new Em),ju}class Ir{}class Im extends Ir{constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gu(t,s=>this.processProvider(s)),this.records.set(Cm,Tr(void 0,this)),r.has("environment")&&this.records.set(Ir,Tr(void 0,this));const o=this.records.get(Hu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Dm.multi,de,$.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=Sr(this),i=Qt(void 0);try{return t()}finally{Sr(e),Qt(i)}}get(t,e=ko,i=$.Default){this.assertNotDestroyed();const r=Sr(this),o=Qt(void 0);try{if(!(i&$.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function dA(n){return"function"==typeof n||"object"==typeof n&&n instanceof S}(t)&&qs(t);a=l&&this.injectableDefInScope(l)?Tr($u(t),xa):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&$.Self?Sa():this.parent).get(t,e=i&$.Optional&&e===ko?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[pa]=s[pa]||[]).unshift(_e(t)),r)throw s;return function PS(n,t,e,i){const r=n[pa];throw t[Mg]&&r.unshift(t[Mg]),n.message=function NS(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=_e(t);if(Array.isArray(t))r=t.map(_e).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):_e(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(FS,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[pa]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Qt(o),Sr(r)}}resolveInjectorInitializers(){const t=Sr(this),e=Qt(void 0);try{const i=this.get(wm.multi,de,$.Self);for(const r of i)r()}finally{Sr(t),Qt(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(_e(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(t){let e=ji(t=H(t))?t:H(t&&t.provide);const i=function lA(n){return Bu(n)?Tr(void 0,n.useValue):Tr(Tm(n),xa)}(t);if(ji(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Tr(void 0,xa,!0),r.factory=()=>uu(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===xa&&(e.value=sA,e.value=e.factory()),"object"==typeof e.value&&e.value&&function uA(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=H(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function $u(n){const t=qs(n),e=null!==t?t.factory:Ni(n);if(null!==e)return e;if(n instanceof S)throw new E(204,!1);if(n instanceof Function)return function aA(n){const t=n.length;if(t>0)throw Ro(t,"?"),new E(204,!1);const e=function b0(n){const t=n&&(n[Ks]||n[Lp]);if(t){const e=function w0(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new E(204,!1)}function Tm(n,t,e){let i;if(ji(n)){const r=H(n);return Ni(r)||$u(r)}if(Bu(n))i=()=>H(n.useValue);else if(function Am(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...uu(n.deps||[]));else if(function Mm(n){return!(!n||!n.useExisting)}(n))i=()=>b(H(n.useExisting));else{const r=H(n&&(n.useClass||n.provide));if(!function cA(n){return!!n.deps}(n))return Ni(r)||$u(r);i=()=>new r(...uu(n.deps))}return i}function Tr(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function fA(n){return!!n.\u0275providers}function Gu(n,t){for(const e of n)Array.isArray(e)?Gu(e,t):fA(e)?Gu(e.\u0275providers,t):t(e)}class Fm{}class gA{resolveComponentFactory(t){throw function pA(n){const t=Error(`No component factory found for ${_e(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let $i=(()=>{class n{}return n.NULL=new gA,n})();function mA(){return Fr(qe(),w())}function Fr(n,t){return new G(Pt(n,t))}let G=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=mA,n})();function _A(n){return n instanceof G?n.nativeElement:n}class zo{}let Wn=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function yA(){const n=w(),e=Nt(qe().index,n);return(Mt(e)?e:n)[Q]}(),n})(),vA=(()=>{class n{}return n.\u0275prov=x({token:n,providedIn:"root",factory:()=>null}),n})();class mi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bA=new mi("14.3.0"),Uu={};function Wu(n){return n.ngOriginalError}class qn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Wu(t);for(;e&&Wu(e);)e=Wu(e);return e||null}}function km(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const Pm="ng-template";function FA(n,t,e){let i=0;for(;i<n.length;){let r=n[i++];if(e&&"class"===r){if(r=n[i],-1!==km(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<n.length&&"string"==typeof(r=n[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Nm(n){return 4===n.type&&n.value!==Pm}function OA(n,t,e){return t===(4!==n.type||e?n.value:Pm)}function RA(n,t,e){let i=4;const r=n.attrs||[],o=function NA(n){for(let t=0;t<n.length;t++)if(cg(n[t]))return t;return n.length}(r);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!OA(n,l,e)||""===l&&1===t.length){if(dn(i))return!1;s=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==n.attrs){if(!FA(n.attrs,c,e)){if(dn(i))return!1;s=!0}continue}const d=kA(8&i?"class":l,r,Nm(n),e);if(-1===d){if(dn(i))return!1;s=!0;continue}if(""!==c){let f;f=d>o?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==km(h,c,0)||2&i&&c!==f){if(dn(i))return!1;s=!0}}}}else{if(!s&&!dn(i)&&!dn(l))return!1;if(s&&dn(l))continue;s=!1,i=l|1&i}}return dn(i)||s}function dn(n){return 0==(1&n)}function kA(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r<t.length;){const s=t[r];if(s===n)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function LA(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){const i=n[e];if("number"==typeof i)return-1;if(i===t)return e;e++}return-1}(t,n)}function Lm(n,t,e=!1){for(let i=0;i<t.length;i++)if(RA(n,t[i],e))return!0;return!1}function VA(n,t){e:for(let e=0;e<t.length;e++){const i=t[e];if(n.length===i.length){for(let r=0;r<n.length;r++)if(n[r]!==i[r])continue e;return!0}}return!1}function Vm(n,t){return n?":not("+t.trim()+")":t}function BA(n){let t=n[0],e=1,i=2,r="",o=!1;for(;e<n.length;){let s=n[e];if("string"==typeof s)if(2&i){const a=n[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!dn(s)&&(t+=Vm(o,r),r=""),i=s,o=o||!dn(i);e++}return""!==r&&(t+=Vm(o,r)),t}const q={};function R(n){Bm(ie(),w(),vt()+n,!1)}function Bm(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&ra(t,o,e)}else{const o=n.preOrderHooks;null!==o&&oa(t,o,0,e)}pi(e)}function Gm(n,t=null,e=null,i){const r=Um(n,t,e,i);return r.resolveInjectorInitializers(),r}function Um(n,t=null,e=null,i,r=new Set){const o=[e||de,iA(n)];return i=i||("object"==typeof n?void 0:_e(n)),new Im(o,t||Sa(),i||null,r)}let It=(()=>{class n{static create(e,i){var r;if(Array.isArray(e))return Gm({name:""},i,e,"");{const o=null!==(r=e.name)&&void 0!==r?r:"";return Gm({name:o},e.parent,e.providers,o)}}}return n.THROW_IF_NOT_FOUND=ko,n.NULL=new Em,n.\u0275prov=x({token:n,providedIn:"any",factory:()=>b(Cm)}),n.__NG_ELEMENT_ID__=-1,n})();function g(n,t=$.Default){const e=w();return null===e?b(n,t):_g(qe(),e,H(n),t)}function Aa(n,t){return n<<17|t<<2}function fn(n){return n>>17&32767}function Zu(n){return 2|n}function Yn(n){return(131068&n)>>2}function Xu(n,t){return-131069&n|t<<2}function Ju(n){return 1|n}function l_(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i<e.length;i+=2){const r=e[i],o=e[i+1];if(-1!==o){const s=n.data[o];Qc(r),s.contentQueries(2,t[o],o)}}}function Fa(n,t,e,i,r,o,s,a,l,c,u){const d=t.blueprint.slice();return d[0]=r,d[2]=76|i,(null!==u||n&&1024&n[2])&&(d[2]|=1024),Yp(d),d[3]=d[15]=n,d[8]=e,d[10]=s||n&&n[10],d[Q]=a||n&&n[Q],d[12]=l||n&&n[12]||null,d[9]=c||n&&n[9]||null,d[6]=o,d[20]=function JS(){return XS++}(),d[21]=u,d[16]=2==t.type?n[16]:d,d}function kr(n,t,e,i,r){let o=n.data[t];if(null===o)o=function ad(n,t,e,i,r){const o=Xp(),s=Wc(),l=n.data[t]=function wI(n,t,e,i,r,o){return{type:e,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,e,t,i,r);return null===n.firstChild&&(n.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(n,t,e,i,r),function Y0(){return U.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=e,o.value=i,o.attrs=r;const s=function xo(){const n=U.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Cn(o,!0),o}function Pr(n,t,e,i){if(0===e)return-1;const r=t.length;for(let o=0;o<e;o++)t.push(i),n.blueprint.push(i),n.data.push(null);return r}function ld(n,t,e){Zc(t);try{const i=n.viewQuery;null!==i&&md(1,i,e);const r=n.template;null!==r&&c_(n,t,r,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&l_(n,t),n.staticViewQueries&&md(2,n.viewQuery,e);const o=n.components;null!==o&&function yI(n,t){for(let e=0;e<t.length;e++)LI(n,t[e])}(t,o)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{t[2]&=-5,Xc()}}function Oa(n,t,e,i){const r=t[2];if(128!=(128&r)){Zc(t);try{Yp(t),function eg(n){return U.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&c_(n,t,e,2,i);const s=3==(3&r);if(s){const c=n.preOrderCheckHooks;null!==c&&ra(t,c,null)}else{const c=n.preOrderHooks;null!==c&&oa(t,c,0,null),Jc(t,0)}if(function PI(n){for(let t=bu(n);null!==t;t=wu(t)){if(!t[2])continue;const e=t[9];for(let i=0;i<e.length;i++){const r=e[i],o=r[3];0==(512&r[2])&&zc(o,1),r[2]|=512}}}(t),function kI(n){for(let t=bu(n);null!==t;t=wu(t))for(let e=10;e<t.length;e++){const i=t[e],r=i[1];na(i)&&Oa(r,i,r.template,i[8])}}(t),null!==n.contentQueries&&l_(n,t),s){const c=n.contentCheckHooks;null!==c&&ra(t,c)}else{const c=n.contentHooks;null!==c&&oa(t,c,1),Jc(t,1)}!function mI(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const r=e[i];if(r<0)pi(~r);else{const o=r,s=e[++i],a=e[++i];Q0(s,o),a(2,t[o])}}}finally{pi(-1)}}(n,t);const a=n.components;null!==a&&function _I(n,t){for(let e=0;e<t.length;e++)NI(n,t[e])}(t,a);const l=n.viewQuery;if(null!==l&&md(2,l,i),s){const c=n.viewCheckHooks;null!==c&&ra(t,c)}else{const c=n.viewHooks;null!==c&&oa(t,c,2),Jc(t,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,zc(t[3],-1))}finally{Xc()}}}function c_(n,t,e,i,r){const o=vt(),s=2&i;try{pi(-1),s&&t.length>22&&Bm(n,t,22,!1),e(i,r)}finally{pi(o)}}function u_(n,t,e){if(Bc(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const s=n.data[o];s.contentQueries&&s.contentQueries(1,e[o],o)}}}function cd(n,t,e){!Zp()||(function SI(n,t,e,i){const r=e.directiveStart,o=e.directiveEnd;n.firstCreatePass||Ao(e,t),ot(i,t);const s=e.initialInputs;for(let a=r;a<o;a++){const l=n.data[a],c=un(l);c&&FI(t,e,l);const u=Io(t,n,a,e);ot(u,t),null!==s&&OI(0,a-r,u,l,0,s),c&&(Nt(e.index,t)[8]=u)}}(n,t,e,Pt(e,t)),128==(128&e.flags)&&function MI(n,t,e){const i=e.directiveStart,r=e.directiveEnd,o=e.index,s=function Z0(){return U.lFrame.currentDirectiveIndex}();try{pi(o);for(let a=i;a<r;a++){const l=n.data[a],c=t[a];Kc(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&__(l,c)}}finally{pi(-1),Kc(s)}}(n,t,e))}function ud(n,t,e=Pt){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?e(t,n):n[s];n[r++]=a}}}function d_(n){const t=n.tView;return null===t||t.incompleteFirstPass?n.tView=dd(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):t}function dd(n,t,e,i,r,o,s,a,l,c){const u=22+i,d=u+r,f=function vI(n,t){const e=[];for(let i=0;i<t;i++)e.push(i<n?null:q);return e}(u,d),h="function"==typeof c?c():c;return f[1]={type:n,blueprint:f,template:e,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1}}function f_(n,t,e,i){const r=C_(t);null===e?r.push(i):(r.push(e),n.firstCreatePass&&D_(n).push(i,r.length-1))}function h_(n,t,e){for(let i in n)if(n.hasOwnProperty(i)){const r=n[i];(e=null===e?{}:e).hasOwnProperty(i)?e[i].push(t,r):e[i]=[t,r]}return e}function p_(n,t){const i=t.directiveEnd,r=n.data,o=t.attrs,s=[];let a=null,l=null;for(let c=t.directiveStart;c<i;c++){const u=r[c],d=u.inputs,f=null===o||Nm(t)?null:RI(d,o);s.push(f),a=h_(d,c,a),l=h_(u.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=l}function Ht(n,t,e,i,r,o,s,a){const l=Pt(t,e);let u,c=t.inputs;!a&&null!=c&&(u=c[i])?(_d(n,e,u,i,r),Js(t)&&g_(e,t.index)):3&t.type&&(i=function CI(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),r=null!=s?s(r,t.value||"",i):r,o.setProperty(l,i,r))}function g_(n,t){const e=Nt(t,n);16&e[2]||(e[2]|=32)}function fd(n,t,e,i){let r=!1;if(Zp()){const o=function AI(n,t,e){const i=n.directiveRegistry;let r=null;if(i)for(let o=0;o<i.length;o++){const s=i[o];Lm(e,s.selectors,!1)&&(r||(r=[]),ua(Ao(e,t),n,s.type),un(s)?(y_(n,e),r.unshift(s)):r.push(s))}return r}(n,t,e),s=null===i?null:{"":-1};if(null!==o){r=!0,v_(e,n.data.length,o.length);for(let u=0;u<o.length;u++){const d=o[u];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,c=Pr(n,t,o.length,null);for(let u=0;u<o.length;u++){const d=o[u];e.mergedAttrs=aa(e.mergedAttrs,d.hostAttrs),b_(n,e,t,c,d),TI(c,d,s),null!==d.contentQueries&&(e.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(e.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e.index),l=!0),c++}p_(n,e)}s&&function II(n,t,e){if(t){const i=n.localNames=[];for(let r=0;r<t.length;r+=2){const o=e[t[r+1]];if(null==o)throw new E(-301,!1);i.push(t[r],o)}}}(e,i,s)}return e.mergedAttrs=aa(e.mergedAttrs,e.attrs),r}function m_(n,t,e,i,r,o){const s=o.hostBindings;if(s){let a=n.hostBindingOpCodes;null===a&&(a=n.hostBindingOpCodes=[]);const l=~t.index;(function xI(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function __(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function y_(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function TI(n,t,e){if(e){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)e[t.exportAs[i]]=n;un(t)&&(e[""]=n)}}function v_(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}function b_(n,t,e,i,r){n.data[i]=r;const o=r.factory||(r.factory=Ni(r.type)),s=new So(o,un(r),g);n.blueprint[i]=s,e[i]=s,m_(n,t,0,i,Pr(n,e,r.hostVars,q),r)}function FI(n,t,e){const i=Pt(t,n),r=d_(e),o=n[10],s=Ra(n,Fa(n,r,null,e.onPush?32:16,i,t,o,o.createRenderer(i,e),null,null,null));n[t.index]=s}function xn(n,t,e,i,r,o){const s=Pt(n,t);!function hd(n,t,e,i,r,o,s){if(null==o)n.removeAttribute(t,r,e);else{const a=null==s?W(o):s(o,i||"",r);n.setAttribute(t,r,a,e)}}(t[Q],s,o,n.value,e,i,r)}function OI(n,t,e,i,r,o){const s=o[t];if(null!==s){const a=i.setInput;for(let l=0;l<s.length;){const c=s[l++],u=s[l++],d=s[l++];null!==a?i.setInput(e,d,c,u):e[u]=d}}}function RI(n,t){let e=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;n.hasOwnProperty(r)&&(null===e&&(e=[]),e.push(r,n[r],t[i+1])),i+=2}else i+=2;else i+=4}return e}function w_(n,t,e,i){return new Array(n,!0,!1,t,null,0,i,e,null,null)}function NI(n,t){const e=Nt(t,n);if(na(e)){const i=e[1];48&e[2]?Oa(i,e,i.template,e[8]):e[5]>0&&pd(e)}}function pd(n){for(let i=bu(n);null!==i;i=wu(i))for(let r=10;r<i.length;r++){const o=i[r];if(na(o))if(512&o[2]){const s=o[1];Oa(s,o,s.template,o[8])}else o[5]>0&&pd(o)}const e=n[1].components;if(null!==e)for(let i=0;i<e.length;i++){const r=Nt(e[i],n);na(r)&&r[5]>0&&pd(r)}}function LI(n,t){const e=Nt(t,n),i=e[1];(function VI(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])})(i,e),ld(i,e,e[8])}function Ra(n,t){return n[13]?n[14][4]=t:n[13]=t,n[14]=t,t}function gd(n){for(;n;){n[2]|=32;const t=jo(n);if(T0(n)&&!t)return n;n=t}return null}function ka(n,t,e,i=!0){const r=t[10];r.begin&&r.begin();try{Oa(n,t,n.template,e)}catch(s){throw i&&x_(t,s),s}finally{r.end&&r.end()}}function md(n,t,e){Qc(0),t(n,e)}function C_(n){return n[7]||(n[7]=[])}function D_(n){return n.cleanup||(n.cleanup=[])}function x_(n,t){const e=n[9],i=e?e.get(qn,null):null;i&&i.handleError(t)}function _d(n,t,e,i,r){for(let o=0;o<e.length;){const s=e[o++],a=e[o++],l=t[s],c=n.data[s];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function Qn(n,t,e){const i=ta(t,n);!function Yg(n,t,e){n.setValue(t,e)}(n[Q],i,e)}function Pa(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?r=Fc(r,a):2==o&&(i=Fc(i,a+": "+t[++s]+";"))}e?n.styles=i:n.stylesWithoutHost=i,e?n.classes=r:n.classesWithoutHost=r}function Na(n,t,e,i,r=!1){for(;null!==e;){const o=t[e.index];if(null!==o&&i.push(He(o)),cn(o))for(let a=10;a<o.length;a++){const l=o[a],c=l[1].firstChild;null!==c&&Na(l[1],l,c,i)}const s=e.type;if(8&s)Na(n,t,e.child,i);else if(32&s){const a=vu(e,t);let l;for(;l=a();)i.push(l)}else if(16&s){const a=sm(t,e);if(Array.isArray(a))i.push(...a);else{const l=jo(t[16]);Na(l[1],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}class Wo{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Na(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(cn(t)){const e=t[8],i=e?e.indexOf(this):-1;i>-1&&(Eu(t,i),fa(e,i))}this._attachedToViewContainer=!1}Zg(this._lView[1],this._lView)}onDestroy(t){f_(this._lView[1],this._lView,null,t)}markForCheck(){gd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ka(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mM(n,t){$o(n,t,t[Q],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t}}class BI extends Wo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ka(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class yd extends $i{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ge(t);return new qo(e,this.ngModule)}}function S_(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class jI{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){const r=this.injector.get(t,Uu,i);return r!==Uu||e===Uu?r:this.parentInjector.get(t,e,i)}}class qo extends Fm{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function HA(n){return n.map(BA).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return S_(this.componentDef.inputs)}get outputs(){return S_(this.componentDef.outputs)}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Ir?r:null==r?void 0:r.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new jI(t,o):t,a=s.get(zo,null);if(null===a)throw new E(407,!1);const l=s.get(vA,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function bI(n,t,e){return n.selectRootElement(t,e===an.ShadowDom)}(c,i,this.componentDef.encapsulation):Du(c,u,function HI(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),f=this.componentDef.onPush?288:272,h=dd(0,null,null,1,0,null,null,null,null,null),p=Fa(null,h,null,f,null,null,a,c,l,s,null);let m,y;Zc(p);try{const _=function UI(n,t,e,i,r,o){const s=e[1];e[22]=n;const l=kr(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(Pa(l,c,!0),null!==n&&(sa(r,n,c),null!==l.classes&&Tu(r,n,l.classes),null!==l.styles&&lm(r,n,l.styles)));const u=i.createRenderer(n,t),d=Fa(e,d_(t),null,t.onPush?32:16,e[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(ua(Ao(l,e),s,t.type),y_(s,l),v_(l,e.length,1)),Ra(e,d),e[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)sa(c,d,["ng-version",bA.full]);else{const{attrs:C,classes:v}=function jA(n){const t=[],e=[];let i=1,r=2;for(;i<n.length;){let o=n[i];if("string"==typeof o)2===r?""!==o&&t.push(o,n[++i]):8===r&&e.push(o);else{if(!dn(r))break;r=o}i++}return{attrs:t,classes:e}}(this.componentDef.selectors[0]);C&&sa(c,d,C),v&&v.length>0&&Tu(c,d,v.join(" "))}if(y=Uc(h,22),void 0!==e){const C=y.projection=[];for(let v=0;v<this.ngContentSelectors.length;v++){const A=e[v];C.push(null!=A?Array.from(A):null)}}m=function zI(n,t,e,i){const r=e[1],o=function EI(n,t,e){const i=qe();n.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),b_(n,i,t,Pr(n,t,1,null),e),p_(n,i));const r=Io(t,n,i.directiveStart,i);ot(r,t);const o=Pt(i,t);return o&&ot(o,t),r}(r,e,t);if(n[8]=e[8]=o,null!==i)for(const a of i)a(o,t);if(t.contentQueries){const a=qe();t.contentQueries(1,o,a.directiveStart)}const s=qe();return!r.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(pi(s.index),m_(e[1],s,0,s.directiveStart,s.directiveEnd,t),__(t,o)),o}(_,this.componentDef,p,[WI]),ld(h,p,null)}finally{Xc()}return new GI(this.componentType,m,Fr(y,p),p,y)}}class GI extends class hA{}{constructor(t,e,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=e,this.hostView=this.changeDetectorRef=new BI(r),this.componentType=t}setInput(t,e){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){const o=this._rootLView;_d(o[1],o,r,t,e),g_(o,this._tNode.index)}}get injector(){return new br(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function WI(){const n=qe();ia(w()[1],n)}function M(n){let t=function M_(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let r;if(un(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);r=t.\u0275dir}if(r){if(e){i.push(r);const s=n;s.inputs=vd(n.inputs),s.declaredInputs=vd(n.declaredInputs),s.outputs=vd(n.outputs);const a=r.hostBindings;a&&QI(n,a);const l=r.viewQuery,c=r.contentQueries;if(l&&KI(n,l),c&&YI(n,c),Tc(n.inputs,r.inputs),Tc(n.declaredInputs,r.declaredInputs),Tc(n.outputs,r.outputs),un(r)&&r.data.animation){const u=n.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(n),a===M&&(e=!1)}}t=Object.getPrototypeOf(t)}!function qI(n){let t=0,e=null;for(let i=n.length-1;i>=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=aa(r.hostAttrs,e=aa(e,r.hostAttrs))}}(i)}function vd(n){return n===fr?{}:n===de?[]:n}function KI(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function YI(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function QI(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let La=null;function Gi(){if(!La){const n=ve.Symbol;if(n&&n.iterator)La=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const i=t[e];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(La=i)}}}return La}function Ko(n){return!!bd(n)&&(Array.isArray(n)||!(n instanceof Map)&&Gi()in n)}function bd(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function st(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function nt(n,t,e,i){const r=w();return st(r,_r(),t)&&(ie(),xn(Ae(),r,n,t,e,i)),nt}function Lr(n,t,e,i){return st(n,_r(),e)?t+W(e)+i:q}function Vr(n,t,e,i,r,o){const a=function Ui(n,t,e,i){const r=st(n,t,e);return st(n,t+1,i)||r}(n,function jn(){return U.lFrame.bindingIndex}(),e,r);return $n(2),a?t+W(e)+i+W(r)+o:q}function j(n,t,e,i,r,o,s,a){const l=w(),c=ie(),u=n+22,d=c.firstCreatePass?function rT(n,t,e,i,r,o,s,a,l){const c=t.consts,u=kr(t,n,4,s||null,hi(c,a));fd(t,e,u,hi(c,l)),ia(t,u);const d=u.tViews=dd(2,u,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,e,i,r,o,s):c.data[u];Cn(d,!1);const f=l[Q].createComment("");ya(c,l,f,d),ot(f,l),Ra(l,l[u]=w_(f,l,f,d)),ea(d)&&cd(c,l,d),null!=s&&ud(l,d,a)}function wd(n){return function mr(n,t){return n[t]}(function K0(){return U.lFrame.contextLView}(),22+n)}function F(n,t,e){const i=w();return st(i,_r(),t)&&Ht(ie(),Ae(),i,n,t,i[Q],e,!1),F}function Cd(n,t,e,i,r){const s=r?"class":"style";_d(n,e,t.inputs[s],s,i)}function K(n,t,e,i){const r=w(),o=ie(),s=22+n,a=r[Q],l=r[s]=Du(a,t,function oS(){return U.lFrame.currentNamespace}()),c=o.firstCreatePass?function sT(n,t,e,i,r,o,s){const a=t.consts,c=kr(t,n,2,r,hi(a,o));return fd(t,e,c,hi(a,s)),null!==c.attrs&&Pa(c,c.attrs,!1),null!==c.mergedAttrs&&Pa(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,o,r,0,t,e,i):o.data[s];Cn(c,!0);const u=c.mergedAttrs;null!==u&&sa(a,l,u);const d=c.classes;null!==d&&Tu(a,l,d);const f=c.styles;return null!==f&&lm(a,l,f),64!=(64&c.flags)&&ya(o,r,l,c),0===function G0(){return U.lFrame.elementDepthCount}()&&ot(l,r),function U0(){U.lFrame.elementDepthCount++}(),ea(c)&&(cd(o,r,c),u_(o,c,r)),null!==i&&ud(r,c),K}function Z(){let n=qe();Wc()?qc():(n=n.parent,Cn(n,!1));const t=n;!function z0(){U.lFrame.elementDepthCount--}();const e=ie();return e.firstCreatePass&&(ia(e,n),Bc(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function uS(n){return 0!=(16&n.flags)}(t)&&Cd(e,t,w(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function dS(n){return 0!=(32&n.flags)}(t)&&Cd(e,t,w(),t.stylesWithoutHost,!1),Z}function at(n,t,e,i){return K(n,t,e,i),Z(),at}function lt(n,t,e){const i=w(),r=ie(),o=n+22,s=r.firstCreatePass?function aT(n,t,e,i,r){const o=t.consts,s=hi(o,i),a=kr(t,n,8,"ng-container",s);return null!==s&&Pa(a,s,!0),fd(t,e,a,hi(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,r,i,t,e):r.data[o];Cn(s,!0);const a=i[o]=i[Q].createComment("");return ya(r,i,a,s),ot(a,i),ea(s)&&(cd(r,i,s),u_(r,s,i)),null!=e&&ud(i,s),lt}function ct(){let n=qe();const t=ie();return Wc()?qc():(n=n.parent,Cn(n,!1)),t.firstCreatePass&&(ia(t,n),Bc(n)&&t.queries.elementEnd(n)),ct}function zr(n,t,e){return lt(n,t,e),ct(),zr}function Zn(){return w()}function Ba(n){return!!n&&"function"==typeof n.then}const V_=function L_(n){return!!n&&"function"==typeof n.subscribe};function we(n,t,e,i){const r=w(),o=ie(),s=qe();return function H_(n,t,e,i,r,o,s,a){const l=ea(i),u=n.firstCreatePass&&D_(n),d=t[8],f=C_(t);let h=!0;if(3&i.type||a){const y=Pt(i,t),_=a?a(y):y,C=f.length,v=a?z=>a(He(z[i.index])):i.index;let A=null;if(!a&&l&&(A=function lT(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===e&&r[o+1]===i){const a=t[7],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==A)(A.__ngLastListenerFn__||A).__ngNextListenerFn__=o,A.__ngLastListenerFn__=o,h=!1;else{o=$_(i,t,d,o,!1);const z=e.listen(_,r,o);f.push(o,z),u&&u.push(r,v,C,C+1)}}else o=$_(i,t,d,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let _=0;_<y;_+=2){const se=t[m[_]][m[_+1]].subscribe(o),Pe=f.length;f.push(o,se),u&&u.push(r,i.index,Pe,-(Pe+1))}}}(o,r,r[Q],s,n,t,0,i),we}function j_(n,t,e,i){try{return!1!==e(i)}catch(r){return x_(n,r),!1}}function $_(n,t,e,i,r){return function o(s){if(s===Function)return i;gd(2&n.flags?Nt(n.index,t):t);let l=j_(t,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=j_(t,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function P(n=1){return function J0(n){return(U.lFrame.contextLView=function eS(n,t){for(;n>0;)t=t[15],n--;return t}(n,U.lFrame.contextLView))[8]}(n)}function cT(n,t){let e=null;const i=function PA(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r<t.length;r++){const o=t[r];if("*"!==o){if(null===i?Lm(n,o,!0):VA(i,o))return r}else e=r}return e}function Qo(n){const t=w()[16][6];if(!t.projection){const i=t.projection=Ro(n?n.length:1,null),r=i.slice();let o=t.child;for(;null!==o;){const s=n?cT(o,n):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}function jt(n,t=0,e){const i=w(),r=ie(),o=kr(r,22+n,16,null,e||null);null===o.projection&&(o.projection=t),qc(),64!=(64&o.flags)&&function EM(n,t,e){am(t[Q],0,t,e,Xg(n,e,t),nm(e.parent||t[6],e,t))}(r,i,o)}function X_(n,t,e,i,r){const o=n[e+1],s=null===t;let a=i?fn(o):Yn(o),l=!1;for(;0!==a&&(!1===l||s);){const u=n[a+1];fT(n[a],t)&&(l=!0,n[a+1]=i?Ju(u):Zu(u)),a=i?fn(u):Yn(u)}l&&(n[e+1]=i?Zu(o):Ju(o))}function fT(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&xr(n,t)>=0}const Ye={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function J_(n){return n.substring(Ye.key,Ye.keyEnd)}function ey(n,t){const e=Ye.textEnd;return e===t?-1:(t=Ye.keyEnd=function mT(n,t,e){for(;t<e&&n.charCodeAt(t)>32;)t++;return t}(n,Ye.key=t,e),Wr(n,t,e))}function Wr(n,t,e){for(;t<e&&n.charCodeAt(t)<=32;)t++;return t}function Ed(n,t,e){return hn(n,t,e,!1),Ed}function $t(n,t){return hn(n,t,null,!0),$t}function An(n,t){for(let e=function pT(n){return function ny(n){Ye.key=0,Ye.keyEnd=0,Ye.value=0,Ye.valueEnd=0,Ye.textEnd=n.length}(n),ey(n,Wr(n,0,Ye.textEnd))}(t);e>=0;e=ey(t,e))Vt(n,J_(t),!0)}function hn(n,t,e,i){const r=w(),o=ie(),s=$n(2);o.firstUpdatePass&&sy(o,n,s,i),t!==q&&st(r,s,t)&&ly(o,o.data[vt()],r,r[Q],n,r[s+1]=function MT(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=_e(Bt(n)))),n}(t,e),i,s)}function oy(n,t){return t>=n.expandoStartIndex}function sy(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[vt()],s=oy(n,e);uy(o,i)&&null===t&&!s&&(t=!1),t=function wT(n,t,e,i){const r=function Yc(n){const t=U.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=Zo(e=xd(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=xd(r,n,t,e,i),null===o){let l=function CT(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Yn(i))return n[fn(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=xd(null,n,t,l[1],i),l=Zo(l,t.attrs,i),function DT(n,t,e,i){n[fn(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function ET(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=Zo(i,n[o].hostAttrs,e);return Zo(i,t.attrs,e)}(n,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),e}(r,o,t,i),function uT(n,t,e,i,r,o){let s=o?t.classBindings:t.styleBindings,a=fn(s),l=Yn(s);n[i]=e;let u,c=!1;if(Array.isArray(e)){const d=e;u=d[1],(null===u||xr(d,u)>0)&&(c=!0)}else u=e;if(r)if(0!==l){const f=fn(n[a+1]);n[i+1]=Aa(f,a),0!==f&&(n[f+1]=Xu(n[f+1],i)),n[a+1]=function sI(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=Aa(a,0),0!==a&&(n[a+1]=Xu(n[a+1],i)),a=i;else n[i+1]=Aa(l,0),0===a?a=i:n[l+1]=Xu(n[l+1],i),l=i;c&&(n[i+1]=Zu(n[i+1])),X_(n,u,i,!0),X_(n,u,i,!1),function dT(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&xr(o,t)>=0&&(e[i+1]=Ju(e[i+1]))}(t,u,n,i,o),s=Aa(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}function xd(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<s&&(o=t[a],i=Zo(i,o.hostAttrs,r),o!==n);)a++;return null!==n&&(e.directiveStylingLast=a),i}function Zo(n,t,e){const i=e?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),Vt(n,s,!!e||t[++o]))}return void 0===n?null:n}function ly(n,t,e,i,r,o,s,a){if(!(3&t.type))return;const l=n.data,c=l[a+1];Ha(function e_(n){return 1==(1&n)}(c)?cy(l,t,e,r,Yn(c),s):void 0)||(Ha(o)||function Jm(n){return 2==(2&n)}(c)&&(o=cy(l,null,e,r,a,s)),function SM(n,t,e,i,r){if(t)r?n.addClass(e,i):n.removeClass(e,i);else{let o=-1===i.indexOf("-")?void 0:At.DashCase;null==r?n.removeStyle(e,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=At.Important),n.setStyle(e,i,r,o))}}(i,s,ta(vt(),e),r,o))}function cy(n,t,e,i,r,o){const s=null===t;let a;for(;r>0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=e[r+1];f===q&&(f=d?de:void 0);let h=d?au(f,i):u===i?f:void 0;if(c&&!Ha(h)&&(h=au(l,i)),Ha(h)&&(a=h,s))return a;const p=n[r+1];r=s?fn(p):Yn(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=au(l,i))}return a}function Ha(n){return void 0!==n}function uy(n,t){return 0!=(n.flags&(t?16:32))}function Gt(n,t=""){const e=w(),i=ie(),r=n+22,o=i.firstCreatePass?kr(i,r,1,t,null):i.data[r],s=e[r]=function Cu(n,t){return n.createText(t)}(e[Q],t);ya(i,e,s,o),Cn(o,!1)}function qr(n){return zi("",n,""),qr}function zi(n,t,e){const i=w(),r=Lr(i,n,t,e);return r!==q&&Qn(i,vt(),r),zi}function Sd(n,t,e,i,r){const o=w(),s=Vr(o,n,t,e,i,r);return s!==q&&Qn(o,vt(),s),Sd}function yy(n,t,e){!function pn(n,t,e,i){const r=ie(),o=$n(2);r.firstUpdatePass&&sy(r,null,o,i);const s=w();if(e!==q&&st(s,o,e)){const a=r.data[vt()];if(uy(a,i)&&!oy(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Fc(l,e||"")),Cd(r,a,s,e,i)}else!function ST(n,t,e,i,r,o,s,a){r===q&&(r=de);let l=0,c=0,u=0<r.length?r[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const f=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0;let m,p=null;u===d?(l+=2,c+=2,f!==h&&(p=d,m=h)):null===d||null!==u&&u<d?(l+=2,p=u):(c+=2,p=d,m=h),null!==p&&ly(n,t,e,i,p,m,s,a),u=l<r.length?r[l]:null,d=c<o.length?o[c]:null}}(r,a,s,s[Q],s[o+1],s[o+1]=function xT(n,t,e){if(null==e||""===e)return de;const i=[],r=Bt(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)n(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&n(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(n,t,e),i,o)}}(Vt,An,Lr(w(),n,t,e),!0)}function ja(n,t,e){const i=w();return st(i,_r(),t)&&Ht(ie(),Ae(),i,n,t,i[Q],e,!0),ja}const Yr="en-US";let Fy=Yr;function Id(n,t,e,i,r){if(n=H(n),Array.isArray(n))for(let o=0;o<n.length;o++)Id(n[o],t,e,i,r);else{const o=ie(),s=w();let a=ji(n)?n:H(n.provide),l=Tm(n);const c=qe(),u=1048575&c.providerIndexes,d=c.directiveStart,f=c.providerIndexes>>20;if(ji(n)||!n.multi){const h=new So(l,r,g),p=Fd(a,t,r?u:u+f,d);-1===p?(ua(Ao(c,s),o,a),Td(o,n,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(h),s.push(h)):(e[p]=h,s[p]=h)}else{const h=Fd(a,t,u+f,d),p=Fd(a,t,u,u+f),m=h>=0&&e[h],y=p>=0&&e[p];if(r&&!y||!r&&!m){ua(Ao(c,s),o,a);const _=function UF(n,t,e,i,r){const o=new So(n,e,g);return o.multi=[],o.index=t,o.componentProviders=0,nv(o,r,i&&!e),o}(r?GF:$F,e.length,r,i,l);!r&&y&&(e[p].providerFactory=_),Td(o,n,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(_),s.push(_)}else Td(o,n,h>-1?h:p,nv(e[r?p:h],l,!r&&i));!r&&i&&y&&e[p].componentProviders++}}}function Td(n,t,e,i){const r=ji(t),o=function oA(n){return!!n.useClass}(t);if(r||o){const l=(o?H(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function nv(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Fd(n,t,e,i){for(let r=e;r<i;r++)if(t[r]===n)return r;return-1}function $F(n,t,e,i){return Od(this.multi,[])}function GF(n,t,e,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Io(e,e[1],this.providerFactory.index,i);o=a.slice(0,s),Od(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Od(r,o);return o}function Od(n,t){for(let e=0;e<n.length;e++)t.push((0,n[e])());return t}function pe(n,t=[]){return e=>{e.providersResolver=(i,r)=>function jF(n,t,e){const i=ie();if(i.firstCreatePass){const r=un(n);Id(e,i.data,i.blueprint,r,!0),Id(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class Qr{}class iv extends Qr{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yd(this);const i=function Rt(n,t){const e=n[Bp]||null;if(!e&&!0===t)throw new Error(`Type ${_e(n)} does not have '\u0275mod' property.`);return e}(t);this._bootstrapComponents=function Kn(n){return n instanceof Function?n():n}(i.bootstrap),this._r3Injector=Um(t,e,[{provide:Qr,useValue:this},{provide:$i,useValue:this.componentFactoryResolver}],_e(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Rd extends class zF{}{constructor(t){super(),this.moduleType=t}create(t){return new iv(this.moduleType,t)}}function is(n,t,e,i){return function dv(n,t,e,i,r,o){const s=t+e;return st(n,s,r)?function Sn(n,t,e){return n[t]=e}(n,s+1,o?i.call(o,r):i(r)):function rs(n,t){const e=n[t];return e===q?void 0:e}(n,s+1)}(w(),function yt(){const n=U.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}(),n,t,e,i)}function Pd(n){return t=>{setTimeout(n,void 0,t)}}const fe=class bO extends ce{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var r,o,s;let a=t,l=e||(()=>null),c=i;if(t&&"object"==typeof t){const d=t;a=null===(r=d.next)||void 0===r?void 0:r.bind(d),l=null===(o=d.error)||void 0===o?void 0:o.bind(d),c=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Pd(l),a&&(a=Pd(a)),c&&(c=Pd(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof Be&&t.add(u),u}};function wO(){return this._results[Gi()]()}class ss{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Gi(),i=ss.prototype;i[e]||(i[e]=wO)}get changes(){return this._changes||(this._changes=new fe)}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,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=Lt(t);(this._changesDetected=!function wS(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++){let r=n[i],o=t[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}(i._results,r,e))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let In=(()=>{class n{}return n.__NG_ELEMENT_ID__=EO,n})();const CO=In,DO=class extends CO{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=Fa(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),ld(i,r,t),new Wo(r)}};function EO(){return Wa(qe(),w())}function Wa(n,t){return 4&n.type?new DO(t,n,Fr(n,t)):null}let gn=(()=>{class n{}return n.__NG_ELEMENT_ID__=xO,n})();function xO(){return yv(qe(),w())}const SO=gn,mv=class extends SO{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Fr(this._hostTNode,this._hostLView)}get injector(){return new br(this._hostTNode,this._hostLView)}get parentInjector(){const t=ca(this._hostTNode,this._hostLView);if(fg(t)){const e=vr(t,this._hostLView),i=yr(t);return new br(e[1].data[i+8],e)}return new br(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=_v(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function Oo(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new qo(ge(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?c:this.parentInjector).get(Ir,null);f&&(o=f)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,e){const i=t._lView,r=i[1];if(function $0(n){return cn(n[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],f=new mv(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function yM(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i<o-10?(t[4]=e[r],Dg(e,10+i,t)):(e.push(t),t[4]=null),t[3]=e;const s=t[17];null!==s&&e!==s&&function vM(n,t){const e=n[9];t[16]!==t[3][3][16]&&(n[2]=!0),null===e?n[9]=[t]:e.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(n),t[2]|=64}(r,i,s,o);const a=Mu(o,s),l=i[Q],c=_a(l,s[7]);return null!==c&&function gM(n,t,e,i,r,o){i[0]=r,i[6]=t,$o(n,i,e,1,r,o)}(r,s[6],l,i,c,a),t.attachToViewContainerRef(),Dg(Nd(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=_v(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),i=Eu(this._lContainer,e);i&&(fa(Nd(this._lContainer),e),Zg(i[1],i))}detach(t){const e=this._adjustIndex(t,-1),i=Eu(this._lContainer,e);return i&&null!=fa(Nd(this._lContainer),e)?new Wo(i):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function _v(n){return n[8]}function Nd(n){return n[8]||(n[8]=[])}function yv(n,t){let e;const i=t[n.index];if(cn(i))e=i;else{let r;if(8&n.type)r=He(i);else{const o=t[Q];r=o.createComment("");const s=Pt(n,t);Vi(o,_a(o,s),r,function DM(n,t){return n.nextSibling(t)}(o,s),!1)}t[n.index]=e=w_(i,t,r,n),Ra(t,e)}return new mv(e,n,t)}class Ld{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ld(this.queryList)}setDirty(){this.queryList.setDirty()}}class Vd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){const s=e.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new Vd(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Dv(t,e).matches&&this.queries[e].setDirty()}}class vv{constructor(t,e,i=null){this.predicate=t,this.flags=e,this.read=i}}class Bd{constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let i=0;i<this.length;i++){const r=null!==e?e.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==e?e.push(o):e=[o])}return null!==e?new Bd(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Hd{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Hd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,e,IO(e,o)),this.matchTNodeWithReadOption(t,e,da(e,t,o,!1,!1))}else i===In?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,da(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===G||r===gn||r===In&&4&e.type)this.addMatch(e.index,-2);else{const o=da(e,t,r,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function IO(n,t){const e=n.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===t)return e[i+1];return null}function FO(n,t,e,i){return-1===e?function TO(n,t){return 11&n.type?Fr(n,t):4&n.type?Wa(n,t):null}(t,n):-2===e?function OO(n,t,e){return e===G?Fr(t,n):e===In?Wa(t,n):e===gn?yv(t,n):void 0}(n,t,i):Io(n,n[1],e,t)}function bv(n,t,e,i){const r=t[19].queries[i];if(null===r.matches){const o=n.data,s=e.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];a.push(c<0?null:FO(t,o[c],s[l+1],e.metadata.read))}r.matches=a}return r.matches}function jd(n,t,e,i){const r=n.queries.getByIndex(e),o=r.matches;if(null!==o){const s=bv(n,t,r,e);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d<u.length;d++){const f=u[d];f[17]===f[3]&&jd(f[1],f,c,i)}if(null!==u[9]){const d=u[9];for(let f=0;f<d.length;f++){const h=d[f];jd(h[1],h,c,i)}}}}}return i}function je(n){const t=w(),e=ie(),i=ng();Qc(i+1);const r=Dv(e,i);if(n.dirty&&function j0(n){return 4==(4&n[2])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)n.reset([]);else{const o=r.crossesNgTemplate?jd(e,t,i,[]):bv(e,t,r,i);n.reset(o,_A),n.notifyOnChanges()}return!0}return!1}function vi(n,t,e){const i=ie();i.firstCreatePass&&(Cv(i,new vv(n,t,e),-1),2==(2&t)&&(i.staticViewQueries=!0)),wv(i,w(),t)}function Ut(n,t,e,i){const r=ie();if(r.firstCreatePass){const o=qe();Cv(r,new vv(t,e,i),o.index),function kO(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(r,n),2==(2&e)&&(r.staticContentQueries=!0)}wv(r,w(),e)}function $e(){return function RO(n,t){return n[19].queries[t].queryList}(w(),ng())}function wv(n,t,e){const i=new ss(4==(4&e));f_(n,t,i,i.destroy),null===t[19]&&(t[19]=new Vd),t[19].queries.push(new Ld(i))}function Cv(n,t,e){null===n.queries&&(n.queries=new Bd),n.queries.track(new Hd(t,e))}function Dv(n,t){return n.queries.getByIndex(t)}function Ka(...n){}const $v=new S("Application Initializer");let Ya=(()=>{class n{constructor(e){this.appInits=e,this.resolve=Ka,this.reject=Ka,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const o=this.appInits[r]();if(Ba(o))e.push(o);else if(V_(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(b($v,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ls=new S("AppId",{providedIn:"root",factory:function Gv(){return`${Wd()}${Wd()}${Wd()}`}});function Wd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Uv=new S("Platform Initializer"),zt=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zv=new S("appBootstrapListener"),Jr=new S("AnimationModuleType"),Tn=new S("LocaleId",{providedIn:"root",factory:()=>Un(Tn,$.Optional|$.SkipSelf)||function tR(){return"undefined"!=typeof $localize&&$localize.locale||Yr}()}),sR=(()=>Promise.resolve(0))();function qd(n){"undefined"==typeof Zone?sR.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fe(!1),this.onMicrotaskEmpty=new fe(!1),this.onStable=new fe(!1),this.onError=new fe(!1),"undefined"==typeof Zone)throw new E(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function aR(){let n=ve.requestAnimationFrame,t=ve.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function uR(n){const t=()=>{!function cR(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ve,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Yd(n),n.isCheckStableRunning=!0,Kd(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Yd(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return Kv(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),Yv(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return Kv(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),Yv(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,Yd(n),Kd(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!te.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(te.isInAngularZone())throw new E(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,lR,Ka,Ka);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const lR={};function Kd(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Yd(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Kv(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Yv(n){n._nesting--,Kd(n)}class dR{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fe,this.onMicrotaskEmpty=new fe,this.onStable=new fe,this.onError=new fe}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const Qv=new S(""),Qa=new S("");let cs,Qd=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,cs||(function fR(n){cs=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),qd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())qd(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(b(te),b(Zd),b(Qa))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),Zd=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){var r;return null!==(r=null==cs?void 0:cs.findTestabilityInTree(this,e,i))&&void 0!==r?r:null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),Fn=null;const Zv=new S("AllowMultipleToken"),Xd=new S("PlatformDestroyListeners");function Jv(n,t,e=[]){const i=`Platform: ${t}`,r=new S(i);return(o=[])=>{let s=Jd();if(!s||s.injector.get(Zv,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function gR(n){if(Fn&&!Fn.get(Zv,!1))throw new E(400,!1);Fn=n;const t=n.get(tb);(function Xv(n){const t=n.get(Uv,null);t&&t.forEach(e=>e())})(n)}(function eb(n=[],t){return It.create({name:t,providers:[{provide:Hu,useValue:"platform"},{provide:Xd,useValue:new Set([()=>Fn=null])},...n]})}(a,i))}return function _R(n){const t=Jd();if(!t)throw new E(401,!1);return t}()}}function Jd(){var n;return null!==(n=null==Fn?void 0:Fn.get(tb))&&void 0!==n?n:null}let tb=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function ib(n,t){let e;return e="noop"===n?new dR:("zone.js"===n?void 0:n)||new te(t),e}(null==i?void 0:i.ngZone,function nb(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:te,useValue:r}];return r.run(()=>{const s=It.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(qn,null);if(!l)throw new E(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{Za(this._modules,a),c.unsubscribe()})}),function rb(n,t,e){try{const i=e();return Ba(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(Ya);return c.runInitializers(),c.donePromise.then(()=>(function Oy(n){Ot(n,"Expected localeId to be defined"),"string"==typeof n&&(Fy=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Tn,Yr)||Yr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=ob({},i);return function hR(n,t,e){const i=new Rd(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(eo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new E(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Xd,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(b(It))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function ob(n,t){return Array.isArray(t)?t.reduce(ob,n):Object.assign(Object.assign({},n),t)}let eo=(()=>{class n{constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new De(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new De(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),qd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Vn(o,s.pipe(kp()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof Fm;if(!this._injector.get(Ya).done)throw!r&&function bo(n){const t=ge(n)||ht(n)||pt(n);return null!==t&&t.standalone}(e),new E(405,false);let s;s=r?e:this._injector.get($i).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function pR(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Qr),c=s.create(It.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Qv,null);return null==d||d.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Za(this.components,c),null==d||d.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Za(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(zv,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Za(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new E(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(b(te),b(Ir),b(qn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Za(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let ab=!0,qi=(()=>{class n{}return n.__NG_ELEMENT_ID__=bR,n})();function bR(n){return function wR(n,t,e){if(Js(n)&&!e){const i=Nt(n.index,t);return new Wo(i,i)}return 47&n.type?new Wo(t[16],t):null}(qe(),w(),16==(16&n))}class fb{constructor(){}supports(t){return Ko(t)}create(t){return new MR(t)}}const SR=(n,t)=>t;class MR{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||SR}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex<pb(i,r,o)?e:i,a=pb(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,u=l-r;if(c!=u){for(let f=0;f<c;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;u<=p&&p<c&&(o[f]=h+1)}o[s.previousIndex]=u-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Ko(t))throw new E(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,s,e=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,s,a),i=!0),e=e._next}else r=0,function tT(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{const e=n[Gi()]();let i;for(;!(i=e.next()).done;)t(i.value)}}(t,a=>{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new AR(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new hb),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new hb),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class AR{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class IR{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class hb{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new IR,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pb(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+t+r}class gb{constructor(){}supports(t){return t instanceof Map||bd(t)}create(){return new TR}}class TR{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||bd(t)))throw new E(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new FR(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class FR{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function mb(){return new us([new fb])}let us=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||mb()),deps:[[n,new Lo,new Li]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new E(901,!1)}}return n.\u0275prov=x({token:n,providedIn:"root",factory:mb}),n})();function _b(){return new Yi([new gb])}let Yi=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||_b()),deps:[[n,new Lo,new Li]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new E(901,!1)}}return n.\u0275prov=x({token:n,providedIn:"root",factory:_b}),n})();const kR=Jv(null,"core",[]);let PR=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(b(eo))},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({}),n})();let el=null;function On(){return el}const ne=new S("DocumentToken");let yb=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:function(){return function BR(){return b(vb)}()},providedIn:"platform"}),n})(),vb=(()=>{class n extends yb{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return On().getBaseHref(this._doc)}onPopState(e){const i=On().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=On().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,r){bb()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){bb()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(b(ne))},n.\u0275prov=x({token:n,factory:function(){return function HR(){return new vb(b(ne))}()},providedIn:"platform"}),n})();function bb(){return!!window.history.pushState}function wb(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function Cb(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Qi(n){return n&&"?"!==n[0]?"?"+n:n}let af=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:function(){return Un($R)},providedIn:"root"}),n})();const jR=new S("appBaseHref");let $R=(()=>{class n extends af{constructor(e,i){var r,o,s;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=null!==(s=null!==(r=null!=i?i:this._platformLocation.getBaseHrefFromDOM())&&void 0!==r?r:null===(o=Un(ne).location)||void 0===o?void 0:o.origin)&&void 0!==s?s:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return wb(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Qi(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Qi(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Qi(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,r;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(b(yb),b(jR,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Db=(()=>{class n{constructor(e){this._subject=new fe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=Cb(Eb(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Qi(i))}normalize(e){return n.stripTrailingSlash(function UR(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,Eb(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qi(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var i,r;null===(r=(i=this._locationStrategy).historyGo)||void 0===r||r.call(i,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var i;const r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(null===(i=this._urlChangeSubscription)||void 0===i||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Qi,n.joinWithSlash=wb,n.stripTrailingSlash=Cb,n.\u0275fac=function(e){return new(e||n)(b(af))},n.\u0275prov=x({token:n,factory:function(){return function GR(){return new Db(b(af))}()},providedIn:"root"}),n})();function Eb(n){return n.replace(/\/index.html$/,"")}function Rb(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}let ul=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Ko(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${_e(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(g(us),g(Yi),g(G),g(Wn))},n.\u0275dir=D({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class Ak{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Nb=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new Ak(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),Lb(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{Lb(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(gn),g(In),g(us))},n.\u0275dir=D({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function Lb(n,t){n.context.$implicit=t.item}let dl=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new Tk,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Vb("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Vb("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(gn),g(In))},n.\u0275dir=D({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class Tk{constructor(){this.$implicit=null,this.ngIf=null}}function Vb(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${_e(t)}'.`)}class _f{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let hs=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i<this._defaultViews.length;i++)this._defaultViews[i].enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=D({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),yf=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new _f(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(g(gn),g(In),g(hs,9))},n.\u0275dir=D({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),Bb=(()=>{class n{constructor(e,i,r){r._addDefault(new _f(e,i))}}return n.\u0275fac=function(e){return new(e||n)(g(gn),g(In),g(hs,9))},n.\u0275dir=D({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),jb=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(g(gn))},n.\u0275dir=D({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[gt]}),n})(),ps=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({}),n})();const Gb="browser";function bi(n){return n===Gb}function to(n){return"server"===n}class zb{}class Ef extends class IP extends class VR{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function LR(n){el||(el=n)}(new Ef)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function TP(){return ms=ms||document.querySelector("base"),ms?ms.getAttribute("href"):null}();return null==e?null:function FP(n){pl=pl||document.createElement("a"),pl.setAttribute("href",n);const t=pl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){ms=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Rb(document.cookie,t)}}let pl,ms=null;const Qb=new S("TRANSITION_ID"),RP=[{provide:$v,useFactory:function OP(n,t,e){return()=>{e.get(Ya).donePromise.then(()=>{const i=On(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o<r.length;o++)i.remove(r[o])})}},deps:[Qb,ne,It],multi:!0}];let PP=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const gl=new S("EventManagerPlugins");let ml=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o<r.length;o++){const s=r[o];if(s.supports(e))return this._eventNameToPlugin.set(e,s),s}throw new Error(`No event manager plugin found for event ${e}`)}}return n.\u0275fac=function(e){return new(e||n)(b(gl),b(te))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class Zb{constructor(t){this._doc=t}addGlobalEventListener(t,e,i){const r=On().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,i)}}let Xb=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),_s=(()=>{class n extends Xb{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(Jb),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Jb))}}return n.\u0275fac=function(e){return new(e||n)(b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();function Jb(n){On().remove(n)}const xf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Sf=/%COMP%/g;function _l(n,t,e){for(let i=0;i<t.length;i++){let r=t[i];Array.isArray(r)?_l(n,r,e):(r=r.replace(Sf,n),e.push(r))}return e}function nw(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let yl=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Mf(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case an.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new jP(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case an.ShadowDom:return new $P(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=_l(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(b(ml),b(_s),b(ls))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class Mf{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(xf[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(rw(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(rw(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=xf[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=xf[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(At.DashCase|At.Important)?t.style.setProperty(e,i,r&At.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&At.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,nw(i)):this.eventManager.addEventListener(t,e,nw(i))}}function rw(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class jP extends Mf{constructor(t,e,i,r){super(t),this.component=i;const o=_l(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function VP(n){return"_ngcontent-%COMP%".replace(Sf,n)}(r+"-"+i.id),this.hostAttr=function BP(n){return"_nghost-%COMP%".replace(Sf,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class $P extends Mf{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=_l(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let GP=(()=>{class n extends Zb{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const ow=["alt","control","meta","shift"],UP={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zP={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let WP=(()=>{class n extends Zb{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>On().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),ow.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=UP[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),ow.forEach(s=>{s!==r&&(0,zP[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const QP=Jv(kR,"browser",[{provide:zt,useValue:Gb},{provide:Uv,useValue:function qP(){Ef.makeCurrent()},multi:!0},{provide:ne,useFactory:function YP(){return function TM(n){Ou=n}(document),document},deps:[]}]),lw=new S(""),cw=[{provide:Qa,useClass:class kP{addToWindow(t){ve.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},ve.getAllAngularTestabilities=()=>t.getAllTestabilities(),ve.getAllAngularRootElements=()=>t.getAllRootElements(),ve.frameworkStabilizers||(ve.frameworkStabilizers=[]),ve.frameworkStabilizers.push(i=>{const r=ve.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:i?On().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}},deps:[]},{provide:Qv,useClass:Qd,deps:[te,Zd,Qa]},{provide:Qd,useClass:Qd,deps:[te,Zd,Qa]}],uw=[{provide:Hu,useValue:"root"},{provide:qn,useFactory:function KP(){return new qn},deps:[]},{provide:gl,useClass:GP,multi:!0,deps:[ne,te,zt]},{provide:gl,useClass:WP,multi:!0,deps:[ne]},{provide:yl,useClass:yl,deps:[ml,_s,ls]},{provide:zo,useExisting:yl},{provide:Xb,useExisting:_s},{provide:_s,useClass:_s,deps:[ne]},{provide:ml,useClass:ml,deps:[gl,te]},{provide:zb,useClass:PP,deps:[]},[]];let dw=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:ls,useValue:e.appId},{provide:Qb,useExisting:ls},RP]}}}return n.\u0275fac=function(e){return new(e||n)(b(lw,12))},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:[...uw,...cw],imports:[ps,PR]}),n})();"undefined"!=typeof window&&window;let vl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:function(e){let i=null;return i=e?new(e||n):b(pw),i},providedIn:"root"}),n})(),pw=(()=>{class n extends vl{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case le.NONE:return i;case le.HTML:return En(i,"HTML")?Bt(i):vm(this._doc,String(i)).toString();case le.STYLE:return En(i,"Style")?Bt(i):i;case le.SCRIPT:if(En(i,"Script"))return Bt(i);throw new Error("unsafe value used in a script context");case le.URL:return En(i,"URL")?Bt(i):Ca(String(i));case le.RESOURCE_URL:if(En(i,"ResourceURL"))return Bt(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function LM(n){return new FM(n)}(e)}bypassSecurityTrustStyle(e){return function VM(n){return new OM(n)}(e)}bypassSecurityTrustScript(e){return function BM(n){return new RM(n)}(e)}bypassSecurityTrustUrl(e){return function HM(n){return new kM(n)}(e)}bypassSecurityTrustResourceUrl(e){return function jM(n){return new PM(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(b(ne))},n.\u0275prov=x({token:n,factory:function(e){let i=null;return i=e?new e:function oN(n){return new pw(n.get(ne))}(b(It)),i},providedIn:"root"}),n})();function Zi(...n){return ui(n,yo(n))}function ei(n,t){return tt((e,i)=>{let r=0;e.subscribe(Xe(i,o=>n.call(t,o,r++)&&i.next(o)))})}class gw{}class mw{}class ti{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof ti?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new ti;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof ti?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class aN{encodeKey(t){return _w(t)}encodeValue(t){return _w(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const cN=/%(\d[a-f0-9])/gi,uN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _w(n){return encodeURIComponent(n).replace(cN,(t,e)=>{var i;return null!==(i=uN[e])&&void 0!==i?i:t})}function bl(n){return`${n}`}class Ci{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new aN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function lN(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(bl):[bl(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Ci({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(bl(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(bl(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class dN{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function yw(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function vw(n){return"undefined"!=typeof Blob&&n instanceof Blob}function bw(n){return"undefined"!=typeof FormData&&n instanceof FormData}class ys{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function fN(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new ti),this.context||(this.context=new dN),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+s}}else this.params=new Ci,this.urlWithParams=e}serializeBody(){return null===this.body?null:yw(this.body)||vw(this.body)||bw(this.body)||function hN(n){return"undefined"!=typeof URLSearchParams&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ci?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||bw(this.body)?null:vw(this.body)?this.body.type||null:yw(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ci?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const i=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,l=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let c=t.headers||this.headers,u=t.params||this.params;const d=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),u)),new ys(i,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:o,withCredentials:a})}}var ze=(()=>((ze=ze||{})[ze.Sent=0]="Sent",ze[ze.UploadProgress=1]="UploadProgress",ze[ze.ResponseHeader=2]="ResponseHeader",ze[ze.DownloadProgress=3]="DownloadProgress",ze[ze.Response=4]="Response",ze[ze.User=5]="User",ze))();class Tf{constructor(t,e=200,i="OK"){this.headers=t.headers||new ti,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Ff extends Tf{constructor(t={}){super(t),this.type=ze.ResponseHeader}clone(t={}){return new Ff({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class wl extends Tf{constructor(t={}){super(t),this.type=ze.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new wl({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ww extends Tf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Of(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Rf=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ys)o=e;else{let l,c;l=r.headers instanceof ti?r.headers:new ti(r.headers),r.params&&(c=r.params instanceof Ci?r.params:new Ci({fromObject:r.params})),o=new ys(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=Zi(o).pipe(function sN(n,t){return re(t)?_o(n,t,1):_o(n,1)}(l=>this.handler.handle(l)));if(e instanceof ys||"events"===r.observe)return s;const a=s.pipe(ei(l=>l instanceof wl));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Je(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Je(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Je(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Je(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Ci).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Of(r,i))}post(e,i,r={}){return this.request("POST",e,Of(r,i))}put(e,i,r={}){return this.request("PUT",e,Of(r,i))}}return n.\u0275fac=function(e){return new(e||n)(b(gw))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class Cw{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Dw=new S("HTTP_INTERCEPTORS");let pN=(()=>{class n{intercept(e,i){return i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const gN=/^\)\]\}',?\n/;let Ew=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new De(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((h,p)=>r.setRequestHeader(h,p.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const h=e.detectContentTypeHeader();null!==h&&r.setRequestHeader("Content-Type",h)}if(e.responseType){const h=e.responseType.toLowerCase();r.responseType="json"!==h?h:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=r.statusText||"OK",p=new ti(r.getAllResponseHeaders()),m=function mN(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new Ff({headers:p,status:r.status,statusText:h,url:m}),s},l=()=>{let{headers:h,status:p,statusText:m,url:y}=a(),_=null;204!==p&&(_=void 0===r.response?r.responseText:r.response),0===p&&(p=_?200:0);let C=p>=200&&p<300;if("json"===e.responseType&&"string"==typeof _){const v=_;_=_.replace(gN,"");try{_=""!==_?JSON.parse(_):null}catch(A){_=v,C&&(C=!1,_={error:A,text:_})}}C?(i.next(new wl({body:_,headers:h,status:p,statusText:m,url:y||void 0})),i.complete()):i.error(new ww({error:_,headers:h,status:p,statusText:m,url:y||void 0}))},c=h=>{const{url:p}=a(),m=new ww({error:h,status:r.status||0,statusText:r.statusText||"Unknown Error",url:p||void 0});i.error(m)};let u=!1;const d=h=>{u||(i.next(a()),u=!0);let p={type:ze.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===e.responseType&&!!r.responseText&&(p.partialText=r.responseText),i.next(p)},f=h=>{let p={type:ze.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),i.next(p)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==o&&r.upload&&r.upload.addEventListener("progress",f)),r.send(o),i.next({type:ze.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==o&&r.upload&&r.upload.removeEventListener("progress",f)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(b(zb))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const kf=new S("XSRF_COOKIE_NAME"),Pf=new S("XSRF_HEADER_NAME");class xw{}let _N=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Rb(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(b(ne),b(zt),b(kf))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),Nf=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(b(xw),b(Pf))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),yN=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(Dw,[]);this.chain=i.reduceRight((r,o)=>new Cw(r,o),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(b(mw),b(It))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),vN=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:Nf,useClass:pN}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:kf,useValue:e.cookieName}:[],e.headerName?{provide:Pf,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:[Nf,{provide:Dw,useExisting:Nf,multi:!0},{provide:xw,useClass:_N},{provide:kf,useValue:"XSRF-TOKEN"},{provide:Pf,useValue:"X-XSRF-TOKEN"}]}),n})(),bN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:[Rf,{provide:gw,useClass:yN},Ew,{provide:mw,useExisting:Ew}],imports:[vN.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),n})();class wN extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function Sw(n){var t;for(let e in n){let i=null!==(t=n[e])&&void 0!==t?t:"";switch(e){case"display":n.display="flex"===i?["-webkit-flex","flex"]:"inline-flex"===i?["-webkit-inline-flex","inline-flex"]:i;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+e]=i;break;case"flex-direction":n["-webkit-flex-direction"]=i,n["flex-direction"]=i;break;case"order":n.order=n["-webkit-"+e]=isNaN(+i)?"0":i}}return n}const Lf="inline",Cl=["row","column","row-reverse","column-reverse"];function Mw(n){let[t,e,i]=Aw(n);return function DN(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}(t,e,i)}function Aw(n){var t;n=null!==(t=null==n?void 0:n.toLowerCase())&&void 0!==t?t:"";let[e,i,r]=n.split(" ");return Cl.find(o=>o===e)||(e=Cl[0]),i===Lf&&(i=r!==Lf?r:"",r=Lf),[e,CN(i),!!r]}function vs(n){let[t]=Aw(n);return t.indexOf("row")>-1}function CN(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}function ni(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}function no(n,t,e){const i=re(n)||t||e?{next:n,error:t,complete:e}:n;return i?tt((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Xe(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):dr}const xN={provide:zv,useFactory:function EN(n,t){return()=>{if(bi(t)){const e=Array.from(n.querySelectorAll(`[class*=${Iw}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${Iw}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[ne,zt],multi:!0},Iw="flex-layout-";let Vf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:[xN]}),n})();class Xi{constructor(t=!1,e="all",i="",r="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new Xi(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let SN=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){const o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){const r=this.stylesheet.get(e);let o="";if(r){const s=r.get(i);("number"==typeof s||"string"==typeof s)&&(o=s+"")}return o}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Bf={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},vn=new S("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Bf}),io=new S("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Hf=new S("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Tw(n,t){var e;return n=null!==(e=null==n?void 0:n.clone())&&void 0!==e?e:new Xi,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}class ke{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}}let Ee=(()=>{class n{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};"string"==typeof i&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:Sw(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){const r=this.layoutConfig.disableVendorPrefixes?e:Sw(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){const i="flex-direction";let r=this.lookupStyle(e,i);return[r||"row",this.lookupInlineStyle(e,i)||to(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,i){var r;return null!==(r=e.getAttribute(i))&&void 0!==r?r:""}lookupInlineStyle(e,i){return bi(this._platformId)?e.style.getPropertyValue(i):function MN(n,t){var e;return null!==(e=Fw(n)[t])&&void 0!==e?e:""}(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(bi(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{const o=e[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",bi(this._platformId)||!this._serverModuleLoaded?bi(this._platformId)?i.style.setProperty(r,a):AN(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}}return n.\u0275fac=function(e){return new(e||n)(b(SN),b(io),b(zt),b(vn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function AN(n,t,e){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=Fw(n);i[t]=null!=e?e:"",function IN(n,t){let e="";for(const i in t)t[i]&&(e+=`${i}:${t[i]};`);n.setAttribute("style",e)}(n,i)}function Fw(n){const t={},e=n.getAttribute("style");if(e){const i=e.split(/;+/g);for(let r=0;r<i.length;r++){const o=i[r].trim();if(o.length>0){const s=o.indexOf(":");if(-1===s)throw new Error(`Invalid CSS style: ${o}`);t[o.substr(0,s).trim()]=o.substr(s+1).trim()}}}return t}function bs(n,t){return(t&&t.priority||0)-(n&&n.priority||0)}function TN(n,t){return(n.priority||0)-(t.priority||0)}let jf=(()=>{class n{constructor(e,i,r){this._zone=e,this._platformId=i,this._document=r,this.source=new wN(new Xi(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){var i;const r=this.registry.get(e);return null!==(i=null==r?void 0:r.matches)&&void 0!==i?i:this.registerQuery(e).some(o=>o.matches)}observe(e,i=!1){if(e&&e.length){const r=this._observable$.pipe(ei(s=>!i||e.indexOf(s.mediaQuery)>-1));return Vn(new De(s=>{const a=this.registerQuery(e);if(a.length){const l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()}),r)}return this._observable$}registerQuery(e){const i=Array.isArray(e)?e:[e],r=[];return function FN(n,t){const e=n.filter(i=>!Ow[i]);if(e.length>0){const i=e.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),t.head.appendChild(r),e.forEach(o=>Ow[o]=r)}catch(r){console.error(r)}}}(i,this._document),i.forEach(o=>{const s=l=>{this._zone.run(()=>this.source.next(new Xi(l.matches,o)))};let a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new Xi(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function RN(n,t){return t&&window.matchMedia("all").addListener?window.matchMedia(n):function ON(n){const t=new EventTarget;return t.matches="all"===n||""===n,t.media=n,t.addListener=()=>{},t.removeListener=()=>{},t.addEventListener=()=>{},t.dispatchEvent=()=>!1,t.onchange=null,t}(n)}(e,bi(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(b(te),b(zt),b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ow={},kN=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Rw="(orientation: portrait) and (max-width: 599.98px)",kw="(orientation: landscape) and (max-width: 959.98px)",Pw="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Nw="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Lw="(orientation: portrait) and (min-width: 840px)",Vw="(orientation: landscape) and (min-width: 1280px)",ii={HANDSET:`${Rw}, ${kw}`,TABLET:`${Pw} , ${Nw}`,WEB:`${Lw}, ${Vw} `,HANDSET_PORTRAIT:`${Rw}`,TABLET_PORTRAIT:`${Pw} `,WEB_PORTRAIT:`${Lw}`,HANDSET_LANDSCAPE:`${kw}`,TABLET_LANDSCAPE:`${Nw}`,WEB_LANDSCAPE:`${Vw}`},PN=[{alias:"handset",priority:2e3,mediaQuery:ii.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:ii.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:ii.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:ii.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:ii.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:ii.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:ii.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:ii.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:ii.WEB_PORTRAIT,overlapping:!0}],NN=/(\.|-|_)/g;function LN(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}const jN=new S("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=Un(Hf),t=Un(vn),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r]));return function HN(n,t=[]){const e={};return n.forEach(i=>{e[i.alias]=i}),t.forEach(i=>{e[i.alias]?ni(e[i.alias],i):e[i.alias]=i}),function BN(n){return n.forEach(t=>{t.suffix||(t.suffix=function VN(n){return n.replace(NN,"|").split("|").map(LN).join("")}(t.alias),t.overlapping=!!t.overlapping)}),n}(Object.keys(e).map(i=>e[i]))}((t.disableDefaultBps?[]:kN).concat(t.addOrientationBps?PN:[]),e)}});let $f=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(TN)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>{var i;return null!==(i=null==e?void 0:e.suffix)&&void 0!==i?i:""})}findWithPredicate(e,i){var r;let o=this.findByMap.get(e);return o||(o=null!==(r=this.items.find(i))&&void 0!==r?r:null,this.findByMap.set(e,o)),null!=o?o:null}}return n.\u0275fac=function(e){return new(e||n)(b(jN))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ro="print",$N={alias:ro,mediaQuery:ro,priority:1e3};let GN=(()=>{class n{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new UN,this.deactivations=[]}withPrintQuery(e){return[...e,ro]}isPrintEvent(e){return e.mediaQuery.startsWith(ro)}get printAlias(){var e;return[...null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(bs)}updateEvent(e){var i;let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(i=null==r?void 0:r.mediaQuery)&&void 0!==i?i:""),Tw(e,r)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Xi(!0,ro))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const r=this.breakpoints.findByQuery(i.mediaQuery);if(r){const o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(bs))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(b($f),b(vn),b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class UN{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push($N),t.sort(bs),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function zN(n){var t;return null!==(t=null==n?void 0:n.mediaQuery.startsWith(ro))&&void 0!==t&&t}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}let Me=(()=>{class n{constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new ce,this.observeActivations()}get activatedAlias(){var e,i;return null!==(i=null===(e=this.activatedBreakpoints[0])||void 0===e?void 0:e.alias)&&void 0!==i?i:""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const i=this.findByQuery(e.mediaQuery);if(i){e=Tw(e,i);const r=this.activatedBreakpoints.indexOf(i);e.matches&&-1===r?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(bs),this.updateStyles()):!e.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(bs),this.updateStyles())}}init(e,i,r,o,s=[]){Bw(this.updateMap,e,i,r),Bw(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,s)}getValue(e,i,r){const o=this.elementMap.get(e);if(o){const s=void 0!==r?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);if(o)return void 0!==o.get(i)||!1}return!1}setValue(e,i,r,o){var s;let a=this.elementMap.get(e);if(a){const c=(null!==(s=a.get(o))&&void 0!==s?s:new Map).set(i,r);a.set(o,c),this.elementMap.set(e,a)}else a=(new Map).set(o,(new Map).set(i,r)),this.elementMap.set(e,a);const l=this.getValue(e,i);void 0!==l&&this.updateElement(e,i,l)}trackValue(e,i){return this.subject.asObservable().pipe(ei(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{const r=new Set(this.elementKeyMap.get(i));let o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(e,s),o){const a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(e,i){const r=this.clearMap.get(e);if(r){const o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){const o=this.updateMap.get(e);if(o){const s=o.get(i);s&&(s(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){const i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){const a=Vn(...r).subscribe(()=>{const l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;o<this.activatedBreakpoints.length;o++){const a=e.get(this.activatedBreakpoints[o].alias);if(a&&(void 0===i||a.has(i)&&null!=a.get(i)))return a}if(!this._useFallbacks)return;const r=e.get("");return void 0===i||r&&r.has(i)?r:void 0}observeActivations(){const e=this.breakpoints.items.map(i=>i.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(no(this.hook.interceptEvents(this)),ei(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(b(jf),b($f),b(GN))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Bw(n,t,e,i){var r;if(void 0!==i){const o=null!==(r=n.get(t))&&void 0!==r?r:new Map;o.set(e,i),n.set(t,o)}}let Te=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new ce,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const r=i.split(".").slice(1).join(".");this.setValue(e[i].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){const r=this.styleBuilder,o=r.shouldCache;let s=this.styleCache.get(e);(!s||!o)&&(s=r.buildStyles(e,i),o&&this.styleCache.set(e,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),r.sideEffect(e,s,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){const[r,o]=this.styler.getFlowDirection(e);if(!o&&i){const s=Mw(r);this.styler.applyStyleToElements(s,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(g(G),g(ke),g(Ee),g(Me))},n.\u0275dir=D({type:n,features:[gt]}),n})();function xe(n){return null!=n&&"false"!=`${n}`}function Gf(n,t=0){return function KN(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function El(n){return Array.isArray(n)?n:[n]}function We(n){return null==n?"":"string"==typeof n?n:`${n}px`}function oo(n){return n instanceof G?n.nativeElement:n}function Ze(n){return tt((t,e)=>{xt(n).subscribe(Xe(e,()=>e.complete(),_c)),!e.closed&&t.subscribe(e)})}EventTarget;let Kw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[Vf]}),n})();const p1=new S("cdk-dir-doc",{providedIn:"root",factory:function g1(){return Un(ne)}}),m1=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let so=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new fe,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function _1(n){const t=(null==n?void 0:n.toLowerCase())||"";return"auto"===t&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?m1.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(b(p1,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ao=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({}),n})(),y1=(()=>{class n extends ke{buildStyles(e,{display:i}){const r=Mw(e);return Object.assign(Object.assign({},r),{display:"none"===i?i:r.display})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=k(n)))(i||n)}}(),n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const v1=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let b1=(()=>{class n extends Te{constructor(e,i,r,o,s){super(e,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var i;const o=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(i=Qw.get(o))&&void 0!==i?i:new Map,Qw.set(o,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:o}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(g(G),g(Ee),g(y1),g(Me),g(vn))},n.\u0275dir=D({type:n,features:[M]}),n})(),Yw=(()=>{class n extends b1{constructor(){super(...arguments),this.inputs=v1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=k(n)))(i||n)}}(),n.\u0275dir=D({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[M]}),n})();const Qw=new Map;let lL=(()=>{class n extends ke{buildStyles(e,i){const r={},[o,s]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;default:r["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;default:r["align-items"]=r["align-content"]="stretch"}return ni(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===s?vs(i.layout)?null:"100%":null,"max-height":"stretch"===s&&vs(i.layout)?"100%":null})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=k(n)))(i||n)}}(),n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const cL=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let uL=(()=>{class n extends Te{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ze(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const i=this.layout||"row",r=this.inline;"row"===i&&r?this.styleCache=gL:"row"!==i||r?"row-reverse"===i&&r?this.styleCache=_L:"row-reverse"!==i||r?"column"===i&&r?this.styleCache=mL:"column"!==i||r?"column-reverse"===i&&r?this.styleCache=yL:"column-reverse"===i&&!r&&(this.styleCache=pL):this.styleCache=fL:this.styleCache=hL:this.styleCache=dL,this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),Cl.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}}return n.\u0275fac=function(e){return new(e||n)(g(G),g(Ee),g(lL),g(Me))},n.\u0275dir=D({type:n,features:[M]}),n})(),Jw=(()=>{class n extends uL{constructor(){super(...arguments),this.inputs=cL}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=k(n)))(i||n)}}(),n.\u0275dir=D({type:n,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[M]}),n})();const dL=new Map,fL=new Map,hL=new Map,pL=new Map,gL=new Map,mL=new Map,_L=new Map,yL=new Map;let eC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[Vf,ao]}),n})(),lC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[Vf]}),n})(),HV=(()=>{class n{constructor(e,i){to(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:vn,useValue:Object.assign(Object.assign({},Bf),e)},{provide:Hf,useValue:i,multi:!0},{provide:io,useValue:!0}]:[{provide:vn,useValue:Object.assign(Object.assign({},Bf),e)},{provide:Hf,useValue:i,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(b(io),b(zt))},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[eC,Kw,lC,eC,Kw,lC]}),n})();const{isArray:jV}=Array,{getPrototypeOf:$V,prototype:GV,keys:UV}=Object;function cC(n){if(1===n.length){const t=n[0];if(jV(t))return{args:t,keys:null};if(function zV(n){return n&&"object"==typeof n&&$V(n)===GV}(t)){const e=UV(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:WV}=Array;function zf(n){return Je(t=>function qV(n,t){return WV(t)?n(...t):n(t)}(n,t))}function uC(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function dC(...n){const t=Tp(n),{args:e,keys:i}=cC(n),r=new De(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;xt(e[u]).subscribe(Xe(o,f=>{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?uC(i,a):a),o.complete())}))}});return t?r.pipe(zf(t)):r}let fC=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(g(Wn),g(G))},n.\u0275dir=D({type:n}),n})(),Ji=(()=>{class n extends fC{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=k(n)))(i||n)}}(),n.\u0275dir=D({type:n,features:[M]}),n})();const bn=new S("NgValueAccessor"),YV={provide:bn,useExisting:ye(()=>Sl),multi:!0},ZV=new S("CompositionEventMode");let Sl=(()=>{class n extends fC{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function QV(){const n=On()?On().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_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)}}return n.\u0275fac=function(e){return new(e||n)(g(Wn),g(G),g(ZV,8))},n.\u0275dir=D({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&we("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[pe([YV]),M]}),n})();function Di(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function pC(n){return null!=n&&"number"==typeof n.length}const ut=new S("NgValidators"),Ei=new S("NgAsyncValidators"),JV=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class gC{static min(t){return function mC(n){return t=>{if(Di(t.value)||Di(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function _C(n){return t=>{if(Di(t.value)||Di(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function yC(n){return Di(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function vC(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function bC(n){return Di(n.value)||JV.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function wC(n){return t=>Di(t.value)||!pC(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function CC(n){return t=>pC(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function DC(n){if(!n)return Ml;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(Di(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return IC(t)}static composeAsync(t){return TC(t)}}function Ml(n){return null}function EC(n){return null!=n}function xC(n){return Ba(n)?ui(n):n}function SC(n){let t={};return n.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function MC(n,t){return t.map(e=>e(n))}function AC(n){return n.map(t=>function eB(n){return!n.validate}(t)?t:e=>t.validate(e))}function IC(n){if(!n)return null;const t=n.filter(EC);return 0==t.length?null:function(e){return SC(MC(e,t))}}function Wf(n){return null!=n?IC(AC(n)):null}function TC(n){if(!n)return null;const t=n.filter(EC);return 0==t.length?null:function(e){return dC(MC(e,t).map(xC)).pipe(Je(SC))}}function qf(n){return null!=n?TC(AC(n)):null}function FC(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function OC(n){return n._rawValidators}function RC(n){return n._rawAsyncValidators}function Kf(n){return n?Array.isArray(n)?n:[n]:[]}function Al(n,t){return Array.isArray(n)?n.includes(t):n===t}function kC(n,t){const e=Kf(t);return Kf(n).forEach(r=>{Al(e,r)||e.push(r)}),e}function PC(n,t){return Kf(t).filter(e=>!Al(n,e))}class NC{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Wf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=qf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Rn extends NC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Dt extends NC{get formDirective(){return null}get path(){return null}}let VC=(()=>{class n extends class LC{constructor(t){this._cd=t}get isTouched(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.touched)}get isUntouched(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.untouched)}get isPristine(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.pristine)}get isDirty(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.dirty)}get isValid(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.valid)}get isInvalid(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.invalid)}get isPending(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.pending)}get isSubmitted(){var t;return!(null===(t=this._cd)||void 0===t||!t.submitted)}}{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(g(Rn,2))},n.\u0275dir=D({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&$t("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[M]}),n})();const ws="VALID",Tl="INVALID",lo="PENDING",Cs="DISABLED";function Xf(n){return(Fl(n)?n.validators:n)||null}function HC(n){return Array.isArray(n)?Wf(n):n||null}function Jf(n,t){return(Fl(t)?t.asyncValidators:n)||null}function jC(n){return Array.isArray(n)?qf(n):n||null}function Fl(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class UC{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=HC(this._rawValidators),this._composedAsyncValidatorFn=jC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ws}get invalid(){return this.status===Tl}get pending(){return this.status==lo}get disabled(){return this.status===Cs}get enabled(){return this.status!==Cs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=HC(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=jC(t)}addValidators(t){this.setValidators(kC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(kC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(PC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(PC(t,this._rawAsyncValidators))}hasValidator(t){return Al(this._rawValidators,t)}hasAsyncValidator(t){return Al(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=lo,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Cs,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ws,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ws||this.status===lo)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Cs:ws}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=lo,this._hasOwnPendingAsyncValidator=!0;const e=xC(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new fe,this.statusChanges=new fe}_calculateStatus(){return this._allControlsDisabled()?Cs:this.errors?Tl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(lo)?lo:this._anyControlsHaveStatus(Tl)?Tl:ws}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Fl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class eh extends UC{constructor(t,e,i){super(Xf(e),Jf(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){(function GC(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new E(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function $C(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new E(1e3,"");if(!i[e])throw new E(1001,"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}function Ds(n,t){var e,i;th(n,t),t.valueAccessor.writeValue(n.value),n.disabled&&(null===(i=(e=t.valueAccessor).setDisabledState)||void 0===i||i.call(e,!0)),function uB(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&zC(n,t)})}(n,t),function fB(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function dB(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&zC(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function cB(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Rl(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Pl(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function kl(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function th(n,t){const e=OC(n);null!==t.validator?n.setValidators(FC(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=RC(n);null!==t.asyncValidator?n.setAsyncValidators(FC(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();kl(t._rawValidators,r),kl(t._rawAsyncValidators,r)}function Pl(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=OC(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=RC(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return kl(t._rawValidators,i),kl(t._rawAsyncValidators,i),e}function zC(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function WC(n,t){th(n,t)}function KC(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const _B={provide:Dt,useExisting:ye(()=>xs)},Es=(()=>Promise.resolve())();let xs=(()=>{class n extends Dt{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new fe,this.form=new eh({},Wf(e),qf(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Es.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ds(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Es.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Es.then(()=>{const i=this._findContainer(e.path),r=new eh({});WC(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Es.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Es.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){var i;return this.submitted=!0,KC(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===(null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(g(ut,10),g(Ei,10))},n.\u0275dir=D({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&we("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pe([_B]),M]}),n})();function YC(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function QC(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const ZC=class extends UC{constructor(t=null,e,i){super(Xf(e),Jf(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Fl(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=QC(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),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),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){YC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){YC(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){QC(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}},bB={provide:Rn,useExisting:ye(()=>rh)},eD=(()=>Promise.resolve())();let rh=(()=>{class n extends Rn{constructor(e,i,r,o,s){super(),this._changeDetectorRef=s,this.control=new ZC,this._registered=!1,this.update=new fe,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function ih(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Sl?e=o:function gB(n){return Object.getPrototypeOf(n.constructor)===Ji}(o)?i=o:r=o}),r||i||e||null}(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function nh(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(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&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ds(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){eD.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function sf(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);eD.then(()=>{var o;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(e){return this._parent?function Ol(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(g(Dt,9),g(ut,10),g(Ei,10),g(bn,10),g(qi,8))},n.\u0275dir=D({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pe([bB]),M,gt]}),n})(),nD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({}),n})();const MB={provide:Dt,useExisting:ye(()=>Ss)};let Ss=(()=>{class n extends Dt{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new fe,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Pl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Ds(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Rl(e.control||null,e,!1),function mB(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){var i;return this.submitted=!0,KC(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===(null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(Rl(i||null,e),(n=>n instanceof ZC)(r)&&(Ds(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);WC(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function hB(n,t){return Pl(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){th(this.form,this),this._oldForm&&Pl(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(g(ut,10),g(Ei,10))},n.\u0275dir=D({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&we("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pe([MB]),M,gt]}),n})(),zB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[nD]}),n})(),WB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[zB]}),n})();class KB extends Be{constructor(t,e){super()}schedule(t,e=0){return this}}const Nl={setInterval(n,t,...e){const{delegate:i}=Nl;return null!=i&&i.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=Nl;return((null==t?void 0:t.clearInterval)||clearInterval)(n)},delegate:void 0};class uh extends KB{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return Nl.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&Nl.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,ur(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const dh={now:()=>(dh.delegate||Date).now(),delegate:void 0};class Ms{constructor(t,e=Ms.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}Ms.now=dh.now;class fh extends Ms{constructor(t,e=Ms.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const hh=new fh(uh),YB=hh;function Ll(n,t=hh){return tt((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,u=t.now();if(u<c)return r=this.schedule(void 0,c-u),void i.add(r);a()}e.subscribe(Xe(i,c=>{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}let ph,bD=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),QB=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=oo(e);return new De(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new ce,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(b(bD))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ZB=(()=>{class n{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new fe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=xe(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Gf(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Ll(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(QB),g(G),g(te))},n.\u0275dir=D({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),XB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:[bD]}),n})();try{ph="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){ph=!1}let co,wn=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?bi(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ph)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(b(zt))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function DD(){if(co)return co;if("object"!=typeof document||!document)return co=new Set(CD),co;let n=document.createElement("input");return co=new Set(CD.filter(t=>(n.setAttribute("type",t),n.type===t))),co}let As,tr;function Vl(n){return function JB(){if(null==As&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>As=!0}))}finally{As=As||!1}return As}()?n:!!n.capture}function e2(){if(null==tr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return tr=!1,tr;if("scrollBehavior"in document.documentElement.style)tr=!0;else{const n=Element.prototype.scrollTo;tr=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return tr}function ED(n){return n.composedPath?n.composedPath()[0]:n.target}function mh(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function Is(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function AD(n,t,e){n?Ln(e,n,t):t()}function wh(...n){return function _2(){return Ap(1)}()(ui(n,yo(n)))}function nr(n){return n<=0?()=>Us:tt((t,e)=>{let i=0;t.subscribe(Xe(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function uo(...n){const t=yo(n);return tt((e,i)=>{(t?wh(n,e,t):wh(n,e)).subscribe(i)})}const ID=new Set;let fo,v2=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w2}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function b2(n){if(!ID.has(n))try{fo||(fo=document.createElement("style"),fo.setAttribute("type","text/css"),document.head.appendChild(fo)),fo.sheet&&(fo.sheet.insertRule(`@media ${n} {body{ }}`,0),ID.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(b(wn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function w2(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let C2=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new ce}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return TD(El(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=function g2(...n){const t=yo(n),e=Tp(n),{args:i,keys:r}=cC(n);if(0===i.length)return ui([],t);const o=new De(function m2(n,t,e=dr){return i=>{AD(t,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)AD(t,()=>{const c=ui(n[l],t);let u=!1;c.subscribe(Xe(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>uC(r,s):dr));return e?o.pipe(zf(e)):o}(TD(El(e)).map(s=>this._registerQuery(s).observable));return o=wh(o.pipe(nr(1)),o.pipe(function y2(n){return ei((t,e)=>n<=e)}(1),Ll(0))),o.pipe(Je(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new De(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(uo(i),Je(({matches:s})=>({query:e,matches:s})),Ze(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(b(v2),b(te))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function TD(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}class S2 extends class x2{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ce,this._typeaheadSubscription=Be.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ce,this.change=new ce,t instanceof ss&&t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}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){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(no(e=>this._pressedLetters.push(e)),Ll(t),ei(()=>this._pressedLetters.length>0),Je(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r<i.length+1;r++){const o=(this._activeItemIndex+r)%i.length,s=i[o];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||Is(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.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){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),r=e[i];this._activeItem=null==r?null:r,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof ss?this._items.toArray():this._items}}{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}const k2=new S("liveAnnouncerElement",{providedIn:"root",factory:function P2(){return null}}),N2=new S("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let L2=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,i;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(i=this._currentResolve)||void 0===i||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),this._document.body.appendChild(r),r}}return n.\u0275fac=function(e){return new(e||n)(b(k2,8),b(te),b(ne),b(N2,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const kD="cdk-high-contrast-black-on-white",PD="cdk-high-contrast-white-on-black",Ch="cdk-high-contrast-active";let V2=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Un(C2).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Ch,kD,PD),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Ch,kD):2===i&&e.add(Ch,PD)}}}return n.\u0275fac=function(e){return new(e||n)(b(wn),b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function B2(n,t){if(1&n&&at(0,"mat-pseudo-checkbox",4),2&n){const e=P();F("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function H2(n,t){if(1&n&&(K(0,"span",5),Gt(1),Z()),2&n){const e=P();R(1),zi("(",e.group.label,")")}}const j2=["*"],G2=new S("mat-sanity-checks",{providedIn:"root",factory:function $2(){return!0}});let Wt=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!mh()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(b(V2),b(G2,8),b(ne))},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[ao,ao]}),n})();function U2(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=xe(t)}}}function LD(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function z2(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=xe(t)}}}function W2(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Gf(e):this.defaultTabIndex}}}function VD(n){return class extends n{constructor(...t){super(...t),this.errorState=!1}updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}}}let Dh=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class K2{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const BD={enterDuration:225,exitDuration:150},Eh=Vl({passive:!0}),HD=["mousedown","touchstart"],jD=["mouseup","mouseleave","touchend","touchcancel"];class Q2{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=oo(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},BD),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function Z2(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),h=d.transitionDuration,p="none"===d.transitionProperty||"0s"===h||"0s, 0s"===h,m=new K2(this,u,i,p);u.style.transform="scale3d(1, 1, 1)",m.state=0,i.persistent||(this._mostRecentTransientRipple=m);let y=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const _=()=>this._finishRippleTransition(m),C=()=>this._destroyRipple(m);u.addEventListener("transitionend",_),u.addEventListener("transitioncancel",C),y={onTransitionEnd:_,onTransitionCancel:C}}),this._activeRipples.set(m,y),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i=Object.assign(Object.assign({},BD),t.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=oo(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(HD))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(jD),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){var e;const i=null!==(e=this._activeRipples.get(t))&&void 0!==e?e:null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==i&&(t.element.removeEventListener("transitionend",i.onTransitionEnd),t.element.removeEventListener("transitioncancel",i.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=function O2(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!function R2(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,Eh)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(HD.forEach(t=>{this._triggerElement.removeEventListener(t,this,Eh)}),this._pointerUpEventsRegistered&&jD.forEach(t=>{this._triggerElement.removeEventListener(t,this,Eh)}))}}const X2=new S("mat-ripple-global-options");let J2=(()=>{class n{constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Q2(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}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:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{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(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(g(G),g(te),g(wn),g(X2,8),g(Jr,8))},n.\u0275dir=D({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&$t("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),$D=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[Wt,Wt]}),n})(),eH=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(g(Jr,8))},n.\u0275cmp=fi({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&$t("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),n})(),tH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[Wt]}),n})();const GD=new S("MAT_OPTION_PARENT_COMPONENT"),UD=new S("MatOptgroup");let nH=0;class iH{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let rH=(()=>{class n{constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+nH++,this.onSelectionChange=new fe,this._stateChanges=new ce}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=xe(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Is(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new iH(this,e))}}return n.\u0275fac=function(e){!function Zm(){throw new Error("invalid")}()},n.\u0275dir=D({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),zD=(()=>{class n extends rH{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(G),g(qi),g(GD,8),g(UD,8))},n.\u0275cmp=fi({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&we("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(ja("id",i.id),nt("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),$t("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[M],ngContentSelectors:j2,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Qo(),j(0,B2,1,2,"mat-pseudo-checkbox",0),K(1,"span",1),jt(2),Z(),j(3,H2,2,1,"span",2),at(4,"div",3)),2&e&&(F("ngIf",i.multiple),R(3),F("ngIf",i.group&&i.group._inert),R(1),F("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[J2,dl,eH],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),n})();function WD(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;s<n+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}let qD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[$D,ps,Wt,tH]}),n})();const sH=["addListener","removeListener"],aH=["addEventListener","removeEventListener"],lH=["on","off"];function Hl(n,t,e,i){if(re(e)&&(i=e,e=void 0),i)return Hl(n,t,e).pipe(zf(i));const[r,o]=function dH(n){return re(n.addEventListener)&&re(n.removeEventListener)}(n)?aH.map(s=>a=>n[s](t,a,e)):function cH(n){return re(n.addListener)&&re(n.removeListener)}(n)?sH.map(KD(n,t)):function uH(n){return re(n.on)&&re(n.off)}(n)?lH.map(KD(n,t)):[];if(!r&&Mc(n))return _o(s=>Hl(s,t,e))(xt(n));if(!r)throw new TypeError("Invalid event target");return new De(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function KD(n,t){return e=>i=>n[e](t,i)}class YD{}const ri="*";function xh(n,t){return{type:7,name:n,definitions:t,options:{}}}function Sh(n,t=null){return{type:4,styles:t,timings:n}}function QD(n,t=null){return{type:2,steps:n,options:t}}function xi(n){return{type:6,styles:n,offset:null}}function jl(n,t,e){return{type:0,name:n,styles:t,options:e}}function $l(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function hH(n=null){return{type:9,options:n}}function pH(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function ZD(n){Promise.resolve().then(n)}class Fs{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ZD(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class XD{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?ZD(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const gH=["connectionContainer"],mH=["inputContainer"],_H=["label"];function yH(n,t){1&n&&(lt(0),K(1,"div",14),at(2,"div",15)(3,"div",16)(4,"div",17),Z(),K(5,"div",18),at(6,"div",15)(7,"div",16)(8,"div",17),Z(),ct())}function vH(n,t){if(1&n){const e=Zn();K(0,"div",19),we("cdkObserveContent",function(){return mt(e),_t(P().updateOutlineGap())}),jt(1,1),Z()}2&n&&F("cdkObserveContentDisabled","outline"!=P().appearance)}function bH(n,t){if(1&n&&(lt(0),jt(1,2),K(2,"span"),Gt(3),Z(),ct()),2&n){const e=P(2);R(3),qr(e._control.placeholder)}}function wH(n,t){1&n&&jt(0,3,["*ngSwitchCase","true"])}function CH(n,t){1&n&&(K(0,"span",23),Gt(1," *"),Z())}function DH(n,t){if(1&n){const e=Zn();K(0,"label",20,21),we("cdkObserveContent",function(){return mt(e),_t(P().updateOutlineGap())}),j(2,bH,4,1,"ng-container",12),j(3,wH,1,0,"ng-content",12),j(4,CH,2,0,"span",22),Z()}if(2&n){const e=P();$t("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),F("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),nt("for",e._control.id)("aria-owns",e._control.id),R(2),F("ngSwitchCase",!1),R(1),F("ngSwitchCase",!0),R(1),F("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function EH(n,t){1&n&&(K(0,"div",24),jt(1,4),Z())}function xH(n,t){if(1&n&&(K(0,"div",25),at(1,"span",26),Z()),2&n){const e=P();R(1),$t("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function SH(n,t){1&n&&(K(0,"div"),jt(1,5),Z()),2&n&&F("@transitionMessages",P()._subscriptAnimationState)}function MH(n,t){if(1&n&&(K(0,"div",30),Gt(1),Z()),2&n){const e=P(2);F("id",e._hintLabelId),R(1),qr(e.hintLabel)}}function AH(n,t){if(1&n&&(K(0,"div",27),j(1,MH,2,2,"div",28),jt(2,6),at(3,"div",29),jt(4,7),Z()),2&n){const e=P();F("@transitionMessages",e._subscriptAnimationState),R(1),F("ngIf",e.hintLabel)}}const IH=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],TH=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],FH=new S("MatError"),OH={transitionMessages:xh("transitionMessages",[jl("enter",xi({opacity:1,transform:"translateY(0%)"})),$l("void => enter",[xi({opacity:0,transform:"translateY(-5px)"}),Sh("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Gl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=D({type:n}),n})();const RH=new S("MatHint");let JD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=D({type:n,selectors:[["mat-label"]]}),n})(),kH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=D({type:n,selectors:[["mat-placeholder"]]}),n})();const eE=new S("MatPrefix");let PH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=D({type:n,selectors:[["","matPrefix",""]],features:[pe([{provide:eE,useExisting:n}])]}),n})();const tE=new S("MatSuffix");let NH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=D({type:n,selectors:[["","matSuffix",""]],features:[pe([{provide:tE,useExisting:n}])]}),n})(),nE=0;const VH=LD(class{constructor(n){this._elementRef=n}},"primary"),BH=new S("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Ah=new S("MatFormField");let HH=(()=>{class n extends VH{constructor(e,i,r,o,s,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=o,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ce,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+nE++,this._labelId="mat-form-field-label-"+nE++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=(null==o?void 0:o.appearance)||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){var i;const r=this._appearance;this._appearance=e||(null===(i=this._defaults)||void 0===i?void 0:i.appearance)||"legacy","outline"===this._appearance&&r!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=xe(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(uo(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Ze(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ze(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Vn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(uo(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(uo(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Ze(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Hl(this._label.nativeElement,"transitionend").pipe(nr(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const u=i.querySelectorAll(`${r}, ${o}`);for(let d=0;d<u.length;d++)u[d].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let s=0,a=0;const l=i.querySelectorAll(r),c=i.querySelectorAll(o);if(this._label&&this._label.nativeElement.children.length){const u=i.getBoundingClientRect();if(0===u.width&&0===u.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const d=this._getStartEnd(u),f=e.children,h=this._getStartEnd(f[0].getBoundingClientRect());let p=0;for(let m=0;m<f.length;m++)p+=f[m].offsetWidth;s=Math.abs(h-d)-5,a=p>0?.75*p+10:0}for(let u=0;u<l.length;u++)l[u].style.width=`${s}px`;for(let u=0;u<c.length;u++)c[u].style.width=`${a}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(g(G),g(qi),g(so,8),g(BH,8),g(wn),g(te),g(Jr,8))},n.\u0275cmp=fi({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(Ut(r,Gl,5),Ut(r,Gl,7),Ut(r,JD,5),Ut(r,JD,7),Ut(r,kH,5),Ut(r,FH,5),Ut(r,RH,5),Ut(r,eE,5),Ut(r,tE,5)),2&e){let o;je(o=$e())&&(i._controlNonStatic=o.first),je(o=$e())&&(i._controlStatic=o.first),je(o=$e())&&(i._labelChildNonStatic=o.first),je(o=$e())&&(i._labelChildStatic=o.first),je(o=$e())&&(i._placeholderChild=o.first),je(o=$e())&&(i._errorChildren=o),je(o=$e())&&(i._hintChildren=o),je(o=$e())&&(i._prefixChildren=o),je(o=$e())&&(i._suffixChildren=o)}},viewQuery:function(e,i){if(1&e&&(vi(gH,7),vi(mH,5),vi(_H,5)),2&e){let r;je(r=$e())&&(i._connectionContainerRef=r.first),je(r=$e())&&(i._inputContainerRef=r.first),je(r=$e())&&(i._label=r.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,i){2&e&&$t("mat-form-field-appearance-standard","standard"==i.appearance)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-appearance-legacy","legacy"==i.appearance)("mat-form-field-invalid",i._control.errorState)("mat-form-field-can-float",i._canLabelFloat())("mat-form-field-should-float",i._shouldLabelFloat())("mat-form-field-has-label",i._hasFloatingLabel())("mat-form-field-hide-placeholder",i._hideControlPlaceholder())("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-focused",i._control.focused)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))("_mat-animation-noopable",!i._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[pe([{provide:Ah,useExisting:n}]),M],ngContentSelectors:TH,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,i){1&e&&(Qo(IH),K(0,"div",0)(1,"div",1,2),we("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),j(3,yH,9,0,"ng-container",3),j(4,vH,2,1,"div",4),K(5,"div",5,6),jt(7),K(8,"span",7),j(9,DH,5,16,"label",8),Z()(),j(10,EH,2,0,"div",9),Z(),j(11,xH,2,4,"div",10),K(12,"div",11),j(13,SH,2,1,"div",12),j(14,AH,5,2,"div",13),Z()()),2&e&&(R(3),F("ngIf","outline"==i.appearance),R(1),F("ngIf",i._prefixChildren.length),R(5),F("ngIf",i._hasFloatingLabel()),R(1),F("ngIf",i._suffixChildren.length),R(1),F("ngIf","outline"!=i.appearance),R(1),F("ngSwitch",i._getDisplayedMessages()),R(1),F("ngSwitchCase","error"),R(1),F("ngSwitchCase","hint"))},dependencies:[dl,hs,yf,ZB],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[OH.transitionMessages]},changeDetection:0}),n})(),Ul=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[ps,Wt,XB,Wt]}),n})();function rE(n){return tt((t,e)=>{let o,i=null,r=!1;i=t.subscribe(Xe(e,void 0,void 0,s=>{o=xt(n(s,rE(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}const GH=["*"];let zl;function Os(n){var t;return(null===(t=function UH(){if(void 0===zl&&(zl=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(zl=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return zl}())||void 0===t?void 0:t.createHTML(n))||n}function oE(n){return Error(`Unable to find icon with the name "${n}"`)}function sE(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function aE(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class ir{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let Wl=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new ir(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(le.HTML,r);if(!s)throw aE(r);const a=Os(s);return this._addSvgIconConfig(e,i,new ir("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new ir(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(le.HTML,i);if(!o)throw aE(i);const s=Os(o);return this._addSvgIconSetConfig(e,new ir("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(le.RESOURCE_URL,e);if(!i)throw sE(e);const r=this._cachedIconsByUrl.get(i);return r?Zi(ql(r)):this._loadSvgIconFromConfig(new ir(e,null)).pipe(no(o=>this._cachedIconsByUrl.set(i,o)),Je(o=>ql(o)))}getNamedSvgIcon(e,i=""){const r=lE(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):function jH(n,t){const e=re(n)?n:()=>n,i=r=>r.error(e());return new De(t?r=>t.schedule(i,0,r):i)}(oE(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Zi(ql(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Je(i=>ql(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?Zi(r):dC(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(rE(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(le.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),Zi(null)})))).pipe(Je(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw oE(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(no(i=>e.svgText=i),Je(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Zi(null):this._fetchIcon(e).pipe(no(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Os("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Os("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){const{name:s,value:a}=r[o];"id"!==s&&i.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){var i;const{url:r,options:o}=e,s=null!==(i=null==o?void 0:o.withCredentials)&&void 0!==i&&i;if(!this._httpClient)throw function zH(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==r)throw Error(`Cannot fetch icon from URL "${r}".`);const a=this._sanitizer.sanitize(le.RESOURCE_URL,r);if(!a)throw sE(r);const l=this._inProgressUrlFetches.get(a);if(l)return l;const c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(Je(u=>Os(u)),function $H(n){return tt((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}(()=>this._inProgressUrlFetches.delete(a)),kp());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(lE(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](i,e);if(o)return qH(o)?new ir(o.url,null,o.options):new ir(o,null)}}}return n.\u0275fac=function(e){return new(e||n)(b(Rf,8),b(vl),b(ne,8),b(qn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ql(n){return n.cloneNode(!0)}function lE(n,t){return n+":"+t}function qH(n){return!(!n.url||!n.options)}const KH=LD(class{constructor(n){this._elementRef=n}}),YH=new S("MAT_ICON_DEFAULT_OPTIONS"),QH=new S("mat-icon-location",{providedIn:"root",factory:function ZH(){const n=Un(ne),t=n?n.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),cE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],XH=cE.map(n=>`[${n}]`).join(", "),JH=/^url\(['"]?#(.*?)['"]?\)$/;let ej=(()=>{class n extends KH{constructor(e,i,r,o,s,a){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Be.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=xe(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(XH),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)cE.forEach(s=>{const a=i[o],l=a.getAttribute(s),c=l?l.match(JH):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(nr(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(g(G),g(Wl),To("aria-hidden"),g(QH),g(qn),g(YH,8))},n.\u0275cmp=fi({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(nt("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),$t("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[M],ngContentSelectors:GH,decls:1,vars:0,template:function(e,i){1&e&&(Qo(),jt(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),tj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[Wt,Wt]}),n})();const uE=Vl({passive:!0});let nj=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Us;const i=oo(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new ce,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,uE),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,uE)}}),o}stopMonitoring(e){const i=oo(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(b(wn),b(te))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({}),n})();const ij=new S("MAT_INPUT_VALUE_ACCESSOR"),rj=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let oj=0;const sj=VD(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new ce}});let aj=(()=>{class n extends sj{constructor(e,i,r,o,s,a,l,c,u,d){super(a,o,s,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+oj++,this.focused=!1,this.stateChanges=new ce,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(p=>DD().has(p)),this._iOSKeyupListener=p=>{const m=p.target;!m.value&&0===m.selectionStart&&0===m.selectionEnd&&(m.setSelectionRange(1,1),m.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,h=f.nodeName.toLowerCase();this._inputValueAccessor=l||f,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=xe(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,r,o;return null!==(o=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(gC.required))&&void 0!==o&&o}set required(e){this._required=xe(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&DD().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=xe(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e;const i=this._formField,r=!i||"legacy"!==i.appearance||null!==(e=i._hasLabel)&&void 0!==e&&e.call(i)?this.placeholder:null;if(r!==this._previousPlaceholder){const o=this._elementRef.nativeElement;this._previousPlaceholder=r,r?o.setAttribute("placeholder",r):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){rj.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(g(G),g(wn),g(Rn,10),g(xs,8),g(Ss,8),g(Dh),g(ij,10),g(nj),g(te),g(Ah,8))},n.\u0275dir=D({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&we("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(ja("disabled",i.disabled)("required",i.required),nt("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),$t("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[pe([{provide:Gl,useExisting:n}]),M,gt]}),n})(),lj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:[Dh],imports:[dE,Ul,Wt,dE,Ul]}),n})();const Rs={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Rs;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new Be(()=>null==e?void 0:e(r))},requestAnimationFrame(...n){const{delegate:t}=Rs;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=Rs;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame)(...n)},delegate:void 0};new class uj extends fh{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class cj extends uh{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Rs.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Rs.cancelAnimationFrame(e),t._scheduled=void 0)}});let Ih,fj=1;const Kl={};function fE(n){return n in Kl&&(delete Kl[n],!0)}const hj={setImmediate(n){const t=fj++;return Kl[t]=!0,Ih||(Ih=Promise.resolve()),Ih.then(()=>fE(t)&&n()),t},clearImmediate(n){fE(n)}},{setImmediate:pj,clearImmediate:gj}=hj,Yl={setImmediate(...n){const{delegate:t}=Yl;return((null==t?void 0:t.setImmediate)||pj)(...n)},clearImmediate(n){const{delegate:t}=Yl;return((null==t?void 0:t.clearImmediate)||gj)(n)},delegate:void 0};new class _j extends fh{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class mj extends uh{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Yl.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Yl.clearImmediate(e),t._scheduled=void 0)}});function hE(n,t=hh){return function vj(n){return tt((t,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(null==o||o.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(Xe(e,c=>{i=!0,r=c,o||xt(n(c)).subscribe(o=Xe(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>function wj(n=0,t,e=YB){let i=-1;return null!=t&&(Ip(t)?e=t:i=t),new De(r=>{let o=function bj(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(n,t))}let Dj=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new ce,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new De(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(hE(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Zi()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(ei(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=oo(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Hl(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(b(te),b(wn),b(ne,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Th=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ce,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(hE(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(b(wn),b(te),b(ne,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({}),n})(),pE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[ao,Fh,ao,Fh]}),n})();class Oh{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class xj extends Oh{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class gE extends Oh{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Sj extends Oh{constructor(t){super(),this.element=t instanceof G?t.nativeElement:t}}class Aj extends class Mj{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof xj?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof gE?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Sj?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||It.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Ij=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({}),n})();const mE=e2();class Fj{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=We(-this._previousScrollPosition.left),t.style.top=We(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),mE&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),mE&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class Oj{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class _E{enable(){}disable(){}attach(){}}function Rh(n,t){return t.some(e=>n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right)}function yE(n,t){return t.some(e=>n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right)}class Rj{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Rh(e,[{width:i,height:r,bottom:r,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}}let kj=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new _E,this.close=s=>new Oj(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Fj(this._viewportRuler,this._document),this.reposition=s=>new Rj(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(b(Dj),b(Th),b(te),b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class vE{constructor(t){if(this.scrollStrategy=new _E,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class Pj{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}class Nj{constructor(t,e,i,r,o,s,a,l,c,u=!1){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=u,this._backdropElement=null,this._backdropClick=new ce,this._attachments=new ce,this._detachments=new ce,this._locationChanges=Be.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ce,this._outsidePointerEvents=new ce,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(nr(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof(null==e?void 0:e.onDestroy)&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var t;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(t=this._host)||void 0===t||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=We(this._config.width),t.height=We(this._config.height),t.minWidth=We(this._config.minWidth),t.minHeight=We(this._config.minHeight),t.maxWidth=We(this._config.maxWidth),t.maxHeight=We(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),this._animationsDisabled||"undefined"==typeof requestAnimationFrame?this._backdropElement.classList.add(t):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})})}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=El(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Ze(Vn(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(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()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let bE=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||mh()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(e),mh()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return n.\u0275fac=function(e){return new(e||n)(b(ne),b(wn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const wE="cdk-overlay-connected-position-bounding-box",Lj=/([A-Za-z%]+)$/;class Vj{constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ce,this._resizeSubscription=Be.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(wE),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(const c of o){const u=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);u>l&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&rr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wE),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=DE(e);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,f,h),y=p*m;return{visibleArea:y,isCompletelyWithinViewport:o.width*o.height===y,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=CE(this._overlayRef.getConfig().minHeight),a=CE(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=DE(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:t.x<this._viewportMargin?o.left-i.left-t.x:0,d=r.height<=o.height?l||-a:t.y<this._viewportMargin?o.top-i.top-t.y:0,this._previousPushAmount={x:u,y:d},{x:t.x+u,y:t.y+d}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),r=new Pj(t,i);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,r=this._isRtl();let o,s,a,u,d,f;if("top"===e.overlayY)s=t.y,o=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)a=i.height-t.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-t.y+i.top,t.y),p=this._lastBoundingBoxSize.height;o=2*h,s=t.y-h,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)f=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)d=t.x,u=i.right-t.x;else{const h=Math.min(i.right-t.x+i.left,t.x),p=this._lastBoundingBoxSize.width;u=2*h,d=t.x-h,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=We(i.height),r.top=We(i.top),r.bottom=We(i.bottom),r.width=We(i.width),r.left=We(i.left),r.right=We(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=We(o)),s&&(r.maxWidth=We(s))}this._lastBoundingBoxSize=i,rr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){rr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){rr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();rr(i,this._getExactOverlayY(e,t,u)),rr(i,this._getExactOverlayX(e,t,u))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=We(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=We(s.maxWidth):o&&(i.maxWidth="")),rr(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=We(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=We(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:yE(t,i),isOriginOutsideView:Rh(t,i),isOverlayClipped:yE(e,i),isOverlayOutsideView:Rh(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&El(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof G)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function rr(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function CE(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(Lj);return e&&"px"!==e?null:parseFloat(t)}return n||null}function DE(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)}}const EE="cdk-global-overlay-wrapper";class Bj{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(EE),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",m="";l?m="flex-start":"center"===u?(m="center",f?p=d:h=d):f?"left"===u||"end"===u?(m="flex-end",h=d):("right"===u||"start"===u)&&(m="flex-start",p=d):"left"===u||"start"===u?(m="flex-start",h=d):("right"===u||"end"===u)&&(m="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=l?"0":h,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,e.justifyContent=m,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(EE),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Hj=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new Bj}flexibleConnectedTo(e){return new Vj(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(b(Th),b(ne),b(wn),b(bE))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xE=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jj=(()=>{class n extends xE{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(b(ne),b(te,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$j=(()=>{class n extends xE{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=ED(o)},this._clickListener=o=>{const s=ED(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(b(ne),b(wn),b(te,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gj=0,Ql=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,f,h){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new vE(e);return s.direction=s.direction||this._directionality.value,new Nj(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+Gj++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(eo)),new Aj(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(b(kj),b(bE),b($i),b(Hj),b(jj),b(It),b(te),b(ne),b(so),b(Db),b($j),b(Jr,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Uj=[{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"}],SE=new S("cdk-connected-overlay-scroll-strategy");let ME=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(g(G))},n.\u0275dir=D({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),AE=(()=>{class n{constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Be.EMPTY,this._attachSubscription=Be.EMPTY,this._detachSubscription=Be.EMPTY,this._positionSubscription=Be.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new fe,this.positionChange=new fe,this.attach=new fe,this.detach=new fe,this.overlayKeydown=new fe,this.overlayOutsideClick=new fe,this._templatePortal=new gE(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=xe(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=xe(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=xe(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=xe(e)}get push(){return this._push}set push(e){this._push=xe(e)}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&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Uj);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Is(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new vE({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ME?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Tj(n,t=!1){return tt((e,i)=>{let r=0;e.subscribe(Xe(i,o=>{const s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(Ql),g(In),g(gn),g(SE),g(so,8))},n.\u0275dir=D({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[gt]}),n})();const Wj={provide:SE,deps:[Ql],useFactory:function zj(n){return()=>n.scrollStrategies.reposition()}};let qj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:[Ql,Wj],imports:[ao,Ij,pE,pE]}),n})();class Kj{constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ce,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,t))return!0;return!1}return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_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(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}function kh(n,t){return tt((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(Xe(i,l=>{null==r||r.unsubscribe();let c=0;const u=o++;xt(n(l,u)).subscribe(r=Xe(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Zj(n,t){return n===t}const Xj=["trigger"],Jj=["panel"];function e$(n,t){if(1&n&&(K(0,"span",8),Gt(1),Z()),2&n){const e=P();R(1),qr(e.placeholder)}}function t$(n,t){if(1&n&&(K(0,"span",12),Gt(1),Z()),2&n){const e=P(2);R(1),qr(e.triggerValue)}}function n$(n,t){1&n&&jt(0,0,["*ngSwitchCase","true"])}function i$(n,t){1&n&&(K(0,"span",9),j(1,t$,2,1,"span",10),j(2,n$,1,0,"ng-content",11),Z()),2&n&&(F("ngSwitch",!!P().customTrigger),R(2),F("ngSwitchCase",!0))}function r$(n,t){if(1&n){const e=Zn();K(0,"div",13)(1,"div",14,15),we("@transformPanel.done",function(r){return mt(e),_t(P()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return mt(e),_t(P()._handleKeydown(r))}),jt(3,1),Z()()}if(2&n){const e=P();F("@transformPanelWrap",void 0),R(1),yy("mat-select-panel ",e._getPanelTheme(),""),Ed("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),F("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),nt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const o$=[[["mat-select-trigger"]],"*"],s$=["mat-select-trigger","*"],IE={transformPanelWrap:xh("transformPanelWrap",[$l("* => void",pH("@transformPanel",[hH()],{optional:!0}))]),transformPanel:xh("transformPanel",[jl("void",xi({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),jl("showing",xi({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),jl("showing-multiple",xi({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),$l("void => *",Sh("120ms cubic-bezier(0, 0, 0.2, 1)")),$l("* => void",Sh("100ms 25ms linear",xi({opacity:0})))])};let TE=0;const OE=new S("mat-select-scroll-strategy"),u$=new S("MAT_SELECT_CONFIG"),d$={provide:OE,deps:[Ql],useFactory:function c$(n){return()=>n.scrollStrategies.reposition()}};class f${constructor(t,e){this.source=t,this.value=e}}const h$=z2(W2(U2(VD(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new ce}})))),p$=new S("MatSelectTrigger");let g$=(()=>{class n extends h${constructor(e,i,r,o,s,a,l,c,u,d,f,h,p,m){var y,_,C;super(s,o,l,c,d),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=u,this._liveAnnouncer=p,this._defaultOptions=m,this._panelOpen=!1,this._compareWith=(v,A)=>v===A,this._uid="mat-select-"+TE++,this._triggerAriaLabelledBy=null,this._destroy=new ce,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+TE++,this._panelDoneAnimatingStream=new ce,this._overlayPanelClass=(null===(y=this._defaultOptions)||void 0===y?void 0:y.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(C=null===(_=this._defaultOptions)||void 0===_?void 0:_.disableOptionCentering)&&void 0!==C&&C,this.ariaLabel="",this.optionSelectionChanges=function Yj(n){return new De(t=>{xt(n()).subscribe(t)})}(()=>{const v=this.options;return v?v.changes.pipe(uo(v),kh(()=>Vn(...v.map(A=>A.onSelectionChange)))):this._ngZone.onStable.pipe(nr(1),kh(()=>this.optionSelectionChanges))}),this.openedChange=new fe,this._openedStream=this.openedChange.pipe(ei(v=>v),Je(()=>{})),this._closedStream=this.openedChange.pipe(ei(v=>!v),Je(()=>{})),this.selectionChange=new fe,this.valueChange=new fe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==m?void 0:m.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=m.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,i,r,o;return null!==(o=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(gC.required))&&void 0!==o&&o}set required(e){this._required=xe(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=xe(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=xe(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Gf(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Kj(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(function Qj(n,t=dr){return n=null!=n?n:Zj,tt((e,i)=>{let r,o=!0;e.subscribe(Xe(i,s=>{const a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}(),Ze(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Ze(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(uo(null),Ze(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!Is(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||Is(e))if(!s&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(nr(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch(o){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new S2(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ze(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Ze(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Vn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ze(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Vn(...this.options.map(i=>i._stateChanges)).pipe(Ze(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(g(Th),g(qi),g(te),g(Dh),g(G),g(so,8),g(xs,8),g(Ss,8),g(Ah,8),g(Rn,10),To("tabindex"),g(OE),g(L2),g(u$,8))},n.\u0275dir=D({type:n,viewQuery:function(e,i){if(1&e&&(vi(Xj,5),vi(Jj,5),vi(AE,5)),2&e){let r;je(r=$e())&&(i.trigger=r.first),je(r=$e())&&(i.panel=r.first),je(r=$e())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[M,gt]}),n})(),m$=(()=>{class n extends g${constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Ze(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(nr(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=WD(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function oH(n,t,e,i){return n<e?n:n+t>e+i?Math.max(0,n-i+t):e}((e+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new f$(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),o=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let c=this._selectionModel.selected[0]||this.options.first;s=c&&c.group?32:16}r||(s*=-1);const a=0-(e.left+s-(r?o:0)),l=e.right+s-i.width+(r?0:o);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){const o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,a=Math.floor(256/o);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*o:this._scrollTop===r?(e-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,s=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;c>s?this._adjustPanelUp(c,s):a>o?this._adjustPanelDown(a,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,256),s=i*e-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=WD(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=k(n)))(i||n)}}(),n.\u0275cmp=fi({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Ut(r,p$,5),Ut(r,zD,5),Ut(r,UD,5)),2&e){let o;je(o=$e())&&(i.customTrigger=o.first),je(o=$e())&&(i.options=o),je(o=$e())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&we("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(nt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),$t("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[pe([{provide:Gl,useExisting:n},{provide:GD,useExisting:n}]),M],ngContentSelectors:s$,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Qo(o$),K(0,"div",0,1),we("click",function(){return i.toggle()}),K(3,"div",2),j(4,e$,2,1,"span",3),j(5,i$,3,2,"span",4),Z(),K(6,"div",5),at(7,"div",6),Z()(),j(8,r$,4,14,"ng-template",7),we("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=wd(1);nt("aria-owns",i.panelOpen?i.id+"-panel":null),R(3),F("ngSwitch",i.empty),nt("id",i._valueId),R(1),F("ngSwitchCase",!0),R(1),F("ngSwitchCase",!1),R(3),F("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[ul,hs,yf,Bb,AE,ME],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[IE.transformPanelWrap,IE.transformPanel]},changeDetection:0}),n})(),_$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:[d$],imports:[ps,qj,qD,Wt,Fh,Ul,qD,Wt]}),n})(),y$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[$D,Wt,Wt]}),n})();class v$ extends ce{constructor(t=1/0,e=1/0,i=dh){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){const{_bufferSize:t,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=e.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}const Xl={schedule(n,t){const e=setTimeout(n,t);return()=>clearTimeout(e)},scheduleBeforeRender(n){if("undefined"==typeof window)return Xl.schedule(n,0);if(void 0===window.requestAnimationFrame)return Xl.schedule(n,16);const t=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(t)}};let Ph;function A$(n,t,e){let i=e;return function w$(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&t.some((r,o)=>!("*"===r||!function D$(n,t){if(!Ph){const e=Element.prototype;Ph=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&Ph.call(n,t)}(n,r)||(i=o,0))),i}class T${constructor(t,e){this.componentFactory=e.get($i).resolveComponentFactory(t)}create(t){return new F$(this.componentFactory,t)}}class F${constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new v$(1),this.events=this.eventEmitters.pipe(kh(i=>Vn(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(te),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Xl.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{null!==this.componentRef?function E$(n,t){return n===t||n!=n&&t!=t}(e,this.getInputValue(t))&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=It.create({providers:[],parent:this.injector}),i=function M$(n,t){const e=n.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=e.length;o<s;++o){const a=e[o],l=A$(a,t,r);-1!==l&&i[l].push(a)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(qi),this.implementsOnChanges=function C$(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(eo).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(Je(s=>({name:r,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Xl.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=e);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new zp(o,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class O$ extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}const P$=new S("Search_Service_Token"),V$=[];let $$=(()=>{class n{adapt(e){const i=e.recentSearchApiRequestWithPromise;return Object.assign({searchApiRequest:(r,o)=>ui(e.searchApiRequestWithPromise(r,o))},i&&{recentSearchApiRequest:()=>ui(i())})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const G$=["searchInput"];function U$(n,t){if(1&n){const e=Zn();K(0,"mat-icon",14),we("click",function(){return mt(e),_t(P(3).resetInput())}),Z()}2&n&&F("className",P(3).config.crossIconClass)}function z$(n,t){if(1&n&&(K(0,"mat-option",15),Gt(1),Z()),2&n){const e=t.$implicit;F("value",e.name),R(1),zi(" ",e.displayName," ")}}function W$(n,t){if(1&n){const e=Zn();K(0,"div",4)(1,"mat-form-field",5)(2,"input",6,7),we("focus",function(){return mt(e),_t(P(2).showSuggestions())})("blur",function(){return mt(e),_t(P(2).hideSuggestions())})("ngModelChange",function(r){return mt(e),_t(P(2).searchBoxInput=r)})("keyup",function(r){return mt(e),_t(P(2).hitSearchApi(r))})("ngModelChange",function(){mt(e);const r=P(2);return _t(r.onChange(r.searchBoxInput))}),Z(),at(4,"mat-icon",8),j(5,U$,1,1,"mat-icon",9),Z(),K(6,"mat-form-field",10),at(7,"mat-icon",11),K(8,"mat-select",12),we("selectionChange",function(r){return mt(e),_t(P(2).setCategory(r.value))}),j(9,z$,2,2,"mat-option",13),Z()()()}if(2&n){const e=wd(3),i=P(2);R(2),F("placeholder",i.config.placeholderFunction?i.config.placeholderFunction(e.value,i.category):i.config.placeholder||"Search")("ngModel",i.searchBoxInput)("disabled",i.disabled),R(2),F("className",i.config.searchIconClass),R(1),F("ngIf",i.searchBoxInput),R(2),F("className",i.config.dropDownButtonIconClass),R(1),F("value",i.category),R(1),F("ngForOf",i.config.models)}}function q$(n,t){if(1&n&&(lt(0),j(1,W$,10,8,"div",3),ct()),2&n){const e=P();R(1),F("ngIf",e.config)}}function K$(n,t){1&n&&(lt(0),Gt(1," searching... "),ct())}function Y$(n,t){if(1&n&&(lt(0),Gt(1),ct()),2&n){const e=P(4);R(1),zi(" ",e.config.noResultMessage," ")}}function Q$(n,t){if(1&n&&(K(0,"span",18),j(1,K$,2,0,"ng-container",0),j(2,Y$,2,1,"ng-container",0),Z()),2&n){const e=P(3);R(1),F("ngIf",e.searching),R(1),F("ngIf",!e.searching)}}function Z$(n,t){if(1&n&&at(0,"img",24),2&n){const e=P().$implicit;F("src",e.model.imageUrl,Ea)("alt",e.model.displayName)}}function X$(n,t){1&n&&zr(0)}const Jl=function(n){return{$implicit:n}};function J$(n,t){if(1&n&&(lt(0),j(1,X$,1,0,"ng-container",27),ct()),2&n){const e=P().$implicit,i=P(5);R(1),F("ngTemplateOutlet",i.subtitleTemplate)("ngTemplateOutletContext",is(2,Jl,e))}}function eG(n,t){if(1&n&&at(0,"p",28),2&n){const e=P().$implicit,i=P(5);F("innerHTML",i.boldString(e[i.config.displayPropertyName],i.searchBoxInput),Lu)}}function tG(n,t){1&n&&zr(0)}function nG(n,t){if(1&n&&(lt(0),j(1,tG,1,0,"ng-container",27),ct()),2&n){const e=P().$implicit,i=P(5);R(1),F("ngTemplateOutlet",i.titleTemplate)("ngTemplateOutletContext",is(2,Jl,e))}}function iG(n,t){if(1&n){const e=Zn();K(0,"li",25),we("mousedown",function(r){const s=mt(e).$implicit;return _t(P(5).populateValue(s,r))}),j(1,J$,2,4,"ng-container",0),j(2,eG,1,1,"p",26),j(3,nG,2,4,"ng-container",0),Z()}if(2&n){const e=P(5);R(1),F("ngIf",e.subtitleTemplate),R(1),F("ngIf",!e.titleTemplate),R(1),F("ngIf",e.titleTemplate)}}function rG(n,t){if(1&n&&(K(0,"div",20)(1,"h3",21),j(2,Z$,1,2,"img",22),Gt(3),Z(),K(4,"ul"),j(5,iG,4,3,"li",23),Z()()),2&n){const e=t.$implicit;R(2),F("ngIf",e.model.imageUrl),R(1),Sd(" ",e.model.displayName," (",e.items.length,") "),R(2),F("ngForOf",e.items)}}function oG(n,t){if(1&n&&(lt(0),j(1,rG,6,4,"div",19),ct()),2&n){const e=P(3);R(1),F("ngForOf",e.getModelsWithSuggestions())}}function sG(n,t){if(1&n&&at(0,"img",32),2&n){const e=P().$implicit;F("src",P(4).fetchModelImageUrlFromSuggestion(e),Ea)}}function aG(n,t){1&n&&zr(0)}function lG(n,t){if(1&n&&(lt(0),j(1,aG,1,0,"ng-container",27),ct()),2&n){const e=P().$implicit,i=P(4);R(1),F("ngTemplateOutlet",i.subtitleTemplate)("ngTemplateOutletContext",is(2,Jl,e))}}function cG(n,t){if(1&n&&at(0,"p",28),2&n){const e=P().$implicit,i=P(4);F("innerHTML",i.boldString(e[i.config.displayPropertyName],i.searchBoxInput),Lu)}}function uG(n,t){1&n&&zr(0)}function dG(n,t){if(1&n&&(lt(0),j(1,uG,1,0,"ng-container",27),ct()),2&n){const e=P().$implicit,i=P(4);R(1),F("ngTemplateOutlet",i.titleTemplate)("ngTemplateOutletContext",is(2,Jl,e))}}function fG(n,t){if(1&n){const e=Zn();K(0,"li",30),we("mousedown",function(r){const s=mt(e).$implicit;return _t(P(4).populateValue(s,r))}),j(1,sG,1,1,"img",31),j(2,lG,2,4,"ng-container",0),j(3,cG,1,1,"p",26),j(4,dG,2,4,"ng-container",0),Z()}if(2&n){const e=t.$implicit,i=P(4);R(1),F("ngIf",!i.titleTemplate&&i.fetchModelImageUrlFromSuggestion(e)),R(1),F("ngIf",i.subtitleTemplate),R(1),F("ngIf",!i.titleTemplate),R(1),F("ngIf",i.titleTemplate)}}function hG(n,t){if(1&n&&(lt(0),K(1,"div",20)(2,"ul"),j(3,fG,5,4,"li",29),Z()(),ct()),2&n){const e=P(3);R(3),F("ngForOf",e.suggestions)}}function pG(n,t){if(1&n&&(lt(0),j(1,Q$,3,2,"span",17),j(2,oG,2,1,"ng-container",0),j(3,hG,4,1,"ng-container",0),ct()),2&n){const e=P(2);R(1),F("ngIf",0===e.suggestions.length),R(1),F("ngIf",e.config.categorizeResults&&e.suggestions.length),R(1),F("ngIf",!e.config.categorizeResults)}}function gG(n,t){if(1&n){const e=Zn();K(0,"li",25),we("mousedown",function(r){const s=mt(e).$implicit;return _t(P(3).populateValueRecentSearch(s,r))}),at(1,"mat-icon",8),K(2,"span"),Gt(3),Z()()}if(2&n){const e=t.$implicit,i=P(3);R(1),F("className",i.config.recentSearchIconClass),R(2),zi("\xa0",e.match,"")}}function mG(n,t){if(1&n&&(lt(0),K(1,"div",33)(2,"h3",21),Gt(3,"Recent Searches"),Z(),K(4,"ul"),j(5,gG,4,2,"li",23),Z()(),ct()),2&n){const e=P(2);R(5),F("ngForOf",e.recentSearches)}}function _G(n,t){if(1&n&&(K(0,"div",16),j(1,pG,4,3,"ng-container",0),j(2,mG,6,1,"ng-container",0),Z()),2&n){const e=P();R(1),F("ngIf",e.searchBoxInput),R(1),F("ngIf",!e.config.hideRecentSearch&&e.recentSearches.length>0)}}const or="All";let yG=(()=>{class n{constructor(e,i,r,o){this.searchService=e,this.platformId=i,this.cdr=r,this.promiseAdapter=o,this.searchBoxInput="",this.suggestionsDisplay=!1,this.categoryDisplay=!1,this.searching=!1,this.suggestions=[],this.recentSearches=[],this.category=or,this.searchRequest$=new ce,this.customAllLabel=or,this.showOnlySearchResultOverlay=!1,this.customSearchEvent={searchValue:"",modelName:this.customAllLabel},this.clicked=new fe,this.searched=new fe,this.onChange=()=>{},this.onTouched=()=>{},this.disabled=!1}get config(){return this._config}set config(e){this._config=e,e&&e.models?e.models.unshift({name:or,displayName:or}):e&&!e.models&&(e.models=[{name:or,displayName:or}])}set searchProvider(e){(function k$(n){return!!n.searchApiRequestWithPromise})(e)&&(e=this.promiseAdapter.adapt(e)),this.searchService=e}get searchProvider(){return this.searchService}ngOnInit(){this.searchRequest$.pipe(no(e=>this.suggestions=[]),Ll(1e3)).subscribe(e=>{this.searched.emit({event:e.event,keyword:e.input,category:this.category}),this.getSuggestions(e),this.cdr.markForCheck()})}writeValue(e){this.searchBoxInput=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}getSuggestions(e){var i,r,o,s,a;if(e.input=e.input.trim(),!e.input.length)return;const l=null!==(i=this.config.order)&&void 0!==i?i:V$;let c="";l.forEach(f=>c=`${c}${f} `);let u=null===(r=this.config.saveInRecents)||void 0===r||r;this.config.saveInRecents&&this.config.saveInRecentsOnlyOnEnter&&(u=!e.event||e.event instanceof KeyboardEvent&&"Enter"===e.event.key);const d={match:e.input,sources:this._categoryToSourceName(this.category),limit:null!==(o=this.config.limit)&&void 0!==o?o:20,limitByType:null!==(s=this.config.limitByType)&&void 0!==s&&s,order:c,offset:null!==(a=this.config.offset)&&void 0!==a?a:0};this.searching=!0,this.cdr.markForCheck(),this.searchService.searchApiRequest(d,u).subscribe(f=>{this.suggestions=f,this.searching=!1,this.cdr.markForCheck()},f=>{this.suggestions=[],this.searching=!1,this.cdr.markForCheck()})}getRecentSearches(){!this.config.hideRecentSearch&&this.searchService.recentSearchApiRequest&&this.searchService.recentSearchApiRequest().subscribe(e=>{this.recentSearches=e,this.cdr.markForCheck()},e=>{this.recentSearches=[],this.cdr.markForCheck()})}hitSearchApi(e){if(!this.searchBoxInput)return this.suggestions=[],void this.getRecentSearches();this.config.searchOnlyOnEnter?(!e||e instanceof KeyboardEvent&&"Enter"===e.key)&&this.getSuggestions({input:this.searchBoxInput,event:e}):e?this.searchRequest$.next({input:this.searchBoxInput,event:e}):this.getSuggestions({input:this.searchBoxInput,event:e})}populateValue(e,i){this.searchBoxInput=e[this.config.displayPropertyName],this.suggestionsDisplay=!1,this.onChange(this.searchBoxInput),this.getSuggestions({input:this.searchBoxInput,event:i}),this.clicked.emit({item:e,event:i})}populateValueRecentSearch(e,i){i.stopPropagation(),i.preventDefault(),this.searchBoxInput=e.match,this.suggestionsDisplay=!1,this.onChange(this.searchBoxInput),this.getSuggestions({input:this.searchBoxInput,event:i}),this.focusInput(),this.showSuggestions()}fetchModelImageUrlFromSuggestion(e){const i=e.source;let r;return this.config.models.forEach(o=>{o.name===i&&o.imageUrl&&(r=o.imageUrl)}),r}boldString(e,i){const r=new RegExp(`(${i})`,"gi");return e.replace(r,"<b>$1</b>")}hideSuggestions(){this.suggestionsDisplay=!1,this.onTouched()}showSuggestions(){this.suggestionsDisplay=!0,this.getRecentSearches()}focusInput(){bi(this.platformId)&&!this.showOnlySearchResultOverlay&&this.searchInputElement.nativeElement.focus()}setCategory(e){this.category=e,this.categoryDisplay=!1,this.searchBoxInput&&(this.hitSearchApi(),this.focusInput(),this.showSuggestions())}showCategory(){this.categoryDisplay=!this.categoryDisplay}hideCategory(){this.categoryDisplay=!1}resetInput(){this.searchBoxInput="",this.suggestions=[],this.suggestionsDisplay=!0,this.focusInput(),this.onChange(this.searchBoxInput),this.getRecentSearches()}ngOnDestroy(){this.searchRequest$.unsubscribe()}_categoryToSourceName(e){return[or,this.customAllLabel].includes(e)?[]:[e]}getModelFromModelName(e){return this.config.models.find(i=>i.name===e)}getModelsWithSuggestions(){const e=[],i=[];return this.suggestions.forEach(r=>{if(i.indexOf(r.source)>=0)e.every(o=>o.model.name!==r.source||(o.items.push(r),!1));else{const o=this.getModelFromModelName(r.source);e.push({model:o,items:[r]}),i.push(r.source)}}),e}ngOnChanges(e){var i,r,o,s;e.customSearchEvent&&(this._isCustomSearchEventChange(e,"searchValue")&&(this.searchBoxInput=null!==(r=null===(i=this.customSearchEvent)||void 0===i?void 0:i.searchValue)&&void 0!==r?r:"",this.searchOnCustomEventValueChange(this.searchBoxInput)),this._isCustomSearchEventChange(e,"modelName")&&(null===(o=this.customSearchEvent)||void 0===o?void 0:o.modelName)&&this.setCategory(null===(s=this.customSearchEvent)||void 0===s?void 0:s.modelName))}searchOnCustomEventValueChange(e){null!=e&&e.length?(this.showSuggestions(),this.hitSearchApi()):this.hideSuggestions()}_isCustomSearchEventChange(e,i){var r,o,s;return!(null!==(r=e.customSearchEvent)&&void 0!==r&&r.previousValue)||(null===(o=e.customSearchEvent)||void 0===o?void 0:o.previousValue[i])!==(null===(s=e.customSearchEvent)||void 0===s?void 0:s.currentValue[i])}}return n.\u0275fac=function(e){return new(e||n)(g(P$,8),g(zt),g(qi),g($$))},n.\u0275cmp=fi({type:n,selectors:[["sourceloop-search"]],viewQuery:function(e,i){if(1&e&&vi(G$,5),2&e){let r;je(r=$e())&&(i.searchInputElement=r.first)}},inputs:{config:"config",searchProvider:"searchProvider",titleTemplate:"titleTemplate",subtitleTemplate:"subtitleTemplate",customAllLabel:"customAllLabel",showOnlySearchResultOverlay:"showOnlySearchResultOverlay",customSearchEvent:"customSearchEvent"},outputs:{clicked:"clicked",searched:"searched"},features:[pe([{provide:bn,useExisting:n,multi:!0}]),gt],decls:3,vars:2,consts:[[4,"ngIf"],[1,"search-container"],["class","search-popup",4,"ngIf"],["fxLayout","","fxLayoutAlign","start center","class","toolbar-search",4,"ngIf"],["fxLayout","","fxLayoutAlign","start center",1,"toolbar-search"],["appearance","outline",1,"toolbar-search-input"],["matInput","","autocomplete","off","type","text","name","searchInput","placeholder","Search",3,"placeholder","ngModel","disabled","focus","blur","ngModelChange","keyup"],["searchInput",""],["matPrefix","",3,"className"],["matSuffix","",3,"className","click",4,"ngIf"],["appearance","outline",1,"toolbar-search-select"],["matSuffix","",3,"className"],["panelClass","search-select",3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"className","click"],[3,"value"],[1,"search-popup"],["class","search-message",4,"ngIf"],[1,"search-message"],["class","search-result",4,"ngFor","ngForOf"],[1,"search-result"],[1,"suggestions-heading"],[3,"src","alt",4,"ngIf"],["class","suggestions",3,"mousedown",4,"ngFor","ngForOf"],[3,"src","alt"],[1,"suggestions",3,"mousedown"],["style","display: inline",3,"innerHTML",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[2,"display","inline",3,"innerHTML"],[3,"mousedown",4,"ngFor","ngForOf"],[3,"mousedown"],["class","suggestions-categorize-false","style","margin-right: 5px","alt","Img",3,"src",4,"ngIf"],["alt","Img",1,"suggestions-categorize-false",2,"margin-right","5px",3,"src"],[1,"recent-searches"]],template:function(e,i){1&e&&(j(0,q$,2,1,"ng-container",0),K(1,"div",1),j(2,_G,3,2,"div",2),Z()),2&e&&(F("ngIf",!i.showOnlySearchResultOverlay),R(2),F("ngIf",i.suggestionsDisplay&&(i.recentSearches.length||i.suggestions.length)))},dependencies:[Nb,dl,jb,Sl,VC,rh,HH,PH,NH,m$,zD,ej,aj,Yw,Jw],styles:["[_nghost-%COMP%] .mat-form-field-wrapper{padding:0}[_nghost-%COMP%] .mat-form-field-wrapper .mat-form-field-prefix{margin-right:12px}.toolbar-search-input[_ngcontent-%COMP%]{width:86%}.toolbar-search-input[_ngcontent-%COMP%] input{margin:0}.toolbar-search-input[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-start{border-color:transparent}.toolbar-search-input[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-end{border:none;border-radius:0}.icomoon.Search[_ngcontent-%COMP%], .icomoon.close[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;color:#33333380;padding-bottom:4px}.icomoon.close[_ngcontent-%COMP%]{cursor:pointer}.toolbar-search-select[_ngcontent-%COMP%]{width:14%}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-arrow{opacity:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-arrow-wrapper{display:inline-block;width:1px}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-value-text{font-size:9px}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-suffix .mat-icon{width:12px;font-size:14px}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-start{border-color:transparent;border-radius:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-end{border:none}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-infix{-webkit-padding-before:.7em}.toolbar-search[_ngcontent-%COMP%]{width:515px;background-color:#f7f7f7;border-radius:0 0 4px 4px}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-flex{height:39px;align-items:center}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-infix{height:auto}.search-container[_ngcontent-%COMP%]{position:relative;width:515px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%]{padding:0 15px 15px;margin:0;max-height:80vh;overflow-x:hidden;overflow-y:auto;position:absolute;top:100%;left:0;right:0;z-index:9999;background-color:#fff;box-shadow:0 5px 4px #0003;border-radius:0 0 4px 4px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:0;border-top:1px solid #ebebeb;margin:0;position:sticky;top:0;padding:0 0 15px;z-index:1}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-message[_ngcontent-%COMP%]{display:inline-block;width:100%;text-align:center;font-size:16px;padding-top:12px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-item-info[_ngcontent-%COMP%]{color:#91263b;text-align:center;font-size:12px;margin-bottom:15px;padding-top:12px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;font-size:1rem;font-weight:400;line-height:1.5;color:#333}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{font-size:15px;line-height:36px;padding:0 15px 0 44px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-right:5px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions-categorize-false[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result[_ngcontent-%COMP%]{padding:10px 0 0;margin:0 -15px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;padding:0;margin:0 0 10px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:15px;line-height:36px;padding:0 15px 0 31px;display:flex;align-items:center;cursor:pointer}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:9px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%]{color:#9c9c9c;font-size:14px;font-weight:400;margin:0 0 10px 17px;display:flex;align-items:center;position:relative}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%]{position:absolute;right:20px;color:#d1d1d1;font-size:12px;cursor:pointer;text-decoration:none}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{text-decoration:underline}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:9px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%]{padding:10px 0 0;margin:0 -15px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:inline-block;width:100%}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{display:flex}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:100%;overflow:hidden;text-overflow:ellipsis}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] .suggestions[_ngcontent-%COMP%]{display:flex}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%]{margin-left:30px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{padding-left:31px} .search-select.mat-select-panel{margin-top:30px;margin-left:10px} .search-select .mat-option-text{display:contents} .toolbar-search .mat-form-field-infix{font-size:14px} .toolbar-search input{line-height:14px} .toolbar-search .mat-form-field-outline:first-child .mat-form-field-outline-start, .toolbar-search .mat-form-field-outline:first-child .mat-form-field-outline-end{background-color:#f1f3f4} .toolbar-search:hover .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-width:1px;border-color:#a53159} .toolbar-search:hover .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border:1px solid #a53159;border-left-style:none;border-right-style:none;border-top-right-radius:0;border-bottom-right-radius:0} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-radius:0;border-color:transparent;background-color:#a53159} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border-width:1px;border-color:#a53159;background-color:#a53159} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-select{color:#fff} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .icomoon.arrow_down{color:#fff} .toolbar-search:focus-within .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-width:2px;border-color:#90003b} .toolbar-search:focus-within .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border:2px solid #90003b;border-left-style:none;border-right-style:none;border-top-right-radius:0;border-bottom-right-radius:0} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-radius:0;border-color:transparent;background-color:#90003b} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border-width:2px;border-color:#90003b;background-color:#90003b} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-select{color:#fff} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .icomoon.arrow_down{color:#fff} .toolbar-search .mat-select-arrow{opacity:0}"]}),n})();function RE(n){return new E(3e3,!1)}function JG(){return"undefined"!=typeof window&&void 0!==window.document}function Nh(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Si(n){switch(n.length){case 0:return new Fs;case 1:return n[0];default:return new XD(n)}}function kE(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),f=d==l,h=f&&c||new Map;u.forEach((p,m)=>{let y=m,_=p;if("offset"!==m)switch(y=t.normalizePropertyName(y,s),_){case"!":_=r.get(m);break;case ri:_=o.get(m);break;default:_=t.normalizeStyleValue(m,y,_,s)}h.set(y,_)}),f||a.push(h),c=h,l=d}),s.length)throw function jG(n){return new E(3502,!1)}();return a}function Lh(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Vh(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Vh(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Vh(e,"destroy",n)))}}function Vh(n,t,e){const i=e.totalTime,o=Bh(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,null==i?n.totalTime:i,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function Bh(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function qt(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function PE(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let Hh=(n,t)=>!1,NE=(n,t,e)=>[],LE=null;function jh(n){const t=n.parentNode||n.host;return t===LE?null:t}(Nh()||"undefined"!=typeof Element)&&(JG()?(LE=(()=>document.documentElement)(),Hh=(n,t)=>{for(;t;){if(t===n)return!0;t=jh(t)}return!1}):Hh=(n,t)=>n.contains(t),NE=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let sr=null,VE=!1;const BE=Hh,HE=NE;let jE=(()=>{class n{validateStyleProperty(e){return function tU(n){sr||(sr=function nU(){return"undefined"!=typeof document?document.body:null}()||{},VE=!!sr.style&&"WebkitAppearance"in sr.style);let t=!0;return sr.style&&!function eU(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in sr.style,!t&&VE&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in sr.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return BE(e,i)}getParentElement(e){return jh(e)}query(e,i,r){return HE(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Fs(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),$h=(()=>{class n{}return n.NOOP=new jE,n})();const Gh="ng-enter",ec="ng-leave",tc="ng-trigger",nc=".ng-trigger",GE="ng-animating",Uh=".ng-animating";function oi(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:zh(parseFloat(t[1]),t[2])}function zh(n,t){return"s"===t?1e3*n:n}function ic(n,t,e){return n.hasOwnProperty("duration")?n:function oU(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(RE()),{duration:0,delay:0,easing:""};r=zh(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=zh(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function vG(){return new E(3100,!1)}()),a=!0),o<0&&(t.push(function bG(){return new E(3101,!1)}()),a=!0),a&&t.splice(l,0,RE())}return{duration:r,delay:o,easing:s}}(n,t,e)}function Ps(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function UE(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Mi(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function WE(n,t,e){return e?t+":"+e+";":""}function qE(n){let t="";for(let e=0;e<n.style.length;e++){const i=n.style.item(e);t+=WE(0,i,n.style.getPropertyValue(i))}for(const e in n.style)n.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=WE(0,cU(e),n.style[e]));n.setAttribute("style",t)}function kn(n,t,e){n.style&&(t.forEach((i,r)=>{const o=qh(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),Nh()&&qE(n))}function ar(n,t){n.style&&(t.forEach((e,i)=>{const r=qh(i);n.style[r]=""}),Nh()&&qE(n))}function Ns(n){return Array.isArray(n)?1==n.length?n[0]:QD(n):n}const Wh=new RegExp("{{\\s*(.+?)\\s*}}","g");function KE(n){let t=[];if("string"==typeof n){let e;for(;e=Wh.exec(n);)t.push(e[1]);Wh.lastIndex=0}return t}function Ls(n,t,e){const i=n.toString(),r=i.replace(Wh,(o,s)=>{let a=t[s];return null==a&&(e.push(function CG(n){return new E(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function rc(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const lU=/-+([a-z0-9])/g;function qh(n){return n.replace(lU,(...t)=>t[1].toUpperCase())}function cU(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Kt(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function DG(n){return new E(3004,!1)}()}}function YE(n,t){return window.getComputedStyle(n)[t]}function gU(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function mU(n,t,e){if(":"==n[0]){const l=function _U(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(function LG(n){return new E(3016,!1)}()),"* => *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function NG(n){return new E(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(QE(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(QE(s,r))}(i,e,t)):e.push(n),e}const lc=new Set(["true","1"]),cc=new Set(["false","0"]);function QE(n,t){const e=lc.has(n)||cc.has(n),i=lc.has(t)||cc.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?lc.has(n):cc.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?lc.has(t):cc.has(t)),s&&a}}const yU=new RegExp("s*:selfs*,?","g");function Kh(n,t,e,i){return new vU(n).build(t,e,i)}class vU{constructor(t){this._driver=t}build(t,e,i){const r=new CU(e);return this._resetContextStyleTimingState(r),Kt(this,Ns(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function xG(){return new E(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function SG(){return new E(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{KE(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(rc(o.values()),e.errors.push(function MG(n,t){return new E(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Kt(this,Ns(t.animation),e);return{type:1,matchers:gU(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:lr(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Kt(this,i,e)),options:lr(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Kt(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:lr(t.options)}}visitAnimate(t,e){const i=function EU(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Yh(ic(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Yh(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=ic(e,t);return Yh(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:xi({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=xi(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===ri?i.push(a):e.errors.push(new E(3002,!1)):i.push(UE(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(function IG(n,t,e,i,r){return new E(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),e.options&&function aU(n,t,e){const i=t.params||{},r=KE(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function wG(n){return new E(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function TG(){return new E(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(_=>{const C=this._makeStyleAst(_,e);let v=null!=C.offset?C.offset:function DU(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(C.styles),A=0;return null!=v&&(o++,A=C.offset=v),l=l||A<0||A>1,a=a||A<c,c=A,s.push(A),C});l&&e.errors.push(function FG(){return new E(3012,!1)}()),a&&e.errors.push(function OG(){return new E(3200,!1)}());const d=t.steps.length;let f=0;o>0&&o<d?e.errors.push(function RG(){return new E(3202,!1)}()):0==o&&(f=1/(d-1));const h=d-1,p=e.currentTime,m=e.currentAnimateTimings,y=m.duration;return u.forEach((_,C)=>{const v=f>0?C==h?1:f*C:s[C],A=v*y;e.currentTime=p+m.delay+A,m.duration=A,this._validateStyleAst(_,e),_.offset=v,i.styles.push(_)}),i}visitReference(t,e){return{type:8,animation:Kt(this,Ns(t.animation),e),options:lr(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:lr(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:lr(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function bU(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(yU,"")),n=n.replace(/@\*/g,nc).replace(/@\w+/g,e=>nc+"-"+e.slice(1)).replace(/:animating/g,Uh),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,qt(e.collectedStyles,e.currentQuerySelector,new Map);const a=Kt(this,Ns(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:lr(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function kG(){return new E(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:ic(t.timings,e.errors,!0);return{type:12,animation:Kt(this,Ns(t.animation),e),timings:i,options:null}}}class CU{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function lr(n){return n?(n=Ps(n)).params&&(n.params=function wU(n){return n?Ps(n):null}(n.params)):n={},n}function Yh(n,t,e){return{duration:n,delay:t,easing:e}}function Qh(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class uc{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const MU=new RegExp(":enter","g"),IU=new RegExp(":leave","g");function Zh(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new TU).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class TU{buildKeyframes(t,e,i,r,o,s,a,l,c,u=[]){c=c||new uc;const d=new Xh(t,e,c,r,o,u,[]);d.options=l;const f=l.delay?oi(l.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,l),Kt(this,i,d);const h=d.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let m=h.length-1;m>=0;m--){const y=h[m];if(y.element===e){p=y;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[Qh(e,[],[],[],0,f,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){var r;for(const o of t){const s=null==o?void 0:o.delay;if(s){const a="number"==typeof s?s:oi(Ls(s,null!==(r=null==o?void 0:o.params)&&void 0!==r?r:{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?oi(i.duration):null,a=null!=i.delay?oi(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Kt(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=dc);const s=oi(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Kt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?oi(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Kt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return ic(e.params?Ls(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?oi(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=dc);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);o&&d.delayNextStep(o),c===e.element&&(l=d.currentTimeline),Kt(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Kt(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const dc={};class Xh{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=dc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new fc(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=oi(i.duration)),null!=i.delay&&(r.delay=oi(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Ls(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new Xh(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=dc,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},o=new FU(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(MU,"."+this._enterClassName)).replace(IU,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function PG(n){return new E(3014,!1)}()),a}}class fc{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new fc(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ri),this._currentKeyframe.set(e,ri);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){var o;e&&this._previousKeyframe.set("easing",e);const s=r&&r.params||{},a=function OU(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,ri)}else Mi(r,e)}),e}(t,this._globalTimelineStyles);for(let[l,c]of a){const u=Ls(c,s,i);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,null!==(o=this._globalTimelineStyles.get(l))&&void 0!==o?o:ri),this._updateStyle(l,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Mi(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===ri&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?rc(t.values()):[],s=e.size?rc(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Qh(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class FU extends fc{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=Mi(t[0]);l.set("offset",0),o.push(l);const c=Mi(t[0]);c.set("offset",JE(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let f=Mi(t[d]);const h=f.get("offset");f.set("offset",JE((e+h*i)/s)),o.push(f)}i=s,e=0,r="",t=o}return Qh(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function JE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class Jh{}const RU=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class kU extends Jh{normalizePropertyName(t,e){return qh(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(RU.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function EG(n,t){return new E(3005,!1)}())}return s+o}}function ex(n,t,e,i,r,o,s,a,l,c,u,d,f){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:f}}const ep={};class tx{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function PU(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(null==t?void 0:t.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,u){var d;const f=[],h=this.ast.options&&this.ast.options.params||ep,m=this.buildStyles(i,a&&a.params||ep,f),y=l&&l.params||ep,_=this.buildStyles(r,y,f),C=new Set,v=new Map,A=new Map,z="void"===r,se={params:NU(y,h),delay:null===(d=this.ast.options)||void 0===d?void 0:d.delay},Pe=u?[]:Zh(t,e,this.ast.animation,o,s,m,_,se,c,f);let dt=0;if(Pe.forEach(Et=>{dt=Math.max(Et.duration+Et.delay,dt)}),f.length)return ex(e,this._triggerName,i,r,z,m,_,[],[],v,A,dt,f);Pe.forEach(Et=>{const si=Et.element,ai=qt(v,si,new Set);Et.preStyleProps.forEach(Pn=>ai.add(Pn));const li=qt(A,si,new Set);Et.postStyleProps.forEach(Pn=>li.add(Pn)),si!==e&&C.add(si)});const Ai=rc(C.values());return ex(e,this._triggerName,i,r,z,m,_,Pe,Ai,v,A,dt)}}function NU(n,t){const e=Ps(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class LU{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Ps(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Ls(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class BU{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new LU(r.style,r.options&&r.options.params||{},i))}),nx(this.states,"true","1"),nx(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new tx(t,r,this.states))}),this.fallbackTransition=function HU(n,t,e){return new tx(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function nx(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const jU=new uc;class $U{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=Kh(this._driver,e,i,[]);if(i.length)throw function $G(n){return new E(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=kE(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=Zh(this._driver,e,o,Gh,ec,new Map,new Map,i,jU,r),s.forEach(u=>{const d=qt(a,u.element,new Map);u.postStyleProps.forEach(f=>d.set(f,null))})):(r.push(function GG(){return new E(3300,!1)}()),s=[]),r.length)throw function UG(n){return new E(3504,!1)}();a.forEach((u,d)=>{u.forEach((f,h)=>{u.set(h,this._driver.computeStyle(d,h,ri))})});const c=Si(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function zG(n){return new E(3301,!1)}();return e}listen(t,e,i,r){const o=Bh(e,"","","");return Lh(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const ix="ng-animate-queued",tp="ng-animate-disabled",qU=[],rx={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},KU={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},nn="__ng_removed";class np{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function XU(n){return null!=n?n:null}(i?t.value:t),i){const o=Ps(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Vs="void",ip=new np(Vs);class YU{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,rn(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function WG(n,t){return new E(3302,!1)}();if(null==i||0==i.length)throw function qG(n){return new E(3303,!1)}();if(!function JU(n){return"start"==n||"done"==n}(i))throw function KG(n,t){return new E(3400,!1)}();const o=qt(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=qt(this._engine.statesByElement,t,new Map);return a.has(e)||(rn(t,tc),rn(t,tc+"-"+e),a.set(e,ip)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function YG(n){return new E(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new rp(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(rn(t,tc),rn(t,tc+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new np(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=ip),c.value!==Vs&&l.value===c.value){if(!function nz(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){const o=e[r];if(!t.hasOwnProperty(o)||n[o]!==t[o])return!1}return!0}(l.params,c.params)){const m=[],y=o.matchStyles(l.value,l.params,m),_=o.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{ar(t,y),kn(t,_)})}return}const f=qt(this._engine.playersByElement,t,[]);f.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let h=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(rn(t,ix),s.onStart(()=>{po(t,ix)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const y=this._engine.playersByElement.get(t);if(y){let _=y.indexOf(s);_>=0&&y.splice(_,1)}}),this.players.push(s),f.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,nc,!0);i.forEach(r=>{if(r[nn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,Vs,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&Si(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||ip,u=new np(Vs),d=new rp(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[nn];(!o||o===rx)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){rn(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Bh(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,Lh(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class QU{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new YU(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(hc(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!hc(e))return;const o=e[nn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),rn(t,tp)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),po(t,tp))}removeNode(t,e,i,r){if(hc(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[nn]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return hc(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,nc,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Uh,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Si(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const i=t[nn];if(i&&i.setForRemoval){if(t[nn]=rx,i.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,i.setForRemoval)}!(null===(e=t.classList)||void 0===e)&&e.contains(tp)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)rn(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,t)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Si(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function QG(n){return new E(3402,!1)}()}_flushAnimations(t,e){const i=new uc,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(O=>{u.add(O);const N=this.driver.query(O,".ng-animate-queued",!0);for(let V=0;V<N.length;V++)u.add(N[V])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=ax(f,this.collectedEnterElements),p=new Map;let m=0;h.forEach((O,N)=>{const V=Gh+m++;p.set(N,V),O.forEach(ee=>rn(ee,V))});const y=[],_=new Set,C=new Set;for(let O=0;O<this.collectedLeaveElements.length;O++){const N=this.collectedLeaveElements[O],V=N[nn];V&&V.setForRemoval&&(y.push(N),_.add(N),V.hasAnimation?this.driver.query(N,".ng-star-inserted",!0).forEach(ee=>_.add(ee)):C.add(N))}const v=new Map,A=ax(f,Array.from(_));A.forEach((O,N)=>{const V=ec+m++;v.set(N,V),O.forEach(ee=>rn(ee,V))}),t.push(()=>{h.forEach((O,N)=>{const V=p.get(N);O.forEach(ee=>po(ee,V))}),A.forEach((O,N)=>{const V=v.get(N);O.forEach(ee=>po(ee,V))}),y.forEach(O=>{this.processLeaveNode(O)})});const z=[],se=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(V=>{const ee=V.player,Ne=V.element;if(z.push(ee),this.collectedEnterElements.length){const ft=Ne[nn];if(ft&&ft.setForMove){if(ft.previousTriggersValues&&ft.previousTriggersValues.has(V.triggerName)){const cr=ft.previousTriggersValues.get(V.triggerName),on=this.statesByElement.get(V.element);if(on&&on.has(V.triggerName)){const mc=on.get(V.triggerName);mc.value=cr,on.set(V.triggerName,mc)}}return void ee.destroy()}}const Nn=!d||!this.driver.containsElement(d,Ne),Yt=v.get(Ne),Ii=p.get(Ne),Fe=this._buildInstruction(V,i,Ii,Yt,Nn);if(Fe.errors&&Fe.errors.length)return void se.push(Fe);if(Nn)return ee.onStart(()=>ar(Ne,Fe.fromStyles)),ee.onDestroy(()=>kn(Ne,Fe.toStyles)),void r.push(ee);if(V.isFallbackTransition)return ee.onStart(()=>ar(Ne,Fe.fromStyles)),ee.onDestroy(()=>kn(Ne,Fe.toStyles)),void r.push(ee);const mx=[];Fe.timelines.forEach(ft=>{ft.stretchStartingKeyframe=!0,this.disabledNodes.has(ft.element)||mx.push(ft)}),Fe.timelines=mx,i.append(Ne,Fe.timelines),s.push({instruction:Fe,player:ee,element:Ne}),Fe.queriedElements.forEach(ft=>qt(a,ft,[]).push(ee)),Fe.preStyleProps.forEach((ft,cr)=>{if(ft.size){let on=l.get(cr);on||l.set(cr,on=new Set),ft.forEach((mc,ap)=>on.add(ap))}}),Fe.postStyleProps.forEach((ft,cr)=>{let on=c.get(cr);on||c.set(cr,on=new Set),ft.forEach((mc,ap)=>on.add(ap))})});if(se.length){const O=[];se.forEach(N=>{O.push(function ZG(n,t){return new E(3505,!1)}())}),z.forEach(N=>N.destroy()),this.reportError(O)}const Pe=new Map,dt=new Map;s.forEach(O=>{const N=O.element;i.has(N)&&(dt.set(N,N),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,Pe))}),r.forEach(O=>{const N=O.element;this._getPreviousPlayers(N,!1,O.namespaceId,O.triggerName,null).forEach(ee=>{qt(Pe,N,[]).push(ee),ee.destroy()})});const Ai=y.filter(O=>cx(O,l,c)),Et=new Map;sx(Et,this.driver,C,c,ri).forEach(O=>{cx(O,l,c)&&Ai.push(O)});const ai=new Map;h.forEach((O,N)=>{sx(ai,this.driver,new Set(O),l,"!")}),Ai.forEach(O=>{var N,V;const ee=Et.get(O),Ne=ai.get(O);Et.set(O,new Map([...Array.from(null!==(N=null==ee?void 0:ee.entries())&&void 0!==N?N:[]),...Array.from(null!==(V=null==Ne?void 0:Ne.entries())&&void 0!==V?V:[])]))});const li=[],Pn=[],go={};s.forEach(O=>{const{element:N,player:V,instruction:ee}=O;if(i.has(N)){if(u.has(N))return V.onDestroy(()=>kn(N,ee.toStyles)),V.disabled=!0,V.overrideTotalTime(ee.totalTime),void r.push(V);let Ne=go;if(dt.size>1){let Yt=N;const Ii=[];for(;Yt=Yt.parentNode;){const Fe=dt.get(Yt);if(Fe){Ne=Fe;break}Ii.push(Yt)}Ii.forEach(Fe=>dt.set(Fe,Ne))}const Nn=this._buildAnimation(V.namespaceId,ee,Pe,o,ai,Et);if(V.setRealPlayer(Nn),Ne===go)li.push(V);else{const Yt=this.playersByElement.get(Ne);Yt&&Yt.length&&(V.parentPlayer=Si(Yt)),r.push(V)}}else ar(N,ee.fromStyles),V.onDestroy(()=>kn(N,ee.toStyles)),Pn.push(V),u.has(N)&&r.push(V)}),Pn.forEach(O=>{const N=o.get(O.element);if(N&&N.length){const V=Si(N);O.setRealPlayer(V)}}),r.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O<y.length;O++){const N=y[O],V=N[nn];if(po(N,ec),V&&V.hasAnimation)continue;let ee=[];if(a.size){let Nn=a.get(N);Nn&&Nn.length&&ee.push(...Nn);let Yt=this.driver.query(N,Uh,!0);for(let Ii=0;Ii<Yt.length;Ii++){let Fe=a.get(Yt[Ii]);Fe&&Fe.length&&ee.push(...Fe)}}const Ne=ee.filter(Nn=>!Nn.destroyed);Ne.length?ez(this,N,Ne):this.processLeaveNode(N)}return y.length=0,li.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();const N=this.players.indexOf(O);this.players.splice(N,1)}),O.play()}),li}elementContainsData(t,e){let i=!1;const r=e[nn];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==Vs;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==o,d=qt(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}ar(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,f=e.timelines.map(p=>{const m=p.element;u.add(m);const y=m[nn];if(y&&y.removedBeforeQueried)return new Fs(p.duration,p.delay);const _=m!==l,C=function tz(n){const t=[];return lx(n,t),t}((i.get(m)||qU).map(Pe=>Pe.getRealPlayer())).filter(Pe=>!!Pe.element&&Pe.element===m),v=o.get(m),A=s.get(m),z=kE(0,this._normalizer,0,p.keyframes,v,A),se=this._buildPlayer(p,z,C);if(p.subTimeline&&r&&d.add(m),_){const Pe=new rp(t,a,m);Pe.setRealPlayer(se),c.push(Pe)}return se});c.forEach(p=>{qt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function ZU(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>rn(p,GE));const h=Si(f);return h.onDestroy(()=>{u.forEach(p=>po(p,GE)),kn(l,e.toStyles)}),d.forEach(p=>{qt(r,p,[]).push(h)}),h}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Fs(t.duration,t.delay)}}class rp{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Fs,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Lh(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){qt(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function hc(n){return n&&1===n.nodeType}function ox(n,t){const e=n.style.display;return n.style.display=null!=t?t:"none",e}function sx(n,t,e,i,r){const o=[];e.forEach(l=>o.push(ox(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const f=t.computeStyle(c,d,r);u.set(d,f),(!f||0==f.length)&&(c[nn]=KU,s.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>ox(l,o[a++])),s}function ax(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function rn(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function po(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function ez(n,t,e){Si(e).onDone(()=>n.processLeaveNode(t))}function lx(n,t){for(let e=0;e<n.length;e++){const i=n[e];i instanceof XD?lx(i.players,t):t.push(i)}}function cx(n,t,e){const i=e.get(n);if(!i)return!1;let r=t.get(n);return r?i.forEach(o=>r.add(o)):t.set(n,i),e.delete(n),!0}class pc{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new QU(t,e,i),this._timelineEngine=new $U(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=Kh(this._driver,o,l,[]);if(l.length)throw function HG(n,t){return new E(3404,!1)}();a=function VU(n,t,e){return new BU(n,t,e)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=PE(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=PE(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let rz=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&kn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(kn(this._element,this._initialStyles),this._endStyles&&(kn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(ar(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),kn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function op(n){let t=null;return n.forEach((e,i)=>{(function oz(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class ux{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:YE(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class sz{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return BE(t,e)}getParentElement(t){return jh(t)}query(t,e,i){return HE(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(h=>h instanceof ux);(function uU(n,t){return 0===n||0===t})(i,r)&&u.forEach(h=>{h.currentSnapshot.forEach((p,m)=>c.set(m,p))});let d=function sU(n){return n.length?n[0]instanceof Map?n:n.map(t=>UE(t)):[]}(e).map(h=>Mi(h));d=function dU(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<t.length;o++){let s=t[o];r.forEach(a=>s.set(a,YE(n,a)))}}return t}(t,d,c);const f=function iz(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=op(t[0]),t.length>1&&(i=op(t[t.length-1]))):t instanceof Map&&(e=op(t)),e||i?new rz(n,e,i):null}(t,d);return new ux(t,d,l,f)}}let az=(()=>{class n extends YD{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:an.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?QD(e):e;return dx(this._renderer,null,i,"register",[r]),new lz(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(b(zo),b(ne))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class lz extends class fH{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new cz(this._id,t,e||{},this._renderer)}}class cz{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return dx(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function dx(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const fx="@.disabled";let uz=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=null==s?void 0:s.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new hx("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new dz(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&e<this._microtaskId?this._zone.run(()=>i(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(b(zo),b(pc),b(te))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class hx{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){var t;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(t=this._onDestroy)||void 0===t||t.call(this)}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==fx?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class dz extends hx{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==fx?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function fz(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function hz(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}const px=[{provide:YD,useClass:az},{provide:Jh,useFactory:function gz(){return new kU}},{provide:pc,useClass:(()=>{class n extends pc{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(b(ne),b($h),b(Jh),b(eo))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})()},{provide:zo,useFactory:function mz(n,t,e){return new uz(n,t,e)},deps:[yl,pc,te]}],sp=[{provide:$h,useFactory:()=>new sz},{provide:Jr,useValue:"BrowserAnimations"},...px],gx=[{provide:$h,useClass:jE},{provide:Jr,useValue:"NoopAnimations"},...px];let _z=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?gx:sp}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({providers:sp,imports:[dw]}),n})();class yz{constructor(t){(function vz(n){if(!1===n.categorizeResults&&(!1===n.hideCategorizeButton||void 0===n.hideCategorizeButton))throw new Error("You must provide hideCategorizeButton:true as categorizeResults is false");if(!1===n.saveInRecents&&!0===n.saveInRecentsOnlyOnEnter)throw new Error("You must provide saveInRecents:true for saveInRecentsOnlyOnEnter:true")})(t),this.displayPropertyName=t.displayPropertyName,this.models=t.models,this.limit=t.limit,this.limitByType=t.limitByType,this.order=t.order,this.offset=t.offset,this.saveInRecents=t.saveInRecents;const e=function bz(n){var t,e;return{placeholder:null!==(t=n.placeholder)&&void 0!==t?t:"Search",noResultMessage:null!==(e=n.noResultMessage)&&void 0!==e?e:"No result found",placeholderFunction:n.placeholderFunction}}(t);this.noResultMessage=e.noResultMessage,this.placeholder=e.placeholder,this.placeholderFunction=e.placeholderFunction;const i=function wz(n){var t,e,i,r,o;return{categorizeResults:null===(t=n.categorizeResults)||void 0===t||t,hideRecentSearch:null!==(e=n.hideRecentSearch)&&void 0!==e&&e,hideCategorizeButton:null!==(i=n.hideCategorizeButton)&&void 0!==i&&i,saveInRecentsOnlyOnEnter:null!==(r=n.saveInRecentsOnlyOnEnter)&&void 0!==r&&r,searchOnlyOnEnter:null!==(o=n.searchOnlyOnEnter)&&void 0!==o&&o}}(t);this.categorizeResults=i.categorizeResults,this.hideRecentSearch=i.hideRecentSearch,this.hideCategorizeButton=i.hideCategorizeButton,this.saveInRecentsOnlyOnEnter=i.saveInRecentsOnlyOnEnter,this.searchOnlyOnEnter=i.searchOnlyOnEnter;const r=function Cz(n){var t,e,i,r;return{searchIconClass:null!==(t=n.searchIconClass)&&void 0!==t?t:"icomoon Search",crossIconClass:null!==(e=n.crossIconClass)&&void 0!==e?e:"icomoon close",dropDownButtonIconClass:null!==(i=n.dropDownButtonIconClass)&&void 0!==i?i:"icomoon arrow_down",recentSearchIconClass:null!==(r=n.recentSearchIconClass)&&void 0!==r?r:"icomoon Search"}}(t);this.searchIconClass=r.searchIconClass,this.crossIconClass=r.crossIconClass,this.dropDownButtonIconClass=r.dropDownButtonIconClass,this.recentSearchIconClass=r.recentSearchIconClass}}let Dz=(()=>{class n{constructor(e){this.injector=e}ngDoBootstrap(){const e=function R$(n,t){const e=function S$(n,t){return t.get($i).resolveComponentFactory(n).inputs}(n,t.injector),i=t.strategyFactory||new T$(n,t.injector),r=function x$(n){const t={};return n.forEach(({propName:e,templateName:i})=>{t[function b$(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=e}),t}(e);class o extends O${constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c)})}return this._ngElementStrategy}attributeChangedCallback(a,l,c,u){this.ngElementStrategy.setInputValue(r[a],c)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return o.observedAttributes=Object.keys(r),e.forEach(({propName:s})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),o}(yG,{injector:this.injector});customElements.define("sourceloop-search-element",e),Object.assign(window,{SearchConfiguration:yz})}}return n.\u0275fac=function(e){return new(e||n)(b(It))},n.\u0275mod=ae({type:n}),n.\u0275inj=oe({imports:[dw,_z,ps,WB,bN,_$,Ul,tj,lj,y$,HV]}),n})();(function vR(){ab=!1})(),QP().bootstrapModule(Dz).catch(n=>console.error(n))}},re=>{re(re.s=487)}]);
1
+ (()=>{"use strict";var e,_={},h={};function n(e){var a=h[e];if(void 0!==a)return a.exports;var r=h[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var s=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],o=!0,t=0;t<r.length;t++)(!1&l||s>=l)&&Object.keys(n.O).every(i=>n.O[i](r[t]))?r.splice(t--,1):(o=!1,l<s&&(s=l));if(o){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,s,o]=l,v=0;if(f.some(d=>0!==e[d])){for(t in s)n.o(s,t)&&(n.m[t]=s[t]);if(o)var b=o(n)}for(u&&u(l);v<f.length;v++)n.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunksearch_element=self.webpackChunksearch_element||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
2
+ "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[461],{20:(te,Q,ve)=>{ve(861)},861:()=>{const te=globalThis;function Q(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const Te=Object.getOwnPropertyDescriptor,Le=Object.defineProperty,Ie=Object.getPrototypeOf,_t=Object.create,Et=Array.prototype.slice,Me="addEventListener",Ze="removeEventListener",Ae=Q(Me),je=Q(Ze),ae="true",le="false",Pe=Q("");function He(e,r){return Zone.current.wrap(e,r)}function xe(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=Q,Ce=typeof window<"u",ge=Ce?window:void 0,$=Ce&&ge||globalThis,Tt="removeAttribute";function Ve(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=He(e[c],r+"_"+c));return e}function We(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),Ge=!De&&!qe&&!(!Ce||!ge.HTMLElement),Xe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!qe&&!(!Ce||!ge.HTMLElement),Se={},mt=j("enable_beforeunload"),Ye=function(e){if(!(e=e||$.event))return;let r=Se[e.type];r||(r=Se[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return Ge&&c===ge&&"error"===e.type?(i=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=t&&t.apply(this,arguments),"beforeunload"===e.type&&$[mt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function $e(e,r,c){let t=Te(e,r);if(!t&&c&&Te(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=j("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const u=t.get,E=t.set,T=r.slice(2);let y=Se[T];y||(y=Se[T]=j("ON_PROPERTY"+T)),t.set=function(D){let d=this;!d&&e===$&&(d=$),d&&("function"==typeof d[y]&&d.removeEventListener(T,Ye),E&&E.call(d,null),d[y]=D,"function"==typeof D&&d.addEventListener(T,Ye,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const d=D[y];if(d)return d;if(u){let w=u.call(this);if(w)return t.set.call(this,w),"function"==typeof D[Tt]&&D.removeAttribute(r),w}return null},Le(e,r,t),e[i]=!0}function Ke(e,r,c){if(r)for(let t=0;t<r.length;t++)$e(e,"on"+r[t],c);else{const t=[];for(const i in e)"on"==i.slice(0,2)&&t.push(i);for(let i=0;i<t.length;i++)$e(e,t[i],c)}}const re=j("originalInstance");function we(e){const r=$[e];if(!r)return;$[j(e)]=r,$[e]=function(){const i=Ve(arguments,e);switch(i.length){case 0:this[re]=new r;break;case 1:this[re]=new r(i[0]);break;case 2:this[re]=new r(i[0],i[1]);break;case 3:this[re]=new r(i[0],i[1],i[2]);break;case 4:this[re]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},fe($[e],r);const c=new r(function(){});let t;for(t in c)"XMLHttpRequest"===e&&"responseBlob"===t||function(i){"function"==typeof c[i]?$[e].prototype[i]=function(){return this[re][i].apply(this[re],arguments)}:Le($[e].prototype,i,{set:function(u){"function"==typeof u?(this[re][i]=He(u,e+"."+i),fe(this[re][i],u)):this[re][i]=u},get:function(){return this[re][i]}})}(t);for(t in r)"prototype"!==t&&r.hasOwnProperty(t)&&($[e][t]=r[t])}function ue(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Ie(t);!t&&e[r]&&(t=e);const i=j(r);let u=null;if(t&&(!(u=t[i])||!t.hasOwnProperty(i))&&(u=t[i]=t[r],We(t&&Te(t,r)))){const T=c(u,i,r);t[r]=function(){return T(this,arguments)},fe(t[r],u)}return u}function yt(e,r,c){let t=null;function i(u){const E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(E.target,E.args),u}t=ue(e,r,u=>function(E,T){const y=c(E,T);return y.cbIdx>=0&&"function"==typeof T[y.cbIdx]?xe(y.name,T[y.cbIdx],y,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Je=!1,Be=!1;function kt(){if(Je)return Be;Je=!0;try{const e=ge.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Be=!0)}catch{}return Be}function Qe(e){return"function"==typeof e}function et(e){return"number"==typeof e}let me=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}const vt={useG:!0},ne={},tt={},nt=new RegExp("^"+Pe+"(\\w+)(true|false)$"),rt=j("propagationStopped");function ot(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=Pe+c,u=Pe+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function bt(e,r,c,t){const i=t&&t.add||Me,u=t&&t.rm||Ze,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",y=j(i),D="."+i+":",d="prependListener",w="."+d+":",Z=function(k,h,H){if(k.isRemoved)return;const V=k.callback;let Y;"object"==typeof V&&V.handleEvent&&(k.callback=g=>V.handleEvent(g),k.originalDelegate=V);try{k.invoke(k,h,[H])}catch(g){Y=g}const G=k.options;return G&&"object"==typeof G&&G.once&&h[u].call(h,H.type,k.originalDelegate?k.originalDelegate:k.callback,G),Y};function x(k,h,H){if(!(h=h||e.event))return;const V=k||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const G=[];if(1===Y.length){const g=Z(Y[0],V,h);g&&G.push(g)}else{const g=Y.slice();for(let z=0;z<g.length&&(!h||!0!==h[rt]);z++){const O=Z(g[z],V,h);O&&G.push(O)}}if(1===G.length)throw G[0];for(let g=0;g<G.length;g++){const z=G[g];r.nativeScheduleMicroTask(()=>{throw z})}}}const U=function(k){return x(this,k,!1)},K=function(k){return x(this,k,!0)};function J(k,h){if(!k)return!1;let H=!0;h&&void 0!==h.useG&&(H=h.useG);const V=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let G=!1;h&&void 0!==h.rt&&(G=h.rt);let g=k;for(;g&&!g.hasOwnProperty(i);)g=Ie(g);if(!g&&k[i]&&(g=k),!g||g[y])return!1;const z=h&&h.eventNameToString,O={},R=g[y]=g[i],b=g[j(u)]=g[u],S=g[j(E)]=g[E],ee=g[j(T)]=g[T];let W;h&&h.prepend&&(W=g[j(h.prepend)]=g[h.prepend]);const q=H?function(s){if(!O.isExisting)return R.call(O.target,O.eventName,O.capture?K:U,O.options)}:function(s){return R.call(O.target,O.eventName,s.invoke,O.options)},A=H?function(s){if(!s.isRemoved){const l=ne[s.eventName];let v;l&&(v=l[s.capture?ae:le]);const C=v&&s.target[v];if(C)for(let m=0;m<C.length;m++)if(C[m]===s){C.splice(m,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),0===C.length&&(s.allRemoved=!0,s.target[v]=null);break}}if(s.allRemoved)return b.call(s.target,s.eventName,s.capture?K:U,s.options)}:function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},he=h&&h.diff?h.diff:function(s,l){const v=typeof l;return"function"===v&&s.callback===l||"object"===v&&s.originalDelegate===l},de=Zone[j("UNPATCHED_EVENTS")],oe=e[j("PASSIVE_EVENTS")],a=function(s,l,v,C,m=!1,L=!1){return function(){const I=this||e;let M=arguments[0];h&&h.transferEventName&&(M=h.transferEventName(M));let B=arguments[1];if(!B)return s.apply(this,arguments);if(De&&"uncaughtException"===M)return s.apply(this,arguments);let F=!1;if("function"!=typeof B){if(!B.handleEvent)return s.apply(this,arguments);F=!0}if(V&&!V(s,B,I,arguments))return;const Ee=me&&!!oe&&-1!==oe.indexOf(M),ie=function f(s){if("object"==typeof s&&null!==s){const l={...s};return s.signal&&(l.signal=s.signal),l}return s}(function N(s,l){return!me&&"object"==typeof s&&s?!!s.capture:me&&l?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],Ee)),pe=ie?.signal;if(pe?.aborted)return;if(de)for(let ce=0;ce<de.length;ce++)if(M===de[ce])return Ee?s.call(I,M,B,ie):s.apply(this,arguments);const Ue=!!ie&&("boolean"==typeof ie||ie.capture),lt=!(!ie||"object"!=typeof ie)&&ie.once,At=Zone.current;let ze=ne[M];ze||(ot(M,z),ze=ne[M]);const ut=ze[Ue?ae:le];let Ne,ke=I[ut],ft=!1;if(ke){if(ft=!0,Y)for(let ce=0;ce<ke.length;ce++)if(he(ke[ce],B))return}else ke=I[ut]=[];const ht=I.constructor.name,dt=tt[ht];dt&&(Ne=dt[M]),Ne||(Ne=ht+l+(z?z(M):M)),O.options=ie,lt&&(O.options.once=!1),O.target=I,O.capture=Ue,O.eventName=M,O.isExisting=ft;const Re=H?vt:void 0;Re&&(Re.taskData=O),pe&&(O.options.signal=void 0);const se=At.scheduleEventTask(Ne,B,Re,v,C);if(pe){O.options.signal=pe;const ce=()=>se.zone.cancelTask(se);s.call(pe,"abort",ce,{once:!0}),se.removeAbortListener=()=>pe.removeEventListener("abort",ce)}return O.target=null,Re&&(Re.taskData=null),lt&&(O.options.once=!0),!me&&"boolean"==typeof se.options||(se.options=ie),se.target=I,se.capture=Ue,se.eventName=M,F&&(se.originalDelegate=B),L?ke.unshift(se):ke.push(se),m?I:void 0}};return g[i]=a(R,D,q,A,G),W&&(g[d]=a(W,w,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,G,!0)),g[u]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=arguments[2],C=!!v&&("boolean"==typeof v||v.capture),m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,s,arguments))return;const L=ne[l];let I;L&&(I=L[C?ae:le]);const M=I&&s[I];if(M)for(let B=0;B<M.length;B++){const F=M[B];if(he(F,m))return M.splice(B,1),F.isRemoved=!0,0!==M.length||(F.allRemoved=!0,s[I]=null,C||"string"!=typeof l)||(s[Pe+"ON_PROPERTY"+l]=null),F.zone.cancelTask(F),G?s:void 0}return b.apply(this,arguments)},g[E]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=[],C=st(s,z?z(l):l);for(let m=0;m<C.length;m++){const L=C[m];v.push(L.originalDelegate?L.originalDelegate:L.callback)}return v},g[T]=function(){const s=this||e;let l=arguments[0];if(l){h&&h.transferEventName&&(l=h.transferEventName(l));const v=ne[l];if(v){const L=s[v[le]],I=s[v[ae]];if(L){const M=L.slice();for(let B=0;B<M.length;B++){const F=M[B];this[u].call(this,l,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(I){const M=I.slice();for(let B=0;B<M.length;B++){const F=M[B];this[u].call(this,l,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const v=Object.keys(s);for(let C=0;C<v.length;C++){const L=nt.exec(v[C]);let I=L&&L[1];I&&"removeListener"!==I&&this[T].call(this,I)}this[T].call(this,"removeListener")}if(G)return this},fe(g[i],R),fe(g[u],b),ee&&fe(g[T],ee),S&&fe(g[E],S),!0}let X=[];for(let k=0;k<c.length;k++)X[k]=J(c[k],t);return X}function st(e,r){if(!r){const u=[];for(let E in e){const T=nt.exec(E);let y=T&&T[1];if(y&&(!r||y===r)){const D=e[E];if(D)for(let d=0;d<D.length;d++)u.push(D[d])}}return u}let c=ne[r];c||(ot(r),c=ne[r]);const t=e[c[le]],i=e[c[ae]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function Pt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[rt]=!0,t&&t.apply(i,u)})}const Oe=j("zoneTask");function ye(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};const w=i.apply(e,d.args);return et(w)?d.handleId=w:(d.handle=w,d.isRefreshable=Qe(w.refresh)),D}function y(D){const{handle:d,handleId:w}=D.data;return u.call(e,d??w)}i=ue(e,r+=t,D=>function(d,w){if(Qe(w[0])){const Z={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?w[1]||0:void 0,args:w},x=w[0];w[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:G}=Z;!Y&&!G&&(V?delete E[V]:H&&(H[Oe]=null))}};const U=xe(r,w[0],Z,T,y);if(!U)return U;const{handleId:K,handle:J,isRefreshable:X,isPeriodic:k}=U.data;if(K)E[K]=U;else if(J&&(J[Oe]=U,X&&!k)){const h=J.refresh;J.refresh=function(){const{zone:H,state:V}=U;return"notScheduled"===V?(U._state="scheduled",H._updateTaskCount(U,1)):"running"===V&&(U._state="scheduling"),h.call(this)}}return J??K??U}return D.apply(e,w)}),u=ue(e,c,D=>function(d,w){const Z=w[0];let x;et(Z)?(x=E[Z],delete E[Z]):(x=Z?.[Oe],x?Z[Oe]=null:x=Z),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,w)})}function it(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(!t||0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function ct(e,r,c,t){e&&Ke(e,it(e,r,c),t)}function Fe(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function It(e,r,c,t,i){const u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];r[t]=function(T,y,D){return y&&y.prototype&&i.forEach(function(d){const w=`${c}.${t}::`+d,Z=y.prototype;try{if(Z.hasOwnProperty(d)){const x=e.ObjectGetOwnPropertyDescriptor(Z,d);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,w),e._redefineProperty(y.prototype,d,x)):Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}else Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}catch{}}),E.call(r,T,y,D)},e.attachOriginToPatched(r[t],E)}const at=function be(){const e=globalThis,r=!0===e[Q("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function ve(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static{this.__symbol__=Q}static assertZonePatched(){if(te.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,p=!1){if(O.hasOwnProperty(n)){const P=!0===te[Q("forceDuplicateZoneCheck")];if(!p&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,R),c(P,P)}}get parent(){return this._parent}get name(){return this._name}constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){const o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o)}}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P)}finally{b=b.parent}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,p){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||J).name+"; Execution: "+this.name+")");const P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===z||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const de=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==z||A||_e&&oe===k)he&&P._transitionTo(h,H,k);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=de}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent}}n._transitionTo(k,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(p){throw n._transitionTo(Y,k,X),this._zoneDelegate.handleError(this,p),p}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==k&&n._transitionTo(h,k),n}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(G,n,o,p,P,void 0))}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q))}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(z,n,o,p,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||J).name+"; Execution: "+this.name+")");if(n.state===h||n.state===H){n._transitionTo(V,h,H);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,V),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,V),n.runCount=-1,n}}_updateTaskCount(n,o){const p=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;P<p.length;P++)p[P]._updateTaskCount(n.type,o)}}return N})();const i={name:"",onHasTask:(N,_,n,o)=>N.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}constructor(_,n,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const p=o&&o.onHasTask;(p||n&&n._hasTaskZS)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p)}handleError(_,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n)}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=G)throw new Error("Task is missing scheduleFn.");U(n)}return o}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){const o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=p&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_})}}class E{constructor(_,n,o,p,P,q){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=_===z&&p&&p.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),ee++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{1==ee&&K(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,k)}_transitionTo(_,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=_,_==X&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const T=Q("setTimeout"),y=Q("Promise"),D=Q("then");let Z,d=[],w=!1;function x(N){if(Z||te[y]&&(Z=te[y].resolve(0)),Z){let _=Z[D];_||(_=Z.then),_.call(Z,N)}else te[T](N,0)}function U(N){0===ee&&0===d.length&&x(K),N&&d.push(N)}function K(){if(!w){for(w=!0;d.length;){const N=d;d=[];for(let _=0;_<N.length;_++){const n=N[_];try{n.zone.runTask(n,null,null)}catch(o){R.onUnhandledError(o)}}}R.microtaskDrainDone(),w=!1}}const J={name:"NO ZONE"},X="notScheduled",k="scheduling",h="scheduled",H="running",V="canceling",Y="unknown",G="microTask",g="macroTask",z="eventTask",O={},R={symbol:Q,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,showUncaughtError:()=>!t[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x};let b={parent:null,zone:new t(null,null)},S=null,ee=0;function W(){}return c("Zone","Zone"),t}(),e.Zone}();(function Zt(e){(function Nt(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,y=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=T("Promise"),w=T("then"),Z="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;y.length;){const f=y.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){U(a)}}};const x=T("unhandledPromiseRejectionHandler");function U(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function K(f){return f&&f.then}function J(f){return f}function X(f){return A.reject(f)}const k=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),G="Promise.then",g=null,z=!0,O=!1,R=0;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},ee="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(ee);if(f[k]===g){let v=null;try{("object"==typeof s||"function"==typeof s)&&(v=s&&s.then)}catch(C){return l(()=>{N(f,!1,C)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(k)&&s.hasOwnProperty(h)&&s[k]!==g)n(s),N(f,s[k],s[h]);else if(a!==O&&"function"==typeof v)try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(C){l(()=>{N(f,!1,C)})()}else{f[k]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===z&&(f[k]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const m=c.currentTask&&c.currentTask.data&&c.currentTask.data[Z];m&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<C.length;)o(f,C[m++],C[m++],C[m++],C[m++]);if(0==C.length&&a==O){f[k]=R;let m=s;try{throw new Error("Uncaught (in promise): "+function E(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(L){m=L}D&&(m.throwOriginal=!0),m.rejection=s,m.promise=f,m.zone=c.current,m.task=c.currentTask,y.push(m),t.scheduleMicroTask()}}}return f}const _=T("rejectionHandledHandler");function n(f){if(f[k]===R){try{const a=c[_];a&&"function"==typeof a&&a.call(this,{rejection:f[h],promise:f})}catch{}f[k]=O;for(let a=0;a<y.length;a++)f===y[a].promise&&y.splice(a,1)}}function o(f,a,s,l,v){n(f);const C=f[k],m=C?"function"==typeof l?l:J:"function"==typeof v?v:X;a.scheduleMicroTask(G,()=>{try{const L=f[h],I=!!s&&H===s[H];I&&(s[V]=L,s[Y]=C);const M=a.run(m,void 0,I&&m!==X&&m!==J?[]:[L]);N(s,!0,M)}catch(L){N(s,!1,L)}},s)}const P=function(){},q=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),z,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new q([],"All promises were rejected"));const s=[];let l=0;try{for(let m of a)l++,s.push(A.resolve(m))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(0===l)return Promise.reject(new q([],"All promises were rejected"));let v=!1;const C=[];return new A((m,L)=>{for(let I=0;I<s.length;I++)s[I].then(M=>{v||(v=!0,m(M))},M=>{C.push(M),l--,0===l&&(v=!0,L(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((L,I)=>{s=L,l=I});function C(L){s(L)}function m(L){l(L)}for(let L of a)K(L)||(L=this.resolve(L)),L.then(C,m);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,C=new this((M,B)=>{l=M,v=B}),m=2,L=0;const I=[];for(let M of a){K(M)||(M=this.resolve(M));const B=L;try{M.then(F=>{I[B]=s?s.thenCallback(F):F,m--,0===m&&l(I)},F=>{s?(I[B]=s.errorCallback(F),m--,0===m&&l(I)):v(F)})}catch(F){v(F)}m++,L++}return m-=2,0===m&&l(I),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[k]=g,s[h]=[];try{const l=S();a&&a(l(b(s,z)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const v=new l(P),C=c.current;return this[k]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(P);l[H]=H;const v=c.current;return this[k]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const _e=r[d]=r.Promise;r.Promise=A;const he=T("thenPatched");function de(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[w]=l,f.prototype.then=function(v,C){return new A((L,I)=>{l.call(this,L,I)}).then(v,C)},f[he]=!0}return t.patchThen=de,_e&&(de(_e),ue(r,"fetch",f=>function oe(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[he]||de(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=y,A})})(e),function Lt(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=j("OriginalDelegate"),i=j("Promise"),u=j("Error"),E=function(){if("function"==typeof this){const d=this[t];if(d)return"function"==typeof d?c.call(d):Object.prototype.toString.call(d);if(this===Promise){const w=r[i];if(w)return c.call(w)}if(this===Error){const w=r[u];if(w)return c.call(w)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}})}(e),function Mt(e){e.__load_patch("util",(r,c,t)=>{const i=Fe(r);t.patchOnProperties=Ke,t.patchMethod=ue,t.bindArguments=Ve,t.patchMacroTask=yt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=Pt,t.patchEventTarget=bt,t.isIEOrEdge=kt,t.ObjectDefineProperty=Le,t.ObjectGetOwnPropertyDescriptor=Te,t.ObjectCreate=_t,t.ArraySlice=Et,t.patchClass=we,t.wrapWithCurrentZone=He,t.filterProperties=it,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=It,t.getGlobalObjects=()=>({globalSources:tt,zoneSymbolEventNames:ne,eventNames:i,isBrowser:Ge,isMix:Xe,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Ze})})}(e)})(at),function Ot(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const c="set",t="clear";ye(r,c,t,"Timeout"),ye(r,c,t,"Interval"),ye(r,c,t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ye(r,"request","cancel","AnimationFrame"),ye(r,"mozRequest","mozCancel","AnimationFrame"),ye(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++)ue(r,t[i],(E,T,y)=>function(D,d){return c.current.run(E,r,d,y)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function Dt(e,r){r.patchEventPrototype(e,r)})(r,t),function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let y=0;y<c.length;y++){const D=c[y],Z=E+(D+u),x=E+(D+i);t[D]={},t[D][u]=Z,t[D][i]=x}const T=e.EventTarget;T&&T.prototype&&r.patchEventTarget(e,r,[T&&T.prototype])}(r,t);const i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{we("MutationObserver"),we("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{we("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{we("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function St(e,r){if(De&&!Xe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(Ge){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function pt(){try{const e=ge.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];ct(i,Fe(i),c&&c.concat(u),Ie(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){const u=r[t[i]];u&&u.prototype&&ct(u.prototype,Fe(u.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Rt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function D(d){const w=d.XMLHttpRequest;if(!w)return;const Z=w.prototype;let U=Z[Ae],K=Z[je];if(!U){const R=d.XMLHttpRequestEventTarget;if(R){const b=R.prototype;U=b[Ae],K=b[je]}}const J="readystatechange",X="scheduled";function k(R){const b=R.data,S=b.target;S[E]=!1,S[y]=!1;const ee=S[u];U||(U=S[Ae],K=S[je]),ee&&K.call(S,J,ee);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&R.state===X){const _=S[c.__symbol__("loadfalse")];if(0!==S.status&&_&&_.length>0){const n=R.invoke;R.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let p=0;p<o.length;p++)o[p]===R&&o.splice(p,1);!b.aborted&&R.state===X&&n.call(R)},_.push(R)}else R.invoke()}else!b.aborted&&!1===S[E]&&(S[y]=!0)};return U.call(S,J,W),S[t]||(S[t]=R),z.apply(S,b.args),S[E]=!0,R}function h(){}function H(R){const b=R.data;return b.aborted=!0,O.apply(b.target,b.args)}const V=ue(Z,"open",()=>function(R,b){return R[i]=0==b[2],R[T]=b[1],V.apply(R,b)}),G=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),z=ue(Z,"send",()=>function(R,b){if(!0===c.current[g]||R[i])return z.apply(R,b);{const S={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},ee=xe("XMLHttpRequest.send",h,S,k,H);R&&!0===R[y]&&!S.aborted&&ee.state===X&&ee.invoke()}}),O=ue(Z,"abort",()=>function(R,b){const S=function x(R){return R[t]}(R);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[G])return O.apply(R,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),y=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function gt(e,r){const c=e.constructor.name;for(let t=0;t<r.length;t++){const i=r[t],u=e[i];if(u){if(!We(Te(e,i)))continue;e[i]=(T=>{const y=function(){return T.apply(this,Ve(arguments,c+"."+i))};return fe(y,T),y})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){st(r,i).forEach(T=>{const y=r.PromiseRejectionEvent;if(y){const D=new y(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function wt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(at)}},te=>{te(te.s=20)}]);
3
+ "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[792],{844:()=>{let Ue=null,ns=!1,el=1;const Gi=Symbol("SIGNAL");function te(e){const n=Ue;return Ue=e,n}const Jg={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function e_(e){if((!is(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==el)){if(!e.producerMustRecompute(e)&&!du(e))return e.dirty=!1,void(e.lastCleanEpoch=el);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=el}}function i_(e){e.dirty=!0,function t_(e){if(void 0===e.liveConsumerNode)return;const n=ns;ns=!0;try{for(const t of e.liveConsumerNode)t.dirty||i_(t)}finally{ns=n}}(e),e.consumerMarkedDirty?.(e)}function r_(e){return e&&(e.nextProducerIndex=0),te(e)}function o_(e,n){if(te(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(is(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)tl(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function du(e){kr(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(e_(t),i!==t.version))return!0}return!1}function s_(e){if(kr(e),is(e))for(let n=0;n<e.producerNode.length;n++)tl(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function tl(e,n){if(function l_(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),kr(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)tl(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];kr(r),r.producerIndexOfThis[i]=n}}function is(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function kr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let c_=null;const fu=()=>{},EI={...Jg,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:fu};function de(e){return"function"==typeof e}function u_(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const hu=u_(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function nl(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class je{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(de(i))try{i()}catch(o){n=o instanceof hu?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{m_(o)}catch(s){n=n??[],s instanceof hu?n=[...n,...s.errors]:n.push(s)}}if(n)throw new hu(n)}}add(n){var t;if(n&&n!==this)if(this.closed)m_(n);else{if(n instanceof je){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&nl(t,n)}remove(n){const{_finalizers:t}=this;t&&nl(t,n),n instanceof je&&n._removeParent(this)}}je.EMPTY=(()=>{const e=new je;return e.closed=!0,e})();const f_=je.EMPTY;function h_(e){return e instanceof je||e&&"closed"in e&&de(e.remove)&&de(e.add)&&de(e.unsubscribe)}function m_(e){de(e)?e():e.unsubscribe()}const Wi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},il={setTimeout(e,n,...t){const{delegate:i}=il;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=il;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function p_(e){il.setTimeout(()=>{const{onUnhandledError:n}=Wi;if(!n)throw e;n(e)})}function mu(){}const MI=pu("C",void 0,void 0);function pu(e,n,t){return{kind:e,value:n,error:t}}let qi=null;function rl(e){if(Wi.useDeprecatedSynchronousErrorHandling){const n=!qi;if(n&&(qi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=qi;if(qi=null,t)throw i}}else e()}class gu extends je{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,h_(n)&&n.add(this)):this.destination=RI}static create(n,t,i){return new rs(n,t,i)}next(n){this.isStopped?bu(function AI(e){return pu("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?bu(function SI(e){return pu("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?bu(MI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const TI=Function.prototype.bind;function _u(e,n){return TI.call(e,n)}class FI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){ol(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){ol(i)}else ol(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ol(t)}}}class rs extends gu{constructor(n,t,i){let r;if(super(),de(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Wi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&_u(n.next,o),error:n.error&&_u(n.error,o),complete:n.complete&&_u(n.complete,o)}):r=n}this.destination=new FI(r)}}function ol(e){Wi.useDeprecatedSynchronousErrorHandling?function II(e){Wi.useDeprecatedSynchronousErrorHandling&&qi&&(qi.errorThrown=!0,qi.error=e)}(e):p_(e)}function bu(e,n){const{onStoppedNotification:t}=Wi;t&&il.setTimeout(()=>t(e,n))}const RI={closed:!0,next:mu,error:function OI(e){throw e},complete:mu},yu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Nr(e){return e}let Ie=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function NI(e){return e&&e instanceof gu||function kI(e){return e&&de(e.next)&&de(e.error)&&de(e.complete)}(e)&&h_(e)}(t)?t:new rs(t,i,r);return rl(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=__(i))((r,o)=>{const s=new rs({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[yu](){return this}pipe(...t){return function g_(e){return 0===e.length?Nr:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=__(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function __(e){var n;return null!==(n=e??Wi.Promise)&&void 0!==n?n:Promise}const PI=u_(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let oe=(()=>{class e extends Ie{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new b_(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new PI}next(t){rl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){rl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){rl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{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(null===(t=this.observers)||void 0===t?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){const{hasError:i,isStopped:r,observers:o}=this;return i||r?f_:(this.currentObservers=null,o.push(t),new je(()=>{this.currentObservers=null,nl(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ie;return t.source=this,t}}return e.create=(n,t)=>new b_(n,t),e})();class b_ extends oe{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:f_}}class y_ extends oe{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function ht(e){return n=>{if(function LI(e){return de(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function at(e,n,t,i,r){return new VI(e,n,t,i,r)}class VI extends gu{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Xe(e,n){return ht((t,i)=>{let r=0;t.subscribe(at(i,o=>{i.next(e.call(n,o,r++))}))})}const v_="https://g.co/ng/security#xss";class w extends Error{constructor(n,t){super(function Pr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ei(e){return{toString:e}.toString()}const Vr="__parameters__";function jr(e,n,t){return ei(()=>{const i=function vu(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(Vr)?l[Vr]:Object.defineProperty(l,Vr,{value:[]})[Vr];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const pe=globalThis;function ye(e){for(let n in e)if(e[n]===ye)return n;throw Error("Could not find renamed property on target object.")}function BI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Je).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function xu(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const jI=ye({__forward_ref__:ye});function De(e){return e.__forward_ref__=De,e.toString=function(){return Je(this())},e}function j(e){return al(e)?e():e}function al(e){return"function"==typeof e&&e.hasOwnProperty(jI)&&e.__forward_ref__===De}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ue(e){return{providers:e.providers||[],imports:e.imports||[]}}function ll(e){return C_(e,dl)||C_(e,E_)}function C_(e,n){return e.hasOwnProperty(n)?e[n]:null}function cl(e){return e&&(e.hasOwnProperty(wu)||e.hasOwnProperty(GI))?e[wu]:null}const dl=ye({\u0275prov:ye}),wu=ye({\u0275inj:ye}),E_=ye({ngInjectableDef:ye}),GI=ye({ngInjectorDef:ye});class C{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=E({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Su(e){return e&&!!e.\u0275providers}const os=ye({\u0275cmp:ye}),Au=ye({\u0275dir:ye}),Iu=ye({\u0275pipe:ye}),S_=ye({\u0275mod:ye}),ti=ye({\u0275fac:ye}),ss=ye({__NG_ELEMENT_ID__:ye}),A_=ye({__NG_ENV_ID__:ye});function Y(e){return"string"==typeof e?e:null==e?"":String(e)}function Tu(e,n){throw new w(-201,!1)}var re=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(re||{});let Fu;function I_(){return Fu}function Lt(e){const n=Fu;return Fu=e,n}function T_(e,n,t){const i=ll(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&re.Optional?null:void 0!==n?n:void Tu()}const as={},Ou="__NG_DI_FLAG__",ul="ngTempTokenPath",QI=/\n/gm,F_="__source";let Hr;function vi(e){const n=Hr;return Hr=e,n}function eT(e,n=re.Default){if(void 0===Hr)throw new w(-203,!1);return null===Hr?T_(e,void 0,n):Hr.get(e,n&re.Optional?null:void 0,n)}function v(e,n=re.Default){return(I_()||eT)(j(e),n)}function T(e,n=re.Default){return v(e,fl(n))}function fl(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ru(e){const n=[];for(let t=0;t<e.length;t++){const i=j(e[t]);if(Array.isArray(i)){if(0===i.length)throw new w(900,!1);let r,o=re.Default;for(let s=0;s<i.length;s++){const a=i[s],l=tT(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(v(r,o))}else n.push(v(i))}return n}function ls(e,n){return e[Ou]=n,e.prototype[Ou]=n,e}function tT(e){return e[Ou]}const Ur=ls(jr("Optional"),8),hl=ls(jr("SkipSelf"),4);function Yi(e,n){return e.hasOwnProperty(ti)?e[ti]:null}function $r(e,n){e.forEach(t=>Array.isArray(t)?$r(t,n):n(t))}function R_(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ml(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Yt(e,n,t){let i=zr(e,n);return i>=0?e[1|i]=t:(i=~i,function k_(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Nu(e,n){const t=zr(e,n);if(t>=0)return e[1|t]}function zr(e,n){return function N_(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<t];if(n===s)return o<<t;s>n?r=o:i=o+1}return~(r<<t)}(e,n,1)}const Nn={},ae=[],Gr=new C(""),P_=new C("",-1),Pu=new C("");class gl{get(n,t=as){if(t===as){const i=new Error(`NullInjectorError: No provider for ${Je(n)}!`);throw i.name="NullInjectorError",i}return t}}var _l=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(_l||{}),pn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(pn||{}),A=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(A||{});function lT(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}function Lu(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const o=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,o)}else{const o=r,s=t[++i];V_(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),i++}}return i}function L_(e){return 3===e||4===e||6===e}function V_(e){return 64===e.charCodeAt(0)}function cs(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||B_(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function B_(e,n,t,i,r){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const j_="ng-template";function cT(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==lT(n[r+1].toLowerCase(),t,0))return!0}else if(Vu(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===t)return!0}return!1}function Vu(e){return 4===e.type&&e.value!==j_}function dT(e,n,t){return n===(4!==e.type||t?e.value:j_)}function uT(e,n,t){let i=4;const r=e.attrs,o=null!==r?function mT(e){for(let n=0;n<e.length;n++)if(L_(e[n]))return n;return e.length}(r):0;let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!dT(e,l,t)||""===l&&1===n.length){if(gn(i))return!1;s=!0}}else if(8&i){if(null===r||!cT(e,r,l,t)){if(gn(i))return!1;s=!0}}else{const c=n[++a],d=fT(l,r,Vu(e),t);if(-1===d){if(gn(i))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":r[d+1].toLowerCase(),2&i&&c!==u){if(gn(i))return!1;s=!0}}}}else{if(!s&&!gn(i)&&!gn(l))return!1;if(s&&gn(l))continue;s=!1,i=l|1&i}}return gn(i)||s}function gn(e){return!(1&e)}function fT(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){const s=n[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++r];for(;"string"==typeof a;)a=n[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function pT(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function H_(e,n,t=!1){for(let i=0;i<n.length;i++)if(uT(e,n[i],t))return!0;return!1}function gT(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function U_(e,n){return e?":not("+n.trim()+")":n}function _T(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&i){const a=e[++t];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!gn(s)&&(n+=U_(o,r),r=""),i=s,o=o||!gn(i);t++}return""!==r&&(n+=U_(o,r)),n}function xi(e){return ei(()=>{const n=z_(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===_l.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pn.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""};G_(t);const i=e.dependencies;return t.directiveDefs=bl(i,!1),t.pipeDefs=bl(i,!0),t.id=function DT(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function vT(e){return ne(e)||et(e)}function xT(e){return null!==e}function ge(e){return ei(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function $_(e,n){if(null==e)return Nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=A.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==A.None?[i,a]:i,n[o]=s):t[o]=i}return t}function D(e){return ei(()=>{const n=z_(e);return G_(n),n})}function ne(e){return e[os]||null}function et(e){return e[Au]||null}function mt(e){return e[Iu]||null}function z_(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Nn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:$_(e.inputs,n),outputs:$_(e.outputs),debugInfo:null}}function G_(e){e.features?.forEach(n=>n(e))}function bl(e,n){if(!e)return null;const t=n?mt:vT;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(xT)}function CT(...e){return{\u0275providers:Bu(0,e),\u0275fromNgModule:!0}}function Bu(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return $r(n,s=>{const a=s;yl(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&W_(r,o),t}function W_(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];ju(r,o=>{n(o,i)})}}function yl(e,n,t,i){if(!(e=j(e)))return!1;let r=null,o=cl(e);const s=!o&&ne(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=cl(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)yl(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{$r(o.imports,d=>{yl(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&W_(c,n)}if(!a){const c=Yi(r)||(()=>new r);n({provide:r,useFactory:c,deps:ae},r),n({provide:Pu,useValue:r,multi:!0},r),n({provide:Gr,useValue:()=>v(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;ju(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function ju(e,n){for(let t of e)Su(t)&&(t=t.\u0275providers),Array.isArray(t)?ju(t,n):n(t)}const ET=ye({provide:String,useValue:ye});function Hu(e){return null!==e&&"object"==typeof e&&ET in e}function Zi(e){return"function"==typeof e}const Uu=new C(""),vl={},ST={};let $u;function xl(){return void 0===$u&&($u=new gl),$u}class _n{}class Wr extends _n{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gu(n,s=>this.processProvider(s)),this.records.set(P_,qr(void 0,this)),r.has("environment")&&this.records.set(_n,qr(void 0,this));const o=this.records.get(Uu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Pu,ae,re.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=te(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),te(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=vi(this),i=Lt(void 0);try{return n()}finally{vi(t),Lt(i)}}get(n,t=as,i=re.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(A_))return n[A_](this);i=fl(i);const o=vi(this),s=Lt(void 0);try{if(!(i&re.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function OT(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(n)&&ll(n);l=c&&this.injectableDefInScope(c)?qr(zu(n),vl):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&re.Self?xl():this.parent).get(n,t=i&re.Optional&&t===as?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[ul]=a[ul]||[]).unshift(Je(n)),o)throw a;return function nT(e,n,t,i){const r=e[ul];throw n[F_]&&r.unshift(n[F_]),e.message=function iT(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Je(n);if(Array.isArray(n))r=n.map(Je).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Je(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(QI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[ul]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Lt(s),vi(o)}}resolveInjectorInitializers(){const n=te(null),t=vi(this),i=Lt(void 0);try{const o=this.get(Gr,ae,re.Self);for(const s of o)s()}finally{vi(t),Lt(i),te(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Je(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(n){let t=Zi(n=j(n))?n:j(n&&n.provide);const i=function IT(e){return Hu(e)?qr(void 0,e.useValue):qr(K_(e),vl)}(n);if(!Zi(n)&&!0===n.multi){let r=this.records.get(t);r||(r=qr(void 0,vl,!0),r.factory=()=>Ru(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=te(null);try{return t.value===vl&&(t.value=ST,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{te(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=j(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function zu(e){const n=ll(e),t=null!==n?n.factory:Yi(e);if(null!==t)return t;if(e instanceof C)throw new w(204,!1);if(e instanceof Function)return function AT(e){if(e.length>0)throw new w(204,!1);const t=function zI(e){return e&&(e[dl]||e[E_])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new w(204,!1)}function K_(e,n,t){let i;if(Zi(e)){const r=j(e);return Yi(r)||zu(r)}if(Hu(e))i=()=>j(e.useValue);else if(function Y_(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ru(e.deps||[]));else if(function q_(e){return!(!e||!e.useExisting)}(e))i=()=>v(j(e.useExisting));else{const r=j(e&&(e.useClass||e.provide));if(!function TT(e){return!!e.deps}(e))return Yi(r)||zu(r);i=()=>new r(...Ru(e.deps))}return i}function qr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Gu(e,n){for(const t of e)Array.isArray(t)?Gu(t,n):t&&Su(t)?Gu(t.\u0275providers,n):n(t)}function Z_(){return void 0!==I_()||null!=function JI(){return Hr}()}const Oe=0,S=1,k=2,$e=3,bn=4,vt=5,Kt=6,Kr=7,Ce=8,Ye=9,yn=10,$=11,fs=12,X_=13,Zr=14,Ne=15,hs=16,Qr=17,ni=18,ms=19,J_=20,wi=21,Cl=22,Qi=23,K=25,Yu=1,Pn=7,Xr=9,ze=10;var Ku=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ku||{});function xt(e){return Array.isArray(e)&&"object"==typeof e[Yu]}function wt(e){return Array.isArray(e)&&!0===e[Yu]}function Zu(e){return!!(4&e.flags)}function Xi(e){return e.componentOffset>-1}function Ml(e){return!(1&~e.flags)}function vn(e){return!!e.template}function Qu(e){return!!(512&e[k])}class ib{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function rb(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function It(){return ob}function ob(e){return e.type.prototype.ngOnChanges&&(e.setInput=WT),GT}function GT(){const e=ab(this),n=e?.current;if(n){const t=e.previous;if(t===Nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function WT(e,n,t,i,r){const o=this.declaredInputs[i],s=ab(e)||function qT(e,n){return e[sb]=n}(e,{previous:Nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new ib(c&&c.currentValue,t,l===Nn),rb(e,n,r,t)}It.ngInherit=!0;const sb="__ngSimpleChanges__";function ab(e){return e[sb]||null}const Ln=function(e,n,t){};let db=!1;function xe(e){for(;Array.isArray(e);)e=e[Oe];return e}function gs(e,n){return xe(n[e])}function Tt(e,n){return xe(n[e.index])}function _s(e,n){return e.data[n]}function Zt(e,n){const t=n[e];return xt(t)?t:t[Oe]}function nf(e){return!(128&~e[k])}function Vn(e,n){return null==n?null:e[n]}function ub(e){e[Qr]=0}function JT(e){1024&e[k]||(e[k]|=1024,nf(e)&&bs(e))}function rf(e){return!!(9216&e[k]||e[Qi]?.dirty)}function sf(e){e[yn].changeDetectionScheduler?.notify(1),rf(e)?bs(e):64&e[k]&&(function KT(){return db}()?(e[k]|=1024,bs(e)):e[yn].changeDetectionScheduler?.notify())}function bs(e){e[yn].changeDetectionScheduler?.notify();let n=Ji(e);for(;null!==n&&!(8192&n[k])&&(n[k]|=8192,nf(n));)n=Ji(n)}function Sl(e,n){if(!(256&~e[k]))throw new w(911,!1);null===e[wi]&&(e[wi]=[]),e[wi].push(n)}function Ji(e){const n=e[$e];return wt(n)?n[$e]:n}const z={lFrame:xb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function mb(){return z.bindingsEnabled}function eo(){return null!==z.skipHydrationRootTNode}function x(){return z.lFrame.lView}function ie(){return z.lFrame.tView}function lt(e){return z.lFrame.contextLView=e,e[Ce]}function ct(e){return z.lFrame.contextLView=null,e}function ve(){let e=pb();for(;null!==e&&64===e.type;)e=e.parent;return e}function pb(){return z.lFrame.currentTNode}function Bn(e,n){const t=z.lFrame;t.currentTNode=e,t.isParent=n}function lf(){return z.lFrame.isParent}function cf(){z.lFrame.isParent=!1}function xn(){return z.lFrame.bindingIndex++}function ri(e){const n=z.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function dF(e,n){const t=z.lFrame;t.bindingIndex=t.bindingRootIndex=e,df(n)}function df(e){z.lFrame.currentDirectiveIndex=e}function ff(){return z.lFrame.currentQueryIndex}function Al(e){z.lFrame.currentQueryIndex=e}function fF(e){const n=e[S];return 2===n.type?n.declTNode:1===n.type?e[vt]:null}function yb(e,n,t){if(t&re.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&re.Host||(r=fF(o),null===r||(o=o[Zr],10&r.type))););if(null===r)return!1;n=r,e=o}const i=z.lFrame=vb();return i.currentTNode=n,i.lView=e,!0}function hf(e){const n=vb(),t=e[S];z.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function vb(){const e=z.lFrame,n=null===e?null:e.child;return null===n?xb(e):n}function xb(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function wb(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Db=wb;function mf(){const e=wb();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 Dt(){return z.lFrame.selectedIndex}function er(e){z.lFrame.selectedIndex=e}function Ee(){const e=z.lFrame;return _s(e.tView,e.selectedIndex)}let Mb=!0;function vs(){return Mb}function jn(e){Mb=e}function Il(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=d&&(e.destroyHooks??=[]).push(t,d)}}function Tl(e,n,t){Sb(e,n,3,t)}function Fl(e,n,t,i){(3&e[k])===t&&Sb(e,n,t,i)}function pf(e,n){let t=e[k];(3&t)===n&&(t&=16383,t+=1,e[k]=t)}function Sb(e,n,t,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[Qr]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[Qr]+=65536),(a<o||-1==o)&&(bF(e,t,n,l),e[Qr]=(4294901760&e[Qr])+l+2),l++}function Ab(e,n){Ln(4,e,n);const t=te(null);try{n.call(e)}finally{te(t),Ln(5,e,n)}}function bF(e,n,t,i){const r=t[i]<0,o=t[i+1],a=e[r?-t[i]:t[i]];r?e[k]>>14<e[Qr]>>16&&(3&e[k])===n&&(e[k]+=16384,Ab(a,o)):Ab(a,o)}const to=-1;class xs{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function _f(e){return e!==to}function ws(e){return 32767&e}function Ds(e,n){let t=function DF(e){return e>>16}(e),i=n;for(;t>0;)i=i[Zr],t--;return i}let bf=!0;function Ol(e){const n=bf;return bf=e,n}const Ib=255,Tb=5;let CF=0;const Hn={};function Rl(e,n){const t=Fb(e,n);if(-1!==t)return t;const i=n[S];i.firstCreatePass&&(e.injectorIndex=n.length,yf(i.data,e),yf(n,null),yf(i.blueprint,null));const r=kl(e,n),o=e.injectorIndex;if(_f(r)){const s=ws(r),a=Ds(r,n),l=a[S].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function yf(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Fb(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function kl(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Vb(r),null===i)return to;if(t++,r=r[Zr],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return to}function vf(e,n,t){!function EF(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(ss)&&(i=t[ss]),null==i&&(i=t[ss]=CF++);const r=i&Ib;n.data[e+(r>>Tb)]|=1<<r}(e,n,t)}function Ob(e,n,t){if(t&re.Optional||void 0!==e)return e;Tu()}function Rb(e,n,t,i){if(t&re.Optional&&void 0===i&&(i=null),!(t&(re.Self|re.Host))){const r=e[Ye],o=Lt(void 0);try{return r?r.get(n,i,t&re.Optional):T_(n,i,t&re.Optional)}finally{Lt(o)}}return Ob(i,0,t)}function kb(e,n,t,i=re.Default,r){if(null!==e){if(2048&n[k]&&!(i&re.Self)){const s=function TF(e,n,t,i,r){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[k]&&!(512&s[k]);){const a=Nb(o,s,t,i|re.Self,Hn);if(a!==Hn)return a;let l=o.parent;if(!l){const c=s[J_];if(c){const d=c.get(t,Hn,i);if(d!==Hn)return d}l=Vb(s),s=s[Zr]}o=l}return r}(e,n,t,i,Hn);if(s!==Hn)return s}const o=Nb(e,n,t,i,Hn);if(o!==Hn)return o}return Rb(n,t,i,r)}function Nb(e,n,t,i,r){const o=function AF(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(ss)?e[ss]:void 0;return"number"==typeof n?n>=0?n&Ib:IF:n}(t);if("function"==typeof o){if(!yb(n,e,i))return i&re.Host?Ob(r,0,i):Rb(n,t,i,r);try{let s;if(s=o(i),null!=s||i&re.Optional)return s;Tu()}finally{Db()}}else if("number"==typeof o){let s=null,a=Fb(e,n),l=to,c=i&re.Host?n[Ne][vt]:null;for((-1===a||i&re.SkipSelf)&&(l=-1===a?kl(e,n):n[a+8],l!==to&&Lb(i,!1)?(s=n[S],a=ws(l),n=Ds(l,n)):a=-1);-1!==a;){const d=n[S];if(Pb(o,a,d.data)){const u=SF(a,n,t,s,i,c);if(u!==Hn)return u}l=n[a+8],l!==to&&Lb(i,n[S].data[a+8]===c)&&Pb(o,a,n)?(s=d,a=ws(l),n=Ds(l,n)):a=-1}}return r}function SF(e,n,t,i,r,o){const s=n[S],a=s.data[e+8],d=Nl(a,s,t,null==i?Xi(a)&&bf:i!=s&&!!(3&a.type),r&re.Host&&o===a);return null!==d?tr(n,s,d,a):Hn}function Nl(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,f=r?a+d:e.directiveEnd;for(let h=i?a:a+d;h<f;h++){const m=s[h];if(h<l&&t===m||h>=l&&m.type===t)return h}if(r){const h=s[l];if(h&&vn(h)&&h.type===t)return l}return null}function tr(e,n,t,i){let r=e[t];const o=n.data;if(function yF(e){return e instanceof xs}(r)){const s=r;s.resolving&&function YI(e,n){throw n&&n.join(" > "),new w(-200,e)}(function fe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Y(e)}(o[t]));const a=Ol(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Lt(s.injectImpl):null;yb(e,i,re.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function _F(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=ob(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Lt(c),Ol(a),s.resolving=!1,Db()}}return r}function Pb(e,n,t){return!!(t[n+(e>>Tb)]&1<<e)}function Lb(e,n){return!(e&re.Self||e&re.Host&&n)}class nt{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return kb(this._tNode,this._lView,n,fl(i),t)}}function IF(){return new nt(ve(),x())}function N(e){return ei(()=>{const n=e.prototype.constructor,t=n[ti]||xf(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[ti]||xf(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function xf(e){return al(e)?()=>{const n=xf(j(e));return n&&n()}:Yi(e)}function Vb(e){const n=e[S],t=n.type;return 2===t?n.declTNode:1===t?e[vt]:null}function ro(e){return function MF(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const o=t[r];if(L_(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(o===n)return t[r+1];r+=2}}}return null}(ve(),e)}function $b(e,n=null,t=null,i){const r=zb(e,n,t,i);return r.resolveInjectorInitializers(),r}function zb(e,n=null,t=null,i,r=new Set){const o=[t||ae,CT(e)];return i=i||("object"==typeof e?void 0:Je(e)),new Wr(o,n||xl(),i||null,r)}let pt=(()=>{class e{static{this.THROW_IF_NOT_FOUND=as}static{this.NULL=new gl}static create(t,i){if(Array.isArray(t))return $b({name:""},i,t,"");{const r=t.name??"";return $b({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=E({token:e,providedIn:"any",factory:()=>v(P_)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function Df(e){return e.ngOriginalError}class Qt{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Df(n);for(;t&&Df(t);)t=Df(t);return t||null}}const Wb=new C("",{providedIn:"root",factory:()=>T(Qt).handleError.bind(void 0)});let oo=(()=>{class e{static{this.__NG_ELEMENT_ID__=BF}static{this.__NG_ENV_ID__=t=>t}}return e})();class VF extends oo{constructor(n){super(),this._lView=n}onDestroy(n){return Sl(this._lView,n),()=>function af(e,n){if(null===e[wi])return;const t=e[wi].indexOf(n);-1!==t&&e[wi].splice(t,1)}(this._lView,n)}}function BF(){return new VF(x())}function jF(){return so(ve(),x())}function so(e,n){return new H(Tt(e,n))}let H=(()=>{class e{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=jF}}return e})();function Yb(e){return e instanceof H?e.nativeElement:e}function Cf(e){return n=>{setTimeout(e,void 0,n)}}const _e=class HF extends oe{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,Z_()&&(this.destroyRef=T(oo,{optional:!0})??void 0)}emit(n){const t=te(null);try{super.next(n)}finally{te(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Cf(o),r&&(r=Cf(r)),s&&(s=Cf(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof je&&n.add(a),a}};function UF(){return this._results[Symbol.iterator]()}class Cs{get changes(){return this._changes??=new _e}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Cs.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=UF)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function Vt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function aT(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Ll(e){return!(128&~e.flags)}const Ef=new Map;let zF=0;const Sf="__ngContext__";function Ct(e,n){xt(n)?(e[Sf]=n[ms],function WF(e){Ef.set(e[ms],e)}(n)):e[Sf]=n}function ry(e){return sy(e[fs])}function oy(e){return sy(e[bn])}function sy(e){for(;null!==e&&!wt(e);)e=e[bn];return e}let Af;function Di(){if(void 0!==Af)return Af;if(typeof document<"u")return document;throw new w(210,!1)}const jl=new C("",{providedIn:"root",factory:()=>dO}),dO="ng",my=new C(""),gt=new C("",{providedIn:"platform",factory:()=>"unknown"}),ao=new C(""),If=new C("",{providedIn:"root",factory:()=>Di().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let py=()=>null;function Lf(e,n,t=!1){return py(e,n,t)}const vy=new C("",{providedIn:"root",factory:()=>!1});let ql,Yl;function uo(e){return function Hf(){if(void 0===ql&&(ql=null,pe.trustedTypes))try{ql=pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ql}()?.createHTML(e)||e}function wy(e){return function Uf(){if(void 0===Yl&&(Yl=null,pe.trustedTypes))try{Yl=pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yl}()?.createHTML(e)||e}class nr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${v_})`}}class CO extends nr{getTypeName(){return"HTML"}}class EO extends nr{getTypeName(){return"Style"}}class MO extends nr{getTypeName(){return"Script"}}class SO extends nr{getTypeName(){return"URL"}}class AO extends nr{getTypeName(){return"ResourceURL"}}function Xt(e){return e instanceof nr?e.changingThisBreaksApplicationSecurity:e}function Un(e,n){const t=function IO(e){return e instanceof nr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${v_})`)}return t===n}class NO{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(uo(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class PO{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=uo(n),t}}const VO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Kl(e){return(e=String(e)).match(VO)?e:"unsafe:"+e}function oi(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Fs(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const My=oi("area,br,col,hr,img,wbr"),Sy=oi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ay=oi("rp,rt"),$f=Fs(My,Fs(Sy,oi("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")),Fs(Ay,oi("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")),Fs(Ay,Sy)),zf=oi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Iy=Fs(zf,oi("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"),oi("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")),BO=oi("script,style,template");class jO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=$O(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=UO(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=Ty(n).toLowerCase();if(!$f.hasOwnProperty(t))return this.sanitizedSomething=!0,!BO.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!Iy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;zf[a]&&(l=Kl(l)),this.buf.push(" ",s,'="',Oy(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=Ty(n).toLowerCase();$f.hasOwnProperty(t)&&!My.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Oy(n))}}function UO(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw Fy(n);return n}function $O(e){const n=e.firstChild;if(n&&function HO(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw Fy(n);return n}function Ty(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function Fy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const zO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GO=/([^\#-~ |!])/g;function Oy(e){return e.replace(/&/g,"&amp;").replace(zO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(GO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Zl;function Ry(e,n){let t=null;try{Zl=Zl||function Ey(e){const n=new PO(e);return function LO(){try{return!!(new window.DOMParser).parseFromString(uo(""),"text/html")}catch{return!1}}()?new NO(n):n}(e);let i=n?String(n):"";t=Zl.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Zl.getInertBodyElement(i)}while(i!==o);return uo((new jO).sanitizeChildren(Gf(t)||t))}finally{if(t){const i=Gf(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Gf(e){return"content"in e&&function WO(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var dt=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}(dt||{});function Wf(e){const n=Os();return n?wy(n.sanitize(dt.HTML,e)||""):Un(e,"HTML")?wy(Xt(e)):Ry(Di(),Y(e))}function Ql(e){const n=Os();return n?n.sanitize(dt.URL,e)||"":Un(e,"URL")?Xt(e):Kl(Y(e))}function Os(){const e=x();return e&&e[yn].sanitizer}const JO=/^>|^->|<!--|-->|--!>|<!-$/g,eR=/(<|>)/g,tR="\u200b$1\u200b";var Ci=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ci||{});let Zf;function Qf(e,n){return Zf(e,n)}function ho(e,n,t,i,r){if(null!=i){let o,s=!1;wt(i)?o=i:xt(i)&&(s=!0,i=i[Oe]);const a=xe(i);0===e&&null!==t?null==r?Wy(n,t,a):ir(n,t,a,r||null,!0):1===e&&null!==t?ir(n,t,a,r||null,!0):2===e?function Ns(e,n,t){const i=nc(e,n);i&&function vR(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function DR(e,n,t,i,r){const o=t[Pn];o!==xe(t)&&ho(n,e,i,o,r);for(let a=ze;a<t.length;a++){const l=t[a];rc(l[S],l,e,n,i,o)}}(n,e,o,t,r)}}function Jf(e,n){return e.createComment(function Ny(e){return e.replace(JO,n=>n.replace(eR,tR))}(n))}function ec(e,n,t){return e.createElement(n,t)}function $y(e,n){n[yn].changeDetectionScheduler?.notify(1),rc(e,n,n[$],2,null,null)}function zy(e,n){const t=e[Xr],i=t.indexOf(n);t.splice(i,1)}function Rs(e,n){if(e.length<=ze)return;const t=ze+n,i=e[t];if(i){const r=i[hs];null!==r&&r!==e&&zy(r,i),n>0&&(e[t-1][bn]=i[bn]);const o=ml(e,ze+n);!function hR(e,n){$y(e,n),n[Oe]=null,n[vt]=null}(i[S],i);const s=o[ni];null!==s&&s.detachView(o[S]),i[$e]=null,i[bn]=null,i[k]&=-129}return i}function tc(e,n){if(!(256&n[k])){const t=n[$];t.destroyNode&&rc(e,n,t,3,null,null),function pR(e){let n=e[fs];if(!n)return eh(e[S],e);for(;n;){let t=null;if(xt(n))t=n[fs];else{const i=n[ze];i&&(t=i)}if(!t){for(;n&&!n[bn]&&n!==e;)xt(n)&&eh(n[S],n),n=n[$e];null===n&&(n=e),xt(n)&&eh(n[S],n),t=n&&n[bn]}n=t}}(n)}}function eh(e,n){if(256&n[k])return;const t=te(null);try{n[k]&=-129,n[k]|=256,n[Qi]&&s_(n[Qi]),function yR(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof xs)){const o=t[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];Ln(4,a,l);try{l.call(a)}finally{Ln(5,a,l)}}else{Ln(4,r,o);try{o.call(r)}finally{Ln(5,r,o)}}}}}(e,n),function bR(e,n){const t=e.cleanup,i=n[Kr];if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[Kr]=null);const r=n[wi];if(null!==r){n[wi]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(e,n),1===n[S].type&&n[$].destroy();const i=n[hs];if(null!==i&&wt(n[$e])){i!==n[$e]&&zy(i,n);const r=n[ni];null!==r&&r.detachView(e)}!function qF(e){Ef.delete(e[ms])}(n)}finally{te(t)}}function th(e,n,t){return function Gy(e,n,t){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return t[Oe];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===pn.None||o===pn.Emulated)return null}return Tt(i,t)}}(e,n.parent,t)}function ir(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Wy(e,n,t){e.appendChild(n,t)}function qy(e,n,t,i,r){null!==i?ir(e,n,t,i,r):Wy(e,n,t)}function nc(e,n){return e.parentNode(n)}function Yy(e,n,t){return Zy(e,n,t)}let nh,Zy=function Ky(e,n,t){return 40&e.type?Tt(e,t):null};function ic(e,n,t,i){const r=th(e,i,n),o=n[$],a=Yy(i.parent||n[vt],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)qy(o,r,t[l],a,!1);else qy(o,r,t,a,!1);void 0!==nh&&nh(o,i,n,t,r)}function ks(e,n){if(null!==n){const t=n.type;if(3&t)return Tt(n,e);if(4&t)return ih(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return ks(e,i);{const r=e[n.index];return wt(r)?ih(-1,r):xe(r)}}if(32&t)return Qf(n,e)()||xe(e[n.index]);{const i=Xy(e,n);return null!==i?Array.isArray(i)?i[0]:ks(Ji(e[Ne]),i):ks(e,n.next)}}return null}function Xy(e,n){return null!==n?e[Ne][vt].projection[n.projection]:null}function ih(e,n){const t=ze+e+1;if(t<n.length){const i=n[t],r=i[S].firstChild;if(null!==r)return ks(i,r)}return n[Pn]}function rh(e,n,t,i,r,o,s){for(;null!=t;){const a=i[t.index],l=t.type;if(s&&0===n&&(a&&Ct(xe(a),i),t.flags|=2),32&~t.flags)if(8&l)rh(e,n,t.child,i,r,o,!1),ho(n,e,r,a,o);else if(32&l){const c=Qf(t,i);let d;for(;d=c();)ho(n,e,r,d,o);ho(n,e,r,a,o)}else 16&l?ev(e,n,i,t,r,o):ho(n,e,r,a,o);t=s?t.projectionNext:t.next}}function rc(e,n,t,i,r,o){rh(t,i,e.firstChild,n,r,o,!1)}function ev(e,n,t,i,r,o){const s=t[Ne],l=s[vt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)ho(n,e,r,l[c],o);else{let c=l;const d=s[$e];Ll(i)&&(c.flags|=128),rh(e,n,c,d,r,o,!0)}}function tv(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function nv(e,n,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&Lu(e,n,i),null!==r&&tv(e,n,r),null!==o&&function ER(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}const Z={};function O(e=1){iv(ie(),x(),Dt()+e,!1)}function iv(e,n,t,i){if(!i)if(3&~n[k]){const o=e.preOrderHooks;null!==o&&Fl(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&Tl(n,o,t)}er(t)}function g(e,n=re.Default){const t=x();return null===t?v(e,n):kb(ve(),t,j(e),n)}function rv(e,n,t,i,r,o){const s=te(null);try{let a=null;r&A.SignalBased&&(a=n[i][Gi]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),r&A.HasDecoratorInputTransform&&(o=e.inputTransforms[i].call(n,o)),null!==e.setInput?e.setInput(n,a,o,t,i):rb(n,a,i,o)}finally{te(s)}}function oc(e,n,t,i,r,o,s,a,l,c,d){const u=n.blueprint.slice();return u[Oe]=r,u[k]=204|i,(null!==c||e&&2048&e[k])&&(u[k]|=2048),ub(u),u[$e]=u[Zr]=e,u[Ce]=t,u[yn]=s||e&&e[yn],u[$]=a||e&&e[$],u[Ye]=l||e&&e[Ye]||null,u[vt]=o,u[ms]=function GF(){return zF++}(),u[Kt]=d,u[J_]=c,u[Ne]=2==n.type?e[Ne]:u,u}function mo(e,n,t,i,r){let o=e.data[n];if(null===o)o=function oh(e,n,t,i,r){const o=pb(),s=lf(),l=e.data[n]=function kR(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return eo()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,i,r);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,i,r),function cF(){return z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function ys(){const e=z.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Bn(o,!0),o}function Ps(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function ov(e,n,t,i,r){const o=Dt(),s=2&i;try{er(-1),s&&n.length>K&&iv(e,n,K,!1),Ln(s?2:0,r),t(i,r)}finally{er(o),Ln(s?3:1,r)}}function sh(e,n,t){if(Zu(n)){const i=te(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{te(i)}}}function ah(e,n,t){mb()&&(function HR(e,n,t,i){const r=t.directiveStart,o=t.directiveEnd;Xi(t)&&function YR(e,n,t){const i=Tt(n,e),r=sv(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const a=sc(e,oc(e,r,null,s,i,n,null,e[yn].rendererFactory.createRenderer(i,t),null,null,null));e[n.index]=a}(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Rl(t,n),Ct(i,n);const s=t.initialInputs;for(let a=r;a<o;a++){const l=e.data[a],c=tr(n,e,a,t);Ct(c,n),null!==s&&KR(0,a-r,c,l,0,s),vn(l)&&(Zt(t.index,n)[Ce]=tr(n,e,a,t))}}(e,n,t,Tt(t,n)),!(64&~t.flags)&&uv(e,n,t))}function lh(e,n,t=Tt){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?t(n,e):e[s];e[r++]=a}}}function sv(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=ch(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function ch(e,n,t,i,r,o,s,a,l,c,d){const u=K+i,f=u+r,h=function AR(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:Z);return t}(u,f),m="function"==typeof c?c():c;return h[S]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1,ssrId:d}}let av=()=>null;function lv(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=A.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?cv(i,t,c,a,l):cv(i,t,c,a)}return i}function cv(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function Ht(e,n,t,i,r,o,s,a){const l=Tt(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(mh(e,t,d,i,r),Xi(n)&&function LR(e,n){const t=Zt(n,e);16&t[k]||(t[k]|=64)}(t,n.index)):3&n.type&&(i=function PR(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function dh(e,n,t,i){if(mb()){const r=null===i?null:{"":-1},o=function $R(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(H_(n,s.selectors,!1))if(i||(i=[]),vn(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),uh(e,n,a.length)}else i.unshift(s),uh(e,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(e,t);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&dv(e,n,t,s,r,a),r&&function zR(e,n,t){if(n){const i=e.localNames=[];for(let r=0;r<n.length;r+=2){const o=t[n[r+1]];if(null==o)throw new w(-301,!1);i.push(n[r],o)}}}(t,i,r)}t.mergedAttrs=cs(t.mergedAttrs,t.attrs)}function dv(e,n,t,i,r,o){for(let c=0;c<i.length;c++)vf(Rl(t,n),e,i[c].type);!function WR(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=Ps(e,n,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];t.mergedAttrs=cs(t.mergedAttrs,d.hostAttrs),qR(e,t,n,l,d),GR(l,d,r),null!==d.contentQueries&&(t.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=64);const u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function NR(e,n,t){const r=n.directiveEnd,o=e.data,s=n.attrs,a=[];let l=null,c=null;for(let d=n.directiveStart;d<r;d++){const u=o[d],f=t?t.get(u):null,m=f?f.outputs:null;l=lv(0,u.inputs,d,l,f?f.inputs:null),c=lv(1,u.outputs,d,c,m);const p=null===l||null===s||Vu(n)?null:ZR(l,d,s);a.push(p)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,o)}function uv(e,n,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,s=function uF(){return z.lFrame.currentDirectiveIndex}();try{er(o);for(let a=i;a<r;a++){const l=e.data[a],c=n[a];df(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&UR(l,c)}}finally{er(-1),df(s)}}function UR(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function uh(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function GR(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;vn(n)&&(t[""]=e)}}function qR(e,n,t,i,r){e.data[i]=r;const o=r.factory||(r.factory=Yi(r.type)),s=new xs(o,vn(r),g);e.blueprint[i]=s,t[i]=s,function BR(e,n,t,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function jR(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,Ps(e,t,r.hostVars,Z),r)}function $n(e,n,t,i,r,o){const s=Tt(e,n);!function fh(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?Y(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[$],s,o,e.value,t,i,r)}function KR(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;)rv(i,t,s[a++],s[a++],s[a++],s[a++])}function ZR(e,n,t){let i=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const s=e[o];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(o,s[a+1],s[a+2],t[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function fv(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function hv(e,n){const t=e.contentQueries;if(null!==t){const i=te(null);try{for(let r=0;r<t.length;r+=2){const s=t[r+1];if(-1!==s){const a=e.data[s];Al(t[r]),a.contentQueries(2,n[s],s)}}}finally{te(i)}}}function sc(e,n){return e[fs]?e[X_][bn]=n:e[fs]=n,e[X_]=n,n}function hh(e,n,t){Al(0);const i=te(null);try{n(e,t)}finally{te(i)}}function mv(e){return e[Kr]||(e[Kr]=[])}function pv(e){return e.cleanup||(e.cleanup=[])}function ac(e,n){const t=e[Ye],i=t?t.get(Qt,null):null;i&&i.handleError(n)}function mh(e,n,t,i,r){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],l=t[o++];rv(e.data[s],n[s],i,a,l,r)}}function si(e,n,t){const i=gs(n,e);!function Uy(e,n,t){e.setValue(n,t)}(e[$],i,t)}function QR(e,n){const t=Zt(n,e),i=t[S];!function XR(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const r=t[Oe];null!==r&&null===t[Kt]&&(t[Kt]=Lf(r,t[Ye])),ph(i,t,t[Ce])}function ph(e,n,t){hf(n);try{const i=e.viewQuery;null!==i&&hh(1,i,t);const r=e.template;null!==r&&ov(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[ni]?.finishViewCreation(e),e.staticContentQueries&&hv(e,n),e.staticViewQueries&&hh(2,e.viewQuery,t);const o=e.components;null!==o&&function JR(e,n){for(let t=0;t<n.length;t++)QR(e,n[t])}(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[k]&=-5,mf()}}function Ls(e,n,t,i){const r=te(null);try{const o=n.tView,l=oc(e,o,t,4096&e[k]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[hs]=e[n.index];const d=e[ni];return null!==d&&(l[ni]=d.createEmbeddedView(o)),ph(o,l,t),l}finally{te(r)}}function po(e,n){return!n||null===n.firstChild||Ll(e)}function Vs(e,n,t,i=!0){const r=n[S];if(function gR(e,n,t,i){const r=ze+i,o=t.length;i>0&&(t[r-1][bn]=n),i<o-ze?(n[bn]=t[r],R_(t,ze+i,n)):(t.push(n),n[bn]=null),n[$e]=t;const s=n[hs];null!==s&&t!==s&&function _R(e,n){const t=e[Xr];n[Ne]!==n[$e][$e][Ne]&&(e[k]|=Ku.HasTransplantedViews),null===t?e[Xr]=[n]:t.push(n)}(s,n);const a=n[ni];null!==a&&a.insertView(e),sf(n),n[k]|=128}(r,n,e,t),i){const s=ih(t,e),a=n[$],l=nc(a,e[Pn]);null!==l&&function mR(e,n,t,i,r,o){i[Oe]=r,i[vt]=n,rc(e,i,t,1,r,o)}(r,e[vt],a,n,l,s)}const o=n[Kt];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Bs(e,n,t,i,r=!1){for(;null!==t;){const o=n[t.index];null!==o&&i.push(xe(o)),wt(o)&&bv(o,i);const s=t.type;if(8&s)Bs(e,n,t.child,i);else if(32&s){const a=Qf(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=Xy(n,t);if(Array.isArray(a))i.push(...a);else{const l=Ji(n[Ne]);Bs(l[S],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function bv(e,n){for(let t=ze;t<e.length;t++){const i=e[t],r=i[S].firstChild;null!==r&&Bs(i[S],i,r,n)}e[Pn]!==e[Oe]&&n.push(e[Pn])}let yv=[];const ik={...Jg,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{bs(e.lView)},consumerOnSignalRead(){this.lView[Qi]=this}},vv=100;function lc(e,n=!0,t=0){const i=e[yn],r=i.rendererFactory;r.begin?.();try{!function rk(e,n){_h(e,n);let t=0;for(;rf(e);){if(t===vv)throw new w(103,!1);t++,_h(e,1)}}(e,t)}catch(s){throw n&&ac(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function ok(e,n,t,i){const r=n[k];if(!(256&~r))return;n[yn].inlineEffectRunner?.flush(),hf(n);let s=null,a=null;(function sk(e){return 2!==e.type})(e)&&(a=function ek(e){return e[Qi]??function tk(e){const n=yv.pop()??Object.create(ik);return n.lView=e,n}(e)}(n),s=r_(a));try{ub(n),function _b(e){return z.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&ov(e,n,t,2,i);const l=!(3&~r);if(l){const u=e.preOrderCheckHooks;null!==u&&Tl(n,u,null)}else{const u=e.preOrderHooks;null!==u&&Fl(n,u,0,null),pf(n,0)}if(function ak(e){for(let n=ry(e);null!==n;n=oy(n)){if(!(n[k]&Ku.HasTransplantedViews))continue;const t=n[Xr];for(let i=0;i<t.length;i++){JT(t[i])}}}(n),xv(n,0),null!==e.contentQueries&&hv(e,n),l){const u=e.contentCheckHooks;null!==u&&Tl(n,u)}else{const u=e.contentHooks;null!==u&&Fl(n,u,1),pf(n,1)}!function SR(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)er(~r);else{const o=r,s=t[++i],a=t[++i];dF(s,o),a(2,n[o])}}}finally{er(-1)}}(e,n);const c=e.components;null!==c&&Dv(n,c,0);const d=e.viewQuery;if(null!==d&&hh(2,d,i),l){const u=e.viewCheckHooks;null!==u&&Tl(n,u)}else{const u=e.viewHooks;null!==u&&Fl(n,u,2),pf(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[Cl]){for(const u of n[Cl])u();n[Cl]=null}n[k]&=-73}catch(l){throw bs(n),l}finally{null!==a&&(o_(a,s),function nk(e){e.lView[Qi]!==e&&(e.lView=null,yv.push(e))}(a)),mf()}}function xv(e,n){for(let t=ry(e);null!==t;t=oy(t))for(let i=ze;i<t.length;i++)wv(t[i],n)}function lk(e,n,t){wv(Zt(n,e),t)}function wv(e,n){nf(e)&&_h(e,n)}function _h(e,n){const i=e[S],r=e[k],o=e[Qi];let s=!!(0===n&&16&r);if(s||=!!(64&r&&0===n),s||=!!(1024&r),s||=!(!o?.dirty||!du(o)),o&&(o.dirty=!1),e[k]&=-9217,s)ok(i,e,i.template,e[Ce]);else if(8192&r){xv(e,1);const a=i.components;null!==a&&Dv(e,a,1)}}function Dv(e,n,t){for(let i=0;i<n.length;i++)lk(e,n[i],t)}function js(e){for(e[yn].changeDetectionScheduler?.notify();e;){e[k]|=64;const n=Ji(e);if(Qu(e)&&!n)return e;e=n}return null}class Hs{get rootNodes(){const n=this._lView,t=n[S];return Bs(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ce]}set context(n){this._lView[Ce]=n}get destroyed(){return!(256&~this._lView[k])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[$e];if(wt(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(Rs(n,i),ml(t,i))}this._attachedToViewContainer=!1}tc(this._lView[S],this._lView)}onDestroy(n){Sl(this._lView,n)}markForCheck(){js(this._cdRefInjectingView||this._lView)}detach(){this._lView[k]&=-129}reattach(){sf(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,lc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,$y(this._lView[S],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n,sf(this._lView)}}let zn=(()=>{class e{static{this.__NG_ELEMENT_ID__=uk}}return e})();const ck=zn,dk=class extends ck{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=Ls(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Hs(r)}};function uk(){return cc(ve(),x())}function cc(e,n){return 4&e.type?new dk(n,e,so(e,n)):null}let Iv=()=>null;function go(e,n){return Iv(e,n)}class mc{}class Nk{}class Tv{}class Lk{resolveComponentFactory(n){throw function Pk(e){const n=Error(`No component factory found for ${Je(e)}.`);return n.ngComponent=e,n}(n)}}let rr=(()=>{class e{static{this.NULL=new Lk}}return e})();class Dh{}let ai=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function Vk(){const e=x(),t=Zt(ve().index,e);return(xt(t)?t:e)[$]}()}}return e})(),Bk=(()=>{class e{static{this.\u0275prov=E({token:e,providedIn:"root",factory:()=>null})}}return e})();const Ch={},Ov=new Set;function Gn(e){Ov.has(e)||(Ov.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Rv(...e){}class G{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _e(!1),this.onMicrotaskEmpty=new _e(!1),this.onStable=new _e(!1),this.onError=new _e(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function jk(){const e="function"==typeof pe.requestAnimationFrame;let n=pe[e?"requestAnimationFrame":"setTimeout"],t=pe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function $k(e){const n=()=>{!function Uk(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Mh(e),e.isCheckStableRunning=!0,Eh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Mh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function zk(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return kv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Nv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return kv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Nv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Mh(e),Eh(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!G.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(G.isInAngularZone())throw new w(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,Hk,Rv,Rv);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const Hk={};function Eh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Mh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function kv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Nv(e){e._nesting--,Eh(e)}class Pv{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _e,this.onMicrotaskEmpty=new _e,this.onStable=new _e,this.onError=new _e}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}let Ws=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}}return e})();function gc(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?r=xu(r,a):2==o&&(i=xu(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}class Uv extends rr{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ne(n);return new Ks(t,this.ngModule)}}function $v(e){const n=[];for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t];void 0!==i&&n.push({propName:Array.isArray(i)?i[0]:i,templateName:t})}return n}class _c{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=fl(i);const r=this.injector.get(n,Ch,i);return r!==Ch||t===Ch?r:this.parentInjector.get(n,t,i)}}class Ks extends Tv{get inputs(){const n=this.componentDef,t=n.inputTransforms,i=$v(n.inputs);if(null!==t)for(const r of i)t.hasOwnProperty(r.propName)&&(r.transform=t[r.propName]);return i}get outputs(){return $v(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function bT(e){return e.map(_T).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,r){const o=te(null);try{let s=(r=r||this.ngModule)instanceof _n?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new _c(n,s):n,l=a.get(Dh,null);if(null===l)throw new w(407,!1);const c=a.get(Bk,null),f={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:a.get(Ws,null),changeDetectionScheduler:a.get(mc,null)},h=l.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",p=i?function IR(e,n,t,i){const o=i.get(vy,!1)||t===pn.ShadowDom,s=e.selectRootElement(n,o);return function TR(e){av(e)}(s),s}(h,i,this.componentDef.encapsulation,a):ec(h,m,function Zk(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(m));let _=512;this.componentDef.signals?_|=4096:this.componentDef.onPush||(_|=16);let b=null;null!==p&&(b=Lf(p,a,!0));const y=ch(0,null,null,1,0,null,null,null,null,null,null),M=oc(null,y,null,_,null,null,f,h,a,null,b);let F,q;hf(M);try{const J=this.componentDef;let se,ke=null;J.findHostDirectiveDefs?(se=[],ke=new Map,J.findHostDirectiveDefs(J,se,ke),se.push(J)):se=[J];const Xn=function Xk(e,n){const t=e[S],i=K;return e[i]=n,mo(t,i,2,"#host",null)}(M,p),$i=function Jk(e,n,t,i,r,o,s){const a=r[S];!function eN(e,n,t,i){for(const r of e)n.mergedAttrs=cs(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(gc(n,n.mergedAttrs,!0),null!==t&&nv(i,t,n))}(i,e,n,s);let l=null;null!==n&&(l=Lf(n,r[Ye]));const c=o.rendererFactory.createRenderer(n,t);let d=16;t.signals?d=4096:t.onPush&&(d=64);const u=oc(r,sv(t),null,d,r[e.index],e,o,c,null,null,l);return a.firstCreatePass&&uh(a,e,i.length-1),sc(r,u),r[e.index]=u}(Xn,p,J,se,M,f,h);q=_s(y,K),p&&function nN(e,n,t,i){if(i)Lu(e,t,["ng-version","17.3.12"]);else{const{attrs:r,classes:o}=function yT(e){const n=[],t=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&n.push(o,e[++i]):8===r&&t.push(o);else{if(!gn(r))break;r=o}i++}return{attrs:n,classes:t}}(n.selectors[0]);r&&Lu(e,t,r),o&&o.length>0&&tv(e,t,o.join(" "))}}(h,J,p,i),void 0!==t&&function iN(e,n,t){const i=e.projection=[];for(let r=0;r<n.length;r++){const o=t[r];i.push(null!=o?Array.from(o):null)}}(q,this.ngContentSelectors,t),F=function tN(e,n,t,i,r,o){const s=ve(),a=r[S],l=Tt(s,r);dv(a,r,s,t,null,i);for(let d=0;d<t.length;d++)Ct(tr(r,a,s.directiveStart+d,s),r);uv(a,r,s),l&&Ct(l,r);const c=tr(r,a,s.directiveStart+s.componentOffset,s);if(e[Ce]=r[Ce]=c,null!==o)for(const d of o)d(c,n);return sh(a,s,r),c}($i,J,se,ke,M,[rN]),ph(y,M,null)}finally{mf()}return new Qk(this.componentType,F,so(q,M),M,q)}finally{te(o)}}}class Qk extends Nk{constructor(n,t,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new Hs(r,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const o=this._rootLView;mh(o[S],o,r,n,t),this.previousInputValues.set(n,t),js(Zt(this._tNode.index,o))}}get injector(){return new nt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function rN(){const e=ve();Il(x()[S],e)}let Dn=(()=>{class e{static{this.__NG_ELEMENT_ID__=oN}}return e})();function oN(){return Wv(ve(),x())}const sN=Dn,zv=class extends sN{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return so(this._hostTNode,this._hostLView)}get injector(){return new nt(this._hostTNode,this._hostLView)}get parentInjector(){const n=kl(this._hostTNode,this._hostLView);if(_f(n)){const t=Ds(n,this._hostLView),i=ws(n);return new nt(t[S].data[i+8],t)}return new nt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Gv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-ze}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=go(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,po(this._hostTNode,s)),a}createComponent(n,t,i,r,o){const s=n&&!function us(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Ks(ne(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const p=(s?c:this.parentInjector).get(_n,null);p&&(o=p)}const d=ne(l.componentType??{}),u=go(this._lContainer,d?.id??null),h=l.create(c,r,u?.firstChild??null,o);return this.insertImpl(h.hostView,a,po(this._hostTNode,u)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function XT(e){return wt(e[$e])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[$e],c=new zv(l,l[vt],l[$e]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Vs(s,r,o,i),n.attachToViewContainerRef(),R_(Th(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Gv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Rs(this._lContainer,t);i&&(ml(Th(this._lContainer),t),tc(i[S],i))}detach(n){const t=this._adjustIndex(n,-1),i=Rs(this._lContainer,t);return i&&null!=ml(Th(this._lContainer),t)?new Hs(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Gv(e){return e[8]}function Th(e){return e[8]||(e[8]=[])}function Wv(e,n){let t;const i=n[e.index];return wt(i)?t=i:(t=fv(i,n,null,e),n[e.index]=t,sc(n,t)),qv(t,n,e,i),new zv(t,e,n)}let qv=function Kv(e,n,t,i){if(e[Pn])return;let r;r=8&t.type?xe(i):function aN(e,n){const t=e[$],i=t.createComment(""),r=Tt(n,e);return ir(t,nc(t,r),i,function xR(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[Pn]=r},Fh=()=>!1;class Oh{constructor(n){this.queryList=n,this.matches=null}clone(){return new Oh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Rh{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){const s=t.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new Rh(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==Vh(n,t).matches&&this.queries[t].setDirty()}}class Zv{constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function pN(e){return e.split(",").map(n=>n.trim())}(n):n}}class kh{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==t?t.push(o):t=[o])}return null!==t?new kh(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Nh{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new Nh(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,t,uN(t,o)),this.matchTNodeWithReadOption(n,t,Nl(t,n,o,!1,!1))}else i===zn?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Nl(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===H||r===Dn||r===zn&&4&t.type)this.addMatch(t.index,-2);else{const o=Nl(t,n,r,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function uN(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function hN(e,n,t,i){return-1===t?function fN(e,n){return 11&e.type?so(e,n):4&e.type?cc(e,n):null}(n,e):-2===t?function mN(e,n,t){return t===H?so(n,e):t===zn?cc(n,e):t===Dn?Wv(n,e):void 0}(e,n,i):tr(e,e[S],t,n)}function Qv(e,n,t,i){const r=n[ni].queries[i];if(null===r.matches){const o=e.data,s=t.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:hN(n,o[c],s[l+1],t.metadata.read))}r.matches=a}return r.matches}function Ph(e,n,t,i){const r=e.queries.getByIndex(t),o=r.matches;if(null!==o){const s=Qv(e,n,r,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=ze;u<d.length;u++){const f=d[u];f[hs]===f[$e]&&Ph(f[S],f,c,i)}if(null!==d[Xr]){const u=d[Xr];for(let f=0;f<u.length;f++){const h=u[f];Ph(h[S],h,c,i)}}}}}return i}function Xv(e,n,t){const i=new Cs(!(4&~t));return function RR(e,n,t,i){const r=mv(n);r.push(t),e.firstCreatePass&&pv(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[ni]??=new Rh).queries.push(new Oh(i))-1}function tx(e,n,t){null===e.queries&&(e.queries=new kh),e.queries.track(new Nh(n,t))}function Vh(e,n){return e.queries.getByIndex(n)}function nx(e,n){const t=e[S],i=Vh(t,n);return i.crossesNgTemplate?Ph(t,e,n,[]):Qv(t,e,i,n)}function bc(e){return"function"==typeof e&&void 0!==e[Gi]}function rx(e){return bc(e)&&"function"==typeof e.set}function I(e){let n=function px(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(vn(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new w(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=vc(e.inputs),s.inputTransforms=vc(e.inputTransforms),s.declaredInputs=vc(e.declaredInputs),s.outputs=vc(e.outputs);const a=r.hostBindings;a&&FN(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&IN(e,l),c&&TN(e,c),SN(e,r),BI(e.outputs,r.outputs),vn(r)&&r.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===I&&(t=!1)}}n=Object.getPrototypeOf(n)}!function AN(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=cs(r.hostAttrs,t=cs(t,r.hostAttrs))}}(i)}function SN(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function vc(e){return e===Nn?{}:e===ae?[]:e}function IN(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function TN(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function FN(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function Qs(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[3]&&(t[i]=r[3])}e.inputTransforms=t}class ar{}class LN{}class jh extends ar{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Uv(this);const r=function yt(e,n){const t=e[S_]||null;if(!t&&!0===n)throw new Error(`Type ${Je(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Jt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=zb(n,t,[{provide:ar,useValue:this},{provide:rr,useValue:this.componentFactoryResolver},...i],Je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Hh extends LN{constructor(n){super(),this.moduleType=n}create(n){return new jh(this.moduleType,n,[])}}class yx extends ar{constructor(n){super(),this.componentFactoryResolver=new Uv(this),this.instance=null;const t=new Wr([...n.providers,{provide:ar,useValue:this},{provide:rr,useValue:this.componentFactoryResolver}],n.parent||xl(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let lr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new y_(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function wc(e){return!!function Uh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ge(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function X(e,n,t,i,r,o,s,a){const l=x(),c=ie(),d=e+K,u=c.firstCreatePass?function GN(e,n,t,i,r,o,s,a,l){const c=n.consts,d=mo(n,e,4,s||null,Vn(c,a));dh(n,t,d,Vn(c,l)),Il(n,d);const u=d.tView=ch(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,c,l,n,t,i,r,o,s):c.data[d];Bn(u,!1);const f=xx(c,l,u,e);vs()&&ic(c,l,f,u),Ct(f,l);const h=fv(f,l,f,u);return l[d]=h,sc(l,h),function Yv(e,n,t){return Fh(e,n,t)}(h,u,l),Ml(u)&&ah(c,l,u),null!=s&&lh(l,u,a),X}let xx=function wx(e,n,t,i){return jn(!0),n[$].createComment("")};function _t(e,n,t,i){const r=x();return Ge(r,xn(),n)&&(ie(),$n(Ee(),r,e,n,t,i)),_t}function Eo(e,n,t,i){return Ge(e,xn(),t)?n+Y(t)+i:Z}function Mo(e,n,t,i,r,o){const a=function cr(e,n,t,i){const r=Ge(e,n,t);return Ge(e,n+1,i)||r}(e,function ii(){return z.lFrame.bindingIndex}(),t,r);return ri(2),a?n+Y(t)+i+Y(r)+o:Z}function Ic(e,n){return e<<17|n<<2}function Si(e){return e>>17&32767}function Xh(e){return 2|e}function ur(e){return(131068&e)>>2}function Jh(e,n){return-131069&e|n<<2}function em(e){return 1|e}function Jx(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Si(r):ur(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];O1(e[s],n)&&(a=!0,e[s+1]=i?em(c):Xh(c)),s=i?Si(c):ur(c)}a&&(e[t+1]=i?Xh(r):em(r))}function O1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&zr(e,n)>=0}const it={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ew(e){return e.substring(it.key,it.keyEnd)}function tw(e,n){const t=it.textEnd;return t===n?-1:(n=it.keyEnd=function P1(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,it.key=n,t),Ro(e,n,t))}function Ro(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function L(e,n,t){const i=x();return Ge(i,xn(),n)&&Ht(ie(),Ee(),i,e,n,i[$],t,!1),L}function tm(e,n,t,i,r){const s=r?"class":"style";mh(e,t,n.inputs[s],s,i)}function Et(e,n){return function Cn(e,n,t,i){const r=x(),o=ie(),s=ri(2);o.firstUpdatePass&&cw(o,e,s,i),n!==Z&&Ge(r,s,n)&&uw(o,o.data[Dt()],r,r[$],e,r[s+1]=function q1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Je(Xt(e)))),e}(n,t),i,s)}(e,n,null,!0),Et}function Yn(e,n){for(let t=function k1(e){return function iw(e){it.key=0,it.keyEnd=0,it.value=0,it.valueEnd=0,it.textEnd=e.length}(e),tw(e,Ro(e,0,it.textEnd))}(n);t>=0;t=tw(n,t))Yt(e,ew(n),!0)}function En(e,n,t,i){const r=ie(),o=ri(2);r.firstUpdatePass&&cw(r,null,o,i);const s=x();if(t!==Z&&Ge(s,o,t)){const a=r.data[Dt()];if(hw(a,i)&&!lw(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=xu(l,t||"")),tm(r,a,s,t,i)}else!function W1(e,n,t,i,r,o,s,a){r===Z&&(r=ae);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const f=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0;let p,m=null;d===u?(l+=2,c+=2,f!==h&&(m=u,p=h)):null===u||null!==d&&d<u?(l+=2,m=d):(c+=2,m=u,p=h),null!==m&&uw(e,n,t,i,m,p,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}(r,a,s,s[$],s[o+1],s[o+1]=function z1(e,n,t){if(null==t||""===t)return ae;const i=[],r=Xt(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&n(i,r);return i}(e,n,t),i,o)}}function lw(e,n){return n>=e.expandoStartIndex}function cw(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Dt()],s=lw(e,t);hw(o,i)&&null===n&&!s&&(n=!1),n=function j1(e,n,t,i){const r=function uf(e){const n=z.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=ia(t=nm(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=nm(r,e,n,t,i),null===o){let l=function H1(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==ur(i))return e[Si(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=nm(null,e,n,l[1],i),l=ia(l,n.attrs,i),function U1(e,n,t,i){e[Si(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function $1(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=ia(i,e[o].hostAttrs,t);return ia(i,n.attrs,t)}(e,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),t}(r,o,n,i),function T1(e,n,t,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Si(s),l=ur(s);e[i]=t;let d,c=!1;if(Array.isArray(t)?(d=t[1],(null===d||zr(t,d)>0)&&(c=!0)):d=t,r)if(0!==l){const f=Si(e[a+1]);e[i+1]=Ic(f,a),0!==f&&(e[f+1]=Jh(e[f+1],i)),e[a+1]=function A1(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Ic(a,0),0!==a&&(e[a+1]=Jh(e[a+1],i)),a=i;else e[i+1]=Ic(l,0),0===a?a=i:e[l+1]=Jh(e[l+1],i),l=i;c&&(e[i+1]=Xh(e[i+1])),Jx(e,d,i,!0),Jx(e,d,i,!1),function F1(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&zr(o,n)>=0&&(t[i+1]=em(t[i+1]))}(n,d,e,i,o),s=Ic(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function nm(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],i=ia(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function ia(e,n,t){const i=t?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Yt(e,s,!!t||n[++o]))}return void 0===e?null:e}function G1(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&Yt(e,i,t)}function uw(e,n,t,i,r,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function I1(e){return!(1&~e)}(c)?fw(l,n,t,r,ur(c),s):void 0;Tc(d)||(Tc(o)||function S1(e){return!(2&~e)}(c)&&(o=fw(l,null,t,r,a,s)),function CR(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:Ci.DashCase;null==r?e.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ci.Important),e.setStyle(t,i,r,o))}}(i,s,gs(Dt(),t),r,o))}function fw(e,n,t,i,r,o){const s=null===n;let a;for(;r>0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[r+1];f===Z&&(f=u?ae:void 0);let h=u?Nu(f,i):d===i?f:void 0;if(c&&!Tc(h)&&(h=Nu(l,i)),Tc(h)&&(a=h,s))return a;const m=e[r+1];r=s?Si(m):ur(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Nu(l,i))}return a}function Tc(e){return void 0!==e}function hw(e,n){return!!(e.flags&(n?8:16))}function rt(e,n,t){Gn("NgControlFlow");const i=x(),r=xn(),o=function om(e,n){return e[n]}(i,K+e);if(Ge(i,r,n)){const a=te(null);try{if(function gh(e,n){const t=Rs(e,n);return void 0!==t&&tc(t[S],t),t}(o,0),-1!==n){const l=function sm(e,n){return _s(e,n)}(i[S],K+n),c=go(o,l.tView.ssrId);Vs(o,Ls(i,l,t,{dehydratedView:c}),0,po(l,c))}}finally{te(a)}}else{const a=function _v(e,n){const t=ze+n;if(t<e.length)return e[t]}(o,0);void 0!==a&&(a[Ce]=t)}}function Q(e,n,t,i){const r=x(),o=ie(),s=K+e,a=r[$],l=o.firstCreatePass?function mP(e,n,t,i,r,o){const s=n.consts,l=mo(n,e,2,i,Vn(s,r));return dh(n,t,l,Vn(s,o)),null!==l.attrs&&gc(l,l.attrs,!1),null!==l.mergedAttrs&&gc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,r,n,t,i):o.data[s],c=bw(o,r,l,a,n,e);r[s]=c;const d=Ml(l);return Bn(l,!0),nv(a,c,l),!function Js(e){return!(32&~e.flags)}(l)&&vs()&&ic(o,r,c,l),0===function eF(){return z.lFrame.elementDepthCount}()&&Ct(c,r),function tF(){z.lFrame.elementDepthCount++}(),d&&(ah(o,r,l),sh(o,l,r)),null!==i&&lh(r,l),Q}function ee(){let e=ve();lf()?cf():(e=e.parent,Bn(e,!1));const n=e;(function iF(e){return z.skipHydrationRootTNode===e})(n)&&function aF(){z.skipHydrationRootTNode=null}(),function nF(){z.lFrame.elementDepthCount--}();const t=ie();return t.firstCreatePass&&(Il(t,e),Zu(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function xF(e){return!!(8&e.flags)}(n)&&tm(t,n,x(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function wF(e){return!!(16&e.flags)}(n)&&tm(t,n,x(),n.stylesWithoutHost,!1),ee}function ot(e,n,t,i){return Q(e,n,t,i),ee(),ot}let bw=(e,n,t,i,r,o)=>(jn(!0),ec(i,r,function Eb(){return z.lFrame.currentNamespace}()));function Ut(e,n,t){const i=x(),r=ie(),o=e+K,s=r.firstCreatePass?function _P(e,n,t,i,r){const o=n.consts,s=Vn(o,i),a=mo(n,e,8,"ng-container",s);return null!==s&&gc(a,s,!0),dh(n,t,a,Vn(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Bn(s,!0);const a=yw(r,i,s,e);return i[o]=a,vs()&&ic(r,i,a,s),Ct(a,i),Ml(s)&&(ah(r,i,s),sh(r,s,i)),null!=t&&lh(i,s),Ut}function $t(){let e=ve();const n=ie();return lf()?cf():(e=e.parent,Bn(e,!1)),n.firstCreatePass&&(Il(n,e),Zu(e)&&n.queries.elementEnd(e)),$t}function ko(e,n,t){return Ut(e,n,t),$t(),ko}let yw=(e,n,t,i)=>(jn(!0),Jf(n[$],""));function li(){return x()}function ra(e,n,t){const i=x();return Ge(i,xn(),n)&&Ht(ie(),Ee(),i,e,n,i[$],t,!0),ra}const Po="en-US";let Dw=Po;function Te(e,n,t,i){const r=x(),o=ie(),s=ve();return cm(o,r,r[$],s,e,n,i),Te}function cm(e,n,t,i,r,o,s){const a=Ml(i),c=e.firstCreatePass&&pv(e),d=n[Ce],u=mv(n);let f=!0;if(3&i.type||s){const p=Tt(i,n),_=s?s(p):p,b=u.length,y=s?F=>s(xe(F[i.index])):i.index;let M=null;if(!s&&a&&(M=function bL(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===t&&r[o+1]===i){const a=n[Kr],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=o,M.__ngLastListenerFn__=o,f=!1;else{o=Qw(i,n,d,o,!1);const F=t.listen(_,r,o);u.push(o,F),c&&c.push(r,y,b,b+1)}}else o=Qw(i,n,d,o,!1);const h=i.outputs;let m;if(f&&null!==h&&(m=h[r])){const p=m.length;if(p)for(let _=0;_<p;_+=2){const q=n[m[_]][m[_+1]].subscribe(o),J=u.length;u.push(o,q),c&&c.push(r,i.index,J,-(J+1))}}}function Zw(e,n,t,i){const r=te(null);try{return Ln(6,n,t),!1!==t(i)}catch(o){return ac(e,o),!1}finally{Ln(7,n,t),te(r)}}function Qw(e,n,t,i,r){return function o(s){if(s===Function)return i;js(e.componentOffset>-1?Zt(e.index,n):n);let l=Zw(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Zw(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function P(e=1){return function hF(e){return(z.lFrame.contextLView=function fb(e,n){for(;e>0;)n=n[Zr],e--;return n}(e,z.lFrame.contextLView))[Ce]}(e)}function yL(e,n){let t=null;const i=function hT(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?H_(e,o,!0):gT(i,o))return r}else t=r}return t}function Lo(e){const n=x()[Ne][vt];if(!n.projection){const i=n.projection=function pl(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){const s=e?yL(o,e):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}function Mt(e,n=0,t){const i=x(),r=ie(),o=mo(r,K+e,16,null,t||null);null===o.projection&&(o.projection=n),cf(),(!i[Kt]||eo())&&32&~o.flags&&function wR(e,n,t){ev(n[$],0,n,t,th(e,t,n),Yy(t.parent||n[vt],t,n))}(r,i,o)}function Mn(e,n,t,i){!function ex(e,n,t,i){const r=ie();if(r.firstCreatePass){const o=ve();tx(r,new Zv(n,t,i),o.index),function gN(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return Xv(r,x(),t)}(e,n,t,i)}function tn(e,n,t){!function Jv(e,n,t){const i=ie();return i.firstCreatePass&&(tx(i,new Zv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Xv(i,x(),n)}(e,n,t)}function Pe(e){const n=x(),t=ie(),i=ff();Al(i+1);const r=Vh(t,i);if(e.dirty&&function QT(e){return!(4&~e[k])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=nx(n,i);e.reset(o,Yb),e.notifyOnChanges()}return!0}return!1}function Le(){return function Lh(e,n){return e[ni].queries[n].queryList}(x(),ff())}function ua(e){return function Jr(e,n){return e[n]}(function lF(){return z.lFrame.contextLView}(),K+e)}function Sn(e,n=""){const t=x(),i=ie(),r=e+K,o=i.firstCreatePass?mo(i,r,1,n,null):i.data[r],s=gD(i,t,o,n,e);t[r]=s,vs()&&ic(i,t,s,o),Bn(o,!1)}let gD=(e,n,t,i,r)=>(jn(!0),function Xf(e,n){return e.createText(n)}(n[$],i));function fa(e){return hr("",e,""),fa}function hr(e,n,t){const i=x(),r=Eo(i,e,n,t);return r!==Z&&si(i,Dt(),r),hr}function um(e,n,t,i,r){const o=x(),s=Mo(o,e,n,t,i,r);return s!==Z&&si(o,Dt(),s),um}function fm(e,n,t){rx(n)&&(n=n());const i=x();return Ge(i,xn(),n)&&Ht(ie(),Ee(),i,e,n,i[$],t,!1),fm}function hm(e,n){const t=x(),i=ie(),r=ve();return cm(i,t,t[$],r,e,n),hm}function mm(e,n,t,i,r){if(e=j(e),Array.isArray(e))for(let o=0;o<e.length;o++)mm(e[o],n,t,i,r);else{const o=ie(),s=x(),a=ve();let l=Zi(e)?e:j(e.provide);const c=K_(e),d=1048575&a.providerIndexes,u=a.directiveStart,f=a.providerIndexes>>20;if(Zi(e)||!e.multi){const h=new xs(c,r,g),m=gm(l,n,r?d:d+f,u);-1===m?(vf(Rl(a,s),o,l),pm(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[m]=h,s[m]=h)}else{const h=gm(l,n,d+f,u),m=gm(l,n,d,d+f),_=m>=0&&t[m];if(r&&!_||!r&&!(h>=0&&t[h])){vf(Rl(a,s),o,l);const b=function VL(e,n,t,i,r){const o=new xs(e,t,g);return o.multi=[],o.index=n,o.componentProviders=0,ED(o,r,i&&!t),o}(r?LL:PL,t.length,r,i,c);!r&&_&&(t[m].providerFactory=b),pm(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else pm(o,e,h>-1?h:m,ED(t[r?m:h],c,!r&&i));!r&&i&&_&&t[m].componentProviders++}}}function pm(e,n,t,i){const r=Zi(n),o=function MT(e){return!!e.useClass}(n);if(r||o){const l=(o?j(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function ED(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function gm(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function PL(e,n,t,i){return _m(this.multi,[])}function LL(e,n,t,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=tr(t,t[S],this.providerFactory.index,i);o=a.slice(0,s),_m(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],_m(r,o);return o}function _m(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function be(e,n=[]){return t=>{t.providersResolver=(i,r)=>function NL(e,n,t){const i=ie();if(i.firstCreatePass){const r=vn(e);mm(t,i.data,i.blueprint,r,!0),mm(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let BL=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=Bu(0,t.type),r=i.length>0?function vx(e,n,t=null){return new yx({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(v(_n))})}}return e})();function mr(e){Gn("NgStandalone"),e.getStandaloneInjector=n=>n.get(BL).getOrCreateStandaloneInjector(e)}function ha(e,n,t,i){return function SD(e,n,t,i,r,o){const s=n+t;return Ge(e,s,r)?function Wn(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function ma(e,n){const t=e[n];return t===Z?void 0:t}(e,s+1)}(x(),function Ft(){const e=z.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),e,n,t,i)}function OD(e,n){return cc(e,n)}const XD=new C(""),Vc=new C("");let Em,Dm=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Em||(function QV(e){Em=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static{this.\u0275fac=function(i){return new(i||e)(v(G),v(Cm),v(Vc))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),Cm=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Em?.findTestabilityInTree(this,t,i)??null}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function Bc(e){return!!e&&"function"==typeof e.then}function JD(e){return!!e&&"function"==typeof e.subscribe}const XV=new C("");let Mm=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=T(XV,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Bc(o))t.push(o);else if(JD(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Sm=new C("");function nC(e,n){return Array.isArray(n)?n.reduce(nC,e):{...e,...n}}let ci=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(Wb),this.afterRenderEffectManager=T(Ws),this.externalTestViews=new Set,this.beforeRender=new oe,this.afterTick=new oe,this.componentTypes=[],this.components=[],this.isStable=T(lr).hasPendingTasks.pipe(Xe(t=>!t)),this._injector=T(_n)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof Tv;if(!this._injector.get(Mm).done)throw!r&&function Ki(e){const n=ne(e)||et(e)||mt(e);return null!==n&&n.standalone}(t),new w(405,!1);let s;s=r?t:this._injector.get(rr).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function JV(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ar),c=s.create(pt.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(XD,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),jc(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new w(101,!1);const i=te(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,te(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===vv)throw new w(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)tB(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>Am(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>Am(o))))break}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;jc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Sm,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>jc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new w(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function jc(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function tB(e,n,t){!n&&!Am(e)||function nB(e,n,t){let i;t?(i=0,e[k]|=1024):i=64&e[k]?0:1,lc(e,n,i)}(e,t,n)}function Am(e){return rf(e)}let sB=(()=>{class e{constructor(){this.zone=T(G),this.applicationRef=T(ci)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function aB(){const e=T(G),n=T(Qt);return t=>e.runOutsideAngular(()=>n.handleError(t))}let cB=(()=>{class e{constructor(){this.subscription=new je,this.initialized=!1,this.zone=T(G),this.pendingTasks=T(lr)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Kn=new C("",{providedIn:"root",factory:()=>T(Kn,re.Optional|re.SkipSelf)||function dB(){return typeof $localize<"u"&&$localize.locale||Po}()}),Im=new C("");let sC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function Gk(e="zone.js",n){return"noop"===e?new Pv:"zone.js"===e?new G(n):e}(i?.ngZone,function oC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function BN(e,n,t){return new jh(e,n,t)}(t.moduleType,this.injector,function rC(e){return[{provide:G,useFactory:e},{provide:Gr,multi:!0,useFactory:()=>{const n=T(sB,{optional:!0});return()=>n.initialize()}},{provide:Gr,multi:!0,useFactory:()=>{const n=T(cB);return()=>{n.initialize()}}},{provide:Wb,useFactory:aB}]}(()=>r)),s=o.injector.get(Qt,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{jc(this._modules,o),a.unsubscribe()})}),function tC(e,n,t){try{const i=t();return Bc(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(Mm);return a.runInitializers(),a.donePromise.then(()=>(function Cw(e){"string"==typeof e&&(Dw=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Kn,Po)||Po),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=nC({},i);return function oB(e,n,t){const i=new Hh(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(ci);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new w(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Im,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(i){return new(i||e)(v(pt))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Ii=null;const aC=new C("");function lC(e,n,t=[]){const i=`Platform: ${n}`,r=new C(i);return(o=[])=>{let s=Tm();if(!s||s.injector.get(aC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function hB(e){if(Ii&&!Ii.get(aC,!1))throw new w(400,!1);(function eC(){!function vI(e){c_=e}(()=>{throw new w(600,!1)})})(),Ii=e;const n=e.get(sC);(function dC(e){e.get(my,null)?.forEach(t=>t())})(e)}(function cC(e=[],n){return pt.create({name:n,providers:[{provide:Uu,useValue:"platform"},{provide:Im,useValue:new Set([()=>Ii=null])},...e]})}(a,i))}return function mB(e){const n=Tm();if(!n)throw new w(401,!1);return n}()}}function Tm(){return Ii?.get(sC)??null}let Ti=(()=>{class e{static{this.__NG_ELEMENT_ID__=gB}}return e})();function gB(e){return function _B(e,n,t){if(Xi(e)&&!t){const i=Zt(e.index,n);return new Hs(i,i)}return 47&e.type?new Hs(n[Ne],n):null}(ve(),x(),!(16&~e))}class pC{constructor(){}supports(n){return wc(n)}create(n){return new wB(n)}}const xB=(e,n)=>n;class wB{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||xB}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex<_C(i,r,o)?t:i,a=_C(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,d=l-r;if(c!=d){for(let f=0;f<c;f++){const h=f<o.length?o[f]:o[f]=0,m=h+f;d<=m&&m<c&&(o[f]=h+1)}o[s.previousIndex]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!wc(n))throw new w(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,s,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),i=!0),t=t._next}else r=0,function $N(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new DB(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new gC),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new gC),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class DB{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class CB{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class gC{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new CB,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _C(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}function yC(){return new zc([new pC])}let zc=(()=>{class e{static{this.\u0275prov=E({token:e,providedIn:"root",factory:yC})}constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||yC()),deps:[[e,new hl,new Ur]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new w(901,!1)}}return e})();const IB=lC(null,"core",[]);let TB=(()=>{class e{constructor(t){}static{this.\u0275fac=function(i){return new(i||e)(v(ci))}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({})}}return e})();function bt(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function UC(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}const a2=new C("",{providedIn:"root",factory:()=>T(l2)});let l2=(()=>{class e{static{this.\u0275prov=E({token:e,providedIn:"root",factory:()=>new c2})}}return e})();class c2{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=T(lr),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(n){const t=n.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const i=this.queues.get(t);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}class d2{constructor(n,t,i,r,o,s){this.scheduler=n,this.effectFn=t,this.creationZone=i,this.injector=o,this.watcher=function CI(e,n,t){const i=Object.create(EI);t&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=n;const r=l=>{i.cleanupFn=l};return i.ref={notify:()=>i_(i),run:()=>{if(null===i.fn)return;if(function gI(){return ns}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!du(i))return;i.hasRun=!0;const l=r_(i);try{i.cleanupFn(),i.cleanupFn=fu,i.fn(r)}finally{o_(i,l)}},cleanup:()=>i.cleanupFn(),destroy:()=>function s(l){(function o(l){return null===l.fn&&null===l.schedule})(l)||(s_(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=fu)}(i),[Gi]:i},i.ref}(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(t){this.injector.get(Qt,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function zC(e,n){Gn("NgSignals"),!n?.injector&&function wl(e){if(!Z_())throw new w(-203,!1)}();const t=n?.injector??T(pt),i=!0!==n?.manualCleanup?t.get(oo):null,r=new d2(t.get(a2),e,typeof Zone>"u"?null:Zone.current,i,t,n?.allowSignalWrites??!1),o=t.get(Ti,null,{optional:!0});return o&&8&o._lView[k]?(o._lView[Cl]??=[]).push(r.watcher.notify):r.watcher.notify(),r}let GC=null;function Fi(){return GC}class f2{}const le=new C("");let WC=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:()=>T(h2),providedIn:"platform"})}}return e})(),h2=(()=>{class e extends WC{constructor(){super(),this._doc=T(le),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fi().getBaseHref(this._doc)}onPopState(t){const i=Fi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Fi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function qC(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function YC(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function gr(e){return e&&"?"!==e[0]?"?"+e:e}let Lm=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:()=>T(p2),providedIn:"root"})}}return e})();const m2=new C("");let p2=(()=>{class e extends Lm{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??T(le).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return qC(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+gr(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+gr(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+gr(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(i){return new(i||e)(v(WC),v(m2,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),KC=(()=>{class e{constructor(t){this._subject=new _e,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function b2(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(YC(ZC(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+gr(i))}normalize(t){return e.stripTrailingSlash(function _2(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,ZC(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+gr(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+gr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}static{this.normalizeQueryParams=gr}static{this.joinWithSlash=qC}static{this.stripTrailingSlash=YC}static{this.\u0275fac=function(i){return new(i||e)(v(Lm))}}static{this.\u0275prov=E({token:e,factory:()=>function g2(){return new KC(v(Lm))}(),providedIn:"root"})}}return e})();function ZC(e){return e.replace(/\/index.html$/,"")}function oE(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}const qm=/\s+/,sE=[];let ad=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=sE,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(qm):sE}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(qm):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(qm).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||e)(g(H),g(ai))}}static{this.\u0275dir=D({type:e,selectors:[["","ngClass",""]],inputs:{klass:[A.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();class ij{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let lE=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new ij(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),cE(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{cE(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static{this.\u0275fac=function(i){return new(i||e)(g(Dn),g(zn),g(zc))}}static{this.\u0275dir=D({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function cE(e,n){e.context.$implicit=n.item}let dE=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new rj,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){uE("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){uE("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}static{this.\u0275fac=function(i){return new(i||e)(g(Dn),g(zn))}}static{this.\u0275dir=D({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})();class rj{constructor(){this.$implicit=null,this.ngIf=null}}function uE(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Je(n)}'.`)}let Qm=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static{this.\u0275fac=function(i){return new(i||e)(g(Dn))}}static{this.\u0275dir=D({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[It]})}}return e})(),ld=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({})}}return e})();const mE="browser";function Oi(e){return e===mE}function Ri(e){return"server"===e}class pE{}class lH extends f2{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class tp extends lH{static makeCurrent(){!function u2(e){GC??=e}(new tp)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function cH(){return Da=Da||document.querySelector("base"),Da?Da.getAttribute("href"):null}();return null==t?null:function dH(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Da=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return oE(document.cookie,n)}}let Da=null,fH=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();const np=new C("");let CE=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(t,i),i}static{this.\u0275fac=function(i){return new(i||e)(v(np),v(G))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();class EE{constructor(n){this._doc=n}}const ip="ng-app-id";let ME=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ri(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${ip}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(ip),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(ip,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||e)(v(le),v(jl),v(If,8),v(gt))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();const rp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},op=/%COMP%/g,gH=new C("",{providedIn:"root",factory:()=>!0});function AE(e,n){return n.map(t=>t.replace(op,e))}let sp=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Ri(a),this.defaultRenderer=new ap(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===pn.ShadowDom&&(i={...i,encapsulation:pn.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof TE?r.applyToHost(t):r instanceof lp&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case pn.Emulated:o=new TE(l,c,i,this.appId,d,s,a,u);break;case pn.ShadowDom:return new vH(l,c,t,i,s,a,this.nonce,u);default:o=new lp(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||e)(v(CE),v(ME),v(jl),v(gH),v(le),v(gt),v(G),v(If))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();class ap{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(rp[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(IE(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(IE(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new w(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=rp[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=rp[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Ci.DashCase|Ci.Important)?n.style.setProperty(t,i,r&Ci.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Ci.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=Fi().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function IE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class vH extends ap{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=AE(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class lp extends ap{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?AE(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class TE extends lp{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function _H(e){return"_ngcontent-%COMP%".replace(op,e)}(c),this.hostAttr=function bH(e){return"_nghost-%COMP%".replace(op,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let xH=(()=>{class e extends EE{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static{this.\u0275fac=function(i){return new(i||e)(v(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();const FE=["alt","control","meta","shift"],wH={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},DH={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let CH=(()=>{class e extends EE{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fi().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),FE.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=wH[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),FE.forEach(s=>{s!==r&&(0,DH[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static{this.\u0275fac=function(i){return new(i||e)(v(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();const AH=lC(IB,"browser",[{provide:gt,useValue:mE},{provide:my,useValue:function EH(){tp.makeCurrent()},multi:!0},{provide:le,useFactory:function SH(){return function cO(e){Af=e}(document),document},deps:[]}]),IH=new C(""),kE=[{provide:Vc,useClass:class uH{addToWindow(n){pe.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new w(5103,!1);return o},pe.getAllAngularTestabilities=()=>n.getAllTestabilities(),pe.getAllAngularRootElements=()=>n.getAllRootElements(),pe.frameworkStabilizers||(pe.frameworkStabilizers=[]),pe.frameworkStabilizers.push(i=>{const r=pe.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?Fi().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:XD,useClass:Dm,deps:[G,Cm,Vc]},{provide:Dm,useClass:Dm,deps:[G,Cm,Vc]}],NE=[{provide:Uu,useValue:"root"},{provide:Qt,useFactory:function MH(){return new Qt},deps:[]},{provide:np,useClass:xH,multi:!0,deps:[le,G,gt]},{provide:np,useClass:CH,multi:!0,deps:[le]},sp,ME,CE,{provide:Dh,useExisting:sp},{provide:pE,useClass:fH,deps:[]},[]];let PE=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:jl,useValue:t.appId}]}}static{this.\u0275fac=function(i){return new(i||e)(v(IH,12))}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({providers:[...NE,...kE],imports:[ld,TB]})}}return e})(),fd=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:function(i){let r=null;return r=i?new(i||e):v(RH),r},providedIn:"root"})}}return e})(),RH=(()=>{class e extends fd{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case dt.NONE:return i;case dt.HTML:return Un(i,"HTML")?Xt(i):Ry(this._doc,String(i)).toString();case dt.STYLE:return Un(i,"Style")?Xt(i):i;case dt.SCRIPT:if(Un(i,"Script"))return Xt(i);throw new w(5200,!1);case dt.URL:return Un(i,"URL")?Xt(i):Kl(String(i));case dt.RESOURCE_URL:if(Un(i,"ResourceURL"))return Xt(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(t){return function TO(e){return new CO(e)}(t)}bypassSecurityTrustStyle(t){return function FO(e){return new EO(e)}(t)}bypassSecurityTrustScript(t){return function OO(e){return new MO(e)}(t)}bypassSecurityTrustUrl(t){return function RO(e){return new SO(e)}(t)}bypassSecurityTrustResourceUrl(t){return function kO(e){return new AO(e)}(t)}static{this.\u0275fac=function(i){return new(i||e)(v(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function jE(e){return e&&de(e.schedule)}function cp(e){return e[e.length-1]}function HE(e){return de(cp(e))?e.pop():void 0}function Ea(e){return jE(cp(e))?e.pop():void 0}function ki(e){return this instanceof ki?(this.v=e,this):new ki(e)}function GE(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function hp(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const pp=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function WE(e){return de(e?.then)}function qE(e){return de(e[yu])}function YE(e){return Symbol.asyncIterator&&de(e?.[Symbol.asyncIterator])}function KE(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ZE=function aU(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function QE(e){return de(e?.[ZE])}function XE(e){return function zE(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(m){return Promise.resolve(m).then(h,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(h,m){i[h]&&(r[h]=function(p){return new Promise(function(_,b){o.push([h,p,_,b])>1||l(h,p)})},m&&(r[h]=m(r[h])))}function l(h,m){try{!function c(h){h.value instanceof ki?Promise.resolve(h.value.v).then(d,u):f(o[0][2],h)}(i[h](m))}catch(p){f(o[0][3],p)}}function d(h){l("next",h)}function u(h){l("throw",h)}function f(h,m){h(m),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield ki(t.read());if(r)return yield ki(void 0);yield yield ki(i)}}finally{t.releaseLock()}})}function JE(e){return de(e?.getReader)}function Nt(e){if(e instanceof Ie)return e;if(null!=e){if(qE(e))return function lU(e){return new Ie(n=>{const t=e[yu]();if(de(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(pp(e))return function cU(e){return new Ie(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(WE(e))return function dU(e){return new Ie(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,p_)})}(e);if(YE(e))return e0(e);if(QE(e))return function uU(e){return new Ie(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(JE(e))return function fU(e){return e0(XE(e))}(e)}throw KE(e)}function e0(e){return new Ie(n=>{(function hU(e,n){var t,i,r,o;return function UE(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=GE(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function fi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function t0(e,n=0){return ht((t,i)=>{t.subscribe(at(i,r=>fi(i,e,()=>i.next(r),n),()=>fi(i,e,()=>i.complete(),n),r=>fi(i,e,()=>i.error(r),n)))})}function n0(e,n=0){return ht((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function r0(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ie(t=>{fi(t,n,()=>{const i=e[Symbol.asyncIterator]();fi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function hi(e,n){return n?function yU(e,n){if(null!=e){if(qE(e))return function mU(e,n){return Nt(e).pipe(n0(n),t0(n))}(e,n);if(pp(e))return function gU(e,n){return new Ie(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(WE(e))return function pU(e,n){return Nt(e).pipe(n0(n),t0(n))}(e,n);if(YE(e))return r0(e,n);if(QE(e))return function _U(e,n){return new Ie(t=>{let i;return fi(t,n,()=>{i=e[ZE](),fi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>de(i?.return)&&i.return()})}(e,n);if(JE(e))return function bU(e,n){return r0(XE(e),n)}(e,n)}throw KE(e)}(e,n):Nt(e)}function mi(...e){return hi(e,Ea(e))}function Ma(e,n,t=1/0){return de(n)?Ma((i,r)=>Xe((o,s)=>n(i,o,r,s))(Nt(e(i,r))),t):("number"==typeof n&&(t=n),ht((i,r)=>function vU(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&n.complete()},h=p=>c<i?m(p):l.push(p),m=p=>{o&&n.next(p),c++;let _=!1;Nt(t(p,d++)).subscribe(at(n,b=>{r?.(b),o?h(b):n.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){const b=l.shift();s?fi(n,s,()=>m(b)):m(b)}f()}catch(b){n.error(b)}}))};return e.subscribe(at(n,h,()=>{u=!0,f()})),()=>{a?.()}}(i,r,e,t)))}function Tn(e,n){return ht((t,i)=>{let r=0;t.subscribe(at(i,o=>e.call(n,o,r++)&&i.next(o)))})}function gp(e){return ht((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function hd(e,n){return ht((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(at(i,l=>{r?.unsubscribe();let c=0;const d=o++;Nt(e(l,d)).subscribe(r=at(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}class md{}class pd{}class dn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof dn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new dn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof dn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class wU{encodeKey(n){return o0(n)}encodeValue(n){return o0(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const CU=/%(\d[a-f0-9])/gi,EU={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function o0(e){return encodeURIComponent(e).replace(CU,(n,t)=>EU[t]??n)}function gd(e){return`${e}`}class Ni{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new wU,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function DU(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(gd):[gd(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Ni({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(gd(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(gd(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class MU{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function s0(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function a0(e){return typeof Blob<"u"&&e instanceof Blob}function l0(e){return typeof FormData<"u"&&e instanceof FormData}class Sa{constructor(n,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function SU(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new dn,this.context??=new MU,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new Ni,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||s0(this.body)||a0(this.body)||l0(this.body)||function AU(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ni?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||l0(this.body)?null:a0(this.body)?this.body.type||null:s0(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ni?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress;let c=n.headers||this.headers,d=n.params||this.params;const u=n.context??this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((f,h)=>f.set(h,n.setHeaders[h]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((f,h)=>f.set(h,n.setParams[h]),d)),new Sa(t,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}}var Pi=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}(Pi||{});class _p{constructor(n,t=Aa.Ok,i="OK"){this.headers=n.headers||new dn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class _d extends _p{constructor(n={}){super(n),this.type=Pi.ResponseHeader}clone(n={}){return new _d({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class _r extends _p{constructor(n={}){super(n),this.type=Pi.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new _r({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class $o extends _p{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}var Aa=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Aa||{});function bp(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let yp=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof Sa)o=t;else{let l,c;l=r.headers instanceof dn?r.headers:new dn(r.headers),r.params&&(c=r.params instanceof Ni?r.params:new Ni({fromObject:r.params})),o=new Sa(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const s=mi(o).pipe(function xU(e,n){return de(n)?Ma(e,n,1):Ma(e,1)}(l=>this.handler.handle(l)));if(t instanceof Sa||"events"===r.observe)return s;const a=s.pipe(Tn(l=>l instanceof _r));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Xe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Xe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Xe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Xe(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new Ni).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,bp(r,i))}post(t,i,r={}){return this.request("POST",t,bp(r,i))}put(t,i,r={}){return this.request("PUT",t,bp(r,i))}static{this.\u0275fac=function(i){return new(i||e)(v(md))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();function d0(e,n){return n(e)}function RU(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const NU=new C(""),Ia=new C(""),u0=new C(""),f0=new C("");function PU(){let e=null;return(n,t)=>{null===e&&(e=(T(NU,{optional:!0})??[]).reduceRight(RU,d0));const i=T(lr),r=i.add();return e(n,t).pipe(gp(()=>i.remove(r)))}}let h0=(()=>{class e extends md{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=T(lr);const r=T(f0,{optional:!0});this.backend=r??t}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Ia),...this.injector.get(u0,[])]));this.chain=r.reduceRight((o,s)=>function kU(e,n,t){return(i,r)=>function Wu(e,n){e instanceof Wr&&e.assertNotDestroyed();const i=vi(e),r=Lt(void 0);try{return n()}finally{vi(i),Lt(r)}}(t,()=>n(i,o=>e(o,r)))}(o,s,this.injector),d0)}const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(gp(()=>this.pendingTasks.remove(i)))}static{this.\u0275fac=function(i){return new(i||e)(v(pd),v(_n))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();const HU=/^\)\]\}',?\n/;let p0=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new w(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?hi(i.\u0275loadImpl()):mi(null)).pipe(hd(()=>new Ie(o=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((p,_)=>s.setRequestHeader(p,_.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const p=t.detectContentTypeHeader();null!==p&&s.setRequestHeader("Content-Type",p)}if(t.responseType){const p=t.responseType.toLowerCase();s.responseType="json"!==p?p:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const p=s.statusText||"OK",_=new dn(s.getAllResponseHeaders()),b=function UU(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new _d({headers:_,status:s.status,statusText:p,url:b}),l},d=()=>{let{headers:p,status:_,statusText:b,url:y}=c(),M=null;_!==Aa.NoContent&&(M=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=M?Aa.Ok:0);let F=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof M){const q=M;M=M.replace(HU,"");try{M=""!==M?JSON.parse(M):null}catch(J){M=q,F&&(F=!1,M={error:J,text:M})}}F?(o.next(new _r({body:M,headers:p,status:_,statusText:b,url:y||void 0})),o.complete()):o.error(new $o({error:M,headers:p,status:_,statusText:b,url:y||void 0}))},u=p=>{const{url:_}=c(),b=new $o({error:p,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});o.error(b)};let f=!1;const h=p=>{f||(o.next(c()),f=!0);let _={type:Pi.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(_.total=p.total),"text"===t.responseType&&s.responseText&&(_.partialText=s.responseText),o.next(_)},m=p=>{let _={type:Pi.UploadProgress,loaded:p.loaded};p.lengthComputable&&(_.total=p.total),o.next(_)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:Pi.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||e)(v(pE))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();const wp=new C(""),g0=new C("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),_0=new C("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class b0{}let GU=(()=>{class e{constructor(t,i,r){this.doc=t,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=oE(t,this.cookieName),this.lastCookieString=t),this.lastToken}static{this.\u0275fac=function(i){return new(i||e)(v(le),v(gt),v(g0))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();function WU(e,n){const t=e.url.toLowerCase();if(!T(wp)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=T(b0).getToken(),r=T(_0);return null!=i&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),n(e)}var Li=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}(Li||{});function br(e,n){return{\u0275kind:e,\u0275providers:n}}function qU(...e){const n=[yp,p0,h0,{provide:md,useExisting:h0},{provide:pd,useExisting:p0},{provide:Ia,useValue:WU,multi:!0},{provide:wp,useValue:!0},{provide:b0,useClass:GU}];for(const t of e)n.push(...t.\u0275providers);return function ds(e){return{\u0275providers:e}}(n)}const y0=new C("");let KU=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({providers:[qU(br(Li.LegacyInterceptors,[{provide:y0,useFactory:PU},{provide:Ia,useExisting:y0,multi:!0}]))]})}}return e})();function S0(e=1/0){return Ma(Nr,e)}const yd=new Ie(e=>e.complete());function Vi(...e){const n=Ea(e),t=function kH(e,n){return"number"==typeof cp(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Nt(i[0]):S0(t)(hi(i,n)):yd}function A0(e){for(let n in e){let t=e[n]??"";switch(n){case"display":e.display="flex"===t?["-webkit-flex","flex"]:"inline-flex"===t?["-webkit-inline-flex","inline-flex"]:t;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+n]=t;break;case"flex-direction":e["-webkit-flex-direction"]=t,e["flex-direction"]=t;break;case"order":e.order=e["-webkit-"+n]=isNaN(+t)?"0":t}}return e}const Dp="inline",vd=["row","column","row-reverse","column-reverse"];function I0(e){let[n,t,i]=T0(e);return function i$(e,n=null,t=!1){return{display:t?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":n||null}}(n,t,i)}function T0(e){e=e?.toLowerCase()??"";let[n,t,i]=e.split(" ");return vd.find(r=>r===n)||(n=vd[0]),t===Dp&&(t=i!==Dp?i:"",i=Dp),[n,n$(t),!!i]}function Ta(e){let[n]=T0(e);return n.indexOf("row")>-1}function n$(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}function pi(e,...n){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let t of n)if(null!=t)for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function zo(e,n,t){const i=de(e)||n||t?{next:e,error:n,complete:t}:e;return i?ht((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(at(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Nr}const o$={provide:Sm,useFactory:function r$(e,n){return()=>{if(Oi(n)){const t=Array.from(e.querySelectorAll(`[class*=${F0}]`)),i=/\bflex-layout-.+?\b/g;t.forEach(r=>{r.classList.contains(`${F0}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[le,gt],multi:!0},F0="flex-layout-";let Cp=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=ue({providers:[o$]}),e})();class yr{constructor(n=!1,t="all",i="",r="",o=0){this.matches=n,this.mediaQuery=t,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new yr(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let s$=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(t,i,r){const o=this.stylesheet.get(t);o?o.set(i,r):this.stylesheet.set(t,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,i){const r=this.stylesheet.get(t);let o="";if(r){const s=r.get(i);("number"==typeof s||"string"==typeof s)&&(o=s+"")}return o}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ep={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Fn=new C("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Ep}),Go=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Mp=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function O0(e,n){return e=e?.clone()??new yr,n&&(e.mqAlias=n.alias,e.mediaQuery=n.mediaQuery,e.suffix=n.suffix,e.priority=n.priority),e}class He{constructor(){this.shouldCache=!0}sideEffect(n,t,i){}}let Fe=(()=>{class e{constructor(t,i,r,o){this._serverStylesheet=t,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(t,i,r=null){let o={};"string"==typeof i&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:A0(i),this._applyMultiValueStyleToElement(o,t)}applyStyleToElements(t,i=[]){const r=this.layoutConfig.disableVendorPrefixes?t:A0(t);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(t){const i="flex-direction";let r=this.lookupStyle(t,i);return[r||"row",this.lookupInlineStyle(t,i)||Ri(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,i){return t.getAttribute(i)??""}lookupInlineStyle(t,i){return Oi(this._platformId)?t.style.getPropertyValue(i):function a$(e,n){return R0(e)[n]??""}(t,i)}lookupStyle(t,i,r=!1){let o="";return t&&((o=this.lookupInlineStyle(t,i))||(Oi(this._platformId)?r||(o=getComputedStyle(t).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(t,i)))),o?o.trim():""}_applyMultiValueStyleToElement(t,i){Object.keys(t).sort().forEach(r=>{const o=t[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",Oi(this._platformId)||!this._serverModuleLoaded?Oi(this._platformId)?i.style.setProperty(r,a):l$(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}}return e.\u0275fac=function(t){return new(t||e)(v(s$),v(Go),v(gt),v(Fn))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function l$(e,n,t){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=R0(e);i[n]=t??"",function c$(e,n){let t="";for(const i in n)n[i]&&(t+=`${i}:${n[i]};`);e.setAttribute("style",t)}(e,i)}function R0(e){const n={},t=e.getAttribute("style");if(t){const i=t.split(/;+/g);for(let r=0;r<i.length;r++){const o=i[r].trim();if(o.length>0){const s=o.indexOf(":");if(-1===s)throw new Error(`Invalid CSS style: ${o}`);n[o.substr(0,s).trim()]=o.substr(s+1).trim()}}}return n}function Fa(e,n){return(n&&n.priority||0)-(e&&e.priority||0)}function d$(e,n){return(e.priority||0)-(n.priority||0)}let Sp=(()=>{class e{constructor(t,i,r){this._zone=t,this._platformId=i,this._document=r,this.source=new y_(new yr(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((i,r)=>{i.matches&&t.push(r)}),t}isActive(t){return this.registry.get(t)?.matches??this.registerQuery(t).some(r=>r.matches)}observe(t,i=!1){if(t&&t.length){const r=this._observable$.pipe(Tn(s=>!i||t.indexOf(s.mediaQuery)>-1));return Vi(new Ie(s=>{const a=this.registerQuery(t);if(a.length){const l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()}),r)}return this._observable$}registerQuery(t){const i=Array.isArray(t)?t:[t],r=[];return function u$(e,n){const t=e.filter(i=>!k0[i]);if(t.length>0){const i=t.join(", ");try{const r=n.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(n.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),n.head.appendChild(r),t.forEach(o=>k0[o]=r)}catch(r){console.error(r)}}}(i,this._document),i.forEach(o=>{const s=l=>{this._zone.run(()=>this.source.next(new yr(l.matches,o)))};let a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new yr(!0,o))}),r}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function h$(e,n){return n&&window.matchMedia("all").addListener?window.matchMedia(e):function f$(e){const n=new EventTarget;return n.matches="all"===e||""===e,n.media=e,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}(e)}(t,Oi(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)(v(G),v(gt),v(le))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const k0={},m$=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],N0="(orientation: portrait) and (max-width: 599.98px)",P0="(orientation: landscape) and (max-width: 959.98px)",L0="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",V0="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",B0="(orientation: portrait) and (min-width: 840px)",j0="(orientation: landscape) and (min-width: 1280px)",gi={HANDSET:`${N0}, ${P0}`,TABLET:`${L0} , ${V0}`,WEB:`${B0}, ${j0} `,HANDSET_PORTRAIT:`${N0}`,TABLET_PORTRAIT:`${L0} `,WEB_PORTRAIT:`${B0}`,HANDSET_LANDSCAPE:`${P0}`,TABLET_LANDSCAPE:`${V0}`,WEB_LANDSCAPE:`${j0}`},p$=[{alias:"handset",priority:2e3,mediaQuery:gi.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:gi.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:gi.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:gi.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:gi.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:gi.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:gi.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:gi.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:gi.WEB_PORTRAIT,overlapping:!0}],g$=/(\.|-|_)/g;function _$(e){let n=e.length>0?e.charAt(0):"",t=e.length>1?e.slice(1):"";return n.toUpperCase()+t}const x$=new C("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=T(Mp),n=T(Fn),t=[].concat.apply([],(e||[]).map(r=>Array.isArray(r)?r:[r]));return function v$(e,n=[]){const t={};return e.forEach(i=>{t[i.alias]=i}),n.forEach(i=>{t[i.alias]?pi(t[i.alias],i):t[i.alias]=i}),function y$(e){return e.forEach(n=>{n.suffix||(n.suffix=function b$(e){return e.replace(g$,"|").split("|").map(_$).join("")}(n.alias),n.overlapping=!!n.overlapping)}),e}(Object.keys(t).map(i=>t[i]))}((n.disableDefaultBps?[]:m$).concat(n.addOrientationBps?p$:[]),t)}});let Ap=(()=>{class e{constructor(t){this.findByMap=new Map,this.items=[...t].sort(d$)}findByAlias(t){return t?this.findWithPredicate(t,i=>i.alias===t):null}findByQuery(t){return this.findWithPredicate(t,i=>i.mediaQuery===t)}get overlappings(){return this.items.filter(t=>t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t?.suffix??"")}findWithPredicate(t,i){let r=this.findByMap.get(t);return r||(r=this.items.find(i)??null,this.findByMap.set(t,r)),r??null}}return e.\u0275fac=function(t){return new(t||e)(v(x$))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Wo="print",w$={alias:Wo,mediaQuery:Wo,priority:1e3};let D$=(()=>{class e{constructor(t,i,r){this.breakpoints=t,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new C$,this.deactivations=[]}withPrintQuery(t){return[...t,Wo]}isPrintEvent(t){return t.mediaQuery.startsWith(Wo)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const i=this.breakpoints.findByQuery(t);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(Fa)}updateEvent(t){let i=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(i=this.getEventBreakpoints(t)[0],t.mediaQuery=i?.mediaQuery??""),O0(t,i)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new yr(!0,Wo))),t.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(t){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(i)),t.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(t),t.updateStyles()):this.collectActivations(t,i)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,i){this.isPrinting=!0,this.formerActivations=t.activatedBreakpoints,t.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(t,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const r=this.breakpoints.findByQuery(i.mediaQuery);if(r){const o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&t.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(Fa))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t)))}}return e.\u0275fac=function(t){return new(t||e)(v(Ap),v(Fn),v(le))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class C${constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(w$),n.sort(Fa),n.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(n){n&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)&&(this.printBreakpoints=function E$(e){return e?.mediaQuery.startsWith(Wo)??!1}(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}}let Re=(()=>{class e{constructor(t,i,r){this.matchMedia=t,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new oe,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(t){this._activatedBreakpoints=[...t]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(t){this._useFallbacks=t}onMediaChange(t){const i=this.findByQuery(t.mediaQuery);if(i){t=O0(t,i);const r=this.activatedBreakpoints.indexOf(i);t.matches&&-1===r?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(Fa),this.updateStyles()):!t.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(Fa),this.updateStyles())}}init(t,i,r,o,s=[]){H0(this.updateMap,t,i,r),H0(this.clearMap,t,i,o),this.buildElementKeyMap(t,i),this.watchExtraTriggers(t,i,s)}getValue(t,i,r){const o=this.elementMap.get(t);if(o){const s=void 0!==r?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(t,i){const r=this.elementMap.get(t);if(r){const o=this.getActivatedValues(r,i);if(o)return void 0!==o.get(i)||!1}return!1}setValue(t,i,r,o){let s=this.elementMap.get(t);if(s){const l=(s.get(o)??new Map).set(i,r);s.set(o,l),this.elementMap.set(t,s)}else s=(new Map).set(o,(new Map).set(i,r)),this.elementMap.set(t,s);const a=this.getValue(t,i);void 0!==a&&this.updateElement(t,i,a)}trackValue(t,i){return this.subject.asObservable().pipe(Tn(r=>r.element===t&&r.key===i))}updateStyles(){this.elementMap.forEach((t,i)=>{const r=new Set(this.elementKeyMap.get(i));let o=this.getActivatedValues(t);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(t,s),o){const a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(t,i){const r=this.clearMap.get(t);if(r){const o=r.get(i);o&&(o(),this.subject.next({element:t,key:i,value:""}))}}updateElement(t,i,r){const o=this.updateMap.get(t);if(o){const s=o.get(i);s&&(s(r),this.subject.next({element:t,key:i,value:r}))}}releaseElement(t){const i=this.watcherMap.get(t);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(t));const r=this.elementMap.get(t);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(t))}triggerUpdate(t,i){const r=this.elementMap.get(t);if(r){const o=this.getActivatedValues(r,i);o&&(i?this.updateElement(t,i,o.get(i)):o.forEach((s,a)=>this.updateElement(t,a,s)))}}buildElementKeyMap(t,i){let r=this.elementKeyMap.get(t);r||(r=new Set,this.elementKeyMap.set(t,r)),r.add(i)}watchExtraTriggers(t,i,r){if(r&&r.length){let o=this.watcherMap.get(t);if(o||(o=new Map,this.watcherMap.set(t,o)),!o.get(i)){const a=Vi(...r).subscribe(()=>{const l=this.getValue(t,i);this.updateElement(t,i,l)});o.set(i,a)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,i){for(let o=0;o<this.activatedBreakpoints.length;o++){const a=t.get(this.activatedBreakpoints[o].alias);if(a&&(void 0===i||a.has(i)&&null!=a.get(i)))return a}if(!this._useFallbacks)return;const r=t.get("");return void 0===i||r&&r.has(i)?r:void 0}observeActivations(){const t=this.breakpoints.items.map(i=>i.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(zo(this.hook.interceptEvents(this)),Tn(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)(v(Sp),v(Ap),v(D$))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function H0(e,n,t,i){if(void 0!==i){const r=e.get(n)??new Map;r.set(t,i),e.set(n,r)}}let Ve=(()=>{class e{constructor(t,i,r,o){this.elementRef=t,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new oe,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const r=i.split(".").slice(1).join(".");this.setValue(t[i].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,i){const r=this.styleBuilder,o=r.shouldCache;let s=this.styleCache.get(t);(!s||!o)&&(s=r.buildStyles(t,i),o&&this.styleCache.set(t,s)),this.mru={...s},this.applyStyleToElement(s),r.sideEffect(t,s,i)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,i=!1){if(t){const[r,o]=this.styler.getFlowDirection(t);if(!o&&i){const s=I0(r);this.styler.applyStyleToElements(s,[t])}return r.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,i,r=this.nativeElement){this.styler.applyStyleToElement(r,t,i)}setValue(t,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,i)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return e.\u0275fac=function(t){return new(t||e)(g(H),g(He),g(Fe),g(Re))},e.\u0275dir=D({type:e,features:[It]}),e})();function un(e){return null!=e&&"false"!=`${e}`}function wd(e){return Array.isArray(e)?e:[e]}function Qe(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Oa(e){return e instanceof H?e.nativeElement:e}function ut(e){return ht((n,t)=>{Nt(e).subscribe(at(t,()=>t.complete(),mu)),!t.closed&&n.subscribe(t)})}EventTarget;let Z0=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=ue({imports:[Cp]}),e})();const q$=new C("cdk-dir-doc",{providedIn:"root",factory:function Y$(){return T(le)}}),K$=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let qo=(()=>{class e{constructor(t){this.value="ltr",this.change=new _e,t&&(this.value=function Z$(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?K$.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||e)(v(q$,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Yo=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({})}}return e})(),Q$=(()=>{class e extends He{buildStyles(t,{display:i}){const r=I0(t);return{...r,display:"none"===i?i:r.display}}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=N(e)))(i||e)}})(),e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const X$=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let J$=(()=>{class e extends Ve{constructor(t,i,r,o,s){super(t,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(t){const r=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=X0.get(r)??new Map,X0.set(r,this.styleCache),this.currentValue!==t&&(this.addStyles(t,{display:r}),this.currentValue=t)}}return e.\u0275fac=function(t){return new(t||e)(g(H),g(Fe),g(Q$),g(Re),g(Fn))},e.\u0275dir=D({type:e,features:[I]}),e})(),Q0=(()=>{class e extends J${constructor(){super(...arguments),this.inputs=X$}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=N(e)))(i||e)}})(),e.\u0275dir=D({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[I]}),e})();const X0=new Map;let Hz=(()=>{class e extends He{buildStyles(t,i){const r={},[o,s]=t.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;default:r["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;default:r["align-items"]=r["align-content"]="stretch"}return pi(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===s?Ta(i.layout)?null:"100%":null,"max-height":"stretch"===s&&Ta(i.layout)?"100%":null})}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=N(e)))(i||e)}})(),e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Uz=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let $z=(()=>{class e extends Ve{constructor(t,i,r,o){super(t,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(ut(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const i=this.layout||"row",r=this.inline;"row"===i&&r?this.styleCache=Yz:"row"!==i||r?"row-reverse"===i&&r?this.styleCache=Zz:"row-reverse"!==i||r?"column"===i&&r?this.styleCache=Kz:"column"!==i||r?"column-reverse"===i&&r?this.styleCache=Qz:"column-reverse"===i&&!r&&(this.styleCache=qz):this.styleCache=Gz:this.styleCache=Wz:this.styleCache=zz,this.addStyles(t,{layout:i,inline:r})}onLayoutChange(t){const i=t.value.split(" ");this.layout=i[0],this.inline=t.value.includes("inline"),vd.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}}return e.\u0275fac=function(t){return new(t||e)(g(H),g(Fe),g(Hz),g(Re))},e.\u0275dir=D({type:e,features:[I]}),e})(),tM=(()=>{class e extends $z{constructor(){super(...arguments),this.inputs=Uz}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=N(e)))(i||e)}})(),e.\u0275dir=D({type:e,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[I]}),e})();const zz=new Map,Gz=new Map,Wz=new Map,qz=new Map,Yz=new Map,Kz=new Map,Zz=new Map,Qz=new Map;let nM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=ue({imports:[Cp,Yo]}),e})(),dM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=ue({imports:[Cp]}),e})(),y3=(()=>{class e{constructor(t,i){Ri(i)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,i=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:Fn,useValue:{...Ep,...t}},{provide:Mp,useValue:i,multi:!0},{provide:Go,useValue:!0}]:[{provide:Fn,useValue:{...Ep,...t}},{provide:Mp,useValue:i,multi:!0}]}}}return e.\u0275fac=function(t){return new(t||e)(v(Go),v(gt))},e.\u0275mod=ge({type:e}),e.\u0275inj=ue({imports:[nM,Z0,dM,nM,Z0,dM]}),e})();const{isArray:v3}=Array,{getPrototypeOf:x3,prototype:w3,keys:D3}=Object;function uM(e){if(1===e.length){const n=e[0];if(v3(n))return{args:n,keys:null};if(function C3(e){return e&&"object"==typeof e&&x3(e)===w3}(n)){const t=D3(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:E3}=Array;function Tp(e){return Xe(n=>function M3(e,n){return E3(n)?e(...n):e(n)}(e,n))}function fM(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hM(...e){const n=HE(e),{args:t,keys:i}=uM(e),r=new Ie(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;Nt(t[d]).subscribe(at(o,f=>{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?fM(i,a):a),o.complete())}))}});return n?r.pipe(Tp(n)):r}let mM=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.\u0275fac=function(i){return new(i||e)(g(ai),g(H))}}static{this.\u0275dir=D({type:e})}}return e})(),vr=(()=>{class e extends mM{static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=N(e)))(r||e)}})()}static{this.\u0275dir=D({type:e,features:[I]})}}return e})();const On=new C(""),A3={provide:On,useExisting:De(()=>Cd),multi:!0},T3=new C("");let Cd=(()=>{class e extends mM{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I3(){const e=Fi()?Fi().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.\u0275fac=function(i){return new(i||e)(g(ai),g(H),g(T3,8))}}static{this.\u0275dir=D({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&Te("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[be([A3]),I]})}}return e})();function Bi(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function gM(e){return null!=e&&"number"==typeof e.length}const St=new C(""),ji=new C(""),F3=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class _M{static min(n){return function bM(e){return n=>{if(Bi(n.value)||Bi(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function yM(e){return n=>{if(Bi(n.value)||Bi(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function vM(e){return Bi(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function xM(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function wM(e){return Bi(e.value)||F3.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function DM(e){return n=>Bi(n.value)||!gM(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function CM(e){return n=>gM(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function EM(e){if(!e)return Ed;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>{if(Bi(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}(n)}static nullValidator(n){return null}static compose(n){return FM(n)}static composeAsync(n){return OM(n)}}function Ed(e){return null}function MM(e){return null!=e}function SM(e){return Bc(e)?hi(e):e}function AM(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function IM(e,n){return n.map(t=>t(e))}function TM(e){return e.map(n=>function O3(e){return!e.validate}(n)?n:t=>n.validate(t))}function FM(e){if(!e)return null;const n=e.filter(MM);return 0==n.length?null:function(t){return AM(IM(t,n))}}function Fp(e){return null!=e?FM(TM(e)):null}function OM(e){if(!e)return null;const n=e.filter(MM);return 0==n.length?null:function(t){return hM(IM(t,n).map(SM)).pipe(Xe(AM))}}function Op(e){return null!=e?OM(TM(e)):null}function RM(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function kM(e){return e._rawValidators}function NM(e){return e._rawAsyncValidators}function Rp(e){return e?Array.isArray(e)?e:[e]:[]}function Md(e,n){return Array.isArray(e)?e.includes(n):e===n}function PM(e,n){const t=Rp(n);return Rp(e).forEach(r=>{Md(t,r)||t.push(r)}),t}function LM(e,n){return Rp(n).filter(t=>!Md(e,t))}class VM{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Fp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Op(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Pt extends VM{get formDirective(){return null}get path(){return null}}class Zn extends VM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class BM{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let jM=(()=>{class e extends BM{constructor(t){super(t)}static{this.\u0275fac=function(i){return new(i||e)(g(Zn,2))}}static{this.\u0275dir=D({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Et("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[I]})}}return e})();const Ra="VALID",Ad="INVALID",Ko="PENDING",ka="DISABLED";function Pp(e){return(Id(e)?e.validators:e)||null}function Lp(e,n){return(Id(n)?n.asyncValidators:e)||null}function Id(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Vp{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Ra}get invalid(){return this.status===Ad}get pending(){return this.status==Ko}get disabled(){return this.status===ka}get enabled(){return this.status!==ka}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(PM(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(PM(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(LM(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(LM(n,this._rawAsyncValidators))}hasValidator(n){return Md(this._rawValidators,n)}hasAsyncValidator(n){return Md(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Ko,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ka,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ra,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ra||this.status===Ko)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ka:Ra}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ko,this._hasOwnPendingAsyncValidator=!0;const t=SM(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new _e,this.statusChanges=new _e}_calculateStatus(){return this._allControlsDisabled()?ka:this.errors?Ad:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ko)?Ko:this._anyControlsHaveStatus(Ad)?Ad:Ra}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Id(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function L3(e){return Array.isArray(e)?Fp(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function V3(e){return Array.isArray(e)?Op(e):e||null}(this._rawAsyncValidators)}}class Bp extends Vp{constructor(n,t,i){super(Pp(t),Lp(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function $M(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new w(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function UM(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new w(1e3,"");if(!i[t])throw new w(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const Zo=new C("CallSetDisabledState",{providedIn:"root",factory:()=>Td}),Td="always";function Na(e,n,t=Td){jp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function H3(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&zM(e,n)})}(e,n),function $3(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function U3(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&zM(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function j3(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Od(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),kd(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Rd(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function jp(e,n){const t=kM(e);null!==n.validator?e.setValidators(RM(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=NM(e);null!==n.asyncValidator?e.setAsyncValidators(RM(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Rd(n._rawValidators,r),Rd(n._rawAsyncValidators,r)}function kd(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=kM(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const r=NM(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}const i=()=>{};return Rd(n._rawValidators,i),Rd(n._rawAsyncValidators,i),t}function zM(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function GM(e,n){jp(e,n)}function WM(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const Y3={provide:Pt,useExisting:De(()=>La)},Pa=Promise.resolve();let La=(()=>{class e extends Pt{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new _e,this.form=new Bp({},Fp(t),Op(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Pa.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Na(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Pa.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Pa.then(()=>{const i=this._findContainer(t.path),r=new Bp({});GM(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Pa.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){Pa.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,WM(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static{this.\u0275fac=function(i){return new(i||e)(g(St,10),g(ji,10),g(Zo,8))}}static{this.\u0275dir=D({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&Te("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[A.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([Y3]),I]})}}return e})();function qM(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function YM(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const KM=class extends Vp{constructor(n=null,t,i){super(Pp(t),Lp(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Id(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=YM(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){qM(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){qM(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){YM(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Q3={provide:Zn,useExisting:De(()=>zp)},XM=Promise.resolve();let zp=(()=>{class e extends Zn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new KM,this._registered=!1,this.name="",this.update=new _e,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function $p(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Cd?t=o:function W3(e){return Object.getPrototypeOf(e.constructor)===vr}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Up(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Na(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){XM.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&bt(i);XM.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Fd(e,n){return[...n.path,e]}(t,this._parent):[t]}static{this.\u0275fac=function(i){return new(i||e)(g(Pt,9),g(St,10),g(ji,10),g(On,10),g(Ti,8),g(Zo,8))}}static{this.\u0275dir=D({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[A.None,"disabled","isDisabled"],model:[A.None,"ngModel","model"],options:[A.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[be([Q3]),I,It]})}}return e})();const r5={provide:Pt,useExisting:De(()=>Va)};let Zp,Va=(()=>{class e extends Pt{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new _e,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(kd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return Na(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Od(t.control||null,t,!1),function q3(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,WM(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(Od(i||null,t),(e=>e instanceof KM)(r)&&(Na(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);GM(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function z3(e,n){return kd(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jp(this.form,this),this._oldForm&&kd(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(i){return new(i||e)(g(St,10),g(ji,10),g(Zo,8))}}static{this.\u0275dir=D({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&Te("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[A.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([r5]),I,It]})}}return e})(),w5=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({})}}return e})(),C5=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Zo,useValue:t.callSetDisabledState??Td}]}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[w5]})}}return e})();try{Zp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Zp=!1}let Qo,Rn=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Oi(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Zp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||e)(v(gt))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const _S=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function bS(){if(Qo)return Qo;if("object"!=typeof document||!document)return Qo=new Set(_S),Qo;let e=document.createElement("input");return Qo=new Set(_S.filter(n=>(e.setAttribute("type",n),e.type===n))),Qo}let Ba,wr;function ja(e){return function E5(){if(null==Ba&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ba=!0}))}finally{Ba=Ba||!1}return Ba}()?e:!!e.capture}function M5(){if(null==wr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return wr=!1,wr;if("scrollBehavior"in document.documentElement.style)wr=!0;else{const e=Element.prototype.scrollTo;wr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return wr}function Pd(e){return e.composedPath?e.composedPath()[0]:e.target}function Xp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const Jp={now:()=>(Jp.delegate||Date).now(),delegate:void 0};class yS extends oe{constructor(n=1/0,t=1/0,i=Jp){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=t.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}function vS(e={}){const{connector:n=(()=>new oe),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},m=()=>{const p=s;h(),p?.unsubscribe()};return ht((p,_)=>{c++,!u&&!d&&f();const b=l=l??n();_.add(()=>{c--,0===c&&!u&&!d&&(a=eg(m,r))}),b.subscribe(_),!s&&c>0&&(s=new rs({next:y=>b.next(y),error:y=>{u=!0,f(),a=eg(h,t,y),b.error(y)},complete:()=>{d=!0,f(),a=eg(h,i),b.complete()}}),Nt(p).subscribe(s))})(o)}}function eg(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new rs({next:()=>{i.unsubscribe(),e()}});return Nt(n(...t)).subscribe(i)}class I5{constructor(n){this._box=n,this._destroyed=new oe,this._resizeSubject=new oe,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Ie(t=>{const i=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(Tn(t=>t.some(i=>i.target===n)),function A5(e,n,t){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e):i=e??1/0,vS({connector:()=>new yS(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}({bufferSize:1,refCount:!0}),ut(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let T5=(()=>{class e{constructor(){this._observers=new Map,this._ngZone=T(G)}ngOnDestroy(){for(const[,t]of this._observers)t.destroy();this._observers.clear()}observe(t,i){const r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new I5(r)),this._observers.get(r).observe(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var W=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(W||{});const _i="*";function tg(e,n){return{type:W.Trigger,name:e,definitions:n,options:{}}}function ng(e,n=null){return{type:W.Animate,styles:n,timings:e}}function Dr(e){return{type:W.Style,styles:e,offset:null}}function xS(e,n,t){return{type:W.State,name:e,styles:n,options:t}}function Ld(e,n,t=null){return{type:W.Transition,expr:e,animation:n,options:t}}function O5(e=null){return{type:W.AnimateChild,options:e}}function R5(e,n,t=null){return{type:W.Query,selector:e,animation:n,options:t}}class Ua{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class wS{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}let V5=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),B5=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({providers:[V5]})}}return e})();function $a(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class e8 extends je{constructor(n,t){super()}schedule(n,t=0){return this}}const Vd={setInterval(e,n,...t){const{delegate:i}=Vd;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Vd;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class lg extends e8{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return Vd.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&Vd.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,nl(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}class za{constructor(n,t=za.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}za.now=Jp.now;class cg extends za{constructor(n,t=za.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const dg=new cg(lg),t8=dg;function ug(e,n=dg){return ht((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d<c)return r=this.schedule(void 0,c-d),void i.add(r);a()}t.subscribe(at(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function Ga(e){return e<=0?()=>yd:ht((n,t)=>{let i=0;n.subscribe(at(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function MS(e,n,t){e?fi(t,e,n):n()}function fg(...e){return function r8(){return S0(1)}()(hi(e,Ea(e)))}function hg(...e){const n=Ea(e);return ht((t,i)=>{(n?fg(e,t,n):fg(e,t)).subscribe(i)})}const SS=new Set;let Cr,s8=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):l8}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function a8(e,n){if(!SS.has(e))try{Cr||(Cr=document.createElement("style"),n&&Cr.setAttribute("nonce",n),Cr.setAttribute("type","text/css"),document.head.appendChild(Cr)),Cr.sheet&&(Cr.sheet.insertRule(`@media ${e} {body{ }}`,0),SS.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static{this.\u0275fac=function(i){return new(i||e)(v(Rn),v(If,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function l8(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let c8=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new oe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return AS(wd(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=function n8(...e){const n=Ea(e),t=HE(e),{args:i,keys:r}=uM(e);if(0===i.length)return hi([],n);const o=new Ie(function i8(e,n,t=Nr){return i=>{MS(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)MS(n,()=>{const c=hi(e[l],n);let d=!1;c.subscribe(at(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>fM(r,s):Nr));return t?o.pipe(Tp(t)):o}(AS(wd(t)).map(s=>this._registerQuery(s).observable));return o=fg(o.pipe(Ga(1)),o.pipe(function o8(e){return Tn((n,t)=>e<=t)}(1),ug(0))),o.pipe(Xe(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new Ie(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(hg(i),Xe(({matches:s})=>({query:t,matches:s})),ut(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static{this.\u0275fac=function(i){return new(i||e)(v(s8),v(G))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function AS(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function TS(e,n,t){const i=FS(e,n);t=t.trim();const r=i.filter(o=>o!==t);r.length?e.setAttribute(n,r.join(" ")):e.removeAttribute(n)}function FS(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}class OS{constructor(n,t){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new oe,this._typeaheadSubscription=je.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this._pressedLetters=[],this.tabOut=new oe,this.change=new oe,n instanceof Cs?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):bc(n)&&(this._effectRef=zC(()=>this._itemsChanged(n()),{injector:t}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(zo(t=>this._pressedLetters.push(t)),ug(n),Tn(()=>this._pressedLetters.length>0),Xe(()=>this._pressedLetters.join(""))).subscribe(t=>{const i=this._getItemsArray();for(let r=1;r<i.length+1;r++){const o=(this._activeItemIndex+r)%i.length,s=i[o];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){const t=this._activeItem;this.updateActiveItem(n),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(n){const t=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}return;default:return void((r||$a(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}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(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem=t[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const r=(this._activeItemIndex+n*i+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,t){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return bc(this._items)?this._items():this._items instanceof Cs?this._items.toArray():this._items}_itemsChanged(n){if(this._activeItem){const t=n.indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}}}class h8 extends OS{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}const w8=new C("liveAnnouncerElement",{providedIn:"root",factory:function D8(){return null}}),C8=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let E8=0,M8=(()=>{class e{constructor(t,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=t||this._createLiveElement()}announce(t,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),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(()=>{this._liveElement.textContent=t,"number"==typeof s&&(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(){const t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(t),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id="cdk-live-announcer-"+E8++,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(t){const i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){const o=i[r],s=o.getAttribute("aria-owns");s?-1===s.indexOf(t)&&o.setAttribute("aria-owns",s+" "+t):o.setAttribute("aria-owns",t)}}static{this.\u0275fac=function(i){return new(i||e)(v(w8,8),v(G),v(le),v(C8,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Er=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}(Er||{});const kS="cdk-high-contrast-black-on-white",NS="cdk-high-contrast-white-on-black",mg="cdk-high-contrast-active";let A8=(()=>{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=T(c8).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Er.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Er.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Er.BLACK_ON_WHITE}return Er.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(mg,kS,NS),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===Er.BLACK_ON_WHITE?t.add(mg,kS):i===Er.WHITE_ON_BLACK&&t.add(mg,NS)}}static{this.\u0275fac=function(i){return new(i||e)(v(Rn),v(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const I8=["text"],T8=[[["mat-icon"]],"*"],F8=["mat-icon","*"];function O8(e,n){if(1&e&&ot(0,"mat-pseudo-checkbox",1),2&e){const t=P();L("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function R8(e,n){1&e&&ot(0,"mat-pseudo-checkbox",3),2&e&&L("disabled",P().disabled)}function k8(e,n){if(1&e&&(Q(0,"span",4),Sn(1),ee()),2&e){const t=P();O(),hr("(",t.group.label,")")}}const P8=new C("mat-sanity-checks",{providedIn:"root",factory:function N8(){return!0}});let Gt=(()=>{class e{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!Xp()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static{this.\u0275fac=function(i){return new(i||e)(v(A8),v(P8,8),v(le))}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[Yo,Yo]})}}return e})();class pg{constructor(n,t,i,r,o){this._defaultMatcher=n,this.ngControl=t,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){const n=this.errorState,t=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,t)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}let VS=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var fn=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}(fn||{});class U8{constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=fn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const BS=ja({passive:!0,capture:!0});class $8{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=Pd(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,BS)})}removeHandler(n,t,i){const r=this._events.get(n);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,BS)))}}const jS={enterDuration:225,exitDuration:150},HS=ja({passive:!0,capture:!0}),US=["mousedown","touchstart"],$S=["mouseup","mouseleave","touchend","touchcancel"];class Bd{static{this._eventManager=new $8}constructor(n,t,i,r){this._target=n,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Oa(i))}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...jS,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function G8(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,m="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,p=new U8(this,d,i,m);d.style.transform="scale3d(1, 1, 1)",p.state=fn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=p);let _=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const b=()=>this._finishRippleTransition(p),y=()=>this._destroyRipple(p);d.addEventListener("transitionend",b),d.addEventListener("transitioncancel",y),_={onTransitionEnd:b,onTransitionCancel:y}}),this._activeRipples.set(p,_),(m||!c)&&this._finishRippleTransition(p),p}fadeOutRipple(n){if(n.state===fn.FADING_OUT||n.state===fn.HIDDEN)return;const t=n.element,i={...jS,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=fn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=Oa(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,US.forEach(i=>{Bd._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$S.forEach(t=>{this._triggerElement.addEventListener(t,this,HS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===fn.FADING_IN?this._startFadeOutTransition(n):n.state===fn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=fn.VISIBLE,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=fn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=function v8(e){return 0===e.buttons||0===e.detail}(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!function x8(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=n.changedTouches;if(t)for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(n.state===fn.VISIBLE||n.config.terminateOnPointerUp&&n.state===fn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(US.forEach(t=>Bd._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&($S.forEach(t=>n.removeEventListener(t,this,HS)),this._pointerUpEventsRegistered=!1))}}const W8=new C("mat-ripple-global-options");let q8=(()=>{class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,r,o,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Bd(this,i,t,r)}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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static{this.\u0275fac=function(i){return new(i||e)(g(H),g(G),g(Rn),g(W8,8),g(ao,8))}}static{this.\u0275dir=D({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&Et("mat-ripple-unbounded",r.unbounded)},inputs:{color:[A.None,"matRippleColor","color"],unbounded:[A.None,"matRippleUnbounded","unbounded"],centered:[A.None,"matRippleCentered","centered"],radius:[A.None,"matRippleRadius","radius"],animation:[A.None,"matRippleAnimation","animation"],disabled:[A.None,"matRippleDisabled","disabled"],trigger:[A.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return e})(),zS=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[Gt,Gt]})}}return e})(),Y8=(()=>{class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(i){return new(i||e)(g(ao,8))}}static{this.\u0275cmp=xi({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){2&i&&Et("mat-pseudo-checkbox-indeterminate","indeterminate"===r.state)("mat-pseudo-checkbox-checked","checked"===r.state)("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal","minimal"===r.appearance)("mat-pseudo-checkbox-full","full"===r.appearance)("_mat-animation-noopable","NoopAnimations"===r._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[mr],decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.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{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.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{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return e})(),K8=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[Gt]})}}return e})();const GS=new C("MAT_OPTION_PARENT_COMPONENT"),WS=new C("MatOptgroup");let Z8=0;class Q8{constructor(n,t=!1){this.source=n,this.isUserInput=t}}let qS=(()=>{class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(t,i,r,o){this._element=t,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Z8++,this.onSelectionChange=new _e,this._stateChanges=new oe}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(13===t.keyCode||32===t.keyCode)&&!$a(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Q8(this,t))}static{this.\u0275fac=function(i){return new(i||e)(g(H),g(Ti),g(GS,8),g(WS,8))}}static{this.\u0275cmp=xi({type:e,selectors:[["mat-option"]],viewQuery:function(i,r){if(1&i&&tn(I8,7),2&i){let o;Pe(o=Le())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){1&i&&Te("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(ra("id",r.id),_t("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),Et("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[A.HasDecoratorInputTransform,"disabled","disabled",bt]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Qs,mr],ngContentSelectors:F8,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){1&i&&(Lo(T8),X(0,O8,1,2,"mat-pseudo-checkbox",1),Mt(1),Q(2,"span",2,0),Mt(4,1),ee(),X(5,R8,1,1,"mat-pseudo-checkbox",3)(6,k8,2,1,"span",4),ot(7,"div",5)),2&i&&(rt(0,r.multiple?0:-1),O(5),rt(5,r.multiple||!r.selected||r.hideSingleSelectionIndicator?-1:5),O(),rt(6,r.group&&r.group._inert?6:-1),O(),L("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[Y8,q8],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return e})(),YS=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[zS,Gt,K8]})}}return e})();const e4=["notch"],t4=["matFormFieldNotchedOutline",""],n4=["*"],i4=["textField"],r4=["iconPrefixContainer"],o4=["textPrefixContainer"],s4=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],a4=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function l4(e,n){1&e&&ot(0,"span",17)}function c4(e,n){if(1&e&&(Q(0,"label",16),Mt(1,1),X(2,l4,1,0,"span",17),ee()),2&e){const t=P(2);L("floating",t._shouldLabelFloat())("monitorResize",t._hasOutline())("id",t._labelId),_t("for",t._control.disableAutomaticLabeling?null:t._control.id),O(2),rt(2,!t.hideRequiredMarker&&t._control.required?2:-1)}}function d4(e,n){1&e&&X(0,c4,3,5,"label",16),2&e&&rt(0,P()._hasFloatingLabel()?0:-1)}function u4(e,n){1&e&&ot(0,"div",5)}function f4(e,n){}function h4(e,n){1&e&&X(0,f4,0,0,"ng-template",11),2&e&&(P(2),L("ngTemplateOutlet",ua(1)))}function m4(e,n){if(1&e&&(Q(0,"div",7),X(1,h4,1,1,null,11),ee()),2&e){const t=P();L("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat()),O(),rt(1,t._forceDisplayInfixLabel()?-1:1)}}function p4(e,n){1&e&&(Q(0,"div",8,2),Mt(2,2),ee())}function g4(e,n){1&e&&(Q(0,"div",9,3),Mt(2,3),ee())}function _4(e,n){}function b4(e,n){1&e&&X(0,_4,0,0,"ng-template",11),2&e&&(P(),L("ngTemplateOutlet",ua(1)))}function y4(e,n){1&e&&(Q(0,"div",12),Mt(1,4),ee())}function v4(e,n){1&e&&(Q(0,"div",13),Mt(1,5),ee())}function x4(e,n){1&e&&ot(0,"div",14)}function w4(e,n){1&e&&(Q(0,"div",18),Mt(1,6),ee()),2&e&&L("@transitionMessages",P()._subscriptAnimationState)}function D4(e,n){if(1&e&&(Q(0,"mat-hint",20),Sn(1),ee()),2&e){const t=P(2);L("id",t._hintLabelId),O(),fa(t.hintLabel)}}function C4(e,n){if(1&e&&(Q(0,"div",19),X(1,D4,2,2,"mat-hint",20),Mt(2,7),ot(3,"div",21),Mt(4,8),ee()),2&e){const t=P();L("@transitionMessages",t._subscriptAnimationState),O(),rt(1,t.hintLabel?1:-1)}}let KS=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=D({type:e,selectors:[["mat-label"]],standalone:!0})}}return e})();const E4=new C("MatError");let M4=0,ZS=(()=>{class e{constructor(){this.align="start",this.id="mat-mdc-hint-"+M4++}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=D({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){2&i&&(ra("id",r.id),_t("align",null),Et("mat-mdc-form-field-hint-end","end"===r.align))},inputs:{align:"align",id:"id"},standalone:!0})}}return e})();const QS=new C("MatPrefix");let S4=(()=>{class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=D({type:e,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[A.None,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[be([{provide:QS,useExisting:e}])]})}}return e})();const XS=new C("MatSuffix");let A4=(()=>{class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=D({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[A.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[be([{provide:XS,useExisting:e}])]})}}return e})();const JS=new C("FloatingLabelParent");let eA=(()=>{class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=T(T5),this._ngZone=T(G),this._parent=T(JS),this._resizeSubscription=new je}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function I4(e){if(null!==e.offsetParent)return e.scrollWidth;const t=e.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const i=t.scrollWidth;return t.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(i){return new(i||e)(g(H))}}static{this.\u0275dir=D({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){2&i&&Et("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return e})();const tA="mdc-line-ripple--active",jd="mdc-line-ripple--deactivating";let nA=(()=>{class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,s=o.contains(jd);"opacity"===r.propertyName&&s&&o.remove(tA,jd)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(jd),t.add(tA)}deactivate(){this._elementRef.nativeElement.classList.add(jd)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(i){return new(i||e)(g(H),g(G))}}static{this.\u0275dir=D({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return e})(),iA=(()=>{class e{constructor(t,i){this._elementRef=t,this._ngZone=i,this.open=!1}ngAfterViewInit(){const t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){this._notch.nativeElement.style.width=this.open&&t?`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(i){return new(i||e)(g(H),g(G))}}static{this.\u0275cmp=xi({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(1&i&&tn(e4,5),2&i){let o;Pe(o=Le())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){2&i&&Et("mdc-notched-outline--notched",r.open)},inputs:{open:[A.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[mr],attrs:t4,ngContentSelectors:n4,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,r){1&i&&(Lo(),ot(0,"div",1),Q(1,"div",2,0),Mt(3),ee(),ot(4,"div",3))},encapsulation:2,changeDetection:0})}}return e})();const T4={transitionMessages:tg("transitionMessages",[xS("enter",Dr({opacity:1,transform:"translateY(0%)"})),Ld("void => enter",[Dr({opacity:0,transform:"translateY(-5px)"}),ng("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let gg=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=D({type:e})}}return e})();const _g=new C("MatFormField"),F4=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS");let rA=0,k4=(()=>{class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=un(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,i,r,o,s,a,l,c){this._elementRef=t,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+rA++,this._hintLabelId="mat-mdc-hint-"+rA++,this._subscriptAnimationState="",this._destroyed=new oe,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(ut(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Vi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ut(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(ut(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),r&&t.push(r.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const t=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(t.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,s=r?.getBoundingClientRect().width??0;t.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+s}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}static{this.\u0275fac=function(i){return new(i||e)(g(H),g(Ti),g(G),g(qo),g(Rn),g(F4,8),g(ao,8),g(le))}}static{this.\u0275cmp=xi({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(1&i&&(Mn(o,KS,5),Mn(o,KS,7),Mn(o,gg,5),Mn(o,QS,5),Mn(o,XS,5),Mn(o,E4,5),Mn(o,ZS,5)),2&i){let s;Pe(s=Le())&&(r._labelChildNonStatic=s.first),Pe(s=Le())&&(r._labelChildStatic=s.first),Pe(s=Le())&&(r._formFieldControl=s.first),Pe(s=Le())&&(r._prefixChildren=s),Pe(s=Le())&&(r._suffixChildren=s),Pe(s=Le())&&(r._errorChildren=s),Pe(s=Le())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(1&i&&(tn(i4,5),tn(r4,5),tn(o4,5),tn(eA,5),tn(iA,5),tn(nA,5)),2&i){let o;Pe(o=Le())&&(r._textField=o.first),Pe(o=Le())&&(r._iconPrefixContainer=o.first),Pe(o=Le())&&(r._textPrefixContainer=o.first),Pe(o=Le())&&(r._floatingLabel=o.first),Pe(o=Le())&&(r._notchedOutline=o.first),Pe(o=Le())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){2&i&&Et("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===r._animationMode)("mat-form-field-appearance-fill","fill"==r.appearance)("mat-form-field-appearance-outline","outline"==r.appearance)("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary","accent"!==r.color&&"warn"!==r.color)("mat-accent","accent"===r.color)("mat-warn","warn"===r.color)("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[be([{provide:_g,useExisting:e},{provide:JS,useExisting:e}]),mr],ngContentSelectors:a4,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(1&i){const o=li();Lo(s4),X(0,d4,1,1,"ng-template",null,0,OD),Q(2,"div",4,1),Te("click",function(a){return lt(o),ct(r._control.onContainerClick(a))}),X(4,u4,1,0,"div",5),Q(5,"div",6),X(6,m4,2,2,"div",7)(7,p4,3,0,"div",8)(8,g4,3,0,"div",9),Q(9,"div",10),X(10,b4,1,1,null,11),Mt(11),ee(),X(12,y4,2,0,"div",12)(13,v4,2,0,"div",13),ee(),X(14,x4,1,0,"div",14),ee(),Q(15,"div",15),X(16,w4,2,1)(17,C4,5,2),ee()}if(2&i){let o;O(2),Et("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),O(2),rt(4,r._hasOutline()||r._control.disabled?-1:4),O(2),rt(6,r._hasOutline()?6:-1),O(),rt(7,r._hasIconPrefix?7:-1),O(),rt(8,r._hasTextPrefix?8:-1),O(2),rt(10,!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),O(2),rt(12,r._hasTextSuffix?12:-1),O(),rt(13,r._hasIconSuffix?13:-1),O(),rt(14,r._hasOutline()?-1:14),O(),Et("mat-mdc-form-field-subscript-dynamic-size","dynamic"===r.subscriptSizing),O(),rt(16,"error"===(o=r._getDisplayedMessages())?16:"hint"===o?17:-1)}},dependencies:[eA,iA,Qm,nA,ZS],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[T4.transitionMessages]},changeDetection:0})}}return e})(),Hd=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[Gt,ld,B5,Gt]})}}return e})();function aA(e){return ht((n,t)=>{let o,i=null,r=!1;i=n.subscribe(at(t,void 0,void 0,s=>{o=Nt(e(s,aA(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}const P4=["*"];let Ud;function qa(e){return function L4(){if(void 0===Ud&&(Ud=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(Ud=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Ud}()?.createHTML(e)||e}function lA(e){return Error(`Unable to find icon with the name "${e}"`)}function cA(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function dA(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Mr{constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let $d=(()=>{class e{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new Mr(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(dt.HTML,r);if(!s)throw dA(r);const a=qa(s);return this._addSvgIconConfig(t,i,new Mr("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new Mr(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(dt.HTML,i);if(!o)throw dA(i);const s=qa(o);return this._addSvgIconSetConfig(t,new Mr("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(dt.RESOURCE_URL,t);if(!i)throw cA(t);const r=this._cachedIconsByUrl.get(i);return r?mi(zd(r)):this._loadSvgIconFromConfig(new Mr(t,null)).pipe(zo(o=>this._cachedIconsByUrl.set(i,o)),Xe(o=>zd(o)))}getNamedSvgIcon(t,i=""){const r=uA(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):function N4(e,n){const t=de(e)?e:()=>e,i=r=>r.error(t());return new Ie(n?r=>n.schedule(i,0,r):i)}(lA(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?mi(zd(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Xe(i=>zd(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?mi(r):hM(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(aA(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(dt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),mi(null)})))).pipe(Xe(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw lA(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(zo(i=>t.svgText=i),Xe(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?mi(null):this._fetchIcon(t).pipe(zo(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(qa("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(qa("<svg></svg>")),r=t.attributes;for(let o=0;o<r.length;o++){const{name:s,value:a}=r[o];"id"!==s&&i.setAttribute(s,a)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(t.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(t,i){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),i&&i.viewBox&&t.setAttribute("viewBox",i.viewBox),t}_fetchIcon(t){const{url:i,options:r}=t,o=r?.withCredentials??!1;if(!this._httpClient)throw function V4(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const s=this._sanitizer.sanitize(dt.RESOURCE_URL,i);if(!s)throw cA(i);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(Xe(c=>qa(c)),gp(()=>this._inProgressUrlFetches.delete(s)),vS());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(uA(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](i,t);if(o)return j4(o)?new Mr(o.url,null,o.options):new Mr(o,null)}}static{this.\u0275fac=function(i){return new(i||e)(v(yp,8),v(fd),v(le,8),v(Qt))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function zd(e){return e.cloneNode(!0)}function uA(e,n){return e+":"+n}function j4(e){return!(!e.url||!e.options)}const H4=new C("MAT_ICON_DEFAULT_OPTIONS"),U4=new C("mat-icon-location",{providedIn:"root",factory:function $4(){const e=T(le),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),fA=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],z4=fA.map(e=>`[${e}]`).join(", "),G4=/^url\(['"]?#(.*?)['"]?\)$/;let W4=(()=>{class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(t,i,r,o,s,a){this._elementRef=t,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=je.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(z4),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)fA.forEach(s=>{const a=i[o],l=a.getAttribute(s),c=l?l.match(G4):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Ga(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static{this.\u0275fac=function(i){return new(i||e)(g(H),g($d),ro("aria-hidden"),g(U4),g(Qt),g(H4,8))}}static{this.\u0275cmp=xi({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(_t("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),function aw(e){En(G1,Yn,e,!0)}(r.color?"mat-"+r.color:""),Et("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[A.HasDecoratorInputTransform,"inline","inline",bt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Qs,mr],ngContentSelectors:P4,decls:1,vars:0,template:function(i,r){1&i&&(Lo(),Mt(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return e})(),q4=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[Gt,Gt]})}}return e})();const hA=ja({passive:!0});let Y4=(()=>{class e{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return yd;const i=Oa(t),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new oe,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,hA),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,hA)}}),o}stopMonitoring(t){const i=Oa(t),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((t,i)=>this.stopMonitoring(i))}static{this.\u0275fac=function(i){return new(i||e)(v(Rn),v(G))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),K4=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({})}}return e})();const Z4=new C("MAT_INPUT_VALUE_ACCESSOR"),Q4=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let X4=0,J4=(()=>{class e{get disabled(){return this._disabled}set disabled(t){this._disabled=un(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(_M.required)??!1}set required(t){this._required=un(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&bS().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=un(t)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,r,o,s,a,l,c,d,u){this._elementRef=t,this._platform=i,this.ngControl=r,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+X4++,this.focused=!1,this.stateChanges=new oe,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(m=>bS().has(m)),this._iOSKeyupListener=m=>{const p=m.target;!p.value&&0===p.selectionStart&&0===p.selectionEnd&&(p.setSelectionRange(1,1),p.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,h=f.nodeName.toLowerCase();this._inputValueAccessor=l||f,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new pg(a,r,s,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){const t=this._getPlaceholder();if(t!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=t,t?i.setAttribute("placeholder",t):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Q4.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}static{this.\u0275fac=function(i){return new(i||e)(g(H),g(Rn),g(Zn,10),g(La,8),g(Va,8),g(VS),g(Z4,10),g(Y4),g(G),g(_g,8))}}static{this.\u0275dir=D({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,r){1&i&&Te("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),2&i&&(ra("id",r.id)("disabled",r.disabled)("required",r.required),_t("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),Et("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[A.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[be([{provide:gg,useExisting:e}]),It]})}}return e})(),eW=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[Gt,Hd,Hd,K4,Gt]})}}return e})();const tW=["addListener","removeListener"],nW=["addEventListener","removeEventListener"],iW=["on","off"];function bg(e,n,t,i){if(de(t)&&(i=t,t=void 0),i)return bg(e,n,t).pipe(Tp(i));const[r,o]=function sW(e){return de(e.addEventListener)&&de(e.removeEventListener)}(e)?nW.map(s=>a=>e[s](n,a,t)):function rW(e){return de(e.addListener)&&de(e.removeListener)}(e)?tW.map(mA(e,n)):function oW(e){return de(e.on)&&de(e.off)}(e)?iW.map(mA(e,n)):[];if(!r&&pp(e))return Ma(s=>bg(s,n,t))(Nt(e));if(!r)throw new TypeError("Invalid event target");return new Ie(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function mA(e,n){return t=>i=>e[t](n,i)}const Ya={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Ya;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new je(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=Ya;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Ya;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class lW extends cg{flush(n){let t;this._active=!0,n?t=n.id:(t=this._scheduled,this._scheduled=void 0);const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class aW extends lg{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ya.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&t===n._scheduled&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Ya.cancelAnimationFrame(t),n._scheduled=void 0)}});let yg,dW=1;const Gd={};function pA(e){return e in Gd&&(delete Gd[e],!0)}const uW={setImmediate(e){const n=dW++;return Gd[n]=!0,yg||(yg=Promise.resolve()),yg.then(()=>pA(n)&&e()),n},clearImmediate(e){pA(e)}},{setImmediate:fW,clearImmediate:hW}=uW,Wd={setImmediate(...e){const{delegate:n}=Wd;return(n?.setImmediate||fW)(...e)},clearImmediate(e){const{delegate:n}=Wd;return(n?.clearImmediate||hW)(e)},delegate:void 0};new class pW extends cg{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class mW extends lg{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Wd.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Wd.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function gA(e,n=dg){return function _W(e){return ht((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(at(t,c=>{i=!0,r=c,o||Nt(e(c)).subscribe(o=at(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>function yW(e=0,n,t=t8){let i=-1;return null!=n&&(jE(n)?t=n:i=n),new Ie(r=>{let o=function bW(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n))}let xW=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new oe,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ie(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(gA(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):mi()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(Tn(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=Oa(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>bg(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||e)(v(G),v(Rn),v(le,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),vg=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new oe,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(gA(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||e)(v(Rn),v(G),v(le,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),xg=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({})}}return e})(),_A=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[Yo,xg,Yo,xg]})}}return e})();class wg{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class CW extends wg{constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class bA extends wg{constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class EW extends wg{constructor(n){super(),this.element=n instanceof H?n.nativeElement:n}}class MW{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof CW?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof bA?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof EW?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class SW extends MW{constructor(n,t,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||pt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let AW=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({})}}return e})();const yA=M5();class IW{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Qe(-this._previousScrollPosition.left),n.style.top=Qe(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),yA&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),yA&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class TW{constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(Tn(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=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class vA{enable(){}disable(){}attach(){}}function Dg(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function xA(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class FW{constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Dg(t,[{width:i,height:r,bottom:r,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}}let OW=(()=>{class e{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new vA,this.close=s=>new TW(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new IW(this._viewportRuler,this._document),this.reposition=s=>new FW(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static{this.\u0275fac=function(i){return new(i||e)(v(xW),v(vg),v(G),v(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class wA{constructor(n){if(this.scrollStrategy=new vA,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class RW{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let DA=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(i){return new(i||e)(v(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),kW=(()=>{class e extends DA{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(i){return new(i||e)(v(le),v(G,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),NW=(()=>{class e extends DA{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Pd(o)},this._clickListener=o=>{const s=Pd(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(i){return new(i||e)(v(le),v(Rn),v(G,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),CA=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||Xp()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(t),Xp()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static{this.\u0275fac=function(i){return new(i||e)(v(le),v(Rn))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class PW{constructor(n,t,i,r,o,s,a,l,c,d=!1){this._portalOutlet=n,this._host=t,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new oe,this._attachments=new oe,this._detachments=new oe,this._locationChanges=je.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new oe,this._outsidePointerEvents=new oe,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ga(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&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();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Qe(this._config.width),n.height=Qe(this._config.height),n.minWidth=Qe(this._config.minWidth),n.minHeight=Qe(this._config.minHeight),n.maxWidth=Qe(this._config.maxWidth),n.maxHeight=Qe(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const r=wd(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(ut(Vi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const EA="cdk-overlay-connected-position-bounding-box",LW=/([A-Za-z%]+)$/;class VW{get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new oe,this._resizeSubscription=je.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(EA),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(o.length){let a=null,l=-1;for(const c of o){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Sr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(EA),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=SA(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,m=this._subtractOverflows(o.width,0-s,s+o.width-i.width),p=this._subtractOverflows(o.height,f,h),_=m*p;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:p===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=MA(this._overlayRef.getConfig().minHeight),a=MA(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=SA(t),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:n.x<this._viewportMargin?o.left-i.left-n.x:0,u=r.height<=o.height?l||-a:n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function BW(e,n){return e===n||e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new RW(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,r=this._isRtl();let o,s,a,d,u,f;if("top"===t.overlayY)s=n.y,o=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-n.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-n.y+i.top,n.y),m=this._lastBoundingBoxSize.height;o=2*h,s=n.y-h,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)f=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)u=n.x,d=i.right-n.x;else{const h=Math.min(i.right-n.x+i.left,n.x),m=this._lastBoundingBoxSize.width;d=2*h,u=n.x-h,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-m/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Qe(i.height),r.top=Qe(i.top),r.bottom=Qe(i.bottom),r.width=Qe(i.width),r.left=Qe(i.left),r.right=Qe(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Qe(o)),s&&(r.maxWidth=Qe(s))}this._lastBoundingBoxSize=i,Sr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Sr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Sr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Sr(i,this._getExactOverlayY(t,n,d)),Sr(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Qe(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Qe(s.maxWidth):o&&(i.maxWidth="")),Sr(this._pane.style,i)}_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Qe(o.y),r}_getExactOverlayX(n,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Qe(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xA(n,i),isOriginOutsideView:Dg(n,i),isOverlayClipped:xA(t,i),isOverlayOutsideView:Dg(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&wd(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof H)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function Sr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function MA(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(LW);return t&&"px"!==t?null:parseFloat(n)}return e||null}function SA(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const AA="cdk-global-overlay-wrapper";class jW{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(AA),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",m="",p="";l?p="flex-start":"center"===d?(p="center",f?m=u:h=u):f?"left"===d||"end"===d?(p="flex-end",h=u):("right"===d||"start"===d)&&(p="flex-start",m=u):"left"===d||"start"===d?(p="flex-start",h=u):("right"===d||"end"===d)&&(p="flex-end",m=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":m,t.justifyContent=p,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(AA),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let HW=(()=>{class e{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new jW}flexibleConnectedTo(t){return new VW(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||e)(v(vg),v(le),v(Rn),v(CA))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),UW=0,Xo=(()=>{class e{constructor(t,i,r,o,s,a,l,c,d,u,f,h){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new wA(t);return s.direction=s.direction||this._directionality.value,new PW(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+UW++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(ci)),new SW(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||e)(v(OW),v(CA),v(rr),v(HW),v(kW),v(pt),v(G),v(le),v(qo),v(KC),v(NW),v(ao,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const $W=[{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"}],IA=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=T(Xo);return()=>e.scrollStrategies.reposition()}});let qd=(()=>{class e{constructor(t){this.elementRef=t}static{this.\u0275fac=function(i){return new(i||e)(g(H))}}static{this.\u0275dir=D({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return e})(),TA=(()=>{class e{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)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,i,r,o,s){this._overlay=t,this._dir=s,this._backdropSubscription=je.EMPTY,this._attachSubscription=je.EMPTY,this._detachSubscription=je.EMPTY,this._positionSubscription=je.EMPTY,this._disposeOnNavigation=!1,this._ngZone=T(G),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new _e,this.positionChange=new _e,this.attach=new _e,this.detach=new _e,this.overlayKeydown=new _e,this.overlayOutsideClick=new _e,this._templatePortal=new bA(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}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&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,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=$W);const t=this._overlayRef=this._overlay.create(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),27===i.keyCode&&!this.disableClose&&!$a(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{const r=this._getOriginElement(),o=Pd(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new wA({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.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)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof qd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof qd?this.origin.elementRef.nativeElement:this.origin instanceof H?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function DW(e,n=!1){return ht((t,i)=>{let r=0;t.subscribe(at(i,o=>{const s=e(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)(g(Xo),g(zn),g(Dn),g(IA),g(qo,8))}}static{this.\u0275dir=D({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[A.None,"cdkConnectedOverlayOrigin","origin"],positions:[A.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[A.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[A.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[A.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[A.None,"cdkConnectedOverlayWidth","width"],height:[A.None,"cdkConnectedOverlayHeight","height"],minWidth:[A.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[A.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[A.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[A.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[A.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[A.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[A.None,"cdkConnectedOverlayOpen","open"],disableClose:[A.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[A.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[A.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",bt],lockPosition:[A.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",bt],flexibleDimensions:[A.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",bt],growAfterOpen:[A.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",bt],push:[A.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",bt],disposeOnNavigation:[A.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",bt]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Qs,It]})}}return e})();const GW={provide:IA,deps:[Xo],useFactory:function zW(e){return()=>e.scrollStrategies.reposition()}};let WW=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({providers:[Xo,GW],imports:[Yo,AW,_A,_A]})}}return e})();class KW{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,t,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new oe,t&&t.length&&(n?t.forEach(o=>this._markSelected(o)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...n){this._verifyValueAssignment(n);const t=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),t.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const t=this._hasQueuedChanges();return n&&this._emitChangeEvent(),t}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_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(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n,t){if(this.compareWith){t=t??this._selection;for(let i of t)if(this.compareWith(n,i))return i;return n}return n}}function XW(e,n){return e===n}const JW=["trigger"],eq=["panel"],tq=[[["mat-select-trigger"]],"*"],nq=["mat-select-trigger","*"];function iq(e,n){if(1&e&&(Q(0,"span",4),Sn(1),ee()),2&e){const t=P();O(),fa(t.placeholder)}}function rq(e,n){1&e&&Mt(0)}function oq(e,n){if(1&e&&(Q(0,"span",11),Sn(1),ee()),2&e){const t=P(2);O(),fa(t.triggerValue)}}function sq(e,n){if(1&e&&(Q(0,"span",10),X(1,rq,1,0)(2,oq,2,1),ee()),2&e){const t=P();O(),rt(1,t.customTrigger?1:2)}}function aq(e,n){if(1&e){const t=li();Q(0,"div",12,1),Te("@transformPanel.done",function(r){return lt(t),ct(P()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return lt(t),ct(P()._handleKeydown(r))}),Mt(2,1),ee()}if(2&e){const t=P();(function mw(e,n,t){En(Yt,Yn,Eo(x(),e,n,t),!0)})("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme(),""),L("ngClass",t.panelClass)("@transformPanel","showing"),_t("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const lq={transformPanelWrap:tg("transformPanelWrap",[Ld("* => void",R5("@transformPanel",[O5()],{optional:!0}))]),transformPanel:tg("transformPanel",[xS("void",Dr({opacity:0,transform:"scale(1, 0.8)"})),Ld("void => showing",ng("120ms cubic-bezier(0, 0, 0.2, 1)",Dr({opacity:1,transform:"scale(1, 1)"}))),Ld("* => void",ng("100ms linear",Dr({opacity:0})))])};let FA=0;const OA=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const e=T(Xo);return()=>e.scrollStrategies.reposition()}}),dq=new C("MAT_SELECT_CONFIG"),uq={provide:OA,deps:[Xo],useFactory:function cq(e){return()=>e.scrollStrategies.reposition()}},fq=new C("MatSelectTrigger");class hq{constructor(n,t){this.source=n,this.value=t}}let mq=(()=>{class e{_scrollOptionIntoView(t){const i=this.options.toArray()[t];if(i){const r=this.panel.nativeElement,o=function X8(e,n,t){if(t.length){let i=n.toArray(),r=t.toArray(),o=0;for(let s=0;s<e+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}(t,this.options,this.optionGroups),s=i._getHostElement();r.scrollTop=0===t&&1===o?0:function J8(e,n,t,i){return e<t?e:e+n>t+i?Math.max(0,e-i+n):t}(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new hq(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(_M.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,r,o,s,a,l,c,d,u,f,h,m,p){this._viewportRuler=t,this._changeDetectorRef=i,this._elementRef=s,this._dir=a,this._parentFormField=d,this.ngControl=u,this._liveAnnouncer=m,this._defaultOptions=p,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(_,b)=>_===b,this._uid="mat-select-"+FA++,this._triggerAriaLabelledBy=null,this._destroy=new oe,this.stateChanges=new oe,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+FA++,this._panelDoneAnimatingStream=new oe,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new oe,this.optionSelectionChanges=function ZW(e){return new Ie(n=>{Nt(e()).subscribe(n)})}(()=>{const _=this.options;return _?_.changes.pipe(hg(_),hd(()=>Vi(..._.map(b=>b.onSelectionChange)))):this._initialized.pipe(hd(()=>this.optionSelectionChanges))}),this.openedChange=new _e,this._openedStream=this.openedChange.pipe(Tn(_=>_),Xe(()=>{})),this._closedStream=this.openedChange.pipe(Tn(_=>!_),Xe(()=>{})),this.selectionChange=new _e,this.valueChange=new _e,this._trackedModal=null,this._skipPredicate=_=>!this.panelOpen&&_.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=p?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._errorStateTracker=new pg(o,u,c,l,this.stateChanges),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}ngOnInit(){this._selectionModel=new KW(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(function QW(e,n=Nr){return e=e??XW,ht((t,i)=>{let r,o=!0;t.subscribe(at(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}(),ut(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(ut(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(ut(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(hg(null),ut(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby(),i=this.ngControl;if(t!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?r.setAttribute("aria-labelledby",t):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;const i=`${this.id}-panel`;this._trackedModal&&TS(this._trackedModal,"aria-owns",i),function d8(e,n,t){const i=FS(e,n);t=t.trim(),!i.some(r=>r.trim()===t)&&(i.push(t),e.setAttribute(n,i.join(" ")))}(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){this._trackedModal&&(TS(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const i=t.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!$a(t)||(this.multiple||t.altKey)&&r)t.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(t);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){const i=this._keyManager,r=t.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&t.altKey)t.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||$a(t))if(!s&&this._multiple&&65===r&&t.ctrlKey){t.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(t),this._multiple&&o&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ga(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(t){return!!(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t,!0)}_getOverlayWidth(t){return"auto"===this.panelWidth?(t instanceof qd?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new h8(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Vi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ut(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Vi(...this.options.map(i=>i._stateChanges)).pipe(ut(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,i){const r=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(r!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),r!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,t):t.indexOf(i)-t.indexOf(r)),this.stateChanges.next()}}_propagateChanges(t){let i;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){t=i;break}this._keyManager.setActiveItem(t)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();let i=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(i){return new(i||e)(g(vg),g(Ti),g(G),g(VS),g(H),g(qo,8),g(La,8),g(Va,8),g(_g,8),g(Zn,10),ro("tabindex"),g(OA),g(M8),g(dq,8))}}static{this.\u0275cmp=xi({type:e,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(1&i&&(Mn(o,fq,5),Mn(o,qS,5),Mn(o,WS,5)),2&i){let s;Pe(s=Le())&&(r.customTrigger=s.first),Pe(s=Le())&&(r.options=s),Pe(s=Le())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(1&i&&(tn(JW,5),tn(eq,5),tn(TA,5)),2&i){let o;Pe(o=Le())&&(r.trigger=o.first),Pe(o=Le())&&(r.panel=o.first),Pe(o=Le())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){1&i&&Te("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),2&i&&(_t("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),Et("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[A.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[A.HasDecoratorInputTransform,"disabled","disabled",bt],disableRipple:[A.HasDecoratorInputTransform,"disableRipple","disableRipple",bt],tabIndex:[A.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?0:UC(t)],hideSingleSelectionIndicator:[A.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",bt],placeholder:"placeholder",required:[A.HasDecoratorInputTransform,"required","required",bt],multiple:[A.HasDecoratorInputTransform,"multiple","multiple",bt],disableOptionCentering:[A.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",bt],compareWith:"compareWith",value:"value",ariaLabel:[A.None,"aria-label","ariaLabel"],ariaLabelledby:[A.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[A.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",UC],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[be([{provide:gg,useExisting:e},{provide:GS,useExisting:e}]),Qs,It,mr],ngContentSelectors:nq,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(1&i){const o=li();Lo(tq),Q(0,"div",2,0),Te("click",function(){return lt(o),ct(r.open())}),Q(3,"div",3),X(4,iq,2,1,"span",4)(5,sq,3,1),ee(),Q(6,"div",5)(7,"div",6),function Cb(){z.lFrame.currentNamespace="svg"}(),Q(8,"svg",7),ot(9,"path",8),ee()()()(),X(10,aq,3,9,"ng-template",9),Te("backdropClick",function(){return lt(o),ct(r.close())})("attach",function(){return lt(o),ct(r._onAttached())})("detach",function(){return lt(o),ct(r.close())})}if(2&i){const o=ua(1);O(3),_t("id",r._valueId),O(),rt(4,r.empty?4:5),O(6),L("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[qd,TA,ad],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[lq.transformPanel]},changeDetection:0})}}return e})(),pq=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({providers:[uq],imports:[ld,WW,YS,Gt,xg,Hd,YS,Gt]})}}return e})(),_q=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[Gt,zS,Gt]})}}return e})();const Yd={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)},scheduleBeforeRender(e){if(typeof window>"u")return Yd.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Yd.schedule(e,16);const n=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(n)}};let Cg;function Mq(e,n,t){let i=t;return function yq(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((r,o)=>!("*"===r||!function xq(e,n){if(!Cg){const t=Element.prototype;Cg=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Cg.call(e,n)}(e,r)||(i=o,0))),i}class Aq{constructor(n,t){this.componentFactory=t.get(rr).resolveComponentFactory(n)}create(n){return new Iq(this.componentFactory,n)}}class Iq{constructor(n,t){this.componentFactory=n,this.injector=t,this.eventEmitters=new yS(1),this.events=this.eventEmitters.pipe(hd(i=>Vi(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(G),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Yd.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t,i){this.runInZone(()=>{i&&(t=i.call(this.componentRef?.instance,t)),null!==this.componentRef?function wq(e,n){return e===n||e!=e&&n!=n}(t,this.getInputValue(n))&&(void 0!==t||!this.unchangedInputs.has(n))||(this.recordInputChange(n,t),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=t,this.scheduleDetectChanges()):this.initialInputValues.set(n,t)})}initializeComponent(n){const t=pt.create({providers:[],parent:this.injector}),i=function Eq(e,n){const t=e.childNodes,i=n.map(()=>[]);let r=-1;n.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=t.length;o<s;++o){const a=t[o],l=Mq(a,n,r);-1!==l&&i[l].push(a)}return i}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(Ti),this.implementsOnChanges=function vq(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(ci).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:t})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),t)}),this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:i,templateName:r})=>n.instance[i].pipe(Xe(s=>({name:r,value:s}))));this.eventEmitters.next(t)}callNgOnChanges(n){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(t)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Yd.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[n];if(i)return void(i.currentValue=t);const r=this.unchangedInputs.has(n),o=r?void 0:this.getInputValue(n);this.inputChanges[n]=new ib(o,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class Tq extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}const Rq=new C("Search_Service_Token"),Pq=[];let jq=(()=>{class e{adapt(t){const i=t.recentSearchApiRequestWithPromise;return{searchApiRequest:(r,o)=>hi(t.searchApiRequestWithPromise(r,o)),...i&&{recentSearchApiRequest:()=>hi(i())}}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Hq=["searchInput"],Kd=e=>({$implicit:e});function Uq(e,n){if(1&e){const t=li();Q(0,"mat-icon",14),Te("click",function(){return lt(t),ct(P(3).resetInput())}),ee()}2&e&&L("className",P(3).config.crossIconClass)}function $q(e,n){if(1&e&&(Q(0,"mat-option",15),Sn(1),ee()),2&e){const t=n.$implicit;L("value",t.name),O(),hr(" ",t.displayName," ")}}function zq(e,n){if(1&e){const t=li();Q(0,"div",5)(1,"mat-form-field",6)(2,"input",7,0),Te("focus",function(){return lt(t),ct(P(2).showSuggestions())})("blur",function(){return lt(t),ct(P(2).hideSuggestions())}),hm("ngModelChange",function(r){lt(t);const o=P(2);return function CD(e,n){const t=rx(e);return t&&e.set(n),t}(o.searchBoxInput,r)||(o.searchBoxInput=r),ct(r)}),Te("keyup",function(r){return lt(t),ct(P(2).hitSearchApi(r))})("ngModelChange",function(){lt(t);const r=P(2);return ct(r.onChange(r.searchBoxInput))}),ee(),ot(4,"mat-icon",8),X(5,Uq,1,1,"mat-icon",9),ee(),Q(6,"mat-form-field",10),ot(7,"mat-icon",11),Q(8,"mat-select",12),Te("selectionChange",function(r){return lt(t),ct(P(2).setCategory(r.value))}),X(9,$q,2,2,"mat-option",13),ee()()()}if(2&e){const t=ua(3),i=P(2);O(2),L("placeholder",i.config.placeholderFunction?i.config.placeholderFunction(t.value,i.category):i.config.placeholder||"Search"),fm("ngModel",i.searchBoxInput),L("disabled",i.disabled),O(2),L("className",i.config.searchIconClass),O(),L("ngIf",i.searchBoxInput),O(2),L("className",i.config.dropDownButtonIconClass),O(),L("value",i.category),O(),L("ngForOf",i.config.models)}}function Gq(e,n){if(1&e&&(Ut(0),X(1,zq,10,8,"div",4),$t()),2&e){const t=P();O(),L("ngIf",t.config)}}function Wq(e,n){1&e&&(Ut(0),Sn(1," searching... "),$t())}function qq(e,n){if(1&e&&(Ut(0),Sn(1),$t()),2&e){const t=P(4);O(),hr(" ",t.config.noResultMessage," ")}}function Yq(e,n){if(1&e&&(Q(0,"span",18),X(1,Wq,2,0,"ng-container",1)(2,qq,2,1,"ng-container",1),ee()),2&e){const t=P(3);O(),L("ngIf",t.searching),O(),L("ngIf",!t.searching)}}function Kq(e,n){if(1&e&&ot(0,"img",24),2&e){const t=P().$implicit;L("src",t.model.imageUrl,Ql)("alt",t.model.displayName)}}function Zq(e,n){1&e&&ko(0)}function Qq(e,n){if(1&e&&(Ut(0),X(1,Zq,1,0,"ng-container",27),$t()),2&e){const t=P().$implicit,i=P(5);O(),L("ngTemplateOutlet",i.subtitleTemplate)("ngTemplateOutletContext",ha(2,Kd,t))}}function Xq(e,n){if(1&e&&ot(0,"p",28),2&e){const t=P().$implicit,i=P(5);L("innerHTML",i.boldString(t[i.config.displayPropertyName],i.searchBoxInput),Wf)}}function Jq(e,n){1&e&&ko(0)}function e6(e,n){if(1&e&&(Ut(0),X(1,Jq,1,0,"ng-container",27),$t()),2&e){const t=P().$implicit,i=P(5);O(),L("ngTemplateOutlet",i.titleTemplate)("ngTemplateOutletContext",ha(2,Kd,t))}}function t6(e,n){if(1&e){const t=li();Q(0,"li",25),Te("mousedown",function(r){const o=lt(t).$implicit;return ct(P(5).populateValue(o,r))}),X(1,Qq,2,4,"ng-container",1)(2,Xq,1,1,"p",26)(3,e6,2,4,"ng-container",1),ee()}if(2&e){const t=P(5);O(),L("ngIf",t.subtitleTemplate),O(),L("ngIf",!t.titleTemplate),O(),L("ngIf",t.titleTemplate)}}function n6(e,n){if(1&e&&(Q(0,"div",20)(1,"h3",21),X(2,Kq,1,2,"img",22),Sn(3),ee(),Q(4,"ul"),X(5,t6,4,3,"li",23),ee()()),2&e){const t=n.$implicit;O(2),L("ngIf",t.model.imageUrl),O(),um(" ",t.model.displayName," (",t.items.length,") "),O(2),L("ngForOf",t.items)}}function i6(e,n){if(1&e&&(Ut(0),X(1,n6,6,4,"div",19),$t()),2&e){const t=P(3);O(),L("ngForOf",t.getModelsWithSuggestions())}}function r6(e,n){if(1&e&&ot(0,"img",32),2&e){const t=P().$implicit;L("src",P(4).fetchModelImageUrlFromSuggestion(t),Ql)}}function o6(e,n){1&e&&ko(0)}function s6(e,n){if(1&e&&(Ut(0),X(1,o6,1,0,"ng-container",27),$t()),2&e){const t=P().$implicit,i=P(4);O(),L("ngTemplateOutlet",i.subtitleTemplate)("ngTemplateOutletContext",ha(2,Kd,t))}}function a6(e,n){if(1&e&&ot(0,"p",28),2&e){const t=P().$implicit,i=P(4);L("innerHTML",i.boldString(t[i.config.displayPropertyName],i.searchBoxInput),Wf)}}function l6(e,n){1&e&&ko(0)}function c6(e,n){if(1&e&&(Ut(0),X(1,l6,1,0,"ng-container",27),$t()),2&e){const t=P().$implicit,i=P(4);O(),L("ngTemplateOutlet",i.titleTemplate)("ngTemplateOutletContext",ha(2,Kd,t))}}function d6(e,n){if(1&e){const t=li();Q(0,"li",30),Te("mousedown",function(r){const o=lt(t).$implicit;return ct(P(4).populateValue(o,r))}),X(1,r6,1,1,"img",31)(2,s6,2,4,"ng-container",1)(3,a6,1,1,"p",26)(4,c6,2,4,"ng-container",1),ee()}if(2&e){const t=n.$implicit,i=P(4);O(),L("ngIf",!i.titleTemplate&&i.fetchModelImageUrlFromSuggestion(t)),O(),L("ngIf",i.subtitleTemplate),O(),L("ngIf",!i.titleTemplate),O(),L("ngIf",i.titleTemplate)}}function u6(e,n){if(1&e&&(Ut(0),Q(1,"div",20)(2,"ul"),X(3,d6,5,4,"li",29),ee()(),$t()),2&e){const t=P(3);O(3),L("ngForOf",t.suggestions)}}function f6(e,n){if(1&e&&(Ut(0),X(1,Yq,3,2,"span",17)(2,i6,2,1,"ng-container",1)(3,u6,4,1,"ng-container",1),$t()),2&e){const t=P(2);O(),L("ngIf",0===t.suggestions.length),O(),L("ngIf",t.config.categorizeResults&&t.suggestions.length),O(),L("ngIf",!t.config.categorizeResults)}}function h6(e,n){if(1&e){const t=li();Q(0,"li",25),Te("mousedown",function(r){const o=lt(t).$implicit;return ct(P(3).populateValueRecentSearch(o,r))}),ot(1,"mat-icon",8),Q(2,"span"),Sn(3),ee()()}if(2&e){const t=n.$implicit,i=P(3);O(),L("className",i.config.recentSearchIconClass),O(2),hr("\xa0",t.match,"")}}function m6(e,n){if(1&e&&(Ut(0),Q(1,"div",33)(2,"h3",21),Sn(3,"Recent Searches"),ee(),Q(4,"ul"),X(5,h6,4,2,"li",23),ee()(),$t()),2&e){const t=P(2);O(5),L("ngForOf",t.recentSearches)}}function p6(e,n){if(1&e&&(Q(0,"div",16),X(1,f6,4,3,"ng-container",1)(2,m6,6,1,"ng-container",1),ee()),2&e){const t=P();O(),L("ngIf",t.searchBoxInput),O(),L("ngIf",!t.config.hideRecentSearch&&t.recentSearches.length>0)}}const Ar="All";let g6=(()=>{class e{get config(){return this._config}set config(t){this._config=t,t&&t.models?t.models.unshift({name:Ar,displayName:this.customAllLabel??Ar}):t&&!t.models&&(t.models=[{name:Ar,displayName:this.customAllLabel??Ar}])}set searchProvider(t){(function Oq(e){return!!e.searchApiRequestWithPromise})(t)&&(t=this.promiseAdapter.adapt(t)),this.searchService=t}get searchProvider(){return this.searchService}constructor(t,i,r,o){this.searchService=t,this.platformId=i,this.cdr=r,this.promiseAdapter=o,this.searchBoxInput="",this.suggestionsDisplay=!1,this.categoryDisplay=!1,this.searching=!1,this.suggestions=[],this.recentSearches=[],this.category=Ar,this.searchRequest$=new oe,this.customAllLabel=Ar,this.showOnlySearchResultOverlay=!1,this.customSearchEvent={searchValue:"",modelName:this.customAllLabel},this.clicked=new _e,this.searched=new _e,this.onChange=()=>{},this.onTouched=()=>{},this.disabled=!1}ngOnInit(){this.searchRequest$.pipe(zo(t=>this.suggestions=[]),ug(1e3)).subscribe(t=>{this.searched.emit({event:t.event,keyword:t.input,category:this.category}),this.getSuggestions(t),this.cdr.markForCheck()})}writeValue(t){this.searchBoxInput=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}getSuggestions(t){if(t.input=t.input.trim(),!t.input.length)return;let r="";(this.config.order??Pq).forEach(a=>r=`${r}${a} `);let o=this.config.saveInRecents??!0;this.config.saveInRecents&&this.config.saveInRecentsOnlyOnEnter&&(o=!t.event||t.event instanceof KeyboardEvent&&"Enter"===t.event.key);const s={match:t.input,sources:this._categoryToSourceName(this.category),limit:this.config.limit??20,limitByType:this.config.limitByType??!1,order:r,offset:this.config.offset??0};this.searching=!0,this.cdr.markForCheck(),this.searchService.searchApiRequest(s,o).subscribe(a=>{this.suggestions=a,this.searching=!1,this.cdr.markForCheck()},a=>{this.suggestions=[],this.searching=!1,this.cdr.markForCheck()})}getRecentSearches(){!this.config.hideRecentSearch&&this.searchService.recentSearchApiRequest&&this.searchService.recentSearchApiRequest().subscribe(t=>{this.recentSearches=t,this.cdr.markForCheck()},t=>{this.recentSearches=[],this.cdr.markForCheck()})}hitSearchApi(t){if(!this.searchBoxInput)return this.suggestions=[],void this.getRecentSearches();this.config.searchOnlyOnEnter?(!t||t instanceof KeyboardEvent&&"Enter"===t.key)&&this.getSuggestions({input:this.searchBoxInput,event:t}):t?this.searchRequest$.next({input:this.searchBoxInput,event:t}):this.getSuggestions({input:this.searchBoxInput,event:t})}populateValue(t,i){this.searchBoxInput=t[this.config.displayPropertyName],this.suggestionsDisplay=!1,this.onChange(this.searchBoxInput),this.getSuggestions({input:this.searchBoxInput,event:i}),this.clicked.emit({item:t,event:i})}populateValueRecentSearch(t,i){i.stopPropagation(),i.preventDefault(),this.searchBoxInput=t.match,this.suggestionsDisplay=!1,this.onChange(this.searchBoxInput),this.getSuggestions({input:this.searchBoxInput,event:i}),this.focusInput(),this.showSuggestions()}fetchModelImageUrlFromSuggestion(t){const i=t.source;let r;return this.config.models.forEach(o=>{o.name===i&&o.imageUrl&&(r=o.imageUrl)}),r}boldString(t,i){const r=new RegExp(`(${i})`,"gi");return t.replace(r,"<b>$1</b>")}hideSuggestions(){this.suggestionsDisplay=!1,this.onTouched()}showSuggestions(){this.suggestionsDisplay=!0,this.getRecentSearches()}focusInput(){Oi(this.platformId)&&!this.showOnlySearchResultOverlay&&this.searchInputElement.nativeElement.focus()}setCategory(t){this.category=t,this.categoryDisplay=!1,this.searchBoxInput&&(this.hitSearchApi(),this.focusInput(),this.showSuggestions())}showCategory(){this.categoryDisplay=!this.categoryDisplay}hideCategory(){this.categoryDisplay=!1}resetInput(){this.searchBoxInput="",this.suggestions=[],this.suggestionsDisplay=!0,this.focusInput(),this.onChange(this.searchBoxInput),this.getRecentSearches()}ngOnDestroy(){this.searchRequest$.unsubscribe()}_categoryToSourceName(t){return[Ar,this.customAllLabel].includes(t)?[]:[t]}getModelFromModelName(t){return this.config.models.find(i=>i.name===t)}getModelsWithSuggestions(){const t=[],i=[];return this.suggestions.forEach(r=>{if(i.indexOf(r.source)>=0)t.every(o=>o.model.name!==r.source||(o.items.push(r),!1));else{const o=this.getModelFromModelName(r.source);t.push({model:o,items:[r]}),i.push(r.source)}}),t}ngOnChanges(t){t.customSearchEvent&&(this._isCustomSearchEventChange(t,"searchValue")&&(this.searchBoxInput=this.customSearchEvent?.searchValue??"",this.searchOnCustomEventValueChange(this.searchBoxInput)),this._isCustomSearchEventChange(t,"modelName")&&this.customSearchEvent?.modelName&&this.setCategory(this.customSearchEvent?.modelName))}searchOnCustomEventValueChange(t){t?.length?(this.showSuggestions(),this.hitSearchApi()):this.hideSuggestions()}_isCustomSearchEventChange(t,i){return!t.customSearchEvent?.previousValue||t.customSearchEvent?.previousValue[i]!==t.customSearchEvent?.currentValue[i]}static{this.\u0275fac=function(i){return new(i||e)(g(Rq,8),g(gt),g(Ti),g(jq))}}static{this.\u0275cmp=xi({type:e,selectors:[["sourceloop-search"]],viewQuery:function(i,r){if(1&i&&tn(Hq,5),2&i){let o;Pe(o=Le())&&(r.searchInputElement=o.first)}},inputs:{config:"config",searchProvider:"searchProvider",titleTemplate:"titleTemplate",subtitleTemplate:"subtitleTemplate",customAllLabel:"customAllLabel",showOnlySearchResultOverlay:"showOnlySearchResultOverlay",customSearchEvent:"customSearchEvent"},outputs:{clicked:"clicked",searched:"searched"},features:[be([{provide:On,useExisting:e,multi:!0}]),It],decls:3,vars:2,consts:[["searchInput",""],[4,"ngIf"],[1,"search-container"],["class","search-popup",4,"ngIf"],["fxLayout","","fxLayoutAlign","start center","class","toolbar-search",4,"ngIf"],["fxLayout","","fxLayoutAlign","start center",1,"toolbar-search"],["appearance","outline",1,"toolbar-search-input"],["matInput","","autocomplete","off","type","text","name","searchInput","placeholder","Search",3,"focus","blur","ngModelChange","keyup","placeholder","ngModel","disabled"],["matPrefix","",3,"className"],["matSuffix","",3,"className","click",4,"ngIf"],["appearance","outline",1,"toolbar-search-select"],["matSuffix","",3,"className"],["panelClass","search-select",3,"selectionChange","value"],[3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"click","className"],[3,"value"],[1,"search-popup"],["class","search-message",4,"ngIf"],[1,"search-message"],["class","search-result",4,"ngFor","ngForOf"],[1,"search-result"],[1,"suggestions-heading"],[3,"src","alt",4,"ngIf"],["class","suggestions",3,"mousedown",4,"ngFor","ngForOf"],[3,"src","alt"],[1,"suggestions",3,"mousedown"],["style","display: inline",3,"innerHTML",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[2,"display","inline",3,"innerHTML"],[3,"mousedown",4,"ngFor","ngForOf"],[3,"mousedown"],["class","suggestions-categorize-false","style","margin-right: 5px","alt","Img",3,"src",4,"ngIf"],["alt","Img",1,"suggestions-categorize-false",2,"margin-right","5px",3,"src"],[1,"recent-searches"]],template:function(i,r){1&i&&(X(0,Gq,2,1,"ng-container",1),Q(1,"div",2),X(2,p6,3,2,"div",3),ee()),2&i&&(L("ngIf",!r.showOnlySearchResultOverlay),O(2),L("ngIf",r.suggestionsDisplay&&(r.recentSearches.length||r.suggestions.length)))},dependencies:[lE,dE,Qm,Cd,jM,zp,k4,S4,A4,mq,qS,W4,J4,Q0,tM],styles:["[_nghost-%COMP%] .mat-form-field-wrapper{padding:0}[_nghost-%COMP%] .mat-form-field-wrapper .mat-form-field-prefix{margin-right:12px}.toolbar-search-input[_ngcontent-%COMP%]{width:86%}.toolbar-search-input[_ngcontent-%COMP%] input{margin:0}.toolbar-search-input[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-start{border-color:transparent}.toolbar-search-input[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-end{border:none;border-radius:0}.icomoon.Search[_ngcontent-%COMP%], .icomoon.close[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;color:#33333380;padding-bottom:4px}.icomoon.close[_ngcontent-%COMP%]{cursor:pointer}.toolbar-search-select[_ngcontent-%COMP%]{width:14%}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-arrow{opacity:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-arrow-wrapper{display:inline-block;width:1px}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-value-text{font-size:9px}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-suffix .mat-icon{width:12px;font-size:14px}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-start{border-color:transparent;border-radius:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-end{border:none}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-infix{-webkit-padding-before:.7em}.toolbar-search[_ngcontent-%COMP%]{width:515px;background-color:#f7f7f7;border-radius:0 0 4px 4px}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-flex{height:39px;align-items:center}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-infix{height:auto}.search-container[_ngcontent-%COMP%]{position:relative;width:515px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%]{padding:0 15px 15px;margin:0;max-height:80vh;overflow-x:hidden;overflow-y:auto;position:absolute;top:100%;left:0;right:0;z-index:9999;background-color:#fff;box-shadow:0 5px 4px #0003;border-radius:0 0 4px 4px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:0;border-top:1px solid #ebebeb;margin:0;position:sticky;top:0;padding:0 0 15px;z-index:1}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-message[_ngcontent-%COMP%]{display:inline-block;width:100%;text-align:center;font-size:16px;padding-top:12px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-item-info[_ngcontent-%COMP%]{color:#91263b;text-align:center;font-size:12px;margin-bottom:15px;padding-top:12px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;font-size:1rem;font-weight:400;line-height:1.5;color:#333}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{font-size:15px;line-height:36px;padding:0 15px 0 44px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-right:5px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions-categorize-false[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result[_ngcontent-%COMP%]{padding:10px 0 0;margin:0 -15px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;padding:0;margin:0 0 10px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:15px;line-height:36px;padding:0 15px 0 31px;display:flex;align-items:center;cursor:pointer}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:9px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%]{color:#9c9c9c;font-size:14px;font-weight:400;margin:0 0 10px 17px;display:flex;align-items:center;position:relative}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%]{position:absolute;right:20px;color:#d1d1d1;font-size:12px;cursor:pointer;text-decoration:none}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{text-decoration:underline}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:9px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%]{padding:10px 0 0;margin:0 -15px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:inline-block;width:100%}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{display:flex}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:100%;overflow:hidden;text-overflow:ellipsis}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] .suggestions[_ngcontent-%COMP%]{display:flex}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%]{margin-left:30px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{padding-left:31px} .search-select.mat-select-panel{margin-top:30px;margin-left:10px} .search-select .mat-option-text{display:contents} .toolbar-search .mat-form-field-infix{font-size:14px} .toolbar-search input{line-height:14px} .toolbar-search .mat-form-field-outline:first-child .mat-form-field-outline-start, .toolbar-search .mat-form-field-outline:first-child .mat-form-field-outline-end{background-color:#f1f3f4} .toolbar-search:hover .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-width:1px;border-color:#a53159} .toolbar-search:hover .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border:1px solid #a53159;border-left-style:none;border-right-style:none;border-top-right-radius:0;border-bottom-right-radius:0} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-radius:0;border-color:transparent;background-color:#a53159} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border-width:1px;border-color:#a53159;background-color:#a53159} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-select{color:#fff} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .icomoon.arrow_down{color:#fff} .toolbar-search:focus-within .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-width:2px;border-color:#90003b} .toolbar-search:focus-within .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border:2px solid #90003b;border-left-style:none;border-right-style:none;border-top-right-radius:0;border-bottom-right-radius:0} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-radius:0;border-color:transparent;background-color:#90003b} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border-width:2px;border-color:#90003b;background-color:#90003b} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-select{color:#fff} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .icomoon.arrow_down{color:#fff} .toolbar-search .mat-select-arrow{opacity:0}"]})}}return e})();function RA(e){return new w(3e3,!1)}function Ui(e){switch(e.length){case 0:return new Ua;case 1:return e[0];default:return new wS(e)}}function kA(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,h)=>{let m=h,p=f;if("offset"!==h)switch(m=e.normalizePropertyName(m,r),p){case"!":p=t.get(h);break;case _i:p=i.get(h);break;default:p=e.normalizeStyleValue(h,m,p,r)}u.set(m,p)}),d||o.push(u),a=u,s=c}),r.length)throw function B6(e){return new w(3502,!1)}();return o}function Eg(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&Mg(t,"start",e)));break;case"done":e.onDone(()=>i(t&&Mg(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&Mg(t,"destroy",e)))}}function Mg(e,n,t){const o=Sg(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function Sg(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function rn(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function NA(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const Q6=typeof document>"u"?null:document.documentElement;function Ag(e){const n=e.parentNode||e.host||null;return n===Q6?null:n}let Ir=null,PA=!1;function LA(e,n){for(;n;){if(n===e)return!0;n=Ag(n)}return!1}function VA(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let Ig=(()=>{class e{validateStyleProperty(t){return function J6(e){Ir||(Ir=function e9(){return typeof document<"u"?document.body:null}()||{},PA=!!Ir.style&&"WebkitAppearance"in Ir.style);let n=!0;return Ir.style&&!function X6(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Ir.style,!n&&PA&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Ir.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return LA(t,i)}getParentElement(t){return Ag(t)}query(t,i,r){return VA(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new Ua(r,o)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();class Tg{static{this.NOOP=new Ig}}class Fg{}const n9=1e3,Og="ng-enter",Zd="ng-leave",Qd="ng-trigger",Xd=".ng-trigger",jA="ng-animating",Rg=".ng-animating";function bi(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:kg(parseFloat(n[1]),n[2])}function kg(e,n){return"s"===n?e*n9:e}function Jd(e,n,t){return e.hasOwnProperty("duration")?e:function r9(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(RA()),{duration:0,delay:0,easing:""};r=kg(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=kg(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function _6(){return new w(3100,!1)}()),a=!0),o<0&&(n.push(function b6(){return new w(3101,!1)}()),a=!0),a&&n.splice(l,0,RA())}return{duration:r,delay:o,easing:s}}(e,n,t)}function Qn(e,n,t){n.forEach((i,r)=>{const o=Pg(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function Tr(e,n){n.forEach((t,i)=>{const r=Pg(i);e.style[r]=""})}function Ka(e){return Array.isArray(e)?1==e.length?e[0]:function F5(e,n=null){return{type:W.Sequence,steps:e,options:n}}(e):e}const Ng=new RegExp("{{\\s*(.+?)\\s*}}","g");function UA(e){let n=[];if("string"==typeof e){let t;for(;t=Ng.exec(e);)n.push(t[1]);Ng.lastIndex=0}return n}function Za(e,n,t){const i=`${e}`,r=i.replace(Ng,(o,s)=>{let a=n[s];return null==a&&(t.push(function v6(e){return new w(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const a9=/-+([a-z0-9])/g;function Pg(e){return e.replace(a9,(...n)=>n[1].toUpperCase())}function on(e,n,t){switch(n.type){case W.Trigger:return e.visitTrigger(n,t);case W.State:return e.visitState(n,t);case W.Transition:return e.visitTransition(n,t);case W.Sequence:return e.visitSequence(n,t);case W.Group:return e.visitGroup(n,t);case W.Animate:return e.visitAnimate(n,t);case W.Keyframes:return e.visitKeyframes(n,t);case W.Style:return e.visitStyle(n,t);case W.Reference:return e.visitReference(n,t);case W.AnimateChild:return e.visitAnimateChild(n,t);case W.AnimateRef:return e.visitAnimateRef(n,t);case W.Query:return e.visitQuery(n,t);case W.Stagger:return e.visitStagger(n,t);default:throw function x6(e){return new w(3004,!1)}()}}function Lg(e,n){return window.getComputedStyle(e)[n]}const d9=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class $A extends Fg{normalizePropertyName(n,t){return Pg(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(d9.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function w6(e,n){return new w(3005,!1)}())}return s+o}}const eu="*";const tu=new Set(["true","1"]),nu=new Set(["false","0"]);function zA(e,n){const t=tu.has(e)||nu.has(e),i=tu.has(n)||nu.has(n);return(r,o)=>{let s=e==eu||e==r,a=n==eu||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?tu.has(e):nu.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?tu.has(n):nu.has(n)),s&&a}}const m9=new RegExp("s*:selfs*,?","g");function Vg(e,n,t,i){return new p9(e).build(n,t,i)}class p9{constructor(n){this._driver=n}build(n,t,i){const r=new b9(t);return this._resetContextStyleTimingState(r),on(this,Ka(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function D6(){return new w(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==W.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==W.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function C6(){return new w(3007,!1)}())}),{type:W.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{UA(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function E6(e,n){return new w(3008,!1)}(0,o.values()))}return{type:W.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=on(this,Ka(n.animation),t),r=function u9(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function f9(e,n,t){if(":"==e[0]){const l=function h9(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return n.push(function N6(e){return new w(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function k6(e){return new w(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(zA(r,s)),"<"==o[0]&&(r!=eu||s!=eu)&&n.push(zA(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:W.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Fr(n.options)}}visitSequence(n,t){return{type:W.Sequence,steps:n.steps.map(i=>on(this,i,t)),options:Fr(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=on(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:W.Group,steps:o,options:Fr(n.options)}}visitAnimate(n,t){const i=function v9(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Bg(Jd(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Bg(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Jd(t,n);return Bg(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:Dr({});if(o.type==W.Keyframes)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Dr(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:W.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===_i?i.push(a):t.errors.push(new w(3002,!1)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:W.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function S6(e,n,t,i,r){return new w(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function s9(e,n,t){const i=n.params||{},r=UA(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function y6(e){return new w(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:W.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function A6(){return new w(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(b=>{const y=this._makeStyleAst(b,t);let M=null!=y.offset?y.offset:function y9(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(y.styles),F=0;return null!=M&&(o++,F=y.offset=M),l=l||F<0||F>1,a=a||F<c,c=F,s.push(F),y});l&&t.errors.push(function I6(){return new w(3012,!1)}()),a&&t.errors.push(function T6(){return new w(3200,!1)}());const u=n.steps.length;let f=0;o>0&&o<u?t.errors.push(function F6(){return new w(3202,!1)}()):0==o&&(f=1/(u-1));const h=u-1,m=t.currentTime,p=t.currentAnimateTimings,_=p.duration;return d.forEach((b,y)=>{const M=f>0?y==h?1:f*y:s[y],F=M*_;t.currentTime=m+p.delay+F,p.duration=F,this._validateStyleAst(b,t),b.offset=M,i.styles.push(b)}),i}visitReference(n,t){return{type:W.Reference,animation:on(this,Ka(n.animation),t),options:Fr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:W.AnimateChild,options:Fr(n.options)}}visitAnimateRef(n,t){return{type:W.AnimateRef,animation:this.visitReference(n.animation,t),options:Fr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function g9(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(m9,"")),e=e.replace(/@\*/g,Xd).replace(/@\w+/g,t=>Xd+"-"+t.slice(1)).replace(/:animating/g,Rg),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,rn(t.collectedStyles,t.currentQuerySelector,new Map);const a=on(this,Ka(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:W.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Fr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function O6(){return new w(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Jd(n.timings,t.errors,!0);return{type:W.Stagger,animation:on(this,Ka(n.animation),t),timings:i,options:null}}}class b9{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Fr(e){return e?(e={...e}).params&&(e.params=function _9(e){return e?{...e}:null}(e.params)):e={},e}function Bg(e,n,t){return{duration:e,delay:n,easing:t}}function jg(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class iu{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const D9=new RegExp(":enter","g"),E9=new RegExp(":leave","g");function Hg(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new M9).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class M9{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new iu;const u=new Ug(n,t,c,r,o,d,[]);u.options=l;const f=l.delay?bi(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),on(this,i,u);const h=u.timelines.filter(m=>m.containsAnimation());if(h.length&&a.size){let m;for(let p=h.length-1;p>=0;p--){const _=h[p];if(_.element===t){m=_;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return h.length?h.map(m=>m.buildKeyframes()):[jg(t,[],[],[],0,f,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:bi(Za(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?bi(i.duration):null,a=null!=i.delay?bi(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),on(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==W.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ru);const s=bi(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>on(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?bi(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),on(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return Jd(t.params?Za(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==W.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?bi(r.delay):0;o&&(t.previousNode.type===W.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ru);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),on(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;on(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const ru={};class Ug{constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ru,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new ou(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=bi(i.duration)),null!=i.delay&&(r.delay=bi(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Za(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new Ug(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=ru,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new S9(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(D9,"."+this._enterClassName)).replace(E9,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function R6(e){return new w(3014,!1)}()),a}}class ou{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new ou(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||_i),this._currentKeyframe.set(t,_i);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function A9(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,_i)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Za(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??_i),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===_i&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return jg(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class S9 extends ou{constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",qA(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let f=new Map(n[u]);const h=f.get("offset");f.set("offset",qA((t+h*i)/s)),o.push(f)}i=s,t=0,r="",n=o}return jg(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function qA(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function YA(e,n,t,i,r,o,s,a,l,c,d,u,f){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const $g={};class KA{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function I9(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||$g,m=this.buildStyles(i,a&&a.params||$g,u),p=l&&l.params||$g,_=this.buildStyles(r,p,u),b=new Set,y=new Map,M=new Map,F="void"===r,q={params:ZA(p,f),delay:this.ast.options?.delay},J=d?[]:Hg(n,t,this.ast.animation,o,s,m,_,q,c,u);let se=0;return J.forEach(ke=>{se=Math.max(ke.duration+ke.delay,se)}),u.length?YA(t,this._triggerName,i,r,F,m,_,[],[],y,M,se,u):(J.forEach(ke=>{const Xn=ke.element,$i=rn(y,Xn,new Set);ke.preStyleProps.forEach(Or=>$i.add(Or));const uI=rn(M,Xn,new Set);ke.postStyleProps.forEach(Or=>uI.add(Or)),Xn!==t&&b.add(Xn)}),YA(t,this._triggerName,i,r,F,m,_,J,[...b.values()],y,M,se))}}function ZA(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class T9{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=ZA(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Za(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class O9{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new T9(r.style,r.options&&r.options.params||{},i))}),QA(this.states,"true","1"),QA(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new KA(n,r,this.states))}),this.fallbackTransition=function R9(e,n,t){return new KA(e,{type:W.Transition,animation:{type:W.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function QA(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const k9=new iu;class N9{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],o=Vg(this._driver,t,i,[]);if(i.length)throw function j6(e){return new w(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=kA(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=Hg(this._driver,t,o,Og,Zd,new Map,new Map,i,k9,r),s.forEach(d=>{const u=rn(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(function H6(){return new w(3300,!1)}()),s=[]),r.length)throw function U6(e){return new w(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,_i))})});const c=Ui(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function $6(e){return new w(3301,!1)}();return t}listen(n,t,i,r){const o=Sg(t,"","","");return Eg(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const XA="ng-animate-queued",zg="ng-animate-disabled",j9=[],JA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},H9={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kn="__ng_removed";class Gg{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function G9(e){return e??null}(i?n.value:n),i){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Qa="void",Wg=new Gg(Qa);class U9{constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,hn(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function z6(e,n){return new w(3302,!1)}();if(null==i||0==i.length)throw function G6(e){return new w(3303,!1)}();if(!function W9(e){return"start"==e||"done"==e}(i))throw function W6(e,n){return new w(3400,!1)}();const o=rn(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=rn(this._engine.statesByElement,n,new Map);return a.has(t)||(hn(n,Qd),hn(n,Qd+"-"+t),a.set(t,Wg)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function q6(e){return new w(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new qg(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(hn(n,Qd),hn(n,Qd+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new Gg(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Wg),c.value!==Qa&&l.value===c.value){if(!function K9(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const o=t[r];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(l.params,c.params)){const p=[],_=o.matchStyles(l.value,l.params,p),b=o.matchStyles(c.value,c.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush(()=>{Tr(n,_),Qn(n,b)})}return}const f=rn(this._engine.playersByElement,n,[]);f.forEach(p=>{p.namespaceId==this.id&&p.triggerName==t&&p.queued&&p.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),m=!1;if(!h){if(!r)return;h=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(hn(n,XA),s.onStart(()=>{Jo(n,XA)})),s.onDone(()=>{let p=this.players.indexOf(s);p>=0&&this.players.splice(p,1);const _=this._engine.playersByElement.get(n);if(_){let b=_.indexOf(s);b>=0&&_.splice(b,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,Xd,!0);i.forEach(r=>{if(r[kn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,Qa,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&Ui(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Wg,d=new Gg(Qa),u=new qg(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[kn];(!o||o===JA)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){hn(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Sg(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Eg(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class $9{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i,r){this.bodyNode=n,this.driver=t,this._normalizer=i,this.scheduler=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new U9(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(su(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!su(t))return;const o=t[kn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),hn(n,zg)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Jo(n,zg))}removeNode(n,t,i){if(su(t)){this.scheduler?.notify();const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[kn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return su(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,Xd,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,Rg,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Ui(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[kn];if(t&&t.setForRemoval){if(n[kn]=JA,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(zg)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)hn(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ui(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function Y6(e){return new w(3402,!1)}()}_flushAnimations(n,t){const i=new iu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(R=>{d.add(R);const V=this.driver.query(R,".ng-animate-queued",!0);for(let U=0;U<V.length;U++)d.add(V[U])});const u=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=nI(f,this.collectedEnterElements),m=new Map;let p=0;h.forEach((R,V)=>{const U=Og+p++;m.set(V,U),R.forEach(ce=>hn(ce,U))});const _=[],b=new Set,y=new Set;for(let R=0;R<this.collectedLeaveElements.length;R++){const V=this.collectedLeaveElements[R],U=V[kn];U&&U.setForRemoval&&(_.push(V),b.add(V),U.hasAnimation?this.driver.query(V,".ng-star-inserted",!0).forEach(ce=>b.add(ce)):y.add(V))}const M=new Map,F=nI(f,Array.from(b));F.forEach((R,V)=>{const U=Zd+p++;M.set(V,U),R.forEach(ce=>hn(ce,U))}),n.push(()=>{h.forEach((R,V)=>{const U=m.get(V);R.forEach(ce=>Jo(ce,U))}),F.forEach((R,V)=>{const U=M.get(V);R.forEach(ce=>Jo(ce,U))}),_.forEach(R=>{this.processLeaveNode(R)})});const q=[],J=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(t).forEach(U=>{const ce=U.player,ft=U.element;if(q.push(ce),this.collectedEnterElements.length){const At=ft[kn];if(At&&At.setForMove){if(At.previousTriggersValues&&At.previousTriggersValues.has(U.triggerName)){const Rr=At.previousTriggersValues.get(U.triggerName),mn=this.statesByElement.get(U.element);if(mn&&mn.has(U.triggerName)){const lu=mn.get(U.triggerName);lu.value=Rr,mn.set(U.triggerName,lu)}}return void ce.destroy()}}const Jn=!u||!this.driver.containsElement(u,ft),sn=M.get(ft),zi=m.get(ft),Be=this._buildInstruction(U,i,zi,sn,Jn);if(Be.errors&&Be.errors.length)return void J.push(Be);if(Jn)return ce.onStart(()=>Tr(ft,Be.fromStyles)),ce.onDestroy(()=>Qn(ft,Be.toStyles)),void r.push(ce);if(U.isFallbackTransition)return ce.onStart(()=>Tr(ft,Be.fromStyles)),ce.onDestroy(()=>Qn(ft,Be.toStyles)),void r.push(ce);const mI=[];Be.timelines.forEach(At=>{At.stretchStartingKeyframe=!0,this.disabledNodes.has(At.element)||mI.push(At)}),Be.timelines=mI,i.append(ft,Be.timelines),s.push({instruction:Be,player:ce,element:ft}),Be.queriedElements.forEach(At=>rn(a,At,[]).push(ce)),Be.preStyleProps.forEach((At,Rr)=>{if(At.size){let mn=l.get(Rr);mn||l.set(Rr,mn=new Set),At.forEach((lu,Qg)=>mn.add(Qg))}}),Be.postStyleProps.forEach((At,Rr)=>{let mn=c.get(Rr);mn||c.set(Rr,mn=new Set),At.forEach((lu,Qg)=>mn.add(Qg))})});if(J.length){const R=[];J.forEach(V=>{R.push(function K6(e,n){return new w(3505,!1)}())}),q.forEach(V=>V.destroy()),this.reportError(R)}const se=new Map,ke=new Map;s.forEach(R=>{const V=R.element;i.has(V)&&(ke.set(V,V),this._beforeAnimationBuild(R.player.namespaceId,R.instruction,se))}),r.forEach(R=>{const V=R.element;this._getPreviousPlayers(V,!1,R.namespaceId,R.triggerName,null).forEach(ce=>{rn(se,V,[]).push(ce),ce.destroy()})});const Xn=_.filter(R=>rI(R,l,c)),$i=new Map;tI($i,this.driver,y,c,_i).forEach(R=>{rI(R,l,c)&&Xn.push(R)});const Or=new Map;h.forEach((R,V)=>{tI(Or,this.driver,new Set(R),l,"!")}),Xn.forEach(R=>{const V=$i.get(R),U=Or.get(R);$i.set(R,new Map([...V?.entries()??[],...U?.entries()??[]]))});const Zg=[],fI=[],hI={};s.forEach(R=>{const{element:V,player:U,instruction:ce}=R;if(i.has(V)){if(d.has(V))return U.onDestroy(()=>Qn(V,ce.toStyles)),U.disabled=!0,U.overrideTotalTime(ce.totalTime),void r.push(U);let ft=hI;if(ke.size>1){let sn=V;const zi=[];for(;sn=sn.parentNode;){const Be=ke.get(sn);if(Be){ft=Be;break}zi.push(sn)}zi.forEach(Be=>ke.set(Be,ft))}const Jn=this._buildAnimation(U.namespaceId,ce,se,o,Or,$i);if(U.setRealPlayer(Jn),ft===hI)Zg.push(U);else{const sn=this.playersByElement.get(ft);sn&&sn.length&&(U.parentPlayer=Ui(sn)),r.push(U)}}else Tr(V,ce.fromStyles),U.onDestroy(()=>Qn(V,ce.toStyles)),fI.push(U),d.has(V)&&r.push(U)}),fI.forEach(R=>{const V=o.get(R.element);if(V&&V.length){const U=Ui(V);R.setRealPlayer(U)}}),r.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy()});for(let R=0;R<_.length;R++){const V=_[R],U=V[kn];if(Jo(V,Zd),U&&U.hasAnimation)continue;let ce=[];if(a.size){let Jn=a.get(V);Jn&&Jn.length&&ce.push(...Jn);let sn=this.driver.query(V,Rg,!0);for(let zi=0;zi<sn.length;zi++){let Be=a.get(sn[zi]);Be&&Be.length&&ce.push(...Be)}}const ft=ce.filter(Jn=>!Jn.destroyed);ft.length?q9(this,V,ft):this.processLeaveNode(V)}return _.length=0,Zg.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();const V=this.players.indexOf(R);this.players.splice(V,1)}),R.play()}),Zg}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==Qa;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=rn(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(h=>{const m=h.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),h.destroy(),u.push(h)})}Tr(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,f=t.timelines.map(m=>{const p=m.element;d.add(p);const _=p[kn];if(_&&_.removedBeforeQueried)return new Ua(m.duration,m.delay);const b=p!==l,y=function Y9(e){const n=[];return iI(e,n),n}((i.get(p)||j9).map(se=>se.getRealPlayer())).filter(se=>!!se.element&&se.element===p),M=o.get(p),F=s.get(p),q=kA(this._normalizer,m.keyframes,M,F),J=this._buildPlayer(m,q,y);if(m.subTimeline&&r&&u.add(p),b){const se=new qg(n,a,p);se.setRealPlayer(J),c.push(se)}return J});c.forEach(m=>{rn(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function z9(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>hn(m,jA));const h=Ui(f);return h.onDestroy(()=>{d.forEach(m=>Jo(m,jA)),Qn(l,t.toStyles)}),u.forEach(m=>{rn(r,m,[]).push(h)}),h}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new Ua(n.duration,n.delay)}}class qg{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new Ua,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Eg(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){rn(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function su(e){return e&&1===e.nodeType}function eI(e,n){const t=e.style.display;return e.style.display=n??"none",t}function tI(e,n,t,i,r){const o=[];t.forEach(l=>o.push(eI(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=n.computeStyle(c,u,r);d.set(u,f),(!f||0==f.length)&&(c[kn]=H9,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>eI(l,o[a++])),s}function nI(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function hn(e,n){e.classList?.add(n)}function Jo(e,n){e.classList?.remove(n)}function q9(e,n,t){Ui(t).onDone(()=>e.processLeaveNode(n))}function iI(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof wS?iI(i.players,n):n.push(i)}}function rI(e,n,t){const i=t.get(e);if(!i)return!1;let r=n.get(e);return r?i.forEach(o=>r.add(o)):n.set(e,i),t.delete(e),!0}class Xa{constructor(n,t,i,r){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new $9(n.body,t,i,r),this._timelineEngine=new N9(n.body,t,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=Vg(this._driver,o,l,[]);if(l.length)throw function V6(e,n){return new w(3404,!1)}();a=function F9(e,n,t){return new O9(e,n,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=NA(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=NA(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class Ja{static{this.initialStylesByElement=new WeakMap}constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let r=Ja.initialStylesByElement.get(n);r||Ja.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Qn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qn(this._element,this._initialStyles),this._endStyles&&(Qn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ja.initialStylesByElement.delete(this._element),this._startStyles&&(Tr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tr(this._element,this._endStyles),this._endStyles=null),Qn(this._element,this._initialStyles),this._state=3)}}function Yg(e){let n=null;return e.forEach((t,i)=>{(function Q9(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class oI{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:Lg(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class sI{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return LA(n,t)}getParentElement(n){return Ag(n)}query(n,t,i){return VA(n,t,i)}computeStyle(n,t,i){return Lg(n,t)}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(h=>h instanceof oI);(function l9(e,n){return 0===e||0===n})(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((m,p)=>c.set(p,m))});let u=function o9(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(h=>new Map(h));u=function c9(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,Lg(e,a)))}}return n}(n,u,c);const f=function Z9(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=Yg(n[0]),n.length>1&&(i=Yg(n[n.length-1]))):n instanceof Map&&(t=Yg(n)),t||i?new Ja(e,t,i):null}(n,u);return new oI(n,u,l,f)}}const aI="@.disabled";class lI{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==aI?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class X9 extends lI{constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==aI?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function J9(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function eY(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}class tY{constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,o)=>{const s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(r);return d||(d=new lI("",r,this.engine,()=>c.delete(r)),c.set(r,d)),d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new X9(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const cI=[{provide:Fg,useFactory:function iY(){return new $A}},{provide:Xa,useClass:(()=>{class e extends Xa{constructor(t,i,r){super(t,i,r,T(mc,{optional:!0}))}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(i){return new(i||e)(v(le),v(Tg),v(Fg))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})()},{provide:Dh,useFactory:function rY(e,n,t){return new tY(e,n,t)},deps:[sp,Xa,G]}],Kg=[{provide:Tg,useFactory:()=>new sI},{provide:ao,useValue:"BrowserAnimations"},...cI],dI=[{provide:Tg,useClass:Ig},{provide:ao,useValue:"NoopAnimations"},...cI];let oY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?dI:Kg}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({providers:Kg,imports:[PE]})}}return e})();class sY{constructor(n){(function aY(e){if(!1===e.categorizeResults&&(!1===e.hideCategorizeButton||void 0===e.hideCategorizeButton))throw new Error("You must provide hideCategorizeButton:true as categorizeResults is false");if(!1===e.saveInRecents&&!0===e.saveInRecentsOnlyOnEnter)throw new Error("You must provide saveInRecents:true for saveInRecentsOnlyOnEnter:true")})(n),this.displayPropertyName=n.displayPropertyName,this.models=n.models,this.limit=n.limit,this.limitByType=n.limitByType,this.order=n.order,this.offset=n.offset,this.saveInRecents=n.saveInRecents;const t=function lY(e){return{placeholder:e.placeholder??"Search",noResultMessage:e.noResultMessage??"No result found",placeholderFunction:e.placeholderFunction}}(n);this.noResultMessage=t.noResultMessage,this.placeholder=t.placeholder,this.placeholderFunction=t.placeholderFunction;const i=function cY(e){return{categorizeResults:e.categorizeResults??!0,hideRecentSearch:e.hideRecentSearch??!1,hideCategorizeButton:e.hideCategorizeButton??!1,saveInRecentsOnlyOnEnter:e.saveInRecentsOnlyOnEnter??!1,searchOnlyOnEnter:e.searchOnlyOnEnter??!1}}(n);this.categorizeResults=i.categorizeResults,this.hideRecentSearch=i.hideRecentSearch,this.hideCategorizeButton=i.hideCategorizeButton,this.saveInRecentsOnlyOnEnter=i.saveInRecentsOnlyOnEnter,this.searchOnlyOnEnter=i.searchOnlyOnEnter;const r=function dY(e){return{searchIconClass:e.searchIconClass??"icomoon Search",crossIconClass:e.crossIconClass??"icomoon close",dropDownButtonIconClass:e.dropDownButtonIconClass??"icomoon arrow_down",recentSearchIconClass:e.recentSearchIconClass??"icomoon Search"}}(n);this.searchIconClass=r.searchIconClass,this.crossIconClass=r.crossIconClass,this.dropDownButtonIconClass=r.dropDownButtonIconClass,this.recentSearchIconClass=r.recentSearchIconClass}}let uY=(()=>{class e{constructor(t){this.injector=t}ngDoBootstrap(){const t=function Fq(e,n){const t=function Cq(e,n){return n.get(rr).resolveComponentFactory(e).inputs}(e,n.injector),i=n.strategyFactory||new Aq(e,n.injector),r=function Dq(e){const n={};return e.forEach(({propName:t,templateName:i,transform:r})=>{n[function bq(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(i)]=[t,r]}),n}(t);class o extends Tq{static{this.observedAttributes=Object.keys(r)}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||n.injector);t.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){const[u,f]=r[a];this.ngElementStrategy.setInputValue(u,c,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return t.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}(g6,{injector:this.injector});customElements.define("sourceloop-search-element",t),Object.assign(window,{SearchConfiguration:sY})}static{this.\u0275fac=function(i){return new(i||e)(v(pt))}}static{this.\u0275mod=ge({type:e})}static{this.\u0275inj=ue({imports:[PE,oY,ld,C5,KU,pq,Hd,q4,eW,_q,y3]})}}return e})();AH().bootstrapModule(uY).catch(e=>console.error(e))}},es=>{es(es.s=844)}]);