diff --git a/404.html b/404.html index 0514bd5..b6ca757 100644 --- a/404.html +++ b/404.html @@ -11,9 +11,9 @@ + - + diff --git a/chunk-FQHYJTJM.js b/chunk-F6253P2H.js similarity index 99% rename from chunk-FQHYJTJM.js rename to chunk-F6253P2H.js index 8a3ee38..cf53fe5 100644 --- a/chunk-FQHYJTJM.js +++ b/chunk-F6253P2H.js @@ -1 +1 @@ -import{Cc as x,Dc as Ce,Ec as ue,X as E,Z as gt,a as he,c as pt,rc as S,sc as B,wc as yt,xc as Me}from"./chunk-V2HD7OKB.js";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function Zt(n){return new E(3003,!1)}function Jt(n){return new E(3004,!1)}function xt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function as(){return new E(3012,!1)}function os(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Es(n){return new E(3504,!1)}function Ss(n){return new E(3301,!1)}function Ts(n,e){return new E(3302,!1)}function vs(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function As(n){return new E(3402,!1)}function Ps(n,e){return new E(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Et(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,St=!1;function ks(n){H||(H=Ds()||{},St=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&St&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}matchesElement(s,i){return!1}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case S.Trigger:return n.visitTrigger(e,t);case S.State:return n.visitState(e,t);case S.Transition:return n.visitTransition(e,t);case S.Sequence:return n.visitSequence(e,t);case S.Group:return n.visitGroup(e,t);case S.Animate:return n.visitAnimate(e,t);case S.Keyframes:return n.visitKeyframes(e,t);case S.Style:return n.visitStyle(e,t);case S.Reference:return n.visitReference(e,t);case S.AnimateChild:return n.visitAnimateChild(e,t);case S.AnimateRef:return n.visitAnimateRef(e,t);case S.Query:return n.visitQuery(e,t);case S.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=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"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Ee="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Ee&&a==Ee;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Ee||n==i,o=e==Ee||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==S.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==S.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:S.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:S.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:S.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:S.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:S.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==S.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:S.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:S.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:S.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:S.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:S.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:S.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:S.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,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 Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==S.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==S.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===S.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Se={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,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+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:S.Sequence,steps:[],options:null},r={type:S.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Es(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ss(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=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,a)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,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(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new Ze(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Et(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Et(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,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=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e,t){return n==="noop"?new we(e,new qt,new ze,t):new we(e,new xe,new Qe,t)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Ei(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Si(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty}; +import{$ as gt,Ec as x,Fc as Ce,Gc as ue,Z as E,a as he,c as pt,tc as S,uc as B,yc as yt,zc as Me}from"./chunk-IDZKADI7.js";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function Zt(n){return new E(3003,!1)}function Jt(n){return new E(3004,!1)}function xt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function as(){return new E(3012,!1)}function os(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Es(n){return new E(3504,!1)}function Ss(n){return new E(3301,!1)}function Ts(n,e){return new E(3302,!1)}function vs(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function As(n){return new E(3402,!1)}function Ps(n,e){return new E(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Et(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,St=!1;function ks(n){H||(H=Ds()||{},St=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&St&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}matchesElement(s,i){return!1}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case S.Trigger:return n.visitTrigger(e,t);case S.State:return n.visitState(e,t);case S.Transition:return n.visitTransition(e,t);case S.Sequence:return n.visitSequence(e,t);case S.Group:return n.visitGroup(e,t);case S.Animate:return n.visitAnimate(e,t);case S.Keyframes:return n.visitKeyframes(e,t);case S.Style:return n.visitStyle(e,t);case S.Reference:return n.visitReference(e,t);case S.AnimateChild:return n.visitAnimateChild(e,t);case S.AnimateRef:return n.visitAnimateRef(e,t);case S.Query:return n.visitQuery(e,t);case S.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=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"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Ee="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Ee&&a==Ee;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Ee||n==i,o=e==Ee||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==S.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==S.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:S.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:S.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:S.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:S.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:S.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==S.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:S.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:S.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:S.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:S.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:S.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:S.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:S.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,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 Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==S.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==S.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===S.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Se={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,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+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:S.Sequence,steps:[],options:null},r={type:S.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Es(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ss(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=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,a)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,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(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new Ze(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Et(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Et(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,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=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e,t){return n==="noop"?new we(e,new qt,new ze,t):new we(e,new xe,new Qe,t)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Ei(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Si(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty}; diff --git a/chunk-IDZKADI7.js b/chunk-IDZKADI7.js new file mode 100644 index 0000000..6fab381 --- /dev/null +++ b/chunk-IDZKADI7.js @@ -0,0 +1,7 @@ +var Bl=Object.create;var jr=Object.defineProperty,$l=Object.defineProperties,Hl=Object.getOwnPropertyDescriptor,Ul=Object.getOwnPropertyDescriptors,Gl=Object.getOwnPropertyNames,cn=Object.getOwnPropertySymbols,Wl=Object.getPrototypeOf,Vr=Object.prototype.hasOwnProperty,Ns=Object.prototype.propertyIsEnumerable;var Ts=(e,t,n)=>t in e?jr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ut=(e,t)=>{for(var n in t||={})Vr.call(t,n)&&Ts(e,n,t[n]);if(cn)for(var n of cn(t))Ns.call(t,n)&&Ts(e,n,t[n]);return e},ct=(e,t)=>$l(e,Ul(t));var lD=(e,t)=>{var n={};for(var r in e)Vr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cn)for(var r of cn(e))t.indexOf(r)<0&&Ns.call(e,r)&&(n[r]=e[r]);return n};var dD=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var zl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gl(t))!Vr.call(e,o)&&o!==n&&jr(e,o,{get:()=>t[o],enumerable:!(r=Hl(t,o))||r.enumerable});return e};var fD=(e,t,n)=>(n=e!=null?Bl(Wl(e)):{},zl(t||!e||!e.__esModule?jr(n,"default",{value:e,enumerable:!0}):n,e));var As=null,ln=!1,Br=1,fn=Symbol("SIGNAL");function b(e){let t=As;return As=e,t}function ql(){return ln}var Hr={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 Yl(e){if(!(qr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Br)){if(!e.producerMustRecompute(e)&&!pn(e)){e.dirty=!1,e.lastCleanEpoch=Br;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Br}}function Ql(e){if(e.liveConsumerNode===void 0)return;let t=ln;ln=!0;try{for(let n of e.liveConsumerNode)n.dirty||Os(n)}finally{ln=t}}function Os(e){e.dirty=!0,Ql(e),e.consumerMarkedDirty?.(e)}function Ur(e){return e&&(e.nextProducerIndex=0),b(e)}function Gr(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(qr(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function pn(e){dn(e);for(let t=0;t0}function dn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Zl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Kl(){throw new Error}var Jl=Kl;function Fs(e){Jl=e}function Rs(e,t,n){let r=Object.create(Xl);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(Wr(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=$r)}let a=()=>{if(r.fn===null)return;if(ql())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!pn(r))return;r.hasRun=!0;let u=Ur(r);try{r.cleanupFn(),r.cleanupFn=$r,r.fn(o)}finally{Gr(r,u)}};return r.ref={notify:()=>Os(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[fn]:r},r.ref}var $r=()=>{},Xl=ct(ut({},Hr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:$r});function g(e){return typeof e=="function"}function lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var hn=lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Le(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var k=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof hn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ps(i)}catch(s){t=t??[],s instanceof hn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new hn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ps(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Le(n,t)}remove(t){let{_finalizers:n}=this;n&&Le(n,t),t instanceof e&&t._removeParent(this)}};k.EMPTY=(()=>{let e=new k;return e.closed=!0,e})();var Yr=k.EMPTY;function gn(e){return e instanceof k||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Ps(e){g(e)?e():e.unsubscribe()}var re={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dt={setTimeout(e,t,...n){let{delegate:r}=dt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=dt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function mn(e){dt.setTimeout(()=>{let{onUnhandledError:t}=re;if(t)t(e);else throw e})}function ve(){}var ks=Qr("C",void 0,void 0);function Ls(e){return Qr("E",void 0,e)}function js(e){return Qr("N",e,void 0)}function Qr(e,t,n){return{kind:e,value:t,error:n}}var je=null;function ft(e){if(re.useDeprecatedSynchronousErrorHandling){let t=!je;if(t&&(je={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=je;if(je=null,n)throw r}}else e()}function Vs(e){re.useDeprecatedSynchronousErrorHandling&&je&&(je.errorThrown=!0,je.error=e)}var Ve=class extends k{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gn(t)&&t.add(this)):this.destination=nd}static create(t,n,r){return new we(t,n,r)}next(t){this.isStopped?Kr(js(t),this):this._next(t)}error(t){this.isStopped?Kr(Ls(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Kr(ks,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()}}},ed=Function.prototype.bind;function Zr(e,t){return ed.call(e,t)}var Jr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){yn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){yn(r)}else yn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){yn(n)}}},we=class extends Ve{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&re.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Zr(t.next,i),error:t.error&&Zr(t.error,i),complete:t.complete&&Zr(t.complete,i)}):o=t}this.destination=new Jr(o)}};function yn(e){re.useDeprecatedSynchronousErrorHandling?Vs(e):mn(e)}function td(e){throw e}function Kr(e,t){let{onStoppedNotification:n}=re;n&&dt.setTimeout(()=>n(e,t))}var nd={closed:!0,next:ve,error:td,complete:ve};var pt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function H(e){return e}function rd(...e){return Xr(e)}function Xr(e){return e.length===0?H:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var C=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=id(n)?n:new we(n,r,o);return ft(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Bs(r),new r((o,i)=>{let s=new we({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[pt](){return this}pipe(...n){return Xr(n)(this)}toPromise(n){return n=Bs(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Bs(e){var t;return(t=e??re.Promise)!==null&&t!==void 0?t:Promise}function od(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function id(e){return e&&e instanceof Ve||od(e)&&gn(e)}function eo(e){return g(e?.lift)}function y(e){return t=>{if(eo(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(e,t,n,r,o){return new to(e,t,n,r,o)}var to=class extends Ve{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function no(){return y((e,t)=>{let n=null;e._refCount++;let r=v(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ft=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,eo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new k;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=k.EMPTY)}return t}refCount(){return no()(this)}};var $s=lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var j=(()=>{class e extends C{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Dn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new $s}next(n){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Yr:(this.currentObservers=null,i.push(n),new k(()=>{this.currentObservers=null,Le(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new C;return n.source=this,n}}return e.create=(t,n)=>new Dn(t,n),e})(),Dn=class extends j{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Yr}};var Rt=class extends j{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Pt={now(){return(Pt.delegate||Date).now()},delegate:void 0};var vn=class extends j{constructor(t=1/0,n=1/0,r=Pt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function Cn(e){return e&&g(e.schedule)}function ro(e){return e[e.length-1]}function bn(e){return g(ro(e))?e.pop():void 0}function ce(e){return Cn(ro(e))?e.pop():void 0}function Us(e,t){return typeof ro(e)=="number"?e.pop():t}function Ws(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Gs(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function He(e){return this instanceof He?(this.v=e,this):new He(e)}function zs(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,D){i.push([f,p,h,D])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof He?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function qs(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Gs=="function"?Gs(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var gt=e=>e&&typeof e.length=="number"&&typeof e!="function";function _n(e){return g(e?.then)}function Mn(e){return g(e[pt])}function xn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function Sn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function sd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Tn=sd();function Nn(e){return g(e?.[Tn])}function An(e){return zs(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield He(n.read());if(o)return yield He(void 0);yield yield He(r)}}finally{n.releaseLock()}})}function On(e){return g(e?.getReader)}function M(e){if(e instanceof C)return e;if(e!=null){if(Mn(e))return ad(e);if(gt(e))return ud(e);if(_n(e))return cd(e);if(xn(e))return Ys(e);if(Nn(e))return ld(e);if(On(e))return dd(e)}throw Sn(e)}function ad(e){return new C(t=>{let n=e[pt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ud(e){return new C(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,mn)})}function ld(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ys(e){return new C(t=>{fd(e,t).catch(n=>t.error(n))})}function dd(e){return Ys(An(e))}function fd(e,t){var n,r,o,i;return Ws(this,void 0,void 0,function*(){try{for(n=qs(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function z(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Fn(e,t=0){return y((n,r)=>{n.subscribe(v(r,o=>z(r,e,()=>r.next(o),t),()=>z(r,e,()=>r.complete(),t),o=>z(r,e,()=>r.error(o),t)))})}function Rn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Qs(e,t){return M(e).pipe(Rn(t),Fn(t))}function Zs(e,t){return M(e).pipe(Rn(t),Fn(t))}function Ks(e,t){return new C(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Js(e,t){return new C(n=>{let r;return z(n,t,()=>{r=e[Tn](),z(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Pn(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{z(n,t,()=>{let r=e[Symbol.asyncIterator]();z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Xs(e,t){return Pn(An(e),t)}function ea(e,t){if(e!=null){if(Mn(e))return Qs(e,t);if(gt(e))return Ks(e,t);if(_n(e))return Zs(e,t);if(xn(e))return Pn(e,t);if(Nn(e))return Js(e,t);if(On(e))return Xs(e,t)}throw Sn(e)}function le(e,t){return t?ea(e,t):M(e)}function pd(...e){let t=ce(e);return le(e,t)}function hd(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function gd(e){return!!e&&(e instanceof C||g(e.lift)&&g(e.subscribe))}var Ue=lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ta(e){return e instanceof Date&&!isNaN(e)}function de(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:md}=Array;function yd(e,t){return md(t)?e(...t):e(t)}function mt(e){return de(t=>yd(e,t))}var{isArray:Dd}=Array,{getPrototypeOf:vd,prototype:wd,keys:Id}=Object;function kn(e){if(e.length===1){let t=e[0];if(Dd(t))return{args:t,keys:null};if(Ed(t)){let n=Id(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Ed(e){return e&&typeof e=="object"&&vd(e)===wd}function Ln(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Cd(...e){let t=ce(e),n=bn(e),{args:r,keys:o}=kn(e);if(r.length===0)return le([],t);let i=new C(bd(r,t,o?s=>Ln(o,s):H));return n?i.pipe(mt(n)):i}function bd(e,t,n=H){return r=>{na(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=le(e[u],t),l=!1;c.subscribe(v(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function na(e,t,n){e?z(n,e,t):t()}function ra(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=D=>c{i&&t.next(D),c++;let T=!1;M(n(D,l++)).subscribe(v(t,x=>{o?.(x),i?p(x):t.next(x)},()=>{T=!0},void 0,()=>{if(T)try{for(c--;u.length&&ch(x)):h(x)}f()}catch(x){t.error(x)}}))};return e.subscribe(v(t,p,()=>{d=!0,f()})),()=>{a?.()}}function oe(e,t,n=1/0){return g(t)?oe((r,o)=>de((i,s)=>t(r,i,o,s))(M(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>ra(r,o,e,n)))}function jn(e=1/0){return oe(H,e)}function oa(){return jn(1)}function yt(...e){return oa()(le(e,ce(e)))}function _d(e){return new C(t=>{M(e()).subscribe(t)})}function Md(...e){let t=bn(e),{args:n,keys:r}=kn(e),o=new C(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Ln(r,a):a),i.complete())}))}});return t?o.pipe(mt(t)):o}var xd=["addListener","removeListener"],Sd=["addEventListener","removeEventListener"],Td=["on","off"];function oo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return oo(e,t,n).pipe(mt(r));let[o,i]=Od(e)?Sd.map(s=>a=>e[s](t,a,n)):Nd(e)?xd.map(ia(e,t)):Ad(e)?Td.map(ia(e,t)):[];if(!o&>(e))return oe(s=>oo(s,t,n))(M(e));if(!o)throw new TypeError("Invalid event target");return new C(s=>{let a=(...u)=>s.next(1i(a)})}function ia(e,t){return n=>r=>e[n](t,r)}function Nd(e){return g(e.addListener)&&g(e.removeListener)}function Ad(e){return g(e.on)&&g(e.off)}function Od(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Lt(e=0,t,n=Hs){let r=-1;return t!=null&&(Cn(t)?n=t:r=t),new C(o=>{let i=ta(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Fd(...e){let t=ce(e),n=Us(e,1/0),r=e;return r.length?r.length===1?M(r[0]):jn(n)(le(r,t)):$e}var Rd=new C(ve);function Se(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function sa(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(v(n,c=>{r=!0,o=c,i||M(e(c)).subscribe(i=v(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Pd(e,t=Be){return sa(()=>Lt(e,t))}function io(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=M(e(s,io(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function aa(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(v(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function kd(e,t){return g(t)?oe(e,t,1):oe(e,1)}function ua(e){return new C(t=>e.subscribe(t))}var Ld={connector:()=>new j};function Vn(e,t=Ld){let{connector:n}=t;return y((r,o)=>{let i=n();M(e(ua(i))).subscribe(o),o.add(r.subscribe(i))})}function jd(e,t=Be){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function jt(e){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Dt(e){return e<=0?()=>$e:y((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ca(){return y((e,t)=>{e.subscribe(v(t,ve))})}function so(e){return de(()=>e)}function ao(e,t){return t?n=>yt(t.pipe(Dt(1),ca()),n.pipe(ao(e))):oe((n,r)=>M(e(n,r)).pipe(Dt(1),so(n)))}function Vd(e,t=Be){let n=Lt(e,t);return ao(()=>n)}function Bd(e,t=H){return e=e??$d,y((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function $d(e,t){return e===t}function Bn(e=Hd){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Hd(){return new Ue}function Ud(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function la(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Se((o,i)=>e(o,i,r)):H,Dt(1),n?jt(t):Bn(()=>new Ue))}function uo(e){return e<=0?()=>$e:y((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Gd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Se((o,i)=>e(o,i,r)):H,uo(1),n?jt(t):Bn(()=>new Ue))}function da(e,t){let n=g(e)?e:()=>e;return g(t)?Vn(t,{connector:n}):r=>new Ft(r,n)}function Wd(e){return e?t=>Vn(e)(t):t=>da(new j)(t)}function zd(e,t){return y(aa(e,t,arguments.length>=2,!0))}function lo(e={}){let{connector:t=()=>new j,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let D=s;p(),D?.unsubscribe()};return y((D,T)=>{c++,!d&&!l&&f();let x=u=u??t();T.add(()=>{c--,c===0&&!d&&!l&&(a=co(h,o))}),x.subscribe(T),!s&&c>0&&(s=new we({next:X=>x.next(X),error:X=>{d=!0,f(),a=co(p,n,X),x.error(X)},complete:()=>{l=!0,f(),a=co(p,r),x.complete()}}),M(D).subscribe(s))})(i)}}function co(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new we({next:()=>{r.unsubscribe(),e()}});return M(t(...n)).subscribe(r)}function qd(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,lo({connector:()=>new vn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Yd(e){return Se((t,n)=>e<=n)}function fa(...e){let t=ce(e);return y((n,r)=>{(t?yt(e,n,t):yt(e,n)).subscribe(r)})}function pa(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,u=>{o?.unsubscribe();let c=0,l=i++;M(e(u,l)).subscribe(o=v(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Qd(e){return y((t,n)=>{M(e).subscribe(v(n,()=>n.complete(),ve)),!n.closed&&t.subscribe(n)})}function ha(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):H}var Ka="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(Ja(t,n)),this.code=t}};function Ja(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function vr(e){return{toString:e}.toString()}var Et=globalThis;function N(e){for(let t in e)if(e[t]===N)return t;throw Error("Could not find renamed property on target object.")}function Zd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function xo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Kd=N({__forward_ref__:N});function Xa(e){return e.__forward_ref__=Xa,e.toString=function(){return Q(this())},e}function U(e){return eu(e)?e():e}function eu(e){return typeof e=="function"&&e.hasOwnProperty(Kd)&&e.__forward_ref__===Xa}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tu(e){return{providers:e.providers||[],imports:e.imports||[]}}function wr(e){return ga(e,nu)||ga(e,ru)}function h_(e){return wr(e)!==null}function ga(e,t){return e.hasOwnProperty(t)?e[t]:null}function Jd(e){let t=e&&(e[nu]||e[ru]);return t||null}function ma(e){return e&&(e.hasOwnProperty(ya)||e.hasOwnProperty(Xd))?e[ya]:null}var nu=N({\u0275prov:N}),ya=N({\u0275inj:N}),ru=N({ngInjectableDef:N}),Xd=N({ngInjectorDef:N}),O=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ou(e){return e&&!!e.\u0275providers}var ef=N({\u0275cmp:N}),tf=N({\u0275dir:N}),nf=N({\u0275pipe:N}),rf=N({\u0275mod:N}),Jn=N({\u0275fac:N}),Vt=N({__NG_ELEMENT_ID__:N}),Da=N({__NG_ENV_ID__:N});function Pi(e){return typeof e=="string"?e:e==null?"":String(e)}function of(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Pi(e)}function sf(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function ki(e,t){throw new S(-201,!1)}var _=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}(_||{}),So;function iu(){return So}function q(e){let t=So;return So=e,t}function su(e,t,n){let r=wr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;ki(e,"Injector")}var af={},Bt=af,uf="__NG_DI_FLAG__",Xn="ngTempTokenPath",cf="ngTokenPath",lf=/\n/gm,df="\u0275",va="__source",Ct;function ff(){return Ct}function Te(e){let t=Ct;return Ct=e,t}function pf(e,t=_.Default){if(Ct===void 0)throw new S(-203,!1);return Ct===null?su(e,void 0,t):Ct.get(e,t&_.Optional?null:void 0,t)}function Z(e,t=_.Default){return(iu()||pf)(U(e),t)}function A(e,t=_.Default){return Z(e,Ir(t))}function Ir(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function To(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(lf,` + `)}`}function qe(e,t){let n=e.hasOwnProperty(Jn);return n?e[Jn]:null}function yf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Li(n,t):t(n))}function au(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function er(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vf(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ji(e,t,n){let r=en(e,t);return r>=0?e[r|1]=n:(r=~r,wf(e,r,t,n)),r}function fo(e,t){let n=en(e,t);if(n>=0)return e[n|1]}function en(e,t){return If(e,t,1)}function If(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ie(r))return!1;s=!0}}}}return ie(r)||s}function ie(e){return(e&1)===0}function xf(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ie(s)&&(t+=Ia(i,o),o=""),r=s,i=i||!ie(r);n++}return o!==""&&(t+=Ia(i,o)),t}function Ff(e){return e.map(Of).join(",")}function Rf(e){let t=[],n=[],r=1,o=2;for(;r{let t=vu(e),n=ct(ut({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===lu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$t.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});wu(n);let r=e.dependencies;return n.directiveDefs=Ca(r,!1),n.pipeDefs=Ca(r,!0),n.id=jf(n),n})}function Pf(e){return Ye(e)||mu(e)}function kf(e){return e!==null}function hu(e){return vr(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ea(e,t){if(e==null)return _t;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ae.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ae.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Bi(e){return vr(()=>{let t=vu(e);return wu(t),t})}function gu(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ye(e){return e[ef]||null}function mu(e){return e[tf]||null}function yu(e){return e[nf]||null}function Lf(e){let t=Ye(e)||mu(e)||yu(e);return t!==null?t.standalone:!1}function Du(e,t){let n=e[rf]||null;if(!n&&t===!0)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}function vu(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||_t,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ea(e.inputs,t),outputs:Ea(e.outputs),debugInfo:null}}function wu(e){e.features?.forEach(t=>t(e))}function Ca(e,t){if(!e)return null;let n=t?yu:Pf;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(kf)}function jf(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Vf(e){return{\u0275providers:e}}function Bf(...e){return{\u0275providers:Iu(!0,e),\u0275fromNgModule:!0}}function Iu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Li(t,s=>{let a=s;Ao(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Eu(o,i),n}function Eu(e,t){for(let n=0;n{t(i,r)})}}function Ao(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=ma(e),s=!i&&Ye(e);if(!i&&!s){let u=e.ngModule;if(i=ma(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Ao(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Li(i.imports,l=>{Ao(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Eu(c,t)}if(!a){let c=qe(o)||(()=>new o);t({provide:o,useFactory:c,deps:Y},o),t({provide:cu,useValue:o,multi:!0},o),t({provide:tr,useValue:()=>Z(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;$i(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function $i(e,t){for(let n of e)ou(n)&&(n=n.\u0275providers),Array.isArray(n)?$i(n,t):t(n)}var $f=N({provide:String,useValue:N});function Cu(e){return e!==null&&typeof e=="object"&&$f in e}function Hf(e){return!!(e&&e.useExisting)}function Uf(e){return!!(e&&e.useFactory)}function Mt(e){return typeof e=="function"}function Gf(e){return!!e.useClass}var bu=new O(""),Wn={},Wf={},po;function Hi(){return po===void 0&&(po=new nr),po}var Oe=class{},Ut=class extends Oe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fo(t,s=>this.processProvider(s)),this.records.set(uu,vt(void 0,this)),o.has("environment")&&this.records.set(Oe,vt(void 0,this));let i=this.records.get(bu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cu,Y,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Te(this),r=q(void 0),o;try{return t()}finally{Te(n),q(r)}}get(t,n=Bt,r=_.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Da))return t[Da](this);r=Ir(r);let o,i=Te(this),s=q(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Zf(t)&&wr(t);c&&this.injectableDefInScope(c)?u=vt(Oo(t),Wn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?Hi():this.parent;return n=r&_.Optional&&n===Bt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Xn]=a[Xn]||[]).unshift(Q(t)),i)throw a;return gf(a,t,"R3InjectorError",this.source)}else throw a}finally{q(s),Te(i)}}resolveInjectorInitializers(){let t=b(null),n=Te(this),r=q(void 0),o;try{let i=this.get(tr,Y,_.Self);for(let s of i)s()}finally{Te(n),q(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=U(t);let n=Mt(t)?t:U(t&&t.provide),r=qf(t);if(!Mt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=vt(void 0,Wn,!0),o.factory=()=>To(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===Wn&&(n.value=Wf,n.value=n.factory()),typeof n.value=="object"&&n.value&&Qf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Oo(e){let t=wr(e),n=t!==null?t.factory:qe(e);if(n!==null)return n;if(e instanceof O)throw new S(204,!1);if(e instanceof Function)return zf(e);throw new S(204,!1)}function zf(e){if(e.length>0)throw new S(204,!1);let n=Jd(e);return n!==null?()=>n.factory(e):()=>new e}function qf(e){if(Cu(e))return vt(void 0,e.useValue);{let t=_u(e);return vt(t,Wn)}}function _u(e,t,n){let r;if(Mt(e)){let o=U(e);return qe(o)||Oo(o)}else if(Cu(e))r=()=>U(e.useValue);else if(Uf(e))r=()=>e.useFactory(...To(e.deps||[]));else if(Hf(e))r=()=>Z(U(e.useExisting));else{let o=U(e&&(e.useClass||e.provide));if(Yf(e))r=()=>new o(...To(e.deps));else return qe(o)||Oo(o)}return r}function vt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Yf(e){return!!e.deps}function Qf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Zf(e){return typeof e=="function"||typeof e=="object"&&e instanceof O}function Fo(e,t){for(let n of e)Array.isArray(n)?Fo(n,t):n&&ou(n)?Fo(n.\u0275providers,t):t(n)}function m_(e,t){e instanceof Ut&&e.assertNotDestroyed();let n,r=Te(e),o=q(void 0);try{return t()}finally{Te(r),q(o)}}function Mu(){return iu()!==void 0||ff()!=null}function Kf(e){if(!Mu())throw new S(-203,!1)}function Jf(e){return typeof e=="function"}var me=0,w=1,m=2,L=3,ae=4,J=5,xt=6,Gt=7,V=8,St=9,he=10,F=11,Wt=12,ba=13,At=14,ee=15,tn=16,wt=17,Ie=18,Er=19,xu=20,Ne=21,zn=22,Qe=23,G=25,Ui=1;var Ze=7,rr=8,Tt=9,B=10,Gi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Gi||{});function We(e){return Array.isArray(e)&&typeof e[Ui]=="object"}function be(e){return Array.isArray(e)&&e[Ui]===!0}function Su(e){return(e.flags&4)!==0}function Cr(e){return e.componentOffset>-1}function Wi(e){return(e.flags&1)===1}function Ee(e){return!!e.template}function Xf(e){return(e[m]&512)!==0}var Ro=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Tu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function zi(){return Nu}function Nu(e){return e.type.prototype.ngOnChanges&&(e.setInput=tp),ep}zi.ngInherit=!0;function ep(){let e=Ou(this),t=e?.current;if(t){let n=e.previous;if(n===_t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function tp(e,t,n,r,o){let i=this.declaredInputs[r],s=Ou(e)||np(e,{previous:_t,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Ro(c&&c.currentValue,n,u===_t),Tu(e,t,o,n)}var Au="__ngSimpleChanges__";function Ou(e){return e[Au]||null}function np(e,t){return e[Au]=t}var _a=null;var fe=function(e,t,n){_a?.(e,t,n)},Fu="svg",rp="math",op=!1;function ip(){return op}function ge(e){for(;Array.isArray(e);)e=e[me];return e}function sp(e){for(;Array.isArray(e);){if(typeof e[Ui]=="object")return e;e=e[me]}return null}function Ru(e,t){return ge(t[e])}function te(e,t){return ge(t[e.index])}function qi(e,t){return e.data[t]}function Pu(e,t){return e[t]}function Re(e,t){let n=t[e];return We(n)?n:n[me]}function ap(e){return(e[m]&4)===4}function Yi(e){return(e[m]&128)===128}function up(e){return be(e[L])}function or(e,t){return t==null?null:e[t]}function ku(e){e[wt]=0}function cp(e){e[m]&1024||(e[m]|=1024,Yi(e)&&zt(e))}function lp(e,t){for(;e>0;)t=t[At],e--;return t}function Qi(e){return!!(e[m]&9216||e[Qe]?.dirty)}function Po(e){e[he].changeDetectionScheduler?.notify(1),Qi(e)?zt(e):e[m]&64&&(ip()?(e[m]|=1024,zt(e)):e[he].changeDetectionScheduler?.notify())}function zt(e){e[he].changeDetectionScheduler?.notify();let t=qt(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Yi(t)));)t=qt(t)}function Lu(e,t){if((e[m]&256)===256)throw new S(911,!1);e[Ne]===null&&(e[Ne]=[]),e[Ne].push(t)}function dp(e,t){if(e[Ne]===null)return;let n=e[Ne].indexOf(t);n!==-1&&e[Ne].splice(n,1)}function qt(e){let t=e[L];return be(t)?t[L]:t}var I={lFrame:qu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function fp(){return I.lFrame.elementDepthCount}function pp(){I.lFrame.elementDepthCount++}function hp(){I.lFrame.elementDepthCount--}function ju(){return I.bindingsEnabled}function Vu(){return I.skipHydrationRootTNode!==null}function gp(e){return I.skipHydrationRootTNode===e}function mp(){I.skipHydrationRootTNode=null}function E(){return I.lFrame.lView}function R(){return I.lFrame.tView}function y_(e){return I.lFrame.contextLView=e,e[V]}function D_(e){return I.lFrame.contextLView=null,e}function $(){let e=Bu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Bu(){return I.lFrame.currentTNode}function yp(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nn(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function $u(){return I.lFrame.isParent}function Hu(){I.lFrame.isParent=!1}function Dp(){return I.lFrame.contextLView}function Zi(){let e=I.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vp(e){return I.lFrame.bindingIndex=e}function Pe(){return I.lFrame.bindingIndex++}function Uu(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function wp(){return I.lFrame.inI18n}function Ip(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,ko(t)}function Ep(){return I.lFrame.currentDirectiveIndex}function ko(e){I.lFrame.currentDirectiveIndex=e}function Ki(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Gu(){return I.lFrame.currentQueryIndex}function Ji(e){I.lFrame.currentQueryIndex=e}function Cp(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[J]:null}function Wu(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Cp(i),o===null||(i=i[At],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=zu();return r.currentTNode=t,r.lView=e,!0}function Xi(e){let t=zu(),n=e[w];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zu(){let e=I.lFrame,t=e===null?null:e.child;return t===null?qu(e):t}function qu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Yu(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qu=Yu;function es(){let e=Yu();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 bp(e){return(I.lFrame.contextLView=lp(e,I.lFrame.contextLView))[V]}function ke(){return I.lFrame.selectedIndex}function Ke(e){I.lFrame.selectedIndex=e}function rn(){let e=I.lFrame;return qi(e.tView,e.selectedIndex)}function v_(){I.lFrame.currentNamespace=Fu}function w_(){_p()}function _p(){I.lFrame.currentNamespace=null}function Mp(){return I.lFrame.currentNamespace}var Zu=!0;function ts(){return Zu}function ns(e){Zu=e}function xp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Nu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function rs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[wt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,Ma(a,i)):Ma(a,i)}var bt=-1,Je=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Tp(e){return e instanceof Je}function Np(e){return(e.flags&8)!==0}function Ap(e){return(e.flags&16)!==0}function Ju(e){return e!==bt}function ir(e){return e&32767}function Op(e){return e>>16}function sr(e,t){let n=Op(e),r=t;for(;n>0;)r=r[At],n--;return r}var Lo=!0;function ar(e){let t=Lo;return Lo=e,t}var Fp=256,Xu=Fp-1,ec=5,Rp=0,pe={};function Pp(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vt)&&(r=n[Vt]),r==null&&(r=n[Vt]=Rp++);let o=r&Xu,i=1<>ec)]|=i}function ur(e,t){let n=tc(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,go(r.data,e),go(t,null),go(r.blueprint,null));let o=os(e,t),i=e.injectorIndex;if(Ju(o)){let s=ir(o),a=sr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function go(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function os(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=sc(o),r===null)return bt;if(n++,o=o[At],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return bt}function jo(e,t,n){Pp(e,t,n)}function kp(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&Ee(p)&&p.type===n)return u}return null}function Xe(e,t,n,r){let o=e[n],i=t.data;if(Tp(o)){let s=o;s.resolving&&sf(of(i[n]));let a=ar(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?q(s.injectImpl):null,l=Wu(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&xp(n,i[n],t)}finally{c!==null&&q(c),ar(a),s.resolving=!1,Qu()}}return o}function jp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Vt)?e[Vt]:void 0;return typeof t=="number"?t>=0?t&Xu:Vp:t}function xa(e,t,n){let r=1<>ec)]&r)}function Sa(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var ze=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return oc(this._tNode,this._lView,t,Ir(r),n)}};function Vp(){return new ze($(),E())}function I_(e){return vr(()=>{let t=e.prototype.constructor,n=t[Jn]||Vo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Jn]||Vo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Vo(e){return eu(e)?()=>{let t=Vo(U(e));return t&&t()}:qe(e)}function Bp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=ic(i,s,n,r|_.Self,pe);if(a!==pe)return a;let u=i.parent;if(!u){let c=s[xu];if(c){let l=c.get(n,pe,r);if(l!==pe)return l}u=sc(s),s=s[At]}i=u}return o}function sc(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[J]:null}function $p(e){return kp($(),e)}function Ta(e,t=null,n=null,r){let o=ac(e,t,n,r);return o.resolveInjectorInitializers(),o}function ac(e,t=null,n=null,r,o=new Set){let i=[n||Y,Bf(e)];return r=r||(typeof e=="object"?void 0:Q(e)),new Ut(i,t||Hi(),r||null,o)}var br=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Ta({name:""},o,r,"");{let i=r.name??"";return Ta({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Bt,t.NULL=new nr,t.\u0275prov=P({token:t,providedIn:"any",factory:()=>Z(uu)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Hp="ngOriginalError";function mo(e){return e[Hp]}var et=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&mo(t);for(;n&&mo(n);)n=mo(n);return n||null}},uc=new O("",{providedIn:"root",factory:()=>A(et).handleError.bind(void 0)}),is=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Up,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Bo=class extends is{constructor(t){super(),this._lView=t}onDestroy(t){return Lu(this._lView,t),()=>dp(this._lView,t)}};function Up(){return new Bo(E())}function Gp(){return Ot($(),E())}function Ot(e,t){return new ot(te(e,t))}var ot=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Gp;let e=t;return e})();function Wp(e){return e instanceof ot?e.nativeElement:e}var $o=class extends j{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Mu()&&(this.destroyRef=A(is,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=yo(i),o&&(o=yo(o)),s&&(s=yo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof k&&t.add(a),a}};function yo(e){return t=>{setTimeout(e,void 0,t)}}var Ge=$o;function zp(){return this._results[Symbol.iterator]()}var Ho=class e{get changes(){return this._changes??=new Ge}constructor(t=!1){this._emitDistinctChangesOnly=t,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;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=zp)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Df(t);(this._changesDetected=!yf(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function cc(e){return(e.flags&128)===128}var lc=new Map,qp=0;function Yp(){return qp++}function Qp(e){lc.set(e[Er],e)}function Zp(e){lc.delete(e[Er])}var Na="__ngContext__";function tt(e,t){We(t)?(e[Na]=t[Er],Qp(t)):e[Na]=t}function dc(e){return pc(e[Wt])}function fc(e){return pc(e[ae])}function pc(e){for(;e!==null&&!be(e);)e=e[ae];return e}var Uo;function E_(e){Uo=e}function Kp(){if(Uo!==void 0)return Uo;if(typeof document<"u")return document;throw new S(210,!1)}var C_=new O("",{providedIn:"root",factory:()=>Jp}),Jp="ng",Xp=new O(""),eh=new O("",{providedIn:"platform",factory:()=>"unknown"});var b_=new O(""),__=new O("",{providedIn:"root",factory:()=>Kp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var th="h",nh="b";var rh=()=>null;function ss(e,t,n=!1){return rh(e,t,n)}var hc=!1,oh=new O("",{providedIn:"root",factory:()=>hc});var $n;function ih(){if($n===void 0&&($n=null,Et.trustedTypes))try{$n=Et.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $n}function _r(e){return ih()?.createHTML(e)||e}var Ce=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ka})`}},Go=class extends Ce{getTypeName(){return"HTML"}},Wo=class extends Ce{getTypeName(){return"Style"}},zo=class extends Ce{getTypeName(){return"Script"}},qo=class extends Ce{getTypeName(){return"URL"}},Yo=class extends Ce{getTypeName(){return"ResourceURL"}};function as(e){return e instanceof Ce?e.changingThisBreaksApplicationSecurity:e}function M_(e,t){let n=sh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ka})`)}return n===t}function sh(e){return e instanceof Ce&&e.getTypeName()||null}function x_(e){return new Go(e)}function S_(e){return new Wo(e)}function T_(e){return new zo(e)}function N_(e){return new qo(e)}function A_(e){return new Yo(e)}function ah(e){let t=new Zo(e);return uh()?new Qo(t):t}var Qo=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(_r(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Zo=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=_r(t),n}};function uh(){try{return!!new window.DOMParser().parseFromString(_r(""),"text/html")}catch{return!1}}var ch=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function lh(e){return e=String(e),e.match(ch)?e:"unsafe:"+e}function _e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function on(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gc=_e("area,br,col,hr,img,wbr"),mc=_e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yc=_e("rp,rt"),dh=on(yc,mc),fh=on(mc,_e("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")),ph=on(yc,_e("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")),Aa=on(gc,fh,ph,dh),Dc=_e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hh=_e("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"),gh=_e("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"),mh=on(Dc,hh,gh),yh=_e("script,style,template"),Ko=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=wh(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=vh(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Oa(t).toLowerCase();if(!Aa.hasOwnProperty(n))return this.sanitizedSomething=!0,!yh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Oa(t).toLowerCase();Aa.hasOwnProperty(n)&&!gc.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Fa(t))}};function Dh(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function vh(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw vc(t);return t}function wh(e){let t=e.firstChild;if(t&&Dh(e,t))throw vc(t);return t}function Oa(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function vc(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Ih=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Eh=/([^\#-~ |!])/g;function Fa(e){return e.replace(/&/g,"&").replace(Ih,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Eh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Hn;function O_(e,t){let n=null;try{Hn=Hn||ah(e);let r=t?String(t):"";n=Hn.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Hn.getInertBodyElement(r)}while(r!==i);let a=new Ko().sanitizeChildren(Ra(n)||n);return _r(a)}finally{if(n){let r=Ra(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Ra(e){return"content"in e&&Ch(e)?e.content:null}function Ch(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var bh=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}(bh||{});function wc(e){return e instanceof Function?e():e}var cr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(cr||{}),_h;function us(e,t){return _h(e,t)}function It(e,t,n,r,o){if(r!=null){let i,s=!1;be(r)?i=r:We(r)&&(s=!0,r=r[me]);let a=ge(r);e===0&&n!==null?o==null?_c(t,n,a):lr(t,n,a,o||null,!0):e===1&&n!==null?lr(t,n,a,o||null,!0):e===2?Bh(t,a,s):e===3&&t.destroyNode(a),i!=null&&Hh(t,e,i,n,o)}}function Mh(e,t){return e.createText(t)}function xh(e,t,n){e.setValue(t,n)}function Ic(e,t,n){return e.createElement(t,n)}function Sh(e,t){Ec(e,t),t[me]=null,t[J]=null}function Th(e,t,n,r,o,i){r[me]=o,r[J]=t,xr(e,r,n,1,o,i)}function Ec(e,t){t[he].changeDetectionScheduler?.notify(1),xr(e,t,t[F],2,null,null)}function Nh(e){let t=e[Wt];if(!t)return Do(e[w],e);for(;t;){let n=null;if(We(t))n=t[Wt];else{let r=t[B];r&&(n=r)}if(!n){for(;t&&!t[ae]&&t!==e;)We(t)&&Do(t[w],t),t=t[L];t===null&&(t=e),We(t)&&Do(t[w],t),n=t&&t[ae]}t=n}}function Ah(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][ae]=t),r0&&(e[n-1][ae]=r[ae]);let i=er(e,B+t);Sh(r[w],r);let s=i[Ie];s!==null&&s.detachView(i[w]),r[L]=null,r[ae]=null,r[m]&=-129}return r}function Mr(e,t){if(!(t[m]&256)){let n=t[F];n.destroyNode&&xr(e,t,n,3,null,null),Nh(t)}}function Do(e,t){if(t[m]&256)return;let n=b(null);try{t[m]&=-129,t[m]|=256,t[Qe]&&Wr(t[Qe]),Rh(e,t),Fh(e,t),t[w].type===1&&t[F].destroy();let r=t[tn];if(r!==null&&be(t[L])){r!==t[L]&&Cc(r,t);let o=t[Ie];o!==null&&o.detachView(e)}Zp(t)}finally{b(n)}}function Fh(e,t){let n=e.cleanup,r=t[Gt];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Gt]=null);let o=t[Ne];if(o!==null){t[Ne]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===$t.None||i===$t.Emulated)return null}return te(r,n)}}function lr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function _c(e,t,n){e.appendChild(t,n)}function Pa(e,t,n,r,o){r!==null?lr(e,t,n,r,o):_c(e,t,n)}function kh(e,t,n,r){e.removeChild(t,n,r)}function cs(e,t){return e.parentNode(t)}function Lh(e,t){return e.nextSibling(t)}function Mc(e,t,n){return Vh(e,t,n)}function jh(e,t,n){return e.type&40?te(e,n):null}var Vh=jh,ka;function ls(e,t,n,r){let o=bc(e,r,t),i=t[F],s=r.parent||t[J],a=Mc(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uG&&Ac(e,t,G,!1),fe(s?2:0,o),n(r,o)}finally{Ke(i),fe(s?3:1,o)}}function Pc(e,t,n){if(Su(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Kh(e,t,n,r){let o=Gc(t);o.push(n),e.firstCreatePass&&Wc(e).push(r,o.length-1)}function Jh(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Vu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function La(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ae.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?ja(r,n,c,a,u):ja(r,n,c,a)}return r}function ja(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Xh(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function og(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Cr(n)&&dg(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ur(n,t),tt(r,t);let s=n.initialInputs;for(let a=o;a{zt(e.lView)},consumerOnSignalRead(){this.lView[Qe]=this}}),Kc=100;function Jc(e,t=!0,n=0){let r=e[he],o=r.rendererFactory,i=!1;i||o.begin?.();try{_g(e,n)}catch(s){throw t&&qc(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function _g(e,t){ti(e,t);let n=0;for(;Qi(e);){if(n===Kc)throw new S(103,!1);n++,ti(e,1)}}function Mg(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[he].inlineEffectRunner?.flush(),Xi(t);let s=null,a=null;!i&&xg(e)&&(a=Ig(t),s=Ur(a));try{ku(t),vp(e.bindingStartIndex),n!==null&&Rc(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&qn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Yn(t,d,0,null),ho(t,0)}if(Sg(t),Xc(t,0),e.contentQueries!==null&&Uc(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&qn(t,d)}else{let d=e.contentHooks;d!==null&&Yn(t,d,1),ho(t,1)}Wh(e,t);let c=e.components;c!==null&&tl(t,c,0);let l=e.viewQuery;if(l!==null&&ei(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&qn(t,d)}else{let d=e.viewHooks;d!==null&&Yn(t,d,2),ho(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[zn]){for(let d of t[zn])d();t[zn]=null}i||(t[m]&=-73)}catch(u){throw zt(t),u}finally{a!==null&&(Gr(a,s),Cg(a)),es()}}function xg(e){return e.type!==2}function Xc(e,t){for(let n=dc(e);n!==null;n=fc(n))for(let r=B;r-1&&(Yt(t,r),er(n,r))}this._attachedToViewContainer=!1}Mr(this._lView[w],this._lView)}onDestroy(t){Lu(this._lView,t)}markForCheck(){gs(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Po(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Jc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ec(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t,Po(this._lView)}},Zt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Og;let e=t;return e})(),Ng=Zt,Ag=class extends Ng{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Ar(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new nt(o)}};function Og(){return Fr($(),E())}function Fr(e,t){return e.type&4?new Ag(t,e,Ot(e,t)):null}var k_=new RegExp(`^(\\d+)*(${nh}|${th})*(.*)`);var Fg=()=>null;function Kt(e,t){return Fg(e,t)}var ni=class{},ri=class{},fr=class{};function Rg(e){let t=Error(`No component factory found for ${Q(e)}.`);return t[Pg]=e,t}var Pg="ngComponent";var oi=class{resolveComponentFactory(t){throw Rg(t)}},Rr=(()=>{let t=class t{};t.NULL=new oi;let e=t;return e})(),ii=class{},ms=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>kg();let e=t;return e})();function kg(){let e=E(),t=$(),n=Re(t.index,e);return(We(n)?n:e)[F]}var Lg=(()=>{let t=class t{};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),vo={};var Va=new Set;function an(e){Va.has(e)||(Va.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ba(...e){}function jg(){let e=typeof Et.requestAnimationFrame=="function",t=Et[e?"requestAnimationFrame":"setTimeout"],n=Et[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var ue=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ge(!1),this.onMicrotaskEmpty=new Ge(!1),this.onStable=new Ge(!1),this.onError=new Ge(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=jg().nativeRequestAnimationFrame,$g(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Vg,Ba,Ba);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Vg={};function ys(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Bg(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Et,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,si(e),e.isCheckStableRunning=!0,ys(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),si(e))}function $g(e){let t=()=>{Bg(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Hg(a))return n.invokeTask(o,i,s,a);try{return $a(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ha(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return $a(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ha(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,si(e),ys(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function si(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function $a(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ha(e){e._nesting--,ys(e)}function Hg(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var nl=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function ai(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Tc(e,n,i.join(" "))}}function Qg(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Kg;let e=t;return e})();function Kg(){let e=$();return ol(e,E())}var Jg=un,rl=class extends Jg{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ot(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){let t=os(this._hostTNode,this._hostLView);if(Ju(t)){let n=sr(t,this._hostLView),r=ir(t),o=n[w].data[r+8];return new ze(o,n)}else return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ga(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Kt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Qt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Jf(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Jt(Ye(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(s?c:this.parentInjector).get(Oe,null);D&&(i=D)}let l=Ye(u.componentType??{}),d=Kt(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,Qt(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(up(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[L],c=new rl(u,u[J],u[L]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Or(s,o,i,r),t.attachToViewContainerRef(),au(wo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ga(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Yt(this._lContainer,n);r&&(er(wo(this._lContainer),n),Mr(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Yt(this._lContainer,n);return r&&er(wo(this._lContainer),n)!=null?new nt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ga(e){return e[rr]}function wo(e){return e[rr]||(e[rr]=[])}function ol(e,t){let n,r=t[e.index];return be(r)?n=r:(n=Hc(r,t,null,e),t[e.index]=n,Nr(t,n)),em(n,t,e,r),new rl(n,e,t)}function Xg(e,t){let n=e[F],r=n.createComment(""),o=te(t,e),i=cs(n,o);return lr(n,i,r,Lh(n,o),!1),r}var em=rm,tm=()=>!1;function nm(e,t,n){return tm(e,t,n)}function rm(e,t,n,r){if(e[Ze])return;let o;n.type&8?o=ge(r):o=Xg(t,n),e[Ze]=o}var li=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},di=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=B;dt.trim())}function al(e,t,n){e.queries===null&&(e.queries=new fi),e.queries.track(new pi(t,n))}function fm(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Ds(e,t){return e.queries.getByIndex(t)}function pm(e,t){let n=e[w],r=Ds(n,t);return r.crossesNgTemplate?hi(n,e,t,[]):il(n,e,r,t)}function hm(e){return typeof e=="function"&&e[fn]!==void 0}function ul(e){return hm(e)&&typeof e.set=="function"}function gm(e){return Object.getPrototypeOf(e.prototype).constructor}function mm(e){let t=gm(e.type),n=!0,r=[e];for(;t;){let o;if(Ee(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Un(e.inputs),s.inputTransforms=Un(e.inputTransforms),s.declaredInputs=Un(e.declaredInputs),s.outputs=Un(e.outputs);let a=o.hostBindings;a&&Im(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&vm(e,u),c&&wm(e,c),ym(e,o),Zd(e.outputs,o.outputs),Ee(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ht(o.hostAttrs,n=Ht(n,o.hostAttrs))}}function Un(e){return e===_t?{}:e===Y?[]:e}function vm(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function wm(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Im(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Em(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Fe=class{},gi=class{};var mi=class extends Fe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pr(this);let o=Du(t);this._bootstrapComponents=wc(o.bootstrap),this._r3Injector=ac(t,n,[{provide:Fe,useValue:this},{provide:Rr,useValue:this.componentFactoryResolver},...r],Q(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},yi=class extends gi{constructor(t){super(),this.moduleType=t}create(t){return new mi(this.moduleType,t,[])}};var gr=class extends Fe{constructor(t){super(),this.componentFactoryResolver=new pr(this),this.instance=null;let n=new Ut([...t.providers,{provide:Fe,useValue:this},{provide:Rr,useValue:this.componentFactoryResolver}],t.parent||Hi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Cm(e,t,n=null){return new gr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var vs=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Rt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function cl(e,t,n){return e[t]=n}function K(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function bm(e,t,n,r){let o=K(e,t,n);return K(e,t+1,r)||o}function _m(e){return(e.flags&32)===32}function Mm(e,t,n,r,o,i,s,a,u){let c=t.consts,l=sn(t,e,4,s||null,or(c,a));Vc(t,n,l,or(c,u)),rs(t,l);let d=l.tView=fs(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Di(e,t,n,r,o,i,s,a){let u=E(),c=R(),l=e+G,d=c.firstCreatePass?Mm(l,c,u,t,n,r,o,i,s):c.data[l];nn(d,!1);let f=xm(c,u,d,e);ts()&&ls(c,u,f,d),tt(f,u);let p=Hc(f,u,f,d);return u[l]=p,Nr(u,p),nm(p,d,u),Wi(d)&&kc(c,u,d),s!=null&&Lc(u,d,a),Di}var xm=Sm;function Sm(e,t,n,r){return ns(!0),t[F].createComment("")}function Tm(e,t,n,r){let o=E(),i=Pe();if(K(o,i,t)){let s=R(),a=rn();fg(a,o,e,t,n,r)}return Tm}function Nm(e,t,n,r){return K(e,Pe(),n)?t+Pi(n)+r:Me}function Gn(e,t){return e<<17|t<<2}function rt(e){return e>>17&32767}function Am(e){return(e&2)==2}function Om(e,t){return e&131071|t<<17}function vi(e){return e|2}function Nt(e){return(e&131068)>>2}function Io(e,t){return e&-131069|t<<2}function Fm(e){return(e&1)===1}function wi(e){return e|1}function Rm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=rt(s),u=Nt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||en(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=rt(e[a+1]);e[r+1]=Gn(f,a),f!==0&&(e[f+1]=Io(e[f+1],r)),e[a+1]=Om(e[a+1],r)}else e[r+1]=Gn(a,0),a!==0&&(e[a+1]=Io(e[a+1],r)),a=r;else e[r+1]=Gn(u,0),a===0?a=r:e[u+1]=Io(e[u+1],r),u=r;c&&(e[r+1]=vi(e[r+1])),Wa(e,l,r,!0),Wa(e,l,r,!1),Pm(t,l,e,r,i),s=Gn(a,u),i?t.classBindings=s:t.styleBindings=s}function Pm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&en(i,t)>=0&&(n[r+1]=wi(n[r+1]))}function Wa(e,t,n,r){let o=e[n+1],i=t===null,s=r?rt(o):Nt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];km(u,t)&&(a=!0,e[s+1]=r?wi(c):vi(c)),s=r?rt(c):Nt(c)}a&&(e[n+1]=r?vi(o):wi(o))}function km(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?en(e,t)>=0:!1}var se={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Lm(e){return e.substring(se.key,se.keyEnd)}function jm(e){return Vm(e),ll(e,dl(e,0,se.textEnd))}function ll(e,t){let n=se.textEnd;return n===t?-1:(t=se.keyEnd=Bm(e,se.key=t,n),dl(e,t,n))}function Vm(e){se.key=0,se.keyEnd=0,se.value=0,se.valueEnd=0,se.textEnd=e.length}function dl(e,t,n){for(;t32;)t++;return t}function $m(e,t,n){let r=E(),o=Pe();if(K(r,o,t)){let i=R(),s=rn();Tr(i,s,r,e,t,r[F],n,!1)}return $m}function Ii(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ps(e,n,i[s],s,r)}function fl(e,t,n){return pl(e,t,n,!1),fl}function Hm(e,t){return pl(e,t,null,!0),Hm}function j_(e){Gm(Zm,Um,e,!0)}function Um(e,t){for(let n=jm(t);n>=0;n=ll(t,n))ji(e,Lm(t),!0)}function pl(e,t,n,r){let o=E(),i=R(),s=Uu(2);if(i.firstUpdatePass&&gl(i,e,s,r),t!==Me&&K(o,s,t)){let a=i.data[ke()];ml(i,a,o,o[F],e,o[s+1]=Jm(t,n),r,s)}}function Gm(e,t,n,r){let o=R(),i=Uu(2);o.firstUpdatePass&&gl(o,null,i,r);let s=E();if(n!==Me&&K(s,i,n)){let a=o.data[ke()];if(yl(a,r)&&!hl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=xo(u,n||"")),Ii(o,a,s,n,r)}else Km(o,a,s,s[F],s[i+1],s[i+1]=Qm(e,t,n),r,i)}}function hl(e,t){return t>=e.expandoStartIndex}function gl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ke()],s=hl(e,n);yl(i,r)&&t===null&&!s&&(t=!1),t=Wm(o,i,t,r),Rm(o,i,t,n,s,r)}}function Wm(e,t,n,r){let o=Ki(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Eo(null,e,t,n,r),n=Xt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Eo(o,e,t,n,r),i===null){let u=zm(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Eo(null,e,t,u[1],r),u=Xt(u,t.attrs,r),qm(e,t,r,u))}else i=Ym(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function zm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Nt(r)!==0)return e[rt(r)]}function qm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rt(o)]=r}function Ym(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===Me&&(f=d?Y:void 0);let p=d?fo(f,r):l===r?f:void 0;if(c&&!mr(p)&&(p=fo(u,r)),mr(p)&&(a=p,s))return a;let h=e[o+1];o=s?rt(h):Nt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=fo(u,r))}return a}function mr(e){return e!==void 0}function Jm(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Q(as(e)))),e}function yl(e,t){return(e.flags&(t?8:16))!==0}var Ei=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Co(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Xm(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=Co(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],p=Co(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,u),D=n(s,d),T=n(i,c);if(Object.is(T,D)){let x=n(a,f);Object.is(x,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new yr,o??=Ya(e,i,s,n),Ci(e,r,i,T))e.updateValue(i,c),i++,s++;else if(o.has(T))r.set(h,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=a;)qa(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=Co(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new yr,o??=Ya(e,i,s,n);let f=n(i,l);if(Ci(e,r,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,e.detach(i)),s--}}}for(;!u.done;)qa(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function Ci(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function qa(e,t,n,r,o){if(Ci(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ya(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var yr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function V_(e,t,n){an("NgControlFlow");let r=E(),o=Pe(),i=xi(r,G+e),s=0;if(K(r,o,t)){let a=b(null);try{if(Qc(i,s),t!==-1){let u=Si(r[w],G+t),c=Kt(i,u.tView.ssrId),l=Ar(r,u,n,{dehydratedView:c});Or(i,l,s,Qt(u,c))}}finally{b(a)}}else{let a=Yc(i,s);a!==void 0&&(a[V]=n)}}var bi=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};function B_(e){return e}function $_(e,t){return t}var _i=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function H_(e,t,n,r,o,i,s,a,u,c,l,d,f){an("NgControlFlow");let p=u!==void 0,h=E(),D=a?s.bind(h[ee][V]):s,T=new _i(p,D);h[G+e]=T,Di(e+1,t,n,r,o,i),p&&Di(e+2,u,c,l,d,f)}var Mi=class extends Ei{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-B}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[xt];this.needsIndexUpdate||=t!==this.length,Or(this.lContainer,n,t,Qt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,ey(this.lContainer,t)}create(t,n){let r=Kt(this.lContainer,this.templateTNode.tView.ssrId);return Ar(this.hostLView,this.templateTNode,new bi(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Mr(t[w],t)}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(ns(!0),Ic(r,o,Mp()));function G_(){return E()}function iy(e,t,n){let r=E(),o=Pe();if(K(r,o,t)){let i=R(),s=rn();Tr(i,s,r,e,t,r[F],n,!0)}return iy}function sy(e,t,n){let r=E(),o=Pe();if(K(r,o,t)){let i=R(),s=rn(),a=Ki(i.data),u=zc(a,s,r);Tr(i,s,r,e,t,u,n,!0)}return sy}var Dr="en-US";var ay=Dr;function uy(e){typeof e=="string"&&(ay=e.toLowerCase().replace(/_/g,"-"))}function cy(e,t,n,r){let o=E(),i=R(),s=$();return ws(i,o,o[F],s,e,t,r),cy}function ly(e,t){let n=$(),r=E(),o=R(),i=Ki(o.data),s=zc(i,n,r);return ws(o,r,s,n,e,t),ly}function dy(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function ws(e,t,n,r,o,i,s){let a=Wi(r),c=e.firstCreatePass&&Wc(e),l=t[V],d=Gc(t),f=!0;if(r.type&3||s){let D=te(r,t),T=s?s(D):D,x=d.length,X=s?De=>s(ge(De[r.index])):r.index,W=null;if(!s&&a&&(W=dy(e,t,o,r.index)),W!==null){let De=W.__ngLastListenerFn__||W;De.__ngNextListenerFn__=i,W.__ngLastListenerFn__=i,f=!1}else{i=Za(r,t,l,i,!1);let De=n.listen(T,o,i);d.push(i,De),c&&c.push(o,X,x,x+1)}}else i=Za(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let D=h.length;if(D)for(let T=0;T-1?Re(e.index,t):t;gs(a);let u=Qa(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Qa(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function W_(e=1){return bp(e)}function fy(e,t){let n=null,r=Sf(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function J_(e){let t=Dp();return Pu(t,G+e)}function X_(e,t=""){let n=E(),r=R(),o=e+G,i=r.firstCreatePass?sn(r,o,1,t,null):r.data[o],s=hy(r,n,i,t,e);n[o]=s,ts()&&ls(r,n,s,i),nn(i,!1)}var hy=(e,t,n,r,o)=>(ns(!0),Mh(t[F],r));function gy(e){return wl("",e,""),gy}function wl(e,t,n){let r=E(),o=Nm(r,e,t,n);return o!==Me&&mg(r,ke(),o),wl}function my(e,t,n){ul(t)&&(t=t());let r=E(),o=Pe();if(K(r,o,t)){let i=R(),s=rn();Tr(i,s,r,e,t,r[F],n,!1)}return my}function eM(e,t){let n=ul(e);return n&&e.set(t),n}function yy(e,t){let n=E(),r=R(),o=$();return ws(r,n,n[F],o,e,t),yy}function Dy(e,t,n){let r=R();if(r.firstCreatePass){let o=Ee(e);Ti(n,r.data,r.blueprint,o,!0),Ti(t,r.data,r.blueprint,o,!1)}}function Ti(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(Mt(e)||!e.multi){let p=new Je(c,o,xe),h=_o(u,t,o?l:l+f,d);h===-1?(jo(ur(a,s),i,u),bo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=_o(u,t,l+f,d),h=_o(u,t,l,l+f),D=p>=0&&n[p],T=h>=0&&n[h];if(o&&!T||!o&&!D){jo(ur(a,s),i,u);let x=Iy(o?wy:vy,n.length,o,r,c);!o&&T&&(n[h].providerFactory=x),bo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=Il(n[o?h:p],c,!o&&r);bo(i,e,p>-1?p:h,x)}!o&&r&&T&&n[h].componentProviders++}}}function bo(e,t,n,r){let o=Mt(t),i=Gf(t);if(o||i){let u=(i?U(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Il(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _o(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Dy(r,o?o(e):e,t)}}var Ey=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Iu(!1,r.type),i=o.length>0?Cm([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=P({token:t,providedIn:"environment",factory:()=>new t(Z(Oe))});let e=t;return e})();function nM(e){an("NgStandalone"),e.getStandaloneInjector=t=>t.get(Ey).getOrCreateStandaloneInjector(e)}function rM(e,t,n,r){return Cl(E(),Zi(),e,t,n,r)}function oM(e,t,n,r,o){return Cy(E(),Zi(),e,t,n,r,o)}function El(e,t){let n=e[t];return n===Me?void 0:n}function Cl(e,t,n,r,o,i){let s=t+n;return K(e,s,o)?cl(e,s+1,i?r.call(i,o):r(o)):El(e,s+1)}function Cy(e,t,n,r,o,i,s){let a=t+n;return bm(e,a,o,i)?cl(e,a+2,s?r.call(s,o,i):r(o,i)):El(e,a+2)}function iM(e,t){let n=R(),r,o=e+G;n.firstCreatePass?(r=by(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=qe(r.type,!0)),s,a=q(xe);try{let u=ar(!1),c=i();return ar(u),py(n,E(),o,c),c}finally{q(a)}}function by(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function sM(e,t,n){let r=e+G,o=E(),i=Pu(o,r);return _y(o,r)?Cl(o,Zi(),t,i.transform,n,i):i.transform(n)}function _y(e,t){return e[w].data[t].pure}function aM(e,t){return Fr(e,t)}var uM=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var My=new O("");function Pr(e){return!!e&&typeof e.then=="function"}function Is(e){return!!e&&typeof e.subscribe=="function"}var xy=new O(""),bl=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=A(xy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Pr(s))r.push(s);else if(Is(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Sy=new O("");function Ty(){Fs(()=>{throw new S(600,!1)})}function Ny(e){return e.isBoundToModule}function Ay(e,t,n){try{let r=n();return Pr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var _l=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=A(uc),this.afterRenderEffectManager=A(nl),this.externalTestViews=new Set,this.beforeRender=new j,this.afterTick=new j,this.componentTypes=[],this.components=[],this.isStable=A(vs).hasPendingTasks.pipe(de(r=>!r)),this._injector=A(Oe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof fr;if(!this._injector.get(bl).done){let p=!i&&Lf(r),h=!1;throw new S(405,h)}let a;i?a=r:a=this._injector.get(Rr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Ny(a)?void 0:this._injector.get(Fe),c=o||a.selector,l=a.create(br.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(My,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Mo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,b(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Kc)throw new S(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)Oy(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ai(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ai(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Mo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Sy,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Mo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Mo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Oy(e,t,n){!t&&!Ai(e)||Fy(e,n,t)}function Ai(e){return Qi(e)}function Fy(e,t,n){let r;n?(r=0,e[m]|=1024):e[m]&64?r=0:r=1,Jc(e,t,r)}var Oi=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},cM=(()=>{let t=class t{compileModuleSync(r){return new yi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Du(r),s=wc(i.declarations).reduce((a,u)=>{let c=Ye(u);return c&&a.push(new Jt(c)),a},[]);return new Oi(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ry=(()=>{let t=class t{constructor(){this.zone=A(ue),this.applicationRef=A(_l)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Py(e){return[{provide:ue,useFactory:e},{provide:tr,multi:!0,useFactory:()=>{let t=A(Ry,{optional:!0});return()=>t.initialize()}},{provide:tr,multi:!0,useFactory:()=>{let t=A(Vy);return()=>{t.initialize()}}},{provide:uc,useFactory:ky}]}function ky(){let e=A(ue),t=A(et);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Ly(e){let t=Py(()=>new ue(jy(e)));return Vf([[],t])}function jy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Vy=(()=>{let t=class t{constructor(){this.subscription=new k,this.initialized=!1,this.zone=A(ue),this.pendingTasks=A(vs)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function By(){return typeof $localize<"u"&&$localize.locale||Dr}var Es=new O("",{providedIn:"root",factory:()=>A(Es,_.Optional|_.SkipSelf)||By()});var Ml=new O("");var Kn=null;function $y(e=[],t){return br.create({name:t,providers:[{provide:bu,useValue:"platform"},{provide:Ml,useValue:new Set([()=>Kn=null])},...e]})}function Hy(e=[]){if(Kn)return Kn;let t=$y(e);return Kn=t,Ty(),Uy(t),t}function Uy(e){e.get(Xp,null)?.forEach(n=>n())}function lM(){return!1}var kr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Gy;let e=t;return e})();function Gy(e){return Wy($(),E(),(e&16)===16)}function Wy(e,t,n){if(Cr(e)&&!n){let r=Re(e.index,t);return new nt(r,r)}else if(e.type&47){let r=t[ee];return new nt(r,t)}return null}function dM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Hy(r),i=[Ly(),...n||[]],a=new gr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(ue);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(et,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Ml);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),Ay(c,u,()=>{let p=a.get(bl);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Es,Dr);uy(h||Dr);let D=a.get(_l);return t!==void 0&&D.bootstrap(t),D})})})}catch(t){return Promise.reject(t)}}function zy(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function qy(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Cs(e){let t=b(null);try{return e()}finally{b(t)}}var Yy=new O("",{providedIn:"root",factory:()=>A(Qy)}),Qy=(()=>{let t=class t{};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>new Fi});let e=t;return e})(),Fi=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=A(vs),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Ri=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Rs(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(et,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Zy(e,t){an("NgSignals"),!t?.injector&&Kf(Zy);let n=t?.injector??A(br),r=t?.manualCleanup!==!0?n.get(is):null,o=new Ri(n.get(Yy),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(kr,null,{optional:!0});return!i||!(i._lView[m]&8)?o.watcher.notify():(i._lView[zn]??=[]).push(o.watcher.notify),o}var Ol=null;function bs(){return Ol}function PM(e){Ol??=e}var xl=class{};var Fl=new O(""),Rl=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>A(Jy),providedIn:"platform"});let e=t;return e})();var Jy=(()=>{let t=class t extends Rl{constructor(){super(),this._doc=A(Fl),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bs().getBaseHref(this._doc)}onPopState(r){let o=bs().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=bs().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Pl(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Sl(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function it(e){return e&&e[0]!=="?"?"?"+e:e}var Ss=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>A(eD),providedIn:"root"});let e=t;return e})(),Xy=new O(""),eD=(()=>{let t=class t extends Ss{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??A(Fl).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Pl(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+it(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+it(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+it(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(Z(Rl),Z(Xy,8))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var tD=(()=>{let t=class t{constructor(r){this._subject=new Ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=oD(Sl(Tl(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+it(o))}normalize(r){return t.stripTrailingSlash(rD(this._basePath,Tl(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+it(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+it(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=it,t.joinWithSlash=Pl,t.stripTrailingSlash=Sl,t.\u0275fac=function(o){return new(o||t)(Z(Ss))},t.\u0275prov=P({token:t,factory:()=>nD(),providedIn:"root"});let e=t;return e})();function nD(){return new tD(Z(Ss))}function rD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Tl(e){return e.replace(/\/index.html$/,"")}function oD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function kM(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var _s=/\s+/,Nl=[],LM=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=Nl,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(_s):Nl}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(_s):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(_s).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(xe(ot),xe(ms))},t.\u0275dir=Bi({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Ae.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var jM=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(xe(un))},t.\u0275dir=Bi({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[zi]});let e=t;return e})();function iD(e,t){return new S(2100,!1)}var Ms=class{createSubscription(t,n){return Cs(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Cs(()=>t.unsubscribe())}},xs=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},sD=new xs,aD=new Ms,VM=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(Pr(r))return sD;if(Is(r))return aD;throw iD(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(xe(kr,16))},t.\u0275pipe=gu({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var BM=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=hu({type:t}),t.\u0275inj=tu({});let e=t;return e})(),uD="browser",cD="server";function $M(e){return e===uD}function HM(e){return e===cD}var Al=class{};var ye=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}(ye||{}),WM="*";function zM(e,t){return{type:ye.Trigger,name:e,definitions:t,options:{}}}function qM(e,t=null){return{type:ye.Animate,styles:t,timings:e}}function YM(e,t=null){return{type:ye.Group,steps:e,options:t}}function QM(e,t=null){return{type:ye.Sequence,steps:e,options:t}}function ZM(e){return{type:ye.Style,styles:e,offset:null}}function KM(e,t,n){return{type:ye.State,name:e,styles:t,options:n}}function JM(e,t,n=null){return{type:ye.Transition,expr:e,animation:t,options:n}}function XM(e=null){return{type:ye.AnimateChild,options:e}}function ex(e,t,n=null){return{type:ye.Query,selector:e,animation:t,options:n}}var kl=class{constructor(t=0,n=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+n}_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(){queueMicrotask(()=>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){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ll=class{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 n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&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){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},tx="!";export{ut as a,ct as b,lD as c,dD as d,fD as e,k as f,rd as g,C as h,no as i,Ft as j,j as k,Rt as l,$e as m,le as n,pd as o,hd as p,gd as q,Ue as r,de as s,Cd as t,oe as u,yt as v,_d as w,Md as x,oo as y,Lt as z,Fd as A,Rd as B,Se as C,Pd as D,io as E,kd as F,jd as G,jt as H,Dt as I,so as J,Vd as K,Bd as L,Ud as M,la as N,uo as O,Gd as P,Wd as Q,zd as R,lo as S,qd as T,Yd as U,fa as V,pa as W,Qd as X,ha as Y,S as Z,Xa as _,P as $,tu as aa,h_ as ba,O as ca,_ as da,Z as ea,A as fa,$t as ga,Ae as ha,g_ as ia,hu as ja,Bi as ka,Vf as la,bu as ma,Oe as na,m_ as oa,zi as pa,y_ as qa,D_ as ra,v_ as sa,w_ as ta,I_ as ua,$p as va,br as wa,et as xa,ot as ya,Ge as za,Ho as Aa,E_ as Ba,C_ as Ca,Xp as Da,eh as Ea,b_ as Fa,__ as Ga,as as Ha,M_ as Ia,x_ as Ja,S_ as Ka,T_ as La,N_ as Ma,A_ as Na,lh as Oa,O_ as Pa,bh as Qa,cr as Ra,F_ as Sa,xe as Ta,R_ as Ua,Zt as Va,ni as Wa,Rr as Xa,ii as Ya,ms as Za,an as _a,ue as $a,un as ab,hm as bb,mm as cb,Em as db,gi as eb,Cm as fb,vs as gb,Di as hb,Tm as ib,$m as jb,fl as kb,Hm as lb,j_ as mb,V_ as nb,B_ as ob,$_ as pb,H_ as qb,U_ as rb,Dl as sb,vl as tb,ry as ub,G_ as vb,iy as wb,sy as xb,cy as yb,ly as zb,W_ as Ab,z_ as Bb,q_ as Cb,Y_ as Db,Q_ as Eb,Z_ as Fb,K_ as Gb,J_ as Hb,X_ as Ib,gy as Jb,wl as Kb,my as Lb,eM as Mb,yy as Nb,tM as Ob,nM as Pb,rM as Qb,oM as Rb,iM as Sb,sM as Tb,aM as Ub,uM as Vb,Pr as Wb,xy as Xb,Sy as Yb,_l as Zb,cM as _b,lM as $b,kr as ac,dM as bc,zy as cc,qy as dc,Zy as ec,bs as fc,PM as gc,xl as hc,Fl as ic,tD as jc,kM as kc,LM as lc,jM as mc,VM as nc,BM as oc,uD as pc,$M as qc,HM as rc,Al as sc,ye as tc,WM as uc,zM as vc,qM as wc,YM as xc,QM as yc,ZM as zc,KM as Ac,JM as Bc,XM as Cc,ex as Dc,kl as Ec,Ll as Fc,tx as Gc}; diff --git a/chunk-V2HD7OKB.js b/chunk-V2HD7OKB.js deleted file mode 100644 index f8c6221..0000000 --- a/chunk-V2HD7OKB.js +++ /dev/null @@ -1,7 +0,0 @@ -var Vl=Object.defineProperty,Bl=Object.defineProperties;var $l=Object.getOwnPropertyDescriptors;var cn=Object.getOwnPropertySymbols;var Ss=Object.prototype.hasOwnProperty,Ts=Object.prototype.propertyIsEnumerable;var xs=(e,t,n)=>t in e?Vl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ut=(e,t)=>{for(var n in t||={})Ss.call(t,n)&&xs(e,n,t[n]);if(cn)for(var n of cn(t))Ts.call(t,n)&&xs(e,n,t[n]);return e},ct=(e,t)=>Bl(e,$l(t));var iD=(e,t)=>{var n={};for(var r in e)Ss.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cn)for(var r of cn(e))t.indexOf(r)<0&&Ts.call(e,r)&&(n[r]=e[r]);return n};var Ns=null,ln=!1,jr=1,fn=Symbol("SIGNAL");function b(e){let t=Ns;return Ns=e,t}function Hl(){return ln}var Br={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 Ul(e){if(!(Wr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===jr)){if(!e.producerMustRecompute(e)&&!pn(e)){e.dirty=!1,e.lastCleanEpoch=jr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=jr}}function Gl(e){if(e.liveConsumerNode===void 0)return;let t=ln;ln=!0;try{for(let n of e.liveConsumerNode)n.dirty||As(n)}finally{ln=t}}function As(e){e.dirty=!0,Gl(e),e.consumerMarkedDirty?.(e)}function $r(e){return e&&(e.nextProducerIndex=0),b(e)}function Hr(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Wr(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function pn(e){dn(e);for(let t=0;t0}function dn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function zl(){throw new Error}var ql=zl;function Os(e){ql=e}function Fs(e,t,n){let r=Object.create(Yl);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(Ur(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Vr)}let a=()=>{if(r.fn===null)return;if(Hl())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!pn(r))return;r.hasRun=!0;let u=$r(r);try{r.cleanupFn(),r.cleanupFn=Vr,r.fn(o)}finally{Hr(r,u)}};return r.ref={notify:()=>As(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[fn]:r},r.ref}var Vr=()=>{},Yl=ct(ut({},Br),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Vr});function g(e){return typeof e=="function"}function lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var hn=lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Le(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var k=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof hn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Rs(i)}catch(s){t=t??[],s instanceof hn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new hn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Rs(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Le(n,t)}remove(t){let{_finalizers:n}=this;n&&Le(n,t),t instanceof e&&t._removeParent(this)}};k.EMPTY=(()=>{let e=new k;return e.closed=!0,e})();var zr=k.EMPTY;function gn(e){return e instanceof k||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Rs(e){g(e)?e():e.unsubscribe()}var re={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dt={setTimeout(e,t,...n){let{delegate:r}=dt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=dt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function mn(e){dt.setTimeout(()=>{let{onUnhandledError:t}=re;if(t)t(e);else throw e})}function ve(){}var Ps=qr("C",void 0,void 0);function ks(e){return qr("E",void 0,e)}function Ls(e){return qr("N",e,void 0)}function qr(e,t,n){return{kind:e,value:t,error:n}}var je=null;function ft(e){if(re.useDeprecatedSynchronousErrorHandling){let t=!je;if(t&&(je={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=je;if(je=null,n)throw r}}else e()}function js(e){re.useDeprecatedSynchronousErrorHandling&&je&&(je.errorThrown=!0,je.error=e)}var Ve=class extends k{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gn(t)&&t.add(this)):this.destination=Kl}static create(t,n,r){return new we(t,n,r)}next(t){this.isStopped?Qr(Ls(t),this):this._next(t)}error(t){this.isStopped?Qr(ks(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Qr(Ps,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()}}},Ql=Function.prototype.bind;function Yr(e,t){return Ql.call(e,t)}var Zr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){yn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){yn(r)}else yn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){yn(n)}}},we=class extends Ve{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&re.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Yr(t.next,i),error:t.error&&Yr(t.error,i),complete:t.complete&&Yr(t.complete,i)}):o=t}this.destination=new Zr(o)}};function yn(e){re.useDeprecatedSynchronousErrorHandling?js(e):mn(e)}function Zl(e){throw e}function Qr(e,t){let{onStoppedNotification:n}=re;n&&dt.setTimeout(()=>n(e,t))}var Kl={closed:!0,next:ve,error:Zl,complete:ve};var pt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function H(e){return e}function Jl(...e){return Kr(e)}function Kr(e){return e.length===0?H:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var C=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=ed(n)?n:new we(n,r,o);return ft(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Vs(r),new r((o,i)=>{let s=new we({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[pt](){return this}pipe(...n){return Kr(n)(this)}toPromise(n){return n=Vs(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Vs(e){var t;return(t=e??re.Promise)!==null&&t!==void 0?t:Promise}function Xl(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function ed(e){return e&&e instanceof Ve||Xl(e)&&gn(e)}function Jr(e){return g(e?.lift)}function y(e){return t=>{if(Jr(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(e,t,n,r,o){return new Xr(e,t,n,r,o)}var Xr=class extends Ve{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function eo(){return y((e,t)=>{let n=null;e._refCount++;let r=v(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ft=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Jr(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new k;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=k.EMPTY)}return t}refCount(){return eo()(this)}};var Bs=lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var j=(()=>{class e extends C{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Dn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Bs}next(n){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?zr:(this.currentObservers=null,i.push(n),new k(()=>{this.currentObservers=null,Le(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new C;return n.source=this,n}}return e.create=(t,n)=>new Dn(t,n),e})(),Dn=class extends j{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:zr}};var Rt=class extends j{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Pt={now(){return(Pt.delegate||Date).now()},delegate:void 0};var vn=class extends j{constructor(t=1/0,n=1/0,r=Pt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function Cn(e){return e&&g(e.schedule)}function to(e){return e[e.length-1]}function bn(e){return g(to(e))?e.pop():void 0}function ce(e){return Cn(to(e))?e.pop():void 0}function Hs(e,t){return typeof to(e)=="number"?e.pop():t}function Gs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Us(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function He(e){return this instanceof He?(this.v=e,this):new He(e)}function Ws(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,D){i.push([f,p,h,D])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof He?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function zs(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Us=="function"?Us(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var gt=e=>e&&typeof e.length=="number"&&typeof e!="function";function _n(e){return g(e?.then)}function Mn(e){return g(e[pt])}function xn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function Sn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function td(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Tn=td();function Nn(e){return g(e?.[Tn])}function An(e){return Ws(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield He(n.read());if(o)return yield He(void 0);yield yield He(r)}}finally{n.releaseLock()}})}function On(e){return g(e?.getReader)}function M(e){if(e instanceof C)return e;if(e!=null){if(Mn(e))return nd(e);if(gt(e))return rd(e);if(_n(e))return od(e);if(xn(e))return qs(e);if(Nn(e))return id(e);if(On(e))return sd(e)}throw Sn(e)}function nd(e){return new C(t=>{let n=e[pt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function rd(e){return new C(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,mn)})}function id(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function qs(e){return new C(t=>{ad(e,t).catch(n=>t.error(n))})}function sd(e){return qs(An(e))}function ad(e,t){var n,r,o,i;return Gs(this,void 0,void 0,function*(){try{for(n=zs(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function z(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Fn(e,t=0){return y((n,r)=>{n.subscribe(v(r,o=>z(r,e,()=>r.next(o),t),()=>z(r,e,()=>r.complete(),t),o=>z(r,e,()=>r.error(o),t)))})}function Rn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ys(e,t){return M(e).pipe(Rn(t),Fn(t))}function Qs(e,t){return M(e).pipe(Rn(t),Fn(t))}function Zs(e,t){return new C(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ks(e,t){return new C(n=>{let r;return z(n,t,()=>{r=e[Tn](),z(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Pn(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{z(n,t,()=>{let r=e[Symbol.asyncIterator]();z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Js(e,t){return Pn(An(e),t)}function Xs(e,t){if(e!=null){if(Mn(e))return Ys(e,t);if(gt(e))return Zs(e,t);if(_n(e))return Qs(e,t);if(xn(e))return Pn(e,t);if(Nn(e))return Ks(e,t);if(On(e))return Js(e,t)}throw Sn(e)}function le(e,t){return t?Xs(e,t):M(e)}function ud(...e){let t=ce(e);return le(e,t)}function cd(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function ld(e){return!!e&&(e instanceof C||g(e.lift)&&g(e.subscribe))}var Ue=lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ea(e){return e instanceof Date&&!isNaN(e)}function de(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:dd}=Array;function fd(e,t){return dd(t)?e(...t):e(t)}function mt(e){return de(t=>fd(e,t))}var{isArray:pd}=Array,{getPrototypeOf:hd,prototype:gd,keys:md}=Object;function kn(e){if(e.length===1){let t=e[0];if(pd(t))return{args:t,keys:null};if(yd(t)){let n=md(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yd(e){return e&&typeof e=="object"&&hd(e)===gd}function Ln(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Dd(...e){let t=ce(e),n=bn(e),{args:r,keys:o}=kn(e);if(r.length===0)return le([],t);let i=new C(vd(r,t,o?s=>Ln(o,s):H));return n?i.pipe(mt(n)):i}function vd(e,t,n=H){return r=>{ta(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=le(e[u],t),l=!1;c.subscribe(v(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ta(e,t,n){e?z(n,e,t):t()}function na(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=D=>c{i&&t.next(D),c++;let T=!1;M(n(D,l++)).subscribe(v(t,x=>{o?.(x),i?p(x):t.next(x)},()=>{T=!0},void 0,()=>{if(T)try{for(c--;u.length&&ch(x)):h(x)}f()}catch(x){t.error(x)}}))};return e.subscribe(v(t,p,()=>{d=!0,f()})),()=>{a?.()}}function oe(e,t,n=1/0){return g(t)?oe((r,o)=>de((i,s)=>t(r,i,o,s))(M(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>na(r,o,e,n)))}function jn(e=1/0){return oe(H,e)}function ra(){return jn(1)}function yt(...e){return ra()(le(e,ce(e)))}function wd(e){return new C(t=>{M(e()).subscribe(t)})}function Id(...e){let t=bn(e),{args:n,keys:r}=kn(e),o=new C(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Ln(r,a):a),i.complete())}))}});return t?o.pipe(mt(t)):o}var Ed=["addListener","removeListener"],Cd=["addEventListener","removeEventListener"],bd=["on","off"];function no(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return no(e,t,n).pipe(mt(r));let[o,i]=xd(e)?Cd.map(s=>a=>e[s](t,a,n)):_d(e)?Ed.map(oa(e,t)):Md(e)?bd.map(oa(e,t)):[];if(!o&>(e))return oe(s=>no(s,t,n))(M(e));if(!o)throw new TypeError("Invalid event target");return new C(s=>{let a=(...u)=>s.next(1i(a)})}function oa(e,t){return n=>r=>e[n](t,r)}function _d(e){return g(e.addListener)&&g(e.removeListener)}function Md(e){return g(e.on)&&g(e.off)}function xd(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Lt(e=0,t,n=$s){let r=-1;return t!=null&&(Cn(t)?n=t:r=t),new C(o=>{let i=ea(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Sd(...e){let t=ce(e),n=Hs(e,1/0),r=e;return r.length?r.length===1?M(r[0]):jn(n)(le(r,t)):$e}var Td=new C(ve);function Se(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ia(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(v(n,c=>{r=!0,o=c,i||M(e(c)).subscribe(i=v(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Nd(e,t=Be){return ia(()=>Lt(e,t))}function ro(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=M(e(s,ro(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function sa(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(v(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Ad(e,t){return g(t)?oe(e,t,1):oe(e,1)}function aa(e){return new C(t=>e.subscribe(t))}var Od={connector:()=>new j};function Vn(e,t=Od){let{connector:n}=t;return y((r,o)=>{let i=n();M(e(aa(i))).subscribe(o),o.add(r.subscribe(i))})}function Fd(e,t=Be){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function jt(e){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Dt(e){return e<=0?()=>$e:y((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ua(){return y((e,t)=>{e.subscribe(v(t,ve))})}function oo(e){return de(()=>e)}function io(e,t){return t?n=>yt(t.pipe(Dt(1),ua()),n.pipe(io(e))):oe((n,r)=>M(e(n,r)).pipe(Dt(1),oo(n)))}function Rd(e,t=Be){let n=Lt(e,t);return io(()=>n)}function Pd(e,t=H){return e=e??kd,y((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function kd(e,t){return e===t}function Bn(e=Ld){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ld(){return new Ue}function jd(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ca(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Se((o,i)=>e(o,i,r)):H,Dt(1),n?jt(t):Bn(()=>new Ue))}function so(e){return e<=0?()=>$e:y((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Vd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Se((o,i)=>e(o,i,r)):H,so(1),n?jt(t):Bn(()=>new Ue))}function la(e,t){let n=g(e)?e:()=>e;return g(t)?Vn(t,{connector:n}):r=>new Ft(r,n)}function Bd(e){return e?t=>Vn(e)(t):t=>la(new j)(t)}function $d(e,t){return y(sa(e,t,arguments.length>=2,!0))}function uo(e={}){let{connector:t=()=>new j,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let D=s;p(),D?.unsubscribe()};return y((D,T)=>{c++,!d&&!l&&f();let x=u=u??t();T.add(()=>{c--,c===0&&!d&&!l&&(a=ao(h,o))}),x.subscribe(T),!s&&c>0&&(s=new we({next:X=>x.next(X),error:X=>{d=!0,f(),a=ao(p,n,X),x.error(X)},complete:()=>{l=!0,f(),a=ao(p,r),x.complete()}}),M(D).subscribe(s))})(i)}}function ao(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new we({next:()=>{r.unsubscribe(),e()}});return M(t(...n)).subscribe(r)}function Hd(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,uo({connector:()=>new vn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ud(e){return Se((t,n)=>e<=n)}function da(...e){let t=ce(e);return y((n,r)=>{(t?yt(e,n,t):yt(e,n)).subscribe(r)})}function fa(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,u=>{o?.unsubscribe();let c=0,l=i++;M(e(u,l)).subscribe(o=v(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Gd(e){return y((t,n)=>{M(e).subscribe(v(n,()=>n.complete(),ve)),!n.closed&&t.subscribe(n)})}function pa(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):H}var Za="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(Ka(t,n)),this.code=t}};function Ka(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function vr(e){return{toString:e}.toString()}var Et=globalThis;function N(e){for(let t in e)if(e[t]===N)return t;throw Error("Could not find renamed property on target object.")}function Wd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function _o(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var zd=N({__forward_ref__:N});function Ja(e){return e.__forward_ref__=Ja,e.toString=function(){return Q(this())},e}function U(e){return Xa(e)?e():e}function Xa(e){return typeof e=="function"&&e.hasOwnProperty(zd)&&e.__forward_ref__===Ja}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function eu(e){return{providers:e.providers||[],imports:e.imports||[]}}function wr(e){return ha(e,tu)||ha(e,nu)}function a_(e){return wr(e)!==null}function ha(e,t){return e.hasOwnProperty(t)?e[t]:null}function qd(e){let t=e&&(e[tu]||e[nu]);return t||null}function ga(e){return e&&(e.hasOwnProperty(ma)||e.hasOwnProperty(Yd))?e[ma]:null}var tu=N({\u0275prov:N}),ma=N({\u0275inj:N}),nu=N({ngInjectableDef:N}),Yd=N({ngInjectorDef:N}),O=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ru(e){return e&&!!e.\u0275providers}var Qd=N({\u0275cmp:N}),Zd=N({\u0275dir:N}),Kd=N({\u0275pipe:N}),Jd=N({\u0275mod:N}),Jn=N({\u0275fac:N}),Vt=N({__NG_ELEMENT_ID__:N}),ya=N({__NG_ENV_ID__:N});function Fi(e){return typeof e=="string"?e:e==null?"":String(e)}function Xd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Fi(e)}function ef(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function Ri(e,t){throw new S(-201,!1)}var _=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}(_||{}),Mo;function ou(){return Mo}function q(e){let t=Mo;return Mo=e,t}function iu(e,t,n){let r=wr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;Ri(e,"Injector")}var tf={},Bt=tf,nf="__NG_DI_FLAG__",Xn="ngTempTokenPath",rf="ngTokenPath",of=/\n/gm,sf="\u0275",Da="__source",Ct;function af(){return Ct}function Te(e){let t=Ct;return Ct=e,t}function uf(e,t=_.Default){if(Ct===void 0)throw new S(-203,!1);return Ct===null?iu(e,void 0,t):Ct.get(e,t&_.Optional?null:void 0,t)}function Z(e,t=_.Default){return(ou()||uf)(U(e),t)}function A(e,t=_.Default){return Z(e,Ir(t))}function Ir(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xo(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(of,` - `)}`}function qe(e,t){let n=e.hasOwnProperty(Jn);return n?e[Jn]:null}function ff(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Pi(n,t):t(n))}function su(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function er(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hf(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ki(e,t,n){let r=en(e,t);return r>=0?e[r|1]=n:(r=~r,gf(e,r,t,n)),r}function co(e,t){let n=en(e,t);if(n>=0)return e[n|1]}function en(e,t){return mf(e,t,1)}function mf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ie(r))return!1;s=!0}}}}return ie(r)||s}function ie(e){return(e&1)===0}function Ef(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ie(s)&&(t+=wa(i,o),o=""),r=s,i=i||!ie(r);n++}return o!==""&&(t+=wa(i,o)),t}function Sf(e){return e.map(xf).join(",")}function Tf(e){let t=[],n=[],r=1,o=2;for(;r{let t=Du(e),n=ct(ut({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===cu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$t.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});vu(n);let r=e.dependencies;return n.directiveDefs=Ea(r,!1),n.pipeDefs=Ea(r,!0),n.id=Ff(n),n})}function Nf(e){return Ye(e)||gu(e)}function Af(e){return e!==null}function pu(e){return vr(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ia(e,t){if(e==null)return _t;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ae.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ae.None?[r,a]:r,t[i]=s):n[i]=r}return n}function ji(e){return vr(()=>{let t=Du(e);return vu(t),t})}function hu(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ye(e){return e[Qd]||null}function gu(e){return e[Zd]||null}function mu(e){return e[Kd]||null}function Of(e){let t=Ye(e)||gu(e)||mu(e);return t!==null?t.standalone:!1}function yu(e,t){let n=e[Jd]||null;if(!n&&t===!0)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}function Du(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||_t,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ia(e.inputs,t),outputs:Ia(e.outputs),debugInfo:null}}function vu(e){e.features?.forEach(t=>t(e))}function Ea(e,t){if(!e)return null;let n=t?mu:Nf;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Af)}function Ff(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Rf(e){return{\u0275providers:e}}function Pf(...e){return{\u0275providers:wu(!0,e),\u0275fromNgModule:!0}}function wu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Pi(t,s=>{let a=s;To(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Iu(o,i),n}function Iu(e,t){for(let n=0;n{t(i,r)})}}function To(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=ga(e),s=!i&&Ye(e);if(!i&&!s){let u=e.ngModule;if(i=ga(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)To(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Pi(i.imports,l=>{To(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Iu(c,t)}if(!a){let c=qe(o)||(()=>new o);t({provide:o,useFactory:c,deps:Y},o),t({provide:uu,useValue:o,multi:!0},o),t({provide:tr,useValue:()=>Z(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Vi(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Vi(e,t){for(let n of e)ru(n)&&(n=n.\u0275providers),Array.isArray(n)?Vi(n,t):t(n)}var kf=N({provide:String,useValue:N});function Eu(e){return e!==null&&typeof e=="object"&&kf in e}function Lf(e){return!!(e&&e.useExisting)}function jf(e){return!!(e&&e.useFactory)}function Mt(e){return typeof e=="function"}function Vf(e){return!!e.useClass}var Cu=new O(""),Wn={},Bf={},lo;function Bi(){return lo===void 0&&(lo=new nr),lo}var Oe=class{},Ut=class extends Oe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ao(t,s=>this.processProvider(s)),this.records.set(au,vt(void 0,this)),o.has("environment")&&this.records.set(Oe,vt(void 0,this));let i=this.records.get(Cu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(uu,Y,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Te(this),r=q(void 0),o;try{return t()}finally{Te(n),q(r)}}get(t,n=Bt,r=_.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ya))return t[ya](this);r=Ir(r);let o,i=Te(this),s=q(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Wf(t)&&wr(t);c&&this.injectableDefInScope(c)?u=vt(No(t),Wn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?Bi():this.parent;return n=r&_.Optional&&n===Bt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Xn]=a[Xn]||[]).unshift(Q(t)),i)throw a;return lf(a,t,"R3InjectorError",this.source)}else throw a}finally{q(s),Te(i)}}resolveInjectorInitializers(){let t=b(null),n=Te(this),r=q(void 0),o;try{let i=this.get(tr,Y,_.Self);for(let s of i)s()}finally{Te(n),q(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=U(t);let n=Mt(t)?t:U(t&&t.provide),r=Hf(t);if(!Mt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=vt(void 0,Wn,!0),o.factory=()=>xo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===Wn&&(n.value=Bf,n.value=n.factory()),typeof n.value=="object"&&n.value&&Gf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function No(e){let t=wr(e),n=t!==null?t.factory:qe(e);if(n!==null)return n;if(e instanceof O)throw new S(204,!1);if(e instanceof Function)return $f(e);throw new S(204,!1)}function $f(e){if(e.length>0)throw new S(204,!1);let n=qd(e);return n!==null?()=>n.factory(e):()=>new e}function Hf(e){if(Eu(e))return vt(void 0,e.useValue);{let t=bu(e);return vt(t,Wn)}}function bu(e,t,n){let r;if(Mt(e)){let o=U(e);return qe(o)||No(o)}else if(Eu(e))r=()=>U(e.useValue);else if(jf(e))r=()=>e.useFactory(...xo(e.deps||[]));else if(Lf(e))r=()=>Z(U(e.useExisting));else{let o=U(e&&(e.useClass||e.provide));if(Uf(e))r=()=>new o(...xo(e.deps));else return qe(o)||No(o)}return r}function vt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Uf(e){return!!e.deps}function Gf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Wf(e){return typeof e=="function"||typeof e=="object"&&e instanceof O}function Ao(e,t){for(let n of e)Array.isArray(n)?Ao(n,t):n&&ru(n)?Ao(n.\u0275providers,t):t(n)}function c_(e,t){e instanceof Ut&&e.assertNotDestroyed();let n,r=Te(e),o=q(void 0);try{return t()}finally{Te(r),q(o)}}function _u(){return ou()!==void 0||af()!=null}function zf(e){if(!_u())throw new S(-203,!1)}function qf(e){return typeof e=="function"}var me=0,w=1,m=2,L=3,ae=4,J=5,xt=6,Gt=7,V=8,St=9,he=10,F=11,Wt=12,Ca=13,At=14,ee=15,tn=16,wt=17,Ie=18,Er=19,Mu=20,Ne=21,zn=22,Qe=23,G=25,$i=1;var Ze=7,rr=8,Tt=9,B=10,Hi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Hi||{});function We(e){return Array.isArray(e)&&typeof e[$i]=="object"}function be(e){return Array.isArray(e)&&e[$i]===!0}function xu(e){return(e.flags&4)!==0}function Cr(e){return e.componentOffset>-1}function Ui(e){return(e.flags&1)===1}function Ee(e){return!!e.template}function Yf(e){return(e[m]&512)!==0}var Oo=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Su(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Gi(){return Tu}function Tu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Zf),Qf}Gi.ngInherit=!0;function Qf(){let e=Au(this),t=e?.current;if(t){let n=e.previous;if(n===_t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Zf(e,t,n,r,o){let i=this.declaredInputs[r],s=Au(e)||Kf(e,{previous:_t,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Oo(c&&c.currentValue,n,u===_t),Su(e,t,o,n)}var Nu="__ngSimpleChanges__";function Au(e){return e[Nu]||null}function Kf(e,t){return e[Nu]=t}var ba=null;var fe=function(e,t,n){ba?.(e,t,n)},Ou="svg",Jf="math",Xf=!1;function ep(){return Xf}function ge(e){for(;Array.isArray(e);)e=e[me];return e}function tp(e){for(;Array.isArray(e);){if(typeof e[$i]=="object")return e;e=e[me]}return null}function Fu(e,t){return ge(t[e])}function te(e,t){return ge(t[e.index])}function Wi(e,t){return e.data[t]}function Ru(e,t){return e[t]}function Re(e,t){let n=t[e];return We(n)?n:n[me]}function np(e){return(e[m]&4)===4}function zi(e){return(e[m]&128)===128}function rp(e){return be(e[L])}function or(e,t){return t==null?null:e[t]}function Pu(e){e[wt]=0}function op(e){e[m]&1024||(e[m]|=1024,zi(e)&&zt(e))}function ip(e,t){for(;e>0;)t=t[At],e--;return t}function qi(e){return!!(e[m]&9216||e[Qe]?.dirty)}function Fo(e){e[he].changeDetectionScheduler?.notify(1),qi(e)?zt(e):e[m]&64&&(ep()?(e[m]|=1024,zt(e)):e[he].changeDetectionScheduler?.notify())}function zt(e){e[he].changeDetectionScheduler?.notify();let t=qt(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!zi(t)));)t=qt(t)}function ku(e,t){if((e[m]&256)===256)throw new S(911,!1);e[Ne]===null&&(e[Ne]=[]),e[Ne].push(t)}function sp(e,t){if(e[Ne]===null)return;let n=e[Ne].indexOf(t);n!==-1&&e[Ne].splice(n,1)}function qt(e){let t=e[L];return be(t)?t[L]:t}var I={lFrame:zu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ap(){return I.lFrame.elementDepthCount}function up(){I.lFrame.elementDepthCount++}function cp(){I.lFrame.elementDepthCount--}function Lu(){return I.bindingsEnabled}function ju(){return I.skipHydrationRootTNode!==null}function lp(e){return I.skipHydrationRootTNode===e}function dp(){I.skipHydrationRootTNode=null}function E(){return I.lFrame.lView}function R(){return I.lFrame.tView}function l_(e){return I.lFrame.contextLView=e,e[V]}function d_(e){return I.lFrame.contextLView=null,e}function $(){let e=Vu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Vu(){return I.lFrame.currentTNode}function fp(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nn(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function Bu(){return I.lFrame.isParent}function $u(){I.lFrame.isParent=!1}function pp(){return I.lFrame.contextLView}function Yi(){let e=I.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function hp(e){return I.lFrame.bindingIndex=e}function Pe(){return I.lFrame.bindingIndex++}function Hu(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function gp(){return I.lFrame.inI18n}function mp(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ro(t)}function yp(){return I.lFrame.currentDirectiveIndex}function Ro(e){I.lFrame.currentDirectiveIndex=e}function Qi(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Uu(){return I.lFrame.currentQueryIndex}function Zi(e){I.lFrame.currentQueryIndex=e}function Dp(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[J]:null}function Gu(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Dp(i),o===null||(i=i[At],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=Wu();return r.currentTNode=t,r.lView=e,!0}function Ki(e){let t=Wu(),n=e[w];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Wu(){let e=I.lFrame,t=e===null?null:e.child;return t===null?zu(e):t}function zu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function qu(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Yu=qu;function Ji(){let e=qu();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 vp(e){return(I.lFrame.contextLView=ip(e,I.lFrame.contextLView))[V]}function ke(){return I.lFrame.selectedIndex}function Ke(e){I.lFrame.selectedIndex=e}function rn(){let e=I.lFrame;return Wi(e.tView,e.selectedIndex)}function f_(){I.lFrame.currentNamespace=Ou}function p_(){wp()}function wp(){I.lFrame.currentNamespace=null}function Ip(){return I.lFrame.currentNamespace}var Qu=!0;function Xi(){return Qu}function es(e){Qu=e}function Ep(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Tu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function ts(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[wt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,_a(a,i)):_a(a,i)}var bt=-1,Je=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function bp(e){return e instanceof Je}function _p(e){return(e.flags&8)!==0}function Mp(e){return(e.flags&16)!==0}function Ku(e){return e!==bt}function ir(e){return e&32767}function xp(e){return e>>16}function sr(e,t){let n=xp(e),r=t;for(;n>0;)r=r[At],n--;return r}var Po=!0;function ar(e){let t=Po;return Po=e,t}var Sp=256,Ju=Sp-1,Xu=5,Tp=0,pe={};function Np(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vt)&&(r=n[Vt]),r==null&&(r=n[Vt]=Tp++);let o=r&Ju,i=1<>Xu)]|=i}function ur(e,t){let n=ec(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,po(r.data,e),po(t,null),po(r.blueprint,null));let o=ns(e,t),i=e.injectorIndex;if(Ku(o)){let s=ir(o),a=sr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function po(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ec(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ns(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ic(o),r===null)return bt;if(n++,o=o[At],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return bt}function ko(e,t,n){Np(e,t,n)}function Ap(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&Ee(p)&&p.type===n)return u}return null}function Xe(e,t,n,r){let o=e[n],i=t.data;if(bp(o)){let s=o;s.resolving&&ef(Xd(i[n]));let a=ar(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?q(s.injectImpl):null,l=Gu(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ep(n,i[n],t)}finally{c!==null&&q(c),ar(a),s.resolving=!1,Yu()}}return o}function Fp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Vt)?e[Vt]:void 0;return typeof t=="number"?t>=0?t&Ju:Rp:t}function Ma(e,t,n){let r=1<>Xu)]&r)}function xa(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var ze=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rc(this._tNode,this._lView,t,Ir(r),n)}};function Rp(){return new ze($(),E())}function h_(e){return vr(()=>{let t=e.prototype.constructor,n=t[Jn]||Lo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Jn]||Lo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Lo(e){return Xa(e)?()=>{let t=Lo(U(e));return t&&t()}:qe(e)}function Pp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=oc(i,s,n,r|_.Self,pe);if(a!==pe)return a;let u=i.parent;if(!u){let c=s[Mu];if(c){let l=c.get(n,pe,r);if(l!==pe)return l}u=ic(s),s=s[At]}i=u}return o}function ic(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[J]:null}function kp(e){return Ap($(),e)}function Sa(e,t=null,n=null,r){let o=sc(e,t,n,r);return o.resolveInjectorInitializers(),o}function sc(e,t=null,n=null,r,o=new Set){let i=[n||Y,Pf(e)];return r=r||(typeof e=="object"?void 0:Q(e)),new Ut(i,t||Bi(),r||null,o)}var br=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Sa({name:""},o,r,"");{let i=r.name??"";return Sa({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Bt,t.NULL=new nr,t.\u0275prov=P({token:t,providedIn:"any",factory:()=>Z(au)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Lp="ngOriginalError";function ho(e){return e[Lp]}var et=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ho(t);for(;n&&ho(n);)n=ho(n);return n||null}},ac=new O("",{providedIn:"root",factory:()=>A(et).handleError.bind(void 0)}),rs=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=jp,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),jo=class extends rs{constructor(t){super(),this._lView=t}onDestroy(t){return ku(this._lView,t),()=>sp(this._lView,t)}};function jp(){return new jo(E())}function Vp(){return Ot($(),E())}function Ot(e,t){return new ot(te(e,t))}var ot=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Vp;let e=t;return e})();function Bp(e){return e instanceof ot?e.nativeElement:e}var Vo=class extends j{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,_u()&&(this.destroyRef=A(rs,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=go(i),o&&(o=go(o)),s&&(s=go(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof k&&t.add(a),a}};function go(e){return t=>{setTimeout(e,void 0,t)}}var Ge=Vo;function $p(){return this._results[Symbol.iterator]()}var Bo=class e{get changes(){return this._changes??=new Ge}constructor(t=!1){this._emitDistinctChangesOnly=t,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;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=$p)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=pf(t);(this._changesDetected=!ff(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function uc(e){return(e.flags&128)===128}var cc=new Map,Hp=0;function Up(){return Hp++}function Gp(e){cc.set(e[Er],e)}function Wp(e){cc.delete(e[Er])}var Ta="__ngContext__";function tt(e,t){We(t)?(e[Ta]=t[Er],Gp(t)):e[Ta]=t}function lc(e){return fc(e[Wt])}function dc(e){return fc(e[ae])}function fc(e){for(;e!==null&&!be(e);)e=e[ae];return e}var $o;function g_(e){$o=e}function zp(){if($o!==void 0)return $o;if(typeof document<"u")return document;throw new S(210,!1)}var m_=new O("",{providedIn:"root",factory:()=>qp}),qp="ng",Yp=new O(""),Qp=new O("",{providedIn:"platform",factory:()=>"unknown"});var y_=new O(""),D_=new O("",{providedIn:"root",factory:()=>zp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Zp="h",Kp="b";var Jp=()=>null;function os(e,t,n=!1){return Jp(e,t,n)}var pc=!1,Xp=new O("",{providedIn:"root",factory:()=>pc});var $n;function eh(){if($n===void 0&&($n=null,Et.trustedTypes))try{$n=Et.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $n}function _r(e){return eh()?.createHTML(e)||e}var Ce=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Za})`}},Ho=class extends Ce{getTypeName(){return"HTML"}},Uo=class extends Ce{getTypeName(){return"Style"}},Go=class extends Ce{getTypeName(){return"Script"}},Wo=class extends Ce{getTypeName(){return"URL"}},zo=class extends Ce{getTypeName(){return"ResourceURL"}};function is(e){return e instanceof Ce?e.changingThisBreaksApplicationSecurity:e}function v_(e,t){let n=th(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Za})`)}return n===t}function th(e){return e instanceof Ce&&e.getTypeName()||null}function w_(e){return new Ho(e)}function I_(e){return new Uo(e)}function E_(e){return new Go(e)}function C_(e){return new Wo(e)}function b_(e){return new zo(e)}function nh(e){let t=new Yo(e);return rh()?new qo(t):t}var qo=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(_r(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Yo=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=_r(t),n}};function rh(){try{return!!new window.DOMParser().parseFromString(_r(""),"text/html")}catch{return!1}}var oh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ih(e){return e=String(e),e.match(oh)?e:"unsafe:"+e}function _e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function on(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var hc=_e("area,br,col,hr,img,wbr"),gc=_e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mc=_e("rp,rt"),sh=on(mc,gc),ah=on(gc,_e("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")),uh=on(mc,_e("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")),Na=on(hc,ah,uh,sh),yc=_e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ch=_e("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"),lh=_e("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"),dh=on(yc,ch,lh),fh=_e("script,style,template"),Qo=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=gh(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=hh(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Aa(t).toLowerCase();if(!Na.hasOwnProperty(n))return this.sanitizedSomething=!0,!fh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Aa(t).toLowerCase();Na.hasOwnProperty(n)&&!hc.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Oa(t))}};function ph(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function hh(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Dc(t);return t}function gh(e){let t=e.firstChild;if(t&&ph(e,t))throw Dc(t);return t}function Aa(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Dc(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var mh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yh=/([^\#-~ |!])/g;function Oa(e){return e.replace(/&/g,"&").replace(mh,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(yh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Hn;function __(e,t){let n=null;try{Hn=Hn||nh(e);let r=t?String(t):"";n=Hn.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Hn.getInertBodyElement(r)}while(r!==i);let a=new Qo().sanitizeChildren(Fa(n)||n);return _r(a)}finally{if(n){let r=Fa(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Fa(e){return"content"in e&&Dh(e)?e.content:null}function Dh(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var vh=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}(vh||{});function vc(e){return e instanceof Function?e():e}var cr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(cr||{}),wh;function ss(e,t){return wh(e,t)}function It(e,t,n,r,o){if(r!=null){let i,s=!1;be(r)?i=r:We(r)&&(s=!0,r=r[me]);let a=ge(r);e===0&&n!==null?o==null?bc(t,n,a):lr(t,n,a,o||null,!0):e===1&&n!==null?lr(t,n,a,o||null,!0):e===2?Ph(t,a,s):e===3&&t.destroyNode(a),i!=null&&Lh(t,e,i,n,o)}}function Ih(e,t){return e.createText(t)}function Eh(e,t,n){e.setValue(t,n)}function wc(e,t,n){return e.createElement(t,n)}function Ch(e,t){Ic(e,t),t[me]=null,t[J]=null}function bh(e,t,n,r,o,i){r[me]=o,r[J]=t,xr(e,r,n,1,o,i)}function Ic(e,t){t[he].changeDetectionScheduler?.notify(1),xr(e,t,t[F],2,null,null)}function _h(e){let t=e[Wt];if(!t)return mo(e[w],e);for(;t;){let n=null;if(We(t))n=t[Wt];else{let r=t[B];r&&(n=r)}if(!n){for(;t&&!t[ae]&&t!==e;)We(t)&&mo(t[w],t),t=t[L];t===null&&(t=e),We(t)&&mo(t[w],t),n=t&&t[ae]}t=n}}function Mh(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][ae]=t),r0&&(e[n-1][ae]=r[ae]);let i=er(e,B+t);Ch(r[w],r);let s=i[Ie];s!==null&&s.detachView(i[w]),r[L]=null,r[ae]=null,r[m]&=-129}return r}function Mr(e,t){if(!(t[m]&256)){let n=t[F];n.destroyNode&&xr(e,t,n,3,null,null),_h(t)}}function mo(e,t){if(t[m]&256)return;let n=b(null);try{t[m]&=-129,t[m]|=256,t[Qe]&&Ur(t[Qe]),Th(e,t),Sh(e,t),t[w].type===1&&t[F].destroy();let r=t[tn];if(r!==null&&be(t[L])){r!==t[L]&&Ec(r,t);let o=t[Ie];o!==null&&o.detachView(e)}Wp(t)}finally{b(n)}}function Sh(e,t){let n=e.cleanup,r=t[Gt];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Gt]=null);let o=t[Ne];if(o!==null){t[Ne]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===$t.None||i===$t.Emulated)return null}return te(r,n)}}function lr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function bc(e,t,n){e.appendChild(t,n)}function Ra(e,t,n,r,o){r!==null?lr(e,t,n,r,o):bc(e,t,n)}function Ah(e,t,n,r){e.removeChild(t,n,r)}function as(e,t){return e.parentNode(t)}function Oh(e,t){return e.nextSibling(t)}function _c(e,t,n){return Rh(e,t,n)}function Fh(e,t,n){return e.type&40?te(e,n):null}var Rh=Fh,Pa;function us(e,t,n,r){let o=Cc(e,r,t),i=t[F],s=r.parent||t[J],a=_c(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uG&&Nc(e,t,G,!1),fe(s?2:0,o),n(r,o)}finally{Ke(i),fe(s?3:1,o)}}function Rc(e,t,n){if(xu(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function zh(e,t,n,r){let o=Uc(t);o.push(n),e.firstCreatePass&&Gc(e).push(r,o.length-1)}function qh(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ju()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ka(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ae.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?La(r,n,c,a,u):La(r,n,c,a)}return r}function La(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Yh(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Xh(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Cr(n)&&sg(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ur(n,t),tt(r,t);let s=n.initialInputs;for(let a=o;a{zt(e.lView)},consumerOnSignalRead(){this.lView[Qe]=this}}),Zc=100;function Kc(e,t=!0,n=0){let r=e[he],o=r.rendererFactory,i=!1;i||o.begin?.();try{wg(e,n)}catch(s){throw t&&zc(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function wg(e,t){Xo(e,t);let n=0;for(;qi(e);){if(n===Zc)throw new S(103,!1);n++,Xo(e,1)}}function Ig(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[he].inlineEffectRunner?.flush(),Ki(t);let s=null,a=null;!i&&Eg(e)&&(a=mg(t),s=$r(a));try{Pu(t),hp(e.bindingStartIndex),n!==null&&Fc(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&qn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Yn(t,d,0,null),fo(t,0)}if(Cg(t),Jc(t,0),e.contentQueries!==null&&Hc(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&qn(t,d)}else{let d=e.contentHooks;d!==null&&Yn(t,d,1),fo(t,1)}Bh(e,t);let c=e.components;c!==null&&el(t,c,0);let l=e.viewQuery;if(l!==null&&Jo(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&qn(t,d)}else{let d=e.viewHooks;d!==null&&Yn(t,d,2),fo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[zn]){for(let d of t[zn])d();t[zn]=null}i||(t[m]&=-73)}catch(u){throw zt(t),u}finally{a!==null&&(Hr(a,s),Dg(a)),Ji()}}function Eg(e){return e.type!==2}function Jc(e,t){for(let n=lc(e);n!==null;n=dc(n))for(let r=B;r-1&&(Yt(t,r),er(n,r))}this._attachedToViewContainer=!1}Mr(this._lView[w],this._lView)}onDestroy(t){ku(this._lView,t)}markForCheck(){ps(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Fo(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Kc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ic(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t,Fo(this._lView)}},Zt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=xg;let e=t;return e})(),_g=Zt,Mg=class extends _g{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Ar(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new nt(o)}};function xg(){return Fr($(),E())}function Fr(e,t){return e.type&4?new Mg(t,e,Ot(e,t)):null}var T_=new RegExp(`^(\\d+)*(${Kp}|${Zp})*(.*)`);var Sg=()=>null;function Kt(e,t){return Sg(e,t)}var ei=class{},ti=class{},fr=class{};function Tg(e){let t=Error(`No component factory found for ${Q(e)}.`);return t[Ng]=e,t}var Ng="ngComponent";var ni=class{resolveComponentFactory(t){throw Tg(t)}},Rr=(()=>{let t=class t{};t.NULL=new ni;let e=t;return e})(),ri=class{},hs=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Ag();let e=t;return e})();function Ag(){let e=E(),t=$(),n=Re(t.index,e);return(We(n)?n:e)[F]}var Og=(()=>{let t=class t{};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),yo={};var ja=new Set;function an(e){ja.has(e)||(ja.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Va(...e){}function Fg(){let e=typeof Et.requestAnimationFrame=="function",t=Et[e?"requestAnimationFrame":"setTimeout"],n=Et[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var ue=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ge(!1),this.onMicrotaskEmpty=new Ge(!1),this.onStable=new Ge(!1),this.onError=new Ge(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Fg().nativeRequestAnimationFrame,kg(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Rg,Va,Va);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Rg={};function gs(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Pg(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Et,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,oi(e),e.isCheckStableRunning=!0,gs(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),oi(e))}function kg(e){let t=()=>{Pg(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Lg(a))return n.invokeTask(o,i,s,a);try{return Ba(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),$a(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Ba(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),$a(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,oi(e),gs(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function oi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ba(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $a(e){e._nesting--,gs(e)}function Lg(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var tl=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function ii(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Sc(e,n,i.join(" "))}}function Gg(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=zg;let e=t;return e})();function zg(){let e=$();return rl(e,E())}var qg=un,nl=class extends qg{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ot(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){let t=ns(this._hostTNode,this._hostLView);if(Ku(t)){let n=sr(t,this._hostLView),r=ir(t),o=n[w].data[r+8];return new ze(o,n)}else return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ua(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Kt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Qt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!qf(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Jt(Ye(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(s?c:this.parentInjector).get(Oe,null);D&&(i=D)}let l=Ye(u.componentType??{}),d=Kt(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,Qt(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(rp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[L],c=new nl(u,u[J],u[L]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Or(s,o,i,r),t.attachToViewContainerRef(),su(Do(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ua(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Yt(this._lContainer,n);r&&(er(Do(this._lContainer),n),Mr(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Yt(this._lContainer,n);return r&&er(Do(this._lContainer),n)!=null?new nt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ua(e){return e[rr]}function Do(e){return e[rr]||(e[rr]=[])}function rl(e,t){let n,r=t[e.index];return be(r)?n=r:(n=$c(r,t,null,e),t[e.index]=n,Nr(t,n)),Qg(n,t,e,r),new nl(n,e,t)}function Yg(e,t){let n=e[F],r=n.createComment(""),o=te(t,e),i=as(n,o);return lr(n,i,r,Oh(n,o),!1),r}var Qg=Jg,Zg=()=>!1;function Kg(e,t,n){return Zg(e,t,n)}function Jg(e,t,n,r){if(e[Ze])return;let o;n.type&8?o=ge(r):o=Yg(t,n),e[Ze]=o}var ui=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ci=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=B;dt.trim())}function sl(e,t,n){e.queries===null&&(e.queries=new li),e.queries.track(new di(t,n))}function am(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function ms(e,t){return e.queries.getByIndex(t)}function um(e,t){let n=e[w],r=ms(n,t);return r.crossesNgTemplate?fi(n,e,t,[]):ol(n,e,r,t)}function cm(e){return typeof e=="function"&&e[fn]!==void 0}function al(e){return cm(e)&&typeof e.set=="function"}function lm(e){return Object.getPrototypeOf(e.prototype).constructor}function dm(e){let t=lm(e.type),n=!0,r=[e];for(;t;){let o;if(Ee(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Un(e.inputs),s.inputTransforms=Un(e.inputTransforms),s.declaredInputs=Un(e.declaredInputs),s.outputs=Un(e.outputs);let a=o.hostBindings;a&&mm(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&hm(e,u),c&&gm(e,c),fm(e,o),Wd(e.outputs,o.outputs),Ee(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ht(o.hostAttrs,n=Ht(n,o.hostAttrs))}}function Un(e){return e===_t?{}:e===Y?[]:e}function hm(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function gm(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function mm(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function ym(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Fe=class{},pi=class{};var hi=class extends Fe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pr(this);let o=yu(t);this._bootstrapComponents=vc(o.bootstrap),this._r3Injector=sc(t,n,[{provide:Fe,useValue:this},{provide:Rr,useValue:this.componentFactoryResolver},...r],Q(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},gi=class extends pi{constructor(t){super(),this.moduleType=t}create(t){return new hi(this.moduleType,t,[])}};var gr=class extends Fe{constructor(t){super(),this.componentFactoryResolver=new pr(this),this.instance=null;let n=new Ut([...t.providers,{provide:Fe,useValue:this},{provide:Rr,useValue:this.componentFactoryResolver}],t.parent||Bi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Dm(e,t,n=null){return new gr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ys=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Rt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ul(e,t,n){return e[t]=n}function K(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function vm(e,t,n,r){let o=K(e,t,n);return K(e,t+1,r)||o}function wm(e){return(e.flags&32)===32}function Im(e,t,n,r,o,i,s,a,u){let c=t.consts,l=sn(t,e,4,s||null,or(c,a));jc(t,n,l,or(c,u)),ts(t,l);let d=l.tView=ls(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function mi(e,t,n,r,o,i,s,a){let u=E(),c=R(),l=e+G,d=c.firstCreatePass?Im(l,c,u,t,n,r,o,i,s):c.data[l];nn(d,!1);let f=Em(c,u,d,e);Xi()&&us(c,u,f,d),tt(f,u);let p=$c(f,u,f,d);return u[l]=p,Nr(u,p),Kg(p,d,u),Ui(d)&&Pc(c,u,d),s!=null&&kc(u,d,a),mi}var Em=Cm;function Cm(e,t,n,r){return es(!0),t[F].createComment("")}function bm(e,t,n,r){let o=E(),i=Pe();if(K(o,i,t)){let s=R(),a=rn();ag(a,o,e,t,n,r)}return bm}function _m(e,t,n,r){return K(e,Pe(),n)?t+Fi(n)+r:Me}function Gn(e,t){return e<<17|t<<2}function rt(e){return e>>17&32767}function Mm(e){return(e&2)==2}function xm(e,t){return e&131071|t<<17}function yi(e){return e|2}function Nt(e){return(e&131068)>>2}function vo(e,t){return e&-131069|t<<2}function Sm(e){return(e&1)===1}function Di(e){return e|1}function Tm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=rt(s),u=Nt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||en(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=rt(e[a+1]);e[r+1]=Gn(f,a),f!==0&&(e[f+1]=vo(e[f+1],r)),e[a+1]=xm(e[a+1],r)}else e[r+1]=Gn(a,0),a!==0&&(e[a+1]=vo(e[a+1],r)),a=r;else e[r+1]=Gn(u,0),a===0?a=r:e[u+1]=vo(e[u+1],r),u=r;c&&(e[r+1]=yi(e[r+1])),Ga(e,l,r,!0),Ga(e,l,r,!1),Nm(t,l,e,r,i),s=Gn(a,u),i?t.classBindings=s:t.styleBindings=s}function Nm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&en(i,t)>=0&&(n[r+1]=Di(n[r+1]))}function Ga(e,t,n,r){let o=e[n+1],i=t===null,s=r?rt(o):Nt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Am(u,t)&&(a=!0,e[s+1]=r?Di(c):yi(c)),s=r?rt(c):Nt(c)}a&&(e[n+1]=r?yi(o):Di(o))}function Am(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?en(e,t)>=0:!1}var se={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Om(e){return e.substring(se.key,se.keyEnd)}function Fm(e){return Rm(e),cl(e,ll(e,0,se.textEnd))}function cl(e,t){let n=se.textEnd;return n===t?-1:(t=se.keyEnd=Pm(e,se.key=t,n),ll(e,t,n))}function Rm(e){se.key=0,se.keyEnd=0,se.value=0,se.valueEnd=0,se.textEnd=e.length}function ll(e,t,n){for(;t32;)t++;return t}function km(e,t,n){let r=E(),o=Pe();if(K(r,o,t)){let i=R(),s=rn();Tr(i,s,r,e,t,r[F],n,!1)}return km}function vi(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ds(e,n,i[s],s,r)}function dl(e,t,n){return fl(e,t,n,!1),dl}function Lm(e,t){return fl(e,t,null,!0),Lm}function A_(e){Vm(Wm,jm,e,!0)}function jm(e,t){for(let n=Fm(t);n>=0;n=cl(t,n))ki(e,Om(t),!0)}function fl(e,t,n,r){let o=E(),i=R(),s=Hu(2);if(i.firstUpdatePass&&hl(i,e,s,r),t!==Me&&K(o,s,t)){let a=i.data[ke()];gl(i,a,o,o[F],e,o[s+1]=qm(t,n),r,s)}}function Vm(e,t,n,r){let o=R(),i=Hu(2);o.firstUpdatePass&&hl(o,null,i,r);let s=E();if(n!==Me&&K(s,i,n)){let a=o.data[ke()];if(ml(a,r)&&!pl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=_o(u,n||"")),vi(o,a,s,n,r)}else zm(o,a,s,s[F],s[i+1],s[i+1]=Gm(e,t,n),r,i)}}function pl(e,t){return t>=e.expandoStartIndex}function hl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ke()],s=pl(e,n);ml(i,r)&&t===null&&!s&&(t=!1),t=Bm(o,i,t,r),Tm(o,i,t,n,s,r)}}function Bm(e,t,n,r){let o=Qi(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=wo(null,e,t,n,r),n=Xt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=wo(o,e,t,n,r),i===null){let u=$m(e,t,r);u!==void 0&&Array.isArray(u)&&(u=wo(null,e,t,u[1],r),u=Xt(u,t.attrs,r),Hm(e,t,r,u))}else i=Um(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function $m(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Nt(r)!==0)return e[rt(r)]}function Hm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rt(o)]=r}function Um(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===Me&&(f=d?Y:void 0);let p=d?co(f,r):l===r?f:void 0;if(c&&!mr(p)&&(p=co(u,r)),mr(p)&&(a=p,s))return a;let h=e[o+1];o=s?rt(h):Nt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=co(u,r))}return a}function mr(e){return e!==void 0}function qm(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Q(is(e)))),e}function ml(e,t){return(e.flags&(t?8:16))!==0}var wi=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Io(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Ym(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=Io(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],p=Io(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,u),D=n(s,d),T=n(i,c);if(Object.is(T,D)){let x=n(a,f);Object.is(x,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new yr,o??=qa(e,i,s,n),Ii(e,r,i,T))e.updateValue(i,c),i++,s++;else if(o.has(T))r.set(h,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=a;)za(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=Io(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new yr,o??=qa(e,i,s,n);let f=n(i,l);if(Ii(e,r,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,e.detach(i)),s--}}}for(;!u.done;)za(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function Ii(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function za(e,t,n,r,o){if(Ii(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function qa(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var yr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function O_(e,t,n){an("NgControlFlow");let r=E(),o=Pe(),i=_i(r,G+e),s=0;if(K(r,o,t)){let a=b(null);try{if(Yc(i,s),t!==-1){let u=Mi(r[w],G+t),c=Kt(i,u.tView.ssrId),l=Ar(r,u,n,{dehydratedView:c});Or(i,l,s,Qt(u,c))}}finally{b(a)}}else{let a=qc(i,s);a!==void 0&&(a[V]=n)}}var Ei=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};function F_(e){return e}function R_(e,t){return t}var Ci=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function P_(e,t,n,r,o,i,s,a,u,c,l,d,f){an("NgControlFlow");let p=u!==void 0,h=E(),D=a?s.bind(h[ee][V]):s,T=new Ci(p,D);h[G+e]=T,mi(e+1,t,n,r,o,i),p&&mi(e+2,u,c,l,d,f)}var bi=class extends wi{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-B}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[xt];this.needsIndexUpdate||=t!==this.length,Or(this.lContainer,n,t,Qt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Qm(this.lContainer,t)}create(t,n){let r=Kt(this.lContainer,this.templateTNode.tView.ssrId);return Ar(this.hostLView,this.templateTNode,new Ei(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Mr(t[w],t)}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(es(!0),wc(r,o,Ip()));function L_(){return E()}function ey(e,t,n){let r=E(),o=Pe();if(K(r,o,t)){let i=R(),s=rn();Tr(i,s,r,e,t,r[F],n,!0)}return ey}function ty(e,t,n){let r=E(),o=Pe();if(K(r,o,t)){let i=R(),s=rn(),a=Qi(i.data),u=Wc(a,s,r);Tr(i,s,r,e,t,u,n,!0)}return ty}var Dr="en-US";var ny=Dr;function ry(e){typeof e=="string"&&(ny=e.toLowerCase().replace(/_/g,"-"))}function oy(e,t,n,r){let o=E(),i=R(),s=$();return Ds(i,o,o[F],s,e,t,r),oy}function iy(e,t){let n=$(),r=E(),o=R(),i=Qi(o.data),s=Wc(i,n,r);return Ds(o,r,s,n,e,t),iy}function sy(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Ds(e,t,n,r,o,i,s){let a=Ui(r),c=e.firstCreatePass&&Gc(e),l=t[V],d=Uc(t),f=!0;if(r.type&3||s){let D=te(r,t),T=s?s(D):D,x=d.length,X=s?De=>s(ge(De[r.index])):r.index,W=null;if(!s&&a&&(W=sy(e,t,o,r.index)),W!==null){let De=W.__ngLastListenerFn__||W;De.__ngNextListenerFn__=i,W.__ngLastListenerFn__=i,f=!1}else{i=Qa(r,t,l,i,!1);let De=n.listen(T,o,i);d.push(i,De),c&&c.push(o,X,x,x+1)}}else i=Qa(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let D=h.length;if(D)for(let T=0;T-1?Re(e.index,t):t;ps(a);let u=Ya(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Ya(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function j_(e=1){return vp(e)}function ay(e,t){let n=null,r=Cf(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function W_(e){let t=pp();return Ru(t,G+e)}function z_(e,t=""){let n=E(),r=R(),o=e+G,i=r.firstCreatePass?sn(r,o,1,t,null):r.data[o],s=cy(r,n,i,t,e);n[o]=s,Xi()&&us(r,n,s,i),nn(i,!1)}var cy=(e,t,n,r,o)=>(es(!0),Ih(t[F],r));function ly(e){return vl("",e,""),ly}function vl(e,t,n){let r=E(),o=_m(r,e,t,n);return o!==Me&&dg(r,ke(),o),vl}function dy(e,t,n){al(t)&&(t=t());let r=E(),o=Pe();if(K(r,o,t)){let i=R(),s=rn();Tr(i,s,r,e,t,r[F],n,!1)}return dy}function q_(e,t){let n=al(e);return n&&e.set(t),n}function fy(e,t){let n=E(),r=R(),o=$();return Ds(r,n,n[F],o,e,t),fy}function py(e,t,n){let r=R();if(r.firstCreatePass){let o=Ee(e);xi(n,r.data,r.blueprint,o,!0),xi(t,r.data,r.blueprint,o,!1)}}function xi(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(Mt(e)||!e.multi){let p=new Je(c,o,xe),h=Co(u,t,o?l:l+f,d);h===-1?(ko(ur(a,s),i,u),Eo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=Co(u,t,l+f,d),h=Co(u,t,l,l+f),D=p>=0&&n[p],T=h>=0&&n[h];if(o&&!T||!o&&!D){ko(ur(a,s),i,u);let x=my(o?gy:hy,n.length,o,r,c);!o&&T&&(n[h].providerFactory=x),Eo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=wl(n[o?h:p],c,!o&&r);Eo(i,e,p>-1?p:h,x)}!o&&r&&T&&n[h].componentProviders++}}}function Eo(e,t,n,r){let o=Mt(t),i=Vf(t);if(o||i){let u=(i?U(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function wl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Co(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>py(r,o?o(e):e,t)}}var yy=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=wu(!1,r.type),i=o.length>0?Dm([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=P({token:t,providedIn:"environment",factory:()=>new t(Z(Oe))});let e=t;return e})();function Q_(e){an("NgStandalone"),e.getStandaloneInjector=t=>t.get(yy).getOrCreateStandaloneInjector(e)}function Z_(e,t,n,r){return El(E(),Yi(),e,t,n,r)}function K_(e,t,n,r,o){return Dy(E(),Yi(),e,t,n,r,o)}function Il(e,t){let n=e[t];return n===Me?void 0:n}function El(e,t,n,r,o,i){let s=t+n;return K(e,s,o)?ul(e,s+1,i?r.call(i,o):r(o)):Il(e,s+1)}function Dy(e,t,n,r,o,i,s){let a=t+n;return vm(e,a,o,i)?ul(e,a+2,s?r.call(s,o,i):r(o,i)):Il(e,a+2)}function J_(e,t){let n=R(),r,o=e+G;n.firstCreatePass?(r=vy(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=qe(r.type,!0)),s,a=q(xe);try{let u=ar(!1),c=i();return ar(u),uy(n,E(),o,c),c}finally{q(a)}}function vy(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function X_(e,t,n){let r=e+G,o=E(),i=Ru(o,r);return wy(o,r)?El(o,Yi(),t,i.transform,n,i):i.transform(n)}function wy(e,t){return e[w].data[t].pure}function eM(e,t){return Fr(e,t)}var tM=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Iy=new O("");function Pr(e){return!!e&&typeof e.then=="function"}function vs(e){return!!e&&typeof e.subscribe=="function"}var Ey=new O(""),Cl=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=A(Ey,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Pr(s))r.push(s);else if(vs(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Cy=new O("");function by(){Os(()=>{throw new S(600,!1)})}function _y(e){return e.isBoundToModule}function My(e,t,n){try{let r=n();return Pr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var bl=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=A(ac),this.afterRenderEffectManager=A(tl),this.externalTestViews=new Set,this.beforeRender=new j,this.afterTick=new j,this.componentTypes=[],this.components=[],this.isStable=A(ys).hasPendingTasks.pipe(de(r=>!r)),this._injector=A(Oe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof fr;if(!this._injector.get(Cl).done){let p=!i&&Of(r),h=!1;throw new S(405,h)}let a;i?a=r:a=this._injector.get(Rr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=_y(a)?void 0:this._injector.get(Fe),c=o||a.selector,l=a.create(br.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Iy,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),bo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,b(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Zc)throw new S(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)xy(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ti(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ti(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;bo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Cy,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>bo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function bo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function xy(e,t,n){!t&&!Ti(e)||Sy(e,n,t)}function Ti(e){return qi(e)}function Sy(e,t,n){let r;n?(r=0,e[m]|=1024):e[m]&64?r=0:r=1,Kc(e,t,r)}var Ni=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},nM=(()=>{let t=class t{compileModuleSync(r){return new gi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=yu(r),s=vc(i.declarations).reduce((a,u)=>{let c=Ye(u);return c&&a.push(new Jt(c)),a},[]);return new Ni(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ty=(()=>{let t=class t{constructor(){this.zone=A(ue),this.applicationRef=A(bl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ny(e){return[{provide:ue,useFactory:e},{provide:tr,multi:!0,useFactory:()=>{let t=A(Ty,{optional:!0});return()=>t.initialize()}},{provide:tr,multi:!0,useFactory:()=>{let t=A(Ry);return()=>{t.initialize()}}},{provide:ac,useFactory:Ay}]}function Ay(){let e=A(ue),t=A(et);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Oy(e){let t=Ny(()=>new ue(Fy(e)));return Rf([[],t])}function Fy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Ry=(()=>{let t=class t{constructor(){this.subscription=new k,this.initialized=!1,this.zone=A(ue),this.pendingTasks=A(ys)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Py(){return typeof $localize<"u"&&$localize.locale||Dr}var ws=new O("",{providedIn:"root",factory:()=>A(ws,_.Optional|_.SkipSelf)||Py()});var _l=new O("");var Kn=null;function ky(e=[],t){return br.create({name:t,providers:[{provide:Cu,useValue:"platform"},{provide:_l,useValue:new Set([()=>Kn=null])},...e]})}function Ly(e=[]){if(Kn)return Kn;let t=ky(e);return Kn=t,by(),jy(t),t}function jy(e){e.get(Yp,null)?.forEach(n=>n())}function rM(){return!1}var kr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Vy;let e=t;return e})();function Vy(e){return By($(),E(),(e&16)===16)}function By(e,t,n){if(Cr(e)&&!n){let r=Re(e.index,t);return new nt(r,r)}else if(e.type&47){let r=t[ee];return new nt(r,t)}return null}function oM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Ly(r),i=[Oy(),...n||[]],a=new gr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(ue);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(et,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(_l);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),My(c,u,()=>{let p=a.get(Cl);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(ws,Dr);ry(h||Dr);let D=a.get(bl);return t!==void 0&&D.bootstrap(t),D})})})}catch(t){return Promise.reject(t)}}function $y(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Hy(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Is(e){let t=b(null);try{return e()}finally{b(t)}}var Uy=new O("",{providedIn:"root",factory:()=>A(Gy)}),Gy=(()=>{let t=class t{};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>new Ai});let e=t;return e})(),Ai=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=A(ys),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Oi=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Fs(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(et,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Wy(e,t){an("NgSignals"),!t?.injector&&zf(Wy);let n=t?.injector??A(br),r=t?.manualCleanup!==!0?n.get(rs):null,o=new Oi(n.get(Uy),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(kr,null,{optional:!0});return!i||!(i._lView[m]&8)?o.watcher.notify():(i._lView[zn]??=[]).push(o.watcher.notify),o}var Al=null;function Es(){return Al}function SM(e){Al??=e}var Ml=class{};var Ol=new O(""),Fl=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>A(qy),providedIn:"platform"});let e=t;return e})();var qy=(()=>{let t=class t extends Fl{constructor(){super(),this._doc=A(Ol),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Es().getBaseHref(this._doc)}onPopState(r){let o=Es().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Es().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Rl(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function xl(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function it(e){return e&&e[0]!=="?"?"?"+e:e}var Ms=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>A(Qy),providedIn:"root"});let e=t;return e})(),Yy=new O(""),Qy=(()=>{let t=class t extends Ms{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??A(Ol).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Rl(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+it(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+it(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+it(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(Z(Fl),Z(Yy,8))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Zy=(()=>{let t=class t{constructor(r){this._subject=new Ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Xy(xl(Sl(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+it(o))}normalize(r){return t.stripTrailingSlash(Jy(this._basePath,Sl(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+it(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+it(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=it,t.joinWithSlash=Rl,t.stripTrailingSlash=xl,t.\u0275fac=function(o){return new(o||t)(Z(Ms))},t.\u0275prov=P({token:t,factory:()=>Ky(),providedIn:"root"});let e=t;return e})();function Ky(){return new Zy(Z(Ms))}function Jy(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Sl(e){return e.replace(/\/index.html$/,"")}function Xy(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function TM(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Cs=/\s+/,Tl=[],NM=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=Tl,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Cs):Tl}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Cs):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(Cs).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(xe(ot),xe(hs))},t.\u0275dir=ji({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Ae.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var AM=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(xe(un))},t.\u0275dir=ji({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Gi]});let e=t;return e})();function eD(e,t){return new S(2100,!1)}var bs=class{createSubscription(t,n){return Is(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Is(()=>t.unsubscribe())}},_s=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},tD=new _s,nD=new bs,OM=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(Pr(r))return tD;if(vs(r))return nD;throw eD(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(xe(kr,16))},t.\u0275pipe=hu({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var FM=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=pu({type:t}),t.\u0275inj=eu({});let e=t;return e})(),rD="browser",oD="server";function RM(e){return e===rD}function PM(e){return e===oD}var Nl=class{};var ye=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}(ye||{}),jM="*";function VM(e,t){return{type:ye.Trigger,name:e,definitions:t,options:{}}}function BM(e,t=null){return{type:ye.Animate,styles:t,timings:e}}function $M(e,t=null){return{type:ye.Group,steps:e,options:t}}function HM(e,t=null){return{type:ye.Sequence,steps:e,options:t}}function UM(e){return{type:ye.Style,styles:e,offset:null}}function GM(e,t,n){return{type:ye.State,name:e,styles:t,options:n}}function WM(e,t,n=null){return{type:ye.Transition,expr:e,animation:t,options:n}}function zM(e=null){return{type:ye.AnimateChild,options:e}}function qM(e,t,n=null){return{type:ye.Query,selector:e,animation:t,options:n}}var Pl=class{constructor(t=0,n=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+n}_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(){queueMicrotask(()=>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){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},kl=class{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 n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&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){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},YM="!";export{ut as a,ct as b,iD as c,k as d,Jl as e,C as f,eo as g,Ft as h,j as i,Rt as j,$e as k,le as l,ud as m,cd as n,ld as o,Ue as p,de as q,Dd as r,oe as s,yt as t,wd as u,Id as v,no as w,Lt as x,Sd as y,Td as z,Se as A,Nd as B,ro as C,Ad as D,Fd as E,jt as F,Dt as G,oo as H,Rd as I,Pd as J,jd as K,ca as L,so as M,Vd as N,Bd as O,$d as P,uo as Q,Hd as R,Ud as S,da as T,fa as U,Gd as V,pa as W,S as X,Ja as Y,P as Z,eu as _,a_ as $,O as aa,_ as ba,Z as ca,A as da,$t as ea,Ae as fa,u_ as ga,pu as ha,ji as ia,Rf as ja,Cu as ka,Oe as la,c_ as ma,Gi as na,l_ as oa,d_ as pa,f_ as qa,p_ as ra,h_ as sa,kp as ta,br as ua,et as va,ot as wa,Ge as xa,Bo as ya,g_ as za,m_ as Aa,Yp as Ba,Qp as Ca,y_ as Da,D_ as Ea,is as Fa,v_ as Ga,w_ as Ha,I_ as Ia,E_ as Ja,C_ as Ka,b_ as La,ih as Ma,__ as Na,vh as Oa,cr as Pa,M_ as Qa,xe as Ra,x_ as Sa,Zt as Ta,ei as Ua,Rr as Va,ri as Wa,hs as Xa,an as Ya,ue as Za,un as _a,cm as $a,dm as ab,ym as bb,pi as cb,Dm as db,ys as eb,mi as fb,bm as gb,km as hb,dl as ib,Lm as jb,A_ as kb,O_ as lb,F_ as mb,R_ as nb,P_ as ob,k_ as pb,yl as qb,Dl as rb,Jm as sb,L_ as tb,ey as ub,ty as vb,oy as wb,iy as xb,j_ as yb,V_ as zb,B_ as Ab,$_ as Bb,H_ as Cb,U_ as Db,G_ as Eb,W_ as Fb,z_ as Gb,ly as Hb,vl as Ib,dy as Jb,q_ as Kb,fy as Lb,Y_ as Mb,Q_ as Nb,Z_ as Ob,K_ as Pb,J_ as Qb,X_ as Rb,eM as Sb,tM as Tb,Pr as Ub,Ey as Vb,Cy as Wb,bl as Xb,nM as Yb,rM as Zb,kr as _b,oM as $b,$y as ac,Hy as bc,Wy as cc,Es as dc,SM as ec,Ml as fc,Ol as gc,Zy as hc,TM as ic,NM as jc,AM as kc,OM as lc,FM as mc,rD as nc,RM as oc,PM as pc,Nl as qc,ye as rc,jM as sc,VM as tc,BM as uc,$M as vc,HM as wc,UM as xc,GM as yc,WM as zc,zM as Ac,qM as Bc,Pl as Cc,kl as Dc,YM as Ec}; diff --git a/index.html b/index.html index 0514bd5..b6ca757 100644 --- a/index.html +++ b/index.html @@ -11,9 +11,9 @@ + - + diff --git a/main-AMQ2CRQ3.js b/main-AMQ2CRQ3.js new file mode 100644 index 0000000..9d74d78 --- /dev/null +++ b/main-AMQ2CRQ3.js @@ -0,0 +1,107 @@ +import{$ as w,$a as E,$b as Md,A as Tt,Aa as Rn,Ab as X,Ac as Qt,B as zi,Ba as pd,Bb as Ct,Bc as Yt,C as it,Ca as Mn,Cb as ct,Cc as Na,D as Ea,Da as gd,Db as Nt,Dc as La,E as he,Ea as fe,Eb as rt,F as Ci,Fa as vt,Fb as W,G as Ui,Ga as On,Gb as G,H as Da,Ha as Wi,Hb as be,I as at,Ia as Gi,Ib as I,J as sd,Ja as bd,Jb as _e,K as No,Ka as _d,Kb as qt,L as Sn,La as vd,Lb as Dd,M as ni,Ma as yd,Mb as Td,N as oi,Na as xd,Nb as Sd,O as Ta,Oa as wd,Ob as dt,P as cd,Pa as Cd,Pb as N,Q as dd,Qa as ie,Qb as $o,R as ld,Ra as Fn,Rb as Ad,S as md,Sa as y,Sb as ke,T as Sa,Ta as l,Tb as Ie,U as Hi,Ua as Pn,Ub as Rd,V as Pt,Va as Bt,Vb as Wo,W as yt,Wa as kd,Wb as Go,X as lt,Xa as qi,Xb as Oa,Y as ut,Ya as jo,Yb as Fa,Z as _t,Za as Vo,Zb as ai,_ as St,_a as Ra,_b as Pa,a as _,aa as j,ab as Gt,ac as gt,b as ht,ba as ud,bb as Ma,bc as Od,ca as x,cb as ot,cc as Z,d as Fh,da as Aa,db as pt,dc as ve,e as Ph,ea as u,eb as Id,ec as Fd,f as It,fa as v,fb as Ed,fc as Yi,g as od,ga as An,gb as Bo,gc as Pd,h as Xt,ha as b,hb as H,hc as Nd,i as Ca,ia as F,ib as Q,ic as B,j as ka,ja as V,jb as z,jc as si,k as T,ka as D,kb as ri,kc as qo,l as At,la as $e,lb as $,lc as Yo,m as le,ma as hd,mb as Rt,mc as Ld,n as $t,na as $i,nb as K,nc as Xi,o as O,oa as We,ob as zo,oc as Ge,p as ee,pa as kt,pb as Ii,pc as jd,q as Ia,qa as q,qb as pe,qc as Nn,r as rd,ra as Y,rb as ge,rc as Xo,s as L,sa as Lo,sb as f,sc as Zo,t as wi,ta as fd,tb as p,u as me,ua as Vt,ub as P,v as Bi,va as Oe,vb as mt,vc as Fe,w as ue,wa as wt,wb as Zt,wc as zt,x as Po,xa as ki,xb as Uo,xc as Ln,y as Wt,ya as S,yb as R,z as ad,za as U,zb as Ho,zc as Et}from"./chunk-IDZKADI7.js";var Rh=Fh((ed,id)=>{"use strict";(function(n,t){typeof ed=="object"&&typeof id<"u"?id.exports=t():typeof define=="function"&&define.amd?define(t):(n=n||self,n.PullToRefresh=t())})(ed,function(){"use strict";var n={pullStartY:null,pullMoveY:null,handlers:[],styleEl:null,events:null,dist:0,state:"pending",timeout:null,distResisted:0,supportsPassive:!1,supportsPointerEvents:typeof window<"u"&&!!window.PointerEvent};try{window.addEventListener("test",null,{get passive(){n.supportsPassive=!0}})}catch{}function t(h){if(!h.ptrElement){var k=document.createElement("div");h.mainElement!==document.body?h.mainElement.parentNode.insertBefore(k,h.mainElement):document.body.insertBefore(k,document.body.firstChild),k.classList.add(h.classPrefix+"ptr"),k.innerHTML=h.getMarkup().replace(/__PREFIX__/g,h.classPrefix),h.ptrElement=k,typeof h.onInit=="function"&&h.onInit(h),n.styleEl||(n.styleEl=document.createElement("style"),n.styleEl.setAttribute("id","pull-to-refresh-js-style"),document.head.appendChild(n.styleEl)),n.styleEl.textContent=h.getStyles().replace(/__PREFIX__/g,h.classPrefix).replace(/\s+/g," ")}return h}function r(h){h.ptrElement&&(h.ptrElement.classList.remove(h.classPrefix+"refresh"),h.ptrElement.style[h.cssProp]="0px",setTimeout(function(){h.ptrElement&&h.ptrElement.parentNode&&(h.ptrElement.parentNode.removeChild(h.ptrElement),h.ptrElement=null),n.state="pending"},h.refreshTimeout))}function e(h){var k=h.ptrElement.querySelector("."+h.classPrefix+"icon"),M=h.ptrElement.querySelector("."+h.classPrefix+"text");k&&(n.state==="refreshing"?k.innerHTML=h.iconRefreshing:k.innerHTML=h.iconArrow),M&&(n.state==="releasing"&&(M.innerHTML=h.instructionsReleaseToRefresh),(n.state==="pulling"||n.state==="pending")&&(M.innerHTML=h.instructionsPullToRefresh),n.state==="refreshing"&&(M.innerHTML=h.instructionsRefreshing))}var i={setupDOM:t,onReset:r,update:e},o,a=function(k){return n.pointerEventsEnabled&&n.supportsPointerEvents?k.screenY:k.touches[0].screenY},s=function(){var h;function k(ft){var He=n.handlers.filter(function(wa){return wa.contains(ft.target)})[0];n.enable=!!He,He&&n.state==="pending"&&(h=i.setupDOM(He),He.shouldPullToRefresh()&&(n.pullStartY=a(ft)),clearTimeout(n.timeout),i.update(He))}function M(ft){if(h&&h.ptrElement&&n.enable){if(n.pullStartY?n.pullMoveY=a(ft):h.shouldPullToRefresh()&&(n.pullStartY=a(ft)),n.state==="refreshing"){ft.cancelable&&h.shouldPullToRefresh()&&n.pullStartY0&&(ft.cancelable&&ft.preventDefault(),h.ptrElement.style[h.cssProp]=n.distResisted+"px",n.distResisted=h.resistanceFunction(n.distExtra/h.distThreshold)*Math.min(h.distMax,n.distExtra),n.state==="pulling"&&n.distResisted>h.distThreshold&&(h.ptrElement.classList.add(h.classPrefix+"release"),n.state="releasing",i.update(h)),n.state==="releasing"&&n.distResistedh.distThreshold)n.state="refreshing",h.ptrElement.style[h.cssProp]=h.distReload+"px",h.ptrElement.classList.add(h.classPrefix+"refresh"),n.timeout=setTimeout(function(){var ft=h.onRefresh(function(){return i.onReset(h)});ft&&typeof ft.then=="function"&&ft.then(function(){return i.onReset(h)}),!ft&&!h.onRefresh.length&&i.onReset(h)},h.refreshTimeout);else{if(n.state==="refreshing")return;h.ptrElement.style[h.cssProp]="0px",n.state="pending"}i.update(h),h.ptrElement.classList.remove(h.classPrefix+"release"),h.ptrElement.classList.remove(h.classPrefix+"pull"),n.pullStartY=n.pullMoveY=null,n.dist=n.distResisted=0}}function Ht(){h&&h.mainElement.classList.toggle(h.classPrefix+"top",h.shouldPullToRefresh())}var xi=n.supportsPassive?{passive:n.passive||!1}:void 0;return n.pointerEventsEnabled&&n.supportsPointerEvents?(window.addEventListener("pointerup",st),window.addEventListener("pointerdown",k),window.addEventListener("pointermove",M,xi)):(window.addEventListener("touchend",st),window.addEventListener("touchstart",k),window.addEventListener("touchmove",M,xi)),window.addEventListener("scroll",Ht),{onTouchEnd:st,onTouchStart:k,onTouchMove:M,onScroll:Ht,destroy:function(){n.pointerEventsEnabled&&n.supportsPointerEvents?(window.removeEventListener("pointerdown",k),window.removeEventListener("pointerup",st),window.removeEventListener("pointermove",M,xi)):(window.removeEventListener("touchstart",k),window.removeEventListener("touchend",st),window.removeEventListener("touchmove",M,xi)),window.removeEventListener("scroll",Ht)}}},c=` +
+
+
+
+
+
+`,d=` +.__PREFIX__ptr { + box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.12); + pointer-events: none; + font-size: 0.85em; + font-weight: bold; + top: 0; + height: 0; + transition: height 0.3s, min-height 0.3s; + text-align: center; + width: 100%; + overflow: hidden; + display: flex; + align-items: flex-end; + align-content: stretch; +} + +.__PREFIX__box { + padding: 10px; + flex-basis: 100%; +} + +.__PREFIX__pull { + transition: none; +} + +.__PREFIX__text { + margin-top: .33em; + color: rgba(0, 0, 0, 0.3); +} + +.__PREFIX__icon { + color: rgba(0, 0, 0, 0.3); + transition: transform .3s; +} + +/* +When at the top of the page, disable vertical overscroll so passive touch +listeners can take over. +*/ +.__PREFIX__top { + touch-action: pan-x pan-down pinch-zoom; +} + +.__PREFIX__release .__PREFIX__icon { + transform: rotate(180deg); +} +`,m={distThreshold:60,distMax:80,distReload:50,distIgnore:0,mainElement:"body",triggerElement:"body",ptrElement:".ptr",classPrefix:"ptr--",cssProp:"min-height",iconArrow:"⇣",iconRefreshing:"…",instructionsPullToRefresh:"Pull down to refresh",instructionsReleaseToRefresh:"Release to refresh",instructionsRefreshing:"Refreshing",refreshTimeout:500,getMarkup:function(){return c},getStyles:function(){return d},onInit:function(){},onRefresh:function(){return location.reload()},resistanceFunction:function(h){return Math.min(1,h/2.5)},shouldPullToRefresh:function(){return!window.scrollY}},g=["mainElement","ptrElement","triggerElement"],C=function(h){var k={};return Object.keys(m).forEach(function(M){k[M]=h[M]||m[M]}),k.refreshTimeout=typeof h.refreshTimeout=="number"?h.refreshTimeout:m.refreshTimeout,g.forEach(function(M){typeof k[M]=="string"&&(k[M]=document.querySelector(k[M]))}),n.events||(n.events=s()),k.contains=function(M){return k.triggerElement.contains(M)},k.destroy=function(){clearTimeout(n.timeout);var M=n.handlers.indexOf(k);n.handlers.splice(M,1)},k},A={setPassiveMode:function(k){n.passive=k},setPointerEventsMode:function(k){n.pointerEventsEnabled=k},destroyAll:function(){n.events&&(n.events.destroy(),n.events=null),n.handlers.forEach(function(k){k.destroy()})},init:function(k){k===void 0&&(k={});var M=C(k);return n.handlers.push(M),M},_:{setupHandler:C,setupEvents:s,setupDOM:i.setupDOM,onReset:i.onReset,update:i.update}};return A})});var Vn=class{},Ko=class{},Ei=class n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(r=>{let e=r.indexOf(":");if(e>0){let i=r.slice(0,e),o=i.toLowerCase(),a=r.slice(e+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,e)=>{this.setHeaderEntries(e,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,e])=>{this.setHeaderEntries(r,e)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?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(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new n;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let e=t.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...e),this.headers.set(r,i);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(t,r){let e=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,e),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var Va=class{encodeKey(t){return Vd(t)}encodeValue(t){return Vd(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Bh(n,t){let r=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,s]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=r.get(a)||[];c.push(s),r.set(a,c)}),r}var zh=/%(\d[a-f0-9])/gi,Uh={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Vd(n){return encodeURIComponent(n).replace(zh,(t,r)=>Uh[r]??t)}function Qo(n){return`${n}`}var ci=class n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Va,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Bh(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let e=t.fromObject[r],i=Array.isArray(e)?e.map(Qo):[Qo(e)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(e=>{let i=t[e];Array.isArray(i)?i.forEach(o=>{r.push({param:e,value:o,op:"a"})}):r.push({param:e,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(e=>r+"="+this.encoder.encodeValue(e)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new n({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Qo(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let e=this.map.get(t.param)||[],i=e.indexOf(Qo(t.value));i!==-1&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Ba=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),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 Hh(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Bd(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function zd(n){return typeof Blob<"u"&&n instanceof Blob}function Ud(n){return typeof FormData<"u"&&n instanceof FormData}function $h(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var jn=class n{constructor(t,r,e,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(Hh(this.method)||i?(this.body=e!==void 0?e:null,o=i):o=e,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 Ei,this.context??=new Ba,!this.params)this.params=new ci,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),c=s===-1?"?":sC.set(A,t.setHeaders[A]),d)),t.setParams&&(m=Object.keys(t.setParams).reduce((C,A)=>C.set(A,t.setParams[A]),m)),new n(r,e,a,{params:m,headers:d,context:g,reportProgress:c,responseType:i,withCredentials:s,transferCache:o})}},Zi=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(Zi||{}),Bn=class{constructor(t,r=tr.Ok,e="OK"){this.headers=t.headers||new Ei,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||e,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},za=class n extends Bn{constructor(t={}){super(t),this.type=Zi.ResponseHeader}clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Jo=class n extends Bn{constructor(t={}){super(t),this.type=Zi.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Qi=class extends Bn{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},tr=function(n){return n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}(tr||{});function ja(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,transferCache:n.transferCache}}var Di=(()=>{let t=class t{constructor(e){this.handler=e}request(e,i,o={}){let a;if(e instanceof jn)a=e;else{let d;o.headers instanceof Ei?d=o.headers:d=new Ei(o.headers);let m;o.params&&(o.params instanceof ci?m=o.params:m=new ci({fromObject:o.params})),a=new jn(e,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:m,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=O(a).pipe(Ci(d=>this.handler.handle(d)));if(e instanceof jn||o.observe==="events")return s;let c=s.pipe(it(d=>d instanceof Jo));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return c.pipe(L(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return c.pipe(L(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return c.pipe(L(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return c.pipe(L(d=>d.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.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,o={}){return this.request("PATCH",e,ja(o,i))}post(e,i,o={}){return this.request("POST",e,ja(o,i))}put(e,i,o={}){return this.request("PUT",e,ja(o,i))}};t.\u0275fac=function(i){return new(i||t)(u(Vn))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function Wh(n,t){return t(n)}function Gh(n,t,r){return(e,i)=>We(r,()=>t(e,o=>n(o,i)))}var Ha=new x(""),qh=new x(""),Yh=new x("");var Hd=(()=>{let t=class t extends Vn{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=v(Bo);let o=v(Yh,{optional:!0});this.backend=o??e}handle(e){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Ha),...this.injector.get(qh,[])]));this.chain=o.reduceRight((a,s)=>Gh(a,s,this.injector),Wh)}let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(ni(()=>this.pendingTasks.remove(i)))}};t.\u0275fac=function(i){return new(i||t)(u(Ko),u($i))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();var Xh=/^\)\]\}',?\n/;function Zh(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var $d=(()=>{let t=class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new _t(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?$t(i.\u0275loadImpl()):O(null)).pipe(yt(()=>new Xt(a=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((M,st)=>s.setRequestHeader(M,st.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let M=e.detectContentTypeHeader();M!==null&&s.setRequestHeader("Content-Type",M)}if(e.responseType){let M=e.responseType.toLowerCase();s.responseType=M!=="json"?M:"text"}let c=e.serializeBody(),d=null,m=()=>{if(d!==null)return d;let M=s.statusText||"OK",st=new Ei(s.getAllResponseHeaders()),Ht=Zh(s)||e.url;return d=new za({headers:st,status:s.status,statusText:M,url:Ht}),d},g=()=>{let{headers:M,status:st,statusText:Ht,url:xi}=m(),ft=null;st!==tr.NoContent&&(ft=typeof s.response>"u"?s.responseText:s.response),st===0&&(st=ft?tr.Ok:0);let He=st>=200&&st<300;if(e.responseType==="json"&&typeof ft=="string"){let wa=ft;ft=ft.replace(Xh,"");try{ft=ft!==""?JSON.parse(ft):null}catch(Oh){ft=wa,He&&(He=!1,ft={error:Oh,text:ft})}}He?(a.next(new Jo({body:ft,headers:M,status:st,statusText:Ht,url:xi||void 0})),a.complete()):a.error(new Qi({error:ft,headers:M,status:st,statusText:Ht,url:xi||void 0}))},C=M=>{let{url:st}=m(),Ht=new Qi({error:M,status:s.status||0,statusText:s.statusText||"Unknown Error",url:st||void 0});a.error(Ht)},A=!1,h=M=>{A||(a.next(m()),A=!0);let st={type:Zi.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(st.total=M.total),e.responseType==="text"&&s.responseText&&(st.partialText=s.responseText),a.next(st)},k=M=>{let st={type:Zi.UploadProgress,loaded:M.loaded};M.lengthComputable&&(st.total=M.total),a.next(st)};return s.addEventListener("load",g),s.addEventListener("error",C),s.addEventListener("timeout",C),s.addEventListener("abort",C),e.reportProgress&&(s.addEventListener("progress",h),c!==null&&s.upload&&s.upload.addEventListener("progress",k)),s.send(c),a.next({type:Zi.Sent}),()=>{s.removeEventListener("error",C),s.removeEventListener("abort",C),s.removeEventListener("load",g),s.removeEventListener("timeout",C),e.reportProgress&&(s.removeEventListener("progress",h),c!==null&&s.upload&&s.upload.removeEventListener("progress",k)),s.readyState!==s.DONE&&s.abort()}})))}};t.\u0275fac=function(i){return new(i||t)(u(Zo))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Wd=new x(""),Qh="XSRF-TOKEN",Kh=new x("",{providedIn:"root",factory:()=>Qh}),Jh="X-XSRF-TOKEN",tf=new x("",{providedIn:"root",factory:()=>Jh}),er=class{},ef=(()=>{let t=class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=qo(e,this.cookieName),this.lastCookieString=e),this.lastToken}};t.\u0275fac=function(i){return new(i||t)(u(B),u(fe),u(Kh))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function nf(n,t){let r=n.url.toLowerCase();if(!v(Wd)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(n);let e=v(er).getToken(),i=v(tf);return e!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,e)})),t(n)}var Gd=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(Gd||{});function of(n,t){return{\u0275kind:n,\u0275providers:t}}function qd(...n){let t=[Di,$d,Hd,{provide:Vn,useExisting:Hd},{provide:Ko,useExisting:$d},{provide:Ha,useValue:nf,multi:!0},{provide:Wd,useValue:!0},{provide:er,useClass:ef}];for(let r of n)t.push(...r.\u0275providers);return $e(t)}function Yd(n){return of(Gd.Interceptors,n.map(t=>({provide:Ha,useValue:t,multi:!0})))}var qa=class extends Nd{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ya=class n extends qa{static makeCurrent(){Pd(new n)}onAndCancel(t,r,e){return t.addEventListener(r,e),()=>{t.removeEventListener(r,e)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=af();return r==null?null:sf(r)}resetBaseElement(){zn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qo(document.cookie,t)}},zn=null;function af(){return zn=zn||document.querySelector("base"),zn?zn.getAttribute("href"):null}function sf(n){return new URL(n,document.baseURI).pathname}var cf=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Xa=new x(""),Kd=(()=>{let t=class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new _t(5101,!1);return this._eventNameToPlugin.set(e,i),i}};t.\u0275fac=function(i){return new(i||t)(u(Xa),u(E))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),ir=class{constructor(t){this._doc=t}},Wa="ng-app-id",Jd=(()=>{let t=class t{constructor(e,i,o,a={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Xo(a),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${Wa}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let a=o.get(e);return a.usage+=i,a.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,a=o?.get(i);if(a?.parentNode===e)return o.delete(i),a.removeAttribute(Wa),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Wa,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),a=this.styleRef,s=a.get(i)?.elements;s?s.push(o):a.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}};t.\u0275fac=function(i){return new(i||t)(u(B),u(Mn),u(On,8),u(fe))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Ga={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/"},Ka=/%COMP%/g,tl="%COMP%",df=`_nghost-${tl}`,lf=`_ngcontent-${tl}`,mf=!0,uf=new x("",{providedIn:"root",factory:()=>mf});function hf(n){return lf.replace(Ka,n)}function ff(n){return df.replace(Ka,n)}function el(n,t){return t.map(r=>r.replace(Ka,n))}var nr=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=c,this.ngZone=d,this.nonce=m,this.rendererByCompId=new Map,this.platformIsServer=Xo(c),this.defaultRenderer=new Un(e,s,d,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===An.ShadowDom&&(i=ht(_({},i),{encapsulation:An.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof or?o.applyToHost(e):o instanceof Hn&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,a=o.get(i.id);if(!a){let s=this.doc,c=this.ngZone,d=this.eventManager,m=this.sharedStylesHost,g=this.removeStylesOnCompDestroy,C=this.platformIsServer;switch(i.encapsulation){case An.Emulated:a=new or(d,m,i,this.appId,g,s,c,C);break;case An.ShadowDom:return new Za(d,m,e,i,s,c,this.nonce,C);default:a=new Hn(d,m,i,g,s,c,C);break}o.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(i){return new(i||t)(u(Kd),u(Jd),u(Mn),u(uf),u(B),u(fe),u(E),u(On))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Un=class{constructor(t,r,e,i){this.eventManager=t,this.doc=r,this.ngZone=e,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Ga[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(Xd(t)?t.content:t).appendChild(r)}insertBefore(t,r,e){t&&(Xd(t)?t.content:t).insertBefore(r,e)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let e=typeof t=="string"?this.doc.querySelector(t):t;if(!e)throw new _t(-5104,!1);return r||(e.textContent=""),e}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,e,i){if(i){r=i+":"+r;let o=Ga[i];o?t.setAttributeNS(o,r,e):t.setAttribute(r,e)}else t.setAttribute(r,e)}removeAttribute(t,r,e){if(e){let i=Ga[e];i?t.removeAttributeNS(i,r):t.removeAttribute(`${e}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,e,i){i&(Fn.DashCase|Fn.Important)?t.style.setProperty(r,e,i&Fn.Important?"important":""):t.style[r]=e}removeStyle(t,r,e){e&Fn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,e){t!=null&&(t[r]=e)}setValue(t,r){t.nodeValue=r}listen(t,r,e){if(typeof t=="string"&&(t=Yi().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(e))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function Xd(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Za=class extends Un{constructor(t,r,e,i,o,a,s,c){super(t,o,a,c),this.sharedStylesHost=r,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=el(i.id,i.styles);for(let m of d){let g=document.createElement("style");s&&g.setAttribute("nonce",s),g.textContent=m,this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,e){return super.insertBefore(this.nodeOrShadowRoot(t),r,e)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Hn=class extends Un{constructor(t,r,e,i,o,a,s,c){super(t,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?el(c,e.styles):e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},or=class extends Hn{constructor(t,r,e,i,o,a,s,c){let d=i+"-"+e.id;super(t,r,e,o,a,s,c,d),this.contentAttr=hf(d),this.hostAttr=ff(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let e=super.createElement(t,r);return super.setAttribute(e,this.contentAttr,""),e}},pf=(()=>{let t=class t extends ir{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}};t.\u0275fac=function(i){return new(i||t)(u(B))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Zd=["alt","control","meta","shift"],gf={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},bf={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},_f=(()=>{let t=class t extends ir{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yi().onAndCancel(e,a.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let a=t._normalizeKey(i.pop()),s="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),s="code."),Zd.forEach(m=>{let g=i.indexOf(m);g>-1&&(i.splice(g,1),s+=m+".")}),s+=a,i.length!=0||a.length===0)return null;let d={};return d.domEventName=o,d.fullKey=s,d}static matchEventFullKeyCode(e,i){let o=gf[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(o=e.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Zd.forEach(s=>{if(s!==o){let c=bf[s];c(e)&&(a+=s+".")}}),a+=o,a===i)}static eventCallback(e,i,o){return a=>{t.matchEventFullKeyCode(a,e)&&o.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}};t.\u0275fac=function(i){return new(i||t)(u(B))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function il(n,t){return Od(_({rootComponent:n},vf(t)))}function vf(n){return{appProviders:[...kf,...n?.providers??[]],platformProviders:Cf}}function yf(){Ya.makeCurrent()}function xf(){return new ki}function wf(){return pd(document),document}var Cf=[{provide:fe,useValue:jd},{provide:gd,useValue:yf,multi:!0},{provide:B,useFactory:wf,deps:[]}];var kf=[{provide:hd,useValue:"root"},{provide:ki,useFactory:xf,deps:[]},{provide:Xa,useClass:pf,multi:!0,deps:[B,E,fe]},{provide:Xa,useClass:_f,multi:!0,deps:[B]},nr,Jd,Kd,{provide:jo,useExisting:nr},{provide:Zo,useClass:cf,deps:[]},[]];var nl=(()=>{let t=class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}};t.\u0275fac=function(i){return new(i||t)(u(B))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ja=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:function(i){let o=null;return i?o=new(i||t):o=u(If),o},providedIn:"root"});let n=t;return n})(),If=(()=>{let t=class t extends Ja{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case ie.NONE:return i;case ie.HTML:return Gi(i,"HTML")?Wi(i):Cd(this._doc,String(i)).toString();case ie.STYLE:return Gi(i,"Style")?Wi(i):i;case ie.SCRIPT:if(Gi(i,"Script"))return Wi(i);throw new _t(5200,!1);case ie.URL:return Gi(i,"URL")?Wi(i):wd(String(i));case ie.RESOURCE_URL:if(Gi(i,"ResourceURL"))return Wi(i);throw new _t(5201,!1);default:throw new _t(5202,!1)}}bypassSecurityTrustHtml(e){return bd(e)}bypassSecurityTrustStyle(e){return _d(e)}bypassSecurityTrustScript(e){return vd(e)}bypassSecurityTrustUrl(e){return yd(e)}bypassSecurityTrustResourceUrl(e){return xd(e)}};t.\u0275fac=function(i){return new(i||t)(u(B))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var nt="primary",oo=Symbol("RouteTitle"),os=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function nn(n){return new os(n)}function Df(n,t,r){let e=r.path.split("/");if(e.length>n.length||r.pathMatch==="full"&&(t.hasChildren()||e.lengthe[o]===i)}else return n===t}function ml(n){return n.length>0?n[n.length-1]:null}function mi(n){return Ia(n)?n:Go(n)?$t(Promise.resolve(n)):O(n)}var Sf={exact:hl,subset:fl},ul={exact:Af,subset:Rf,ignored:()=>!0};function rl(n,t,r){return Sf[r.paths](n.root,t.root,r.matrixParams)&&ul[r.queryParams](n.queryParams,t.queryParams)&&!(r.fragment==="exact"&&n.fragment!==t.fragment)}function Af(n,t){return Pe(n,t)}function hl(n,t,r){if(!Si(n.segments,t.segments)||!sr(n.segments,t.segments,r)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!n.children[e]||!hl(n.children[e],t.children[e],r))return!1;return!0}function Rf(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(r=>ll(n[r],t[r]))}function fl(n,t,r){return pl(n,t,t.segments,r)}function pl(n,t,r,e){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!Si(i,r)||t.hasChildren()||!sr(i,r,e))}else if(n.segments.length===r.length){if(!Si(n.segments,r)||!sr(n.segments,r,e))return!1;for(let i in t.children)if(!n.children[i]||!fl(n.children[i],t.children[i],e))return!1;return!0}else{let i=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!Si(n.segments,i)||!sr(n.segments,i,e)||!n.children[nt]?!1:pl(n.children[nt],t,o,e)}}function sr(n,t,r){return t.every((e,i)=>ul[r](n[i].parameters,e.parameters))}var di=class{constructor(t=new bt([],{}),r={},e=null){this.root=t,this.queryParams=r,this.fragment=e}get queryParamMap(){return this._queryParamMap??=nn(this.queryParams),this._queryParamMap}toString(){return Ff.serialize(this)}},bt=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cr(this)}},Ti=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=nn(this.parameters),this._parameterMap}toString(){return bl(this)}};function Mf(n,t){return Si(n,t)&&n.every((r,e)=>Pe(r.parameters,t[e].parameters))}function Si(n,t){return n.length!==t.length?!1:n.every((r,e)=>r.path===t[e].path)}function Of(n,t){let r=[];return Object.entries(n.children).forEach(([e,i])=>{e===nt&&(r=r.concat(t(i,e)))}),Object.entries(n.children).forEach(([e,i])=>{e!==nt&&(r=r.concat(t(i,e)))}),r}var Rs=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>new lr,providedIn:"root"});let n=t;return n})(),lr=class{parse(t){let r=new ss(t);return new di(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${$n(t.root,!0)}`,e=Lf(t.queryParams),i=typeof t.fragment=="string"?`#${Pf(t.fragment)}`:"";return`${r}${e}${i}`}},Ff=new lr;function cr(n){return n.segments.map(t=>bl(t)).join("/")}function $n(n,t){if(!n.hasChildren())return cr(n);if(t){let r=n.children[nt]?$n(n.children[nt],!1):"",e=[];return Object.entries(n.children).forEach(([i,o])=>{i!==nt&&e.push(`${i}:${$n(o,!1)}`)}),e.length>0?`${r}(${e.join("//")})`:r}else{let r=Of(n,(e,i)=>i===nt?[$n(n.children[nt],!1)]:[`${i}:${$n(e,!1)}`]);return Object.keys(n.children).length===1&&n.children[nt]!=null?`${cr(n)}/${r[0]}`:`${cr(n)}/(${r.join("//")})`}}function gl(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function rr(n){return gl(n).replace(/%3B/gi,";")}function Pf(n){return encodeURI(n)}function as(n){return gl(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dr(n){return decodeURIComponent(n)}function al(n){return dr(n.replace(/\+/g,"%20"))}function bl(n){return`${as(n.path)}${Nf(n.parameters)}`}function Nf(n){return Object.entries(n).map(([t,r])=>`;${as(t)}=${as(r)}`).join("")}function Lf(n){let t=Object.entries(n).map(([r,e])=>Array.isArray(e)?e.map(i=>`${rr(r)}=${rr(i)}`).join("&"):`${rr(r)}=${rr(e)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var jf=/^[^\/()?;#]+/;function ts(n){let t=n.match(jf);return t?t[0]:""}var Vf=/^[^\/()?;=#]+/;function Bf(n){let t=n.match(Vf);return t?t[0]:""}var zf=/^[^=?&#]+/;function Uf(n){let t=n.match(zf);return t?t[0]:""}var Hf=/^[^&#]+/;function $f(n){let t=n.match(Hf);return t?t[0]:""}var ss=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(e[nt]=new bt(t,r)),e}parseSegment(){let t=ts(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new _t(4009,!1);return this.capture(t),new Ti(dr(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=Bf(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let i=ts(this.remaining);i&&(e=i,this.capture(e))}t[dr(r)]=dr(e)}parseQueryParam(t){let r=Uf(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let a=$f(this.remaining);a&&(e=a,this.capture(e))}let i=al(r),o=al(e);if(t.hasOwnProperty(i)){let a=t[i];Array.isArray(a)||(a=[a],t[i]=a),a.push(o)}else t[i]=o}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=ts(this.remaining),i=this.remaining[e.length];if(i!=="/"&&i!==")"&&i!==";")throw new _t(4010,!1);let o;e.indexOf(":")>-1?(o=e.slice(0,e.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=nt);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[nt]:new bt([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new _t(4011,!1)}};function _l(n){return n.segments.length>0?new bt([],{[nt]:n}):n}function vl(n){let t={};for(let[e,i]of Object.entries(n.children)){let o=vl(i);if(e===nt&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[e]=o)}let r=new bt(n.segments,t);return Wf(r)}function Wf(n){if(n.numberOfChildren===1&&n.children[nt]){let t=n.children[nt];return new bt(n.segments.concat(t.segments),t.children)}return n}function on(n){return n instanceof di}function Gf(n,t,r=null,e=null){let i=yl(n);return xl(i,t,r,e)}function yl(n){let t;function r(o){let a={};for(let c of o.children){let d=r(c);a[c.outlet]=d}let s=new bt(o.url,a);return o===n&&(t=s),s}let e=r(n.root),i=_l(e);return t??i}function xl(n,t,r,e){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return es(i,i,i,r,e);let o=qf(t);if(o.toRoot())return es(i,i,new bt([],{}),r,e);let a=Yf(o,i,n),s=a.processChildren?qn(a.segmentGroup,a.index,o.commands):Cl(a.segmentGroup,a.index,o.commands);return es(i,a.segmentGroup,s,r,e)}function mr(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Zn(n){return typeof n=="object"&&n!=null&&n.outlets}function es(n,t,r,e,i){let o={};e&&Object.entries(e).forEach(([c,d])=>{o[c]=Array.isArray(d)?d.map(m=>`${m}`):`${d}`});let a;n===t?a=r:a=wl(n,t,r);let s=_l(vl(a));return new di(s,o,i)}function wl(n,t,r){let e={};return Object.entries(n.children).forEach(([i,o])=>{o===t?e[i]=r:e[i]=wl(o,t,r)}),new bt(n.segments,e)}var ur=class{constructor(t,r,e){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=e,t&&e.length>0&&mr(e[0]))throw new _t(4003,!1);let i=e.find(Zn);if(i&&i!==ml(e))throw new _t(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function qf(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new ur(!0,0,n);let t=0,r=!1,e=n.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([c,d])=>{s[c]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:s}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?r=!0:s===".."?t++:s!=""&&i.push(s))}),i):[...i,o]},[]);return new ur(r,t,e)}var tn=class{constructor(t,r,e){this.segmentGroup=t,this.processChildren=r,this.index=e}};function Yf(n,t,r){if(n.isAbsolute)return new tn(t,!0,0);if(!r)return new tn(t,!1,NaN);if(r.parent===null)return new tn(r,!0,0);let e=mr(n.commands[0])?0:1,i=r.segments.length-1+e;return Xf(r,i,n.numberOfDoubleDots)}function Xf(n,t,r){let e=n,i=t,o=r;for(;o>i;){if(o-=i,e=e.parent,!e)throw new _t(4005,!1);i=e.segments.length}return new tn(e,!1,i-o)}function Zf(n){return Zn(n[0])?n[0].outlets:{[nt]:n}}function Cl(n,t,r){if(n??=new bt([],{}),n.segments.length===0&&n.hasChildren())return qn(n,t,r);let e=Qf(n,t,r),i=r.slice(e.commandIndex);if(e.match&&e.pathIndexo!==nt)&&n.children[nt]&&n.numberOfChildren===1&&n.children[nt].segments.length===0){let o=qn(n.children[nt],t,r);return new bt(n.segments,o.children)}return Object.entries(e).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=Cl(n.children[o],t,a))}),Object.entries(n.children).forEach(([o,a])=>{e[o]===void 0&&(i[o]=a)}),new bt(n.segments,i)}}function Qf(n,t,r){let e=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let a=n.segments[i],s=r[e];if(Zn(s))break;let c=`${s}`,d=e0&&c===void 0)break;if(c&&d&&typeof d=="object"&&d.outlets===void 0){if(!cl(c,d,a))return o;e+=2}else{if(!cl(c,{},a))return o;e++}i++}return{match:!0,pathIndex:i,commandIndex:e}}function cs(n,t,r){let e=n.segments.slice(0,t),i=0;for(;i{typeof e=="string"&&(e=[e]),e!==null&&(t[r]=cs(new bt([],{}),0,e))}),t}function sl(n){let t={};return Object.entries(n).forEach(([r,e])=>t[r]=`${e}`),t}function cl(n,t,r){return n==r.path&&Pe(t,r.parameters)}var Yn="imperative",Lt=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Lt||{}),ye=class{constructor(t,r){this.id=t,this.url=r}},Qn=class extends ye{constructor(t,r,e="imperative",i=null){super(t,r),this.type=Lt.NavigationStart,this.navigationTrigger=e,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ai=class extends ye{constructor(t,r,e){super(t,r),this.urlAfterRedirects=e,this.type=Lt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},oe=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(oe||{}),ds=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(ds||{}),li=class extends ye{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Lt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ri=class extends ye{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Lt.NavigationSkipped}},Kn=class extends ye{constructor(t,r,e,i){super(t,r),this.error=e,this.target=i,this.type=Lt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},hr=class extends ye{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Lt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ls=class extends ye{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Lt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ms=class extends ye{constructor(t,r,e,i,o){super(t,r),this.urlAfterRedirects=e,this.state=i,this.shouldActivate=o,this.type=Lt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},us=class extends ye{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Lt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},hs=class extends ye{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Lt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},fs=class{constructor(t){this.route=t,this.type=Lt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ps=class{constructor(t){this.route=t,this.type=Lt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},gs=class{constructor(t){this.snapshot=t,this.type=Lt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bs=class{constructor(t){this.snapshot=t,this.type=Lt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_s=class{constructor(t){this.snapshot=t,this.type=Lt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},vs=class{constructor(t){this.snapshot=t,this.type=Lt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Jn=class{},to=class{constructor(t){this.url=t}};var ys=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new vr,this.attachRef=null}},vr=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){let o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new ys,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),fr=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=xs(t,this._root);return r?r.children.map(e=>e.value):[]}firstChild(t){let r=xs(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=ws(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return ws(t,this._root).map(r=>r.value)}};function xs(n,t){if(n===t.value)return t;for(let r of t.children){let e=xs(n,r);if(e)return e}return null}function ws(n,t){if(n===t.value)return[t];for(let r of t.children){let e=ws(n,r);if(e.length)return e.unshift(t),e}return[]}var ne=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ji(n){let t={};return n&&n.children.forEach(r=>t[r.value.outlet]=r),t}var pr=class extends fr{constructor(t,r){super(t),this.snapshot=r,Os(this,t)}toString(){return this.snapshot.toString()}};function kl(n){let t=Jf(n),r=new At([new Ti("",{})]),e=new At({}),i=new At({}),o=new At({}),a=new At(""),s=new rn(r,e,o,a,i,nt,n,t.root);return s.snapshot=t.root,new pr(new ne(s,[]),t)}function Jf(n){let t={},r={},e={},i="",o=new eo([],t,e,i,r,nt,n,null,{});return new gr("",new ne(o,[]))}var rn=class{constructor(t,r,e,i,o,a,s,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=e,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(L(d=>d[oo]))??O(void 0),this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(L(t=>nn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(L(t=>nn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ms(n,t,r="emptyOnly"){let e,{routeConfig:i}=n;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:_(_({},t.params),n.params),data:_(_({},t.data),n.data),resolve:_(_(_(_({},n.data),t.data),i?.data),n._resolvedData)}:e={params:_({},n.params),data:_({},n.data),resolve:_(_({},n.data),n._resolvedData??{})},i&&El(i)&&(e.resolve[oo]=i.title),e}var eo=class{get title(){return this.data?.[oo]}constructor(t,r,e,i,o,a,s,c,d){this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=nn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=nn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},gr=class extends fr{constructor(t,r){super(r),this.url=t,Os(this,r)}toString(){return Il(this._root)}};function Os(n,t){t.value._routerState=n,t.children.forEach(r=>Os(n,r))}function Il(n){let t=n.children.length>0?` { ${n.children.map(Il).join(", ")} } `:"";return`${n.value}${t}`}function is(n){if(n.snapshot){let t=n.snapshot,r=n._futureSnapshot;n.snapshot=r,Pe(t.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),Pe(t.params,r.params)||n.paramsSubject.next(r.params),Tf(t.url,r.url)||n.urlSubject.next(r.url),Pe(t.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function Cs(n,t){let r=Pe(n.params,t.params)&&Mf(n.url,t.url),e=!n.parent!=!t.parent;return r&&!e&&(!n.parent||Cs(n.parent,t.parent))}function El(n){return typeof n.title=="string"||n.title===null}var Fs=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=nt,this.activateEvents=new U,this.deactivateEvents=new U,this.attachEvents=new U,this.detachEvents=new U,this.parentContexts=v(vr),this.location=v(Gt),this.changeDetector=v(gt),this.environmentInjector=v($i),this.inputBinder=v(Ps,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _t(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _t(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _t(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new _t(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,d=new ks(e,c,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:d,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[kt]});let n=t;return n})(),ks=class n{__ngOutletInjector(t){return new n(this.route,this.childContexts,t)}constructor(t,r,e){this.route=t,this.childContexts=r,this.parent=e}get(t,r){return t===rn?this.route:t===vr?this.childContexts:this.parent.get(t,r)}},Ps=new x("");function tp(n,t,r){let e=io(n,t._root,r?r._root:void 0);return new pr(e,t)}function io(n,t,r){if(r&&n.shouldReuseRoute(t.value,r.value.snapshot)){let e=r.value;e._futureSnapshot=t.value;let i=ep(n,t,r);return new ne(e,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>io(n,s)),a}}let e=ip(t.value),i=t.children.map(o=>io(n,o));return new ne(e,i)}}function ep(n,t,r){return t.children.map(e=>{for(let i of r.children)if(n.shouldReuseRoute(e.value,i.value.snapshot))return io(n,e,i);return io(n,e)})}function ip(n){return new rn(new At(n.url),new At(n.params),new At(n.queryParams),new At(n.fragment),new At(n.data),n.outlet,n.component,n)}var Dl="ngNavigationCancelingError";function Tl(n,t){let{redirectTo:r,navigationBehaviorOptions:e}=on(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=Sl(!1,oe.Redirect);return i.url=r,i.navigationBehaviorOptions=e,i}function Sl(n,t){let r=new Error(`NavigationCancelingError: ${n||""}`);return r[Dl]=!0,r.cancellationCode=t,r}function np(n){return Al(n)&&on(n.url)}function Al(n){return!!n&&n[Dl]}var op=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=F({type:t,selectors:[["ng-component"]],standalone:!0,features:[N],decls:1,vars:0,template:function(i,o){i&1&&P(0,"router-outlet")},dependencies:[Fs],encapsulation:2});let n=t;return n})();function rp(n,t){return n.providers&&!n._injector&&(n._injector=Ed(n.providers,t,`Route: ${n.path}`)),n._injector??t}function Ns(n){let t=n.children&&n.children.map(Ns),r=t?ht(_({},n),{children:t}):_({},n);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==nt&&(r.component=op),r}function Ne(n){return n.outlet||nt}function ap(n,t){let r=n.filter(e=>Ne(e)===t);return r.push(...n.filter(e=>Ne(e)!==t)),r}function ro(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var sp=(n,t,r,e)=>L(i=>(new Is(t,i.targetRouterState,i.currentRouterState,r,e).activate(n),i)),Is=class{constructor(t,r,e,i,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=e,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let r=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,e,t),is(this.futureState.root),this.activateChildRoutes(r,e,t)}deactivateChildRoutes(t,r,e){let i=Ji(r);t.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],e),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,e)})}deactivateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(i===o)if(i.component){let a=e.getContext(i.outlet);a&&this.deactivateChildRoutes(t,r,a.children)}else this.deactivateChildRoutes(t,r,e);else o&&this.deactivateRouteAndItsChildren(r,e)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=Ji(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=Ji(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,r,e){let i=Ji(r);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],e),this.forwardEvent(new vs(o.value.snapshot))}),t.children.length&&this.forwardEvent(new bs(t.value.snapshot))}activateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(is(i),i===o)if(i.component){let a=e.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,a.children)}else this.activateChildRoutes(t,r,e);else if(i.component){let a=e.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),is(s.route.value),this.activateChildRoutes(t,null,a.children)}else{let s=ro(i.snapshot);a.attachRef=null,a.route=i,a.injector=s,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,e)}},br=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},en=class{constructor(t,r){this.component=t,this.route=r}};function cp(n,t,r){let e=n._root,i=t?t._root:null;return Wn(e,i,r,[e.value])}function dp(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function sn(n,t){let r=Symbol(),e=t.get(n,r);return e===r?typeof n=="function"&&!ud(n)?n:t.get(n):e}function Wn(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ji(t);return n.children.forEach(a=>{lp(a,o[a.value.outlet],r,e.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Xn(s,r.getContext(a),i)),i}function lp(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,a=t?t.value:null,s=r?r.getContext(n.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let c=mp(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new br(e)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Wn(n,t,s?s.children:null,e,i):Wn(n,t,r,e,i),c&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new en(s.outlet.component,a))}else a&&Xn(t,s,i),i.canActivateChecks.push(new br(e)),o.component?Wn(n,null,s?s.children:null,e,i):Wn(n,null,r,e,i);return i}function mp(n,t,r){if(typeof r=="function")return r(n,t);switch(r){case"pathParamsChange":return!Si(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Si(n.url,t.url)||!Pe(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cs(n,t)||!Pe(n.queryParams,t.queryParams);case"paramsChange":default:return!Cs(n,t)}}function Xn(n,t,r){let e=Ji(n),i=n.value;Object.entries(e).forEach(([o,a])=>{i.component?t?Xn(a,t.children.getContext(o),r):Xn(a,null,r):Xn(a,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new en(t.outlet.component,i)):r.canDeactivateChecks.push(new en(null,i)):r.canDeactivateChecks.push(new en(null,i))}function ao(n){return typeof n=="function"}function up(n){return typeof n=="boolean"}function hp(n){return n&&ao(n.canLoad)}function fp(n){return n&&ao(n.canActivate)}function pp(n){return n&&ao(n.canActivateChild)}function gp(n){return n&&ao(n.canDeactivate)}function bp(n){return n&&ao(n.canMatch)}function Rl(n){return n instanceof rd||n?.name==="EmptyError"}var ar=Symbol("INITIAL_VALUE");function an(){return yt(n=>wi(n.map(t=>t.pipe(at(1),Pt(ar)))).pipe(L(t=>{for(let r of t)if(r!==!0){if(r===ar)return ar;if(r===!1||r instanceof di)return r}return!0}),it(t=>t!==ar),at(1)))}function _p(n,t){return me(r=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?O(ht(_({},r),{guardsResult:!0})):vp(a,e,i,n).pipe(me(s=>s&&up(s)?yp(e,o,n,t):O(s)),L(s=>ht(_({},r),{guardsResult:s})))})}function vp(n,t,r,e){return $t(n).pipe(me(i=>Ip(i.component,i.route,r,t,e)),oi(i=>i!==!0,!0))}function yp(n,t,r,e){return $t(t).pipe(Ci(i=>Bi(wp(i.route.parent,e),xp(i.route,e),kp(n,i.path,r),Cp(n,i.route,r))),oi(i=>i!==!0,!0))}function xp(n,t){return n!==null&&t&&t(new _s(n)),O(!0)}function wp(n,t){return n!==null&&t&&t(new gs(n)),O(!0)}function Cp(n,t,r){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return O(!0);let i=e.map(o=>ue(()=>{let a=ro(t)??r,s=sn(o,a),c=fp(s)?s.canActivate(t,n):We(a,()=>s(t,n));return mi(c).pipe(oi())}));return O(i).pipe(an())}function kp(n,t,r){let e=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>dp(a)).filter(a=>a!==null).map(a=>ue(()=>{let s=a.guards.map(c=>{let d=ro(a.node)??r,m=sn(c,d),g=pp(m)?m.canActivateChild(e,n):We(d,()=>m(e,n));return mi(g).pipe(oi())});return O(s).pipe(an())}));return O(o).pipe(an())}function Ip(n,t,r,e,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let a=o.map(s=>{let c=ro(t)??i,d=sn(s,c),m=gp(d)?d.canDeactivate(n,t,r,e):We(c,()=>d(n,t,r,e));return mi(m).pipe(oi())});return O(a).pipe(an())}function Ep(n,t,r,e){let i=t.canLoad;if(i===void 0||i.length===0)return O(!0);let o=i.map(a=>{let s=sn(a,n),c=hp(s)?s.canLoad(t,r):We(n,()=>s(t,r));return mi(c)});return O(o).pipe(an(),Ml(e))}function Ml(n){return od(ut(t=>{if(on(t))throw Tl(n,t)}),L(t=>t===!0))}function Dp(n,t,r,e){let i=t.canMatch;if(!i||i.length===0)return O(!0);let o=i.map(a=>{let s=sn(a,n),c=bp(s)?s.canMatch(t,r):We(n,()=>s(t,r));return mi(c)});return O(o).pipe(an(),Ml(e))}var no=class{constructor(t){this.segmentGroup=t||null}},_r=class extends Error{constructor(t){super(),this.urlTree=t}};function Ki(n){return ee(new no(n))}function Tp(n){return ee(new _t(4e3,!1))}function Sp(n){return ee(Sl(!1,oe.GuardRejected))}var Es=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let e=[],i=r.root;for(;;){if(e=e.concat(i.segments),i.numberOfChildren===0)return O(e);if(i.numberOfChildren>1||!i.children[nt])return Tp(t.redirectTo);i=i.children[nt]}}applyRedirectCommands(t,r,e){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,e);if(r.startsWith("/"))throw new _r(i);return i}applyRedirectCreateUrlTree(t,r,e,i){let o=this.createSegmentGroup(t,r.root,e,i);return new di(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let e={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);e[i]=r[s]}else e[i]=o}),e}createSegmentGroup(t,r,e,i){let o=this.createSegments(t,r.segments,e,i),a={};return Object.entries(r.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(t,c,e,i)}),new bt(o,a)}createSegments(t,r,e,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,e))}findPosParam(t,r,e){let i=e[r.path.substring(1)];if(!i)throw new _t(4001,!1);return i}findOrReturn(t,r){let e=0;for(let i of r){if(i.path===t.path)return r.splice(e),i;e++}return t}},Ds={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ap(n,t,r,e,i){let o=Ls(n,t,r);return o.matched?(e=rp(t,e),Dp(e,t,r,i).pipe(L(a=>a===!0?o:_({},Ds)))):O(o)}function Ls(n,t,r){if(t.path==="**")return Rp(r);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||r.length>0)?_({},Ds):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Df)(r,n,t);if(!i)return _({},Ds);let o={};Object.entries(i.posParams??{}).forEach(([s,c])=>{o[s]=c.path});let a=i.consumed.length>0?_(_({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function Rp(n){return{matched:!0,parameters:n.length>0?ml(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function dl(n,t,r,e){return r.length>0&&Fp(n,r,e)?{segmentGroup:new bt(t,Op(e,new bt(r,n.children))),slicedSegments:[]}:r.length===0&&Pp(n,r,e)?{segmentGroup:new bt(n.segments,Mp(n,r,e,n.children)),slicedSegments:r}:{segmentGroup:new bt(n.segments,n.children),slicedSegments:r}}function Mp(n,t,r,e){let i={};for(let o of r)if(yr(n,t,o)&&!e[Ne(o)]){let a=new bt([],{});i[Ne(o)]=a}return _(_({},e),i)}function Op(n,t){let r={};r[nt]=t;for(let e of n)if(e.path===""&&Ne(e)!==nt){let i=new bt([],{});r[Ne(e)]=i}return r}function Fp(n,t,r){return r.some(e=>yr(n,t,e)&&Ne(e)!==nt)}function Pp(n,t,r){return r.some(e=>yr(n,t,e))}function yr(n,t,r){return(n.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Np(n,t,r,e){return Ne(n)!==e&&(e===nt||!yr(t,r,n))?!1:Ls(t,n,r).matched}function Lp(n,t,r){return t.length===0&&!n.children[r]}var Ts=class{};function jp(n,t,r,e,i,o,a="emptyOnly"){return new Ss(n,t,r,e,i,a,o).recognize()}var Vp=31,Ss=class{constructor(t,r,e,i,o,a,s){this.injector=t,this.configLoader=r,this.rootComponentType=e,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new Es(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new _t(4002,`'${t.segmentGroup}'`)}recognize(){let t=dl(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(L(r=>{let e=new eo([],Object.freeze({}),Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,{},nt,this.rootComponentType,null,{}),i=new ne(e,r),o=new gr("",i),a=Gf(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,nt).pipe(he(e=>{if(e instanceof _r)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof no?this.noMatchError(e):e}))}inheritParamsAndData(t,r){let e=t.value,i=Ms(e,r,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(o=>this.inheritParamsAndData(o,e))}processSegmentGroup(t,r,e,i){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,r,e):this.processSegment(t,r,e,e.segments,i,!0).pipe(L(o=>o instanceof ne?[o]:[]))}processChildren(t,r,e){let i=[];for(let o of Object.keys(e.children))o==="primary"?i.unshift(o):i.push(o);return $t(i).pipe(Ci(o=>{let a=e.children[o],s=ap(r,o);return this.processSegmentGroup(t,s,a,o)}),ld((o,a)=>(o.push(...a),o)),Da(null),cd(),me(o=>{if(o===null)return Ki(e);let a=Ol(o);return Bp(a),O(a)}))}processSegment(t,r,e,i,o,a){return $t(r).pipe(Ci(s=>this.processSegmentAgainstRoute(s._injector??t,r,s,e,i,o,a).pipe(he(c=>{if(c instanceof no)return O(null);throw c}))),oi(s=>!!s),he(s=>{if(Rl(s))return Lp(e,i,o)?O(new Ts):Ki(e);throw s}))}processSegmentAgainstRoute(t,r,e,i,o,a,s){return Np(e,i,o,a)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,e,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,e,o,a):Ki(i):Ki(i)}expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,a){let{matched:s,consumedSegments:c,positionalParamSegments:d,remainingSegments:m}=Ls(r,i,o);if(!s)return Ki(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Vp&&(this.allowRedirects=!1));let g=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,d);return this.applyRedirects.lineralizeSegments(i,g).pipe(me(C=>this.processSegment(t,e,r,C.concat(m),a,!1)))}matchSegmentAgainstRoute(t,r,e,i,o){let a=Ap(r,e,i,t,this.urlSerializer);return e.path==="**"&&(r.children={}),a.pipe(yt(s=>s.matched?(t=e._injector??t,this.getChildConfig(t,e,i).pipe(yt(({routes:c})=>{let d=e._loadedInjector??t,{consumedSegments:m,remainingSegments:g,parameters:C}=s,A=new eo(m,C,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Up(e),Ne(e),e.component??e._loadedComponent??null,e,Hp(e)),{segmentGroup:h,slicedSegments:k}=dl(r,m,g,c);if(k.length===0&&h.hasChildren())return this.processChildren(d,c,h).pipe(L(st=>st===null?null:new ne(A,st)));if(c.length===0&&k.length===0)return O(new ne(A,[]));let M=Ne(e)===o;return this.processSegment(d,c,h,k,M?nt:o,!0).pipe(L(st=>new ne(A,st instanceof ne?[st]:[])))}))):Ki(r)))}getChildConfig(t,r,e){return r.children?O({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?O({routes:r._loadedRoutes,injector:r._loadedInjector}):Ep(t,r,e,this.urlSerializer).pipe(me(i=>i?this.configLoader.loadChildren(t,r).pipe(ut(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Sp(r))):O({routes:[],injector:t})}};function Bp(n){n.sort((t,r)=>t.value.outlet===nt?-1:r.value.outlet===nt?1:t.value.outlet.localeCompare(r.value.outlet))}function zp(n){let t=n.value.routeConfig;return t&&t.path===""}function Ol(n){let t=[],r=new Set;for(let e of n){if(!zp(e)){t.push(e);continue}let i=t.find(o=>e.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...e.children),r.add(i)):t.push(e)}for(let e of r){let i=Ol(e.children);t.push(new ne(e.value,i))}return t.filter(e=>!r.has(e))}function Up(n){return n.data||{}}function Hp(n){return n.resolve||{}}function $p(n,t,r,e,i,o){return me(a=>jp(n,t,r,e,a.extractedUrl,i,o).pipe(L(({state:s,tree:c})=>ht(_({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function Wp(n,t){return me(r=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=r;if(!i.length)return O(r);let o=new Set(i.map(c=>c.route)),a=new Set;for(let c of o)if(!a.has(c))for(let d of Fl(c))a.add(d);let s=0;return $t(a).pipe(Ci(c=>o.has(c)?Gp(c,e,n,t):(c.data=Ms(c,c.parent,n).resolve,O(void 0))),ut(()=>s++),Ta(1),me(c=>s===a.size?O(r):le))})}function Fl(n){let t=n.children.map(r=>Fl(r)).flat();return[n,...t]}function Gp(n,t,r,e){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!El(i)&&(o[oo]=i.title),qp(o,n,t,e).pipe(L(a=>(n._resolvedData=a,n.data=Ms(n,n.parent,r).resolve,null)))}function qp(n,t,r,e){let i=rs(n);if(i.length===0)return O({});let o={};return $t(i).pipe(me(a=>Yp(n[a],t,r,e).pipe(oi(),ut(s=>{o[a]=s}))),Ta(1),sd(o),he(a=>Rl(a)?le:ee(a)))}function Yp(n,t,r,e){let i=ro(t)??e,o=sn(n,i),a=o.resolve?o.resolve(t,r):We(i,()=>o(t,r));return mi(a)}function ns(n){return yt(t=>{let r=n(t);return r?$t(r).pipe(L(()=>t)):O(t)})}var Pl=(()=>{let t=class t{buildTitle(e){let i,o=e.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(a=>a.outlet===nt);return i}getResolvedTitleForRoute(e){return e.data[oo]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>v(Xp),providedIn:"root"});let n=t;return n})(),Xp=(()=>{let t=class t extends Pl{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(u(nl))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),js=new x("",{providedIn:"root",factory:()=>({})}),Vs=new x(""),Zp=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=v(Pa)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return O(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=mi(e.loadComponent()).pipe(L(Nl),ut(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),ni(()=>{this.componentLoaders.delete(e)})),o=new ka(i,()=>new T).pipe(Ca());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Qp(i,this.compiler,e,this.onLoadEndListener).pipe(ni(()=>{this.childrenLoaders.delete(i)})),s=new ka(a,()=>new T).pipe(Ca());return this.childrenLoaders.set(i,s),s}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Qp(n,t,r,e){return mi(n.loadChildren()).pipe(L(Nl),me(i=>i instanceof Id||Array.isArray(i)?O(i):$t(t.compileModuleAsync(i))),L(i=>{e&&e(n);let o,a,s=!1;return Array.isArray(i)?(a=i,s=!0):(o=i.create(r).injector,a=o.get(Vs,[],{optional:!0,self:!0}).flat()),{routes:a.map(Ns),injector:o}}))}function Kp(n){return n&&typeof n=="object"&&"default"in n}function Nl(n){return Kp(n)?n.default:n}var Bs=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>v(Jp),providedIn:"root"});let n=t;return n})(),Jp=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),tg=new x("");var eg=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new T,this.transitionAbortSubject=new T,this.configLoader=v(Zp),this.environmentInjector=v($i),this.urlSerializer=v(Rs),this.rootContexts=v(vr),this.location=v(si),this.inputBindingEnabled=v(Ps,{optional:!0})!==null,this.titleStrategy=v(Pl),this.options=v(js,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=v(Bs),this.createViewTransition=v(tg,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let e=o=>this.events.next(new fs(o)),i=o=>this.events.next(new ps(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ht(_(_({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,o){return this.transitions=new At({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Yn,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(it(a=>a.id!==0),L(a=>ht(_({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),yt(a=>{let s=!1,c=!1;return O(a).pipe(yt(d=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",oe.SupersededByNewNavigation),le;this.currentTransition=a,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?ht(_({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let m=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),g=d.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!m&&g!=="reload"){let C="";return this.events.next(new Ri(d.id,this.urlSerializer.serialize(d.rawUrl),C,ds.IgnoredSameUrlNavigation)),d.resolve(null),le}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return O(d).pipe(yt(C=>{let A=this.transitions?.getValue();return this.events.next(new Qn(C.id,this.urlSerializer.serialize(C.extractedUrl),C.source,C.restoredState)),A!==this.transitions?.getValue()?le:Promise.resolve(C)}),$p(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),ut(C=>{a.targetSnapshot=C.targetSnapshot,a.urlAfterRedirects=C.urlAfterRedirects,this.currentNavigation=ht(_({},this.currentNavigation),{finalUrl:C.urlAfterRedirects});let A=new hr(C.id,this.urlSerializer.serialize(C.extractedUrl),this.urlSerializer.serialize(C.urlAfterRedirects),C.targetSnapshot);this.events.next(A)}));if(m&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:C,extractedUrl:A,source:h,restoredState:k,extras:M}=d,st=new Qn(C,this.urlSerializer.serialize(A),h,k);this.events.next(st);let Ht=kl(this.rootComponentType).snapshot;return this.currentTransition=a=ht(_({},d),{targetSnapshot:Ht,urlAfterRedirects:A,extras:ht(_({},M),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=A,O(a)}else{let C="";return this.events.next(new Ri(d.id,this.urlSerializer.serialize(d.extractedUrl),C,ds.IgnoredByUrlHandlingStrategy)),d.resolve(null),le}}),ut(d=>{let m=new ls(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(m)}),L(d=>(this.currentTransition=a=ht(_({},d),{guards:cp(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),a)),_p(this.environmentInjector,d=>this.events.next(d)),ut(d=>{if(a.guardsResult=d.guardsResult,on(d.guardsResult))throw Tl(this.urlSerializer,d.guardsResult);let m=new ms(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(m)}),it(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",oe.GuardRejected),!1)),ns(d=>{if(d.guards.canActivateChecks.length)return O(d).pipe(ut(m=>{let g=new us(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(g)}),yt(m=>{let g=!1;return O(m).pipe(Wp(this.paramsInheritanceStrategy,this.environmentInjector),ut({next:()=>g=!0,complete:()=>{g||this.cancelNavigationTransition(m,"",oe.NoDataFromResolver)}}))}),ut(m=>{let g=new hs(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(g)}))}),ns(d=>{let m=g=>{let C=[];g.routeConfig?.loadComponent&&!g.routeConfig._loadedComponent&&C.push(this.configLoader.loadComponent(g.routeConfig).pipe(ut(A=>{g.component=A}),L(()=>{})));for(let A of g.children)C.push(...m(A));return C};return wi(m(d.targetSnapshot.root)).pipe(Da(null),at(1))}),ns(()=>this.afterPreactivation()),yt(()=>{let{currentSnapshot:d,targetSnapshot:m}=a,g=this.createViewTransition?.(this.environmentInjector,d.root,m.root);return g?$t(g).pipe(L(()=>a)):O(a)}),L(d=>{let m=tp(e.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=a=ht(_({},d),{targetRouterState:m}),this.currentNavigation.targetRouterState=m,a}),ut(()=>{this.events.next(new Jn)}),sp(this.rootContexts,e.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),at(1),ut({next:d=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ai(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{s=!0}}),lt(this.transitionAbortSubject.pipe(ut(d=>{throw d}))),ni(()=>{!s&&!c&&this.cancelNavigationTransition(a,"",oe.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),he(d=>{if(c=!0,Al(d))this.events.next(new li(a.id,this.urlSerializer.serialize(a.extractedUrl),d.message,d.cancellationCode)),np(d)?this.events.next(new to(d.url)):a.resolve(!1);else{this.events.next(new Kn(a.id,this.urlSerializer.serialize(a.extractedUrl),d,a.targetSnapshot??void 0));try{a.resolve(e.errorHandler(d))}catch(m){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(m)}}return le}))}))}cancelNavigationTransition(e,i,o){let a=new li(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function ig(n){return n!==Yn}var ng=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>v(og),providedIn:"root"});let n=t;return n})(),As=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},og=(()=>{let t=class t extends As{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ll=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>v(rg),providedIn:"root"});let n=t;return n})(),rg=(()=>{let t=class t extends Ll{constructor(){super(...arguments),this.location=v(si),this.urlSerializer=v(Rs),this.options=v(js,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=v(Bs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new di,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=kl(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof Qn)this.stateMemento=this.createStateMemento();else if(e instanceof Ri)this.rawUrlTree=i.initialUrl;else if(e instanceof hr){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else e instanceof Jn?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):e instanceof li&&(e.code===oe.GuardRejected||e.code===oe.NoDataFromResolver)?this.restoreHistory(i):e instanceof Kn?this.restoreHistory(i,!0):e instanceof Ai&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let a=this.browserPageId,s=_(_({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(o,"",s)}else{let a=_(_({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Gn=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Gn||{});function ag(n,t){n.events.pipe(it(r=>r instanceof Ai||r instanceof li||r instanceof Kn||r instanceof Ri),L(r=>r instanceof Ai||r instanceof Ri?Gn.COMPLETE:(r instanceof li?r.code===oe.Redirect||r.code===oe.SupersededByNewNavigation:!1)?Gn.REDIRECTING:Gn.FAILED),it(r=>r!==Gn.REDIRECTING),at(1)).subscribe(()=>{t()})}function sg(n){throw n}var cg={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},dg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ui=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=v(Wo),this.stateManager=v(Ll),this.options=v(js,{optional:!0})||{},this.pendingTasks=v(Bo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=v(eg),this.urlSerializer=v(Rs),this.location=v(si),this.urlHandlingStrategy=v(Bs),this._events=new T,this.errorHandler=this.options.errorHandler||sg,this.navigated=!1,this.routeReuseStrategy=v(ng),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=v(Vs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!v(Ps,{optional:!0}),this.eventsSubscription=new It,this.isNgZoneEnabled=v(E)instanceof E&&E.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof li&&i.code!==oe.Redirect&&i.code!==oe.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ai)this.navigated=!0;else if(i instanceof to){let s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||ig(o.source)};this.scheduleNavigation(s,Yn,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}mg(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Yn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let d=_({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(a.state=d)}let c=this.parseUrl(e);this.scheduleNavigation(c,i,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ns),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:c,preserveFragment:d}=i,m=d?this.currentUrlTree.fragment:s,g=null;switch(c){case"merge":g=_(_({},this.currentUrlTree.queryParams),a);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=a||null}g!==null&&(g=this.removeEmptyProps(g));let C;try{let A=o?o.snapshot:this.routerState.snapshot.root;C=yl(A)}catch{(typeof e[0]!="string"||!e[0].startsWith("/"))&&(e=[]),C=this.currentUrlTree.root}return xl(C,e,g,m??null)}navigateByUrl(e,i={skipLocationChange:!1}){let o=on(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,Yn,null,i)}navigate(e,i={skipLocationChange:!1}){return lg(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let o;if(i===!0?o=_({},cg):i===!1?o=_({},dg):o=i,on(e))return rl(this.currentUrlTree,e,o);let a=this.parseUrl(e);return rl(this.currentUrlTree,a,o)}removeEmptyProps(e){return Object.entries(e).reduce((i,[o,a])=>(a!=null&&(i[o]=a),i),{})}scheduleNavigation(e,i,o,a,s){if(this.disposed)return Promise.resolve(!1);let c,d,m;s?(c=s.resolve,d=s.reject,m=s.promise):m=new Promise((C,A)=>{c=C,d=A});let g=this.pendingTasks.add();return ag(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:c,reject:d,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(C=>Promise.reject(C))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function lg(n){for(let t=0;tr.\u0275providers)])}function hg(n){return n.routerState.root}function fg(){let n=v(wt);return t=>{let r=n.get(ai);if(t!==r.components[0])return;let e=n.get(ui),i=n.get(pg);n.get(gg)===1&&e.initialNavigation(),n.get(bg,null,Aa.Optional)?.setUpPreloading(),n.get(ug,null,Aa.Optional)?.init(),e.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var pg=new x("",{factory:()=>new T}),gg=new x("",{providedIn:"root",factory:()=>1});var bg=new x("");var Us;try{Us=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Us=!1}var et=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Nn(this._platformId):typeof document=="object"&&!!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||Us)&&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}};t.\u0275fac=function(i){return new(i||t)(u(fe))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var cn,Bl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Hs(){if(cn)return cn;if(typeof document!="object"||!document)return cn=new Set(Bl),cn;let n=document.createElement("input");return cn=new Set(Bl.filter(t=>(n.setAttribute("type",t),n.type===t))),cn}var so;function _g(){if(so==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>so=!0}))}finally{so=so||!1}return so}function xe(n){return _g()?n:!!n.capture}var Ee=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(Ee||{}),xr,Mi;function wr(){if(Mi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Mi=!1,Mi;if("scrollBehavior"in document.documentElement.style)Mi=!0;else{let n=Element.prototype.scrollTo;n?Mi=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Mi=!1}}return Mi}function dn(){if(typeof document!="object"||!document)return Ee.NORMAL;if(xr==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),e=r.style;e.width="2px",e.height="1px",n.appendChild(r),document.body.appendChild(n),xr=Ee.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,xr=n.scrollLeft===0?Ee.NEGATED:Ee.INVERTED),n.remove()}return xr}var zs;function vg(){if(zs==null){let n=typeof document<"u"?document.head:null;zs=!!(n&&(n.createShadowRoot||n.attachShadow))}return zs}function zl(n){if(vg()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function co(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function re(n){return n.composedPath?n.composedPath()[0]:n.target}function lo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Mt(n,...t){return t.length?t.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function se(n){return n!=null&&`${n}`!="false"}function De(n,t=0){return yg(n)?Number(n):t}function yg(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function ln(n){return Array.isArray(n)?n:[n]}function Dt(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Kt(n){return n instanceof S?n.nativeElement:n}function xg(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let t=0;t{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),wg=(()=>{let t=class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=Kt(e);return new Xt(o=>{let s=this._observeElement(i).pipe(L(c=>c.filter(d=>!xg(d))),it(c=>!!c.length)).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new T,o=this._mutationObserverFactory.create(a=>i.next(a));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,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)){let{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}};t.\u0275fac=function(i){return new(i||t)(u(Ul))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Hl=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=De(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new U,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Ui(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(wg),l(S),l(E))},t.\u0275dir=D({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[b.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",Z],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[pt]});let n=t;return n})(),Cr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({providers:[Ul]});let n=t;return n})();var $l=new Set,Oi,Cg=(()=>{let t=class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ig}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&kg(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(i){return new(i||t)(u(et),u(On,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function kg(n,t){if(!$l.has(n))try{Oi||(Oi=document.createElement("style"),t&&Oi.setAttribute("nonce",t),Oi.setAttribute("type","text/css"),document.head.appendChild(Oi)),Oi.sheet&&(Oi.sheet.insertRule(`@media ${n} {body{ }}`,0),$l.add(n))}catch(r){console.error(r)}}function Ig(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var mn=(()=>{let t=class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new T}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Wl(ln(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Wl(ln(e)).map(s=>this._registerQuery(s).observable),a=wi(o);return a=Bi(a.pipe(at(1)),a.pipe(Hi(1),Ui(0))),a.pipe(L(s=>{let c={matches:!1,breakpoints:{}};return s.forEach(({matches:d,query:m})=>{c.matches=c.matches||d,c.breakpoints[m]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new Xt(s=>{let c=d=>this._zone.run(()=>s.next(d));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Pt(i),L(({matches:s})=>({query:e,matches:s})),lt(this._destroySubject)),mql:i};return this._queries.set(e,a),a}};t.\u0275fac=function(i){return new(i||t)(u(Cg),u(E))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Wl(n){return n.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var qe={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Ql=" ";function Mr(n,t,r){let e=Dr(n,t);r=r.trim(),!e.some(i=>i.trim()===r)&&(e.push(r),n.setAttribute(t,e.join(Ql)))}function mo(n,t,r){let e=Dr(n,t);r=r.trim();let i=e.filter(o=>o!==r);i.length?n.setAttribute(t,i.join(Ql)):n.removeAttribute(t)}function Dr(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}var Kl="cdk-describedby-message",kr="cdk-describedby-host",Gs=0,Jl=(()=>{let t=class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Gs++}`,this._document=e,this._id=v(Mn)+"-"+Gs++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;let a=$s(i,o);typeof i!="string"?(ql(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;let a=$s(i,o);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let s=this._messageRegistry.get(a);s&&s.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${kr}="${this._id}"]`);for(let i=0;io.indexOf(Kl)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let o=this._messageRegistry.get(i);Mr(e,"aria-describedby",o.messageElement.id),e.setAttribute(kr,this._id),o.referenceCount++}_removeMessageReference(e,i){let o=this._messageRegistry.get(i);o.referenceCount--,mo(e,"aria-describedby",o.messageElement.id),e.removeAttribute(kr)}_isElementDescribedByMessage(e,i){let o=Dr(e,"aria-describedby"),a=this._messageRegistry.get(i),s=a&&a.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return o?!a||a.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}};t.\u0275fac=function(i){return new(i||t)(u(B),u(et))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function $s(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function ql(n,t){n.id||(n.id=`${Kl}-${t}-${Gs++}`)}var Tr=class{constructor(t,r){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T,this._typeaheadSubscription=It.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new T,this.change=new T,t instanceof Rn?this._itemChangesSubscription=t.changes.subscribe(e=>this._itemsChanged(e.toArray())):Ma(t)&&(this._effectRef=Fd(()=>this._itemsChanged(t()),{injector: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(ut(r=>this._pressedLetters.push(r)),Ui(t),it(()=>this._pressedLetters.length>0),L(()=>this._pressedLetters.join(""))).subscribe(r=>{let e=this._getItemsArray();for(let i=1;i!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}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){let r=this._getItemsArray(),e=typeof t=="number"?t:r.indexOf(t),i=r[e];this._activeItem=i??null,this._activeItemIndex=e}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let r=this._getItemsArray();for(let e=1;e<=r.length;e++){let i=(this._activeItemIndex+t*e+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,r){let e=this._getItemsArray();if(e[t]){for(;this._skipPredicateFn(e[t]);)if(t+=r,!e[t])return;this.setActiveItem(t)}}_getItemsArray(){return Ma(this._items)?this._items():this._items instanceof Rn?this._items.toArray():this._items}_itemsChanged(t){if(this._activeItem){let r=t.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Sr=class extends Tr{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},Ar=class extends Tr{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var Pi=(()=>{let t=class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Ug(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=zg(Zg(e));if(i&&(Yl(i)===-1||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),a=Yl(e);return e.hasAttribute("contenteditable")?a!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Yg(e)?!1:o==="audio"?e.hasAttribute("controls")?a!==-1:!1:o==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return Xg(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}};t.\u0275fac=function(i){return new(i||t)(u(et))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function zg(n){try{return n.frameElement}catch{return null}}function Ug(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Hg(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function $g(n){return Gg(n)&&n.type=="hidden"}function Wg(n){return qg(n)&&n.hasAttribute("href")}function Gg(n){return n.nodeName.toLowerCase()=="input"}function qg(n){return n.nodeName.toLowerCase()=="a"}function tm(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Yl(n){if(!tm(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Yg(n){let t=n.nodeName.toLowerCase(),r=t==="input"&&n.type;return r==="text"||r==="password"||t==="select"||t==="textarea"}function Xg(n){return $g(n)?!1:Hg(n)||Wg(n)||n.hasAttribute("contenteditable")||tm(n)}function Zg(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var qs=class{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,r,e,i,o=!1){this._element=t,this._checker=r,this._ngZone=e,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let t=this._startAnchor,r=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let r=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let e=this._getFirstTabbableElement(r);return e?.focus(t),!!e}return r.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let r=this._getRegionBoundary("start");return r&&r.focus(t),!!r}focusLastTabbableElement(t){let r=this._getRegionBoundary("end");return r&&r.focus(t),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let r=t.children;for(let e=0;e=0;e--){let i=r[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[e]):null;if(i)return i}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,r){t?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(at(1)).subscribe(t)}},hn=(()=>{let t=class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new qs(e,this._checker,this._ngZone,this._document,i)}};t.\u0275fac=function(i){return new(i||t)(u(Pi),u(E),u(B))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Zs(n){return n.buttons===0||n.detail===0}function Qs(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Qg=new x("cdk-input-modality-detector-options"),Kg={ignoreKeys:[18,17,224,91,16]},em=650,un=xe({passive:!0,capture:!0}),Jg=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,a){this._platform=e,this._mostRecentTarget=null,this._modality=new At(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=re(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Qs(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=re(s)},this._options=_(_({},Kg),a),this.modalityDetected=this._modality.pipe(Hi(1)),this.modalityChanged=this.modalityDetected.pipe(Sn()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,un),o.addEventListener("mousedown",this._onMousedown,un),o.addEventListener("touchstart",this._onTouchstart,un)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,un),document.removeEventListener("mousedown",this._onMousedown,un),document.removeEventListener("touchstart",this._onTouchstart,un))}};t.\u0275fac=function(i){return new(i||t)(u(et),u(E),u(B),u(Qg,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),tb=new x("liveAnnouncerElement",{providedIn:"root",factory:eb});function eb(){return null}var ib=new x("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),nb=0,im=(()=>{let t=class t{constructor(e,i,o,a){this._ngZone=i,this._defaultOptions=a,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){let o=this._defaultOptions,a,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[a,s]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=class t{constructor(e,i,o,a,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new T,this._rootNodeFocusAndBlurListener=c=>{let d=re(c);for(let m=d;m;m=m.parentElement)c.type==="focus"?this._onFocus(c,m):this._onBlur(c,m)},this._document=a,this._detectionMode=s?.detectionMode||Er.IMMEDIATE}monitor(e,i=!1){let o=Kt(e);if(!this._platform.isBrowser||o.nodeType!==1)return O();let a=zl(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let c={checkChildren:i,subject:new T,rootNode:a};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let i=Kt(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let a=Kt(e),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Er.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Er.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?em:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),a=re(e);!o||!o.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ir),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ir)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(lt(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ir),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ir),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,a)=>{(a===e||o.checkChildren&&a.contains(e))&&i.push([a,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let s=0;s{let t=class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new U}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(S),l(ce))},t.\u0275dir=D({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let n=t;return n})(),Fi=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(Fi||{}),Xl="cdk-high-contrast-black-on-white",Zl="cdk-high-contrast-white-on-black",Ws="cdk-high-contrast-active",Ks=(()=>{let t=class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=v(mn).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Fi.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Fi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Fi.BLACK_ON_WHITE}return Fi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Ws,Xl,Zl),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Fi.BLACK_ON_WHITE?e.add(Ws,Xl):i===Fi.WHITE_ON_BLACK&&e.add(Ws,Zl)}}};t.\u0275fac=function(i){return new(i||t)(u(et),u(B))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Or=(()=>{let t=class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}};t.\u0275fac=function(i){return new(i||t)(u(Ks))},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[Cr]});let n=t;return n})();var rb=new x("cdk-dir-doc",{providedIn:"root",factory:ab});function ab(){return v(B)}var sb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function cb(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?sb.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var jt=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new U,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=cb(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(u(rb,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var hi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({});let n=t;return n})();var db=20,gn=(()=>{let t=class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new T,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=db){return this._platform.isBrowser?new Xt(i=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(Ea(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):O()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(it(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=Kt(i),a=e.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Wt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(u(E),u(et),u(B,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Js=(()=>{let t=class t{constructor(e,i,o,a){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=a,this._destroyed=new T,this._elementScrolled=new Xt(s=>this.ngZone.runOutsideAngular(()=>Wt(this.elementRef.nativeElement,"scroll").pipe(lt(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&dn()!=Ee.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),dn()==Ee.INVERTED?e.left=e.right:dn()==Ee.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;wr()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",o="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:i:e=="end"&&(e=s?i:o),s&&dn()==Ee.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:s&&dn()==Ee.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}};t.\u0275fac=function(i){return new(i||t)(l(S),l(gn),l(E),l(jt,8))},t.\u0275dir=D({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=t;return n})(),lb=20,Ye=(()=>{let t=class t{constructor(e,i,o){this._platform=e,this._change=new T,this._changeListener=a=>{this._change.next(a)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),o=e.documentElement,a=o.getBoundingClientRect(),s=-a.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,c=-a.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:s,left:c}}change(e=lb){return e>0?this._change.pipe(Ea(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(u(et),u(E),u(B,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var pn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({});let n=t;return n})(),tc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[hi,pn,hi,pn]});let n=t;return n})();var uo=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},Te=class extends uo{constructor(t,r,e,i,o){super(),this.component=t,this.viewContainerRef=r,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},de=class extends uo{constructor(t,r,e,i){super(),this.templateRef=t,this.viewContainerRef=r,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},ic=class extends uo{constructor(t){super(),this.element=t instanceof S?t.nativeElement:t}},fi=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof Te)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof de)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof ic)return this._attachedPortal=t,this.attachDomPortal(t)}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)}};var Fr=class extends fi{constructor(t,r,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=r,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||wt.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let r=t.viewContainerRef,e=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(e);i!==-1&&r.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var om=(()=>{let t=class t extends de{constructor(e,i){super(e,i)}};t.\u0275fac=function(i){return new(i||t)(l(Bt),l(Gt))},t.\u0275dir=D({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[ot]});let n=t;return n})();var Jt=(()=>{let t=class t extends fi{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new U,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(c,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(a,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(i){return new(i||t)(l(qi),l(Gt),l(B))},t.\u0275dir=D({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[b.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ot]});let n=t;return n})();var Se=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({});let n=t;return n})();var rm=wr(),nc=class{constructor(t,r){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Dt(-this._previousScrollPosition.left),t.style.top=Dt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,r=this._document.body,e=t.style,i=r.style,o=e.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),rm&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),rm&&(e.scrollBehavior=o,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,e=this._viewportRuler.getViewportSize();return r.scrollHeight>e.height||r.scrollWidth>e.width}};var oc=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._ngZone=r,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(it(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-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}},Pr=class{enable(){}disable(){}attach(){}};function rc(n,t){return t.some(r=>{let e=n.bottomr.bottom,o=n.rightr.right;return e||i||o||a})}function am(n,t){return t.some(r=>{let e=n.topr.bottom,o=n.leftr.right;return e||i||o||a})}var ac=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();rc(r,[{width:e,height:i,bottom:i,right:e,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}},mb=(()=>{let t=class t{constructor(e,i,o,a){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Pr,this.close=s=>new oc(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new nc(this._viewportRuler,this._document),this.reposition=s=>new ac(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};t.\u0275fac=function(i){return new(i||t)(u(gn),u(Ye),u(E),u(B))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Xe=class{constructor(t){if(this.scrollStrategy=new Pr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let r=Object.keys(t);for(let e of r)t[e]!==void 0&&(this[e]=t[e])}}};var sc=class{constructor(t,r){this.connectionPair=t,this.scrollableViewProperties=r}};var mm=(()=>{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(i){return new(i||t)(u(B))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ub=(()=>{let t=class t extends mm{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let c=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);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)}};t.\u0275fac=function(i){return new(i||t)(u(B),u(E,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),hb=(()=>{let t=class t extends mm{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=re(a)},this._clickListener=a=>{let s=re(a),c=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let m=d.length-1;m>-1;m--){let g=d[m];if(g._outsidePointerEvents.observers.length<1||!g.hasAttached())continue;if(g.overlayElement.contains(s)||g.overlayElement.contains(c))break;let C=g._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>C.next(a)):C.next(a)}}}add(e){if(super.add(e),!this._isAttached){let 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){let 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)}};t.\u0275fac=function(i){return new(i||t)(u(B),u(et),u(E,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),bn=(()=>{let t=class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||lo()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;athis._backdropClick.next(g),this._backdropTransitionendHandler=g=>{this._disposeBackdrop(g.target)},this._keydownEvents=new T,this._outsidePointerEvents=new T,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.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);let r=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(at(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),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=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,t&&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=_(_({},this._config),t),this._updateElementSize()}setDirection(t){this._config=ht(_({},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(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=Dt(this._config.width),t.height=Dt(this._config.height),t.minWidth=Dt(this._config.minWidth),t.minHeight=Dt(this._config.minHeight),t.maxWidth=Dt(this._config.maxWidth),t.maxHeight=Dt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let 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&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}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,r,e){let i=ln(r||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(lt(Tt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let 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)}},sm="cdk-overlay-connected-position-bounding-box",fb=/([A-Za-z%]+)$/,cc=class{get positions(){return this._preferredPositions}constructor(t,r,e,i,o){this._viewportRuler=r,this._document=e,this._platform=i,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 T,this._resizeSubscription=It.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(sm),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){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,r=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(t,i,s),d=this._getOverlayPoint(c,r,s),m=this._getOverlayFit(d,r,e,s);if(m.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(m,d,e)){o.push({position:s,origin:c,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=m,s=d)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Li(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(sm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,r)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!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,r,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i=e.originX=="start"?a:s}r.left<0&&(i-=r.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(t,r,e){let i;e.overlayX=="center"?i=-r.width/2:e.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return e.overlayY=="center"?o=-r.height/2:o=e.overlayY=="top"?0:-r.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,r,e,i){let o=dm(r),{x:a,y:s}=t,c=this._getOffset(i,"x"),d=this._getOffset(i,"y");c&&(a+=c),d&&(s+=d);let m=0-a,g=a+o.width-e.width,C=0-s,A=s+o.height-e.height,h=this._subtractOverflows(o.width,m,g),k=this._subtractOverflows(o.height,C,A),M=h*k;return{visibleArea:M,isCompletelyWithinViewport:o.width*o.height===M,fitsInViewportVertically:k===o.height,fitsInViewportHorizontally:h==o.width}}_canFitWithFlexibleDimensions(t,r,e){if(this._hasFlexibleDimensions){let i=e.bottom-r.y,o=e.right-r.x,a=cm(this._overlayRef.getConfig().minHeight),s=cm(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportVertically||a!=null&&a<=i,d=t.fitsInViewportHorizontally||s!=null&&s<=o;return c&&d}return!1}_pushOverlayOnScreen(t,r,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=dm(r),o=this._viewportRect,a=Math.max(t.x+i.width-o.width,0),s=Math.max(t.y+i.height-o.height,0),c=Math.max(o.top-e.top-t.y,0),d=Math.max(o.left-e.left-t.x,0),m=0,g=0;return i.width<=o.width?m=d||-a:m=t.xh&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-h/2)}let c=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,d=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,m,g,C;if(d)C=e.width-t.x+this._viewportMargin*2,m=t.x-this._viewportMargin;else if(c)g=t.x,m=e.right-t.x;else{let A=Math.min(e.right-t.x+e.left,t.x),h=this._lastBoundingBoxSize.width;m=A*2,g=t.x-A,m>h&&!this._isInitialRender&&!this._growAfterOpen&&(g=t.x-h/2)}return{top:a,left:g,bottom:s,right:C,width:m,height:o}}_setBoundingBoxStyles(t,r){let e=this._calculateBoundingBoxRect(t,r);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Dt(e.height),i.top=Dt(e.top),i.bottom=Dt(e.bottom),i.width=Dt(e.width),i.left=Dt(e.left),i.right=Dt(e.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Dt(o)),a&&(i.maxWidth=Dt(a))}this._lastBoundingBoxSize=e,Li(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Li(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Li(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,r){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let m=this._viewportRuler.getViewportScrollPosition();Li(e,this._getExactOverlayY(r,t,m)),Li(e,this._getExactOverlayX(r,t,m))}else e.position="static";let s="",c=this._getOffset(r,"x"),d=this._getOffset(r,"y");c&&(s+=`translateX(${c}px) `),d&&(s+=`translateY(${d}px)`),e.transform=s.trim(),a.maxHeight&&(i?e.maxHeight=Dt(a.maxHeight):o&&(e.maxHeight="")),a.maxWidth&&(i?e.maxWidth=Dt(a.maxWidth):o&&(e.maxWidth="")),Li(this._pane.style,e)}_getExactOverlayY(t,r,e){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(o.y+this._overlayRect.height)}px`}else i.top=Dt(o.y);return i}_getExactOverlayX(t,r,e){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(o.x+this._overlayRect.width)}px`}else i.left=Dt(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),r=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:am(t,e),isOriginOutsideView:rc(t,e),isOverlayClipped:am(r,e),isOverlayOutsideView:rc(r,e)}}_subtractOverflows(t,...r){return r.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+r-this._viewportMargin,width:t-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,r){return r==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&ln(t).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof S)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let r=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+r,height:e,width:r}}};function Li(n,t){for(let r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n}function cm(n){if(typeof n!="number"&&n!=null){let[t,r]=n.split(fb);return!r||r==="px"?parseFloat(t):null}return n||null}function dm(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function pb(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var lm="cdk-global-overlay-wrapper",dc=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let r=t.getConfig();this._overlayRef=t,this._width&&!r.width&&t.updateSize({width:this._width}),this._height&&!r.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(lm),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;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:a,maxHeight:s}=e,c=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),d=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),m=this._xPosition,g=this._xOffset,C=this._overlayRef.getConfig().direction==="rtl",A="",h="",k="";c?k="flex-start":m==="center"?(k="center",C?h=g:A=g):C?m==="left"||m==="end"?(k="flex-end",A=g):(m==="right"||m==="start")&&(k="flex-start",h=g):m==="left"||m==="start"?(k="flex-start",A=g):(m==="right"||m==="end")&&(k="flex-end",h=g),t.position=this._cssPosition,t.marginLeft=c?"0":A,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":h,r.justifyContent=k,r.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,e=r.style;r.classList.remove(lm),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},gb=(()=>{let t=class t{constructor(e,i,o,a){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=a}global(){return new dc}flexibleConnectedTo(e){return new cc(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(u(Ye),u(B),u(et),u(bn))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),bb=0,xt=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m,g,C,A,h){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=c,this._ngZone=d,this._document=m,this._directionality=g,this._location=C,this._outsideClickDispatcher=A,this._animationsModuleType=h}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),a=this._createPortalOutlet(o),s=new Xe(e);return s.direction=s.direction||this._directionality.value,new Ae(a,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${bb++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(ai)),new Fr(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(u(mb),u(bn),u(qi),u(gb),u(ub),u(wt),u(E),u(B),u(jt),u(si),u(hb),u(vt,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var _b=new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=v(xt);return()=>n.scrollStrategies.reposition()}});function vb(n){return()=>n.scrollStrategies.reposition()}var yb={provide:_b,deps:[xt],useFactory:vb},Le=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({providers:[xt,yb],imports:[hi,Se,tc,tc]});let n=t;return n})();function xb(n,t){}var Ze=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var fo=(()=>{let t=class t extends fi{constructor(e,i,o,a,s,c,d,m){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=s,this._ngZone=c,this._overlayRef=d,this._focusMonitor=m,this._platform=v(et),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=v(gt),this.attachDomPortal=g=>{this._portalOutlet.hasAttached();let C=this._portalOutlet.attachDomPortal(g);return this._contentAttached(),C},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=co(),a=this._elementRef.nativeElement;(!o||o===this._document.body||o===a||a.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=co();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=co()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.\u0275fac=function(i){return new(i||t)(l(S),l(hn),l(B,8),l(Ze),l(Pi),l(E),l(Ae),l(ce))},t.\u0275cmp=F({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&rt(Jt,7),i&2){let a;W(a=G())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&Q("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[ot,N],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&H(0,xb,0,0,"ng-template",0)},dependencies:[Jt],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let n=t;return n})(),ho=class{constructor(t,r){this.overlayRef=t,this.config=r,this.closed=new T,this.disableClose=r.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(e=>{e.keyCode===27&&!this.disableClose&&!Mt(e)&&(e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(t,r){if(this.containerInstance){let e=this.closed;this.containerInstance._closeInteractionType=r?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),e.next(t),e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",r=""){return this.overlayRef.updateSize({width:t,height:r}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}},wb=new x("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=v(xt);return()=>n.scrollStrategies.block()}}),Cb=new x("DialogData"),kb=new x("DefaultDialogConfig");var Ib=0,po=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,a,s,c){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new T,this._afterOpenedAtThisLevel=new T,this._ariaHiddenElements=new Map,this.afterAllClosed=ue(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Pt(void 0))),this._scrollStrategy=c}open(e,i){let o=this._defaultOptions||new Ze;i=_(_({},o),i),i.id=i.id||`cdk-dialog-${Ib++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),s=this._overlay.create(a),c=new ho(s,i),d=this._attachContainer(s,c,i);return c.containerInstance=d,this._attachDialogContent(e,c,d,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){lc(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){lc(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),lc(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Xe({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){let a=o.injector||o.viewContainerRef?.injector,s=[{provide:Ze,useValue:o},{provide:ho,useValue:i},{provide:Ae,useValue:e}],c;o.container?typeof o.container=="function"?c=o.container:(c=o.container.type,s.push(...o.container.providers(o))):c=fo;let d=new Te(c,o.viewContainerRef,wt.create({parent:a||this._injector,providers:s}),o.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,i,o,a){if(e instanceof Bt){let s=this._createInjector(a,i,o,void 0),c={$implicit:a.data,dialogRef:i};a.templateContext&&(c=_(_({},c),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),o.attachTemplatePortal(new de(e,null,c,s))}else{let s=this._createInjector(a,i,o,this._injector),c=o.attachComponentPortal(new Te(e,a.viewContainerRef,s,a.componentFactoryResolver));i.componentRef=c,i.componentInstance=c.instance}}_createInjector(e,i,o,a){let s=e.injector||e.viewContainerRef?.injector,c=[{provide:Cb,useValue:e.data},{provide:ho,useValue:i}];return e.providers&&(typeof e.providers=="function"?c.push(...e.providers(i,e,o)):c.push(...e.providers)),e.direction&&(!s||!s.get(jt,null,{optional:!0}))&&c.push({provide:jt,useValue:{value:e.direction,change:O()}}),wt.create({parent:s||a,providers:c})}_removeOpenDialog(e,i){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){let a=i[o];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.\u0275fac=function(i){return new(i||t)(u(xt),u(wt),u(kb,8),u(t,12),u(bn),u(wb))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function lc(n,t){let r=n.length;for(;r--;)t(n[r])}var Nr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({providers:[po],imports:[Le,Se,Or,Se]});let n=t;return n})();var Db=["text"],Tb=[[["mat-icon"]],"*"],Sb=["mat-icon","*"];function Ab(n,t){if(n&1&&P(0,"mat-pseudo-checkbox",1),n&2){let r=X();z("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function Rb(n,t){if(n&1&&P(0,"mat-pseudo-checkbox",3),n&2){let r=X();z("disabled",r.disabled)}}function Mb(n,t){if(n&1&&(f(0,"span",4),I(1),p()),n&2){let r=X();y(),qt("(",r.group.label,")")}}var Ob=["mat-internal-form-field",""],Fb=["*"];var bc=(()=>{let t=class t{};t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let n=t;return n})(),_c=(()=>{let t=class t{};t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms";let n=t;return n})();function Pb(){return!0}var Nb=new x("mat-sanity-checks",{providedIn:"root",factory:Pb}),J=(()=>{let t=class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return lo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(i){return new(i||t)(u(Ks),u(Nb,8),u(B))},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[hi,hi]});let n=t;return n})();var jr=class{constructor(t,r,e,i,o){this._defaultMatcher=t,this.ngControl=r,this._parentFormGroup=e,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let t=this.errorState,r=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=e?.isErrorState(i,r)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var ym=(()=>{let t=class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var we=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(we||{}),hc=class{constructor(t,r,e,i=!1){this._renderer=t,this.element=r,this.config=e,this._animationForciblyDisabledThroughCss=i,this.state=we.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},um=xe({passive:!0,capture:!0}),fc=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let r=re(t);r&&this._events.get(t.type)?.forEach((e,i)=>{(i===r||i.contains(r))&&e.forEach(o=>o.handleEvent(t))})}}addHandler(t,r,e,i){let o=this._events.get(r);if(o){let a=o.get(e);a?a.add(i):o.set(e,new Set([i]))}else this._events.set(r,new Map([[e,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,um)})}removeHandler(t,r,e){let i=this._events.get(t);if(!i)return;let o=i.get(r);o&&(o.delete(e),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,um)))}},hm={enterDuration:225,exitDuration:150},Lb=800,fm=xe({passive:!0,capture:!0}),pm=["mousedown","touchstart"],gm=["mouseup","mouseleave","touchend","touchcancel"],go=class go{constructor(t,r,e,i){this._target=t,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Kt(e))}fadeInRipple(t,r,e={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=_(_({},hm),e.animation);e.centered&&(t=i.left+i.width/2,r=i.top+i.height/2);let a=e.radius||jb(t,r,i),s=t-i.left,c=r-i.top,d=o.enterDuration,m=document.createElement("div");m.classList.add("mat-ripple-element"),m.style.left=`${s-a}px`,m.style.top=`${c-a}px`,m.style.height=`${a*2}px`,m.style.width=`${a*2}px`,e.color!=null&&(m.style.backgroundColor=e.color),m.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(m);let g=window.getComputedStyle(m),C=g.transitionProperty,A=g.transitionDuration,h=C==="none"||A==="0s"||A==="0s, 0s"||i.width===0&&i.height===0,k=new hc(this,m,e,h);m.style.transform="scale3d(1, 1, 1)",k.state=we.FADING_IN,e.persistent||(this._mostRecentTransientRipple=k);let M=null;return!h&&(d||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let st=()=>this._finishRippleTransition(k),Ht=()=>this._destroyRipple(k);m.addEventListener("transitionend",st),m.addEventListener("transitioncancel",Ht),M={onTransitionEnd:st,onTransitionCancel:Ht}}),this._activeRipples.set(k,M),(h||!d)&&this._finishRippleTransition(k),k}fadeOutRipple(t){if(t.state===we.FADING_OUT||t.state===we.HIDDEN)return;let r=t.element,e=_(_({},hm),t.config.animation);r.style.transitionDuration=`${e.exitDuration}ms`,r.style.opacity="0",t.state=we.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=Kt(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,pm.forEach(e=>{go._eventManager.addHandler(this._ngZone,e,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{gm.forEach(r=>{this._triggerElement.addEventListener(r,this,fm)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===we.FADING_IN?this._startFadeOutTransition(t):t.state===we.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=we.VISIBLE,!e&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=we.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel)),t.element.remove()}_onMousedown(t){let r=Zs(t),e=this._lastTouchStartEvent&&Date.now(){let r=t.state===we.VISIBLE||t.config.terminateOnPointerUp&&t.state===we.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(pm.forEach(r=>go._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&gm.forEach(r=>t.removeEventListener(r,this,fm)))}};go._eventManager=new fc;var pc=go;function jb(n,t,r){let e=Math.max(Math.abs(n-r.left),Math.abs(n-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(e*e+i*i)}var vc=new x("mat-ripple-global-options"),Ve=(()=>{let t=class t{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()}constructor(e,i,o,a,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new pc(this,i,e,o)}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),this._animationMode==="NoopAnimations"?{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,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,_(_({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,_(_({},this.rippleConfig),e))}};t.\u0275fac=function(i){return new(i||t)(l(S),l(E),l(et),l(vc,8),l(vt,8))},t.\u0275dir=D({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&$("mat-ripple-unbounded",o.unbounded)},inputs:{color:[b.None,"matRippleColor","color"],unbounded:[b.None,"matRippleUnbounded","unbounded"],centered:[b.None,"matRippleCentered","centered"],radius:[b.None,"matRippleRadius","radius"],animation:[b.None,"matRippleAnimation","animation"],disabled:[b.None,"matRippleDisabled","disabled"],trigger:[b.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=t;return n})(),yc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J,J]});let n=t;return n})(),Vb=(()=>{let t=class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.\u0275fac=function(i){return new(i||t)(l(vt,8))},t.\u0275cmp=F({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&$("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[N],decls:0,vars:0,template:function(i,o){},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});let n=t;return n})(),Bb=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J]});let n=t;return n})(),xc=new x("MAT_OPTION_PARENT_COMPONENT");var wc=new x("MatOptgroup");var zb=0,bo=class{constructor(t,r=!1){this.source=t,this.isUserInput=r}},Vr=(()=>{let t=class t{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=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,a){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${zb++}`,this.onSelectionChange=new U,this._stateChanges=new T}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let o=this._getHostElement();typeof o.focus=="function"&&o.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){(e.keyCode===13||e.keyCode===32)&&!Mt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new bo(this,e))}};t.\u0275fac=function(i){return new(i||t)(l(S),l(gt),l(xc,8),l(wc,8))},t.\u0275cmp=F({type:t,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&rt(Db,7),i&2){let a;W(a=G())&&(o._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&R("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}),i&2&&(Zt("id",o.id),Q("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),$("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[b.HasDecoratorInputTransform,"disabled","disabled",Z]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[pt,N],ngContentSelectors:Sb,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,o){i&1&&(Ct(Tb),H(0,Ab,1,2,"mat-pseudo-checkbox",1),ct(1),f(2,"span",2,0),ct(4,1),p(),H(5,Rb,1,1,"mat-pseudo-checkbox",3)(6,Mb,2,1,"span",4),P(7,"div",5)),i&2&&(K(0,o.multiple?0:-1),y(5),K(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),y(),K(6,o.group&&o.group._inert?6:-1),y(),z("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Vb,Ve],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});let n=t;return n})();function xm(n,t,r){if(r.length){let e=t.toArray(),i=r.toArray(),o=0;for(let a=0;ar+e?Math.max(0,n-e+t):r}var Cc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[yc,J,Bb]});let n=t;return n})(),bm={capture:!0},_m=["focus","click","mouseenter","touchstart"],mc="mat-ripple-loader-uninitialized",uc="mat-ripple-loader-class-name",vm="mat-ripple-loader-centered",Lr="mat-ripple-loader-disabled",Cm=(()=>{let t=class t{constructor(){this._document=v(B,{optional:!0}),this._animationMode=v(vt,{optional:!0}),this._globalRippleOptions=v(vc,{optional:!0}),this._platform=v(et),this._ngZone=v(E),this._hosts=new Map,this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;let o=e.target.closest(`[${mc}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let e of _m)this._document?.addEventListener(e,this._onInteraction,bm)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of _m)this._document?.removeEventListener(i,this._onInteraction,bm)}configureRipple(e,i){e.setAttribute(mc,""),(i.className||!e.hasAttribute(uc))&&e.setAttribute(uc,i.className||""),i.centered&&e.setAttribute(vm,""),i.disabled&&e.setAttribute(Lr,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(Lr,""):e.removeAttribute(Lr)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(uc)),e.append(o);let a=new Ve(new S(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(vm),a.disabled=e.hasAttribute(Lr),this.attachRipple(e,a),a}attachRipple(e,i){e.removeAttribute(mc),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Br=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=F({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&$("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[N],attrs:Ob,ngContentSelectors:Fb,decls:1,vars:0,template:function(i,o){i&1&&(Ct(),ct(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let n=t;return n})();function Ub(n,t){}var Hb={bottomSheetState:Fe("state",[Qt("void, hidden",Et({transform:"translateY(100%)"})),Qt("visible",Et({transform:"translateY(0%)"})),Yt("visible => void, visible => hidden",Ln([zt(`${_c.COMPLEX} ${bc.ACCELERATION_CURVE}`),La("@*",Na(),{optional:!0})])),Yt("void => visible",Ln([zt(`${_c.EXITING} ${bc.DECELERATION_CURVE}`),La("@*",Na(),{optional:!0})]))])},$b=(()=>{let t=class t extends fo{constructor(e,i,o,a,s,c,d,m,g){super(e,i,o,a,s,c,d,g),this._animationState="void",this._animationStateChanged=new U,this._breakpointSubscription=m.observe([qe.Medium,qe.Large,qe.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",m.isMatched(qe.Medium)),this._toggleClass("mat-bottom-sheet-container-large",m.isMatched(qe.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",m.isMatched(qe.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){e.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}_toggleClass(e,i){this._elementRef.nativeElement.classList.toggle(e,i)}};t.\u0275fac=function(i){return new(i||t)(l(S),l(hn),l(B,8),l(Ze),l(Pi),l(E),l(Ae),l(mn),l(ce))},t.\u0275cmp=F({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(i,o){i&1&&Ho("@state.start",function(s){return o._onAnimationStart(s)})("@state.done",function(s){return o._onAnimationDone(s)}),i&2&&(Uo("@state",o._animationState),Q("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-label",o._config.ariaLabel))},standalone:!0,features:[ot,N],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&H(0,Ub,0,0,"ng-template",0)},dependencies:[Jt],styles:[".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[Hb.bottomSheetState]}});let n=t;return n})(),Ic=new x("MatBottomSheetData"),kc=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},vn=class{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(t,r,e){this._ref=t,this._afterOpened=new T,this.containerInstance=e,this.disableClose=r.disableClose,e._animationStateChanged.pipe(it(i=>i.phaseName==="done"&&i.toState==="visible"),at(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(it(i=>i.phaseName==="done"&&i.toState==="hidden"),at(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),t.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),Tt(this.backdropClick(),this.keydownEvents().pipe(it(i=>i.keyCode===27))).subscribe(i=>{!this.disableClose&&(i.type!=="keydown"||!Mt(i))&&(i.preventDefault(),this.dismiss())})}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(it(r=>r.phaseName==="start"),at(1)).subscribe(r=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},r.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},Wb=new x("mat-bottom-sheet-default-options"),vo=(()=>{let t=class t{get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(e,i,o,a){this._overlay=e,this._parentBottomSheet=o,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=i.get(po)}open(e,i){let o=_(_({},this._defaultOptions||new kc),i),a;return this._dialog.open(e,ht(_({},o),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:$b,scrollStrategy:o.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(s,c,d)=>(a=new vn(s,o,d),[{provide:vn,useValue:a},{provide:Ic,useValue:o.data}])})),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}};t.\u0275fac=function(i){return new(i||t)(u(xt),u(wt),u(t,12),u(Wb,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),zr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({providers:[vo],imports:[Nr,J,Se,J]});let n=t;return n})();var Gb=["mat-button",""],Em=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Dm=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var qb=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",Yb=["mat-fab",""];var Xb=["mat-icon-button",""],Zb=["*"];var Qb=new x("MAT_BUTTON_CONFIG");var Kb=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Dc=(()=>{let t=class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,a){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=a,this._focusMonitor=v(ce),this._rippleLoader=v(Cm),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=v(Qb,{optional:!0}),c=e.nativeElement,d=c.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:m,mdcClasses:g}of Kb)c.hasAttribute(m)&&d.add(...g)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(i){Pn()},t.\u0275dir=D({type:t,inputs:{color:"color",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",Z],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",Z],ariaDisabled:[b.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",Z],disabledInteractive:[b.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",Z]},features:[pt]});let n=t;return n})();var te=(()=>{let t=class t extends Dc{constructor(e,i,o,a){super(e,i,o,a)}};t.\u0275fac=function(i){return new(i||t)(l(S),l(et),l(E),l(vt,8))},t.\u0275cmp=F({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Q("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Rt(o.color?"mat-"+o.color:""),$("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ot,N],attrs:Gb,ngContentSelectors:Dm,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Ct(Em),P(0,"span",0),ct(1),f(2,"span",1),ct(3,1),p(),ct(4,2),P(5,"span",2)(6,"span",3)),i&2&&$("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let n=t;return n})();var Jb=new x("mat-mdc-fab-default-options",{providedIn:"root",factory:Tm});function Tm(){return{color:"accent"}}var Im=Tm(),Sm=(()=>{let t=class t extends Dc{constructor(e,i,o,a,s){super(e,i,o,a),this._options=s,this._isFab=!0,this._options=this._options||Im,this.color=this._options.color||Im.color}};t.\u0275fac=function(i){return new(i||t)(l(S),l(et),l(E),l(vt,8),l(Jb,8))},t.\u0275cmp=F({type:t,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(i,o){i&2&&(Q("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Rt(o.color?"mat-"+o.color:""),$("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0)("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended))},inputs:{extended:[b.HasDecoratorInputTransform,"extended","extended",Z]},exportAs:["matButton"],standalone:!0,features:[pt,ot,N],attrs:Yb,ngContentSelectors:Dm,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Ct(Em),P(0,"span",0),ct(1),f(2,"span",1),ct(3,1),p(),ct(4,2),P(5,"span",2)(6,"span",3)),i&2&&$("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0});let n=t;return n})();var yn=(()=>{let t=class t extends Dc{constructor(e,i,o,a){super(e,i,o,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(i){return new(i||t)(l(S),l(et),l(E),l(vt,8))},t.\u0275cmp=F({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Q("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Rt(o.color?"mat-"+o.color:""),$("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ot,N],attrs:Xb,ngContentSelectors:Zb,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Ct(),P(0,"span",0),ct(1),P(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',qb],encapsulation:2,changeDetection:0});let n=t;return n})();var Ot=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J,yc,J]});let n=t;return n})();var t_=["*"],Ur;function e_(){if(Ur===void 0&&(Ur=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(Ur=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Ur}function yo(n){return e_()?.createHTML(n)||n}function Am(n){return Error(`Unable to find icon with the name "${n}"`)}function i_(){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.")}function Rm(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Mm(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var Qe=class{constructor(t,r,e){this.url=t,this.svgText=r,this.options=e}},n_=(()=>{let t=class t{constructor(e,i,o,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,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=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,a){return this._addSvgIconConfig(e,i,new Qe(o,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,a){let s=this._sanitizer.sanitize(ie.HTML,o);if(!s)throw Mm(o);let c=yo(s);return this._addSvgIconConfig(e,i,new Qe("",c,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Qe(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){let a=this._sanitizer.sanitize(ie.HTML,i);if(!a)throw Mm(i);let s=yo(a);return this._addSvgIconSetConfig(e,new Qe("",s,o))}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){let i=this._sanitizer.sanitize(ie.RESOURCE_URL,e);if(!i)throw Rm(e);let o=this._cachedIconsByUrl.get(i);return o?O(Hr(o)):this._loadSvgIconFromConfig(new Qe(e,null)).pipe(ut(a=>this._cachedIconsByUrl.set(i,a)),L(a=>Hr(a)))}getNamedSvgIcon(e,i=""){let o=Om(i,e),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):ee(Am(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?O(Hr(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(L(i=>Hr(i)))}_getSvgFromIconSetConfigs(e,i){let o=this._extractIconWithNameFromAnySet(e,i);if(o)return O(o);let a=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(he(c=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(ie.RESOURCE_URL,s.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(m)),O(null)})));return Po(a).pipe(L(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw Am(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){let a=i[o];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(s,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ut(i=>e.svgText=i),L(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?O(null):this._fetchIcon(e).pipe(ut(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let c=this._svgElementFromString(yo(""));return c.appendChild(s),this._setSvgAttributes(c,o)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let i=this._svgElementFromString(yo("")),o=e.attributes;for(let a=0;ayo(m)),ni(()=>this._inProgressUrlFetches.delete(s)),md());return this._inProgressUrlFetches.set(s,d),d}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(Om(e,i),o),this}_addSvgIconSetConfig(e,i){let o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;ot?t.pathname+t.search:""}}var Fm=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],c_=Fm.map(n=>`[${n}]`).join(", "),d_=/^url\(['"]?#(.*?)['"]?\)$/,xn=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(e){this._color=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){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,a,s,c){this._elementRef=e,this._iconRegistry=i,this._location=a,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=It.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let 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(){let e=this._elementsWithExternalReferences;if(e&&e.size){let 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();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=e.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),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 typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((o,a)=>{o.forEach(s=>{a.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(c_),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let c=i[a],d=c.getAttribute(s),m=d?d.match(d_):null;if(m){let g=o.get(c);g||(g=[],o.set(c,g)),g.push({name:s,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(at(1)).subscribe(a=>this._setSvgElement(a),a=>{let s=`Error retrieving icon ${i}:${o}! ${a.message}`;this._errorHandler.handleError(new Error(s))})}}};t.\u0275fac=function(i){return new(i||t)(l(S),l(n_),Oe("aria-hidden"),l(a_),l(ki),l(r_,8))},t.\u0275cmp=F({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(Q("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Rt(o.color?"mat-"+o.color:""),$("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[b.HasDecoratorInputTransform,"inline","inline",Z],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[pt,N],ngContentSelectors:t_,decls:1,vars:0,template:function(i,o){i&1&&(Ct(),ct(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});let n=t;return n})(),gi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J,J]});let n=t;return n})();var Pm=xe({passive:!0}),Nm=(()=>{let t=class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return le;let i=Kt(e),o=this._monitoredElements.get(i);if(o)return o.subject;let a=new T,s="cdk-text-field-autofilled",c=d=>{d.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0}))):d.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,Pm),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",c,Pm)}}),a}stopMonitoring(e){let i=Kt(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.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))}};t.\u0275fac=function(i){return new(i||t)(u(et),u(E))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Lm=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({});let n=t;return n})();var Wm=(()=>{let t=class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},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)}};t.\u0275fac=function(i){return new(i||t)(l(Vo),l(S))},t.\u0275dir=D({type:t});let n=t;return n})(),Gm=(()=>{let t=class t extends Wm{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275dir=D({type:t,features:[ot]});let n=t;return n})(),Be=new x("");var m_={provide:Be,useExisting:St(()=>Cn),multi:!0};function u_(){let n=Yi()?Yi().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var h_=new x(""),Cn=(()=>{let t=class t extends Wm{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!u_())}writeValue(e){let i=e??"";this.setProperty("value",i)}_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)}};t.\u0275fac=function(i){return new(i||t)(l(Vo),l(S),l(h_,8))},t.\u0275dir=D({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&R("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[dt([m_]),ot]});let n=t;return n})();function bi(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function qm(n){return n!=null&&typeof n.length=="number"}var Ce=new x(""),Jr=new x(""),f_=/^(?=.{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])?)*$/,ji=class{static min(t){return Ym(t)}static max(t){return Xm(t)}static required(t){return Zm(t)}static requiredTrue(t){return p_(t)}static email(t){return g_(t)}static minLength(t){return b_(t)}static maxLength(t){return Qm(t)}static pattern(t){return __(t)}static nullValidator(t){return Wr(t)}static compose(t){return nu(t)}static composeAsync(t){return ou(t)}};function Ym(n){return t=>{if(bi(t.value)||bi(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r{if(bi(t.value)||bi(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r>n?{max:{max:n,actual:t.value}}:null}}function Zm(n){return bi(n.value)?{required:!0}:null}function p_(n){return n.value===!0?null:{required:!0}}function g_(n){return bi(n.value)||f_.test(n.value)?null:{email:!0}}function b_(n){return t=>bi(t.value)||!qm(t.value)?null:t.value.lengthqm(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function __(n){if(!n)return Wr;let t,r;return typeof n=="string"?(r="",n.charAt(0)!=="^"&&(r+="^"),r+=n,n.charAt(n.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=n.toString(),t=n),e=>{if(bi(e.value))return null;let i=e.value;return t.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Wr(n){return null}function Km(n){return n!=null}function Jm(n){return Go(n)?$t(n):n}function tu(n){let t={};return n.forEach(r=>{t=r!=null?_(_({},t),r):t}),Object.keys(t).length===0?null:t}function eu(n,t){return t.map(r=>r(n))}function v_(n){return!n.validate}function iu(n){return n.map(t=>v_(t)?t:r=>t.validate(r))}function nu(n){if(!n)return null;let t=n.filter(Km);return t.length==0?null:function(r){return tu(eu(r,t))}}function Ac(n){return n!=null?nu(iu(n)):null}function ou(n){if(!n)return null;let t=n.filter(Km);return t.length==0?null:function(r){let e=eu(r,t).map(Jm);return Po(e).pipe(L(tu))}}function Rc(n){return n!=null?ou(iu(n)):null}function jm(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function ru(n){return n._rawValidators}function au(n){return n._rawAsyncValidators}function Sc(n){return n?Array.isArray(n)?n:[n]:[]}function Gr(n,t){return Array.isArray(n)?n.includes(t):n===t}function Vm(n,t){let r=Sc(t);return Sc(n).forEach(i=>{Gr(r,i)||r.push(i)}),r}function Bm(n,t){return Sc(t).filter(r=>!Gr(n,r))}var qr=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ac(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Rc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,r){return this.control?this.control.hasError(t,r):!1}getError(t,r){return this.control?this.control.getError(t,r):null}},Ke=class extends qr{get formDirective(){return null}get path(){return null}},Je=class extends qr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Yr=class{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},y_={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},CI=ht(_({},y_),{"[class.ng-submitted]":"isSubmitted"}),ta=(()=>{let t=class t extends Yr{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(l(Je,2))},t.\u0275dir=D({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&$("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ot]});let n=t;return n})(),ea=(()=>{let t=class t extends Yr{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(l(Ke,10))},t.\u0275dir=D({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&$("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[ot]});let n=t;return n})();var xo="VALID",$r="INVALID",wn="PENDING",wo="DISABLED";function su(n){return(ia(n)?n.validators:n)||null}function x_(n){return Array.isArray(n)?Ac(n):n||null}function cu(n,t){return(ia(t)?t.asyncValidators:n)||null}function w_(n){return Array.isArray(n)?Rc(n):n||null}function ia(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function C_(n,t,r){let e=n.controls;if(!(t?Object.keys(e):e).length)throw new _t(1e3,"");if(!e[r])throw new _t(1001,"")}function k_(n,t,r){n._forEachChild((e,i)=>{if(r[i]===void 0)throw new _t(1002,"")})}var Xr=class{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}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===xo}get invalid(){return this.status===$r}get pending(){return this.status==wn}get disabled(){return this.status===wo}get enabled(){return this.status!==wo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Vm(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Vm(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Bm(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Bm(t,this._rawAsyncValidators))}hasValidator(t){return Gr(this._rawValidators,t)}hasAsyncValidator(t){return Gr(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(r=>{r.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(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=wn,t.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=wo,this.errors=null,this._forEachChild(e=>{e.disable(ht(_({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ht(_({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!0))}enable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=xo,this._forEachChild(e=>{e.enable(ht(_({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(ht(_({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!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===xo||this.status===wn)&&this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?wo:xo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=wn,this._hasOwnPendingAsyncValidator=!0;let r=Jm(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(r.emitEvent!==!1)}get(t){let r=t;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((e,i)=>e&&e._find(i),this)}getError(t,r){let e=r?this.get(r):this;return e&&e.errors?e.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}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 U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?wo:this.errors?$r:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wn)?wn:this._anyControlsHaveStatus($r)?$r:xo}_anyControlsHaveStatus(t){return this._anyControls(r=>r.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){ia(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let r=this._parent&&this._parent.dirty;return!t&&!!r&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=x_(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=w_(this._rawAsyncValidators)}},_i=class extends Xr{constructor(t,r,e){super(su(r),cu(e,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,e={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){k_(this,!0,t),Object.keys(t).forEach(e=>{C_(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){t!=null&&(Object.keys(t).forEach(e=>{let i=this.controls[e];i&&i.patchValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((e,i)=>{e.reset(t?t[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,e)=>(t[e]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,e)=>e._syncPendingControls()?!0:r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{let e=this.controls[r];e&&t(e,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[r,e]of Object.entries(this.controls))if(this.contains(r)&&t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(r,e,i)=>((e.enabled||this.disabled)&&(r[i]=e.value),r))}_reduceChildren(t,r){let e=t;return this._forEachChild((i,o)=>{e=r(e,i,o)}),e}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var ko=new x("CallSetDisabledState",{providedIn:"root",factory:()=>na}),na="always";function du(n,t){return[...t.path,n]}function Zr(n,t,r=na){Mc(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),E_(n,t),T_(n,t),D_(n,t),I_(n,t)}function zm(n,t,r=!0){let e=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(e),t.valueAccessor.registerOnTouched(e)),Kr(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Qr(n,t){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function I_(n,t){if(t.valueAccessor.setDisabledState){let r=e=>{t.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(r),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}function Mc(n,t){let r=ru(n);t.validator!==null?n.setValidators(jm(r,t.validator)):typeof r=="function"&&n.setValidators([r]);let e=au(n);t.asyncValidator!==null?n.setAsyncValidators(jm(e,t.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let i=()=>n.updateValueAndValidity();Qr(t._rawValidators,i),Qr(t._rawAsyncValidators,i)}function Kr(n,t){let r=!1;if(n!==null){if(t.validator!==null){let i=ru(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.validator);o.length!==i.length&&(r=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let i=au(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.asyncValidator);o.length!==i.length&&(r=!0,n.setAsyncValidators(o))}}}let e=()=>{};return Qr(t._rawValidators,e),Qr(t._rawAsyncValidators,e),r}function E_(n,t){t.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&lu(n,t)})}function D_(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&lu(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function lu(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function T_(n,t){let r=(e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)};n.registerOnChange(r),t._registerOnDestroy(()=>{n._unregisterOnChange(r)})}function mu(n,t){n==null,Mc(n,t)}function S_(n,t){return Kr(n,t)}function uu(n,t){if(!n.hasOwnProperty("model"))return!1;let r=n.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function A_(n){return Object.getPrototypeOf(n.constructor)===Gm}function hu(n,t){n._syncPendingControls(),t.forEach(r=>{let e=r.control;e.updateOn==="submit"&&e._pendingChange&&(r.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function fu(n,t){if(!t)return null;Array.isArray(t);let r,e,i;return t.forEach(o=>{o.constructor===Cn?r=o:A_(o)?e=o:i=o}),i||e||r||null}function R_(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}var M_={provide:Ke,useExisting:St(()=>Oc)},Co=Promise.resolve(),Oc=(()=>{let t=class t extends Ke{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new U,this.form=new _i({},Ac(e),Rc(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Co.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Zr(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Co.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Co.then(()=>{let i=this._findContainer(e.path),o=new _i({});mu(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Co.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Co.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,hu(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}};t.\u0275fac=function(i){return new(i||t)(l(Ce,10),l(Jr,10),l(ko,8))},t.\u0275dir=D({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[b.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[dt([M_]),ot]});let n=t;return n})();function Um(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}function Hm(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var ti=class extends Xr{constructor(t=null,r,e){super(su(r),cu(e,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ia(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Hm(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Um(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Um(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Hm(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var O_=n=>n instanceof ti;var F_={provide:Je,useExisting:St(()=>Fc)},$m=Promise.resolve(),Fc=(()=>{let t=class t extends Je{constructor(e,i,o,a,s,c){super(),this._changeDetectorRef=s,this.callSetDisabledState=c,this.control=new ti,this._registered=!1,this.name="",this.update=new U,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=fu(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),uu(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Zr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){$m.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&Z(i);$m.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?du(e,this._parent):[e]}};t.\u0275fac=function(i){return new(i||t)(l(Ke,9),l(Ce,10),l(Jr,10),l(Be,10),l(gt,8),l(ko,8))},t.\u0275dir=D({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"],options:[b.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[dt([F_]),ot,kt]});let n=t;return n})(),pu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let n=t;return n})(),P_={provide:Be,useExisting:St(()=>Pc),multi:!0},Pc=(()=>{let t=class t extends Gm{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275dir=D({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){i&1&&R("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[dt([P_]),ot]});let n=t;return n})();var gu=new x("");var N_={provide:Ke,useExisting:St(()=>Vi)},Vi=(()=>{let t=class t extends Ke{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new U,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&&(Kr(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){let i=this.form.get(e.path);return Zr(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){zm(e.control||null,e,!1),R_(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){return this.submitted=!0,hu(this.form,this.directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,o=this.form.get(e.path);i!==o&&(zm(i||null,e),O_(o)&&(Zr(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);mu(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&S_(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Mc(this.form,this),this._oldForm&&Kr(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(i){return new(i||t)(l(Ce,10),l(Jr,10),l(ko,8))},t.\u0275dir=D({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[b.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[dt([N_]),ot,kt]});let n=t;return n})();var L_={provide:Je,useExisting:St(()=>Io)},Io=(()=>{let t=class t extends Je{set isDisabled(e){}constructor(e,i,o,a,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new U,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=fu(this,a)}ngOnChanges(e){this._added||this._setUpControl(),uu(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return du(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(l(Ke,13),l(Ce,10),l(Jr,10),l(Be,10),l(gu,8))},t.\u0275dir=D({type:t,selectors:[["","formControlName",""]],inputs:{name:[b.None,"formControlName","name"],isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[dt([L_]),ot,kt]});let n=t;return n})();function j_(n){return typeof n=="number"?n:parseInt(n,10)}function bu(n){return typeof n=="number"?n:parseFloat(n)}var oa=(()=>{let t=class t{constructor(){this._validator=Wr}ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Wr,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,features:[kt]});let n=t;return n})(),V_={provide:Ce,useExisting:St(()=>Nc),multi:!0},Nc=(()=>{let t=class t extends oa{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>bu(e),this.createValidator=e=>Xm(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275dir=D({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Q("max",o._enabled?o.max:null)},inputs:{max:"max"},features:[dt([V_]),ot]});let n=t;return n})(),B_={provide:Ce,useExisting:St(()=>Lc),multi:!0},Lc=(()=>{let t=class t extends oa{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>bu(e),this.createValidator=e=>Ym(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275dir=D({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Q("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[dt([B_]),ot]});let n=t;return n})(),z_={provide:Ce,useExisting:St(()=>Eo),multi:!0};var Eo=(()=>{let t=class t extends oa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Z,this.createValidator=e=>Zm}enabled(e){return e}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275dir=D({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Q("required",o._enabled?"":null)},inputs:{required:"required"},features:[dt([z_]),ot]});let n=t;return n})();var U_={provide:Ce,useExisting:St(()=>jc),multi:!0},jc=(()=>{let t=class t extends oa{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>j_(e),this.createValidator=e=>Qm(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275dir=D({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Q("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[dt([U_]),ot]});let n=t;return n})();var _u=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({});let n=t;return n})();var kn=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:ko,useValue:e.callSetDisabledState??na}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[_u]});let n=t;return n})(),ra=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:gu,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ko,useValue:e.callSetDisabledState??na}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[_u]});let n=t;return n})();var Bc=class{constructor(t){this._box=t,this._destroyed=new T,this._resizeSubject=new T,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Xt(r=>{let e=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(it(r=>r.some(e=>e.target===t)),Sa({bufferSize:1,refCount:!0}),lt(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},vu=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=v(E),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Bc(o)),this._observers.get(o).observe(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var H_=["notch"],$_=["matFormFieldNotchedOutline",""],W_=["*"],G_=["textField"],q_=["iconPrefixContainer"],Y_=["textPrefixContainer"],X_=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Z_=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Q_(n,t){n&1&&P(0,"span",17)}function K_(n,t){if(n&1&&(f(0,"label",16),ct(1,1),H(2,Q_,1,0,"span",17),p()),n&2){let r=X(2);z("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),Q("for",r._control.id),y(2),K(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function J_(n,t){if(n&1&&H(0,K_,3,5,"label",16),n&2){let r=X();K(0,r._hasFloatingLabel()?0:-1)}}function tv(n,t){n&1&&P(0,"div",5)}function ev(n,t){}function iv(n,t){if(n&1&&H(0,ev,0,0,"ng-template",11),n&2){X(2);let r=be(1);z("ngTemplateOutlet",r)}}function nv(n,t){if(n&1&&(f(0,"div",7),H(1,iv,1,1,null,11),p()),n&2){let r=X();z("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),y(),K(1,r._forceDisplayInfixLabel()?-1:1)}}function ov(n,t){n&1&&(f(0,"div",8,2),ct(2,2),p())}function rv(n,t){n&1&&(f(0,"div",9,3),ct(2,3),p())}function av(n,t){}function sv(n,t){if(n&1&&H(0,av,0,0,"ng-template",11),n&2){X();let r=be(1);z("ngTemplateOutlet",r)}}function cv(n,t){n&1&&(f(0,"div",12),ct(1,4),p())}function dv(n,t){n&1&&(f(0,"div",13),ct(1,5),p())}function lv(n,t){n&1&&P(0,"div",14)}function mv(n,t){if(n&1&&(f(0,"div",18),ct(1,6),p()),n&2){let r=X();z("@transitionMessages",r._subscriptAnimationState)}}function uv(n,t){if(n&1&&(f(0,"mat-hint",20),I(1),p()),n&2){let r=X(2);z("id",r._hintLabelId),y(),_e(r.hintLabel)}}function hv(n,t){if(n&1&&(f(0,"div",19),H(1,uv,2,2,"mat-hint",20),ct(2,7),P(3,"div",21),ct(4,8),p()),n&2){let r=X();z("@transitionMessages",r._subscriptAnimationState),y(),K(1,r.hintLabel?1:-1)}}var vi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["mat-label"]],standalone:!0});let n=t;return n})(),fv=0,Du=new x("MatError"),ca=(()=>{let t=class t{constructor(e,i){this.id=`mat-mdc-error-${fv++}`,e||i.nativeElement.setAttribute("aria-live","polite")}};t.\u0275fac=function(i){return new(i||t)(Oe("aria-live"),l(S))},t.\u0275dir=D({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){i&2&&Zt("id",o.id)},inputs:{id:"id"},standalone:!0,features:[dt([{provide:Du,useExisting:t}])]});let n=t;return n})(),pv=0,sa=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${pv++}`}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(Zt("id",o.id),Q("align",null),$("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=t;return n})(),gv=new x("MatPrefix");var Tu=new x("MatSuffix"),Su=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[b.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[dt([{provide:Tu,useExisting:t}])]});let n=t;return n})(),Au=new x("FloatingLabelParent"),yu=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=v(vu),this._ngZone=v(E),this._parent=v(Au),this._resizeSubscription=new It}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return bv(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())})}};t.\u0275fac=function(i){return new(i||t)(l(S))},t.\u0275dir=D({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&$("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=t;return n})();function bv(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let r=t.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let e=r.scrollWidth;return r.remove(),e}var xu="mdc-line-ripple--active",aa="mdc-line-ripple--deactivating",wu=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(aa);o.propertyName==="opacity"&&s&&a.remove(xu,aa)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(aa),e.add(xu)}deactivate(){this._elementRef.nativeElement.classList.add(aa)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(i){return new(i||t)(l(S),l(E))},t.\u0275dir=D({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let n=t;return n})(),Cu=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(i){return new(i||t)(l(S),l(E))},t.\u0275cmp=F({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&rt(H_,5),i&2){let a;W(a=G())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&$("mdc-notched-outline--notched",o.open)},inputs:{open:[b.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[N],attrs:$_,ngContentSelectors:W_,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(Ct(),P(0,"div",1),f(1,"div",2,0),ct(3),p(),P(4,"div",3))},encapsulation:2,changeDetection:0});let n=t;return n})(),_v={transitionMessages:Fe("transitionMessages",[Qt("enter",Et({opacity:1,transform:"translateY(0%)"})),Yt("void => enter",[Et({opacity:0,transform:"translateY(-5px)"}),zt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},zc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t});let n=t;return n})();var Do=new x("MatFormField"),vv=new x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ku=0,Iu="fill",yv="auto",Eu="fixed",xv="translateY(-50%)",In=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=se(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||yv}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,o=e||this._defaults?.appearance||Iu;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Eu}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Eu}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,a,s,c,d,m){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._platform=s,this._defaults=c,this._animationMode=d,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Iu,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${ku++}`,this._hintLabelId=`mat-mdc-hint-${ku++}`,this._subscriptAnimationState="",this._destroyed=new T,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.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(){let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(lt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Tt(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(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(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(lt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(lt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_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(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",d=`${a+s}px`,g=`calc(${c} * (${d} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${xv} translateX(${g}) + )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(i){return new(i||t)(l(S),l(gt),l(E),l(jt),l(et),l(vv,8),l(vt,8),l(B))},t.\u0275cmp=F({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,a){if(i&1&&(Nt(a,vi,5),Nt(a,vi,7),Nt(a,zc,5),Nt(a,gv,5),Nt(a,Tu,5),Nt(a,Du,5),Nt(a,sa,5)),i&2){let s;W(s=G())&&(o._labelChildNonStatic=s.first),W(s=G())&&(o._labelChildStatic=s.first),W(s=G())&&(o._formFieldControl=s.first),W(s=G())&&(o._prefixChildren=s),W(s=G())&&(o._suffixChildren=s),W(s=G())&&(o._errorChildren=s),W(s=G())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(i&1&&(rt(G_,5),rt(q_,5),rt(Y_,5),rt(yu,5),rt(Cu,5),rt(wu,5)),i&2){let a;W(a=G())&&(o._textField=a.first),W(a=G())&&(o._iconPrefixContainer=a.first),W(a=G())&&(o._textPrefixContainer=a.first),W(a=G())&&(o._floatingLabel=a.first),W(a=G())&&(o._notchedOutline=a.first),W(a=G())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&$("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[dt([{provide:Do,useExisting:t},{provide:Au,useExisting:t}]),N],ngContentSelectors:Z_,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,o){if(i&1){let a=mt();Ct(X_),H(0,J_,1,1,"ng-template",null,0,Rd),f(2,"div",4,1),R("click",function(c){return q(a),Y(o._control.onContainerClick(c))}),H(4,tv,1,0,"div",5),f(5,"div",6),H(6,nv,2,2,"div",7)(7,ov,3,0,"div",8)(8,rv,3,0,"div",9),f(9,"div",10),H(10,sv,1,1,null,11),ct(11),p(),H(12,cv,2,0,"div",12)(13,dv,2,0,"div",13),p(),H(14,lv,1,0,"div",14),p(),f(15,"div",15),H(16,mv,2,1)(17,hv,5,2),p()}if(i&2){let a;y(2),$("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),y(2),K(4,!o._hasOutline()&&!o._control.disabled?4:-1),y(2),K(6,o._hasOutline()?6:-1),y(),K(7,o._hasIconPrefix?7:-1),y(),K(8,o._hasTextPrefix?8:-1),y(2),K(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),y(2),K(12,o._hasTextSuffix?12:-1),y(),K(13,o._hasIconSuffix?13:-1),y(),K(14,o._hasOutline()?-1:14),y(),$("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),y(),K(16,(a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[yu,Cu,Ld,wu,sa],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:[_v.transitionMessages]},changeDetection:0});let n=t;return n})(),Re=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J,Ge,Cr,J]});let n=t;return n})();var wv=new x("MAT_INPUT_VALUE_ACCESSOR"),Cv=["button","checkbox","file","hidden","image","radio","range","reset","submit"],kv=0,yi=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=se(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(ji.required)??!1}set required(e){this._required=se(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Hs().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}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=se(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,o,a,s,c,d,m,g,C){this._elementRef=e,this._platform=i,this.ngControl=o,this._autofillMonitor=m,this._formField=C,this._uid=`mat-input-${kv++}`,this.focused=!1,this.stateChanges=new T,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(k=>Hs().has(k)),this._iOSKeyupListener=k=>{let M=k.target;!M.value&&M.selectionStart===0&&M.selectionEnd===0&&(M.setSelectionRange(1,1),M.setSelectionRange(0,0))};let A=this._elementRef.nativeElement,h=A.nodeName.toLowerCase();this._inputValueAccessor=d||A,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new jr(c,o,s,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=h==="select",this._isTextarea=h==="textarea",this._isInFormField=!!C,this._isNativeSelect&&(this.controlType=A.multiple?"mat-native-select-multiple":"mat-native-select")}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.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Cv.indexOf(this._type)>-1}_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){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else 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(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};t.\u0275fac=function(i){return new(i||t)(l(S),l(et),l(Je,10),l(Oc,8),l(Vi,8),l(ym),l(wv,10),l(Nm),l(E),l(Do,8))},t.\u0275dir=D({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&R("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(Zt("id",o.id)("disabled",o.disabled)("required",o.required),Q("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),$("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[b.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[dt([{provide:zc,useExisting:t}]),kt]});let n=t;return n})(),ze=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J,Re,Re,Lm,J]});let n=t;return n})();var Iv=new x("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var Mu=(()=>{let t=class t{constructor(e,i,o,a,s){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=o,this._animationMode=a,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new U,this._mode="determinate",this._transitionendHandler=c=>{this.animationEnd.observers.length===0||!c.target||!c.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=a==="NoopAnimations",s&&(s.color&&(this.color=this._defaultColor=s.color),this.mode=s.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=Ru(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=Ru(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};t.\u0275fac=function(i){return new(i||t)(l(S),l(E),l(gt),l(vt,8),l(Iv,8))},t.\u0275cmp=F({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,o){i&2&&(Q("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),Rt("mat-"+o.color),$("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:[b.HasDecoratorInputTransform,"value","value",ve],bufferValue:[b.HasDecoratorInputTransform,"bufferValue","bufferValue",ve],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[pt,N],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,o){i&1&&(f(0,"div",0),P(1,"div",1)(2,"div",2),p(),f(3,"div",3),P(4,"span",4),p(),f(5,"div",5),P(6,"span",4),p()),i&2&&(y(),ri("flex-basis",o._getBufferBarFlexBasis()),y(2),ri("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let n=t;return n})();function Ru(n,t=0,r=100){return Math.max(t,Math.min(r,n))}var Ou=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J]});let n=t;return n})();var Gc=["*"];function Dv(n,t){n&1&&ct(0)}var Tv=["tabListContainer"],Sv=["tabList"],Av=["tabListInner"],Rv=["nextPaginator"],Mv=["previousPaginator"],Ov=n=>({animationDuration:n}),Fv=(n,t)=>({value:n,params:t});function Pv(n,t){}var Nv=["tabBodyWrapper"],Lv=["tabHeader"];function jv(n,t){}function Vv(n,t){if(n&1&&H(0,jv,0,0,"ng-template",12),n&2){let r=X().$implicit;z("cdkPortalOutlet",r.templateLabel)}}function Bv(n,t){if(n&1&&I(0),n&2){let r=X().$implicit;_e(r.textLabel)}}function zv(n,t){if(n&1){let r=mt();f(0,"div",7,2),R("click",function(){let i=q(r),o=i.$implicit,a=i.$index,s=X(),c=be(1);return Y(s._handleClick(o,c,a))})("cdkFocusChange",function(i){let o=q(r).$index,a=X();return Y(a._tabFocusChanged(i,o))}),P(2,"span",8)(3,"div",9),f(4,"span",10)(5,"span",11),H(6,Vv,1,1,null,12)(7,Bv,1,1),p()()()}if(n&2){let r=t.$implicit,e=t.$index,i=be(1),o=X();Rt(r.labelClass),$("mdc-tab--active",o.selectedIndex===e),z("id",o._getTabLabelId(e))("disabled",r.disabled)("fitInkBarToContent",o.fitInkBarToContent),Q("tabIndex",o._getTabIndex(e))("aria-posinset",e+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(e))("aria-selected",o.selectedIndex===e)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),y(3),z("matRippleTrigger",i)("matRippleDisabled",r.disabled||o.disableRipple),y(3),K(6,r.templateLabel?6:7)}}function Uv(n,t){n&1&&ct(0)}function Hv(n,t){if(n&1){let r=mt();f(0,"mat-tab-body",13),R("_onCentered",function(){q(r);let i=X();return Y(i._removeTabBodyWrapperHeight())})("_onCentering",function(i){q(r);let o=X();return Y(o._setTabBodyWrapperHeight(i))}),p()}if(n&2){let r=t.$implicit,e=t.$index,i=X();Rt(r.bodyClass),$("mat-mdc-tab-body-active",i.selectedIndex===e),z("id",i._getTabContentId(e))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",i.animationDuration)("preserveContent",i.preserveContent),Q("tabindex",i.contentTabIndex!=null&&i.selectedIndex===e?i.contentTabIndex:null)("aria-labelledby",i._getTabLabelId(e))("aria-hidden",i.selectedIndex!==e)}}var $v=new x("MatTabContent"),Wv=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(l(Bt))},t.\u0275dir=D({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[dt([{provide:$v,useExisting:t}])]});let n=t;return n})(),Gv=new x("MatTabLabel"),Nu=new x("MAT_TAB"),qv=(()=>{let t=class t extends om{constructor(e,i,o){super(e,i),this._closestTab=o}};t.\u0275fac=function(i){return new(i||t)(l(Bt),l(Gt),l(Nu,8))},t.\u0275dir=D({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[dt([{provide:Gv,useExisting:t}]),ot]});let n=t;return n})(),Lu=new x("MAT_TAB_GROUP"),qc=(()=>{let t=class t{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,i){this._viewContainerRef=e,this._closestTabGroup=i,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new T,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new de(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}};t.\u0275fac=function(i){return new(i||t)(l(Gt),l(Lu,8))},t.\u0275cmp=F({type:t,selectors:[["mat-tab"]],contentQueries:function(i,o,a){if(i&1&&(Nt(a,qv,5),Nt(a,Wv,7,Bt)),i&2){let s;W(s=G())&&(o.templateLabel=s.first),W(s=G())&&(o._explicitContent=s.first)}},viewQuery:function(i,o){if(i&1&&rt(Bt,7),i&2){let a;W(a=G())&&(o._implicitContent=a.first)}},hostAttrs:["hidden",""],inputs:{disabled:[b.HasDecoratorInputTransform,"disabled","disabled",Z],textLabel:[b.None,"label","textLabel"],ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[dt([{provide:Nu,useExisting:t}]),pt,kt,N],ngContentSelectors:Gc,decls:1,vars:0,template:function(i,o){i&1&&(Ct(),H(0,Dv,1,0,"ng-template"))},encapsulation:2});let n=t;return n})(),Hc="mdc-tab-indicator--active",Fu="mdc-tab-indicator--no-transition",$c=class{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){let r=this._items.find(i=>i.elementRef.nativeElement===t),e=this._currentItem;if(r!==e&&(e?.deactivateInkBar(),r)){let i=e?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(i),this._currentItem=r}}},Yv=(()=>{let t=class t{constructor(){this._elementRef=v(S),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(Hc);return}let o=i.getBoundingClientRect(),a=e.width/o.width,s=e.left-o.left;i.classList.add(Fu),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(Fu),i.classList.add(Hc),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Hc)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,inputs:{fitInkBarToContent:[b.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",Z]},features:[pt]});let n=t;return n})();var ju=(()=>{let t=class t extends Yv{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};t.\u0275fac=function(i){return new(i||t)(l(S))},t.\u0275dir=D({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){i&2&&(Q("aria-disabled",!!o.disabled),$("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[b.HasDecoratorInputTransform,"disabled","disabled",Z]},standalone:!0,features:[pt,ot]});let n=t;return n})(),Pu=xe({passive:!0}),Xv=650,Zv=100,Qv=(()=>{let t=class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(e,i,o,a,s,c,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=a,this._ngZone=s,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new T,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new T,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new U,this.indexFocused=new U,s.runOutsideAngular(()=>{Wt(e.nativeElement,"mouseleave").pipe(lt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Wt(this._previousPaginator.nativeElement,"touchstart",Pu).pipe(lt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Wt(this._nextPaginator.nativeElement,"touchstart",Pu).pipe(lt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:O("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Ar(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(at(1)).subscribe(o),Tt(e,i,this._items.changes,this._itemsResized()).pipe(lt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?le:this._items.changes.pipe(Pt(this._items),yt(e=>new Xt(i=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(a=>i.next(a));return e.forEach(a=>o.observe(a.elementRef.nativeElement)),()=>{o.disconnect()}}))),Hi(1),it(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Mt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:s}=i.elementRef.nativeElement,c,d;this._getLayoutDirection()=="ltr"?(c=a,d=c+s):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-s);let m=this.scrollDistance,g=this.scrollDistance+o;cg&&(this.scrollDistance+=Math.min(d-g,c-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),ad(Xv,Zv).pipe(lt(Tt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:a}=this._scrollHeader(e);(a===0||a>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}};t.\u0275fac=function(i){return new(i||t)(l(S),l(gt),l(Ye),l(jt,8),l(E),l(et),l(vt,8))},t.\u0275dir=D({type:t,inputs:{disablePagination:[b.HasDecoratorInputTransform,"disablePagination","disablePagination",Z],selectedIndex:[b.HasDecoratorInputTransform,"selectedIndex","selectedIndex",ve]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[pt]});let n=t;return n})(),Kv=(()=>{let t=class t extends Qv{constructor(e,i,o,a,s,c,d){super(e,i,o,a,s,c,d),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new $c(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}};t.\u0275fac=function(i){return new(i||t)(l(S),l(gt),l(Ye),l(jt,8),l(E),l(et),l(vt,8))},t.\u0275cmp=F({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,o,a){if(i&1&&Nt(a,ju,4),i&2){let s;W(s=G())&&(o._items=s)}},viewQuery:function(i,o){if(i&1&&(rt(Tv,7),rt(Sv,7),rt(Av,7),rt(Rv,5),rt(Mv,5)),i&2){let a;W(a=G())&&(o._tabListContainer=a.first),W(a=G())&&(o._tabList=a.first),W(a=G())&&(o._tabListInner=a.first),W(a=G())&&(o._nextPaginator=a.first),W(a=G())&&(o._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){i&2&&$("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",Z]},standalone:!0,features:[pt,ot,N],ngContentSelectors:Gc,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(i,o){if(i&1){let a=mt();Ct(),f(0,"button",5,0),R("click",function(){return q(a),Y(o._handlePaginatorClick("before"))})("mousedown",function(c){return q(a),Y(o._handlePaginatorPress("before",c))})("touchend",function(){return q(a),Y(o._stopInterval())}),P(2,"div",6),p(),f(3,"div",7,1),R("keydown",function(c){return q(a),Y(o._handleKeydown(c))}),f(5,"div",8,2),R("cdkObserveContent",function(){return q(a),Y(o._onContentChanges())}),f(7,"div",9,3),ct(9),p()()(),f(10,"button",10,4),R("mousedown",function(c){return q(a),Y(o._handlePaginatorPress("after",c))})("click",function(){return q(a),Y(o._handlePaginatorClick("after"))})("touchend",function(){return q(a),Y(o._stopInterval())}),P(12,"div",6),p()}i&2&&($("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),z("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),y(3),$("_mat-animation-noopable",o._animationMode==="NoopAnimations"),y(7),$("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),z("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[Ve,Hl],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let n=t;return n})(),Jv=new x("MAT_TABS_CONFIG"),t0={translateTab:Fe("translateTab",[Qt("center, void, left-origin-center, right-origin-center",Et({transform:"none"})),Qt("left",Et({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Qt("right",Et({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Yt("* => left, * => right, left => center, right => center",zt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Yt("void => left-origin-center",[Et({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),zt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Yt("void => right-origin-center",[Et({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),zt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},e0=(()=>{let t=class t extends Jt{constructor(e,i,o,a){super(e,i,a),this._host=o,this._centeringSub=It.EMPTY,this._leavingSub=It.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Pt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(qi),l(Gt),l(St(()=>Vu)),l(B))},t.\u0275dir=D({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[ot]});let n=t;return n})(),Vu=(()=>{let t=class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=It.EMPTY,this._translateTabComplete=new T,this._onCentering=new U,this._beforeCentering=new U,this._afterLeavingCenter=new U,this._onCentered=new U(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),o.markForCheck()})),this._translateTabComplete.pipe(Sn((a,s)=>a.fromState===s.fromState&&a.toState===s.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let i=this._getLayoutDirection();return i=="ltr"&&e<=0||i=="rtl"&&e>0?"left-origin-center":"right-origin-center"}};t.\u0275fac=function(i){return new(i||t)(l(S),l(jt,8),l(gt))},t.\u0275cmp=F({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(i&1&&rt(Jt,5),i&2){let a;W(a=G())&&(o._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[b.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[N],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,o){if(i&1){let a=mt();f(0,"div",1,0),R("@translateTab.start",function(c){return q(a),Y(o._onTranslateTabStarted(c))})("@translateTab.done",function(c){return q(a),Y(o._translateTabComplete.next(c))}),H(2,Pv,0,0,"ng-template",2),p()}i&2&&z("@translateTab",Ad(3,Fv,o._position,$o(1,Ov,o.animationDuration)))},dependencies:[e0,Js],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[t0.translateTab]}});let n=t;return n})(),i0=0,n0=!0,Bu=(()=>{let t=class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!n0)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,a){this._elementRef=e,this._changeDetectorRef=i,this._animationMode=a,this._tabs=new Rn,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=It.EMPTY,this._tabLabelSubscription=It.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new U,this.focusChange=new U,this.animationDone=new U,this.selectedTabChange=new U(!0),this._isServer=!v(et).isBrowser,this._groupId=i0++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,o?.contentTabIndex!=null&&(this.contentTabIndex=o.contentTabIndex),this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,a)=>o.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),o;for(let a=0;a{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Pt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new Wc;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Tt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}};t.\u0275fac=function(i){return new(i||t)(l(S),l(gt),l(Jv,8),l(vt,8))},t.\u0275cmp=F({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,o,a){if(i&1&&Nt(a,qc,5),i&2){let s;W(s=G())&&(o._allTabs=s)}},viewQuery:function(i,o){if(i&1&&(rt(Nv,5),rt(Lv,5)),i&2){let a;W(a=G())&&(o._tabBodyWrapper=a.first),W(a=G())&&(o._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(i,o){i&2&&(Rt("mat-"+(o.color||"primary")),ri("--mat-tab-animation-duration",o.animationDuration),$("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[b.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",Z],stretchTabs:[b.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",Z],dynamicHeight:[b.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",Z],selectedIndex:[b.HasDecoratorInputTransform,"selectedIndex","selectedIndex",ve],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[b.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",ve],disablePagination:[b.HasDecoratorInputTransform,"disablePagination","disablePagination",Z],disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",Z],preserveContent:[b.HasDecoratorInputTransform,"preserveContent","preserveContent",Z],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[dt([{provide:Lu,useExisting:t}]),pt,N],ngContentSelectors:Gc,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,o){if(i&1){let a=mt();Ct(),f(0,"mat-tab-header",3,0),R("indexFocused",function(c){return q(a),Y(o._focusChanged(c))})("selectFocusedIndex",function(c){return q(a),Y(o.selectedIndex=c)}),pe(2,zv,8,17,"div",4,Ii),p(),H(4,Uv,1,0),f(5,"div",5,1),pe(7,Hv,1,13,"mat-tab-body",6,Ii),p()}i&2&&(z("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),y(2),ge(o._tabs),y(2),K(4,o._isServer?4:-1),y(),$("_mat-animation-noopable",o._animationMode==="NoopAnimations"),y(2),ge(o._tabs))},dependencies:[Kv,ju,nm,Ve,Jt,Vu],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let n=t;return n})(),Wc=class{};var zu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J,J]});let n=t;return n})();var la=(()=>{let t=class t{constructor(e){this.matInput=e}ngOnInit(){setTimeout(()=>this.matInput.focus())}};t.\u0275fac=function(i){return new(i||t)(l(yi))},t.\u0275dir=D({type:t,selectors:[["","matInputAutofocus",""]],standalone:!0});let n=t;return n})();var ei="https://tot-fet-backend-production.up.railway.app";function r0(n,t){}var To=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Yc="mdc-dialog--open",Uu="mdc-dialog--opening",Hu="mdc-dialog--closing",a0=150,s0=75,c0=(()=>{let t=class t extends fo{constructor(e,i,o,a,s,c,d,m,g){super(e,i,o,a,s,c,d,g),this._animationMode=m,this._animationStateChanged=new U,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?Wu(this._config.enterAnimationDuration)??a0:0,this._exitAnimationDuration=this._animationsEnabled?Wu(this._config.exitAnimationDuration)??s0:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty($u,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Uu,Yc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Yc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Yc),this._animationsEnabled?(this._hostElement.style.setProperty($u,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Hu)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Uu,Hu)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};t.\u0275fac=function(i){return new(i||t)(l(S),l(hn),l(B,8),l(To),l(Pi),l(E),l(Ae),l(vt,8),l(ce))},t.\u0275cmp=F({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,o){i&2&&(Zt("id",o._config.id),Q("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),$("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[ot,N],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(f(0,"div",0)(1,"div",1),H(2,r0,0,0,"ng-template",2),p()())},dependencies:[Jt],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let n=t;return n})(),$u="--mat-dialog-transition-duration";function Wu(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?De(n.substring(0,n.length-2)):n.endsWith("s")?De(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var ma=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(ma||{}),ii=class{constructor(t,r,e){this._ref=t,this._containerInstance=e,this._afterOpened=new T,this._beforeClosed=new T,this._state=ma.OPEN,this.disableClose=r.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),e._animationStateChanged.pipe(it(i=>i.state==="opened"),at(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(it(i=>i.state==="closed"),at(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Tt(this.backdropClick(),this.keydownEvents().pipe(it(i=>i.keyCode===27&&!this.disableClose&&!Mt(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),Gu(this,i.type==="keydown"?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(it(r=>r.state==="closing"),at(1)).subscribe(r=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=ma.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let r=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?r.left(t.left):r.right(t.right):r.centerHorizontally(),t&&(t.top||t.bottom)?t.top?r.top(t.top):r.bottom(t.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",r=""){return this._ref.updateSize(t,r),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=ma.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Gu(n,t,r){return n._closeInteractionType=t,n.close(r)}var Xc=new x("MatMdcDialogData"),d0=new x("mat-mdc-dialog-default-options"),l0=new x("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=v(xt);return()=>n.scrollStrategies.block()}});var m0=0,So=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,a,s,c,d,m){this._overlay=e,this._defaultOptions=a,this._scrollStrategy=s,this._parentDialog=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new T,this._afterOpenedAtThisLevel=new T,this.dialogConfigClass=To,this.afterAllClosed=ue(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Pt(void 0))),this._dialog=i.get(po),this._dialogRefConstructor=ii,this._dialogContainerType=c0,this._dialogDataToken=Xc}open(e,i){let o;i=_(_({},this._defaultOptions||new To),i),i.id=i.id||`mat-mdc-dialog-${m0++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,ht(_({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Ze,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,c,d)=>(o=new this._dialogRefConstructor(s,i,d),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=a.componentRef,o.componentInstance=a.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}};t.\u0275fac=function(i){return new(i||t)(u(xt),u(wt),u(si,8),u(d0,8),u(l0),u(t,12),u(bn),u(vt,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),u0=0,ua=(()=>{let t=class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Yu(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){Gu(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.\u0275fac=function(i){return new(i||t)(l(ii,8),l(S),l(So))},t.\u0275dir=D({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&R("click",function(s){return o._onButtonClick(s)}),i&2&&Q("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],type:"type",dialogResult:[b.None,"mat-dialog-close","dialogResult"],_matDialogClose:[b.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[kt]});let n=t;return n})(),qu=(()=>{let t=class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=Yu(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.\u0275fac=function(i){return new(i||t)(l(ii,8),l(S),l(So))},t.\u0275dir=D({type:t,standalone:!0});let n=t;return n})(),ha=(()=>{let t=class t extends qu{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${u0++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275dir=D({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){i&2&&Zt("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[ot]});let n=t;return n})(),fa=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let n=t;return n})(),pa=(()=>{let t=class t extends qu{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=Vt(t)))(o||t)}})(),t.\u0275dir=D({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,o){i&2&&$("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0,features:[ot]});let n=t;return n})();function Yu(n,t){let r=n.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(e=>e.id===r.id):null}var Xu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({providers:[So],imports:[Nr,Le,Se,J,J]});let n=t;return n})();var Zu=(()=>{let t=class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=se(e)}get inset(){return this._inset}set inset(e){this._inset=se(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=F({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,o){i&2&&(Q("aria-orientation",o.vertical?"vertical":"horizontal"),$("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[N],decls:0,vars:0,template:function(i,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let n=t;return n})(),Qu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[J,J]});let n=t;return n})();var f0=["tooltip"],th=20;var eh=new x("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=v(xt);return()=>n.scrollStrategies.reposition({scrollThrottle:th})}});function p0(n){return()=>n.scrollStrategies.reposition({scrollThrottle:th})}var g0={provide:eh,deps:[xt],useFactory:p0};function b0(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var _0=new x("mat-tooltip-default-options",{providedIn:"root",factory:b0});var Ku="tooltip-panel",Ju=xe({passive:!0}),v0=8,y0=8,x0=24,w0=200,ih=(()=>{let t=class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=se(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=se(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=De(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=De(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,a,s,c,d,m,g,C,A,h){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=a,this._ngZone=s,this._platform=c,this._ariaDescriber=d,this._focusMonitor=m,this._dir=C,this._defaultOptions=A,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=C0,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new T,this._scrollStrategy=g,this._document=h,A&&(this._showDelay=A.showDelay,this._hideDelay=A.hideDelay,A.position&&(this.position=A.position),A.positionAtOrigin&&(this.positionAtOrigin=A.positionAtOrigin),A.touchGestures&&(this.touchGestures=A.touchGestures)),C.change.pipe(lt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=v0}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(lt(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,Ju)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Te(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=o.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(lt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof S)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(lt(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${Ku}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(lt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(lt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(lt(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!Mt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,o=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(_(_({},o.main),a.main)),this._addOffset(_(_({},o.fallback),a.fallback))])}_addOffset(e){let i=y0,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=o?-i:i:e.originX==="end"&&(e.offsetX=o?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:a,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:a,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:a,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:a,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(at(1),lt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:o,originY:a}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=o==="end"?"left":"right":s=o==="start"?"left":"right":s=i==="bottom"&&a==="top"?"above":"below",s!==this._currentPosition){let c=this._overlayRef;if(c){let d=`${this._cssClassPrefix}-${Ku}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,Ju)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,o=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};t.\u0275fac=function(i){return new(i||t)(l(xt),l(S),l(gn),l(Gt),l(E),l(et),l(Jl),l(ce),l(eh),l(jt),l(_0,8),l(B))},t.\u0275dir=D({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&$("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[b.None,"matTooltipPosition","position"],positionAtOrigin:[b.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[b.None,"matTooltipDisabled","disabled"],showDelay:[b.None,"matTooltipShowDelay","showDelay"],hideDelay:[b.None,"matTooltipHideDelay","hideDelay"],touchGestures:[b.None,"matTooltipTouchGestures","touchGestures"],message:[b.None,"matTooltip","message"],tooltipClass:[b.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let n=t;return n})(),C0=(()=>{let t=class t{constructor(e,i,o){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new T,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>x0&&e.width>=w0}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,o=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:o),i.classList.add(e?o:a),this._isVisible=e,e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}};t.\u0275fac=function(i){return new(i||t)(l(gt),l(S),l(vt,8))},t.\u0275cmp=F({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&rt(f0,7),i&2){let a;W(a=G())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){i&1&&R("mouseleave",function(s){return o._handleMouseLeave(s)}),i&2&&ri("zoom",o.isVisible()?1:null)},standalone:!0,features:[N],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){if(i&1){let a=mt();f(0,"div",1,0),R("animationend",function(c){return q(a),Y(o._handleAnimationEnd(c))}),f(2,"div",2),I(3),p()()}i&2&&($("mdc-tooltip--multiline",o._isMultiline),z("ngClass",o.tooltipClass),y(3),_e(o.message))},dependencies:[Yo],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let n=t;return n})();var nh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({providers:[g0],imports:[Or,Ge,Le,J,J,pn]});let n=t;return n})();var Ft=function(n){return n[n.ShoppingCart=0]="ShoppingCart",n[n.Edit=1]="Edit",n[n.Delete=2]="Delete",n}(Ft||{}),oh={[Ft.ShoppingCart]:"shopping_cart",[Ft.Edit]:"edit",[Ft.Delete]:"delete"},rh={[Ft.ShoppingCart]:"default",[Ft.Edit]:"default",[Ft.Delete]:"warn"};var I0=n=>({first:n});function E0(n,t){if(n&1){let r=mt();f(0,"button",5),R("click",function(){let i=q(r).$implicit,o=X();return Y(o.onClick.next(i))}),f(1,"mat-icon",6),I(2),p()()}if(n&2){let r=t.$implicit,e=X();y(),z("color",e.CardActionColors[r]),y(),_e(e.CardActionIcons[r])}}var ga=(()=>{let t=class t{constructor(){this.onClick=new U,this.CardActionIcons=oh,this.CardActionColors=rh}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=F({type:t,selectors:[["app-card"]],inputs:{item:"item",actions:"actions",isFirst:"isFirst"},outputs:{onClick:"onClick"},standalone:!0,features:[N],decls:8,vars:5,consts:[[1,"card",3,"ngClass"],[1,"amount"],[1,"name"],[1,"divider"],["mat-icon-button",""],["mat-icon-button","",3,"click"],[3,"color"]],template:function(i,o){i&1&&(f(0,"div",0)(1,"span",1),I(2),p(),f(3,"span",2),I(4),p(),P(5,"div",3),pe(6,E0,3,2,"button",4,Ii),p()),i&2&&(z("ngClass",$o(3,I0,o.isFirst)),y(2),_e(o.item.amount),y(2),_e(o.item.name),y(2),ge(o.actions))},dependencies:[Ot,yn,gi,xn,Ge,Yo],styles:[".card[_ngcontent-%COMP%]{margin:1rem;padding:.5rem 1rem;background-color:#414141;color:#bebebe;box-shadow:#00000080 2px 1px 5px;font-weight:500;font-size:large;border-radius:10px;display:flex;align-items:center}.card.first[_ngcontent-%COMP%]{margin-top:0}.card[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%]{width:1.5rem;font-size:large;font-weight:700;margin-right:1rem}.card[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}.card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{flex:0 0 auto}.card[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{flex:1}"]});let n=t;return n})();var ah=(()=>{let t=class t{constructor(e){this.dialogRef=e}onNoClick(){this.dialogRef.close(!1)}};t.\u0275fac=function(i){return new(i||t)(l(ii))},t.\u0275cmp=F({type:t,selectors:[["app-delete-closed"]],standalone:!0,features:[N],decls:9,vars:1,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(f(0,"h2",0),I(1,"Esborrar comprats"),p(),f(2,"mat-dialog-content"),I(3,` ALERTA: No pots desfer aquesta acci\xF3. Aix\xF2 borrar\xE0 totes les compres ja comprades. +`),p(),f(4,"mat-dialog-actions",1)(5,"button",2),R("click",function(){return o.onNoClick()}),I(6,"No, gr\xE0cies"),p(),f(7,"button",3),I(8," Esborrar "),p()()),i&2&&(y(7),z("mat-dialog-close",!0))},dependencies:[Re,ze,kn,Ot,te,ha,fa,pa,ua]});let n=t;return n})();var sh=(()=>{let t=class t{constructor(e,i){this.data=e,this.dialogRef=i}onNoClick(){this.dialogRef.close(!1)}};t.\u0275fac=function(i){return new(i||t)(l(Xc),l(ii))},t.\u0275cmp=F({type:t,selectors:[["app-delete-item"]],standalone:!0,features:[N],decls:9,vars:2,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(f(0,"h2",0),I(1),p(),f(2,"mat-dialog-content"),I(3,` ALERTA: No pots desfer aquesta acci\xF3. +`),p(),f(4,"mat-dialog-actions",1)(5,"button",2),R("click",function(){return o.onNoClick()}),I(6,"No, gr\xE0cies"),p(),f(7,"button",3),I(8," Esborrar "),p()()),i&2&&(y(),qt('Esborrar "',o.data.name,'"?'),y(6),z("mat-dialog-close",!0))},dependencies:[Re,ze,kn,Ot,te,ha,fa,pa,ua]});let n=t;return n})();var D0=["panel"],T0=["*"];function S0(n,t){if(n&1){let r=mt();f(0,"div",1,0),R("@panelAnimation.done",function(i){q(r);let o=X();return Y(o._animationDone.next(i))}),ct(2),p()}if(n&2){let r=t.id,e=X();Rt(e._classList),$("mat-mdc-autocomplete-visible",e.showPanel)("mat-mdc-autocomplete-hidden",!e.showPanel)("mat-primary",e._color==="primary")("mat-accent",e._color==="accent")("mat-warn",e._color==="warn"),z("id",e.id)("@panelAnimation",e.isOpen?"visible":"hidden"),Q("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby(r))}}var A0=Fe("panelAnimation",[Qt("void, hidden",Et({opacity:0,transform:"scaleY(0.8)"})),Yt(":enter, hidden => visible",[Ln([zt("0.03s linear",Et({opacity:1})),zt("0.12s cubic-bezier(0, 0, 0.2, 1)",Et({transform:"scaleY(1)"}))])]),Yt(":leave, visible => hidden",[zt("0.075s linear",Et({opacity:0}))])]),R0=0,Qc=class{constructor(t,r){this.source=t,this.option=r}},ch=new x("mat-autocomplete-default-options",{providedIn:"root",factory:M0});function M0(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var dh=(()=>{let t=class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,i,o,a){this._changeDetectorRef=e,this._elementRef=i,this._defaults=o,this._activeOptionChanges=It.EMPTY,this._animationDone=new U,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new U,this.opened=new U,this.closed=new U,this.optionActivated=new U,this.id=`mat-autocomplete-${R0++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Sr(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new Qc(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}};t.\u0275fac=function(i){return new(i||t)(l(gt),l(S),l(ch),l(et))},t.\u0275cmp=F({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,a){if(i&1&&(Nt(a,Vr,5),Nt(a,wc,5)),i&2){let s;W(s=G())&&(o.options=s),W(s=G())&&(o.optionGroups=s)}},viewQuery:function(i,o){if(i&1&&(rt(Bt,7),rt(D0,5)),i&2){let a;W(a=G())&&(o.template=a.first),W(a=G())&&(o.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[b.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",Z],autoSelectActiveOption:[b.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",Z],requireSelection:[b.HasDecoratorInputTransform,"requireSelection","requireSelection",Z],panelWidth:"panelWidth",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",Z],classList:[b.None,"class","classList"],hideSingleSelectionIndicator:[b.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Z]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[dt([{provide:xc,useExisting:t}]),pt,N],ngContentSelectors:T0,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,o){i&1&&(Ct(),H(0,S0,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[A0]},changeDetection:0});let n=t;return n})();var O0={provide:Be,useExisting:St(()=>Kc),multi:!0};var lh=new x("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=v(xt);return()=>n.scrollStrategies.reposition()}});function F0(n){return()=>n.scrollStrategies.reposition()}var P0={provide:lh,deps:[xt],useFactory:F0},Kc=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m,g,C,A){this._element=e,this._overlay=i,this._viewContainerRef=o,this._zone=a,this._changeDetectorRef=s,this._dir=d,this._formField=m,this._document=g,this._viewportRuler=C,this._defaults=A,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=It.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new T,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=ue(()=>{let h=this.autocomplete?this.autocomplete.options:null;return h?h.changes.pipe(Pt(h),yt(()=>Tt(...h.map(k=>k.onSelectionChange)))):this._zone.onStable.pipe(at(1),yt(()=>this.optionSelections))}),this._handlePanelKeydown=h=>{(h.keyCode===27&&!Mt(h)||h.keyCode===38&&Mt(h,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),h.stopPropagation(),h.preventDefault())},this._trackedModal=null,this._scrollStrategy=c}ngAfterViewInit(){let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&mo(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Tt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(it(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(it(()=>this._overlayAttached)):O()).pipe(L(e=>e instanceof bo?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Tt(Wt(this._document,"click"),Wt(this._document,"auxclick"),Wt(this._document,"touchend")).pipe(it(e=>{let i=re(e),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!a||!a.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e.keyCode,o=Mt(e);if(i===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=i===38||i===40;i===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,o=i.value;if(i.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(s=>s.selected);if(a){let s=this._getDisplayValue(a.value);o!==s&&a.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let a=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(a)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=this._zone.onStable.pipe(at(1)),i=this.autocomplete.options.changes.pipe(ut(()=>this._positionStrategy.reapplyLastPosition()),No(0));return Tt(e,i).pipe(yt(()=>(this._zone.run(()=>{let o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),at(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(at(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;Mr(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new de(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Xe({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=a:this.position==="below"?s=i:s=[...i,...a],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&mo(this._trackedModal,"aria-owns",i),Mr(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;mo(this._trackedModal,"aria-owns",e),this._trackedModal=null}}};t.\u0275fac=function(i){return new(i||t)(l(S),l(xt),l(Gt),l(E),l(gt),l(lh),l(jt,8),l(Do,9),l(B,8),l(Ye),l(ch,8))},t.\u0275dir=D({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){i&1&&R("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),i&2&&Q("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[b.None,"matAutocomplete","autocomplete"],position:[b.None,"matAutocompletePosition","position"],connectedTo:[b.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[b.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[b.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",Z]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[dt([O0]),pt,kt]});let n=t;return n})(),mh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({providers:[P0],imports:[Le,Cc,J,Ge,pn,Cc,J]});let n=t;return n})();var j0=["input"],V0=["label"],B0=["*"],z0=new x("mat-checkbox-default-options",{providedIn:"root",factory:hh});function hh(){return{color:"accent",clickAction:"check-indeterminate"}}var Ut=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(Ut||{}),U0={provide:Be,useExisting:St(()=>ba),multi:!0},Jc=class{},H0=0,uh=hh(),ba=(()=>{let t=class t{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new Jc;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,c){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._animationMode=s,this._options=c,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new U,this.indeterminateChange=new U,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=Ut.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||uh,this.color=this._options.color||uh.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++H0}`}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let i=e!=this._indeterminate;this._indeterminate=e,i&&(this._indeterminate?this._transitionCheckState(Ut.Indeterminate):this._transitionCheckState(this.checked?Ut.Checked:Ut.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(!(i===e||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(a)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ut.Checked:Ut.Unchecked),this._emitChangeEvent()):!this.disabled&&e==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationMode==="NoopAnimations")return"";switch(e){case Ut.Init:if(i===Ut.Checked)return this._animationClasses.uncheckedToChecked;if(i==Ut.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ut.Unchecked:return i===Ut.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ut.Checked:return i===Ut.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ut.Indeterminate:return i===Ut.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}};t.\u0275fac=function(i){return new(i||t)(l(S),l(gt),l(E),Oe("tabindex"),l(vt,8),l(z0,8))},t.\u0275cmp=F({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(i&1&&(rt(j0,5),rt(V0,5),rt(Ve,5)),i&2){let a;W(a=G())&&(o._inputElement=a.first),W(a=G())&&(o._labelElement=a.first),W(a=G())&&(o.ripple=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(i,o){i&2&&(Zt("id",o.id),Q("tabindex",null)("aria-label",null)("aria-labelledby",null),Rt(o.color?"mat-"+o.color:"mat-accent"),$("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[b.None,"aria-describedby","ariaDescribedby"],id:"id",required:[b.HasDecoratorInputTransform,"required","required",Z],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",Z],tabIndex:[b.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?void 0:ve(e)],color:"color",checked:[b.HasDecoratorInputTransform,"checked","checked",Z],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",Z],indeterminate:[b.HasDecoratorInputTransform,"indeterminate","indeterminate",Z]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[dt([U0,{provide:Ce,useExisting:t,multi:!0}]),pt,kt,N],ngContentSelectors:B0,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,o){if(i&1){let a=mt();Ct(),f(0,"div",3),R("click",function(c){return q(a),Y(o._preventBubblingFromLabel(c))}),f(1,"div",4,0)(3,"div",5),R("click",function(){return q(a),Y(o._onTouchTargetClick())}),p(),f(4,"input",6,1),R("blur",function(){return q(a),Y(o._onBlur())})("click",function(){return q(a),Y(o._onInputClick())})("change",function(c){return q(a),Y(o._onInteractionEvent(c))}),p(),P(6,"div",7),f(7,"div",8),Lo(),f(8,"svg",9),P(9,"path",10),p(),fd(),P(10,"div",11),p(),P(11,"div",12),p(),f(12,"label",13,2),ct(14),p()()}if(i&2){let a=be(2);z("labelPosition",o.labelPosition),y(4),$("mdc-checkbox--selected",o.checked),z("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.disabled?-1:o.tabIndex),Q("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),y(7),z("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),y(),z("for",o.inputId)}},dependencies:[Ve,Br],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=t;return n})();var fh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[ba,J,J]});let n=t;return n})();var W0=["switch"],G0=["*"];function q0(n,t){n&1&&(f(0,"div",10),Lo(),f(1,"svg",12),P(2,"path",13),p(),f(3,"svg",14),P(4,"path",15),p()())}var Y0=new x("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),X0={provide:Be,useExisting:St(()=>va),multi:!0},_a=class{constructor(t,r){this.source=t,this.checked=r}},Z0=0,va=(()=>{let t=class t{_createChangeEvent(e){return new _a(this,e)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,c){this._elementRef=e,this._focusMonitor=i,this._changeDetectorRef=o,this.defaults=s,this._onChange=d=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new U,this.toggleChange=new U,this.tabIndex=parseInt(a)||0,this.color=s.color||"accent",this._noopAnimations=c==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++Z0}`,this.hideIcon=s.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new _a(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};t.\u0275fac=function(i){return new(i||t)(l(S),l(ce),l(gt),Oe("tabindex"),l(Y0),l(vt,8))},t.\u0275cmp=F({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,o){if(i&1&&rt(W0,5),i&2){let a;W(a=G())&&(o._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,o){i&2&&(Zt("id",o.id),Q("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Rt(o.color?"mat-"+o.color:""),$("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[b.None,"aria-describedby","ariaDescribedby"],required:[b.HasDecoratorInputTransform,"required","required",Z],color:"color",disabled:[b.HasDecoratorInputTransform,"disabled","disabled",Z],disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",Z],tabIndex:[b.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:ve(e)],checked:[b.HasDecoratorInputTransform,"checked","checked",Z],hideIcon:[b.HasDecoratorInputTransform,"hideIcon","hideIcon",Z]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[dt([X0,{provide:Ce,useExisting:t,multi:!0}]),pt,kt,N],ngContentSelectors:G0,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,o){if(i&1){let a=mt();Ct(),f(0,"div",1)(1,"button",2,0),R("click",function(){return q(a),Y(o._handleClick())}),P(3,"div",3),f(4,"div",4)(5,"div",5)(6,"div",6),P(7,"div",7),p(),f(8,"div",8),P(9,"div",9),p(),H(10,q0,5,0,"div",10),p()()(),f(11,"label",11),R("click",function(c){return q(a),Y(c.stopPropagation())}),ct(12),p()()}if(i&2){let a=be(2);z("labelPosition",o.labelPosition),y(),$("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled),z("tabIndex",o.disabled?-1:o.tabIndex)("disabled",o.disabled),Q("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked),y(8),z("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),y(),K(10,o.hideIcon?-1:10),y(),z("for",o.buttonId),Q("id",o._labelId)}},dependencies:[Ve,Br],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0});let n=t;return n})();var ph=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({imports:[va,J,J]});let n=t;return n})();function K0(n,t){if(n&1){let r=mt();f(0,"div",1)(1,"button",2),R("click",function(){q(r);let i=X();return Y(i.action())}),I(2),p()()}if(n&2){let r=X();y(2),qt(" ",r.data.action," ")}}var J0=["label"];function ty(n,t){}var ey=Math.pow(2,31)-1,Ao=class{constructor(t,r){this._overlayRef=r,this._afterDismissed=new T,this._afterOpened=new T,this._onAction=new T,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,ey))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},gh=new x("MatSnackBarData"),En=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},iy=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let n=t;return n})(),ny=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let n=t;return n})(),oy=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=D({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let n=t;return n})(),bh=(()=>{let t=class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(i){return new(i||t)(l(Ao),l(gh))},t.\u0275cmp=F({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[N],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){i&1&&(f(0,"div",0),I(1),p(),H(2,K0,3,1,"div",1)),i&2&&(y(),qt(" ",o.data.message,` +`),y(),K(2,o.hasAction?2:-1))},dependencies:[te,iy,ny,oy],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let n=t;return n})(),ry={snackBarState:Fe("state",[Qt("void, hidden",Et({transform:"scale(0.8)",opacity:0})),Qt("visible",Et({transform:"scale(1)",opacity:1})),Yt("* => visible",zt("150ms cubic-bezier(0, 0, 0.2, 1)")),Yt("* => void, * => hidden",zt("75ms cubic-bezier(0.4, 0.0, 1, 1)",Et({opacity:0})))])},ay=0,sy=(()=>{let t=class t extends fi{constructor(e,i,o,a,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=a,this.snackBarConfig=s,this._document=v(B),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new T,this._onExit=new T,this._onEnter=new T,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${ay++}`,this.attachDomPortal=c=>{this._assertNotAttached();let d=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),d},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:o}=e;if((o==="void"&&i!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,a="mdc-snackbar__label";o.classList.toggle(a,!o.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let i=e.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};t.\u0275fac=function(i){return new(i||t)(l(E),l(S),l(gt),l(et),l(En))},t.\u0275cmp=F({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(i&1&&(rt(Jt,7),rt(J0,7)),i&2){let a;W(a=G())&&(o._portalOutlet=a.first),W(a=G())&&(o._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){i&1&&Ho("@state.done",function(s){return o.onAnimationEnd(s)}),i&2&&Uo("@state",o._animationState)},standalone:!0,features:[ot,N],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(f(0,"div",1)(1,"div",2,0)(3,"div",3),H(4,ty,0,0,"ng-template",4),p(),P(5,"div"),p()()),i&2&&(y(5),Q("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Jt],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[ry.snackBarState]}});let n=t;return n})();function cy(){return new En}var dy=new x("mat-snack-bar-default-options",{providedIn:"root",factory:cy}),Me=(()=>{let t=class t{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,a,s,c){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=c,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=bh,this.snackBarContainerComponent=sy,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){let a=_(_({},this._defaultConfig),o);return a.data={message:e,action:i},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let o=i&&i.viewContainerRef&&i.viewContainerRef.injector,a=wt.create({parent:o||this._injector,providers:[{provide:En,useValue:i}]}),s=new Te(this.snackBarContainerComponent,i.viewContainerRef,a),c=e.attach(s);return c.instance.snackBarConfig=i,c.instance}_attach(e,i){let o=_(_(_({},new En),this._defaultConfig),i),a=this._createOverlay(o),s=this._attachSnackBarContainer(a,o),c=new Ao(s,a);if(e instanceof Bt){let d=new de(e,null,{$implicit:o.data,snackBarRef:c});c.instance=s.attachTemplatePortal(d)}else{let d=this._createInjector(o,c),m=new Te(e,void 0,d),g=s.attachComponentPortal(m);c.instance=g.instance}return this._breakpointObserver.observe(qe.HandsetPortrait).pipe(lt(a.detachments())).subscribe(d=>{a.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),o.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(c,o),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new Xe;i.direction=e.direction;let o=this._overlay.position().global(),a=e.direction==="rtl",s=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,c=!s&&e.horizontalPosition!=="center";return s?o.left("0"):c?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return wt.create({parent:o||this._injector,providers:[{provide:Ao,useValue:i},{provide:gh,useValue:e.data}]})}};t.\u0275fac=function(i){return new(i||t)(u(xt),u(im),u(wt),u(mn),u(t,12),u(dy))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Dn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=V({type:t}),t.\u0275inj=j({providers:[Me],imports:[Le,Se,Ot,J,bh,J]});let n=t;return n})();var Ue=(()=>{let t=class t{constructor(e){this.http=e,this._items=new At([]),this._search=new At(""),this.items=wi([this._items.asObservable(),this._search.asObservable()]).pipe(L(([i,o])=>i.filter(a=>a.name.toLowerCase().includes(o.toLowerCase())))),this.openItems=this.items.pipe(L(i=>i.filter(o=>!o.closed))),this.closedItems=this.items.pipe(L(i=>i.filter(o=>o.closed))),this.isLoading=!0}getAllItemNames(){return Array.from(new Set(this._items.value.map(e=>e.name)))}setSearchValue(e){this._search.next(e)}refreshItems(){this.isLoading=!0,this.http.get(`${ei}/items`).subscribe(e=>(this.isLoading=!1,this._items.next(e)))}addItem(e){this.isLoading=!0;let i=this._items.value.find(o=>o.name===e.name);return i?i.closed?this.editItem(ht(_({},e),{id:i.id})):this.editItem(ht(_({},e),{amount:(e.amount??0)+i.amount,id:i.id})):this.http.post(`${ei}/items`,e).pipe(ut(o=>{this._items.next([...this._items.value,o]),this.isLoading=!1}))}editItem(e){return this.isLoading=!0,this.http.put(`${ei}/items`,e).pipe(ut(i=>{let o=[...this._items.value],a=o.findIndex(s=>s.id===e.id);o[a]=i,this._items.next(o),this.isLoading=!1}))}removeClosed(){return this.isLoading=!0,this.http.delete(`${ei}/items/closed`).pipe(ut(()=>{this._items.next(this._items.value.filter(e=>!e.closed)),this.isLoading=!1}))}removeItem(e){return this.isLoading=!0,this.http.delete(`${ei}/items/${e.id}`).pipe(ut(()=>{let i=[...this._items.value],o=i.findIndex(a=>a.id===e.id);i.splice(o,1),this._items.next(i),this.isLoading=!1}))}closeItem(e){let i=[...this._items.value],o=i.findIndex(a=>a.id===e);return i[o].closed=!0,this._items.next(i),this.http.post(`${ei}/items/close`,{id:e}).pipe(he(a=>(i[o].closed=!1,this._items.next(i),ee(()=>a))))}};t.\u0275fac=function(i){return new(i||t)(u(Di))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var ly=["nameInput"];function my(n,t){if(n&1&&(f(0,"mat-option",6),I(1),p()),n&2){let r=t.$implicit;z("value",r),y(),_e(r)}}function uy(n,t){n&1&&(f(0,"mat-error"),I(1,"El "),f(2,"b"),I(3,"nom"),p(),I(4," \xE9s obligatori"),p())}function hy(n,t){n&1&&(f(0,"mat-error"),I(1,"La "),f(2,"b"),I(3,"quantitat"),p(),I(4," \xE9s obligatoria"),p())}function fy(n,t){n&1&&(f(0,"mat-error"),I(1,"La "),f(2,"b"),I(3,"quantitat"),p(),I(4," ha de ser com a m\xEDnim 1"),p())}function py(n,t){n&1&&(f(0,"mat-error"),I(1,"La "),f(2,"b"),I(3,"quantitat"),p(),I(4," ha de ser menor de 100"),p())}function gy(n,t){if(n&1&&(f(0,"mat-slide-toggle",9),I(1),p()),n&2){let r,e=X();y(),qt(" ",(r=e.itemForm.get("closed"))!=null&&r.value?"Comprat":"Per comprar"," ")}}function by(n,t){if(n&1){let r=mt();f(0,"mat-checkbox",13),Sd("ngModelChange",function(i){q(r);let o=X();return Td(o.addMore,i)||(o.addMore=i),Y(i)}),I(1," Afegir-ne m\xE9s "),p()}if(n&2){let r=X();Dd("ngModel",r.addMore)}}var Mo=(()=>{let t=class t{constructor(e,i,o,a){this.item=e,this._bottomSheetRef=i,this._snackBar=o,this.itemService=a,this.itemForm=new _i({name:new ti(""),amount:new ti(1),closed:new ti(!1)}),this.allItemNames=this.itemService.getAllItemNames(),this.addMore=!1}ngOnInit(){this.filteredItems=this.itemForm.get("name").valueChanges.pipe(Pt(""),L(e=>e?this.allItemNames.filter(i=>i.toLowerCase().includes(e.toLowerCase())):[])),this.itemForm.setValue({name:this.item?.name??"",amount:this.item?.amount??1,closed:this.item?.closed??!1})}submitForm(){this.itemForm.invalid||(this.item?this.updateItem():this.addItem())}updateItem(){this.itemService.editItem(_({id:this.item.id},this.itemForm.value)).subscribe(()=>{this._snackBar.open("Compra actualitzada correctament","TANCAR",{verticalPosition:"top",duration:5e3})}),this._bottomSheetRef.dismiss()}addItem(){this.itemService.addItem(this.itemForm.value).subscribe(()=>{this._snackBar.open("Compra afegida correctament","TANCAR",{verticalPosition:"top",duration:5e3})}),this.addMore?(this.nameInput.nativeElement.focus(),this.itemForm.reset(),this.itemForm.setValue({name:"",amount:1,closed:!1})):this._bottomSheetRef.dismiss()}};t.\u0275fac=function(i){return new(i||t)(l(Ic),l(vn),l(Me),l(Ue))},t.\u0275cmp=F({type:t,selectors:[["app-new-item"]],viewQuery:function(i,o){if(i&1&&rt(ly,5),i&2){let a;W(a=G())&&(o.nameInput=a.first)}},standalone:!0,features:[N],decls:28,vars:14,consts:[["nameInput",""],["auto","matAutocomplete"],[3,"keydown.enter","formGroup"],["appearance","fill",1,"input"],["matInput","","matInputAutofocus","","autofocus","","formControlName","name","type","text","maxlength","100","placeholder","Nom","required","",3,"matAutocomplete"],["autoActiveFirstOption",""],[3,"value"],["align","end"],["matInput","","formControlName","amount","type","number","min","1","max","100","placeholder","Quantitat","required",""],["formControlName","closed",1,"checkbox"],[1,"horizontal"],["mat-raised-button","","color","primary",3,"click","disabled"],[3,"ngModel"],[3,"ngModelChange","ngModel"]],template:function(i,o){if(i&1){let a=mt();f(0,"div",2),R("keydown.enter",function(c){return q(a),c.preventDefault(),Y(o.submitForm())}),f(1,"h3"),I(2),p(),f(3,"mat-form-field",3)(4,"mat-label"),I(5,"Nom"),p(),P(6,"input",4,0),f(8,"mat-autocomplete",5,1),pe(10,my,2,2,"mat-option",6,Ii),ke(12,"async"),p(),f(13,"mat-hint",7),I(14),p(),H(15,uy,5,0,"mat-error"),p(),f(16,"mat-form-field",3)(17,"mat-label"),I(18,"Quantitat"),p(),P(19,"input",8),H(20,hy,5,0,"mat-error")(21,fy,5,0,"mat-error")(22,py,5,0,"mat-error"),p(),H(23,gy,2,1,"mat-slide-toggle",9),p(),f(24,"div",10)(25,"button",11),R("click",function(){return q(a),Y(o.submitForm())}),I(26),p(),H(27,by,2,1,"mat-checkbox",12),p()}if(i&2){let a,s,c,d,m,g=be(9);z("formGroup",o.itemForm),y(2),qt("",o.item?"Editar":"Afegir"," compra"),y(4),z("matAutocomplete",g),y(4),ge(Ie(12,12,o.filteredItems)),y(4),qt(" ",(a=o.itemForm.get("name"))==null||a.value==null?null:a.value.length," / 100 "),y(),K(15,(s=o.itemForm.get("name"))!=null&&s.hasError("required")?15:-1),y(5),K(20,(c=o.itemForm.get("amount"))!=null&&c.hasError("required")?20:-1),y(),K(21,(d=o.itemForm.get("amount"))!=null&&d.hasError("min")?21:-1),y(),K(22,(m=o.itemForm.get("amount"))!=null&&m.hasError("max")?22:-1),y(),K(23,o.item?23:-1),y(2),z("disabled",o.itemForm.invalid),y(),qt(" ",o.item?"Guardar":"Afegir"," "),y(),K(27,o.item?-1:27)}},dependencies:[Re,In,vi,sa,ca,ze,yi,ra,Cn,Pc,ta,ea,Eo,jc,Lc,Nc,Vi,Io,kn,Fc,Ot,te,Dn,fh,ba,ph,va,mh,dh,Vr,Kc,la,Xi],styles:[".input[_ngcontent-%COMP%]{width:100%}.horizontal[_ngcontent-%COMP%]{display:flex;gap:1rem;margin-bottom:1rem}.checkbox[_ngcontent-%COMP%]{margin-bottom:20px}"]});let n=t;return n})();var _y=(n,t)=>t.id;function vy(n,t){if(n&1){let r=mt();f(0,"app-card",7),R("onClick",function(i){let o=q(r).$implicit,a=X(2);return Y(a.manageItemClicked(o,i))}),p()}if(n&2){let r=t.$implicit,e=X(2);z("item",r)("actions",e.CardActions)}}function yy(n,t){n&1&&(f(0,"p",2),I(1,"No hi ha res per comprar"),p())}function xy(n,t){if(n&1){let r=mt();f(0,"button",8),R("click",function(){q(r);let i=X(2);return Y(i.deleteClosed())}),f(1,"mat-icon"),I(2,"delete_forever"),p()()}}function wy(n,t){if(n&1){let r=mt();f(0,"app-card",9),R("onClick",function(i){let o=q(r).$implicit,a=X(2);return Y(a.manageItemClicked(o,i))}),p()}if(n&2){let r=t.$implicit,e=t.$index,i=X(2);z("item",r)("actions",i.CardActions)("isFirst",e===0)}}function Cy(n,t){n&1&&(f(0,"p",2),I(1,"No hi ha res comprat"),p())}function ky(n,t){if(n&1&&(f(0,"h4",0),I(1),ke(2,"async"),p(),pe(3,vy,1,2,"app-card",1,zo,!1,yy,2,0,"p",2),ke(6,"async"),P(7,"mat-divider"),f(8,"div",3)(9,"h4",0),I(10),ke(11,"async"),p(),H(12,xy,3,0,"button",4),ke(13,"async"),p(),pe(14,wy,1,3,"app-card",5,_y,!1,Cy,2,0,"p",2),ke(17,"async"),P(18,"div",6)),n&2){let r,e,i,o=X();y(),qt("Per comprar (",(r=Ie(2,5,o.openItems))==null?null:r.length,")"),y(2),ge(Ie(6,7,o.openItems)),y(7),qt("Comprat (",(e=Ie(11,9,o.closedItems))==null?null:e.length,")"),y(2),K(12,((i=Ie(13,11,o.closedItems))==null?null:i.length)>0?12:-1),y(2),ge(Ie(17,13,o.closedItems))}}var _h=(()=>{let t=class t{constructor(e,i,o,a){this.itemsService=e,this._bottomSheet=i,this._snackBar=o,this._dialog=a,this.openItems=this.itemsService.openItems,this.closedItems=this.itemsService.closedItems,this.CardActions=[Ft.Edit,Ft.Delete],this.CardActionCallBack={[Ft.Edit]:s=>{this._bottomSheet.open(Mo,{data:s})},[Ft.Delete]:s=>{this._dialog.open(sh,{data:s}).afterClosed().pipe(it(c=>c),yt(()=>this.itemsService.removeItem(s))).subscribe(()=>{this._snackBar.open(`${s.name} esborrat correctament`,"TANCAR",{verticalPosition:"top",duration:5e3})})},[Ft.ShoppingCart]:()=>{}}}openAddMenu(){this._bottomSheet.open(Mo)}manageItemClicked(e,i){this.CardActionCallBack[i](e)}deleteClosed(){this._dialog.open(ah).afterClosed().pipe(it(e=>e),yt(()=>this.itemsService.removeClosed())).subscribe(()=>{this._snackBar.open("Compres tancades esborrades correctament","TANCAR",{verticalPosition:"top",duration:5e3})})}};t.\u0275fac=function(i){return new(i||t)(l(Ue),l(vo),l(Me),l(So))},t.\u0275cmp=F({type:t,selectors:[["app-items-edit-list"]],standalone:!0,features:[N],decls:2,vars:3,consts:[[1,"title"],[3,"item","actions"],[1,"label"],[1,"title-container"],["mat-icon-button","","color","warn","matTooltip","Esborrar tots els comprats"],[3,"item","actions","isFirst"],[1,"final"],[3,"onClick","item","actions"],["mat-icon-button","","color","warn","matTooltip","Esborrar tots els comprats",3,"click"],[3,"onClick","item","actions","isFirst"]],template:function(i,o){if(i&1&&(H(0,ky,19,15),ke(1,"async")),i&2){let a;K(0,(a=Ie(1,1,o.openItems))?0:-1,a)}},dependencies:[Xi,zr,Qu,Zu,Ot,yn,gi,xn,nh,ih,Xu,ga],styles:[".error[_ngcontent-%COMP%]{min-width:40vw}.title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-right:1rem}.title[_ngcontent-%COMP%]{margin-left:1rem}.label[_ngcontent-%COMP%]{margin-left:1rem;margin-bottom:2rem}.final[_ngcontent-%COMP%]{height:5rem}"]});let n=t;return n})();function Iy(n,t){if(n&1){let r=mt();f(0,"app-card",3),R("onClick",function(i){let o=q(r).$implicit,a=X(2);return Y(a.manageClicked(o,i))}),p()}if(n&2){let r=t.$implicit,e=X(2);z("item",r)("actions",e.CardActions)}}function Ey(n,t){n&1&&(f(0,"p",2),I(1,"No hi ha res per comprar"),p())}function Dy(n,t){n&1&&(pe(0,Iy,1,2,"app-card",1,zo,!1,Ey,2,0,"p",2),P(3,"div",0)),n&2&&ge(t)}var vh=(()=>{let t=class t{constructor(e,i){this.itemsService=e,this._snackBar=i,this.items=this.itemsService.openItems,this.CardActions=[Ft.ShoppingCart],this.CardActionCallBack={[Ft.Edit]:()=>{},[Ft.Delete]:()=>{},[Ft.ShoppingCart]:o=>{this.itemsService.closeItem(o.id).subscribe({next:()=>this._snackBar.open("Compra tancada correctament","TANCAR",{verticalPosition:"top",duration:5e3}),error:()=>this._snackBar.open("Error al tancar la compra","TANCAR",{verticalPosition:"top",duration:5e3})})}}}manageClicked(e,i){this.CardActionCallBack[i](e)}};t.\u0275fac=function(i){return new(i||t)(l(Ue),l(Me))},t.\u0275cmp=F({type:t,selectors:[["app-items-list"]],standalone:!0,features:[N],decls:2,vars:3,consts:[[1,"final"],[3,"item","actions"],[1,"label"],[3,"onClick","item","actions"]],template:function(i,o){if(i&1&&(H(0,Dy,4,1,"div",0),ke(1,"async")),i&2){let a;K(0,(a=Ie(1,1,o.items))?0:-1,a)}},dependencies:[Xi,gi,ga,Dn],styles:[".error[_ngcontent-%COMP%]{min-width:40vw}.label[_ngcontent-%COMP%]{margin-left:1rem;margin-bottom:2rem}.final[_ngcontent-%COMP%]{height:5rem}"]});let n=t;return n})();function Sy(n,t){if(n&1){let r=mt();f(0,"mat-form-field",1)(1,"mat-label"),I(2,"Buscar"),p(),f(3,"input",8),R("input",function(i){q(r);let o=X();return Y(o.onSearchBoxChange(i))}),p(),f(4,"button",9),R("click",function(){q(r);let i=X();return Y(i.closeSearch())}),f(5,"mat-icon"),I(6,"close"),p()()()}}function Ay(n,t){if(n&1){let r=mt();f(0,"button",10),R("click",function(){q(r);let i=X();return Y(i.openSearchBox=!0)}),f(1,"mat-icon"),I(2,"search"),p()()}}function Ry(n,t){n&1&&P(0,"mat-progress-bar",4)}function My(n,t){n&1&&P(0,"mat-progress-bar",4)}function Oy(n,t){if(n&1){let r=mt();f(0,"button",11),R("click",function(){q(r);let i=X();return Y(i.refreshItems())}),f(1,"mat-icon"),I(2,"refresh"),p(),I(3," Recarrega "),p()}}var yh=(()=>{let t=class t{constructor(e,i){this.itemsService=e,this._bottomSheet=i,this.defaultSelectedIndex=localStorage.getItem("selected-tab"),this.openSearchBox=!1,this.needsRefresh=!1}ngOnInit(){this.itemsService.refreshItems(),setInterval(()=>{this.needsRefresh=!0},36e5)}refreshItems(){this.needsRefresh=!1,this.itemsService.refreshItems()}onChangeTab(e){localStorage.setItem("selected-tab",e.index.toString())}openAddMenu(){this._bottomSheet.open(Mo)}closeSearch(){this.openSearchBox=!1,this.itemsService.setSearchValue("")}onSearchBoxChange(e){this.itemsService.setSearchValue(e.target.value)}};t.\u0275fac=function(i){return new(i||t)(l(Ue),l(vo))},t.\u0275cmp=F({type:t,selectors:[["app-home"]],standalone:!0,features:[N],decls:15,vars:5,consts:[[1,"title"],["appearance","fill",1,"search-box"],["dynamicHeight","",3,"selectedTabChange","selectedIndex"],["label","Comprar"],["mode","indeterminate",1,"top"],["label","Editar"],["mat-fab","","color","primary",1,"add-button",3,"click"],["mat-raised-button","","color","primary",1,"refresh-button"],["matInput","","matInputAutofocus","","autofocus","","type","text",3,"input"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["matSuffix","","mat-icon-button","","aria-label","Clear",1,"search-button",3,"click"],["mat-raised-button","","color","primary",1,"refresh-button",3,"click"]],template:function(i,o){i&1&&(f(0,"p",0),I(1,"TotFet"),p(),H(2,Sy,7,0,"mat-form-field",1)(3,Ay,3,0),f(4,"mat-tab-group",2),R("selectedTabChange",function(s){return o.onChangeTab(s)}),f(5,"mat-tab",3),H(6,Ry,1,0,"mat-progress-bar",4),P(7,"app-items-list"),p(),f(8,"mat-tab",5),H(9,My,1,0,"mat-progress-bar",4),P(10,"app-items-edit-list"),p()(),f(11,"button",6),R("click",function(){return o.openAddMenu()}),f(12,"mat-icon"),I(13,"add"),p()(),H(14,Oy,4,0,"button",7)),i&2&&(y(2),K(2,o.openSearchBox?2:3),y(2),z("selectedIndex",o.defaultSelectedIndex),y(2),K(6,o.itemsService.isLoading?6:-1),y(3),K(9,o.itemsService.isLoading?9:-1),y(5),K(14,o.needsRefresh?14:-1))},dependencies:[vh,_h,zu,qc,Bu,gi,xn,Ot,te,yn,Sm,zr,Ou,Mu,ze,yi,In,vi,Su,la],styles:[".title[_ngcontent-%COMP%]{font-size:larger;font-weight:700;margin-top:0;padding-top:1rem;width:100%;text-align:center}[_nghost-%COMP%] .mat-mdc-tab-header{top:0;z-index:1000;background-color:#2c2c2c;position:sticky;position:-webkit-sticky}.add-button[_ngcontent-%COMP%]{position:fixed;bottom:1rem;right:1rem;z-index:1}.refresh-button[_ngcontent-%COMP%]{position:fixed;bottom:1.5rem;right:50%;transform:translate(50%);z-index:99}.top[_ngcontent-%COMP%]{position:absolute;top:0}.search-box[_ngcontent-%COMP%]{position:absolute;top:0;width:100%}.search-button[_ngcontent-%COMP%]{position:absolute;top:4px;right:0}"]});let n=t;return n})();var xa=(()=>{let t=class t{constructor(e){this.http=e}login(e,i){return localStorage.setItem("Authorization",`${e}:${i}`),this.http.get(ei)}};t.\u0275fac=function(i){return new(i||t)(u(Di))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function Py(n,t){n&1&&(f(0,"mat-error"),I(1,"El nom de la llista \xE9s obligatori"),p())}function Ny(n,t){n&1&&(f(0,"mat-error"),I(1,"La contrasenya \xE9s obligatoria"),p())}var xh=(()=>{let t=class t{constructor(e,i,o){this.loginService=e,this.router=i,this._snackBar=o,this.formGroup=new _i({list:new ti("",[ji.required]),password:new ti("",[ji.required])})}sendRequest(){this.snackBarRef?.dismiss();let e=this.formGroup.value;this.loginService.login(e.list,e.password).subscribe({complete:()=>{this.router.navigate(["home"])},error:()=>{this.snackBarRef=this._snackBar.open("Contrasenya Incorrecta","TANCAR",{duration:5e3})}})}};t.\u0275fac=function(i){return new(i||t)(l(xa),l(ui),l(Me))},t.\u0275cmp=F({type:t,selectors:[["app-login"]],standalone:!0,features:[dt([xa]),N],decls:15,vars:4,consts:[[1,"centered",3,"formGroup"],[1,"title"],["appearance","fill",1,"input"],["matInput","","formControlName","list","type","text","placeholder","Nom de la llista","required",""],["matInput","","formControlName","password","type","password","placeholder","Password","required",""],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(i,o){i&1&&(f(0,"form",0)(1,"h1",1),I(2,"Tot Fet"),p(),f(3,"mat-form-field",2)(4,"mat-label"),I(5,"Nom de la llista"),p(),P(6,"input",3),H(7,Py,2,0,"mat-error"),p(),f(8,"mat-form-field",2)(9,"mat-label"),I(10,"Contrasenya"),p(),P(11,"input",4),H(12,Ny,2,0,"mat-error"),p(),f(13,"button",5),R("click",function(){return o.sendRequest()}),I(14," Iniciar Sessi\xF3 "),p()()),i&2&&(z("formGroup",o.formGroup),y(7),K(7,o.formGroup.get("list").hasError("required")?7:-1),y(5),K(12,o.formGroup.get("password").hasError("required")?12:-1),y(),z("disabled",o.formGroup.invalid))},dependencies:[Re,In,vi,ca,ze,yi,ra,pu,Cn,ta,ea,Eo,Vi,Io,Ot,te,Dn],styles:[".centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}.input[_ngcontent-%COMP%]{width:90%;max-width:500px}"]});let n=t;return n})();var wh=(()=>{let t=class t{constructor(e){this.router=e}goHome(){this.router.navigate(["/"])}};t.\u0275fac=function(i){return new(i||t)(l(ui))},t.\u0275cmp=F({type:t,selectors:[["app-not-found"]],standalone:!0,features:[N],decls:7,vars:0,consts:[[1,"centered"],[1,"title"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){i&1&&(f(0,"div",0)(1,"h1",1),I(2,"Tot Fet"),p(),f(3,"p"),I(4,"Page not found"),p(),f(5,"button",2),R("click",function(){return o.goHome()}),I(6," Home "),p()())},dependencies:[Ot,te],styles:[".centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}.centered[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0}"]});let n=t;return n})();var Ch=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"login",component:xh},{path:"home",component:yh},{path:"**",component:wh}];var kh=(n,t)=>{let r=localStorage.getItem("Authorization"),e=v(ui),i=v(Me),o=n.clone({setHeaders:{Authorization:r??""}});return t(o).pipe(he(a=>(a instanceof Qi&&(i.open(`Error: ${Ly(a)}`,"TANCAR",{duration:5e3}),a.status===401?(console.error("Unauthorized request:",a),e.navigate(["login"])):console.error("HTTP error:",a)),ee(()=>a))))};function Ly(n){return`${n.error.statusCode} - ${n.error.message}`}var jy="@",Vy=(()=>{let t=class t{constructor(e,i,o,a,s){this.doc=e,this.delegate=i,this.zone=o,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=v(kd,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-F6253P2H.js")).catch(i=>{throw new _t(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:o})=>{this._engine=i(this.animationType,this.doc,this.scheduler);let a=new o(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,i){let o=this.delegate.createRenderer(e,i);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let a=new td(o);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let c=s.createRenderer(e,i);a.use(c)}).catch(s=>{a.use(o)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(i){Pn()},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),td=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let r of this.replay)r(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,r){return this.delegate.createElement(t,r)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,r){this.delegate.appendChild(t,r)}insertBefore(t,r,e,i){this.delegate.insertBefore(t,r,e,i)}removeChild(t,r,e){this.delegate.removeChild(t,r,e)}selectRootElement(t,r){return this.delegate.selectRootElement(t,r)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,r,e,i){this.delegate.setAttribute(t,r,e,i)}removeAttribute(t,r,e){this.delegate.removeAttribute(t,r,e)}addClass(t,r){this.delegate.addClass(t,r)}removeClass(t,r){this.delegate.removeClass(t,r)}setStyle(t,r,e,i){this.delegate.setStyle(t,r,e,i)}removeStyle(t,r,e){this.delegate.removeStyle(t,r,e)}setProperty(t,r,e){this.shouldReplay(r)&&this.replay.push(i=>i.setProperty(t,r,e)),this.delegate.setProperty(t,r,e)}setValue(t,r){this.delegate.setValue(t,r)}listen(t,r,e){return this.shouldReplay(r)&&this.replay.push(i=>i.listen(t,r,e)),this.delegate.listen(t,r,e)}shouldReplay(t){return this.replay!==null&&t.startsWith(jy)}};function Ih(n="animations"){return Ra("NgAsyncAnimations"),$e([{provide:jo,useFactory:(t,r,e)=>new Vy(t,r,e,n),deps:[B,nr,E]},{provide:vt,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Fo="Service workers are disabled or not supported by this browser";function By(n){return ue(()=>ee(new Error(n)))}var Tn=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=By(Fo);else{let e=Wt(t,"controllerchange").pipe(L(()=>t.controller)),i=ue(()=>O(t.controller)),o=Bi(i,e);this.worker=o.pipe(it(m=>!!m)),this.registration=this.worker.pipe(yt(()=>t.getRegistration()));let d=Wt(t,"message").pipe(L(m=>m.data)).pipe(it(m=>m&&m.type)).pipe(dd());d.connect(),this.events=d}}postMessage(t,r){return this.worker.pipe(at(1),ut(e=>{e.postMessage(_({action:t},r))})).toPromise().then(()=>{})}postMessageWithOperation(t,r,e){let i=this.waitForOperationCompleted(e),o=this.postMessage(t,r);return Promise.all([o,i]).then(([,a])=>a)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let r;return typeof t=="string"?r=e=>e.type===t:r=e=>t.includes(e.type),this.events.pipe(it(r))}nextEventOfType(t){return this.eventsOfType(t).pipe(at(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(it(r=>r.nonce===t),at(1),L(r=>{if(r.result!==void 0)return r.result;throw new Error(r.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},zy=(()=>{let t=class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new T,!e.isEnabled){this.messages=zi,this.notificationClicks=zi,this.subscription=zi;return}this.messages=this.sw.eventsOfType("PUSH").pipe(L(o=>o.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(L(o=>o.data)),this.pushManager=this.sw.registration.pipe(L(o=>o.pushManager));let i=this.pushManager.pipe(yt(o=>o.getSubscription()));this.subscription=Tt(i,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Fo));let i={userVisibleOnly:!0},o=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(o.length));for(let s=0;ss.subscribe(i)),at(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Fo));let e=i=>{if(i===null)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(o=>{if(!o)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(at(1),yt(e)).toPromise()}decodeBase64(e){return atob(e)}};t.\u0275fac=function(i){return new(i||t)(u(Tn))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Uy=(()=>{let t=class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=zi,this.unrecoverable=zi;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Fo));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Fo));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}};t.\u0275fac=function(i){return new(i||t)(u(Tn))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();var Eh=new x("");function Hy(n,t,r,e){return()=>{if(!(Nn(e)&&"serviceWorker"in navigator&&r.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let i;if(typeof r.registrationStrategy=="function")i=r.registrationStrategy();else{let[a,...s]=(r.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":i=O(null);break;case"registerWithDelay":i=Dh(+s[0]||0);break;case"registerWhenStable":i=s[0]?Tt(Th(n),Dh(+s[0])):Th(n);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${r.registrationStrategy}`)}}n.get(E).runOutsideAngular(()=>i.pipe(at(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:r.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function Dh(n){return O(null).pipe(No(n))}function Th(n){return n.get(ai).isStable.pipe(it(r=>r))}function $y(n,t){return new Tn(Nn(t)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Oo=class{};function Sh(n,t={}){return $e([zy,Uy,{provide:Eh,useValue:n},{provide:Oo,useValue:t},{provide:Tn,useFactory:$y,deps:[Oo,fe]},{provide:Oa,useFactory:Hy,deps:[wt,Eh,Oo,fe],multi:!0}])}var Ah={providers:[jl(Ch),qd(Yd([kh])),Ih(),Sh("ngsw-worker.js",{enabled:!Md(),registrationStrategy:"registerWhenStable:30000"})]};var nd=Ph(Rh());var Mh=(()=>{let t=class t{constructor(e){this.itemsService=e}ngOnInit(){let e=this.itemsService,i=this.getStyles();nd.default.init({mainElement:"#pull-to-refresh",refreshTimeout:100,shouldPullToRefresh(){return!!navigator.userAgent.match(/Android|iPhone|iPad|iPod/i)},getStyles(){return i},onRefresh(){e.refreshItems()}})}ngOnDestroy(){nd.default.destroyAll()}getStyles(){return` + .__PREFIX__ptr { + box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.12); + pointer-events: none; + font-size: 0.85em; + font-weight: bold; + top: 0; + height: 0; + transition: height 0.3s, min-height 0.3s; + text-align: center; + width: 100%; + overflow: hidden; + display: flex; + align-items: flex-end; + align-content: stretch; + } + + .__PREFIX__box { + padding: 10px; + flex-basis: 100%; + } + + .__PREFIX__pull { + transition: none; + } + + .__PREFIX__text { + display: none; + } + + .__PREFIX__icon { + transition: transform .3s; + } + + /* + When at the top of the page, disable vertical overscroll so passive touch + listeners can take over. + */ + .__PREFIX__top { + touch-action: pan-x pan-down pinch-zoom; + } + + .__PREFIX__release .__PREFIX__icon { + transform: rotate(180deg); + } + `}};t.\u0275fac=function(i){return new(i||t)(l(Ue))},t.\u0275cmp=F({type:t,selectors:[["app-root"]],standalone:!0,features:[N],decls:2,vars:0,consts:[["id","pull-to-refresh"]],template:function(i,o){i&1&&(f(0,"div",0),P(1,"router-outlet"),p())},dependencies:[Fs],encapsulation:2});let n=t;return n})();il(Mh,Ah).catch(n=>console.error(n)); diff --git a/main-HA433YA7.js b/main-HA433YA7.js deleted file mode 100644 index ae559c6..0000000 --- a/main-HA433YA7.js +++ /dev/null @@ -1,8 +0,0 @@ -import{$ as cd,$a as Aa,$b as Sd,A as tt,Aa as An,Ab as at,Ac as Fa,B as ka,Ba as ud,Bb as Pt,Bc as Pa,C as ue,Ca as he,Cb as nt,D as xi,Da as _t,Db as U,E as Bi,Ea as Mn,Eb as H,F as Ia,Fa as Hi,Fb as be,G as rt,Ga as $i,Gb as C,H as nd,Ha as hd,Hb as ge,I as Oo,Ia as fd,Ib as Wt,J as Dn,Ja as pd,Jb as Cd,K as ei,Ka as bd,Kb as kd,L as ii,La as gd,Lb as Id,M as Ea,Ma as _d,Mb as st,N as od,Na as vd,Nb as O,O as rd,Oa as ee,Ob as zo,P as ad,Pa as Rn,Pb as Ed,Q as sd,Qa as v,Qb as ke,R as Da,Ra as l,Rb as Ie,S as zi,Sa as On,Sb as Dd,T as Ft,Ta as Vt,Tb as Uo,U as vt,Ua as yd,Ub as Ho,V as dt,Va as Wi,Vb as Ma,W as mt,Wa as Po,Wb as Ra,X as gt,Xa as No,Xb as oi,Y as Tt,Ya as Sa,Yb as Oa,Z as x,Za as k,Zb as Td,_ as P,_a as $t,_b as pt,a as g,aa as y,ab as it,ac as q,b as ht,ba as Ta,bb as ft,bc as _e,ca as u,cb as xd,cc as Ad,d as kt,da as _,db as wd,dc as Gi,e as td,ea as Tn,eb as Lo,ec as Md,f as Yt,fa as b,fb as B,fc as Rd,g as xa,ga as M,gb as Y,gc as L,h as wa,ha as N,hb as j,hc as ri,i as E,ia as I,ib as ni,ic as $o,j as St,ja as Ue,jb as z,jc as Wo,k as de,ka as dd,kb as At,kc as Od,l as Ut,la as Ui,lb as Z,lc as qi,m as A,ma as He,mb as jo,mc as $e,n as te,na as Ct,nb as Ci,nc as Fd,o as Ca,oa as $,ob as fe,oc as Fn,p as ed,pa as W,pb as pe,pc as Go,q as F,qa as Fo,qb as h,qc as qo,r as yi,ra as ld,rb as f,s as le,sa as jt,sb as R,t as ji,ta as Oe,tb as lt,tc as Fe,u as me,ua as xt,ub as Xt,uc as Bt,v as Ro,va as wi,vb as Vo,vc as Pn,w as Ht,wa as D,wb as T,x as id,xa as V,xb as Bo,xc as It,y as Dt,ya as Sn,yb as G,yc as Zt,z as Vi,za as md,zb as wt,zc as Gt}from"./chunk-V2HD7OKB.js";var Ln=class{},Xo=class{},ki=class n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` -`).forEach(r=>{let e=r.indexOf(":");if(e>0){let i=r.slice(0,e),o=i.toLowerCase(),a=r.slice(e+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,e)=>{this.setHeaderEntries(e,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,e])=>{this.setHeaderEntries(r,e)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?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(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new n;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let e=t.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...e),this.headers.set(r,i);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(t,r){let e=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,e),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var La=class{encodeKey(t){return Pd(t)}encodeValue(t){return Pd(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Fh(n,t){let r=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,s]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=r.get(a)||[];c.push(s),r.set(a,c)}),r}var Ph=/%(\d[a-f0-9])/gi,Nh={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pd(n){return encodeURIComponent(n).replace(Ph,(t,r)=>Nh[r]??t)}function Yo(n){return`${n}`}var ai=class n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new La,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Fh(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let e=t.fromObject[r],i=Array.isArray(e)?e.map(Yo):[Yo(e)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(e=>{let i=t[e];Array.isArray(i)?i.forEach(o=>{r.push({param:e,value:o,op:"a"})}):r.push({param:e,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(e=>r+"="+this.encoder.encodeValue(e)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new n({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Yo(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let e=this.map.get(t.param)||[],i=e.indexOf(Yo(t.value));i!==-1&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ja=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),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 Lh(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Nd(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Ld(n){return typeof Blob<"u"&&n instanceof Blob}function jd(n){return typeof FormData<"u"&&n instanceof FormData}function jh(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Nn=class n{constructor(t,r,e,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(Lh(this.method)||i?(this.body=e!==void 0?e:null,o=i):o=e,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 ki,this.context??=new ja,!this.params)this.params=new ai,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),c=s===-1?"?":sw.set(S,t.setHeaders[S]),d)),t.setParams&&(m=Object.keys(t.setParams).reduce((w,S)=>w.set(S,t.setParams[S]),m)),new n(r,e,a,{params:m,headers:d,context:p,reportProgress:c,responseType:i,withCredentials:s,transferCache:o})}},Yi=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(Yi||{}),jn=class{constructor(t,r=Qo.Ok,e="OK"){this.headers=t.headers||new ki,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||e,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Va=class n extends jn{constructor(t={}){super(t),this.type=Yi.ResponseHeader}clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Zo=class n extends jn{constructor(t={}){super(t),this.type=Yi.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Xi=class extends jn{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Qo=function(n){return n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}(Qo||{});function Na(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,transferCache:n.transferCache}}var Ii=(()=>{let t=class t{constructor(e){this.handler=e}request(e,i,o={}){let a;if(e instanceof Nn)a=e;else{let d;o.headers instanceof ki?d=o.headers:d=new ki(o.headers);let m;o.params&&(o.params instanceof ai?m=o.params:m=new ai({fromObject:o.params})),a=new Nn(e,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:m,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=A(a).pipe(xi(d=>this.handler.handle(d)));if(e instanceof Nn||o.observe==="events")return s;let c=s.pipe(tt(d=>d instanceof Zo));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return c.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return c.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return c.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return c.pipe(F(d=>d.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.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 ai().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,Na(o,i))}post(e,i,o={}){return this.request("POST",e,Na(o,i))}put(e,i,o={}){return this.request("PUT",e,Na(o,i))}};t.\u0275fac=function(i){return new(i||t)(u(Ln))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Vh(n,t){return t(n)}function Bh(n,t,r){return(e,i)=>He(r,()=>t(e,o=>n(o,i)))}var za=new y(""),zh=new y(""),Uh=new y("");var Vd=(()=>{let t=class t extends Ln{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=_(Lo);let o=_(Uh,{optional:!0});this.backend=o??e}handle(e){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(za),...this.injector.get(zh,[])]));this.chain=o.reduceRight((a,s)=>Bh(a,s,this.injector),Vh)}let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(ei(()=>this.pendingTasks.remove(i)))}};t.\u0275fac=function(i){return new(i||t)(u(Xo),u(Ui))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();var Hh=/^\)\]\}',?\n/;function $h(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var Bd=(()=>{let t=class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new gt(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ut(i.\u0275loadImpl()):A(null)).pipe(vt(()=>new Yt(a=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((ot,ut)=>s.setRequestHeader(ot,ut.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let ot=e.detectContentTypeHeader();ot!==null&&s.setRequestHeader("Content-Type",ot)}if(e.responseType){let ot=e.responseType.toLowerCase();s.responseType=ot!=="json"?ot:"text"}let c=e.serializeBody(),d=null,m=()=>{if(d!==null)return d;let ot=s.statusText||"OK",ut=new ki(s.getAllResponseHeaders()),Ce=$h(s)||e.url;return d=new Va({headers:ut,status:s.status,statusText:ot,url:Ce}),d},p=()=>{let{headers:ot,status:ut,statusText:Ce,url:Jc}=m(),qt=null;ut!==Qo.NoContent&&(qt=typeof s.response>"u"?s.responseText:s.response),ut===0&&(ut=qt?Qo.Ok:0);let ya=ut>=200&&ut<300;if(e.responseType==="json"&&typeof qt=="string"){let Th=qt;qt=qt.replace(Hh,"");try{qt=qt!==""?JSON.parse(qt):null}catch(Sh){qt=Th,ya&&(ya=!1,qt={error:Sh,text:qt})}}ya?(a.next(new Zo({body:qt,headers:ot,status:ut,statusText:Ce,url:Jc||void 0})),a.complete()):a.error(new Xi({error:qt,headers:ot,status:ut,statusText:Ce,url:Jc||void 0}))},w=ot=>{let{url:ut}=m(),Ce=new Xi({error:ot,status:s.status||0,statusText:s.statusText||"Unknown Error",url:ut||void 0});a.error(Ce)},S=!1,X=ot=>{S||(a.next(m()),S=!0);let ut={type:Yi.DownloadProgress,loaded:ot.loaded};ot.lengthComputable&&(ut.total=ot.total),e.responseType==="text"&&s.responseText&&(ut.partialText=s.responseText),a.next(ut)},ct=ot=>{let ut={type:Yi.UploadProgress,loaded:ot.loaded};ot.lengthComputable&&(ut.total=ot.total),a.next(ut)};return s.addEventListener("load",p),s.addEventListener("error",w),s.addEventListener("timeout",w),s.addEventListener("abort",w),e.reportProgress&&(s.addEventListener("progress",X),c!==null&&s.upload&&s.upload.addEventListener("progress",ct)),s.send(c),a.next({type:Yi.Sent}),()=>{s.removeEventListener("error",w),s.removeEventListener("abort",w),s.removeEventListener("load",p),s.removeEventListener("timeout",w),e.reportProgress&&(s.removeEventListener("progress",X),c!==null&&s.upload&&s.upload.removeEventListener("progress",ct)),s.readyState!==s.DONE&&s.abort()}})))}};t.\u0275fac=function(i){return new(i||t)(u(qo))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),zd=new y(""),Wh="XSRF-TOKEN",Gh=new y("",{providedIn:"root",factory:()=>Wh}),qh="X-XSRF-TOKEN",Yh=new y("",{providedIn:"root",factory:()=>qh}),Ko=class{},Xh=(()=>{let t=class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=$o(e,this.cookieName),this.lastCookieString=e),this.lastToken}};t.\u0275fac=function(i){return new(i||t)(u(L),u(he),u(Gh))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Zh(n,t){let r=n.url.toLowerCase();if(!_(zd)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(n);let e=_(Ko).getToken(),i=_(Yh);return e!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,e)})),t(n)}var Ud=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(Ud||{});function Qh(n,t){return{\u0275kind:n,\u0275providers:t}}function Hd(...n){let t=[Ii,Bd,Vd,{provide:Ln,useExisting:Vd},{provide:Xo,useExisting:Bd},{provide:za,useValue:Zh,multi:!0},{provide:zd,useValue:!0},{provide:Ko,useClass:Xh}];for(let r of n)t.push(...r.\u0275providers);return Ue(t)}function $d(n){return Qh(Ud.Interceptors,n.map(t=>({provide:za,useValue:t,multi:!0})))}var Wa=class extends Rd{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ga=class n extends Wa{static makeCurrent(){Md(new n)}onAndCancel(t,r,e){return t.addEventListener(r,e),()=>{t.removeEventListener(r,e)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=Jh();return r==null?null:tf(r)}resetBaseElement(){Vn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return $o(document.cookie,t)}},Vn=null;function Jh(){return Vn=Vn||document.querySelector("base"),Vn?Vn.getAttribute("href"):null}function tf(n){return new URL(n,document.baseURI).pathname}var ef=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),qa=new y(""),Yd=(()=>{let t=class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new gt(5101,!1);return this._eventNameToPlugin.set(e,i),i}};t.\u0275fac=function(i){return new(i||t)(u(qa),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Jo=class{constructor(t){this._doc=t}},Ha="ng-app-id",Xd=(()=>{let t=class t{constructor(e,i,o,a={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Go(a),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${Ha}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let a=o.get(e);return a.usage+=i,a.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,a=o?.get(i);if(a?.parentNode===e)return o.delete(i),a.removeAttribute(Ha),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Ha,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),a=this.styleRef,s=a.get(i)?.elements;s?s.push(o):a.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}};t.\u0275fac=function(i){return new(i||t)(u(L),u(An),u(Mn,8),u(he))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),$a={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/"},Za=/%COMP%/g,Zd="%COMP%",nf=`_nghost-${Zd}`,of=`_ngcontent-${Zd}`,rf=!0,af=new y("",{providedIn:"root",factory:()=>rf});function sf(n){return of.replace(Za,n)}function cf(n){return nf.replace(Za,n)}function Qd(n,t){return t.map(r=>r.replace(Za,n))}var tr=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=c,this.ngZone=d,this.nonce=m,this.rendererByCompId=new Map,this.platformIsServer=Go(c),this.defaultRenderer=new Bn(e,s,d,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Tn.ShadowDom&&(i=ht(g({},i),{encapsulation:Tn.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof er?o.applyToHost(e):o instanceof zn&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,a=o.get(i.id);if(!a){let s=this.doc,c=this.ngZone,d=this.eventManager,m=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,w=this.platformIsServer;switch(i.encapsulation){case Tn.Emulated:a=new er(d,m,i,this.appId,p,s,c,w);break;case Tn.ShadowDom:return new Ya(d,m,e,i,s,c,this.nonce,w);default:a=new zn(d,m,i,p,s,c,w);break}o.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(i){return new(i||t)(u(Yd),u(Xd),u(An),u(af),u(L),u(he),u(k),u(Mn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Bn=class{constructor(t,r,e,i){this.eventManager=t,this.doc=r,this.ngZone=e,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS($a[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(Wd(t)?t.content:t).appendChild(r)}insertBefore(t,r,e){t&&(Wd(t)?t.content:t).insertBefore(r,e)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let e=typeof t=="string"?this.doc.querySelector(t):t;if(!e)throw new gt(-5104,!1);return r||(e.textContent=""),e}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,e,i){if(i){r=i+":"+r;let o=$a[i];o?t.setAttributeNS(o,r,e):t.setAttribute(r,e)}else t.setAttribute(r,e)}removeAttribute(t,r,e){if(e){let i=$a[e];i?t.removeAttributeNS(i,r):t.removeAttribute(`${e}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,e,i){i&(Rn.DashCase|Rn.Important)?t.style.setProperty(r,e,i&Rn.Important?"important":""):t.style[r]=e}removeStyle(t,r,e){e&Rn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,e){t!=null&&(t[r]=e)}setValue(t,r){t.nodeValue=r}listen(t,r,e){if(typeof t=="string"&&(t=Gi().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(e))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function Wd(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Ya=class extends Bn{constructor(t,r,e,i,o,a,s,c){super(t,o,a,c),this.sharedStylesHost=r,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=Qd(i.id,i.styles);for(let m of d){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=m,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,e){return super.insertBefore(this.nodeOrShadowRoot(t),r,e)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},zn=class extends Bn{constructor(t,r,e,i,o,a,s,c){super(t,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?Qd(c,e.styles):e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},er=class extends zn{constructor(t,r,e,i,o,a,s,c){let d=i+"-"+e.id;super(t,r,e,o,a,s,c,d),this.contentAttr=sf(d),this.hostAttr=cf(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let e=super.createElement(t,r);return super.setAttribute(e,this.contentAttr,""),e}},df=(()=>{let t=class t extends Jo{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Gd=["alt","control","meta","shift"],lf={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},mf={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},uf=(()=>{let t=class t extends Jo{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gi().onAndCancel(e,a.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let a=t._normalizeKey(i.pop()),s="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),s="code."),Gd.forEach(m=>{let p=i.indexOf(m);p>-1&&(i.splice(p,1),s+=m+".")}),s+=a,i.length!=0||a.length===0)return null;let d={};return d.domEventName=o,d.fullKey=s,d}static matchEventFullKeyCode(e,i){let o=lf[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(o=e.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Gd.forEach(s=>{if(s!==o){let c=mf[s];c(e)&&(a+=s+".")}}),a+=o,a===i)}static eventCallback(e,i,o){return a=>{t.matchEventFullKeyCode(a,e)&&o.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Kd(n,t){return Sd(g({rootComponent:n},hf(t)))}function hf(n){return{appProviders:[..._f,...n?.providers??[]],platformProviders:gf}}function ff(){Ga.makeCurrent()}function pf(){return new wi}function bf(){return md(document),document}var gf=[{provide:he,useValue:Fd},{provide:ud,useValue:ff,multi:!0},{provide:L,useFactory:bf,deps:[]}];var _f=[{provide:dd,useValue:"root"},{provide:wi,useFactory:pf,deps:[]},{provide:qa,useClass:df,multi:!0,deps:[L,k,he]},{provide:qa,useClass:uf,multi:!0,deps:[L]},tr,Xd,Yd,{provide:Po,useExisting:tr},{provide:qo,useClass:ef,deps:[]},[]];var Jd=(()=>{let t=class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Qa=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:function(i){let o=null;return i?o=new(i||t):o=u(vf),o},providedIn:"root"});let n=t;return n})(),vf=(()=>{let t=class t extends Qa{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case ee.NONE:return i;case ee.HTML:return $i(i,"HTML")?Hi(i):vd(this._doc,String(i)).toString();case ee.STYLE:return $i(i,"Style")?Hi(i):i;case ee.SCRIPT:if($i(i,"Script"))return Hi(i);throw new gt(5200,!1);case ee.URL:return $i(i,"URL")?Hi(i):_d(String(i));case ee.RESOURCE_URL:if($i(i,"ResourceURL"))return Hi(i);throw new gt(5201,!1);default:throw new gt(5202,!1)}}bypassSecurityTrustHtml(e){return hd(e)}bypassSecurityTrustStyle(e){return fd(e)}bypassSecurityTrustScript(e){return pd(e)}bypassSecurityTrustUrl(e){return bd(e)}bypassSecurityTrustResourceUrl(e){return gd(e)}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var et="primary",io=Symbol("RouteTitle"),is=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function tn(n){return new is(n)}function xf(n,t,r){let e=r.path.split("/");if(e.length>n.length||r.pathMatch==="full"&&(t.hasChildren()||e.lengthe[o]===i)}else return n===t}function sl(n){return n.length>0?n[n.length-1]:null}function di(n){return Ca(n)?n:Ho(n)?Ut(Promise.resolve(n)):A(n)}var Cf={exact:dl,subset:ll},cl={exact:kf,subset:If,ignored:()=>!0};function el(n,t,r){return Cf[r.paths](n.root,t.root,r.matrixParams)&&cl[r.queryParams](n.queryParams,t.queryParams)&&!(r.fragment==="exact"&&n.fragment!==t.fragment)}function kf(n,t){return Pe(n,t)}function dl(n,t,r){if(!Di(n.segments,t.segments)||!or(n.segments,t.segments,r)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!n.children[e]||!dl(n.children[e],t.children[e],r))return!1;return!0}function If(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(r=>al(n[r],t[r]))}function ll(n,t,r){return ml(n,t,t.segments,r)}function ml(n,t,r,e){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!Di(i,r)||t.hasChildren()||!or(i,r,e))}else if(n.segments.length===r.length){if(!Di(n.segments,r)||!or(n.segments,r,e))return!1;for(let i in t.children)if(!n.children[i]||!ll(n.children[i],t.children[i],e))return!1;return!0}else{let i=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!Di(n.segments,i)||!or(n.segments,i,e)||!n.children[et]?!1:ml(n.children[et],t,o,e)}}function or(n,t,r){return t.every((e,i)=>cl[r](n[i].parameters,e.parameters))}var si=class{constructor(t=new bt([],{}),r={},e=null){this.root=t,this.queryParams=r,this.fragment=e}get queryParamMap(){return this._queryParamMap??=tn(this.queryParams),this._queryParamMap}toString(){return Tf.serialize(this)}},bt=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rr(this)}},Ei=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=tn(this.parameters),this._parameterMap}toString(){return hl(this)}};function Ef(n,t){return Di(n,t)&&n.every((r,e)=>Pe(r.parameters,t[e].parameters))}function Di(n,t){return n.length!==t.length?!1:n.every((r,e)=>r.path===t[e].path)}function Df(n,t){let r=[];return Object.entries(n.children).forEach(([e,i])=>{e===et&&(r=r.concat(t(i,e)))}),Object.entries(n.children).forEach(([e,i])=>{e!==et&&(r=r.concat(t(i,e)))}),r}var Ss=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>new sr,providedIn:"root"});let n=t;return n})(),sr=class{parse(t){let r=new rs(t);return new si(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Un(t.root,!0)}`,e=Mf(t.queryParams),i=typeof t.fragment=="string"?`#${Sf(t.fragment)}`:"";return`${r}${e}${i}`}},Tf=new sr;function rr(n){return n.segments.map(t=>hl(t)).join("/")}function Un(n,t){if(!n.hasChildren())return rr(n);if(t){let r=n.children[et]?Un(n.children[et],!1):"",e=[];return Object.entries(n.children).forEach(([i,o])=>{i!==et&&e.push(`${i}:${Un(o,!1)}`)}),e.length>0?`${r}(${e.join("//")})`:r}else{let r=Df(n,(e,i)=>i===et?[Un(n.children[et],!1)]:[`${i}:${Un(e,!1)}`]);return Object.keys(n.children).length===1&&n.children[et]!=null?`${rr(n)}/${r[0]}`:`${rr(n)}/(${r.join("//")})`}}function ul(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ir(n){return ul(n).replace(/%3B/gi,";")}function Sf(n){return encodeURI(n)}function os(n){return ul(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ar(n){return decodeURIComponent(n)}function il(n){return ar(n.replace(/\+/g,"%20"))}function hl(n){return`${os(n.path)}${Af(n.parameters)}`}function Af(n){return Object.entries(n).map(([t,r])=>`;${os(t)}=${os(r)}`).join("")}function Mf(n){let t=Object.entries(n).map(([r,e])=>Array.isArray(e)?e.map(i=>`${ir(r)}=${ir(i)}`).join("&"):`${ir(r)}=${ir(e)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var Rf=/^[^\/()?;#]+/;function Ka(n){let t=n.match(Rf);return t?t[0]:""}var Of=/^[^\/()?;=#]+/;function Ff(n){let t=n.match(Of);return t?t[0]:""}var Pf=/^[^=?&#]+/;function Nf(n){let t=n.match(Pf);return t?t[0]:""}var Lf=/^[^&#]+/;function jf(n){let t=n.match(Lf);return t?t[0]:""}var rs=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(e[et]=new bt(t,r)),e}parseSegment(){let t=Ka(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new gt(4009,!1);return this.capture(t),new Ei(ar(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=Ff(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let i=Ka(this.remaining);i&&(e=i,this.capture(e))}t[ar(r)]=ar(e)}parseQueryParam(t){let r=Nf(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let a=jf(this.remaining);a&&(e=a,this.capture(e))}let i=il(r),o=il(e);if(t.hasOwnProperty(i)){let a=t[i];Array.isArray(a)||(a=[a],t[i]=a),a.push(o)}else t[i]=o}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=Ka(this.remaining),i=this.remaining[e.length];if(i!=="/"&&i!==")"&&i!==";")throw new gt(4010,!1);let o;e.indexOf(":")>-1?(o=e.slice(0,e.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=et);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[et]:new bt([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new gt(4011,!1)}};function fl(n){return n.segments.length>0?new bt([],{[et]:n}):n}function pl(n){let t={};for(let[e,i]of Object.entries(n.children)){let o=pl(i);if(e===et&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[e]=o)}let r=new bt(n.segments,t);return Vf(r)}function Vf(n){if(n.numberOfChildren===1&&n.children[et]){let t=n.children[et];return new bt(n.segments.concat(t.segments),t.children)}return n}function en(n){return n instanceof si}function Bf(n,t,r=null,e=null){let i=bl(n);return gl(i,t,r,e)}function bl(n){let t;function r(o){let a={};for(let c of o.children){let d=r(c);a[c.outlet]=d}let s=new bt(o.url,a);return o===n&&(t=s),s}let e=r(n.root),i=fl(e);return t??i}function gl(n,t,r,e){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return Ja(i,i,i,r,e);let o=zf(t);if(o.toRoot())return Ja(i,i,new bt([],{}),r,e);let a=Uf(o,i,n),s=a.processChildren?Wn(a.segmentGroup,a.index,o.commands):vl(a.segmentGroup,a.index,o.commands);return Ja(i,a.segmentGroup,s,r,e)}function cr(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Yn(n){return typeof n=="object"&&n!=null&&n.outlets}function Ja(n,t,r,e,i){let o={};e&&Object.entries(e).forEach(([c,d])=>{o[c]=Array.isArray(d)?d.map(m=>`${m}`):`${d}`});let a;n===t?a=r:a=_l(n,t,r);let s=fl(pl(a));return new si(s,o,i)}function _l(n,t,r){let e={};return Object.entries(n.children).forEach(([i,o])=>{o===t?e[i]=r:e[i]=_l(o,t,r)}),new bt(n.segments,e)}var dr=class{constructor(t,r,e){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=e,t&&e.length>0&&cr(e[0]))throw new gt(4003,!1);let i=e.find(Yn);if(i&&i!==sl(e))throw new gt(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zf(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new dr(!0,0,n);let t=0,r=!1,e=n.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([c,d])=>{s[c]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:s}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?r=!0:s===".."?t++:s!=""&&i.push(s))}),i):[...i,o]},[]);return new dr(r,t,e)}var Ki=class{constructor(t,r,e){this.segmentGroup=t,this.processChildren=r,this.index=e}};function Uf(n,t,r){if(n.isAbsolute)return new Ki(t,!0,0);if(!r)return new Ki(t,!1,NaN);if(r.parent===null)return new Ki(r,!0,0);let e=cr(n.commands[0])?0:1,i=r.segments.length-1+e;return Hf(r,i,n.numberOfDoubleDots)}function Hf(n,t,r){let e=n,i=t,o=r;for(;o>i;){if(o-=i,e=e.parent,!e)throw new gt(4005,!1);i=e.segments.length}return new Ki(e,!1,i-o)}function $f(n){return Yn(n[0])?n[0].outlets:{[et]:n}}function vl(n,t,r){if(n??=new bt([],{}),n.segments.length===0&&n.hasChildren())return Wn(n,t,r);let e=Wf(n,t,r),i=r.slice(e.commandIndex);if(e.match&&e.pathIndexo!==et)&&n.children[et]&&n.numberOfChildren===1&&n.children[et].segments.length===0){let o=Wn(n.children[et],t,r);return new bt(n.segments,o.children)}return Object.entries(e).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=vl(n.children[o],t,a))}),Object.entries(n.children).forEach(([o,a])=>{e[o]===void 0&&(i[o]=a)}),new bt(n.segments,i)}}function Wf(n,t,r){let e=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let a=n.segments[i],s=r[e];if(Yn(s))break;let c=`${s}`,d=e0&&c===void 0)break;if(c&&d&&typeof d=="object"&&d.outlets===void 0){if(!ol(c,d,a))return o;e+=2}else{if(!ol(c,{},a))return o;e++}i++}return{match:!0,pathIndex:i,commandIndex:e}}function as(n,t,r){let e=n.segments.slice(0,t),i=0;for(;i{typeof e=="string"&&(e=[e]),e!==null&&(t[r]=as(new bt([],{}),0,e))}),t}function nl(n){let t={};return Object.entries(n).forEach(([r,e])=>t[r]=`${e}`),t}function ol(n,t,r){return n==r.path&&Pe(t,r.parameters)}var Gn="imperative",Nt=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Nt||{}),ve=class{constructor(t,r){this.id=t,this.url=r}},Xn=class extends ve{constructor(t,r,e="imperative",i=null){super(t,r),this.type=Nt.NavigationStart,this.navigationTrigger=e,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ti=class extends ve{constructor(t,r,e){super(t,r),this.urlAfterRedirects=e,this.type=Nt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ne=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(ne||{}),ss=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(ss||{}),ci=class extends ve{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Nt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Si=class extends ve{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Nt.NavigationSkipped}},Zn=class extends ve{constructor(t,r,e,i){super(t,r),this.error=e,this.target=i,this.type=Nt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},lr=class extends ve{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},cs=class extends ve{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ds=class extends ve{constructor(t,r,e,i,o){super(t,r),this.urlAfterRedirects=e,this.state=i,this.shouldActivate=o,this.type=Nt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ls=class extends ve{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ms=class extends ve{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},us=class{constructor(t){this.route=t,this.type=Nt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},hs=class{constructor(t){this.route=t,this.type=Nt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},fs=class{constructor(t){this.snapshot=t,this.type=Nt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ps=class{constructor(t){this.snapshot=t,this.type=Nt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bs=class{constructor(t){this.snapshot=t,this.type=Nt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gs=class{constructor(t){this.snapshot=t,this.type=Nt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Qn=class{},Kn=class{constructor(t){this.url=t}};var _s=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new br,this.attachRef=null}},br=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){let o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new _s,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),mr=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=vs(t,this._root);return r?r.children.map(e=>e.value):[]}firstChild(t){let r=vs(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=ys(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return ys(t,this._root).map(r=>r.value)}};function vs(n,t){if(n===t.value)return t;for(let r of t.children){let e=vs(n,r);if(e)return e}return null}function ys(n,t){if(n===t.value)return[t];for(let r of t.children){let e=ys(n,r);if(e.length)return e.unshift(t),e}return[]}var ie=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function Qi(n){let t={};return n&&n.children.forEach(r=>t[r.value.outlet]=r),t}var ur=class extends mr{constructor(t,r){super(t),this.snapshot=r,Ms(this,t)}toString(){return this.snapshot.toString()}};function yl(n){let t=qf(n),r=new St([new Ei("",{})]),e=new St({}),i=new St({}),o=new St({}),a=new St(""),s=new nn(r,e,o,a,i,et,n,t.root);return s.snapshot=t.root,new ur(new ie(s,[]),t)}function qf(n){let t={},r={},e={},i="",o=new Jn([],t,e,i,r,et,n,null,{});return new hr("",new ie(o,[]))}var nn=class{constructor(t,r,e,i,o,a,s,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=e,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(F(d=>d[io]))??A(void 0),this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(F(t=>tn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(t=>tn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function As(n,t,r="emptyOnly"){let e,{routeConfig:i}=n;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:g(g({},t.params),n.params),data:g(g({},t.data),n.data),resolve:g(g(g(g({},n.data),t.data),i?.data),n._resolvedData)}:e={params:g({},n.params),data:g({},n.data),resolve:g(g({},n.data),n._resolvedData??{})},i&&wl(i)&&(e.resolve[io]=i.title),e}var Jn=class{get title(){return this.data?.[io]}constructor(t,r,e,i,o,a,s,c,d){this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=tn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=tn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},hr=class extends mr{constructor(t,r){super(r),this.url=t,Ms(this,r)}toString(){return xl(this._root)}};function Ms(n,t){t.value._routerState=n,t.children.forEach(r=>Ms(n,r))}function xl(n){let t=n.children.length>0?` { ${n.children.map(xl).join(", ")} } `:"";return`${n.value}${t}`}function ts(n){if(n.snapshot){let t=n.snapshot,r=n._futureSnapshot;n.snapshot=r,Pe(t.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),Pe(t.params,r.params)||n.paramsSubject.next(r.params),wf(t.url,r.url)||n.urlSubject.next(r.url),Pe(t.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function xs(n,t){let r=Pe(n.params,t.params)&&Ef(n.url,t.url),e=!n.parent!=!t.parent;return r&&!e&&(!n.parent||xs(n.parent,t.parent))}function wl(n){return typeof n.title=="string"||n.title===null}var Rs=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=et,this.activateEvents=new V,this.deactivateEvents=new V,this.attachEvents=new V,this.detachEvents=new V,this.parentContexts=_(br),this.location=_($t),this.changeDetector=_(pt),this.environmentInjector=_(Ui),this.inputBinder=_(Os,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new gt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new gt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new gt(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new gt(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,d=new ws(e,c,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:d,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ct]});let n=t;return n})(),ws=class n{__ngOutletInjector(t){return new n(this.route,this.childContexts,t)}constructor(t,r,e){this.route=t,this.childContexts=r,this.parent=e}get(t,r){return t===nn?this.route:t===br?this.childContexts:this.parent.get(t,r)}},Os=new y("");function Yf(n,t,r){let e=to(n,t._root,r?r._root:void 0);return new ur(e,t)}function to(n,t,r){if(r&&n.shouldReuseRoute(t.value,r.value.snapshot)){let e=r.value;e._futureSnapshot=t.value;let i=Xf(n,t,r);return new ie(e,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>to(n,s)),a}}let e=Zf(t.value),i=t.children.map(o=>to(n,o));return new ie(e,i)}}function Xf(n,t,r){return t.children.map(e=>{for(let i of r.children)if(n.shouldReuseRoute(e.value,i.value.snapshot))return to(n,e,i);return to(n,e)})}function Zf(n){return new nn(new St(n.url),new St(n.params),new St(n.queryParams),new St(n.fragment),new St(n.data),n.outlet,n.component,n)}var Cl="ngNavigationCancelingError";function kl(n,t){let{redirectTo:r,navigationBehaviorOptions:e}=en(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=Il(!1,ne.Redirect);return i.url=r,i.navigationBehaviorOptions=e,i}function Il(n,t){let r=new Error(`NavigationCancelingError: ${n||""}`);return r[Cl]=!0,r.cancellationCode=t,r}function Qf(n){return El(n)&&en(n.url)}function El(n){return!!n&&n[Cl]}var Kf=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=M({type:t,selectors:[["ng-component"]],standalone:!0,features:[O],decls:1,vars:0,template:function(i,o){i&1&&R(0,"router-outlet")},dependencies:[Rs],encapsulation:2});let n=t;return n})();function Jf(n,t){return n.providers&&!n._injector&&(n._injector=wd(n.providers,t,`Route: ${n.path}`)),n._injector??t}function Fs(n){let t=n.children&&n.children.map(Fs),r=t?ht(g({},n),{children:t}):g({},n);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==et&&(r.component=Kf),r}function Ne(n){return n.outlet||et}function tp(n,t){let r=n.filter(e=>Ne(e)===t);return r.push(...n.filter(e=>Ne(e)!==t)),r}function no(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var ep=(n,t,r,e)=>F(i=>(new Cs(t,i.targetRouterState,i.currentRouterState,r,e).activate(n),i)),Cs=class{constructor(t,r,e,i,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=e,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let r=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,e,t),ts(this.futureState.root),this.activateChildRoutes(r,e,t)}deactivateChildRoutes(t,r,e){let i=Qi(r);t.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],e),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,e)})}deactivateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(i===o)if(i.component){let a=e.getContext(i.outlet);a&&this.deactivateChildRoutes(t,r,a.children)}else this.deactivateChildRoutes(t,r,e);else o&&this.deactivateRouteAndItsChildren(r,e)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=Qi(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=Qi(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,r,e){let i=Qi(r);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],e),this.forwardEvent(new gs(o.value.snapshot))}),t.children.length&&this.forwardEvent(new ps(t.value.snapshot))}activateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(ts(i),i===o)if(i.component){let a=e.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,a.children)}else this.activateChildRoutes(t,r,e);else if(i.component){let a=e.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),ts(s.route.value),this.activateChildRoutes(t,null,a.children)}else{let s=no(i.snapshot);a.attachRef=null,a.route=i,a.injector=s,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,e)}},fr=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Ji=class{constructor(t,r){this.component=t,this.route=r}};function ip(n,t,r){let e=n._root,i=t?t._root:null;return Hn(e,i,r,[e.value])}function np(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function rn(n,t){let r=Symbol(),e=t.get(n,r);return e===r?typeof n=="function"&&!cd(n)?n:t.get(n):e}function Hn(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Qi(t);return n.children.forEach(a=>{op(a,o[a.value.outlet],r,e.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>qn(s,r.getContext(a),i)),i}function op(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,a=t?t.value:null,s=r?r.getContext(n.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let c=rp(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new fr(e)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Hn(n,t,s?s.children:null,e,i):Hn(n,t,r,e,i),c&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new Ji(s.outlet.component,a))}else a&&qn(t,s,i),i.canActivateChecks.push(new fr(e)),o.component?Hn(n,null,s?s.children:null,e,i):Hn(n,null,r,e,i);return i}function rp(n,t,r){if(typeof r=="function")return r(n,t);switch(r){case"pathParamsChange":return!Di(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Di(n.url,t.url)||!Pe(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xs(n,t)||!Pe(n.queryParams,t.queryParams);case"paramsChange":default:return!xs(n,t)}}function qn(n,t,r){let e=Qi(n),i=n.value;Object.entries(e).forEach(([o,a])=>{i.component?t?qn(a,t.children.getContext(o),r):qn(a,null,r):qn(a,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new Ji(t.outlet.component,i)):r.canDeactivateChecks.push(new Ji(null,i)):r.canDeactivateChecks.push(new Ji(null,i))}function oo(n){return typeof n=="function"}function ap(n){return typeof n=="boolean"}function sp(n){return n&&oo(n.canLoad)}function cp(n){return n&&oo(n.canActivate)}function dp(n){return n&&oo(n.canActivateChild)}function lp(n){return n&&oo(n.canDeactivate)}function mp(n){return n&&oo(n.canMatch)}function Dl(n){return n instanceof ed||n?.name==="EmptyError"}var nr=Symbol("INITIAL_VALUE");function on(){return vt(n=>yi(n.map(t=>t.pipe(rt(1),Ft(nr)))).pipe(F(t=>{for(let r of t)if(r!==!0){if(r===nr)return nr;if(r===!1||r instanceof si)return r}return!0}),tt(t=>t!==nr),rt(1)))}function up(n,t){return le(r=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?A(ht(g({},r),{guardsResult:!0})):hp(a,e,i,n).pipe(le(s=>s&&ap(s)?fp(e,o,n,t):A(s)),F(s=>ht(g({},r),{guardsResult:s})))})}function hp(n,t,r,e){return Ut(n).pipe(le(i=>vp(i.component,i.route,r,t,e)),ii(i=>i!==!0,!0))}function fp(n,t,r,e){return Ut(t).pipe(xi(i=>ji(bp(i.route.parent,e),pp(i.route,e),_p(n,i.path,r),gp(n,i.route,r))),ii(i=>i!==!0,!0))}function pp(n,t){return n!==null&&t&&t(new bs(n)),A(!0)}function bp(n,t){return n!==null&&t&&t(new fs(n)),A(!0)}function gp(n,t,r){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return A(!0);let i=e.map(o=>me(()=>{let a=no(t)??r,s=rn(o,a),c=cp(s)?s.canActivate(t,n):He(a,()=>s(t,n));return di(c).pipe(ii())}));return A(i).pipe(on())}function _p(n,t,r){let e=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>np(a)).filter(a=>a!==null).map(a=>me(()=>{let s=a.guards.map(c=>{let d=no(a.node)??r,m=rn(c,d),p=dp(m)?m.canActivateChild(e,n):He(d,()=>m(e,n));return di(p).pipe(ii())});return A(s).pipe(on())}));return A(o).pipe(on())}function vp(n,t,r,e,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let a=o.map(s=>{let c=no(t)??i,d=rn(s,c),m=lp(d)?d.canDeactivate(n,t,r,e):He(c,()=>d(n,t,r,e));return di(m).pipe(ii())});return A(a).pipe(on())}function yp(n,t,r,e){let i=t.canLoad;if(i===void 0||i.length===0)return A(!0);let o=i.map(a=>{let s=rn(a,n),c=sp(s)?s.canLoad(t,r):He(n,()=>s(t,r));return di(c)});return A(o).pipe(on(),Tl(e))}function Tl(n){return td(mt(t=>{if(en(t))throw kl(n,t)}),F(t=>t===!0))}function xp(n,t,r,e){let i=t.canMatch;if(!i||i.length===0)return A(!0);let o=i.map(a=>{let s=rn(a,n),c=mp(s)?s.canMatch(t,r):He(n,()=>s(t,r));return di(c)});return A(o).pipe(on(),Tl(e))}var eo=class{constructor(t){this.segmentGroup=t||null}},pr=class extends Error{constructor(t){super(),this.urlTree=t}};function Zi(n){return te(new eo(n))}function wp(n){return te(new gt(4e3,!1))}function Cp(n){return te(Il(!1,ne.GuardRejected))}var ks=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let e=[],i=r.root;for(;;){if(e=e.concat(i.segments),i.numberOfChildren===0)return A(e);if(i.numberOfChildren>1||!i.children[et])return wp(t.redirectTo);i=i.children[et]}}applyRedirectCommands(t,r,e){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,e);if(r.startsWith("/"))throw new pr(i);return i}applyRedirectCreateUrlTree(t,r,e,i){let o=this.createSegmentGroup(t,r.root,e,i);return new si(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let e={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);e[i]=r[s]}else e[i]=o}),e}createSegmentGroup(t,r,e,i){let o=this.createSegments(t,r.segments,e,i),a={};return Object.entries(r.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(t,c,e,i)}),new bt(o,a)}createSegments(t,r,e,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,e))}findPosParam(t,r,e){let i=e[r.path.substring(1)];if(!i)throw new gt(4001,!1);return i}findOrReturn(t,r){let e=0;for(let i of r){if(i.path===t.path)return r.splice(e),i;e++}return t}},Is={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kp(n,t,r,e,i){let o=Ps(n,t,r);return o.matched?(e=Jf(t,e),xp(e,t,r,i).pipe(F(a=>a===!0?o:g({},Is)))):A(o)}function Ps(n,t,r){if(t.path==="**")return Ip(r);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||r.length>0)?g({},Is):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(t.matcher||xf)(r,n,t);if(!i)return g({},Is);let o={};Object.entries(i.posParams??{}).forEach(([s,c])=>{o[s]=c.path});let a=i.consumed.length>0?g(g({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function Ip(n){return{matched:!0,parameters:n.length>0?sl(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function rl(n,t,r,e){return r.length>0&&Tp(n,r,e)?{segmentGroup:new bt(t,Dp(e,new bt(r,n.children))),slicedSegments:[]}:r.length===0&&Sp(n,r,e)?{segmentGroup:new bt(n.segments,Ep(n,r,e,n.children)),slicedSegments:r}:{segmentGroup:new bt(n.segments,n.children),slicedSegments:r}}function Ep(n,t,r,e){let i={};for(let o of r)if(gr(n,t,o)&&!e[Ne(o)]){let a=new bt([],{});i[Ne(o)]=a}return g(g({},e),i)}function Dp(n,t){let r={};r[et]=t;for(let e of n)if(e.path===""&&Ne(e)!==et){let i=new bt([],{});r[Ne(e)]=i}return r}function Tp(n,t,r){return r.some(e=>gr(n,t,e)&&Ne(e)!==et)}function Sp(n,t,r){return r.some(e=>gr(n,t,e))}function gr(n,t,r){return(n.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Ap(n,t,r,e){return Ne(n)!==e&&(e===et||!gr(t,r,n))?!1:Ps(t,n,r).matched}function Mp(n,t,r){return t.length===0&&!n.children[r]}var Es=class{};function Rp(n,t,r,e,i,o,a="emptyOnly"){return new Ds(n,t,r,e,i,a,o).recognize()}var Op=31,Ds=class{constructor(t,r,e,i,o,a,s){this.injector=t,this.configLoader=r,this.rootComponentType=e,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new ks(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new gt(4002,`'${t.segmentGroup}'`)}recognize(){let t=rl(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(F(r=>{let e=new Jn([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},et,this.rootComponentType,null,{}),i=new ie(e,r),o=new hr("",i),a=Bf(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,et).pipe(ue(e=>{if(e instanceof pr)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof eo?this.noMatchError(e):e}))}inheritParamsAndData(t,r){let e=t.value,i=As(e,r,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(o=>this.inheritParamsAndData(o,e))}processSegmentGroup(t,r,e,i){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,r,e):this.processSegment(t,r,e,e.segments,i,!0).pipe(F(o=>o instanceof ie?[o]:[]))}processChildren(t,r,e){let i=[];for(let o of Object.keys(e.children))o==="primary"?i.unshift(o):i.push(o);return Ut(i).pipe(xi(o=>{let a=e.children[o],s=tp(r,o);return this.processSegmentGroup(t,s,a,o)}),ad((o,a)=>(o.push(...a),o)),Ia(null),od(),le(o=>{if(o===null)return Zi(e);let a=Sl(o);return Fp(a),A(a)}))}processSegment(t,r,e,i,o,a){return Ut(r).pipe(xi(s=>this.processSegmentAgainstRoute(s._injector??t,r,s,e,i,o,a).pipe(ue(c=>{if(c instanceof eo)return A(null);throw c}))),ii(s=>!!s),ue(s=>{if(Dl(s))return Mp(e,i,o)?A(new Es):Zi(e);throw s}))}processSegmentAgainstRoute(t,r,e,i,o,a,s){return Ap(e,i,o,a)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,e,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,e,o,a):Zi(i):Zi(i)}expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,a){let{matched:s,consumedSegments:c,positionalParamSegments:d,remainingSegments:m}=Ps(r,i,o);if(!s)return Zi(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Op&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,d);return this.applyRedirects.lineralizeSegments(i,p).pipe(le(w=>this.processSegment(t,e,r,w.concat(m),a,!1)))}matchSegmentAgainstRoute(t,r,e,i,o){let a=kp(r,e,i,t,this.urlSerializer);return e.path==="**"&&(r.children={}),a.pipe(vt(s=>s.matched?(t=e._injector??t,this.getChildConfig(t,e,i).pipe(vt(({routes:c})=>{let d=e._loadedInjector??t,{consumedSegments:m,remainingSegments:p,parameters:w}=s,S=new Jn(m,w,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Np(e),Ne(e),e.component??e._loadedComponent??null,e,Lp(e)),{segmentGroup:X,slicedSegments:ct}=rl(r,m,p,c);if(ct.length===0&&X.hasChildren())return this.processChildren(d,c,X).pipe(F(ut=>ut===null?null:new ie(S,ut)));if(c.length===0&&ct.length===0)return A(new ie(S,[]));let ot=Ne(e)===o;return this.processSegment(d,c,X,ct,ot?et:o,!0).pipe(F(ut=>new ie(S,ut instanceof ie?[ut]:[])))}))):Zi(r)))}getChildConfig(t,r,e){return r.children?A({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?A({routes:r._loadedRoutes,injector:r._loadedInjector}):yp(t,r,e,this.urlSerializer).pipe(le(i=>i?this.configLoader.loadChildren(t,r).pipe(mt(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Cp(r))):A({routes:[],injector:t})}};function Fp(n){n.sort((t,r)=>t.value.outlet===et?-1:r.value.outlet===et?1:t.value.outlet.localeCompare(r.value.outlet))}function Pp(n){let t=n.value.routeConfig;return t&&t.path===""}function Sl(n){let t=[],r=new Set;for(let e of n){if(!Pp(e)){t.push(e);continue}let i=t.find(o=>e.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...e.children),r.add(i)):t.push(e)}for(let e of r){let i=Sl(e.children);t.push(new ie(e.value,i))}return t.filter(e=>!r.has(e))}function Np(n){return n.data||{}}function Lp(n){return n.resolve||{}}function jp(n,t,r,e,i,o){return le(a=>Rp(n,t,r,e,a.extractedUrl,i,o).pipe(F(({state:s,tree:c})=>ht(g({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function Vp(n,t){return le(r=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=r;if(!i.length)return A(r);let o=new Set(i.map(c=>c.route)),a=new Set;for(let c of o)if(!a.has(c))for(let d of Al(c))a.add(d);let s=0;return Ut(a).pipe(xi(c=>o.has(c)?Bp(c,e,n,t):(c.data=As(c,c.parent,n).resolve,A(void 0))),mt(()=>s++),Ea(1),le(c=>s===a.size?A(r):de))})}function Al(n){let t=n.children.map(r=>Al(r)).flat();return[n,...t]}function Bp(n,t,r,e){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!wl(i)&&(o[io]=i.title),zp(o,n,t,e).pipe(F(a=>(n._resolvedData=a,n.data=As(n,n.parent,r).resolve,null)))}function zp(n,t,r,e){let i=ns(n);if(i.length===0)return A({});let o={};return Ut(i).pipe(le(a=>Up(n[a],t,r,e).pipe(ii(),mt(s=>{o[a]=s}))),Ea(1),nd(o),ue(a=>Dl(a)?de:te(a)))}function Up(n,t,r,e){let i=no(t)??e,o=rn(n,i),a=o.resolve?o.resolve(t,r):He(i,()=>o(t,r));return di(a)}function es(n){return vt(t=>{let r=n(t);return r?Ut(r).pipe(F(()=>t)):A(t)})}var Ml=(()=>{let t=class t{buildTitle(e){let i,o=e.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(a=>a.outlet===et);return i}getResolvedTitleForRoute(e){return e.data[io]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(Hp),providedIn:"root"});let n=t;return n})(),Hp=(()=>{let t=class t extends Ml{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(u(Jd))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ns=new y("",{providedIn:"root",factory:()=>({})}),Ls=new y(""),$p=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(Oa)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return A(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=di(e.loadComponent()).pipe(F(Rl),mt(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),ei(()=>{this.componentLoaders.delete(e)})),o=new wa(i,()=>new E).pipe(xa());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return A({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Wp(i,this.compiler,e,this.onLoadEndListener).pipe(ei(()=>{this.childrenLoaders.delete(i)})),s=new wa(a,()=>new E).pipe(xa());return this.childrenLoaders.set(i,s),s}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Wp(n,t,r,e){return di(n.loadChildren()).pipe(F(Rl),le(i=>i instanceof xd||Array.isArray(i)?A(i):Ut(t.compileModuleAsync(i))),F(i=>{e&&e(n);let o,a,s=!1;return Array.isArray(i)?(a=i,s=!0):(o=i.create(r).injector,a=o.get(Ls,[],{optional:!0,self:!0}).flat()),{routes:a.map(Fs),injector:o}}))}function Gp(n){return n&&typeof n=="object"&&"default"in n}function Rl(n){return Gp(n)?n.default:n}var js=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(qp),providedIn:"root"});let n=t;return n})(),qp=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Yp=new y("");var Xp=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new E,this.transitionAbortSubject=new E,this.configLoader=_($p),this.environmentInjector=_(Ui),this.urlSerializer=_(Ss),this.rootContexts=_(br),this.location=_(ri),this.inputBindingEnabled=_(Os,{optional:!0})!==null,this.titleStrategy=_(Ml),this.options=_(Ns,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(js),this.createViewTransition=_(Yp,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>A(void 0),this.rootComponentType=null;let e=o=>this.events.next(new us(o)),i=o=>this.events.next(new hs(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ht(g(g({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,o){return this.transitions=new St({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Gn,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(tt(a=>a.id!==0),F(a=>ht(g({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),vt(a=>{let s=!1,c=!1;return A(a).pipe(vt(d=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",ne.SupersededByNewNavigation),de;this.currentTransition=a,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?ht(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let m=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=d.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!m&&p!=="reload"){let w="";return this.events.next(new Si(d.id,this.urlSerializer.serialize(d.rawUrl),w,ss.IgnoredSameUrlNavigation)),d.resolve(null),de}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return A(d).pipe(vt(w=>{let S=this.transitions?.getValue();return this.events.next(new Xn(w.id,this.urlSerializer.serialize(w.extractedUrl),w.source,w.restoredState)),S!==this.transitions?.getValue()?de:Promise.resolve(w)}),jp(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),mt(w=>{a.targetSnapshot=w.targetSnapshot,a.urlAfterRedirects=w.urlAfterRedirects,this.currentNavigation=ht(g({},this.currentNavigation),{finalUrl:w.urlAfterRedirects});let S=new lr(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(S)}));if(m&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:w,extractedUrl:S,source:X,restoredState:ct,extras:ot}=d,ut=new Xn(w,this.urlSerializer.serialize(S),X,ct);this.events.next(ut);let Ce=yl(this.rootComponentType).snapshot;return this.currentTransition=a=ht(g({},d),{targetSnapshot:Ce,urlAfterRedirects:S,extras:ht(g({},ot),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=S,A(a)}else{let w="";return this.events.next(new Si(d.id,this.urlSerializer.serialize(d.extractedUrl),w,ss.IgnoredByUrlHandlingStrategy)),d.resolve(null),de}}),mt(d=>{let m=new cs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(m)}),F(d=>(this.currentTransition=a=ht(g({},d),{guards:ip(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),a)),up(this.environmentInjector,d=>this.events.next(d)),mt(d=>{if(a.guardsResult=d.guardsResult,en(d.guardsResult))throw kl(this.urlSerializer,d.guardsResult);let m=new ds(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(m)}),tt(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",ne.GuardRejected),!1)),es(d=>{if(d.guards.canActivateChecks.length)return A(d).pipe(mt(m=>{let p=new ls(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(p)}),vt(m=>{let p=!1;return A(m).pipe(Vp(this.paramsInheritanceStrategy,this.environmentInjector),mt({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(m,"",ne.NoDataFromResolver)}}))}),mt(m=>{let p=new ms(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(p)}))}),es(d=>{let m=p=>{let w=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&w.push(this.configLoader.loadComponent(p.routeConfig).pipe(mt(S=>{p.component=S}),F(()=>{})));for(let S of p.children)w.push(...m(S));return w};return yi(m(d.targetSnapshot.root)).pipe(Ia(null),rt(1))}),es(()=>this.afterPreactivation()),vt(()=>{let{currentSnapshot:d,targetSnapshot:m}=a,p=this.createViewTransition?.(this.environmentInjector,d.root,m.root);return p?Ut(p).pipe(F(()=>a)):A(a)}),F(d=>{let m=Yf(e.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=a=ht(g({},d),{targetRouterState:m}),this.currentNavigation.targetRouterState=m,a}),mt(()=>{this.events.next(new Qn)}),ep(this.rootContexts,e.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),rt(1),mt({next:d=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ti(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{s=!0}}),dt(this.transitionAbortSubject.pipe(mt(d=>{throw d}))),ei(()=>{!s&&!c&&this.cancelNavigationTransition(a,"",ne.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),ue(d=>{if(c=!0,El(d))this.events.next(new ci(a.id,this.urlSerializer.serialize(a.extractedUrl),d.message,d.cancellationCode)),Qf(d)?this.events.next(new Kn(d.url)):a.resolve(!1);else{this.events.next(new Zn(a.id,this.urlSerializer.serialize(a.extractedUrl),d,a.targetSnapshot??void 0));try{a.resolve(e.errorHandler(d))}catch(m){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(m)}}return de}))}))}cancelNavigationTransition(e,i,o){let a=new ci(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Zp(n){return n!==Gn}var Qp=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(Kp),providedIn:"root"});let n=t;return n})(),Ts=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},Kp=(()=>{let t=class t extends Ts{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ol=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(Jp),providedIn:"root"});let n=t;return n})(),Jp=(()=>{let t=class t extends Ol{constructor(){super(...arguments),this.location=_(ri),this.urlSerializer=_(Ss),this.options=_(Ns,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(js),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new si,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=yl(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof Xn)this.stateMemento=this.createStateMemento();else if(e instanceof Si)this.rawUrlTree=i.initialUrl;else if(e instanceof lr){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else e instanceof Qn?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):e instanceof ci&&(e.code===ne.GuardRejected||e.code===ne.NoDataFromResolver)?this.restoreHistory(i):e instanceof Zn?this.restoreHistory(i,!0):e instanceof Ti&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let a=this.browserPageId,s=g(g({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(o,"",s)}else{let a=g(g({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),$n=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}($n||{});function tb(n,t){n.events.pipe(tt(r=>r instanceof Ti||r instanceof ci||r instanceof Zn||r instanceof Si),F(r=>r instanceof Ti||r instanceof Si?$n.COMPLETE:(r instanceof ci?r.code===ne.Redirect||r.code===ne.SupersededByNewNavigation:!1)?$n.REDIRECTING:$n.FAILED),tt(r=>r!==$n.REDIRECTING),rt(1)).subscribe(()=>{t()})}function eb(n){throw n}var ib={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},nb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},li=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=_(Uo),this.stateManager=_(Ol),this.options=_(Ns,{optional:!0})||{},this.pendingTasks=_(Lo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(Xp),this.urlSerializer=_(Ss),this.location=_(ri),this.urlHandlingStrategy=_(js),this._events=new E,this.errorHandler=this.options.errorHandler||eb,this.navigated=!1,this.routeReuseStrategy=_(Qp),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(Ls,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(Os,{optional:!0}),this.eventsSubscription=new kt,this.isNgZoneEnabled=_(k)instanceof k&&k.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof ci&&i.code!==ne.Redirect&&i.code!==ne.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ti)this.navigated=!0;else if(i instanceof Kn){let s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Zp(o.source)};this.scheduleNavigation(s,Gn,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}rb(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Gn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let d=g({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(a.state=d)}let c=this.parseUrl(e);this.scheduleNavigation(c,i,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Fs),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:c,preserveFragment:d}=i,m=d?this.currentUrlTree.fragment:s,p=null;switch(c){case"merge":p=g(g({},this.currentUrlTree.queryParams),a);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=a||null}p!==null&&(p=this.removeEmptyProps(p));let w;try{let S=o?o.snapshot:this.routerState.snapshot.root;w=bl(S)}catch{(typeof e[0]!="string"||!e[0].startsWith("/"))&&(e=[]),w=this.currentUrlTree.root}return gl(w,e,p,m??null)}navigateByUrl(e,i={skipLocationChange:!1}){let o=en(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,Gn,null,i)}navigate(e,i={skipLocationChange:!1}){return ob(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let o;if(i===!0?o=g({},ib):i===!1?o=g({},nb):o=i,en(e))return el(this.currentUrlTree,e,o);let a=this.parseUrl(e);return el(this.currentUrlTree,a,o)}removeEmptyProps(e){return Object.entries(e).reduce((i,[o,a])=>(a!=null&&(i[o]=a),i),{})}scheduleNavigation(e,i,o,a,s){if(this.disposed)return Promise.resolve(!1);let c,d,m;s?(c=s.resolve,d=s.reject,m=s.promise):m=new Promise((w,S)=>{c=w,d=S});let p=this.pendingTasks.add();return tb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:c,reject:d,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(w=>Promise.reject(w))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function ob(n){for(let t=0;tr.\u0275providers)])}function sb(n){return n.routerState.root}function cb(){let n=_(xt);return t=>{let r=n.get(oi);if(t!==r.components[0])return;let e=n.get(li),i=n.get(db);n.get(lb)===1&&e.initialNavigation(),n.get(mb,null,Ta.Optional)?.setUpPreloading(),n.get(ab,null,Ta.Optional)?.init(),e.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var db=new y("",{factory:()=>new E}),lb=new y("",{providedIn:"root",factory:()=>1});var mb=new y("");var Bs;try{Bs=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Bs=!1}var J=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Fn(this._platformId):typeof document=="object"&&!!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||Bs)&&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}};t.\u0275fac=function(i){return new(i||t)(u(he))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var an,Nl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function zs(){if(an)return an;if(typeof document!="object"||!document)return an=new Set(Nl),an;let n=document.createElement("input");return an=new Set(Nl.filter(t=>(n.setAttribute("type",t),n.type===t))),an}var ro;function ub(){if(ro==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ro=!0}))}finally{ro=ro||!1}return ro}function ye(n){return ub()?n:!!n.capture}var Ee=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(Ee||{}),_r,Ai;function vr(){if(Ai==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ai=!1,Ai;if("scrollBehavior"in document.documentElement.style)Ai=!0;else{let n=Element.prototype.scrollTo;n?Ai=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Ai=!1}}return Ai}function sn(){if(typeof document!="object"||!document)return Ee.NORMAL;if(_r==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),e=r.style;e.width="2px",e.height="1px",n.appendChild(r),document.body.appendChild(n),_r=Ee.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,_r=n.scrollLeft===0?Ee.NEGATED:Ee.INVERTED),n.remove()}return _r}var Vs;function hb(){if(Vs==null){let n=typeof document<"u"?document.head:null;Vs=!!(n&&(n.createShadowRoot||n.attachShadow))}return Vs}function Ll(n){if(hb()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function ao(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function oe(n){return n.composedPath?n.composedPath()[0]:n.target}function so(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Mt(n,...t){return t.length?t.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function ae(n){return n!=null&&`${n}`!="false"}function De(n,t=0){return fb(n)?Number(n):t}function fb(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function cn(n){return Array.isArray(n)?n:[n]}function Et(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Qt(n){return n instanceof D?n.nativeElement:n}function pb(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let t=0;t{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),bb=(()=>{let t=class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=Qt(e);return new Yt(o=>{let s=this._observeElement(i).pipe(F(c=>c.filter(d=>!pb(d))),tt(c=>!!c.length)).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new E,o=this._mutationObserverFactory.create(a=>i.next(a));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,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)){let{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}};t.\u0275fac=function(i){return new(i||t)(u(jl))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Vl=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=De(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new V,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Bi(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(bb),l(D),l(k))},t.\u0275dir=I({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[b.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",q],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ft]});let n=t;return n})(),yr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[jl]});let n=t;return n})();var Bl=new Set,Mi,gb=(()=>{let t=class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):vb}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&_b(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(i){return new(i||t)(u(J),u(Mn,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function _b(n,t){if(!Bl.has(n))try{Mi||(Mi=document.createElement("style"),t&&Mi.setAttribute("nonce",t),Mi.setAttribute("type","text/css"),document.head.appendChild(Mi)),Mi.sheet&&(Mi.sheet.insertRule(`@media ${n} {body{ }}`,0),Bl.add(n))}catch(r){console.error(r)}}function vb(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var dn=(()=>{let t=class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return zl(cn(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=zl(cn(e)).map(s=>this._registerQuery(s).observable),a=yi(o);return a=ji(a.pipe(rt(1)),a.pipe(zi(1),Bi(0))),a.pipe(F(s=>{let c={matches:!1,breakpoints:{}};return s.forEach(({matches:d,query:m})=>{c.matches=c.matches||d,c.breakpoints[m]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new Yt(s=>{let c=d=>this._zone.run(()=>s.next(d));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Ft(i),F(({matches:s})=>({query:e,matches:s})),dt(this._destroySubject)),mql:i};return this._queries.set(e,a),a}};t.\u0275fac=function(i){return new(i||t)(u(gb),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function zl(n){return n.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var We={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var ql=" ";function Sr(n,t,r){let e=kr(n,t);r=r.trim(),!e.some(i=>i.trim()===r)&&(e.push(r),n.setAttribute(t,e.join(ql)))}function co(n,t,r){let e=kr(n,t);r=r.trim();let i=e.filter(o=>o!==r);i.length?n.setAttribute(t,i.join(ql)):n.removeAttribute(t)}function kr(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}var Yl="cdk-describedby-message",xr="cdk-describedby-host",$s=0,Xl=(()=>{let t=class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${$s++}`,this._document=e,this._id=_(An)+"-"+$s++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;let a=Us(i,o);typeof i!="string"?(Hl(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;let a=Us(i,o);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let s=this._messageRegistry.get(a);s&&s.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${xr}="${this._id}"]`);for(let i=0;io.indexOf(Yl)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let o=this._messageRegistry.get(i);Sr(e,"aria-describedby",o.messageElement.id),e.setAttribute(xr,this._id),o.referenceCount++}_removeMessageReference(e,i){let o=this._messageRegistry.get(i);o.referenceCount--,co(e,"aria-describedby",o.messageElement.id),e.removeAttribute(xr)}_isElementDescribedByMessage(e,i){let o=kr(e,"aria-describedby"),a=this._messageRegistry.get(i),s=a&&a.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return o?!a||a.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}};t.\u0275fac=function(i){return new(i||t)(u(L),u(J))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Us(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function Hl(n,t){n.id||(n.id=`${Yl}-${t}-${$s++}`)}var Ir=class{constructor(t,r){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E,this._typeaheadSubscription=kt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new E,this.change=new E,t instanceof Sn?this._itemChangesSubscription=t.changes.subscribe(e=>this._itemsChanged(e.toArray())):Aa(t)&&(this._effectRef=Ad(()=>this._itemsChanged(t()),{injector: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(mt(r=>this._pressedLetters.push(r)),Bi(t),tt(()=>this._pressedLetters.length>0),F(()=>this._pressedLetters.join(""))).subscribe(r=>{let e=this._getItemsArray();for(let i=1;i!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}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){let r=this._getItemsArray(),e=typeof t=="number"?t:r.indexOf(t),i=r[e];this._activeItem=i??null,this._activeItemIndex=e}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let r=this._getItemsArray();for(let e=1;e<=r.length;e++){let i=(this._activeItemIndex+t*e+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,r){let e=this._getItemsArray();if(e[t]){for(;this._skipPredicateFn(e[t]);)if(t+=r,!e[t])return;this.setActiveItem(t)}}_getItemsArray(){return Aa(this._items)?this._items():this._items instanceof Sn?this._items.toArray():this._items}_itemsChanged(t){if(this._activeItem){let r=t.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Er=class extends Ir{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},Dr=class extends Ir{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var Oi=(()=>{let t=class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Nb(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=Pb($b(e));if(i&&($l(i)===-1||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),a=$l(e);return e.hasAttribute("contenteditable")?a!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Ub(e)?!1:o==="audio"?e.hasAttribute("controls")?a!==-1:!1:o==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return Hb(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}};t.\u0275fac=function(i){return new(i||t)(u(J))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Pb(n){try{return n.frameElement}catch{return null}}function Nb(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Lb(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function jb(n){return Bb(n)&&n.type=="hidden"}function Vb(n){return zb(n)&&n.hasAttribute("href")}function Bb(n){return n.nodeName.toLowerCase()=="input"}function zb(n){return n.nodeName.toLowerCase()=="a"}function Zl(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function $l(n){if(!Zl(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Ub(n){let t=n.nodeName.toLowerCase(),r=t==="input"&&n.type;return r==="text"||r==="password"||t==="select"||t==="textarea"}function Hb(n){return jb(n)?!1:Lb(n)||Vb(n)||n.hasAttribute("contenteditable")||Zl(n)}function $b(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Ws=class{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,r,e,i,o=!1){this._element=t,this._checker=r,this._ngZone=e,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let t=this._startAnchor,r=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let r=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let e=this._getFirstTabbableElement(r);return e?.focus(t),!!e}return r.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let r=this._getRegionBoundary("start");return r&&r.focus(t),!!r}focusLastTabbableElement(t){let r=this._getRegionBoundary("end");return r&&r.focus(t),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let r=t.children;for(let e=0;e=0;e--){let i=r[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[e]):null;if(i)return i}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,r){t?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(rt(1)).subscribe(t)}},mn=(()=>{let t=class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new Ws(e,this._checker,this._ngZone,this._document,i)}};t.\u0275fac=function(i){return new(i||t)(u(Oi),u(k),u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Ys(n){return n.buttons===0||n.detail===0}function Xs(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Wb=new y("cdk-input-modality-detector-options"),Gb={ignoreKeys:[18,17,224,91,16]},Ql=650,ln=ye({passive:!0,capture:!0}),qb=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,a){this._platform=e,this._mostRecentTarget=null,this._modality=new St(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=oe(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Xs(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=oe(s)},this._options=g(g({},Gb),a),this.modalityDetected=this._modality.pipe(zi(1)),this.modalityChanged=this.modalityDetected.pipe(Dn()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ln),o.addEventListener("mousedown",this._onMousedown,ln),o.addEventListener("touchstart",this._onTouchstart,ln)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ln),document.removeEventListener("mousedown",this._onMousedown,ln),document.removeEventListener("touchstart",this._onTouchstart,ln))}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k),u(L),u(Wb,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Yb=new y("liveAnnouncerElement",{providedIn:"root",factory:Xb});function Xb(){return null}var Zb=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Qb=0,Kl=(()=>{let t=class t{constructor(e,i,o,a){this._ngZone=i,this._defaultOptions=a,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){let o=this._defaultOptions,a,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[a,s]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=class t{constructor(e,i,o,a,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new E,this._rootNodeFocusAndBlurListener=c=>{let d=oe(c);for(let m=d;m;m=m.parentElement)c.type==="focus"?this._onFocus(c,m):this._onBlur(c,m)},this._document=a,this._detectionMode=s?.detectionMode||Cr.IMMEDIATE}monitor(e,i=!1){let o=Qt(e);if(!this._platform.isBrowser||o.nodeType!==1)return A();let a=Ll(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let c={checkChildren:i,subject:new E,rootNode:a};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let i=Qt(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let a=Qt(e),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Cr.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Cr.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ql:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),a=oe(e);!o||!o.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,wr),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,wr)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(dt(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,wr),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,wr),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,a)=>{(a===e||o.checkChildren&&a.contains(e))&&i.push([a,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let s=0;s{let t=class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new V}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(se))},t.\u0275dir=I({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let n=t;return n})(),Ri=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(Ri||{}),Wl="cdk-high-contrast-black-on-white",Gl="cdk-high-contrast-white-on-black",Hs="cdk-high-contrast-active",Zs=(()=>{let t=class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_(dn).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ri.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ri.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ri.BLACK_ON_WHITE}return Ri.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Hs,Wl,Gl),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Ri.BLACK_ON_WHITE?e.add(Hs,Wl):i===Ri.WHITE_ON_BLACK&&e.add(Hs,Gl)}}};t.\u0275fac=function(i){return new(i||t)(u(J),u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ar=(()=>{let t=class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}};t.\u0275fac=function(i){return new(i||t)(u(Zs))},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[yr]});let n=t;return n})();var Jb=new y("cdk-dir-doc",{providedIn:"root",factory:tg});function tg(){return _(L)}var eg=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function ig(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?eg.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Lt=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new V,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=ig(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(u(Jb,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var mi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var ng=20,fn=(()=>{let t=class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=ng){return this._platform.isBrowser?new Yt(i=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(ka(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):A()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(tt(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=Qt(i),a=e.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Ht(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(u(k),u(J),u(L,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Qs=(()=>{let t=class t{constructor(e,i,o,a){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=a,this._destroyed=new E,this._elementScrolled=new Yt(s=>this.ngZone.runOutsideAngular(()=>Ht(this.elementRef.nativeElement,"scroll").pipe(dt(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&sn()!=Ee.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),sn()==Ee.INVERTED?e.left=e.right:sn()==Ee.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;vr()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",o="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:i:e=="end"&&(e=s?i:o),s&&sn()==Ee.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:s&&sn()==Ee.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}};t.\u0275fac=function(i){return new(i||t)(l(D),l(fn),l(k),l(Lt,8))},t.\u0275dir=I({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=t;return n})(),og=20,Ge=(()=>{let t=class t{constructor(e,i,o){this._platform=e,this._change=new E,this._changeListener=a=>{this._change.next(a)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),o=e.documentElement,a=o.getBoundingClientRect(),s=-a.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,c=-a.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:s,left:c}}change(e=og){return e>0?this._change.pipe(ka(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k),u(L,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var hn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})(),Ks=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[mi,hn,mi,hn]});let n=t;return n})();var lo=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},Te=class extends lo{constructor(t,r,e,i,o){super(),this.component=t,this.viewContainerRef=r,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},ce=class extends lo{constructor(t,r,e,i){super(),this.templateRef=t,this.viewContainerRef=r,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},tc=class extends lo{constructor(t){super(),this.element=t instanceof D?t.nativeElement:t}},ui=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof Te)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof ce)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof tc)return this._attachedPortal=t,this.attachDomPortal(t)}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)}};var Mr=class extends ui{constructor(t,r,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=r,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||xt.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let r=t.viewContainerRef,e=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(e);i!==-1&&r.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var tm=(()=>{let t=class t extends ce{constructor(e,i){super(e,i)}};t.\u0275fac=function(i){return new(i||t)(l(Vt),l($t))},t.\u0275dir=I({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[it]});let n=t;return n})();var Kt=(()=>{let t=class t extends ui{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new V,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(c,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(a,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(i){return new(i||t)(l(Wi),l($t),l(L))},t.\u0275dir=I({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[b.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[it]});let n=t;return n})();var Se=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var em=vr(),ec=class{constructor(t,r){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Et(-this._previousScrollPosition.left),t.style.top=Et(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,r=this._document.body,e=t.style,i=r.style,o=e.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),em&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),em&&(e.scrollBehavior=o,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,e=this._viewportRuler.getViewportSize();return r.scrollHeight>e.height||r.scrollWidth>e.width}};var ic=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._ngZone=r,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(tt(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-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}},Rr=class{enable(){}disable(){}attach(){}};function nc(n,t){return t.some(r=>{let e=n.bottomr.bottom,o=n.rightr.right;return e||i||o||a})}function im(n,t){return t.some(r=>{let e=n.topr.bottom,o=n.leftr.right;return e||i||o||a})}var oc=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();nc(r,[{width:e,height:i,bottom:i,right:e,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}},rg=(()=>{let t=class t{constructor(e,i,o,a){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Rr,this.close=s=>new ic(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new ec(this._viewportRuler,this._document),this.reposition=s=>new oc(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};t.\u0275fac=function(i){return new(i||t)(u(fn),u(Ge),u(k),u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),qe=class{constructor(t){if(this.scrollStrategy=new Rr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let r=Object.keys(t);for(let e of r)t[e]!==void 0&&(this[e]=t[e])}}};var rc=class{constructor(t,r){this.connectionPair=t,this.scrollableViewProperties=r}};var sm=(()=>{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ag=(()=>{let t=class t extends sm{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let c=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);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)}};t.\u0275fac=function(i){return new(i||t)(u(L),u(k,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),sg=(()=>{let t=class t extends sm{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=oe(a)},this._clickListener=a=>{let s=oe(a),c=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let m=d.length-1;m>-1;m--){let p=d[m];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(c))break;let w=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>w.next(a)):w.next(a)}}}add(e){if(super.add(e),!this._isAttached){let 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){let 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)}};t.\u0275fac=function(i){return new(i||t)(u(L),u(J),u(k,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),pn=(()=>{let t=class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||so()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;athis._backdropClick.next(p),this._backdropTransitionendHandler=p=>{this._disposeBackdrop(p.target)},this._keydownEvents=new E,this._outsidePointerEvents=new E,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.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);let r=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(rt(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),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=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,t&&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=g(g({},this._config),t),this._updateElementSize()}setDirection(t){this._config=ht(g({},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(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=Et(this._config.width),t.height=Et(this._config.height),t.minWidth=Et(this._config.minWidth),t.minHeight=Et(this._config.minHeight),t.maxWidth=Et(this._config.maxWidth),t.maxHeight=Et(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let 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&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}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,r,e){let i=cn(r||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(dt(Dt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let 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)}},nm="cdk-overlay-connected-position-bounding-box",cg=/([A-Za-z%]+)$/,ac=class{get positions(){return this._preferredPositions}constructor(t,r,e,i,o){this._viewportRuler=r,this._document=e,this._platform=i,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 E,this._resizeSubscription=kt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(nm),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){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,r=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(t,i,s),d=this._getOverlayPoint(c,r,s),m=this._getOverlayFit(d,r,e,s);if(m.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(m,d,e)){o.push({position:s,origin:c,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=m,s=d)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Pi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(nm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,r)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!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,r,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i=e.originX=="start"?a:s}r.left<0&&(i-=r.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(t,r,e){let i;e.overlayX=="center"?i=-r.width/2:e.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return e.overlayY=="center"?o=-r.height/2:o=e.overlayY=="top"?0:-r.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,r,e,i){let o=rm(r),{x:a,y:s}=t,c=this._getOffset(i,"x"),d=this._getOffset(i,"y");c&&(a+=c),d&&(s+=d);let m=0-a,p=a+o.width-e.width,w=0-s,S=s+o.height-e.height,X=this._subtractOverflows(o.width,m,p),ct=this._subtractOverflows(o.height,w,S),ot=X*ct;return{visibleArea:ot,isCompletelyWithinViewport:o.width*o.height===ot,fitsInViewportVertically:ct===o.height,fitsInViewportHorizontally:X==o.width}}_canFitWithFlexibleDimensions(t,r,e){if(this._hasFlexibleDimensions){let i=e.bottom-r.y,o=e.right-r.x,a=om(this._overlayRef.getConfig().minHeight),s=om(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportVertically||a!=null&&a<=i,d=t.fitsInViewportHorizontally||s!=null&&s<=o;return c&&d}return!1}_pushOverlayOnScreen(t,r,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=rm(r),o=this._viewportRect,a=Math.max(t.x+i.width-o.width,0),s=Math.max(t.y+i.height-o.height,0),c=Math.max(o.top-e.top-t.y,0),d=Math.max(o.left-e.left-t.x,0),m=0,p=0;return i.width<=o.width?m=d||-a:m=t.xX&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-X/2)}let c=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,d=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,m,p,w;if(d)w=e.width-t.x+this._viewportMargin*2,m=t.x-this._viewportMargin;else if(c)p=t.x,m=e.right-t.x;else{let S=Math.min(e.right-t.x+e.left,t.x),X=this._lastBoundingBoxSize.width;m=S*2,p=t.x-S,m>X&&!this._isInitialRender&&!this._growAfterOpen&&(p=t.x-X/2)}return{top:a,left:p,bottom:s,right:w,width:m,height:o}}_setBoundingBoxStyles(t,r){let e=this._calculateBoundingBoxRect(t,r);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Et(e.height),i.top=Et(e.top),i.bottom=Et(e.bottom),i.width=Et(e.width),i.left=Et(e.left),i.right=Et(e.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Et(o)),a&&(i.maxWidth=Et(a))}this._lastBoundingBoxSize=e,Pi(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Pi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Pi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,r){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let m=this._viewportRuler.getViewportScrollPosition();Pi(e,this._getExactOverlayY(r,t,m)),Pi(e,this._getExactOverlayX(r,t,m))}else e.position="static";let s="",c=this._getOffset(r,"x"),d=this._getOffset(r,"y");c&&(s+=`translateX(${c}px) `),d&&(s+=`translateY(${d}px)`),e.transform=s.trim(),a.maxHeight&&(i?e.maxHeight=Et(a.maxHeight):o&&(e.maxHeight="")),a.maxWidth&&(i?e.maxWidth=Et(a.maxWidth):o&&(e.maxWidth="")),Pi(this._pane.style,e)}_getExactOverlayY(t,r,e){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(o.y+this._overlayRect.height)}px`}else i.top=Et(o.y);return i}_getExactOverlayX(t,r,e){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(o.x+this._overlayRect.width)}px`}else i.left=Et(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),r=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:im(t,e),isOriginOutsideView:nc(t,e),isOverlayClipped:im(r,e),isOverlayOutsideView:nc(r,e)}}_subtractOverflows(t,...r){return r.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+r-this._viewportMargin,width:t-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,r){return r==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&cn(t).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof D)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let r=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+r,height:e,width:r}}};function Pi(n,t){for(let r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n}function om(n){if(typeof n!="number"&&n!=null){let[t,r]=n.split(cg);return!r||r==="px"?parseFloat(t):null}return n||null}function rm(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function dg(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var am="cdk-global-overlay-wrapper",sc=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let r=t.getConfig();this._overlayRef=t,this._width&&!r.width&&t.updateSize({width:this._width}),this._height&&!r.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(am),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;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:a,maxHeight:s}=e,c=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),d=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),m=this._xPosition,p=this._xOffset,w=this._overlayRef.getConfig().direction==="rtl",S="",X="",ct="";c?ct="flex-start":m==="center"?(ct="center",w?X=p:S=p):w?m==="left"||m==="end"?(ct="flex-end",S=p):(m==="right"||m==="start")&&(ct="flex-start",X=p):m==="left"||m==="start"?(ct="flex-start",S=p):(m==="right"||m==="end")&&(ct="flex-end",X=p),t.position=this._cssPosition,t.marginLeft=c?"0":S,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":X,r.justifyContent=ct,r.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,e=r.style;r.classList.remove(am),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},lg=(()=>{let t=class t{constructor(e,i,o,a){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=a}global(){return new sc}flexibleConnectedTo(e){return new ac(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(u(Ge),u(L),u(J),u(pn))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),mg=0,yt=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m,p,w,S,X){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=c,this._ngZone=d,this._document=m,this._directionality=p,this._location=w,this._outsideClickDispatcher=S,this._animationsModuleType=X}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),a=this._createPortalOutlet(o),s=new qe(e);return s.direction=s.direction||this._directionality.value,new Ae(a,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${mg++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(oi)),new Mr(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(u(rg),u(pn),u(Wi),u(lg),u(ag),u(xt),u(k),u(L),u(Lt),u(ri),u(sg),u(_t,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var ug=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition()}});function hg(n){return()=>n.scrollStrategies.reposition()}var fg={provide:ug,deps:[yt],useFactory:hg},Le=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[yt,fg],imports:[mi,Se,Ks,Ks]});let n=t;return n})();function pg(n,t){}var Ye=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var uo=(()=>{let t=class t extends ui{constructor(e,i,o,a,s,c,d,m){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=s,this._ngZone=c,this._overlayRef=d,this._focusMonitor=m,this._platform=_(J),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=_(pt),this.attachDomPortal=p=>{this._portalOutlet.hasAttached();let w=this._portalOutlet.attachDomPortal(p);return this._contentAttached(),w},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=ao(),a=this._elementRef.nativeElement;(!o||o===this._document.body||o===a||a.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=ao();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ao()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.\u0275fac=function(i){return new(i||t)(l(D),l(mn),l(L,8),l(Ye),l(Oi),l(k),l(Ae),l(se))},t.\u0275cmp=M({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&nt(Kt,7),i&2){let a;U(a=H())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&Y("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[it,O],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&B(0,pg,0,0,"ng-template",0)},dependencies:[Kt],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let n=t;return n})(),mo=class{constructor(t,r){this.overlayRef=t,this.config=r,this.closed=new E,this.disableClose=r.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(e=>{e.keyCode===27&&!this.disableClose&&!Mt(e)&&(e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(t,r){if(this.containerInstance){let e=this.closed;this.containerInstance._closeInteractionType=r?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),e.next(t),e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",r=""){return this.overlayRef.updateSize({width:t,height:r}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}},bg=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.block()}}),gg=new y("DialogData"),_g=new y("DefaultDialogConfig");var vg=0,ho=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,a,s,c){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this._ariaHiddenElements=new Map,this.afterAllClosed=me(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0))),this._scrollStrategy=c}open(e,i){let o=this._defaultOptions||new Ye;i=g(g({},o),i),i.id=i.id||`cdk-dialog-${vg++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),s=this._overlay.create(a),c=new mo(s,i),d=this._attachContainer(s,c,i);return c.containerInstance=d,this._attachDialogContent(e,c,d,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){cc(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){cc(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),cc(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new qe({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){let a=o.injector||o.viewContainerRef?.injector,s=[{provide:Ye,useValue:o},{provide:mo,useValue:i},{provide:Ae,useValue:e}],c;o.container?typeof o.container=="function"?c=o.container:(c=o.container.type,s.push(...o.container.providers(o))):c=uo;let d=new Te(c,o.viewContainerRef,xt.create({parent:a||this._injector,providers:s}),o.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,i,o,a){if(e instanceof Vt){let s=this._createInjector(a,i,o,void 0),c={$implicit:a.data,dialogRef:i};a.templateContext&&(c=g(g({},c),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),o.attachTemplatePortal(new ce(e,null,c,s))}else{let s=this._createInjector(a,i,o,this._injector),c=o.attachComponentPortal(new Te(e,a.viewContainerRef,s,a.componentFactoryResolver));i.componentRef=c,i.componentInstance=c.instance}}_createInjector(e,i,o,a){let s=e.injector||e.viewContainerRef?.injector,c=[{provide:gg,useValue:e.data},{provide:mo,useValue:i}];return e.providers&&(typeof e.providers=="function"?c.push(...e.providers(i,e,o)):c.push(...e.providers)),e.direction&&(!s||!s.get(Lt,null,{optional:!0}))&&c.push({provide:Lt,useValue:{value:e.direction,change:A()}}),xt.create({parent:s||a,providers:c})}_removeOpenDialog(e,i){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){let a=i[o];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(_g,8),u(t,12),u(pn),u(bg))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function cc(n,t){let r=n.length;for(;r--;)t(n[r])}var Or=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[ho],imports:[Le,Se,Ar,Se]});let n=t;return n})();var xg=["text"],wg=[[["mat-icon"]],"*"],Cg=["mat-icon","*"];function kg(n,t){if(n&1&&R(0,"mat-pseudo-checkbox",1),n&2){let r=G();j("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function Ig(n,t){if(n&1&&R(0,"mat-pseudo-checkbox",3),n&2){let r=G();j("disabled",r.disabled)}}function Eg(n,t){if(n&1&&(h(0,"span",4),C(1),f()),n&2){let r=G();v(),Wt("(",r.group.label,")")}}var Dg=["mat-internal-form-field",""],Tg=["*"];var pc=(()=>{let t=class t{};t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let n=t;return n})(),bc=(()=>{let t=class t{};t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms";let n=t;return n})();function Sg(){return!0}var Ag=new y("mat-sanity-checks",{providedIn:"root",factory:Sg}),Q=(()=>{let t=class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return so()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(i){return new(i||t)(u(Zs),u(Ag,8),u(L))},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[mi,mi]});let n=t;return n})();var Pr=class{constructor(t,r,e,i,o){this._defaultMatcher=t,this.ngControl=r,this._parentFormGroup=e,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let t=this.errorState,r=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=e?.isErrorState(i,r)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var bm=(()=>{let t=class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var xe=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(xe||{}),mc=class{constructor(t,r,e,i=!1){this._renderer=t,this.element=r,this.config=e,this._animationForciblyDisabledThroughCss=i,this.state=xe.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},cm=ye({passive:!0,capture:!0}),uc=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let r=oe(t);r&&this._events.get(t.type)?.forEach((e,i)=>{(i===r||i.contains(r))&&e.forEach(o=>o.handleEvent(t))})}}addHandler(t,r,e,i){let o=this._events.get(r);if(o){let a=o.get(e);a?a.add(i):o.set(e,new Set([i]))}else this._events.set(r,new Map([[e,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,cm)})}removeHandler(t,r,e){let i=this._events.get(t);if(!i)return;let o=i.get(r);o&&(o.delete(e),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,cm)))}},dm={enterDuration:225,exitDuration:150},Mg=800,lm=ye({passive:!0,capture:!0}),mm=["mousedown","touchstart"],um=["mouseup","mouseleave","touchend","touchcancel"],fo=class fo{constructor(t,r,e,i){this._target=t,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Qt(e))}fadeInRipple(t,r,e={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=g(g({},dm),e.animation);e.centered&&(t=i.left+i.width/2,r=i.top+i.height/2);let a=e.radius||Rg(t,r,i),s=t-i.left,c=r-i.top,d=o.enterDuration,m=document.createElement("div");m.classList.add("mat-ripple-element"),m.style.left=`${s-a}px`,m.style.top=`${c-a}px`,m.style.height=`${a*2}px`,m.style.width=`${a*2}px`,e.color!=null&&(m.style.backgroundColor=e.color),m.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(m);let p=window.getComputedStyle(m),w=p.transitionProperty,S=p.transitionDuration,X=w==="none"||S==="0s"||S==="0s, 0s"||i.width===0&&i.height===0,ct=new mc(this,m,e,X);m.style.transform="scale3d(1, 1, 1)",ct.state=xe.FADING_IN,e.persistent||(this._mostRecentTransientRipple=ct);let ot=null;return!X&&(d||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let ut=()=>this._finishRippleTransition(ct),Ce=()=>this._destroyRipple(ct);m.addEventListener("transitionend",ut),m.addEventListener("transitioncancel",Ce),ot={onTransitionEnd:ut,onTransitionCancel:Ce}}),this._activeRipples.set(ct,ot),(X||!d)&&this._finishRippleTransition(ct),ct}fadeOutRipple(t){if(t.state===xe.FADING_OUT||t.state===xe.HIDDEN)return;let r=t.element,e=g(g({},dm),t.config.animation);r.style.transitionDuration=`${e.exitDuration}ms`,r.style.opacity="0",t.state=xe.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=Qt(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,mm.forEach(e=>{fo._eventManager.addHandler(this._ngZone,e,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{um.forEach(r=>{this._triggerElement.addEventListener(r,this,lm)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===xe.FADING_IN?this._startFadeOutTransition(t):t.state===xe.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=xe.VISIBLE,!e&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=xe.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel)),t.element.remove()}_onMousedown(t){let r=Ys(t),e=this._lastTouchStartEvent&&Date.now(){let r=t.state===xe.VISIBLE||t.config.terminateOnPointerUp&&t.state===xe.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(mm.forEach(r=>fo._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&um.forEach(r=>t.removeEventListener(r,this,lm)))}};fo._eventManager=new uc;var hc=fo;function Rg(n,t,r){let e=Math.max(Math.abs(n-r.left),Math.abs(n-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(e*e+i*i)}var gc=new y("mat-ripple-global-options"),Ve=(()=>{let t=class t{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()}constructor(e,i,o,a,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new hc(this,i,e,o)}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:g(g(g({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{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,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),e))}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k),l(J),l(gc,8),l(_t,8))},t.\u0275dir=I({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&z("mat-ripple-unbounded",o.unbounded)},inputs:{color:[b.None,"matRippleColor","color"],unbounded:[b.None,"matRippleUnbounded","unbounded"],centered:[b.None,"matRippleCentered","centered"],radius:[b.None,"matRippleRadius","radius"],animation:[b.None,"matRippleAnimation","animation"],disabled:[b.None,"matRippleDisabled","disabled"],trigger:[b.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=t;return n})(),_c=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q,Q]});let n=t;return n})(),Og=(()=>{let t=class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.\u0275fac=function(i){return new(i||t)(l(_t,8))},t.\u0275cmp=M({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&z("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[O],decls:0,vars:0,template:function(i,o){},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});let n=t;return n})(),Fg=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q]});let n=t;return n})(),vc=new y("MAT_OPTION_PARENT_COMPONENT");var yc=new y("MatOptgroup");var Pg=0,po=class{constructor(t,r=!1){this.source=t,this.isUserInput=r}},Nr=(()=>{let t=class t{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=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,a){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Pg++}`,this.onSelectionChange=new V,this._stateChanges=new E}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let o=this._getHostElement();typeof o.focus=="function"&&o.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){(e.keyCode===13||e.keyCode===32)&&!Mt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new po(this,e))}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(vc,8),l(yc,8))},t.\u0275cmp=M({type:t,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&nt(xg,7),i&2){let a;U(a=H())&&(o._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&T("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}),i&2&&(Xt("id",o.id),Y("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),z("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ft,O],ngContentSelectors:Cg,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,o){i&1&&(wt(wg),B(0,kg,1,2,"mat-pseudo-checkbox",1),at(1),h(2,"span",2,0),at(4,1),f(),B(5,Ig,1,1,"mat-pseudo-checkbox",3)(6,Eg,2,1,"span",4),R(7,"div",5)),i&2&&(Z(0,o.multiple?0:-1),v(5),Z(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),v(),Z(6,o.group&&o.group._inert?6:-1),v(),j("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Og,Ve],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});let n=t;return n})();function gm(n,t,r){if(r.length){let e=t.toArray(),i=r.toArray(),o=0;for(let a=0;ar+e?Math.max(0,n-e+t):r}var xc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[_c,Q,Fg]});let n=t;return n})(),hm={capture:!0},fm=["focus","click","mouseenter","touchstart"],dc="mat-ripple-loader-uninitialized",lc="mat-ripple-loader-class-name",pm="mat-ripple-loader-centered",Fr="mat-ripple-loader-disabled",vm=(()=>{let t=class t{constructor(){this._document=_(L,{optional:!0}),this._animationMode=_(_t,{optional:!0}),this._globalRippleOptions=_(gc,{optional:!0}),this._platform=_(J),this._ngZone=_(k),this._hosts=new Map,this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;let o=e.target.closest(`[${dc}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let e of fm)this._document?.addEventListener(e,this._onInteraction,hm)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of fm)this._document?.removeEventListener(i,this._onInteraction,hm)}configureRipple(e,i){e.setAttribute(dc,""),(i.className||!e.hasAttribute(lc))&&e.setAttribute(lc,i.className||""),i.centered&&e.setAttribute(pm,""),i.disabled&&e.setAttribute(Fr,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(Fr,""):e.removeAttribute(Fr)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(lc)),e.append(o);let a=new Ve(new D(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(pm),a.disabled=e.hasAttribute(Fr),this.attachRipple(e,a),a}attachRipple(e,i){e.removeAttribute(dc),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Lr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=M({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[O],attrs:Dg,ngContentSelectors:Tg,decls:1,vars:0,template:function(i,o){i&1&&(wt(),at(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let n=t;return n})();function Ng(n,t){}var Lg={bottomSheetState:Fe("state",[Zt("void, hidden",It({transform:"translateY(100%)"})),Zt("visible",It({transform:"translateY(0%)"})),Gt("visible => void, visible => hidden",Pn([Bt(`${bc.COMPLEX} ${pc.ACCELERATION_CURVE}`),Pa("@*",Fa(),{optional:!0})])),Gt("void => visible",Pn([Bt(`${bc.EXITING} ${pc.DECELERATION_CURVE}`),Pa("@*",Fa(),{optional:!0})]))])},jg=(()=>{let t=class t extends uo{constructor(e,i,o,a,s,c,d,m,p){super(e,i,o,a,s,c,d,p),this._animationState="void",this._animationStateChanged=new V,this._breakpointSubscription=m.observe([We.Medium,We.Large,We.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",m.isMatched(We.Medium)),this._toggleClass("mat-bottom-sheet-container-large",m.isMatched(We.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",m.isMatched(We.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){e.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}_toggleClass(e,i){this._elementRef.nativeElement.classList.toggle(e,i)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(mn),l(L,8),l(Ye),l(Oi),l(k),l(Ae),l(dn),l(se))},t.\u0275cmp=M({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(i,o){i&1&&Bo("@state.start",function(s){return o._onAnimationStart(s)})("@state.done",function(s){return o._onAnimationDone(s)}),i&2&&(Vo("@state",o._animationState),Y("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-label",o._config.ariaLabel))},standalone:!0,features:[it,O],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&B(0,Ng,0,0,"ng-template",0)},dependencies:[Kt],styles:[".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[Lg.bottomSheetState]}});let n=t;return n})(),Cc=new y("MatBottomSheetData"),wc=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},gn=class{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(t,r,e){this._ref=t,this._afterOpened=new E,this.containerInstance=e,this.disableClose=r.disableClose,e._animationStateChanged.pipe(tt(i=>i.phaseName==="done"&&i.toState==="visible"),rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(tt(i=>i.phaseName==="done"&&i.toState==="hidden"),rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),t.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),Dt(this.backdropClick(),this.keydownEvents().pipe(tt(i=>i.keyCode===27))).subscribe(i=>{!this.disableClose&&(i.type!=="keydown"||!Mt(i))&&(i.preventDefault(),this.dismiss())})}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(tt(r=>r.phaseName==="start"),rt(1)).subscribe(r=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},r.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},Vg=new y("mat-bottom-sheet-default-options"),go=(()=>{let t=class t{get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(e,i,o,a){this._overlay=e,this._parentBottomSheet=o,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=i.get(ho)}open(e,i){let o=g(g({},this._defaultOptions||new wc),i),a;return this._dialog.open(e,ht(g({},o),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:jg,scrollStrategy:o.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(s,c,d)=>(a=new gn(s,o,d),[{provide:gn,useValue:a},{provide:Cc,useValue:o.data}])})),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(t,12),u(Vg,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),jr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[go],imports:[Or,Q,Se,Q]});let n=t;return n})();var Bg=["mat-button",""],wm=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Cm=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var zg=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",Ug=["mat-fab",""];var Hg=["mat-icon-button",""],$g=["*"];var Wg=new y("MAT_BUTTON_CONFIG");var Gg=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ic=(()=>{let t=class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,a){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=a,this._focusMonitor=_(se),this._rippleLoader=_(vm),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=_(Wg,{optional:!0}),c=e.nativeElement,d=c.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:m,mdcClasses:p}of Gg)c.hasAttribute(m)&&d.add(...p)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(i){On()},t.\u0275dir=I({type:t,inputs:{color:"color",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],ariaDisabled:[b.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",q],disabledInteractive:[b.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",q]},features:[ft]});let n=t;return n})();var Jt=(()=>{let t=class t extends Ic{constructor(e,i,o,a){super(e,i,o,a)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8))},t.\u0275cmp=M({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),At(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[it,O],attrs:Bg,ngContentSelectors:Cm,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(wm),R(0,"span",0),at(1),h(2,"span",1),at(3,1),f(),at(4,2),R(5,"span",2)(6,"span",3)),i&2&&z("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let n=t;return n})();var qg=new y("mat-mdc-fab-default-options",{providedIn:"root",factory:km});function km(){return{color:"accent"}}var xm=km(),Im=(()=>{let t=class t extends Ic{constructor(e,i,o,a,s){super(e,i,o,a),this._options=s,this._isFab=!0,this._options=this._options||xm,this.color=this._options.color||xm.color}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8),l(qg,8))},t.\u0275cmp=M({type:t,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),At(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0)("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended))},inputs:{extended:[b.HasDecoratorInputTransform,"extended","extended",q]},exportAs:["matButton"],standalone:!0,features:[ft,it,O],attrs:Ug,ngContentSelectors:Cm,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(wm),R(0,"span",0),at(1),h(2,"span",1),at(3,1),f(),at(4,2),R(5,"span",2)(6,"span",3)),i&2&&z("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0});let n=t;return n})();var _n=(()=>{let t=class t extends Ic{constructor(e,i,o,a){super(e,i,o,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8))},t.\u0275cmp=M({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),At(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[it,O],attrs:Hg,ngContentSelectors:$g,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(),R(0,"span",0),at(1),R(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',zg],encapsulation:2,changeDetection:0});let n=t;return n})();var Rt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q,_c,Q]});let n=t;return n})();var Yg=["*"],Vr;function Xg(){if(Vr===void 0&&(Vr=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(Vr=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Vr}function _o(n){return Xg()?.createHTML(n)||n}function Em(n){return Error(`Unable to find icon with the name "${n}"`)}function Zg(){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.")}function Dm(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Tm(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var Xe=class{constructor(t,r,e){this.url=t,this.svgText=r,this.options=e}},Qg=(()=>{let t=class t{constructor(e,i,o,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,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=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,a){return this._addSvgIconConfig(e,i,new Xe(o,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,a){let s=this._sanitizer.sanitize(ee.HTML,o);if(!s)throw Tm(o);let c=_o(s);return this._addSvgIconConfig(e,i,new Xe("",c,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Xe(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){let a=this._sanitizer.sanitize(ee.HTML,i);if(!a)throw Tm(i);let s=_o(a);return this._addSvgIconSetConfig(e,new Xe("",s,o))}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){let i=this._sanitizer.sanitize(ee.RESOURCE_URL,e);if(!i)throw Dm(e);let o=this._cachedIconsByUrl.get(i);return o?A(Br(o)):this._loadSvgIconFromConfig(new Xe(e,null)).pipe(mt(a=>this._cachedIconsByUrl.set(i,a)),F(a=>Br(a)))}getNamedSvgIcon(e,i=""){let o=Sm(i,e),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):te(Em(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?A(Br(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(F(i=>Br(i)))}_getSvgFromIconSetConfigs(e,i){let o=this._extractIconWithNameFromAnySet(e,i);if(o)return A(o);let a=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ue(c=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(ee.RESOURCE_URL,s.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(m)),A(null)})));return Ro(a).pipe(F(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw Em(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){let a=i[o];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(s,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(mt(i=>e.svgText=i),F(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?A(null):this._fetchIcon(e).pipe(mt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let c=this._svgElementFromString(_o(""));return c.appendChild(s),this._setSvgAttributes(c,o)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let i=this._svgElementFromString(_o("")),o=e.attributes;for(let a=0;a_o(m)),ei(()=>this._inProgressUrlFetches.delete(s)),sd());return this._inProgressUrlFetches.set(s,d),d}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(Sm(e,i),o),this}_addSvgIconSetConfig(e,i){let o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;ot?t.pathname+t.search:""}}var Am=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],i_=Am.map(n=>`[${n}]`).join(", "),n_=/^url\(['"]?#(.*?)['"]?\)$/,vn=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(e){this._color=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){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,a,s,c){this._elementRef=e,this._iconRegistry=i,this._location=a,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=kt.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let 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(){let e=this._elementsWithExternalReferences;if(e&&e.size){let 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();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=e.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),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 typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((o,a)=>{o.forEach(s=>{a.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(i_),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let c=i[a],d=c.getAttribute(s),m=d?d.match(n_):null;if(m){let p=o.get(c);p||(p=[],o.set(c,p)),p.push({name:s,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(rt(1)).subscribe(a=>this._setSvgElement(a),a=>{let s=`Error retrieving icon ${i}:${o}! ${a.message}`;this._errorHandler.handleError(new Error(s))})}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(Qg),Oe("aria-hidden"),l(t_),l(wi),l(Jg,8))},t.\u0275cmp=M({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(Y("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),At(o.color?"mat-"+o.color:""),z("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[b.HasDecoratorInputTransform,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ft,O],ngContentSelectors:Yg,decls:1,vars:0,template:function(i,o){i&1&&(wt(),at(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});let n=t;return n})(),fi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q,Q]});let n=t;return n})();var Mm=ye({passive:!0}),Rm=(()=>{let t=class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return de;let i=Qt(e),o=this._monitoredElements.get(i);if(o)return o.subject;let a=new E,s="cdk-text-field-autofilled",c=d=>{d.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0}))):d.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,Mm),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",c,Mm)}}),a}stopMonitoring(e){let i=Qt(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.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))}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Om=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var zm=(()=>{let t=class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},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)}};t.\u0275fac=function(i){return new(i||t)(l(No),l(D))},t.\u0275dir=I({type:t});let n=t;return n})(),Um=(()=>{let t=class t extends zm{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,features:[it]});let n=t;return n})(),Be=new y("");var r_={provide:Be,useExisting:Tt(()=>xn),multi:!0};function a_(){let n=Gi()?Gi().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var s_=new y(""),xn=(()=>{let t=class t extends zm{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!a_())}writeValue(e){let i=e??"";this.setProperty("value",i)}_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)}};t.\u0275fac=function(i){return new(i||t)(l(No),l(D),l(s_,8))},t.\u0275dir=I({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&T("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[st([r_]),it]});let n=t;return n})();function pi(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function Hm(n){return n!=null&&typeof n.length=="number"}var we=new y(""),Zr=new y(""),c_=/^(?=.{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])?)*$/,Ni=class{static min(t){return $m(t)}static max(t){return Wm(t)}static required(t){return Gm(t)}static requiredTrue(t){return d_(t)}static email(t){return l_(t)}static minLength(t){return m_(t)}static maxLength(t){return qm(t)}static pattern(t){return u_(t)}static nullValidator(t){return Ur(t)}static compose(t){return Jm(t)}static composeAsync(t){return tu(t)}};function $m(n){return t=>{if(pi(t.value)||pi(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r{if(pi(t.value)||pi(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r>n?{max:{max:n,actual:t.value}}:null}}function Gm(n){return pi(n.value)?{required:!0}:null}function d_(n){return n.value===!0?null:{required:!0}}function l_(n){return pi(n.value)||c_.test(n.value)?null:{email:!0}}function m_(n){return t=>pi(t.value)||!Hm(t.value)?null:t.value.lengthHm(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function u_(n){if(!n)return Ur;let t,r;return typeof n=="string"?(r="",n.charAt(0)!=="^"&&(r+="^"),r+=n,n.charAt(n.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=n.toString(),t=n),e=>{if(pi(e.value))return null;let i=e.value;return t.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Ur(n){return null}function Ym(n){return n!=null}function Xm(n){return Ho(n)?Ut(n):n}function Zm(n){let t={};return n.forEach(r=>{t=r!=null?g(g({},t),r):t}),Object.keys(t).length===0?null:t}function Qm(n,t){return t.map(r=>r(n))}function h_(n){return!n.validate}function Km(n){return n.map(t=>h_(t)?t:r=>t.validate(r))}function Jm(n){if(!n)return null;let t=n.filter(Ym);return t.length==0?null:function(r){return Zm(Qm(r,t))}}function Tc(n){return n!=null?Jm(Km(n)):null}function tu(n){if(!n)return null;let t=n.filter(Ym);return t.length==0?null:function(r){let e=Qm(r,t).map(Xm);return Ro(e).pipe(F(Zm))}}function Sc(n){return n!=null?tu(Km(n)):null}function Fm(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function eu(n){return n._rawValidators}function iu(n){return n._rawAsyncValidators}function Dc(n){return n?Array.isArray(n)?n:[n]:[]}function Hr(n,t){return Array.isArray(n)?n.includes(t):n===t}function Pm(n,t){let r=Dc(t);return Dc(n).forEach(i=>{Hr(r,i)||r.push(i)}),r}function Nm(n,t){return Dc(t).filter(r=>!Hr(n,r))}var $r=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Tc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Sc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,r){return this.control?this.control.hasError(t,r):!1}getError(t,r){return this.control?this.control.getError(t,r):null}},Ze=class extends $r{get formDirective(){return null}get path(){return null}},Qe=class extends $r{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Wr=class{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},f_={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},gI=ht(g({},f_),{"[class.ng-submitted]":"isSubmitted"}),Qr=(()=>{let t=class t extends Wr{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(l(Qe,2))},t.\u0275dir=I({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&z("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[it]});let n=t;return n})(),Kr=(()=>{let t=class t extends Wr{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(l(Ze,10))},t.\u0275dir=I({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&z("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[it]});let n=t;return n})();var vo="VALID",zr="INVALID",yn="PENDING",yo="DISABLED";function nu(n){return(Jr(n)?n.validators:n)||null}function p_(n){return Array.isArray(n)?Tc(n):n||null}function ou(n,t){return(Jr(t)?t.asyncValidators:n)||null}function b_(n){return Array.isArray(n)?Sc(n):n||null}function Jr(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function g_(n,t,r){let e=n.controls;if(!(t?Object.keys(e):e).length)throw new gt(1e3,"");if(!e[r])throw new gt(1001,"")}function __(n,t,r){n._forEachChild((e,i)=>{if(r[i]===void 0)throw new gt(1002,"")})}var Gr=class{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}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===vo}get invalid(){return this.status===zr}get pending(){return this.status==yn}get disabled(){return this.status===yo}get enabled(){return this.status!==yo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Pm(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Pm(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Nm(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Nm(t,this._rawAsyncValidators))}hasValidator(t){return Hr(this._rawValidators,t)}hasAsyncValidator(t){return Hr(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(r=>{r.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(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=yn,t.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=yo,this.errors=null,this._forEachChild(e=>{e.disable(ht(g({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ht(g({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!0))}enable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=vo,this._forEachChild(e=>{e.enable(ht(g({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(ht(g({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!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===vo||this.status===yn)&&this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?yo:vo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=yn,this._hasOwnPendingAsyncValidator=!0;let r=Xm(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(r.emitEvent!==!1)}get(t){let r=t;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((e,i)=>e&&e._find(i),this)}getError(t,r){let e=r?this.get(r):this;return e&&e.errors?e.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}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 V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?yo:this.errors?zr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yn)?yn:this._anyControlsHaveStatus(zr)?zr:vo}_anyControlsHaveStatus(t){return this._anyControls(r=>r.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){Jr(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let r=this._parent&&this._parent.dirty;return!t&&!!r&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=p_(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=b_(this._rawAsyncValidators)}},bi=class extends Gr{constructor(t,r,e){super(nu(r),ou(e,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,e={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){__(this,!0,t),Object.keys(t).forEach(e=>{g_(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){t!=null&&(Object.keys(t).forEach(e=>{let i=this.controls[e];i&&i.patchValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((e,i)=>{e.reset(t?t[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,e)=>(t[e]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,e)=>e._syncPendingControls()?!0:r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{let e=this.controls[r];e&&t(e,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[r,e]of Object.entries(this.controls))if(this.contains(r)&&t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(r,e,i)=>((e.enabled||this.disabled)&&(r[i]=e.value),r))}_reduceChildren(t,r){let e=t;return this._forEachChild((i,o)=>{e=r(e,i,o)}),e}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var wo=new y("CallSetDisabledState",{providedIn:"root",factory:()=>ta}),ta="always";function ru(n,t){return[...t.path,n]}function qr(n,t,r=ta){Ac(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),y_(n,t),w_(n,t),x_(n,t),v_(n,t)}function Lm(n,t,r=!0){let e=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(e),t.valueAccessor.registerOnTouched(e)),Xr(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Yr(n,t){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function v_(n,t){if(t.valueAccessor.setDisabledState){let r=e=>{t.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(r),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}function Ac(n,t){let r=eu(n);t.validator!==null?n.setValidators(Fm(r,t.validator)):typeof r=="function"&&n.setValidators([r]);let e=iu(n);t.asyncValidator!==null?n.setAsyncValidators(Fm(e,t.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let i=()=>n.updateValueAndValidity();Yr(t._rawValidators,i),Yr(t._rawAsyncValidators,i)}function Xr(n,t){let r=!1;if(n!==null){if(t.validator!==null){let i=eu(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.validator);o.length!==i.length&&(r=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let i=iu(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.asyncValidator);o.length!==i.length&&(r=!0,n.setAsyncValidators(o))}}}let e=()=>{};return Yr(t._rawValidators,e),Yr(t._rawAsyncValidators,e),r}function y_(n,t){t.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&au(n,t)})}function x_(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&au(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function au(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function w_(n,t){let r=(e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)};n.registerOnChange(r),t._registerOnDestroy(()=>{n._unregisterOnChange(r)})}function su(n,t){n==null,Ac(n,t)}function C_(n,t){return Xr(n,t)}function cu(n,t){if(!n.hasOwnProperty("model"))return!1;let r=n.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function k_(n){return Object.getPrototypeOf(n.constructor)===Um}function du(n,t){n._syncPendingControls(),t.forEach(r=>{let e=r.control;e.updateOn==="submit"&&e._pendingChange&&(r.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function lu(n,t){if(!t)return null;Array.isArray(t);let r,e,i;return t.forEach(o=>{o.constructor===xn?r=o:k_(o)?e=o:i=o}),i||e||r||null}function I_(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}var E_={provide:Ze,useExisting:Tt(()=>Mc)},xo=Promise.resolve(),Mc=(()=>{let t=class t extends Ze{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new V,this.form=new bi({},Tc(e),Sc(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){xo.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),qr(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){xo.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){xo.then(()=>{let i=this._findContainer(e.path),o=new bi({});su(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){xo.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){xo.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,du(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}};t.\u0275fac=function(i){return new(i||t)(l(we,10),l(Zr,10),l(wo,8))},t.\u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&T("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[b.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[st([E_]),it]});let n=t;return n})();function jm(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}function Vm(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var Ke=class extends Gr{constructor(t=null,r,e){super(nu(r),ou(e,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Jr(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Vm(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){jm(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){jm(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Vm(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var D_=n=>n instanceof Ke;var T_={provide:Qe,useExisting:Tt(()=>Rc)},Bm=Promise.resolve(),Rc=(()=>{let t=class t extends Qe{constructor(e,i,o,a,s,c){super(),this._changeDetectorRef=s,this.callSetDisabledState=c,this.control=new Ke,this._registered=!1,this.name="",this.update=new V,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=lu(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),cu(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){qr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Bm.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&q(i);Bm.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ru(e,this._parent):[e]}};t.\u0275fac=function(i){return new(i||t)(l(Ze,9),l(we,10),l(Zr,10),l(Be,10),l(pt,8),l(wo,8))},t.\u0275dir=I({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"],options:[b.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[st([T_]),it,Ct]});let n=t;return n})(),mu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let n=t;return n})(),S_={provide:Be,useExisting:Tt(()=>Oc),multi:!0},Oc=(()=>{let t=class t extends Um{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){i&1&&T("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[st([S_]),it]});let n=t;return n})();var uu=new y("");var A_={provide:Ze,useExisting:Tt(()=>Li)},Li=(()=>{let t=class t extends Ze{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new V,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&&(Xr(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){let i=this.form.get(e.path);return qr(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Lm(e.control||null,e,!1),I_(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){return this.submitted=!0,du(this.form,this.directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,o=this.form.get(e.path);i!==o&&(Lm(i||null,e),D_(o)&&(qr(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);su(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&C_(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ac(this.form,this),this._oldForm&&Xr(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(i){return new(i||t)(l(we,10),l(Zr,10),l(wo,8))},t.\u0275dir=I({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&T("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[b.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[st([A_]),it,Ct]});let n=t;return n})();var M_={provide:Qe,useExisting:Tt(()=>Co)},Co=(()=>{let t=class t extends Qe{set isDisabled(e){}constructor(e,i,o,a,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new V,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=lu(this,a)}ngOnChanges(e){this._added||this._setUpControl(),cu(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return ru(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(l(Ze,13),l(we,10),l(Zr,10),l(Be,10),l(uu,8))},t.\u0275dir=I({type:t,selectors:[["","formControlName",""]],inputs:{name:[b.None,"formControlName","name"],isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[st([M_]),it,Ct]});let n=t;return n})();function R_(n){return typeof n=="number"?n:parseInt(n,10)}function hu(n){return typeof n=="number"?n:parseFloat(n)}var ea=(()=>{let t=class t{constructor(){this._validator=Ur}ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Ur,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,features:[Ct]});let n=t;return n})(),O_={provide:we,useExisting:Tt(()=>Fc),multi:!0},Fc=(()=>{let t=class t extends ea{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>hu(e),this.createValidator=e=>Wm(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("max",o._enabled?o.max:null)},inputs:{max:"max"},features:[st([O_]),it]});let n=t;return n})(),F_={provide:we,useExisting:Tt(()=>Pc),multi:!0},Pc=(()=>{let t=class t extends ea{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>hu(e),this.createValidator=e=>$m(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[st([F_]),it]});let n=t;return n})(),P_={provide:we,useExisting:Tt(()=>ko),multi:!0};var ko=(()=>{let t=class t extends ea{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=q,this.createValidator=e=>Gm}enabled(e){return e}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Y("required",o._enabled?"":null)},inputs:{required:"required"},features:[st([P_]),it]});let n=t;return n})();var N_={provide:we,useExisting:Tt(()=>Nc),multi:!0},Nc=(()=>{let t=class t extends ea{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>R_(e),this.createValidator=e=>qm(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[st([N_]),it]});let n=t;return n})();var fu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var wn=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:wo,useValue:e.callSetDisabledState??ta}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[fu]});let n=t;return n})(),ia=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:uu,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:wo,useValue:e.callSetDisabledState??ta}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[fu]});let n=t;return n})();var jc=class{constructor(t){this._box=t,this._destroyed=new E,this._resizeSubject=new E,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Yt(r=>{let e=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(tt(r=>r.some(e=>e.target===t)),Da({bufferSize:1,refCount:!0}),dt(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},pu=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=_(k),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new jc(o)),this._observers.get(o).observe(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var L_=["notch"],j_=["matFormFieldNotchedOutline",""],V_=["*"],B_=["textField"],z_=["iconPrefixContainer"],U_=["textPrefixContainer"],H_=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$_=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function W_(n,t){n&1&&R(0,"span",17)}function G_(n,t){if(n&1&&(h(0,"label",16),at(1,1),B(2,W_,1,0,"span",17),f()),n&2){let r=G(2);j("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),Y("for",r._control.id),v(2),Z(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function q_(n,t){if(n&1&&B(0,G_,3,5,"label",16),n&2){let r=G();Z(0,r._hasFloatingLabel()?0:-1)}}function Y_(n,t){n&1&&R(0,"div",5)}function X_(n,t){}function Z_(n,t){if(n&1&&B(0,X_,0,0,"ng-template",11),n&2){G(2);let r=be(1);j("ngTemplateOutlet",r)}}function Q_(n,t){if(n&1&&(h(0,"div",7),B(1,Z_,1,1,null,11),f()),n&2){let r=G();j("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),v(),Z(1,r._forceDisplayInfixLabel()?-1:1)}}function K_(n,t){n&1&&(h(0,"div",8,2),at(2,2),f())}function J_(n,t){n&1&&(h(0,"div",9,3),at(2,3),f())}function tv(n,t){}function ev(n,t){if(n&1&&B(0,tv,0,0,"ng-template",11),n&2){G();let r=be(1);j("ngTemplateOutlet",r)}}function iv(n,t){n&1&&(h(0,"div",12),at(1,4),f())}function nv(n,t){n&1&&(h(0,"div",13),at(1,5),f())}function ov(n,t){n&1&&R(0,"div",14)}function rv(n,t){if(n&1&&(h(0,"div",18),at(1,6),f()),n&2){let r=G();j("@transitionMessages",r._subscriptAnimationState)}}function av(n,t){if(n&1&&(h(0,"mat-hint",20),C(1),f()),n&2){let r=G(2);j("id",r._hintLabelId),v(),ge(r.hintLabel)}}function sv(n,t){if(n&1&&(h(0,"div",19),B(1,av,2,2,"mat-hint",20),at(2,7),R(3,"div",21),at(4,8),f()),n&2){let r=G();j("@transitionMessages",r._subscriptAnimationState),v(),Z(1,r.hintLabel?1:-1)}}var gi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["mat-label"]],standalone:!0});let n=t;return n})(),cv=0,Cu=new y("MatError"),ra=(()=>{let t=class t{constructor(e,i){this.id=`mat-mdc-error-${cv++}`,e||i.nativeElement.setAttribute("aria-live","polite")}};t.\u0275fac=function(i){return new(i||t)(Oe("aria-live"),l(D))},t.\u0275dir=I({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){i&2&&Xt("id",o.id)},inputs:{id:"id"},standalone:!0,features:[st([{provide:Cu,useExisting:t}])]});let n=t;return n})(),dv=0,oa=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${dv++}`}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("align",null),z("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=t;return n})(),lv=new y("MatPrefix");var ku=new y("MatSuffix"),Iu=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[b.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[st([{provide:ku,useExisting:t}])]});let n=t;return n})(),Eu=new y("FloatingLabelParent"),bu=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=_(pu),this._ngZone=_(k),this._parent=_(Eu),this._resizeSubscription=new kt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return mv(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())})}};t.\u0275fac=function(i){return new(i||t)(l(D))},t.\u0275dir=I({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=t;return n})();function mv(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let r=t.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let e=r.scrollWidth;return r.remove(),e}var gu="mdc-line-ripple--active",na="mdc-line-ripple--deactivating",_u=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(na);o.propertyName==="opacity"&&s&&a.remove(gu,na)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(na),e.add(gu)}deactivate(){this._elementRef.nativeElement.classList.add(na)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k))},t.\u0275dir=I({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let n=t;return n})(),vu=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k))},t.\u0275cmp=M({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&nt(L_,5),i&2){let a;U(a=H())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-notched-outline--notched",o.open)},inputs:{open:[b.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[O],attrs:j_,ngContentSelectors:V_,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(wt(),R(0,"div",1),h(1,"div",2,0),at(3),f(),R(4,"div",3))},encapsulation:2,changeDetection:0});let n=t;return n})(),uv={transitionMessages:Fe("transitionMessages",[Zt("enter",It({opacity:1,transform:"translateY(0%)"})),Gt("void => enter",[It({opacity:0,transform:"translateY(-5px)"}),Bt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Vc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t});let n=t;return n})();var Io=new y("MatFormField"),hv=new y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),yu=0,xu="fill",fv="auto",wu="fixed",pv="translateY(-50%)",Cn=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ae(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||fv}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,o=e||this._defaults?.appearance||xu;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||wu}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||wu}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,a,s,c,d,m){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._platform=s,this._defaults=c,this._animationMode=d,this._hideRequiredMarker=!1,this.color="primary",this._appearance=xu,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${yu++}`,this._hintLabelId=`mat-mdc-hint-${yu++}`,this._subscriptAnimationState="",this._destroyed=new E,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.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(){let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(dt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Dt(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(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(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(dt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(dt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_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(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",d=`${a+s}px`,p=`calc(${c} * (${d} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${pv} translateX(${p}) - )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(k),l(Lt),l(J),l(hv,8),l(_t,8),l(L))},t.\u0275cmp=M({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,gi,5),Pt(a,gi,7),Pt(a,Vc,5),Pt(a,lv,5),Pt(a,ku,5),Pt(a,Cu,5),Pt(a,oa,5)),i&2){let s;U(s=H())&&(o._labelChildNonStatic=s.first),U(s=H())&&(o._labelChildStatic=s.first),U(s=H())&&(o._formFieldControl=s.first),U(s=H())&&(o._prefixChildren=s),U(s=H())&&(o._suffixChildren=s),U(s=H())&&(o._errorChildren=s),U(s=H())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(i&1&&(nt(B_,5),nt(z_,5),nt(U_,5),nt(bu,5),nt(vu,5),nt(_u,5)),i&2){let a;U(a=H())&&(o._textField=a.first),U(a=H())&&(o._iconPrefixContainer=a.first),U(a=H())&&(o._textPrefixContainer=a.first),U(a=H())&&(o._floatingLabel=a.first),U(a=H())&&(o._notchedOutline=a.first),U(a=H())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&z("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[st([{provide:Io,useExisting:t},{provide:Eu,useExisting:t}]),O],ngContentSelectors:$_,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,o){if(i&1){let a=lt();wt(H_),B(0,q_,1,1,"ng-template",null,0,Dd),h(2,"div",4,1),T("click",function(c){return $(a),W(o._control.onContainerClick(c))}),B(4,Y_,1,0,"div",5),h(5,"div",6),B(6,Q_,2,2,"div",7)(7,K_,3,0,"div",8)(8,J_,3,0,"div",9),h(9,"div",10),B(10,ev,1,1,null,11),at(11),f(),B(12,iv,2,0,"div",12)(13,nv,2,0,"div",13),f(),B(14,ov,1,0,"div",14),f(),h(15,"div",15),B(16,rv,2,1)(17,sv,5,2),f()}if(i&2){let a;v(2),z("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),v(2),Z(4,!o._hasOutline()&&!o._control.disabled?4:-1),v(2),Z(6,o._hasOutline()?6:-1),v(),Z(7,o._hasIconPrefix?7:-1),v(),Z(8,o._hasTextPrefix?8:-1),v(2),Z(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),v(2),Z(12,o._hasTextSuffix?12:-1),v(),Z(13,o._hasIconSuffix?13:-1),v(),Z(14,o._hasOutline()?-1:14),v(),z("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),v(),Z(16,(a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[bu,vu,Od,_u,oa],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:[uv.transitionMessages]},changeDetection:0});let n=t;return n})(),Me=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q,$e,yr,Q]});let n=t;return n})();var bv=new y("MAT_INPUT_VALUE_ACCESSOR"),gv=["button","checkbox","file","hidden","image","radio","range","reset","submit"],_v=0,_i=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=ae(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ni.required)??!1}set required(e){this._required=ae(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&zs().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}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=ae(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,o,a,s,c,d,m,p,w){this._elementRef=e,this._platform=i,this.ngControl=o,this._autofillMonitor=m,this._formField=w,this._uid=`mat-input-${_v++}`,this.focused=!1,this.stateChanges=new E,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(ct=>zs().has(ct)),this._iOSKeyupListener=ct=>{let ot=ct.target;!ot.value&&ot.selectionStart===0&&ot.selectionEnd===0&&(ot.setSelectionRange(1,1),ot.setSelectionRange(0,0))};let S=this._elementRef.nativeElement,X=S.nodeName.toLowerCase();this._inputValueAccessor=d||S,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Pr(c,o,s,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=X==="select",this._isTextarea=X==="textarea",this._isInFormField=!!w,this._isNativeSelect&&(this.controlType=S.multiple?"mat-native-select-multiple":"mat-native-select")}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.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){gv.indexOf(this._type)>-1}_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){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else 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(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(Qe,10),l(Mc,8),l(Li,8),l(bm),l(bv,10),l(Rm),l(k),l(Io,8))},t.\u0275dir=I({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&T("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(Xt("id",o.id)("disabled",o.disabled)("required",o.required),Y("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),z("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[b.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[st([{provide:Vc,useExisting:t}]),Ct]});let n=t;return n})(),ze=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q,Me,Me,Om,Q]});let n=t;return n})();var vv=new y("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var Tu=(()=>{let t=class t{constructor(e,i,o,a,s){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=o,this._animationMode=a,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new V,this._mode="determinate",this._transitionendHandler=c=>{this.animationEnd.observers.length===0||!c.target||!c.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=a==="NoopAnimations",s&&(s.color&&(this.color=this._defaultColor=s.color),this.mode=s.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=Du(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=Du(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k),l(pt),l(_t,8),l(vv,8))},t.\u0275cmp=M({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,o){i&2&&(Y("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),At("mat-"+o.color),z("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:[b.HasDecoratorInputTransform,"value","value",_e],bufferValue:[b.HasDecoratorInputTransform,"bufferValue","bufferValue",_e],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ft,O],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,o){i&1&&(h(0,"div",0),R(1,"div",1)(2,"div",2),f(),h(3,"div",3),R(4,"span",4),f(),h(5,"div",5),R(6,"span",4),f()),i&2&&(v(),ni("flex-basis",o._getBufferBarFlexBasis()),v(2),ni("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let n=t;return n})();function Du(n,t=0,r=100){return Math.max(t,Math.min(r,n))}var Su=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q]});let n=t;return n})();var $c=["*"];function xv(n,t){n&1&&at(0)}var wv=["tabListContainer"],Cv=["tabList"],kv=["tabListInner"],Iv=["nextPaginator"],Ev=["previousPaginator"],Dv=n=>({animationDuration:n}),Tv=(n,t)=>({value:n,params:t});function Sv(n,t){}var Av=["tabBodyWrapper"],Mv=["tabHeader"];function Rv(n,t){}function Ov(n,t){if(n&1&&B(0,Rv,0,0,"ng-template",12),n&2){let r=G().$implicit;j("cdkPortalOutlet",r.templateLabel)}}function Fv(n,t){if(n&1&&C(0),n&2){let r=G().$implicit;ge(r.textLabel)}}function Pv(n,t){if(n&1){let r=lt();h(0,"div",7,2),T("click",function(){let i=$(r),o=i.$implicit,a=i.$index,s=G(),c=be(1);return W(s._handleClick(o,c,a))})("cdkFocusChange",function(i){let o=$(r).$index,a=G();return W(a._tabFocusChanged(i,o))}),R(2,"span",8)(3,"div",9),h(4,"span",10)(5,"span",11),B(6,Ov,1,1,null,12)(7,Fv,1,1),f()()()}if(n&2){let r=t.$implicit,e=t.$index,i=be(1),o=G();At(r.labelClass),z("mdc-tab--active",o.selectedIndex===e),j("id",o._getTabLabelId(e))("disabled",r.disabled)("fitInkBarToContent",o.fitInkBarToContent),Y("tabIndex",o._getTabIndex(e))("aria-posinset",e+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(e))("aria-selected",o.selectedIndex===e)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),v(3),j("matRippleTrigger",i)("matRippleDisabled",r.disabled||o.disableRipple),v(3),Z(6,r.templateLabel?6:7)}}function Nv(n,t){n&1&&at(0)}function Lv(n,t){if(n&1){let r=lt();h(0,"mat-tab-body",13),T("_onCentered",function(){$(r);let i=G();return W(i._removeTabBodyWrapperHeight())})("_onCentering",function(i){$(r);let o=G();return W(o._setTabBodyWrapperHeight(i))}),f()}if(n&2){let r=t.$implicit,e=t.$index,i=G();At(r.bodyClass),z("mat-mdc-tab-body-active",i.selectedIndex===e),j("id",i._getTabContentId(e))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",i.animationDuration)("preserveContent",i.preserveContent),Y("tabindex",i.contentTabIndex!=null&&i.selectedIndex===e?i.contentTabIndex:null)("aria-labelledby",i._getTabLabelId(e))("aria-hidden",i.selectedIndex!==e)}}var jv=new y("MatTabContent"),Vv=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(l(Vt))},t.\u0275dir=I({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[st([{provide:jv,useExisting:t}])]});let n=t;return n})(),Bv=new y("MatTabLabel"),Ru=new y("MAT_TAB"),zv=(()=>{let t=class t extends tm{constructor(e,i,o){super(e,i),this._closestTab=o}};t.\u0275fac=function(i){return new(i||t)(l(Vt),l($t),l(Ru,8))},t.\u0275dir=I({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[st([{provide:Bv,useExisting:t}]),it]});let n=t;return n})(),Ou=new y("MAT_TAB_GROUP"),Wc=(()=>{let t=class t{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,i){this._viewContainerRef=e,this._closestTabGroup=i,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new E,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new ce(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}};t.\u0275fac=function(i){return new(i||t)(l($t),l(Ou,8))},t.\u0275cmp=M({type:t,selectors:[["mat-tab"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,zv,5),Pt(a,Vv,7,Vt)),i&2){let s;U(s=H())&&(o.templateLabel=s.first),U(s=H())&&(o._explicitContent=s.first)}},viewQuery:function(i,o){if(i&1&&nt(Vt,7),i&2){let a;U(a=H())&&(o._implicitContent=a.first)}},hostAttrs:["hidden",""],inputs:{disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],textLabel:[b.None,"label","textLabel"],ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[st([{provide:Ru,useExisting:t}]),ft,Ct,O],ngContentSelectors:$c,decls:1,vars:0,template:function(i,o){i&1&&(wt(),B(0,xv,1,0,"ng-template"))},encapsulation:2});let n=t;return n})(),zc="mdc-tab-indicator--active",Au="mdc-tab-indicator--no-transition",Uc=class{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){let r=this._items.find(i=>i.elementRef.nativeElement===t),e=this._currentItem;if(r!==e&&(e?.deactivateInkBar(),r)){let i=e?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(i),this._currentItem=r}}},Uv=(()=>{let t=class t{constructor(){this._elementRef=_(D),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(zc);return}let o=i.getBoundingClientRect(),a=e.width/o.width,s=e.left-o.left;i.classList.add(Au),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(Au),i.classList.add(zc),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(zc)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,inputs:{fitInkBarToContent:[b.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",q]},features:[ft]});let n=t;return n})();var Fu=(()=>{let t=class t extends Uv{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};t.\u0275fac=function(i){return new(i||t)(l(D))},t.\u0275dir=I({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){i&2&&(Y("aria-disabled",!!o.disabled),z("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q]},standalone:!0,features:[ft,it]});let n=t;return n})(),Mu=ye({passive:!0}),Hv=650,$v=100,Wv=(()=>{let t=class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(e,i,o,a,s,c,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=a,this._ngZone=s,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new E,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new E,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new V,this.indexFocused=new V,s.runOutsideAngular(()=>{Ht(e.nativeElement,"mouseleave").pipe(dt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Ht(this._previousPaginator.nativeElement,"touchstart",Mu).pipe(dt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ht(this._nextPaginator.nativeElement,"touchstart",Mu).pipe(dt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:A("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Dr(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(rt(1)).subscribe(o),Dt(e,i,this._items.changes,this._itemsResized()).pipe(dt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?de:this._items.changes.pipe(Ft(this._items),vt(e=>new Yt(i=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(a=>i.next(a));return e.forEach(a=>o.observe(a.elementRef.nativeElement)),()=>{o.disconnect()}}))),zi(1),tt(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Mt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:s}=i.elementRef.nativeElement,c,d;this._getLayoutDirection()=="ltr"?(c=a,d=c+s):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-s);let m=this.scrollDistance,p=this.scrollDistance+o;cp&&(this.scrollDistance+=Math.min(d-p,c-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),id(Hv,$v).pipe(dt(Dt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:a}=this._scrollHeader(e);(a===0||a>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(Ge),l(Lt,8),l(k),l(J),l(_t,8))},t.\u0275dir=I({type:t,inputs:{disablePagination:[b.HasDecoratorInputTransform,"disablePagination","disablePagination",q],selectedIndex:[b.HasDecoratorInputTransform,"selectedIndex","selectedIndex",_e]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ft]});let n=t;return n})(),Gv=(()=>{let t=class t extends Wv{constructor(e,i,o,a,s,c,d){super(e,i,o,a,s,c,d),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Uc(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(Ge),l(Lt,8),l(k),l(J),l(_t,8))},t.\u0275cmp=M({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,o,a){if(i&1&&Pt(a,Fu,4),i&2){let s;U(s=H())&&(o._items=s)}},viewQuery:function(i,o){if(i&1&&(nt(wv,7),nt(Cv,7),nt(kv,7),nt(Iv,5),nt(Ev,5)),i&2){let a;U(a=H())&&(o._tabListContainer=a.first),U(a=H())&&(o._tabList=a.first),U(a=H())&&(o._tabListInner=a.first),U(a=H())&&(o._nextPaginator=a.first),U(a=H())&&(o._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){i&2&&z("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q]},standalone:!0,features:[ft,it,O],ngContentSelectors:$c,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(i,o){if(i&1){let a=lt();wt(),h(0,"button",5,0),T("click",function(){return $(a),W(o._handlePaginatorClick("before"))})("mousedown",function(c){return $(a),W(o._handlePaginatorPress("before",c))})("touchend",function(){return $(a),W(o._stopInterval())}),R(2,"div",6),f(),h(3,"div",7,1),T("keydown",function(c){return $(a),W(o._handleKeydown(c))}),h(5,"div",8,2),T("cdkObserveContent",function(){return $(a),W(o._onContentChanges())}),h(7,"div",9,3),at(9),f()()(),h(10,"button",10,4),T("mousedown",function(c){return $(a),W(o._handlePaginatorPress("after",c))})("click",function(){return $(a),W(o._handlePaginatorClick("after"))})("touchend",function(){return $(a),W(o._stopInterval())}),R(12,"div",6),f()}i&2&&(z("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),j("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),v(3),z("_mat-animation-noopable",o._animationMode==="NoopAnimations"),v(7),z("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),j("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[Ve,Vl],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let n=t;return n})(),qv=new y("MAT_TABS_CONFIG"),Yv={translateTab:Fe("translateTab",[Zt("center, void, left-origin-center, right-origin-center",It({transform:"none"})),Zt("left",It({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Zt("right",It({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Gt("* => left, * => right, left => center, right => center",Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Gt("void => left-origin-center",[It({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Gt("void => right-origin-center",[It({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Xv=(()=>{let t=class t extends Kt{constructor(e,i,o,a){super(e,i,a),this._host=o,this._centeringSub=kt.EMPTY,this._leavingSub=kt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ft(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(Wi),l($t),l(Tt(()=>Pu)),l(L))},t.\u0275dir=I({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[it]});let n=t;return n})(),Pu=(()=>{let t=class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=kt.EMPTY,this._translateTabComplete=new E,this._onCentering=new V,this._beforeCentering=new V,this._afterLeavingCenter=new V,this._onCentered=new V(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),o.markForCheck()})),this._translateTabComplete.pipe(Dn((a,s)=>a.fromState===s.fromState&&a.toState===s.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let i=this._getLayoutDirection();return i=="ltr"&&e<=0||i=="rtl"&&e>0?"left-origin-center":"right-origin-center"}};t.\u0275fac=function(i){return new(i||t)(l(D),l(Lt,8),l(pt))},t.\u0275cmp=M({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(i&1&&nt(Kt,5),i&2){let a;U(a=H())&&(o._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[b.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[O],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,o){if(i&1){let a=lt();h(0,"div",1,0),T("@translateTab.start",function(c){return $(a),W(o._onTranslateTabStarted(c))})("@translateTab.done",function(c){return $(a),W(o._translateTabComplete.next(c))}),B(2,Sv,0,0,"ng-template",2),f()}i&2&&j("@translateTab",Ed(3,Tv,o._position,zo(1,Dv,o.animationDuration)))},dependencies:[Xv,Qs],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Yv.translateTab]}});let n=t;return n})(),Zv=0,Qv=!0,Nu=(()=>{let t=class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!Qv)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,a){this._elementRef=e,this._changeDetectorRef=i,this._animationMode=a,this._tabs=new Sn,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=kt.EMPTY,this._tabLabelSubscription=kt.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new V,this.focusChange=new V,this.animationDone=new V,this.selectedTabChange=new V(!0),this._isServer=!_(J).isBrowser,this._groupId=Zv++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,o?.contentTabIndex!=null&&(this.contentTabIndex=o.contentTabIndex),this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,a)=>o.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),o;for(let a=0;a{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Ft(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new Hc;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Dt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(qv,8),l(_t,8))},t.\u0275cmp=M({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,o,a){if(i&1&&Pt(a,Wc,5),i&2){let s;U(s=H())&&(o._allTabs=s)}},viewQuery:function(i,o){if(i&1&&(nt(Av,5),nt(Mv,5)),i&2){let a;U(a=H())&&(o._tabBodyWrapper=a.first),U(a=H())&&(o._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(i,o){i&2&&(At("mat-"+(o.color||"primary")),ni("--mat-tab-animation-duration",o.animationDuration),z("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[b.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",q],stretchTabs:[b.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",q],dynamicHeight:[b.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",q],selectedIndex:[b.HasDecoratorInputTransform,"selectedIndex","selectedIndex",_e],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[b.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",_e],disablePagination:[b.HasDecoratorInputTransform,"disablePagination","disablePagination",q],disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],preserveContent:[b.HasDecoratorInputTransform,"preserveContent","preserveContent",q],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[st([{provide:Ou,useExisting:t}]),ft,O],ngContentSelectors:$c,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,o){if(i&1){let a=lt();wt(),h(0,"mat-tab-header",3,0),T("indexFocused",function(c){return $(a),W(o._focusChanged(c))})("selectFocusedIndex",function(c){return $(a),W(o.selectedIndex=c)}),fe(2,Pv,8,17,"div",4,Ci),f(),B(4,Nv,1,0),h(5,"div",5,1),fe(7,Lv,1,13,"mat-tab-body",6,Ci),f()}i&2&&(j("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),v(2),pe(o._tabs),v(2),Z(4,o._isServer?4:-1),v(),z("_mat-animation-noopable",o._animationMode==="NoopAnimations"),v(2),pe(o._tabs))},dependencies:[Gv,Fu,Jl,Ve,Kt,Pu],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let n=t;return n})(),Hc=class{};var Lu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q,Q]});let n=t;return n})();var sa=(()=>{let t=class t{constructor(e){this.matInput=e}ngOnInit(){setTimeout(()=>this.matInput.focus())}};t.\u0275fac=function(i){return new(i||t)(l(_i))},t.\u0275dir=I({type:t,selectors:[["","matInputAutofocus",""]],standalone:!0});let n=t;return n})();var Je="https://tot-fet-backend-production.up.railway.app";function Jv(n,t){}var Eo=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Gc="mdc-dialog--open",ju="mdc-dialog--opening",Vu="mdc-dialog--closing",t0=150,e0=75,i0=(()=>{let t=class t extends uo{constructor(e,i,o,a,s,c,d,m,p){super(e,i,o,a,s,c,d,p),this._animationMode=m,this._animationStateChanged=new V,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?zu(this._config.enterAnimationDuration)??t0:0,this._exitAnimationDuration=this._animationsEnabled?zu(this._config.exitAnimationDuration)??e0:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Bu,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ju,Gc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Gc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Gc),this._animationsEnabled?(this._hostElement.style.setProperty(Bu,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Vu)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(ju,Vu)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};t.\u0275fac=function(i){return new(i||t)(l(D),l(mn),l(L,8),l(Eo),l(Oi),l(k),l(Ae),l(_t,8),l(se))},t.\u0275cmp=M({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,o){i&2&&(Xt("id",o._config.id),Y("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),z("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[it,O],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(h(0,"div",0)(1,"div",1),B(2,Jv,0,0,"ng-template",2),f()())},dependencies:[Kt],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let n=t;return n})(),Bu="--mat-dialog-transition-duration";function zu(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?De(n.substring(0,n.length-2)):n.endsWith("s")?De(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var ca=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(ca||{}),ti=class{constructor(t,r,e){this._ref=t,this._containerInstance=e,this._afterOpened=new E,this._beforeClosed=new E,this._state=ca.OPEN,this.disableClose=r.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),e._animationStateChanged.pipe(tt(i=>i.state==="opened"),rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(tt(i=>i.state==="closed"),rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Dt(this.backdropClick(),this.keydownEvents().pipe(tt(i=>i.keyCode===27&&!this.disableClose&&!Mt(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),Uu(this,i.type==="keydown"?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(tt(r=>r.state==="closing"),rt(1)).subscribe(r=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=ca.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let r=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?r.left(t.left):r.right(t.right):r.centerHorizontally(),t&&(t.top||t.bottom)?t.top?r.top(t.top):r.bottom(t.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",r=""){return this._ref.updateSize(t,r),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=ca.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Uu(n,t,r){return n._closeInteractionType=t,n.close(r)}var qc=new y("MatMdcDialogData"),n0=new y("mat-mdc-dialog-default-options"),o0=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.block()}});var r0=0,Do=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,a,s,c,d,m){this._overlay=e,this._defaultOptions=a,this._scrollStrategy=s,this._parentDialog=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this.dialogConfigClass=Eo,this.afterAllClosed=me(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0))),this._dialog=i.get(ho),this._dialogRefConstructor=ti,this._dialogContainerType=i0,this._dialogDataToken=qc}open(e,i){let o;i=g(g({},this._defaultOptions||new Eo),i),i.id=i.id||`mat-mdc-dialog-${r0++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,ht(g({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Ye,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,c,d)=>(o=new this._dialogRefConstructor(s,i,d),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=a.componentRef,o.componentInstance=a.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(ri,8),u(n0,8),u(o0),u(t,12),u(pn),u(_t,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),a0=0,da=(()=>{let t=class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=$u(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){Uu(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.\u0275fac=function(i){return new(i||t)(l(ti,8),l(D),l(Do))},t.\u0275dir=I({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&T("click",function(s){return o._onButtonClick(s)}),i&2&&Y("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],type:"type",dialogResult:[b.None,"mat-dialog-close","dialogResult"],_matDialogClose:[b.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Ct]});let n=t;return n})(),Hu=(()=>{let t=class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=$u(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.\u0275fac=function(i){return new(i||t)(l(ti,8),l(D),l(Do))},t.\u0275dir=I({type:t,standalone:!0});let n=t;return n})(),la=(()=>{let t=class t extends Hu{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${a0++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){i&2&&Xt("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[it]});let n=t;return n})(),ma=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let n=t;return n})(),ua=(()=>{let t=class t extends Hu{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,o){i&2&&z("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0,features:[it]});let n=t;return n})();function $u(n,t){let r=n.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(e=>e.id===r.id):null}var Wu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[Do],imports:[Or,Le,Se,Q,Q]});let n=t;return n})();var Gu=(()=>{let t=class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=ae(e)}get inset(){return this._inset}set inset(e){this._inset=ae(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=M({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,o){i&2&&(Y("aria-orientation",o.vertical?"vertical":"horizontal"),z("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[O],decls:0,vars:0,template:function(i,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let n=t;return n})(),qu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Q,Q]});let n=t;return n})();var c0=["tooltip"],Zu=20;var Qu=new y("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition({scrollThrottle:Zu})}});function d0(n){return()=>n.scrollStrategies.reposition({scrollThrottle:Zu})}var l0={provide:Qu,deps:[yt],useFactory:d0};function m0(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var u0=new y("mat-tooltip-default-options",{providedIn:"root",factory:m0});var Yu="tooltip-panel",Xu=ye({passive:!0}),h0=8,f0=8,p0=24,b0=200,Ku=(()=>{let t=class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ae(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=ae(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=De(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=De(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,a,s,c,d,m,p,w,S,X){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=a,this._ngZone=s,this._platform=c,this._ariaDescriber=d,this._focusMonitor=m,this._dir=w,this._defaultOptions=S,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=g0,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new E,this._scrollStrategy=p,this._document=X,S&&(this._showDelay=S.showDelay,this._hideDelay=S.hideDelay,S.position&&(this.position=S.position),S.positionAtOrigin&&(this.positionAtOrigin=S.positionAtOrigin),S.touchGestures&&(this.touchGestures=S.touchGestures)),w.change.pipe(dt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=h0}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(dt(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,Xu)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Te(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=o.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof D)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(dt(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${Yu}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(dt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(dt(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!Mt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,o=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(g(g({},o.main),a.main)),this._addOffset(g(g({},o.fallback),a.fallback))])}_addOffset(e){let i=f0,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=o?-i:i:e.originX==="end"&&(e.offsetX=o?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:a,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:a,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:a,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:a,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(rt(1),dt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:o,originY:a}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=o==="end"?"left":"right":s=o==="start"?"left":"right":s=i==="bottom"&&a==="top"?"above":"below",s!==this._currentPosition){let c=this._overlayRef;if(c){let d=`${this._cssClassPrefix}-${Yu}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,Xu)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,o=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};t.\u0275fac=function(i){return new(i||t)(l(yt),l(D),l(fn),l($t),l(k),l(J),l(Xl),l(se),l(Qu),l(Lt),l(u0,8),l(L))},t.\u0275dir=I({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&z("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[b.None,"matTooltipPosition","position"],positionAtOrigin:[b.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[b.None,"matTooltipDisabled","disabled"],showDelay:[b.None,"matTooltipShowDelay","showDelay"],hideDelay:[b.None,"matTooltipHideDelay","hideDelay"],touchGestures:[b.None,"matTooltipTouchGestures","touchGestures"],message:[b.None,"matTooltip","message"],tooltipClass:[b.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let n=t;return n})(),g0=(()=>{let t=class t{constructor(e,i,o){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new E,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>p0&&e.width>=b0}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,o=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:o),i.classList.add(e?o:a),this._isVisible=e,e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}};t.\u0275fac=function(i){return new(i||t)(l(pt),l(D),l(_t,8))},t.\u0275cmp=M({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&nt(c0,7),i&2){let a;U(a=H())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){i&1&&T("mouseleave",function(s){return o._handleMouseLeave(s)}),i&2&&ni("zoom",o.isVisible()?1:null)},standalone:!0,features:[O],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){if(i&1){let a=lt();h(0,"div",1,0),T("animationend",function(c){return $(a),W(o._handleAnimationEnd(c))}),h(2,"div",2),C(3),f()()}i&2&&(z("mdc-tooltip--multiline",o._isMultiline),j("ngClass",o.tooltipClass),v(3),ge(o.message))},dependencies:[Wo],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let n=t;return n})();var Ju=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[l0],imports:[Ar,$e,Le,Q,Q,hn]});let n=t;return n})();var Ot=function(n){return n[n.ShoppingCart=0]="ShoppingCart",n[n.Edit=1]="Edit",n[n.Delete=2]="Delete",n}(Ot||{}),th={[Ot.ShoppingCart]:"shopping_cart",[Ot.Edit]:"edit",[Ot.Delete]:"delete"},eh={[Ot.ShoppingCart]:"default",[Ot.Edit]:"default",[Ot.Delete]:"warn"};var v0=n=>({first:n});function y0(n,t){if(n&1){let r=lt();h(0,"button",5),T("click",function(){let i=$(r).$implicit,o=G();return W(o.onClick.next(i))}),h(1,"mat-icon",6),C(2),f()()}if(n&2){let r=t.$implicit,e=G();v(),j("color",e.CardActionColors[r]),v(),ge(e.CardActionIcons[r])}}var ha=(()=>{let t=class t{constructor(){this.onClick=new V,this.CardActionIcons=th,this.CardActionColors=eh}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=M({type:t,selectors:[["app-card"]],inputs:{item:"item",actions:"actions",isFirst:"isFirst"},outputs:{onClick:"onClick"},standalone:!0,features:[O],decls:8,vars:5,consts:[[1,"card",3,"ngClass"],[1,"amount"],[1,"name"],[1,"divider"],["mat-icon-button",""],["mat-icon-button","",3,"click"],[3,"color"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"span",1),C(2),f(),h(3,"span",2),C(4),f(),R(5,"div",3),fe(6,y0,3,2,"button",4,Ci),f()),i&2&&(j("ngClass",zo(3,v0,o.isFirst)),v(2),ge(o.item.amount),v(2),ge(o.item.name),v(2),pe(o.actions))},dependencies:[Rt,_n,fi,vn,$e,Wo],styles:[".card[_ngcontent-%COMP%]{margin:1rem;padding:.5rem 1rem;background-color:#414141;color:#bebebe;box-shadow:#00000080 2px 1px 5px;font-weight:500;font-size:large;border-radius:10px;display:flex;align-items:center}.card.first[_ngcontent-%COMP%]{margin-top:0}.card[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%]{width:1.5rem;font-size:large;font-weight:700;margin-right:1rem}.card[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}.card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{flex:0 0 auto}.card[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{flex:1}"]});let n=t;return n})();var ih=(()=>{let t=class t{constructor(e){this.dialogRef=e}onNoClick(){this.dialogRef.close(!1)}};t.\u0275fac=function(i){return new(i||t)(l(ti))},t.\u0275cmp=M({type:t,selectors:[["app-delete-closed"]],standalone:!0,features:[O],decls:9,vars:1,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(h(0,"h2",0),C(1,"Esborrar comprats"),f(),h(2,"mat-dialog-content"),C(3,` ALERTA: No pots desfer aquesta acci\xF3. Aix\xF2 borrar\xE0 totes les compres ja comprades. -`),f(),h(4,"mat-dialog-actions",1)(5,"button",2),T("click",function(){return o.onNoClick()}),C(6,"No, gr\xE0cies"),f(),h(7,"button",3),C(8," Esborrar "),f()()),i&2&&(v(7),j("mat-dialog-close",!0))},dependencies:[Me,ze,wn,Rt,Jt,la,ma,ua,da]});let n=t;return n})();var nh=(()=>{let t=class t{constructor(e,i){this.data=e,this.dialogRef=i}onNoClick(){this.dialogRef.close(!1)}};t.\u0275fac=function(i){return new(i||t)(l(qc),l(ti))},t.\u0275cmp=M({type:t,selectors:[["app-delete-item"]],standalone:!0,features:[O],decls:9,vars:2,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(h(0,"h2",0),C(1),f(),h(2,"mat-dialog-content"),C(3,` ALERTA: No pots desfer aquesta acci\xF3. -`),f(),h(4,"mat-dialog-actions",1)(5,"button",2),T("click",function(){return o.onNoClick()}),C(6,"No, gr\xE0cies"),f(),h(7,"button",3),C(8," Esborrar "),f()()),i&2&&(v(),Wt('Esborrar "',o.data.name,'"?'),v(6),j("mat-dialog-close",!0))},dependencies:[Me,ze,wn,Rt,Jt,la,ma,ua,da]});let n=t;return n})();var x0=["panel"],w0=["*"];function C0(n,t){if(n&1){let r=lt();h(0,"div",1,0),T("@panelAnimation.done",function(i){$(r);let o=G();return W(o._animationDone.next(i))}),at(2),f()}if(n&2){let r=t.id,e=G();At(e._classList),z("mat-mdc-autocomplete-visible",e.showPanel)("mat-mdc-autocomplete-hidden",!e.showPanel)("mat-primary",e._color==="primary")("mat-accent",e._color==="accent")("mat-warn",e._color==="warn"),j("id",e.id)("@panelAnimation",e.isOpen?"visible":"hidden"),Y("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby(r))}}var k0=Fe("panelAnimation",[Zt("void, hidden",It({opacity:0,transform:"scaleY(0.8)"})),Gt(":enter, hidden => visible",[Pn([Bt("0.03s linear",It({opacity:1})),Bt("0.12s cubic-bezier(0, 0, 0.2, 1)",It({transform:"scaleY(1)"}))])]),Gt(":leave, visible => hidden",[Bt("0.075s linear",It({opacity:0}))])]),I0=0,Xc=class{constructor(t,r){this.source=t,this.option=r}},oh=new y("mat-autocomplete-default-options",{providedIn:"root",factory:E0});function E0(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var rh=(()=>{let t=class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,i,o,a){this._changeDetectorRef=e,this._elementRef=i,this._defaults=o,this._activeOptionChanges=kt.EMPTY,this._animationDone=new V,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new V,this.opened=new V,this.closed=new V,this.optionActivated=new V,this.id=`mat-autocomplete-${I0++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Er(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new Xc(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}};t.\u0275fac=function(i){return new(i||t)(l(pt),l(D),l(oh),l(J))},t.\u0275cmp=M({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,Nr,5),Pt(a,yc,5)),i&2){let s;U(s=H())&&(o.options=s),U(s=H())&&(o.optionGroups=s)}},viewQuery:function(i,o){if(i&1&&(nt(Vt,7),nt(x0,5)),i&2){let a;U(a=H())&&(o.template=a.first),U(a=H())&&(o.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[b.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",q],autoSelectActiveOption:[b.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",q],requireSelection:[b.HasDecoratorInputTransform,"requireSelection","requireSelection",q],panelWidth:"panelWidth",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],classList:[b.None,"class","classList"],hideSingleSelectionIndicator:[b.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[st([{provide:vc,useExisting:t}]),ft,O],ngContentSelectors:w0,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,o){i&1&&(wt(),B(0,C0,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[k0]},changeDetection:0});let n=t;return n})();var D0={provide:Be,useExisting:Tt(()=>Zc),multi:!0};var ah=new y("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition()}});function T0(n){return()=>n.scrollStrategies.reposition()}var S0={provide:ah,deps:[yt],useFactory:T0},Zc=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m,p,w,S){this._element=e,this._overlay=i,this._viewContainerRef=o,this._zone=a,this._changeDetectorRef=s,this._dir=d,this._formField=m,this._document=p,this._viewportRuler=w,this._defaults=S,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=kt.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new E,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=me(()=>{let X=this.autocomplete?this.autocomplete.options:null;return X?X.changes.pipe(Ft(X),vt(()=>Dt(...X.map(ct=>ct.onSelectionChange)))):this._zone.onStable.pipe(rt(1),vt(()=>this.optionSelections))}),this._handlePanelKeydown=X=>{(X.keyCode===27&&!Mt(X)||X.keyCode===38&&Mt(X,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),X.stopPropagation(),X.preventDefault())},this._trackedModal=null,this._scrollStrategy=c}ngAfterViewInit(){let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&co(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Dt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(tt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(tt(()=>this._overlayAttached)):A()).pipe(F(e=>e instanceof po?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Dt(Ht(this._document,"click"),Ht(this._document,"auxclick"),Ht(this._document,"touchend")).pipe(tt(e=>{let i=oe(e),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!a||!a.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e.keyCode,o=Mt(e);if(i===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=i===38||i===40;i===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,o=i.value;if(i.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(s=>s.selected);if(a){let s=this._getDisplayValue(a.value);o!==s&&a.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let a=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(a)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=this._zone.onStable.pipe(rt(1)),i=this.autocomplete.options.changes.pipe(mt(()=>this._positionStrategy.reapplyLastPosition()),Oo(0));return Dt(e,i).pipe(vt(()=>(this._zone.run(()=>{let o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),rt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(rt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;Sr(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new ce(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new qe({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=a:this.position==="below"?s=i:s=[...i,...a],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&co(this._trackedModal,"aria-owns",i),Sr(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;co(this._trackedModal,"aria-owns",e),this._trackedModal=null}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(yt),l($t),l(k),l(pt),l(ah),l(Lt,8),l(Io,9),l(L,8),l(Ge),l(oh,8))},t.\u0275dir=I({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){i&1&&T("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),i&2&&Y("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[b.None,"matAutocomplete","autocomplete"],position:[b.None,"matAutocompletePosition","position"],connectedTo:[b.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[b.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[b.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",q]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[st([D0]),ft,Ct]});let n=t;return n})(),sh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[S0],imports:[Le,xc,Q,$e,hn,xc,Q]});let n=t;return n})();var R0=["input"],O0=["label"],F0=["*"],P0=new y("mat-checkbox-default-options",{providedIn:"root",factory:dh});function dh(){return{color:"accent",clickAction:"check-indeterminate"}}var zt=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(zt||{}),N0={provide:Be,useExisting:Tt(()=>fa),multi:!0},Qc=class{},L0=0,ch=dh(),fa=(()=>{let t=class t{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new Qc;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,c){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._animationMode=s,this._options=c,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new V,this.indeterminateChange=new V,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=zt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ch,this.color=this._options.color||ch.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++L0}`}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let i=e!=this._indeterminate;this._indeterminate=e,i&&(this._indeterminate?this._transitionCheckState(zt.Indeterminate):this._transitionCheckState(this.checked?zt.Checked:zt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(!(i===e||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(a)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?zt.Checked:zt.Unchecked),this._emitChangeEvent()):!this.disabled&&e==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationMode==="NoopAnimations")return"";switch(e){case zt.Init:if(i===zt.Checked)return this._animationClasses.uncheckedToChecked;if(i==zt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case zt.Unchecked:return i===zt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case zt.Checked:return i===zt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case zt.Indeterminate:return i===zt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(k),Oe("tabindex"),l(_t,8),l(P0,8))},t.\u0275cmp=M({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(i&1&&(nt(R0,5),nt(O0,5),nt(Ve,5)),i&2){let a;U(a=H())&&(o._inputElement=a.first),U(a=H())&&(o._labelElement=a.first),U(a=H())&&(o.ripple=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("tabindex",null)("aria-label",null)("aria-labelledby",null),At(o.color?"mat-"+o.color:"mat-accent"),z("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[b.None,"aria-describedby","ariaDescribedby"],id:"id",required:[b.HasDecoratorInputTransform,"required","required",q],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],tabIndex:[b.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?void 0:_e(e)],color:"color",checked:[b.HasDecoratorInputTransform,"checked","checked",q],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],indeterminate:[b.HasDecoratorInputTransform,"indeterminate","indeterminate",q]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[st([N0,{provide:we,useExisting:t,multi:!0}]),ft,Ct,O],ngContentSelectors:F0,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,o){if(i&1){let a=lt();wt(),h(0,"div",3),T("click",function(c){return $(a),W(o._preventBubblingFromLabel(c))}),h(1,"div",4,0)(3,"div",5),T("click",function(){return $(a),W(o._onTouchTargetClick())}),f(),h(4,"input",6,1),T("blur",function(){return $(a),W(o._onBlur())})("click",function(){return $(a),W(o._onInputClick())})("change",function(c){return $(a),W(o._onInteractionEvent(c))}),f(),R(6,"div",7),h(7,"div",8),Fo(),h(8,"svg",9),R(9,"path",10),f(),ld(),R(10,"div",11),f(),R(11,"div",12),f(),h(12,"label",13,2),at(14),f()()}if(i&2){let a=be(2);j("labelPosition",o.labelPosition),v(4),z("mdc-checkbox--selected",o.checked),j("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.disabled?-1:o.tabIndex),Y("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),v(7),j("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),v(),j("for",o.inputId)}},dependencies:[Ve,Lr],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=t;return n})();var lh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[fa,Q,Q]});let n=t;return n})();var V0=["switch"],B0=["*"];function z0(n,t){n&1&&(h(0,"div",10),Fo(),h(1,"svg",12),R(2,"path",13),f(),h(3,"svg",14),R(4,"path",15),f()())}var U0=new y("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),H0={provide:Be,useExisting:Tt(()=>ba),multi:!0},pa=class{constructor(t,r){this.source=t,this.checked=r}},$0=0,ba=(()=>{let t=class t{_createChangeEvent(e){return new pa(this,e)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,c){this._elementRef=e,this._focusMonitor=i,this._changeDetectorRef=o,this.defaults=s,this._onChange=d=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new V,this.toggleChange=new V,this.tabIndex=parseInt(a)||0,this.color=s.color||"accent",this._noopAnimations=c==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++$0}`,this.hideIcon=s.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new pa(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};t.\u0275fac=function(i){return new(i||t)(l(D),l(se),l(pt),Oe("tabindex"),l(U0),l(_t,8))},t.\u0275cmp=M({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,o){if(i&1&&nt(V0,5),i&2){let a;U(a=H())&&(o._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),At(o.color?"mat-"+o.color:""),z("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[b.None,"aria-describedby","ariaDescribedby"],required:[b.HasDecoratorInputTransform,"required","required",q],color:"color",disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],tabIndex:[b.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:_e(e)],checked:[b.HasDecoratorInputTransform,"checked","checked",q],hideIcon:[b.HasDecoratorInputTransform,"hideIcon","hideIcon",q]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[st([H0,{provide:we,useExisting:t,multi:!0}]),ft,Ct,O],ngContentSelectors:B0,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,o){if(i&1){let a=lt();wt(),h(0,"div",1)(1,"button",2,0),T("click",function(){return $(a),W(o._handleClick())}),R(3,"div",3),h(4,"div",4)(5,"div",5)(6,"div",6),R(7,"div",7),f(),h(8,"div",8),R(9,"div",9),f(),B(10,z0,5,0,"div",10),f()()(),h(11,"label",11),T("click",function(c){return $(a),W(c.stopPropagation())}),at(12),f()()}if(i&2){let a=be(2);j("labelPosition",o.labelPosition),v(),z("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled),j("tabIndex",o.disabled?-1:o.tabIndex)("disabled",o.disabled),Y("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked),v(8),j("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),v(),Z(10,o.hideIcon?-1:10),v(),j("for",o.buttonId),Y("id",o._labelId)}},dependencies:[Ve,Lr],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0});let n=t;return n})();var mh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[ba,Q,Q]});let n=t;return n})();function G0(n,t){if(n&1){let r=lt();h(0,"div",1)(1,"button",2),T("click",function(){$(r);let i=G();return W(i.action())}),C(2),f()()}if(n&2){let r=G();v(2),Wt(" ",r.data.action," ")}}var q0=["label"];function Y0(n,t){}var X0=Math.pow(2,31)-1,To=class{constructor(t,r){this._overlayRef=r,this._afterDismissed=new E,this._afterOpened=new E,this._onAction=new E,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,X0))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},uh=new y("MatSnackBarData"),kn=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},Z0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let n=t;return n})(),Q0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let n=t;return n})(),K0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let n=t;return n})(),hh=(()=>{let t=class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(i){return new(i||t)(l(To),l(uh))},t.\u0275cmp=M({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[O],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){i&1&&(h(0,"div",0),C(1),f(),B(2,G0,3,1,"div",1)),i&2&&(v(),Wt(" ",o.data.message,` -`),v(),Z(2,o.hasAction?2:-1))},dependencies:[Jt,Z0,Q0,K0],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let n=t;return n})(),J0={snackBarState:Fe("state",[Zt("void, hidden",It({transform:"scale(0.8)",opacity:0})),Zt("visible",It({transform:"scale(1)",opacity:1})),Gt("* => visible",Bt("150ms cubic-bezier(0, 0, 0.2, 1)")),Gt("* => void, * => hidden",Bt("75ms cubic-bezier(0.4, 0.0, 1, 1)",It({opacity:0})))])},ty=0,ey=(()=>{let t=class t extends ui{constructor(e,i,o,a,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=a,this.snackBarConfig=s,this._document=_(L),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new E,this._onExit=new E,this._onEnter=new E,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${ty++}`,this.attachDomPortal=c=>{this._assertNotAttached();let d=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),d},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:o}=e;if((o==="void"&&i!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,a="mdc-snackbar__label";o.classList.toggle(a,!o.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let i=e.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};t.\u0275fac=function(i){return new(i||t)(l(k),l(D),l(pt),l(J),l(kn))},t.\u0275cmp=M({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(i&1&&(nt(Kt,7),nt(q0,7)),i&2){let a;U(a=H())&&(o._portalOutlet=a.first),U(a=H())&&(o._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){i&1&&Bo("@state.done",function(s){return o.onAnimationEnd(s)}),i&2&&Vo("@state",o._animationState)},standalone:!0,features:[it,O],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(h(0,"div",1)(1,"div",2,0)(3,"div",3),B(4,Y0,0,0,"ng-template",4),f(),R(5,"div"),f()()),i&2&&(v(5),Y("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Kt],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[J0.snackBarState]}});let n=t;return n})();function iy(){return new kn}var ny=new y("mat-snack-bar-default-options",{providedIn:"root",factory:iy}),Re=(()=>{let t=class t{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,a,s,c){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=c,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=hh,this.snackBarContainerComponent=ey,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){let a=g(g({},this._defaultConfig),o);return a.data={message:e,action:i},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let o=i&&i.viewContainerRef&&i.viewContainerRef.injector,a=xt.create({parent:o||this._injector,providers:[{provide:kn,useValue:i}]}),s=new Te(this.snackBarContainerComponent,i.viewContainerRef,a),c=e.attach(s);return c.instance.snackBarConfig=i,c.instance}_attach(e,i){let o=g(g(g({},new kn),this._defaultConfig),i),a=this._createOverlay(o),s=this._attachSnackBarContainer(a,o),c=new To(s,a);if(e instanceof Vt){let d=new ce(e,null,{$implicit:o.data,snackBarRef:c});c.instance=s.attachTemplatePortal(d)}else{let d=this._createInjector(o,c),m=new Te(e,void 0,d),p=s.attachComponentPortal(m);c.instance=p.instance}return this._breakpointObserver.observe(We.HandsetPortrait).pipe(dt(a.detachments())).subscribe(d=>{a.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),o.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(c,o),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new qe;i.direction=e.direction;let o=this._overlay.position().global(),a=e.direction==="rtl",s=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,c=!s&&e.horizontalPosition!=="center";return s?o.left("0"):c?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return xt.create({parent:o||this._injector,providers:[{provide:To,useValue:i},{provide:uh,useValue:e.data}]})}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(Kl),u(xt),u(dn),u(t,12),u(ny))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var In=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[Re],imports:[Le,Se,Rt,Q,hh,Q]});let n=t;return n})();var vi=(()=>{let t=class t{constructor(e){this.http=e,this._items=new St([]),this._search=new St(""),this.items=yi([this._items.asObservable(),this._search.asObservable()]).pipe(F(([i,o])=>i.filter(a=>a.name.toLowerCase().includes(o.toLowerCase())))),this.openItems=this.items.pipe(F(i=>i.filter(o=>!o.closed))),this.closedItems=this.items.pipe(F(i=>i.filter(o=>o.closed))),this.isLoading=!0}getAllItemNames(){return Array.from(new Set(this._items.value.map(e=>e.name)))}setSearchValue(e){this._search.next(e)}refreshItems(){this.isLoading=!0,this.http.get(`${Je}/items`).subscribe(e=>(this.isLoading=!1,this._items.next(e)))}addItem(e){this.isLoading=!0;let i=this._items.value.find(o=>o.name===e.name);return i?i.closed?this.editItem(ht(g({},e),{id:i.id})):this.editItem(ht(g({},e),{amount:(e.amount??0)+i.amount,id:i.id})):this.http.post(`${Je}/items`,e).pipe(mt(o=>{this._items.next([...this._items.value,o]),this.isLoading=!1}))}editItem(e){return this.isLoading=!0,this.http.put(`${Je}/items`,e).pipe(mt(i=>{let o=[...this._items.value],a=o.findIndex(s=>s.id===e.id);o[a]=i,this._items.next(o),this.isLoading=!1}))}removeClosed(){return this.isLoading=!0,this.http.delete(`${Je}/items/closed`).pipe(mt(()=>{this._items.next(this._items.value.filter(e=>!e.closed)),this.isLoading=!1}))}removeItem(e){return this.isLoading=!0,this.http.delete(`${Je}/items/${e.id}`).pipe(mt(()=>{let i=[...this._items.value],o=i.findIndex(a=>a.id===e.id);i.splice(o,1),this._items.next(i),this.isLoading=!1}))}closeItem(e){let i=[...this._items.value],o=i.findIndex(a=>a.id===e);return i[o].closed=!0,this._items.next(i),this.http.post(`${Je}/items/close`,{id:e}).pipe(ue(a=>(i[o].closed=!1,this._items.next(i),te(()=>a))))}};t.\u0275fac=function(i){return new(i||t)(u(Ii))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var oy=["nameInput"];function ry(n,t){if(n&1&&(h(0,"mat-option",6),C(1),f()),n&2){let r=t.$implicit;j("value",r),v(),ge(r)}}function ay(n,t){n&1&&(h(0,"mat-error"),C(1,"El "),h(2,"b"),C(3,"nom"),f(),C(4," \xE9s obligatori"),f())}function sy(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," \xE9s obligatoria"),f())}function cy(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," ha de ser com a m\xEDnim 1"),f())}function dy(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," ha de ser menor de 100"),f())}function ly(n,t){if(n&1&&(h(0,"mat-slide-toggle",9),C(1),f()),n&2){let r,e=G();v(),Wt(" ",(r=e.itemForm.get("closed"))!=null&&r.value?"Comprat":"Per comprar"," ")}}function my(n,t){if(n&1){let r=lt();h(0,"mat-checkbox",13),Id("ngModelChange",function(i){$(r);let o=G();return kd(o.addMore,i)||(o.addMore=i),W(i)}),C(1," Afegir-ne m\xE9s "),f()}if(n&2){let r=G();Cd("ngModel",r.addMore)}}var So=(()=>{let t=class t{constructor(e,i,o,a){this.item=e,this._bottomSheetRef=i,this._snackBar=o,this.itemService=a,this.itemForm=new bi({name:new Ke(""),amount:new Ke(1),closed:new Ke(!1)}),this.allItemNames=this.itemService.getAllItemNames(),this.addMore=!1}ngOnInit(){this.filteredItems=this.itemForm.get("name").valueChanges.pipe(Ft(""),F(e=>e?this.allItemNames.filter(i=>i.toLowerCase().includes(e.toLowerCase())):[])),this.itemForm.setValue({name:this.item?.name??"",amount:this.item?.amount??1,closed:this.item?.closed??!1})}submitForm(){this.itemForm.invalid||(this.item?this.updateItem():this.addItem())}updateItem(){this.itemService.editItem(g({id:this.item.id},this.itemForm.value)).subscribe(()=>{this._snackBar.open("Compra actualitzada correctament","TANCAR",{verticalPosition:"top",duration:5e3})}),this._bottomSheetRef.dismiss()}addItem(){this.itemService.addItem(this.itemForm.value).subscribe(()=>{this._snackBar.open("Compra afegida correctament","TANCAR",{verticalPosition:"top",duration:5e3})}),this.addMore?(this.nameInput.nativeElement.focus(),this.itemForm.reset(),this.itemForm.setValue({name:"",amount:1,closed:!1})):this._bottomSheetRef.dismiss()}};t.\u0275fac=function(i){return new(i||t)(l(Cc),l(gn),l(Re),l(vi))},t.\u0275cmp=M({type:t,selectors:[["app-new-item"]],viewQuery:function(i,o){if(i&1&&nt(oy,5),i&2){let a;U(a=H())&&(o.nameInput=a.first)}},standalone:!0,features:[O],decls:28,vars:14,consts:[["nameInput",""],["auto","matAutocomplete"],[3,"keydown.enter","formGroup"],["appearance","fill",1,"input"],["matInput","","matInputAutofocus","","autofocus","","formControlName","name","type","text","maxlength","100","placeholder","Nom","required","",3,"matAutocomplete"],["autoActiveFirstOption",""],[3,"value"],["align","end"],["matInput","","formControlName","amount","type","number","min","1","max","100","placeholder","Quantitat","required",""],["formControlName","closed",1,"checkbox"],[1,"horizontal"],["mat-raised-button","","color","primary",3,"click","disabled"],[3,"ngModel"],[3,"ngModelChange","ngModel"]],template:function(i,o){if(i&1){let a=lt();h(0,"div",2),T("keydown.enter",function(c){return $(a),c.preventDefault(),W(o.submitForm())}),h(1,"h3"),C(2),f(),h(3,"mat-form-field",3)(4,"mat-label"),C(5,"Nom"),f(),R(6,"input",4,0),h(8,"mat-autocomplete",5,1),fe(10,ry,2,2,"mat-option",6,Ci),ke(12,"async"),f(),h(13,"mat-hint",7),C(14),f(),B(15,ay,5,0,"mat-error"),f(),h(16,"mat-form-field",3)(17,"mat-label"),C(18,"Quantitat"),f(),R(19,"input",8),B(20,sy,5,0,"mat-error")(21,cy,5,0,"mat-error")(22,dy,5,0,"mat-error"),f(),B(23,ly,2,1,"mat-slide-toggle",9),f(),h(24,"div",10)(25,"button",11),T("click",function(){return $(a),W(o.submitForm())}),C(26),f(),B(27,my,2,1,"mat-checkbox",12),f()}if(i&2){let a,s,c,d,m,p=be(9);j("formGroup",o.itemForm),v(2),Wt("",o.item?"Editar":"Afegir"," compra"),v(4),j("matAutocomplete",p),v(4),pe(Ie(12,12,o.filteredItems)),v(4),Wt(" ",(a=o.itemForm.get("name"))==null||a.value==null?null:a.value.length," / 100 "),v(),Z(15,(s=o.itemForm.get("name"))!=null&&s.hasError("required")?15:-1),v(5),Z(20,(c=o.itemForm.get("amount"))!=null&&c.hasError("required")?20:-1),v(),Z(21,(d=o.itemForm.get("amount"))!=null&&d.hasError("min")?21:-1),v(),Z(22,(m=o.itemForm.get("amount"))!=null&&m.hasError("max")?22:-1),v(),Z(23,o.item?23:-1),v(2),j("disabled",o.itemForm.invalid),v(),Wt(" ",o.item?"Guardar":"Afegir"," "),v(),Z(27,o.item?-1:27)}},dependencies:[Me,Cn,gi,oa,ra,ze,_i,ia,xn,Oc,Qr,Kr,ko,Nc,Pc,Fc,Li,Co,wn,Rc,Rt,Jt,In,lh,fa,mh,ba,sh,rh,Nr,Zc,sa,qi],styles:[".input[_ngcontent-%COMP%]{width:100%}.horizontal[_ngcontent-%COMP%]{display:flex;gap:1rem;margin-bottom:1rem}.checkbox[_ngcontent-%COMP%]{margin-bottom:20px}"]});let n=t;return n})();var uy=(n,t)=>t.id;function hy(n,t){if(n&1){let r=lt();h(0,"app-card",7),T("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageItemClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=G(2);j("item",r)("actions",e.CardActions)}}function fy(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res per comprar"),f())}function py(n,t){if(n&1){let r=lt();h(0,"button",8),T("click",function(){$(r);let i=G(2);return W(i.deleteClosed())}),h(1,"mat-icon"),C(2,"delete_forever"),f()()}}function by(n,t){if(n&1){let r=lt();h(0,"app-card",9),T("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageItemClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=t.$index,i=G(2);j("item",r)("actions",i.CardActions)("isFirst",e===0)}}function gy(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res comprat"),f())}function _y(n,t){if(n&1&&(h(0,"h4",0),C(1),ke(2,"async"),f(),fe(3,hy,1,2,"app-card",1,jo,!1,fy,2,0,"p",2),ke(6,"async"),R(7,"mat-divider"),h(8,"div",3)(9,"h4",0),C(10),ke(11,"async"),f(),B(12,py,3,0,"button",4),ke(13,"async"),f(),fe(14,by,1,3,"app-card",5,uy,!1,gy,2,0,"p",2),ke(17,"async"),R(18,"div",6)),n&2){let r,e,i,o=G();v(),Wt("Per comprar (",(r=Ie(2,5,o.openItems))==null?null:r.length,")"),v(2),pe(Ie(6,7,o.openItems)),v(7),Wt("Comprat (",(e=Ie(11,9,o.closedItems))==null?null:e.length,")"),v(2),Z(12,((i=Ie(13,11,o.closedItems))==null?null:i.length)>0?12:-1),v(2),pe(Ie(17,13,o.closedItems))}}var fh=(()=>{let t=class t{constructor(e,i,o,a){this.itemsService=e,this._bottomSheet=i,this._snackBar=o,this._dialog=a,this.openItems=this.itemsService.openItems,this.closedItems=this.itemsService.closedItems,this.CardActions=[Ot.Edit,Ot.Delete],this.CardActionCallBack={[Ot.Edit]:s=>{this._bottomSheet.open(So,{data:s})},[Ot.Delete]:s=>{this._dialog.open(nh,{data:s}).afterClosed().pipe(tt(c=>c),vt(()=>this.itemsService.removeItem(s))).subscribe(()=>{this._snackBar.open(`${s.name} esborrat correctament`,"TANCAR",{verticalPosition:"top",duration:5e3})})},[Ot.ShoppingCart]:()=>{}}}openAddMenu(){this._bottomSheet.open(So)}manageItemClicked(e,i){this.CardActionCallBack[i](e)}deleteClosed(){this._dialog.open(ih).afterClosed().pipe(tt(e=>e),vt(()=>this.itemsService.removeClosed())).subscribe(()=>{this._snackBar.open("Compres tancades esborrades correctament","TANCAR",{verticalPosition:"top",duration:5e3})})}};t.\u0275fac=function(i){return new(i||t)(l(vi),l(go),l(Re),l(Do))},t.\u0275cmp=M({type:t,selectors:[["app-items-edit-list"]],standalone:!0,features:[O],decls:2,vars:3,consts:[[1,"title"],[3,"item","actions"],[1,"label"],[1,"title-container"],["mat-icon-button","","color","warn","matTooltip","Esborrar tots els comprats"],[3,"item","actions","isFirst"],[1,"final"],[3,"onClick","item","actions"],["mat-icon-button","","color","warn","matTooltip","Esborrar tots els comprats",3,"click"],[3,"onClick","item","actions","isFirst"]],template:function(i,o){if(i&1&&(B(0,_y,19,15),ke(1,"async")),i&2){let a;Z(0,(a=Ie(1,1,o.openItems))?0:-1,a)}},dependencies:[qi,jr,qu,Gu,Rt,_n,fi,vn,Ju,Ku,Wu,ha],styles:[".error[_ngcontent-%COMP%]{min-width:40vw}.title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-right:1rem}.title[_ngcontent-%COMP%]{margin-left:1rem}.label[_ngcontent-%COMP%]{margin-left:1rem;margin-bottom:2rem}.final[_ngcontent-%COMP%]{height:5rem}"]});let n=t;return n})();function vy(n,t){if(n&1){let r=lt();h(0,"app-card",3),T("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=G(2);j("item",r)("actions",e.CardActions)}}function yy(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res per comprar"),f())}function xy(n,t){n&1&&(fe(0,vy,1,2,"app-card",1,jo,!1,yy,2,0,"p",2),R(3,"div",0)),n&2&&pe(t)}var ph=(()=>{let t=class t{constructor(e,i){this.itemsService=e,this._snackBar=i,this.items=this.itemsService.openItems,this.CardActions=[Ot.ShoppingCart],this.CardActionCallBack={[Ot.Edit]:()=>{},[Ot.Delete]:()=>{},[Ot.ShoppingCart]:o=>{this.itemsService.closeItem(o.id).subscribe({next:()=>this._snackBar.open("Compra tancada correctament","TANCAR",{verticalPosition:"top",duration:5e3}),error:()=>this._snackBar.open("Error al tancar la compra","TANCAR",{verticalPosition:"top",duration:5e3})})}}}manageClicked(e,i){this.CardActionCallBack[i](e)}};t.\u0275fac=function(i){return new(i||t)(l(vi),l(Re))},t.\u0275cmp=M({type:t,selectors:[["app-items-list"]],standalone:!0,features:[O],decls:2,vars:3,consts:[[1,"final"],[3,"item","actions"],[1,"label"],[3,"onClick","item","actions"]],template:function(i,o){if(i&1&&(B(0,xy,4,1,"div",0),ke(1,"async")),i&2){let a;Z(0,(a=Ie(1,1,o.items))?0:-1,a)}},dependencies:[qi,fi,ha,In],styles:[".error[_ngcontent-%COMP%]{min-width:40vw}.label[_ngcontent-%COMP%]{margin-left:1rem;margin-bottom:2rem}.final[_ngcontent-%COMP%]{height:5rem}"]});let n=t;return n})();function Cy(n,t){if(n&1){let r=lt();h(0,"mat-form-field",1)(1,"mat-label"),C(2,"Buscar"),f(),h(3,"input",8),T("input",function(i){$(r);let o=G();return W(o.onSearchBoxChange(i))}),f(),h(4,"button",9),T("click",function(){$(r);let i=G();return W(i.closeSearch())}),h(5,"mat-icon"),C(6,"close"),f()()()}}function ky(n,t){if(n&1){let r=lt();h(0,"button",10),T("click",function(){$(r);let i=G();return W(i.openSearchBox=!0)}),h(1,"mat-icon"),C(2,"search"),f()()}}function Iy(n,t){n&1&&R(0,"mat-progress-bar",4)}function Ey(n,t){n&1&&R(0,"mat-progress-bar",4)}function Dy(n,t){if(n&1){let r=lt();h(0,"button",11),T("click",function(){$(r);let i=G();return W(i.refreshItems())}),h(1,"mat-icon"),C(2,"refresh"),f(),C(3," Recarrega "),f()}}var bh=(()=>{let t=class t{constructor(e,i){this.itemsService=e,this._bottomSheet=i,this.defaultSelectedIndex=localStorage.getItem("selected-tab"),this.openSearchBox=!1,this.needsRefresh=!1}ngOnInit(){this.itemsService.refreshItems(),setInterval(()=>{this.needsRefresh=!0},36e5)}refreshItems(){this.needsRefresh=!1,this.itemsService.refreshItems()}onChangeTab(e){localStorage.setItem("selected-tab",e.index.toString())}openAddMenu(){this._bottomSheet.open(So)}closeSearch(){this.openSearchBox=!1,this.itemsService.setSearchValue("")}onSearchBoxChange(e){this.itemsService.setSearchValue(e.target.value)}};t.\u0275fac=function(i){return new(i||t)(l(vi),l(go))},t.\u0275cmp=M({type:t,selectors:[["app-home"]],standalone:!0,features:[O],decls:15,vars:5,consts:[[1,"title"],["appearance","fill",1,"search-box"],["dynamicHeight","",3,"selectedTabChange","selectedIndex"],["label","Comprar"],["mode","indeterminate",1,"top"],["label","Editar"],["mat-fab","","color","primary",1,"add-button",3,"click"],["mat-raised-button","","color","primary",1,"refresh-button"],["matInput","","matInputAutofocus","","autofocus","","type","text",3,"input"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["matSuffix","","mat-icon-button","","aria-label","Clear",1,"search-button",3,"click"],["mat-raised-button","","color","primary",1,"refresh-button",3,"click"]],template:function(i,o){i&1&&(h(0,"p",0),C(1,"TotFet"),f(),B(2,Cy,7,0,"mat-form-field",1)(3,ky,3,0),h(4,"mat-tab-group",2),T("selectedTabChange",function(s){return o.onChangeTab(s)}),h(5,"mat-tab",3),B(6,Iy,1,0,"mat-progress-bar",4),R(7,"app-items-list"),f(),h(8,"mat-tab",5),B(9,Ey,1,0,"mat-progress-bar",4),R(10,"app-items-edit-list"),f()(),h(11,"button",6),T("click",function(){return o.openAddMenu()}),h(12,"mat-icon"),C(13,"add"),f()(),B(14,Dy,4,0,"button",7)),i&2&&(v(2),Z(2,o.openSearchBox?2:3),v(2),j("selectedIndex",o.defaultSelectedIndex),v(2),Z(6,o.itemsService.isLoading?6:-1),v(3),Z(9,o.itemsService.isLoading?9:-1),v(5),Z(14,o.needsRefresh?14:-1))},dependencies:[ph,fh,Lu,Wc,Nu,fi,vn,Rt,Jt,_n,Im,jr,Su,Tu,ze,_i,Cn,gi,Iu,sa],styles:[".title[_ngcontent-%COMP%]{font-size:larger;font-weight:700;margin-top:0;padding-top:1rem;width:100%;text-align:center}[_nghost-%COMP%] .mat-mdc-tab-header{top:0;z-index:1000;background-color:#2c2c2c;position:sticky;position:-webkit-sticky}.add-button[_ngcontent-%COMP%]{position:fixed;bottom:1rem;right:1rem;z-index:1}.refresh-button[_ngcontent-%COMP%]{position:fixed;bottom:1.5rem;right:50%;transform:translate(50%);z-index:99}.top[_ngcontent-%COMP%]{position:absolute;top:0}.search-box[_ngcontent-%COMP%]{position:absolute;top:0;width:100%}.search-button[_ngcontent-%COMP%]{position:absolute;top:4px;right:0}"]});let n=t;return n})();var va=(()=>{let t=class t{constructor(e){this.http=e}login(e,i){return localStorage.setItem("Authorization",`${e}:${i}`),this.http.get(Je)}};t.\u0275fac=function(i){return new(i||t)(u(Ii))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Sy(n,t){n&1&&(h(0,"mat-error"),C(1,"El nom de la llista \xE9s obligatori"),f())}function Ay(n,t){n&1&&(h(0,"mat-error"),C(1,"La contrasenya \xE9s obligatoria"),f())}var gh=(()=>{let t=class t{constructor(e,i,o){this.loginService=e,this.router=i,this._snackBar=o,this.formGroup=new bi({list:new Ke("",[Ni.required]),password:new Ke("",[Ni.required])})}sendRequest(){this.snackBarRef?.dismiss();let e=this.formGroup.value;this.loginService.login(e.list,e.password).subscribe({complete:()=>{this.router.navigate(["home"])},error:()=>{this.snackBarRef=this._snackBar.open("Contrasenya Incorrecta","TANCAR",{duration:5e3})}})}};t.\u0275fac=function(i){return new(i||t)(l(va),l(li),l(Re))},t.\u0275cmp=M({type:t,selectors:[["app-login"]],standalone:!0,features:[st([va]),O],decls:15,vars:4,consts:[[1,"centered",3,"formGroup"],[1,"title"],["appearance","fill",1,"input"],["matInput","","formControlName","list","type","text","placeholder","Nom de la llista","required",""],["matInput","","formControlName","password","type","password","placeholder","Password","required",""],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(i,o){i&1&&(h(0,"form",0)(1,"h1",1),C(2,"Tot Fet"),f(),h(3,"mat-form-field",2)(4,"mat-label"),C(5,"Nom de la llista"),f(),R(6,"input",3),B(7,Sy,2,0,"mat-error"),f(),h(8,"mat-form-field",2)(9,"mat-label"),C(10,"Contrasenya"),f(),R(11,"input",4),B(12,Ay,2,0,"mat-error"),f(),h(13,"button",5),T("click",function(){return o.sendRequest()}),C(14," Iniciar Sessi\xF3 "),f()()),i&2&&(j("formGroup",o.formGroup),v(7),Z(7,o.formGroup.get("list").hasError("required")?7:-1),v(5),Z(12,o.formGroup.get("password").hasError("required")?12:-1),v(),j("disabled",o.formGroup.invalid))},dependencies:[Me,Cn,gi,ra,ze,_i,ia,mu,xn,Qr,Kr,ko,Li,Co,Rt,Jt,In],styles:[".centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}.input[_ngcontent-%COMP%]{width:90%;max-width:500px}"]});let n=t;return n})();var _h=(()=>{let t=class t{constructor(e){this.router=e}goHome(){this.router.navigate(["/"])}};t.\u0275fac=function(i){return new(i||t)(l(li))},t.\u0275cmp=M({type:t,selectors:[["app-not-found"]],standalone:!0,features:[O],decls:7,vars:0,consts:[[1,"centered"],[1,"title"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"h1",1),C(2,"Tot Fet"),f(),h(3,"p"),C(4,"Page not found"),f(),h(5,"button",2),T("click",function(){return o.goHome()}),C(6," Home "),f()())},dependencies:[Rt,Jt],styles:[".centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}.centered[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0}"]});let n=t;return n})();var vh=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"login",component:gh},{path:"home",component:bh},{path:"**",component:_h}];var yh=(n,t)=>{let r=localStorage.getItem("Authorization"),e=_(li),i=_(Re),o=n.clone({setHeaders:{Authorization:r??""}});return t(o).pipe(ue(a=>(a instanceof Xi&&(i.open(`Error: ${My(a)}`,"TANCAR",{duration:5e3}),a.status===401?(console.error("Unauthorized request:",a),e.navigate(["login"])):console.error("HTTP error:",a)),te(()=>a))))};function My(n){return`${n.error.statusCode} - ${n.error.message}`}var Ry="@",Oy=(()=>{let t=class t{constructor(e,i,o,a,s){this.doc=e,this.delegate=i,this.zone=o,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=_(yd,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-FQHYJTJM.js")).catch(i=>{throw new gt(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:o})=>{this._engine=i(this.animationType,this.doc,this.scheduler);let a=new o(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,i){let o=this.delegate.createRenderer(e,i);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let a=new Kc(o);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let c=s.createRenderer(e,i);a.use(c)}).catch(s=>{a.use(o)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(i){On()},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Kc=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let r of this.replay)r(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,r){return this.delegate.createElement(t,r)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,r){this.delegate.appendChild(t,r)}insertBefore(t,r,e,i){this.delegate.insertBefore(t,r,e,i)}removeChild(t,r,e){this.delegate.removeChild(t,r,e)}selectRootElement(t,r){return this.delegate.selectRootElement(t,r)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,r,e,i){this.delegate.setAttribute(t,r,e,i)}removeAttribute(t,r,e){this.delegate.removeAttribute(t,r,e)}addClass(t,r){this.delegate.addClass(t,r)}removeClass(t,r){this.delegate.removeClass(t,r)}setStyle(t,r,e,i){this.delegate.setStyle(t,r,e,i)}removeStyle(t,r,e){this.delegate.removeStyle(t,r,e)}setProperty(t,r,e){this.shouldReplay(r)&&this.replay.push(i=>i.setProperty(t,r,e)),this.delegate.setProperty(t,r,e)}setValue(t,r){this.delegate.setValue(t,r)}listen(t,r,e){return this.shouldReplay(r)&&this.replay.push(i=>i.listen(t,r,e)),this.delegate.listen(t,r,e)}shouldReplay(t){return this.replay!==null&&t.startsWith(Ry)}};function xh(n="animations"){return Sa("NgAsyncAnimations"),Ue([{provide:Po,useFactory:(t,r,e)=>new Oy(t,r,e,n),deps:[L,tr,k]},{provide:_t,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Mo="Service workers are disabled or not supported by this browser";function Fy(n){return me(()=>te(new Error(n)))}var En=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=Fy(Mo);else{let e=Ht(t,"controllerchange").pipe(F(()=>t.controller)),i=me(()=>A(t.controller)),o=ji(i,e);this.worker=o.pipe(tt(m=>!!m)),this.registration=this.worker.pipe(vt(()=>t.getRegistration()));let d=Ht(t,"message").pipe(F(m=>m.data)).pipe(tt(m=>m&&m.type)).pipe(rd());d.connect(),this.events=d}}postMessage(t,r){return this.worker.pipe(rt(1),mt(e=>{e.postMessage(g({action:t},r))})).toPromise().then(()=>{})}postMessageWithOperation(t,r,e){let i=this.waitForOperationCompleted(e),o=this.postMessage(t,r);return Promise.all([o,i]).then(([,a])=>a)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let r;return typeof t=="string"?r=e=>e.type===t:r=e=>t.includes(e.type),this.events.pipe(tt(r))}nextEventOfType(t){return this.eventsOfType(t).pipe(rt(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(tt(r=>r.nonce===t),rt(1),F(r=>{if(r.result!==void 0)return r.result;throw new Error(r.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Py=(()=>{let t=class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new E,!e.isEnabled){this.messages=Vi,this.notificationClicks=Vi,this.subscription=Vi;return}this.messages=this.sw.eventsOfType("PUSH").pipe(F(o=>o.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(F(o=>o.data)),this.pushManager=this.sw.registration.pipe(F(o=>o.pushManager));let i=this.pushManager.pipe(vt(o=>o.getSubscription()));this.subscription=Dt(i,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Mo));let i={userVisibleOnly:!0},o=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(o.length));for(let s=0;ss.subscribe(i)),rt(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Mo));let e=i=>{if(i===null)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(o=>{if(!o)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(rt(1),vt(e)).toPromise()}decodeBase64(e){return atob(e)}};t.\u0275fac=function(i){return new(i||t)(u(En))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Ny=(()=>{let t=class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=Vi,this.unrecoverable=Vi;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Mo));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Mo));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}};t.\u0275fac=function(i){return new(i||t)(u(En))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();var wh=new y("");function Ly(n,t,r,e){return()=>{if(!(Fn(e)&&"serviceWorker"in navigator&&r.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let i;if(typeof r.registrationStrategy=="function")i=r.registrationStrategy();else{let[a,...s]=(r.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":i=A(null);break;case"registerWithDelay":i=Ch(+s[0]||0);break;case"registerWhenStable":i=s[0]?Dt(kh(n),Ch(+s[0])):kh(n);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${r.registrationStrategy}`)}}n.get(k).runOutsideAngular(()=>i.pipe(rt(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:r.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function Ch(n){return A(null).pipe(Oo(n))}function kh(n){return n.get(oi).isStable.pipe(tt(r=>r))}function jy(n,t){return new En(Fn(t)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Ao=class{};function Ih(n,t={}){return Ue([Py,Ny,{provide:wh,useValue:n},{provide:Ao,useValue:t},{provide:En,useFactory:jy,deps:[Ao,he]},{provide:Ma,useFactory:Ly,deps:[xt,wh,Ao,he],multi:!0}])}var Eh={providers:[Fl(vh),Hd($d([yh])),xh(),Ih("ngsw-worker.js",{enabled:!Td(),registrationStrategy:"registerWhenStable:30000"})]};var Dh=(()=>{let t=class t{ngOnInit(){}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=M({type:t,selectors:[["app-root"]],standalone:!0,features:[O],decls:1,vars:0,template:function(i,o){i&1&&R(0,"router-outlet")},dependencies:[Rs],encapsulation:2});let n=t;return n})();Kd(Dh,Eh).catch(n=>console.error(n)); diff --git a/ngsw.json b/ngsw.json index c759c59..10a4aac 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1717867910614, + "timestamp": 1718142265557, "index": "https://aleixferre.github.io/totfet-web/index.html", "assetGroups": [ { @@ -11,11 +11,11 @@ "ignoreVary": true }, "urls": [ - "https://aleixferre.github.io/totfet-web/chunk-FQHYJTJM.js", - "https://aleixferre.github.io/totfet-web/chunk-V2HD7OKB.js", + "https://aleixferre.github.io/totfet-web/chunk-F6253P2H.js", + "https://aleixferre.github.io/totfet-web/chunk-IDZKADI7.js", "https://aleixferre.github.io/totfet-web/favicon.ico", "https://aleixferre.github.io/totfet-web/index.html", - "https://aleixferre.github.io/totfet-web/main-HA433YA7.js", + "https://aleixferre.github.io/totfet-web/main-AMQ2CRQ3.js", "https://aleixferre.github.io/totfet-web/manifest.webmanifest", "https://aleixferre.github.io/totfet-web/polyfills-RT5I6R6G.js", "https://aleixferre.github.io/totfet-web/styles-7EHMVMXJ.css" @@ -54,11 +54,11 @@ "https://aleixferre.github.io/totfet-web/assets/icons/icon-512x512.png": "f246cfab1ca9ba15114527a164d8edf2090a8fe2", "https://aleixferre.github.io/totfet-web/assets/icons/icon-72x72.png": "1de371f5b5807349367f909bfe2a1bb5441e2a23", "https://aleixferre.github.io/totfet-web/assets/icons/icon-96x96.png": "6726406468296c0bcdf9a5ab05f7017d25570c05", - "https://aleixferre.github.io/totfet-web/chunk-FQHYJTJM.js": "f45dfb283800992498560f23252deda00d322005", - "https://aleixferre.github.io/totfet-web/chunk-V2HD7OKB.js": "2d221b90d2757fbd188661257df601072e81b158", + "https://aleixferre.github.io/totfet-web/chunk-F6253P2H.js": "6d26f148c02310f4ada9de6a0c8f640c8cb85303", + "https://aleixferre.github.io/totfet-web/chunk-IDZKADI7.js": "d0bef8448076c399e87676d491fdd8eec0aa61eb", "https://aleixferre.github.io/totfet-web/favicon.ico": "aa01d96d57b19114ef8c9d510abcdc0b5949a829", - "https://aleixferre.github.io/totfet-web/index.html": "43406cf4e8f4454d0d0b26932781ac9ba7999dce", - "https://aleixferre.github.io/totfet-web/main-HA433YA7.js": "1e27b619172138fe0ec3cd6861d6c2c6fa1ee5e4", + "https://aleixferre.github.io/totfet-web/index.html": "5c7720eeeb9bbf00e22b9c0f20eac9de136e6d38", + "https://aleixferre.github.io/totfet-web/main-AMQ2CRQ3.js": "c7ca94f3ccc567cf8a72ce7b90606bf45e04e643", "https://aleixferre.github.io/totfet-web/manifest.webmanifest": "0d196826a001cad5f0654f70cd92cd2f5f729e4d", "https://aleixferre.github.io/totfet-web/polyfills-RT5I6R6G.js": "fe9f024576f21ff6314cf8f8332cde58b9a12416", "https://aleixferre.github.io/totfet-web/styles-7EHMVMXJ.css": "89495428debab577c97a5639737b5b41a652bf3f"