import{D as fe,F as Qt,I as me,W as ze,_ as ie,g as pe,i as Xe,k as Vt,l as jt,o as Le,p as Je,r as et,s as qt,u as Ne,v as Gt,x as Ut,ya as Yt}from"./chunk-E4UUPK46.js";import{a as Wt,f as Zt,h as $t,l as Kt,z as Xt}from"./chunk-WWNBTMQ7.js";import{$c as Ke,Ad as Pe,Bb as Re,Bc as O,Fd as ye,G as J,Gb as Tt,Gd as Nt,H as Me,Ha as se,Hb as kt,Ia as le,Ic as F,Jd as zt,Kc as L,Kd as te,La as A,Lc as S,Ma as z,Mc as c,Nc as H,Ob as y,Oc as Z,Od as v,Pa as Te,Pb as q,Pc as f,Pd as Oe,Qb as T,Qc as m,Qd as Bt,Rc as At,Sa as Ft,Sb as G,Sc as Pt,Ta as St,Tb as Ae,Tc as Ze,Ua as de,Uc as $e,Wa as w,Wc as b,Xa as Mt,Xb as Rt,Zc as $,_ as wt,_c as ce,a as vt,ab as ke,c as xt,ca as Et,e as R,ee as Ht,fa as ee,ga as Dt,ha as D,hc as _,jc as u,lc as g,ld as k,qc as I,ra as It,rc as p,sa as ae,sc as h,ta as j,tc as E,uc as U,v as Ct,va as x,vc as Q,wb as d,wc as We,wd as Ot,xa as s,yd as Lt}from"./chunk-O7RN3KYY.js";import{a as l}from"./chunk-ZE2KCNEA.js";import{a as N}from"./chunk-CEWFFWI2.js";l();var eo={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)"};l();l();l();var ki=new x("MATERIAL_ANIMATIONS"),Jt=null;function Ri(){return s(ki,{optional:!0})?.animationsDisabled||s(ke,{optional:!0})==="NoopAnimations"?"di-disabled":(Jt??=s(Xe).matchMedia("(prefers-reduced-motion)").matches,Jt?"reduced-motion":"enabled")}function ne(){return Ri()!=="enabled"}var B=(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})(B||{}),Be=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=B.HIDDEN;constructor(o,e,i,t=!1){this._renderer=o,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=t}fadeOut(){this._renderer.fadeOutRipple(this)}},ei=Je({passive:!0,capture:!0}),tt=class{_events=new Map;addHandler(o,e,i,t){let r=this._events.get(e);if(r){let a=r.get(i);a?a.add(t):r.set(i,new Set([t]))}else this._events.set(e,new Map([[i,new Set([t])]])),o.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,ei)})}removeHandler(o,e,i){let t=this._events.get(o);if(!t)return;let r=t.get(e);r&&(r.delete(i),r.size===0&&t.delete(e),t.size===0&&(this._events.delete(o),document.removeEventListener(o,this._delegateEventHandler,ei)))}_delegateEventHandler=o=>{let e=Le(o);e&&this._events.get(o.type)?.forEach((i,t)=>{(t===e||t.contains(e))&&i.forEach(r=>r.handleEvent(o))})}},he={enterDuration:225,exitDuration:150},Ai=800,ti=Je({passive:!0,capture:!0}),ii=["mousedown","touchstart"],ni=["mouseup","mouseleave","touchend","touchcancel"],Pi=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=y({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,t){},styles:[`.mat-ripple { overflow: hidden; position: relative; } .mat-ripple:not(:empty) { transform: translateZ(0); } .mat-ripple.mat-ripple-unbounded { overflow: visible; } .mat-ripple-element { position: absolute; border-radius: 50%; pointer-events: none; transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1); transform: scale3d(0, 0, 0); background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent)); } @media (forced-colors: active) { .mat-ripple-element { display: none; } } .cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { display: none; } `],encapsulation:2,changeDetection:0})}return n})(),ue=class n{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new tt;constructor(o,e,i,t,r){this._target=o,this._ngZone=e,this._platform=t,t.isBrowser&&(this._containerElement=et(i)),r&&r.get(Ne).load(Pi)}fadeInRipple(o,e,i={}){let t=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=N(N({},he),i.animation);i.centered&&(o=t.left+t.width/2,e=t.top+t.height/2);let a=i.radius||Oi(o,e,t),M=o-t.left,V=e-t.top,Y=r.enterDuration,P=document.createElement("div");P.classList.add("mat-ripple-element"),P.style.left=`${M-a}px`,P.style.top=`${V-a}px`,P.style.height=`${a*2}px`,P.style.width=`${a*2}px`,i.color!=null&&(P.style.backgroundColor=i.color),P.style.transitionDuration=`${Y}ms`,this._containerElement.appendChild(P);let Ie=window.getComputedStyle(P),_t=Ie.transitionProperty,Fe=Ie.transitionDuration,be=_t==="none"||Fe==="0s"||Fe==="0s, 0s"||t.width===0&&t.height===0,W=new Be(this,P,i,be);P.style.transform="scale3d(1, 1, 1)",W.state=B.FADING_IN,i.persistent||(this._mostRecentTransientRipple=W);let Se=null;return!be&&(Y||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let bt=()=>{Se&&(Se.fallbackTimer=null),clearTimeout(yt),this._finishRippleTransition(W)},Ye=()=>this._destroyRipple(W),yt=setTimeout(Ye,Y+100);P.addEventListener("transitionend",bt),P.addEventListener("transitioncancel",Ye),Se={onTransitionEnd:bt,onTransitionCancel:Ye,fallbackTimer:yt}}),this._activeRipples.set(W,Se),(be||!Y)&&this._finishRippleTransition(W),W}fadeOutRipple(o){if(o.state===B.FADING_OUT||o.state===B.HIDDEN)return;let e=o.element,i=N(N({},he),o.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",o.state=B.FADING_OUT,(o._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(o)}fadeOutAll(){this._getActiveRipples().forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){let e=et(o);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,ii.forEach(i=>{n._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(o){o.type==="mousedown"?this._onMousedown(o):o.type==="touchstart"?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ni.forEach(e=>{this._triggerElement.addEventListener(e,this,ti)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(o){o.state===B.FADING_IN?this._startFadeOutTransition(o):o.state===B.FADING_OUT&&this._destroyRipple(o)}_startFadeOutTransition(o){let e=o===this._mostRecentTransientRipple,{persistent:i}=o.config;o.state=B.VISIBLE,!i&&(!e||!this._isPointerDown)&&o.fadeOut()}_destroyRipple(o){let e=this._activeRipples.get(o)??null;this._activeRipples.delete(o),this._activeRipples.size||(this._containerRect=null),o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),o.state=B.HIDDEN,e!==null&&(o.element.removeEventListener("transitionend",e.onTransitionEnd),o.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),o.element.remove()}_onMousedown(o){let e=Vt(o),i=this._lastTouchStartEvent&&Date.now(){let e=o.state===B.VISIBLE||o.config.terminateOnPointerUp&&o.state===B.FADING_IN;!o.config.persistent&&e&&o.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let o=this._triggerElement;o&&(ii.forEach(e=>n._eventManager.removeHandler(e,o,this)),this._pointerUpEventsRegistered&&(ni.forEach(e=>o.removeEventListener(e,this,ti)),this._pointerUpEventsRegistered=!1))}};function Oi(n,o,e){let i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),t=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(i*i+t*t)}var He=new x("mat-ripple-global-options"),it=(()=>{class n{_elementRef=s(w);_animationsDisabled=ne();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=s(z),i=s(pe),t=s(He,{optional:!0}),r=s(se);this._globalOptions=t||{},this._rippleRenderer=new ue(this,e,this._elementRef,i,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:N(N(N({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,t){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,N(N({},this.rippleConfig),t)):this._rippleRenderer.fadeInRipple(0,0,N(N({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=T({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,t){i&2&&b("mat-ripple-unbounded",t.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return n})();l();var oi=(()=>{class n{_animationsDisabled=ne();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=y({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,t){i&2&&b("mat-pseudo-checkbox-indeterminate",t.state==="indeterminate")("mat-pseudo-checkbox-checked",t.state==="checked")("mat-pseudo-checkbox-disabled",t.disabled)("mat-pseudo-checkbox-minimal",t.appearance==="minimal")("mat-pseudo-checkbox-full",t.appearance==="full")("_mat-animation-noopable",t._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,t){},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-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary)); } .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-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-pseudo-checkbox-full { border-color: var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant)); border-width: 2px; border-style: solid; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled { border-color: var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate { background-color: var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary)); border-color: transparent; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { color: var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary)); } .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-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .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-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface)); } .mat-pseudo-checkbox { width: 18px; height: 18px; } .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after { width: 14px; height: 6px; transform-origin: center; top: -4.2426406871px; left: 0; bottom: 0; right: 0; margin: auto; } .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { top: 8px; width: 16px; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after { width: 10px; height: 4px; transform-origin: center; top: -2.8284271247px; left: 0; bottom: 0; right: 0; margin: auto; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { top: 6px; width: 12px; } `],encapsulation:2,changeDetection:0})}return n})();l();var ri=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=y({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,t){},styles:[`.mat-focus-indicator { position: relative; } .mat-focus-indicator::before { top: 0; left: 0; right: 0; bottom: 0; position: absolute; box-sizing: border-box; pointer-events: none; display: var(--mat-focus-indicator-display, none); border-width: var(--mat-focus-indicator-border-width, 3px); border-style: var(--mat-focus-indicator-border-style, solid); border-color: var(--mat-focus-indicator-border-color, transparent); border-radius: var(--mat-focus-indicator-border-radius, 4px); } .mat-focus-indicator:focus-visible::before { content: ""; } @media (forced-colors: active) { html { --mat-focus-indicator-display: block; } } `],encapsulation:2,changeDetection:0})}return n})();var Li=["*",[["mat-option"],["ng-container"]]],Ni=["*","mat-option, ng-container"],zi=["text"],Bi=[[["mat-icon"]],"*"],Hi=["mat-icon","*"];function Vi(n,o){if(n&1&&E(0,"mat-pseudo-checkbox",1),n&2){let e=L();I("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function ji(n,o){if(n&1&&E(0,"mat-pseudo-checkbox",3),n&2){let e=L();I("disabled",e.disabled)}}function qi(n,o){if(n&1&&(p(0,"span",4),$(1),h()),n&2){let e=L();d(),Ke("(",e.group.label,")")}}var ot=new x("MAT_OPTION_PARENT_COMPONENT"),rt=new x("MatOptgroup"),Gi=(()=>{class n{label;disabled=!1;_labelId=s(me).getId("mat-optgroup-label-");_inert;constructor(){let e=s(ot,{optional:!0});this._inert=e?.inertGroups??!1}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=y({type:n,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(i,t){i&2&&_("role",t._inert?null:"group")("aria-disabled",t._inert?null:t.disabled.toString())("aria-labelledby",t._inert?null:t._labelId)},inputs:{label:"label",disabled:[2,"disabled","disabled",v]},exportAs:["matOptgroup"],features:[k([{provide:rt,useExisting:n}])],ngContentSelectors:Ni,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(i,t){i&1&&(S(Li),U(0,"span",0)(1,"span",1),$(2),c(3),Q()(),c(4,1)),i&2&&(b("mdc-list-item--disabled",t.disabled),O("id",t._labelId),d(2),Ke("",t.label," "))},styles:[`.mat-mdc-optgroup { color: var(--mat-optgroup-label-text-color, var(--mat-sys-on-surface-variant)); font-family: var(--mat-optgroup-label-text-font, var(--mat-sys-title-small-font)); line-height: var(--mat-optgroup-label-text-line-height, var(--mat-sys-title-small-line-height)); font-size: var(--mat-optgroup-label-text-size, var(--mat-sys-title-small-size)); letter-spacing: var(--mat-optgroup-label-text-tracking, var(--mat-sys-title-small-tracking)); font-weight: var(--mat-optgroup-label-text-weight, var(--mat-sys-title-small-weight)); } .mat-mdc-optgroup-label { display: flex; position: relative; align-items: center; justify-content: flex-start; overflow: hidden; min-height: 48px; padding: 0 16px; outline: none; } .mat-mdc-optgroup-label.mdc-list-item--disabled { opacity: 0.38; } .mat-mdc-optgroup-label .mdc-list-item__primary-text { font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; font-family: inherit; text-decoration: inherit; text-transform: inherit; white-space: normal; color: inherit; } `],encapsulation:2,changeDetection:0})}return n})(),Ve=class{source;isUserInput;constructor(o,e=!1){this.source=o,this.isUserInput=e}},at=(()=>{class n{_element=s(w);_changeDetectorRef=s(te);_parent=s(ot,{optional:!0});group=s(rt,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=s(me).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Te(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new A;_text;_stateChanges=new R;constructor(){let e=s(Ne);e.load(ri),e.load(Gt),this._signalDisableRipple=!!this._parent&&Rt(this._parent.disableRipple)}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 t=this._getHostElement();typeof t.focus=="function"&&t.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)&&!fe(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 Ve(this,e))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=y({type:n,selectors:[["mat-option"]],viewQuery:function(i,t){if(i&1&&Z(zi,7),i&2){let r;f(r=m())&&(t._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,t){i&1&&F("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),i&2&&(O("id",t.id),_("aria-selected",t.selected)("aria-disabled",t.disabled.toString()),b("mdc-list-item--selected",t.selected)("mat-mdc-option-multiple",t.multiple)("mat-mdc-option-active",t.active)("mdc-list-item--disabled",t.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",v]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Hi,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,t){i&1&&(S(Bi),u(0,Vi,1,2,"mat-pseudo-checkbox",1),c(1),p(2,"span",2,0),c(4,1),h(),u(5,ji,1,1,"mat-pseudo-checkbox",3),u(6,qi,2,1,"span",4),E(7,"div",5)),i&2&&(g(t.multiple?0:-1),d(5),g(!t.multiple&&t.selected&&!t.hideSingleSelectionIndicator?5:-1),d(),g(t.group&&t.group._inert?6:-1),d(),I("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},dependencies:[oi,it],styles:[`.mat-mdc-option { -webkit-user-select: none; user-select: none; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; display: flex; position: relative; align-items: center; justify-content: flex-start; overflow: hidden; min-height: 48px; padding: 0 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; color: var(--mat-option-label-text-color, var(--mat-sys-on-surface)); font-family: var(--mat-option-label-text-font, var(--mat-sys-label-large-font)); line-height: var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height)); font-size: var(--mat-option-label-text-size, var(--mat-sys-body-large-size)); letter-spacing: var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking)); font-weight: var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight)); } .mat-mdc-option:hover:not(.mdc-list-item--disabled) { background-color: var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); } .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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); outline: 0; } .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) { background-color: var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container)); } .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text { color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container)); } .mat-mdc-option .mat-pseudo-checkbox { --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container)); } .mat-mdc-option.mdc-list-item { align-items: center; background: transparent; } .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: 0.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; } @media (forced-colors: active) { .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { content: ""; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); width: 10px; height: 0; border-bottom: solid 10px; border-radius: 10px; } [dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { right: auto; left: 16px; } } .mat-mdc-option-multiple { --mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent); } .mat-mdc-option-active .mat-focus-indicator::before { content: ""; } `],encapsulation:2,changeDetection:0})}return n})();function Ui(n,o,e){if(e.length){let i=o.toArray(),t=e.toArray(),r=0;for(let a=0;ae+i?Math.max(0,n-i+o):e}l();l();var ai=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=q({type:n});static \u0275inj=j({imports:[ie]})}return n})();l();var si=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=q({type:n});static \u0275inj=j({imports:[ie]})}return n})();var Yi=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=q({type:n});static \u0275inj=j({imports:[ai,si,at,ie]})}return n})();l();l();var Wi=new x("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>s(Lt)}),_e="Method not implemented",st=class{locale;_localeChanges=new R;localeChanges=this._localeChanges;setTime(o,e,i,t){throw new Error(_e)}getHours(o){throw new Error(_e)}getMinutes(o){throw new Error(_e)}getSeconds(o){throw new Error(_e)}parseTime(o,e){throw new Error(_e)}addSeconds(o,e){throw new Error(_e)}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return o==null||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}compareTime(o,e){return this.getHours(o)-this.getHours(e)||this.getMinutes(o)-this.getMinutes(e)||this.getSeconds(o)-this.getSeconds(e)}sameDate(o,e){if(o&&e){let i=this.isValid(o),t=this.isValid(e);return i&&t?!this.compareDate(o,e):i==t}return o==e}sameTime(o,e){if(o&&e){let i=this.isValid(o),t=this.isValid(e);return i&&t?!this.compareTime(o,e):i==t}return o==e}clampDate(o,e,i){return e&&this.compareDate(o,e)<0?e:i&&this.compareDate(o,i)>0?i:o}},Zi=new x("mat-date-formats");l();var ve=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();l();var $i={capture:!0},Ki=["focus","mousedown","mouseenter","touchstart"],lt="mat-ripple-loader-uninitialized",dt="mat-ripple-loader-class-name",li="mat-ripple-loader-centered",je="mat-ripple-loader-disabled",hr=(()=>{class n{_document=s(le);_animationsDisabled=ne();_globalRippleOptions=s(He,{optional:!0});_platform=s(pe);_ngZone=s(z);_injector=s(se);_eventCleanups;_hosts=new Map;constructor(){let e=s(Tt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Ki.map(i=>e.listen(this._document,i,this._onInteraction,$i)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(lt,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(dt))&&e.setAttribute(dt,i.className||""),i.centered&&e.setAttribute(li,""),i.disabled&&e.setAttribute(je,"")}setDisabled(e,i){let t=this._hosts.get(e);t?(t.target.rippleDisabled=i,!i&&!t.hasSetUpEvents&&(t.hasSetUpEvents=!0,t.renderer.setupTriggerEvents(e))):i?e.setAttribute(je,""):e.removeAttribute(je)}_onInteraction=e=>{let i=Le(e);if(i instanceof HTMLElement){let t=i.closest(`[${lt}="${this._globalRippleOptions?.namespace??""}"]`);t&&this._createRipple(t)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(dt)),e.append(i);let t=this._globalRippleOptions,r=this._animationsDisabled?0:t?.animation?.enterDuration??he.enterDuration,a=this._animationsDisabled?0:t?.animation?.exitDuration??he.exitDuration,M={rippleDisabled:this._animationsDisabled||t?.disabled||e.hasAttribute(je),rippleConfig:{centered:e.hasAttribute(li),terminateOnPointerUp:t?.terminateOnPointerUp,animation:{enterDuration:r,exitDuration:a}}},V=new ue(M,this._ngZone,i,this._platform,this._injector),Y=!M.rippleDisabled;Y&&V.setupTriggerEvents(e),this._hosts.set(e,{target:M,renderer:V,hasSetUpEvents:Y}),e.removeAttribute(lt)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();l();var xe=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(o,e,i,t,r){this._defaultMatcher=o,this.ngControl=e,this._parentFormGroup=i,this._parentForm=t,this._stateChanges=r}updateErrorState(){let o=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,t=this.ngControl?this.ngControl.control:null,r=i?.isErrorState(t,e)??!1;r!==o&&(this.errorState=r,this._stateChanges.next())}};l();l();l();l();var oe=new x("pfy-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Ce=new x("PfyChipAvatar"),qe=new x("PfyChipTrailingIcon"),we=new x("PfyChipRemove"),re=new x("PfyChip");var K=(()=>{class n{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=e}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){this._elementRef=s(w),this._parentChip=s(re),this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1;let e=this._elementRef;e.nativeElement.nodeName==="BUTTON"&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=T({type:n,selectors:[["","pfyChipAction",""]],hostAttrs:[1,"pfy-chip-action"],hostVars:9,hostBindings:function(i,t){i&1&&F("click",function(a){return t._handleClick(a)})("keydown",function(a){return t._handleKeydown(a)}),i&2&&(_("tabindex",t._getTabindex())("disabled",t._getDisabledAttribute())("aria-disabled",t.disabled),b("pfy-chip-action--primary",t._isPrimary)("pfy-chip-action--presentational",!t.isInteractive)("pfy-chip-action--trailing",!t._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",v],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:Oe(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}}return n})();var Xi=["*",[["pfy-chip-avatar"],["","pfyChipAvatar",""]],[["pfy-chip-trailing-icon"],["","pfyChipRemove",""],["","pfyChipTrailingIcon",""]]],Ji=["*","pfy-chip-avatar, [pfyChipAvatar]","pfy-chip-trailing-icon,[pfyChipRemove],[pfyChipTrailingIcon]"];function en(n,o){n&1&&(p(0,"span",3),c(1,1),h())}function tn(n,o){n&1&&(p(0,"span",6),c(1,2),h())}var nn=0,X=(()=>{class n{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}constructor(){this._changeDetectorRef=s(te),this._elementRef=s(w),this._ngZone=s(z),this._focusMonitor=s(qt),this._onFocus=new R,this._onBlur=new R,this.role=null,this._hasFocusInternal=!1,this.id=`pfy-chip-${nn++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._chipListDisabled=!1,this.removable=!0,this._disabled=!1,this.removed=new A,this.destroyed=new A,this.basicChipAttrName="pfy-basic-chip",this._injector=s(se);let e=s(le),i=s(ke,{optional:!0});this._document=e,this._animationsDisabled=i==="NoopAnimations",this._monitorFocus()}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterContentInit(){this._actionChanges=J(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".pfy-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{let t=i._elementRef.nativeElement;return t===e||t.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let i=e!==null;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):Re(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}get isAnchorOrButton(){return["BUTTON","A"].includes(this._elementRef.nativeElement.nodeName)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=y({type:n,selectors:[["pfy-basic-chip"],["","pfy-basic-chip",""],["pfy-chip"],["","pfy-chip",""]],contentQueries:function(i,t,r){if(i&1&&H(r,Ce,5)(r,qe,5)(r,we,5)(r,Ce,5)(r,qe,5)(r,we,5),i&2){let a;f(a=m())&&(t.leadingIcon=a.first),f(a=m())&&(t.trailingIcon=a.first),f(a=m())&&(t.removeIcon=a.first),f(a=m())&&(t._allLeadingIcons=a),f(a=m())&&(t._allTrailingIcons=a),f(a=m())&&(t._allRemoveIcons=a)}},viewQuery:function(i,t){if(i&1&&Z(K,5),i&2){let r;f(r=m())&&(t.primaryAction=r.first)}},hostAttrs:[1,"pfy-chip"],hostVars:27,hostBindings:function(i,t){i&1&&F("keydown",function(a){return t._handleKeydown(a)}),i&2&&(O("id",t.id),_("role",t.role)("aria-label",t.ariaLabel),b("pfy-chip",!t._isBasicChip)("pfy-chip--disabled",t.disabled)("pfy-chip--with-trailing-action",t._hasTrailingIcon())("pfy-chip--with-primary-graphic",t.leadingIcon)("pfy-chip--with-primary-icon",t.leadingIcon)("pfy-chip--with-avatar",t.leadingIcon)("pfy-chip-with-avatar",t.leadingIcon)("pfy-chip-disabled",t.disabled)("pfy--basic-chip",t._isBasicChip)("pfy--standard-chip",!t._isBasicChip)("pfy-chip-with-trailing-icon",t._hasTrailingIcon())("_mat-animation-noopable",t._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",removable:[2,"removable","removable",v],disabled:[2,"disabled","disabled",v]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["pfyChip"],features:[k([{provide:re,useExisting:n}])],ngContentSelectors:Ji,decls:8,vars:3,consts:[[1,"pfy-chip-focus-overlay"],[1,"pfy-chip__cell","pfy-chip__cell--primary"],["pfyChipAction","",3,"isInteractive"],[1,"pfy-chip-graphic"],[1,"pfy-chip__text-label","pfy-chip-action-label"],[1,"pfy-chip-primary-focus-indicator","pfy--focus-indicator"],[1,"pfy-chip__cell","pfy-chip__cell--trailing"]],template:function(i,t){i&1&&(S(Xi),E(0,"span",0),p(1,"span",1)(2,"span",2),u(3,en,2,0,"span",3),p(4,"span",4),c(5),E(6,"span",5),h()()(),u(7,tn,2,0,"span",6)),i&2&&(d(2),I("isInteractive",t.isAnchorOrButton),d(),g(t.leadingIcon?3:-1),d(4),g(t._hasTrailingIcon()?7:-1))},dependencies:[K],styles:[`.pfy-chip{--bg: var(--label-bg-color);--fg: var(--label-text-color);--border-radius: var(--border-radius-base);--font-size: var(--text-sm);--height: 28px;--icon-size: 16px;--action-x-padding: 6px;--overlay-opacity: 15%;background:var(--bg);color:var(--fg);border-radius:var(--border-radius);font-size:var(--font-size);position:relative;display:inline-flex;align-items:center;height:var(--height)}.is-tabbing .pfy-chip:focus-within{box-shadow:0 0 0 2px var(--white),0 0 0 4px var(--focus-outline-color)}.pfy-chip.pfy-chip-pill{--border-radius: 500rem}.pfy-chip.pfy-chip-grey{--bg: var(--n2-transp);--fg: var(--n7-transp);--overlay-opacity: 5%}.pfy-chip.pfy-chip-green{--bg: var(--g1);--fg: var(--g3);--overlay-opacity: 5%;color:var(--g3)}.pfy-chip.pfy-chip-green *{color:var(--g3)}.pfy-chip.pfy-chip-red{--bg: var(--r1);--fg: var(--r4);--overlay-opacity: 5%;color:var(--r4)}.pfy-chip.pfy-chip-red *{color:var(--r4)}.pfy-chip.pfy-chip-yellow{--bg: var(--y1);--fg: var(--y3);--overlay-opacity: 5%;color:var(--y3)}.pfy-chip.pfy-chip-yellow *{color:var(--y3)}.pfy-chip.pfy-chip-user{--height: 32px;--border-radius: 500rem;--action-x-padding: 5px}.pfy-chip.pfy-chip-user .pfy-chip-graphic{padding-right:8px}.pfy-chip.pfy-chip-user .pfy-chip-graphic .pfy-chip-avatar{width:24px;height:24px}.pfy-chip.pfy-chip-user .pfy-chip-remove{margin-right:5px}.pfy-chip.pfy-chip-user .pfy-chip-remove:after{margin:0 -8px}.pfy-chip.pfy-chip-user .pfy-chip-action--trailing{padding:var(--action-x-padding)}.pfy-chip.pfy-chip-user-lg{--height: 40px;--icon-size: 18px;--font-size: var(--text-md)}.pfy-chip.pfy-chip-user-lg .pfy-chip-graphic .pfy-chip-avatar{width:32px;height:32px}.pfy-chip.pfy-chip-disabled{opacity:50%;pointer-events:none}.pfy-chip .pfy-chip__text-label{white-space:nowrap}.pfy-chip .pfy-chip-action{display:inline-flex;align-items:center;cursor:pointer}.pfy-chip .pfy-chip-action--presentational{cursor:default}.pfy-chip .pfy-chip-action--primary{padding-left:12px;padding-right:12px}.pfy-chip--with-primary-graphic .pfy-chip-action--primary{padding-left:0}.pfy-chip--with-primary-graphic .pfy-chip-graphic{padding-left:var(--action-x-padding);padding-right:var(--action-x-padding)}.pfy-chip--with-trailing-action .pfy-chip-action--primary{padding-right:0}.pfy-chip--with-trailing-action .pfy-chip-action--trailing{padding:var(--action-x-padding)}.pfy-chip .pfy-chip-remove{position:relative;border-radius:var(--border-radius)}.pfy-chip .pfy-chip-remove .icon{width:var(--icon-size);height:var(--icon-size);opacity:60%}.pfy-chip .pfy-chip-remove:hover .icon{opacity:100%}.is-tabbing .pfy-chip .pfy-chip-remove:focus{box-shadow:inset 0 0 0 2px var(--bg),inset 0 0 0 4px var(--fg)}.is-tabbing .pfy-chip .pfy-chip-remove:focus .icon{opacity:100%}.pfy-chip .pfy-chip-remove:after{content:"";display:block;opacity:0;position:absolute;inset:5px;border-radius:50%;box-sizing:border-box;padding:8px;margin:-8px;background-clip:content-box}.pfy-chip .pfy-chip-focus-overlay{position:absolute;inset:0;pointer-events:none;background:var(--fg);opacity:0;border-radius:var(--border-radius)}.pfy-chip:not(:has(.pfy-chip-action--presentational)):hover .pfy-chip-focus-overlay{opacity:var(--overlay-opacity)}.pfy-chip .pfy-chip__cell{display:inline-flex;align-items:center}.pfy-chip .pfy-chip__cell,.pfy-chip .pfy-chip-action{height:100%}button.pfy-chip{outline:none;padding:0}a.pfy-chip:hover{text-decoration:none;color:var(--fg)} `],encapsulation:2,changeDetection:0})}}return n})();l();var Ee=(()=>{class n{constructor(){this._elementRef=s(w),this._document=s(le)}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let i=window.getSelection();i.removeAllRanges(),i.addRange(e)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=T({type:n,selectors:[["span","pfyChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"pfy-chip-edit-input"]})}}return n})();var on=[[["pfy-chip-avatar"],["","pfyChipAvatar",""]],[["","pfyChipEditInput",""]],"*",[["pfy-chip-trailing-icon"],["","pfyChipRemove",""],["","pfyChipTrailingIcon",""]]],rn=["pfy-chip-avatar, [pfyChipAvatar]","[pfyChipEditInput]","*","pfy-chip-trailing-icon,[pfyChipRemove],[pfyChipTrailingIcon]"];function an(n,o){n&1&&E(0,"span",0)}function sn(n,o){n&1&&(p(0,"span",2),c(1),h())}function ln(n,o){n&1&&c(0,1)}function dn(n,o){n&1&&E(0,"span",7)}function cn(n,o){if(n&1&&u(0,ln,1,0)(1,dn,1,0,"span",7),n&2){let e=L();g(e.contentEditInput?0:1)}}function pn(n,o){n&1&&c(0,2)}function fn(n,o){n&1&&(p(0,"span",5),c(1,3),h())}var ct=(()=>{class n extends X{constructor(){super(),this.basicChipAttrName="pfy-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new A,this._isEditing=!1,this.role="row",this._onBlur.pipe(D(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let i=this.value;this._isEditing=this._editStartPending=!0,Re(()=>{this._getEditInput().initialize(i),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=y({type:n,selectors:[["pfy-chip-row"],["","pfy-chip-row",""],["pfy-basic-chip-row"],["","pfy-basic-chip-row",""]],contentQueries:function(i,t,r){if(i&1&&H(r,Ee,5),i&2){let a;f(a=m())&&(t.contentEditInput=a.first)}},viewQuery:function(i,t){if(i&1&&Z(Ee,5),i&2){let r;f(r=m())&&(t.defaultEditInput=r.first)}},hostAttrs:[1,"pfy-chip","pfy-chip-row"],hostVars:23,hostBindings:function(i,t){i&1&&F("focus",function(){return t._handleFocus()})("dblclick",function(a){return t._handleDoubleclick(a)}),i&2&&(O("id",t.id),_("tabindex",t.disabled?null:-1)("aria-label",null)("aria-description",null)("role",t.role),b("pfy-chip-with-avatar",t.leadingIcon)("pfy-chip-disabled",t.disabled)("pfy-chip-editing",t._isEditing)("pfy-chip-editable",t.editable)("pfy-chip--with-trailing-action",t._hasTrailingIcon())("pfy-chip--with-primary-graphic",t.leadingIcon)("pfy-chip--with-primary-icon",t.leadingIcon)("pfy-chip--with-avatar",t.leadingIcon)("pfy-chip-with-trailing-icon",t._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[k([{provide:X,useExisting:n},{provide:re,useExisting:n}]),G],ngContentSelectors:rn,decls:10,vars:9,consts:[[1,"pfy-chip-focus-overlay"],["role","gridcell","pfyChipAction","",1,"pfy-chip__cell","pfy-chip__cell--primary",3,"disabled"],[1,"pfy-chip-graphic"],[1,"pfy-chip__text-label","pfy-chip-action-label"],["aria-hidden","true",1,"pfy-chip-primary-focus-indicator","pfy--focus-indicator"],["role","gridcell",1,"pfy-chip__cell","pfy-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["pfyChipEditInput",""]],template:function(i,t){i&1&&(S(on),u(0,an,1,0,"span",0),p(1,"span",1),u(2,sn,2,0,"span",2),p(3,"span",3),u(4,cn,2,1)(5,pn,1,0),E(6,"span",4),h()(),u(7,fn,2,0,"span",5),p(8,"span",6),$(9),h()),i&2&&(g(t._isEditing?-1:0),d(),I("disabled",t.disabled),_("aria-label",t.ariaLabel)("aria-describedby",t._ariaDescriptionId),d(),g(t.leadingIcon?2:-1),d(2),g(t._isEditing?4:5),d(3),g(t._hasTrailingIcon()?7:-1),d(),I("id",t._ariaDescriptionId),d(),ce(t.ariaDescription))},dependencies:[K,Ee],styles:[`.pfy-chip{--bg: var(--label-bg-color);--fg: var(--label-text-color);--border-radius: var(--border-radius-base);--font-size: var(--text-sm);--height: 28px;--icon-size: 16px;--action-x-padding: 6px;--overlay-opacity: 15%;background:var(--bg);color:var(--fg);border-radius:var(--border-radius);font-size:var(--font-size);position:relative;display:inline-flex;align-items:center;height:var(--height)}.is-tabbing .pfy-chip:focus-within{box-shadow:0 0 0 2px var(--white),0 0 0 4px var(--focus-outline-color)}.pfy-chip.pfy-chip-pill{--border-radius: 500rem}.pfy-chip.pfy-chip-grey{--bg: var(--n2-transp);--fg: var(--n7-transp);--overlay-opacity: 5%}.pfy-chip.pfy-chip-green{--bg: var(--g1);--fg: var(--g3);--overlay-opacity: 5%;color:var(--g3)}.pfy-chip.pfy-chip-green *{color:var(--g3)}.pfy-chip.pfy-chip-red{--bg: var(--r1);--fg: var(--r4);--overlay-opacity: 5%;color:var(--r4)}.pfy-chip.pfy-chip-red *{color:var(--r4)}.pfy-chip.pfy-chip-yellow{--bg: var(--y1);--fg: var(--y3);--overlay-opacity: 5%;color:var(--y3)}.pfy-chip.pfy-chip-yellow *{color:var(--y3)}.pfy-chip.pfy-chip-user{--height: 32px;--border-radius: 500rem;--action-x-padding: 5px}.pfy-chip.pfy-chip-user .pfy-chip-graphic{padding-right:8px}.pfy-chip.pfy-chip-user .pfy-chip-graphic .pfy-chip-avatar{width:24px;height:24px}.pfy-chip.pfy-chip-user .pfy-chip-remove{margin-right:5px}.pfy-chip.pfy-chip-user .pfy-chip-remove:after{margin:0 -8px}.pfy-chip.pfy-chip-user .pfy-chip-action--trailing{padding:var(--action-x-padding)}.pfy-chip.pfy-chip-user-lg{--height: 40px;--icon-size: 18px;--font-size: var(--text-md)}.pfy-chip.pfy-chip-user-lg .pfy-chip-graphic .pfy-chip-avatar{width:32px;height:32px}.pfy-chip.pfy-chip-disabled{opacity:50%;pointer-events:none}.pfy-chip .pfy-chip__text-label{white-space:nowrap}.pfy-chip .pfy-chip-action{display:inline-flex;align-items:center;cursor:pointer}.pfy-chip .pfy-chip-action--presentational{cursor:default}.pfy-chip .pfy-chip-action--primary{padding-left:12px;padding-right:12px}.pfy-chip--with-primary-graphic .pfy-chip-action--primary{padding-left:0}.pfy-chip--with-primary-graphic .pfy-chip-graphic{padding-left:var(--action-x-padding);padding-right:var(--action-x-padding)}.pfy-chip--with-trailing-action .pfy-chip-action--primary{padding-right:0}.pfy-chip--with-trailing-action .pfy-chip-action--trailing{padding:var(--action-x-padding)}.pfy-chip .pfy-chip-remove{position:relative;border-radius:var(--border-radius)}.pfy-chip .pfy-chip-remove .icon{width:var(--icon-size);height:var(--icon-size);opacity:60%}.pfy-chip .pfy-chip-remove:hover .icon{opacity:100%}.is-tabbing .pfy-chip .pfy-chip-remove:focus{box-shadow:inset 0 0 0 2px var(--bg),inset 0 0 0 4px var(--fg)}.is-tabbing .pfy-chip .pfy-chip-remove:focus .icon{opacity:100%}.pfy-chip .pfy-chip-remove:after{content:"";display:block;opacity:0;position:absolute;inset:5px;border-radius:50%;box-sizing:border-box;padding:8px;margin:-8px;background-clip:content-box}.pfy-chip .pfy-chip-focus-overlay{position:absolute;inset:0;pointer-events:none;background:var(--fg);opacity:0;border-radius:var(--border-radius)}.pfy-chip:not(:has(.pfy-chip-action--presentational)):hover .pfy-chip-focus-overlay{opacity:var(--overlay-opacity)}.pfy-chip .pfy-chip__cell{display:inline-flex;align-items:center}.pfy-chip .pfy-chip__cell,.pfy-chip .pfy-chip-action{height:100%}button.pfy-chip{outline:none;padding:0}a.pfy-chip:hover{text-decoration:none;color:var(--fg)} `],encapsulation:2,changeDetection:0})}}return n})();l();l();l();l();var pt=class{_box;_destroyed=new R;_resizeSubject=new R;_resizeObserver;_elementObservables=new Map;constructor(o){this._box=o,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(o){return this._elementObservables.has(o)||this._elementObservables.set(o,new xt(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(o,{box:this._box}),()=>{this._resizeObserver?.unobserve(o),i.unsubscribe(),this._elementObservables.delete(o)}}).pipe(Me(e=>e.some(i=>i.target===o)),Et({bufferSize:1,refCount:!0}),D(this._destroyed))),this._elementObservables.get(o)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},ci=(()=>{class n{_cleanupErrorListener;_observers=new Map;_ngZone=s(z);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let t=i?.box||"content-box";return this._observers.has(t)||this._observers.set(t,new pt(t)),this._observers.get(t).observe(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=ae({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var mn=["notch"],hn=["matFormFieldNotchedOutline",""],un=["*"],pi=["iconPrefixContainer"],fi=["textPrefixContainer"],mi=["iconSuffixContainer"],hi=["textSuffixContainer"],gn=["textField"],_n=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],bn=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function yn(n,o){n&1&&E(0,"span",21)}function vn(n,o){if(n&1&&(p(0,"label",20),c(1,1),u(2,yn,1,0,"span",21),h()),n&2){let e=L(2);I("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),_("for",e._control.disableAutomaticLabeling?null:e._control.id),d(2),g(!e.hideRequiredMarker&&e._control.required?2:-1)}}function xn(n,o){if(n&1&&u(0,vn,3,5,"label",20),n&2){let e=L();g(e._hasFloatingLabel()?0:-1)}}function Cn(n,o){n&1&&E(0,"div",7)}function wn(n,o){}function En(n,o){if(n&1&&Ae(0,wn,0,0,"ng-template",13),n&2){L(2);let e=$e(1);I("ngTemplateOutlet",e)}}function Dn(n,o){if(n&1&&(p(0,"div",9),u(1,En,1,1,null,13),h()),n&2){let e=L();I("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),d(),g(e._forceDisplayInfixLabel()?-1:1)}}function In(n,o){n&1&&(p(0,"div",10,2),c(2,2),h())}function Fn(n,o){n&1&&(p(0,"div",11,3),c(2,3),h())}function Sn(n,o){}function Mn(n,o){if(n&1&&Ae(0,Sn,0,0,"ng-template",13),n&2){L();let e=$e(1);I("ngTemplateOutlet",e)}}function Tn(n,o){n&1&&(p(0,"div",14,4),c(2,4),h())}function kn(n,o){n&1&&(p(0,"div",15,5),c(2,5),h())}function Rn(n,o){n&1&&E(0,"div",16)}function An(n,o){n&1&&(p(0,"div",18),c(1,6),h())}function Pn(n,o){if(n&1&&(p(0,"mat-hint",22),$(1),h()),n&2){let e=L(2);I("id",e._hintLabelId),d(),ce(e.hintLabel)}}function On(n,o){if(n&1&&(p(0,"div",19),u(1,Pn,2,2,"mat-hint",22),c(2,7),E(3,"div",23),c(4,8),h()),n&2){let e=L();d(),g(e.hintLabel?1:-1)}}var ft=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=T({type:n,selectors:[["mat-label"]]})}return n})(),xi=new x("MatError");var mt=(()=>{class n{align="start";id=s(me).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||n)};static \u0275dir=T({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,t){i&2&&(O("id",t.id),_("align",null),b("mat-mdc-form-field-hint-end",t.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),Ci=new x("MatPrefix");var wi=new x("MatSuffix");var Ei=new x("FloatingLabelParent"),ui=(()=>{class n{_elementRef=s(w);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=s(ci);_ngZone=s(z);_parent=s(Ei);_resizeSubscription=new vt;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Ln(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||n)};static \u0275dir=T({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,t){i&2&&b("mdc-floating-label--float-above",t.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function Ln(n){let o=n;if(o.offsetParent!==null)return o.scrollWidth;let e=o.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var gi="mdc-line-ripple--active",Ge="mdc-line-ripple--deactivating",_i=(()=>{class n{_elementRef=s(w);_cleanupTransitionEnd;constructor(){let e=s(z),i=s(kt);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Ge),e.add(gi)}deactivate(){this._elementRef.nativeElement.classList.add(Ge)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,t=i.contains(Ge);e.propertyName==="opacity"&&t&&i.remove(gi,Ge)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||n)};static \u0275dir=T({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),bi=(()=>{class n{_elementRef=s(w);_ngZone=s(z);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=y({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,t){if(i&1&&Z(mn,5),i&2){let r;f(r=m())&&(t._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,t){i&2&&b("mdc-notched-outline--notched",t.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:hn,ngContentSelectors:un,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,t){i&1&&(S(),We(0,"div",1),U(1,"div",2,0),c(3),Q(),We(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),Ue=(()=>{class n{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||n)};static \u0275dir=T({type:n})}return n})();var Qe=new x("MatFormField"),Di=new x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),yi="fill",Nn="auto",vi="fixed",zn="translateY(-50%)",Ii=(()=>{class n{_elementRef=s(w);_changeDetectorRef=s(te);_platform=s(pe);_idGenerator=s(me);_ngZone=s(z);_defaults=s(Di,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=ye("iconPrefixContainer");_textPrefixContainerSignal=ye("textPrefixContainer");_iconSuffixContainerSignal=ye("iconSuffixContainer");_textSuffixContainerSignal=ye("textSuffixContainer");_prefixSuffixContainers=Pe(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Nt(ft);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Yt(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Nn}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||yi;this._appearanceSignal.set(i)}_appearanceSignal=Te(yi);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||vi}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||vi}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new R;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=ne();constructor(){let e=this._defaults,i=s(ze);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Ft(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Pe(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,t="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(t+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(t+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(ee([void 0,void 0]),Ct(()=>[i.errorState,i.userAriaDescribedBy]),wt(),Me(([[r,a],[M,V]])=>r!==M||a!==V)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(D(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(),J(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(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){Bt({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Pe(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){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._getSubscriptMessageType()==="hint"){let r=this._hintChildren?this._hintChildren.find(M=>M.align==="start"):null,a=this._hintChildren?this._hintChildren.find(M=>M.align==="end"):null;r?e.push(r.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(r=>r.id));let i=this._control.describedByIds,t;if(i){let r=this._describedByIds||e;t=e.concat(i.filter(a=>a&&!r.includes(a)))}else t=e;this._control.setDescribedByIds(t),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,t=this._iconSuffixContainer?.nativeElement,r=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,M=i?.getBoundingClientRect().width??0,V=t?.getBoundingClientRect().width??0,Y=r?.getBoundingClientRect().width??0,P=this._currentDirection==="rtl"?"-1":"1",Ie=`${a+M}px`,Fe=`calc(${P} * (${Ie} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,be=`var(--mat-mdc-form-field-label-transform, ${zn} translateX(${Fe}))`,W=a+M+V+Y;return[be,W]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,t]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),t!==null&&this._notchedOutline?._setMaxWidth(t)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=y({type:n,selectors:[["mat-form-field"]],contentQueries:function(i,t,r){if(i&1&&(At(r,t._labelChild,ft,5),H(r,Ue,5)(r,Ci,5)(r,wi,5)(r,xi,5)(r,mt,5)),i&2){Ze();let a;f(a=m())&&(t._formFieldControl=a.first),f(a=m())&&(t._prefixChildren=a),f(a=m())&&(t._suffixChildren=a),f(a=m())&&(t._errorChildren=a),f(a=m())&&(t._hintChildren=a)}},viewQuery:function(i,t){if(i&1&&(Pt(t._iconPrefixContainerSignal,pi,5)(t._textPrefixContainerSignal,fi,5)(t._iconSuffixContainerSignal,mi,5)(t._textSuffixContainerSignal,hi,5),Z(gn,5)(pi,5)(fi,5)(mi,5)(hi,5)(ui,5)(bi,5)(_i,5)),i&2){Ze(4);let r;f(r=m())&&(t._textField=r.first),f(r=m())&&(t._iconPrefixContainer=r.first),f(r=m())&&(t._textPrefixContainer=r.first),f(r=m())&&(t._iconSuffixContainer=r.first),f(r=m())&&(t._textSuffixContainer=r.first),f(r=m())&&(t._floatingLabel=r.first),f(r=m())&&(t._notchedOutline=r.first),f(r=m())&&(t._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,t){i&2&&b("mat-mdc-form-field-label-always-float",t._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",t._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",t._hasIconSuffix)("mat-form-field-invalid",t._control.errorState)("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-form-field-appearance-fill",t.appearance=="fill")("mat-form-field-appearance-outline",t.appearance=="outline")("mat-form-field-hide-placeholder",t._hasFloatingLabel()&&!t._shouldLabelFloat())("mat-primary",t.color!=="accent"&&t.color!=="warn")("mat-accent",t.color==="accent")("mat-warn",t.color==="warn")("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[k([{provide:Qe,useExisting:n},{provide:Ei,useExisting:n}])],ngContentSelectors:bn,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[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",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,t){if(i&1&&(S(_n),Ae(0,xn,1,1,"ng-template",null,0,Ot),p(2,"div",6,1),F("click",function(a){return t._control.onContainerClick(a)}),u(4,Cn,1,0,"div",7),p(5,"div",8),u(6,Dn,2,2,"div",9),u(7,In,3,0,"div",10),u(8,Fn,3,0,"div",11),p(9,"div",12),u(10,Mn,1,1,null,13),c(11),h(),u(12,Tn,3,0,"div",14),u(13,kn,3,0,"div",15),h(),u(14,Rn,1,0,"div",16),h(),p(15,"div",17),u(16,An,2,0,"div",18)(17,On,5,1,"div",19),h()),i&2){let r;d(2),b("mdc-text-field--filled",!t._hasOutline())("mdc-text-field--outlined",t._hasOutline())("mdc-text-field--no-label",!t._hasFloatingLabel())("mdc-text-field--disabled",t._control.disabled)("mdc-text-field--invalid",t._control.errorState),d(2),g(!t._hasOutline()&&!t._control.disabled?4:-1),d(2),g(t._hasOutline()?6:-1),d(),g(t._hasIconPrefix?7:-1),d(),g(t._hasTextPrefix?8:-1),d(2),g(!t._hasOutline()||t._forceDisplayInfixLabel()?10:-1),d(2),g(t._hasTextSuffix?12:-1),d(),g(t._hasIconSuffix?13:-1),d(),g(t._hasOutline()?-1:14),d(),b("mat-mdc-form-field-subscript-dynamic-size",t.subscriptSizing==="dynamic");let a=t._getSubscriptMessageType();d(),g((r=a)==="error"?16:r==="hint"?17:-1)}},dependencies:[ui,bi,Ht,_i,mt],styles:[`.mdc-text-field { display: inline-flex; align-items: baseline; padding: 0 16px; position: relative; box-sizing: border-box; overflow: hidden; will-change: opacity, transform, color; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .mdc-text-field__input { width: 100%; min-width: 0; border: none; border-radius: 0; background: none; padding: 0; -moz-appearance: none; -webkit-appearance: none; height: 28px; } .mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button { display: none; } .mdc-text-field__input::-ms-clear { display: none; } .mdc-text-field__input:focus { outline: none; } .mdc-text-field__input:invalid { box-shadow: none; } .mdc-text-field__input::placeholder { opacity: 0; } .mdc-text-field__input::-moz-placeholder { opacity: 0; } .mdc-text-field__input::-webkit-input-placeholder { opacity: 0; } .mdc-text-field__input:-ms-input-placeholder { opacity: 0; } .mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder { opacity: 1; } .mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { opacity: 1; } .mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { opacity: 1; } .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--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder { opacity: 0; } .mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder { opacity: 0; } .mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder { opacity: 0; } .mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder { opacity: 0; } .mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input { height: 100%; } .mdc-text-field--outlined .mdc-text-field__input { display: flex; border: none !important; background-color: transparent; } .mdc-text-field--disabled .mdc-text-field__input { pointer-events: auto; } .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input { color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface)); caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary)); } .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input { color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface)); caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error)); } .mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error)); } .mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input { color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input { color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } @media (forced-colors: active) { .mdc-text-field--disabled .mdc-text-field__input { background-color: Window; } } .mdc-text-field--filled { height: 56px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); } .mdc-text-field--filled:not(.mdc-text-field--disabled) { background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant)); } .mdc-text-field--filled.mdc-text-field--disabled { background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent)); } .mdc-text-field--outlined { height: 56px; overflow: visible; padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); } [dir=rtl] .mdc-text-field--outlined { padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); } .mdc-floating-label { position: absolute; left: 0; 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 { right: 0; left: auto; transform-origin: right top; text-align: right; } .mdc-text-field .mdc-floating-label { top: 50%; transform: translateY(-50%); pointer-events: none; } .mdc-notched-outline .mdc-floating-label { display: inline-block; position: relative; max-width: 100%; } .mdc-text-field--outlined .mdc-floating-label { left: 4px; right: auto; } [dir=rtl] .mdc-text-field--outlined .mdc-floating-label { left: auto; right: 4px; } .mdc-text-field--filled .mdc-floating-label { left: 16px; right: auto; } [dir=rtl] .mdc-text-field--filled .mdc-floating-label { left: auto; right: 16px; } .mdc-text-field--disabled .mdc-floating-label { cursor: default; } @media (forced-colors: active) { .mdc-text-field--disabled .mdc-floating-label { z-index: 1; } } .mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label { display: none; } .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label { color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary)); } .mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label { color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error)); } .mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error)); } .mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container)); } .mdc-text-field--filled .mdc-floating-label { font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font)); font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size)); font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight)); letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label { color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface)); } .mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label { color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container)); } .mdc-text-field--outlined .mdc-floating-label { font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font)); font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size)); font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight)); letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking)); } .mdc-floating-label--float-above { cursor: auto; transform: translateY(-106%) scale(0.75); } .mdc-text-field--filled .mdc-floating-label--float-above { transform: translateY(-106%) scale(0.75); } .mdc-text-field--outlined .mdc-floating-label--float-above { transform: translateY(-37.25px) scale(1); font-size: 0.75rem; } .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-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-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-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { margin-left: 1px; margin-right: 0; content: "*"; } [dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::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 { text-align: right; } .mdc-text-field--outlined .mdc-notched-outline { z-index: 1; } .mat-mdc-notch-piece { box-sizing: border-box; height: 100%; pointer-events: none; border: none; border-top: 1px solid; border-bottom: 1px solid; } .mdc-text-field--focused .mat-mdc-notch-piece { border-width: 2px; } .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece { border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline)); border-width: var(--mat-form-field-outlined-outline-width, 1px); } .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece { border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece { border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary)); } .mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece { border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece { border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece { border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece { border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error)); } .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece { border-width: var(--mat-form-field-outlined-focus-outline-width, 2px); } .mdc-notched-outline__leading { border-left: 1px solid; border-right: none; border-top-right-radius: 0; border-bottom-right-radius: 0; border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); } .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading { width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); } [dir=rtl] .mdc-notched-outline__leading { border-left: none; border-right: 1px solid; border-bottom-left-radius: 0; border-top-left-radius: 0; border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); } .mdc-notched-outline__trailing { flex-grow: 1; border-left: none; border-right: 1px solid; border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); } [dir=rtl] .mdc-notched-outline__trailing { border-left: 1px solid; border-right: none; border-top-right-radius: 0; border-bottom-right-radius: 0; border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); } .mdc-notched-outline__notch { flex: 0 0 auto; width: auto; } .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch { max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); } .mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); } .mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { padding-top: 1px; } .mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { padding-top: 2px; } .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 { 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; border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px); } .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before { border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant)); } .mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before { border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface)); } .mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before { border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before { border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error)); } .mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before { border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container)); } .mdc-line-ripple::after { transform: scaleX(0); opacity: 0; z-index: 2; } .mdc-text-field--filled .mdc-line-ripple::after { border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px); } .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after { border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary)); } .mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after { border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error)); } .mdc-line-ripple--active::after { transform: scaleX(1); opacity: 1; } .mdc-line-ripple--deactivating::after { opacity: 0; } .mdc-text-field--disabled { pointer-events: none; } .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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-form-field-disabled .mdc-text-field__input::-moz-placeholder { color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder { color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder { color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .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-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 transparent; } [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 transparent; } .mat-mdc-form-field-infix { min-height: var(--mat-form-field-container-height, 56px); padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px); padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px); } .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, 16px); padding-bottom: var(--mat-form-field-container-vertical-padding, 16px); } .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label { top: calc(var(--mat-form-field-container-height, 56px) / 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, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75)); transform: var(--mat-mdc-form-field-label-transform); } @keyframes _mat-form-field-subscript-animation { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } } .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; opacity: 1; transform: translateY(0); animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2); } .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, var(--mat-sys-error)); } .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, var(--mat-sys-body-small-font)); line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height)); font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size)); letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking)); font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-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, var(--mat-sys-on-surface)); } .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay { opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-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, 0); } select.mat-mdc-form-field-input-control { -moz-appearance: none; -webkit-appearance: none; background-color: transparent; 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, var(--mat-sys-neutral10)); } 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, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent)); } .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; 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, var(--mat-sys-on-surface-variant)); } [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, var(--mat-sys-primary)); } .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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .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; } @media (forced-colors: active) { .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper { outline: solid 1px; } } @media (forced-colors: active) { .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper { outline-color: GrayText; } } @media (forced-colors: active) { .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper { outline: dashed 3px; } } @media (forced-colors: 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, var(--mat-sys-body-large-font)); line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height)); font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size)); letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking)); font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight)); } .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); } [dir=rtl] .mat-mdc-form-field { text-align: right; } .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, var(--mat-sys-on-surface-variant)); } .mat-form-field-disabled .mat-mdc-form-field-icon-prefix { color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-mdc-form-field-icon-suffix { color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant)); } .mat-form-field-disabled .mat-mdc-form-field-icon-suffix { color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-form-field-invalid .mat-mdc-form-field-icon-suffix { color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error)); } .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, var(--mat-sys-on-error-container)); } .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, var(--mat-sys-error)); } .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-infix:has(textarea[cols]) { width: auto; } .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.mat-form-field-animations-enabled .mdc-floating-label { transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1); } .mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input { transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1); } .mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder { transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); } .mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder { transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); } .mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder { transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); } .mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder { transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); } .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder { transition-delay: 40ms; transition-duration: 110ms; } .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { transition-delay: 40ms; transition-duration: 110ms; } .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { transition-delay: 40ms; transition-duration: 110ms; } .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { transition-delay: 40ms; transition-duration: 110ms; } .mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before { transition-duration: 75ms; } .mat-mdc-form-field.mat-form-field-animations-enabled .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); } .mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper, .mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper { animation-duration: 300ms; } .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,changeDetection:0})}return n})();var rs=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=q({type:n});static \u0275inj=j({imports:[Ut,Ii,ie]})}return n})();l();var Bn=["*"],De=(()=>{class n{constructor(){this._elementRef=s(w),this._changeDetectorRef=s(te),this._dir=s(ze,{optional:!0}),this._lastDestroyedFocusedChipIndex=null,this._destroyed=new R,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Mt}get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(ee(null),Dt(()=>J(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("pfy-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(ee(this._chips)).subscribe(e=>{let i=[];e.forEach(t=>t._getActions().forEach(r=>i.push(r))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new Qt(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(D(this._destroyed)).subscribe(({chip:e})=>{let i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(D(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(ee(null),D(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(D(this._destroyed)).subscribe(e=>{let t=this._chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=t)})}_redirectDestroyedChipFocus(){if(!(this._lastDestroyedFocusedChipIndex===null||this._lastDestroyedFocusedChipIndex===void 0)){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=y({type:n,selectors:[["pfy-chip-set"]],contentQueries:function(i,t,r){if(i&1&&H(r,X,5),i&2){let a;f(a=m())&&(t._chips=a)}},hostAttrs:[1,"pfy-chip-set"],hostVars:1,hostBindings:function(i,t){i&1&&F("keydown",function(a){return t._handleKeydown(a)}),i&2&&_("role",t.role)},inputs:{disabled:[2,"disabled","disabled",v],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Oe(e)]},ngContentSelectors:Bn,decls:2,vars:0,consts:[["role","presentation",1,"pfy-chip-set__chips"]],template:function(i,t){i&1&&(S(),U(0,"div",0),c(1),Q())},styles:[`.pfy-chip-set .pfy-chip-set__chips{display:flex;gap:4px;flex-flow:row wrap}.pfy-chip-set.pfy-chip-scroll-x .pfy-chip-set__chips{flex-wrap:nowrap;max-width:100%;overflow-x:auto;padding:4px 4px 4px 0}.pfy-chip-set-stacked{flex-flow:column nowrap;align-items:flex-start}.pfy-chip-set-stacked .pfy-chip{width:100%}.pfy-chip-set-stacked .pfy-chip-graphic{flex-grow:0}.pfy-chip-set-stacked .pfy-chip__action--primary{flex-basis:100%;justify-content:start} `],encapsulation:2,changeDetection:0})}}return n})();var Vn=["*"],Si=zt(),ht=class{constructor(o,e){this.source=o,this.value=e}},jn=(()=>{class n extends De{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Zt.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){let e=s(Kt,{optional:!0}),i=s(Xt,{optional:!0}),t=s(ve);super(),this.ngControl=s($t,{optional:!0,self:!0}),this.controlType="pfy-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new A,this.valueChange=new A,this._chips=void 0,this.stateChanges=new R;let r=this.ngControl;this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new xe(t,r,i,e,this.stateChanges)}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngAfterContentInit(){this.chipBlurChanges.pipe(D(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),J(this.chipFocusChanges,this._chips.changes).pipe(D(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){if(super.ngAfterViewInit(),!this._chipInput&&(typeof Si>"u"||Si))throw Error("pfy-chip-grid must be used in combination with PfyChipInputFor.")}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let i=e.keyCode,t=this._keyManager.activeItem;if(i===9)this._chipInput.focused&&fe(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),t?this._keyManager.setActiveItem(t):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((i===38||i===40)&&t){let r=this._chipActions.filter(V=>V._isPrimary===t._isPrimary&&!this._skipPredicate(V)),a=r.indexOf(t),M=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+M)&&this._keyManager.setActiveItem(r[a+M])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(i=>i.value):[];this._value=e,this.change.emit(new ht(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=y({type:n,selectors:[["pfy-chip-grid"]],contentQueries:function(i,t,r){if(i&1&&H(r,ct,5),i&2){let a;f(a=m())&&(t._chips=a)}},hostAttrs:[1,"pfy-chip-set","pfy-chip-grid"],hostVars:10,hostBindings:function(i,t){i&1&&F("focus",function(){return t.focus()})("blur",function(){return t._blur()}),i&2&&(_("role",t.role)("tabindex",t.disabled||t._chips&&t._chips.length===0?-1:t.tabIndex)("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState),b("pfy-chip-list-disabled",t.disabled)("pfy-chip-list-invalid",t.errorState)("pfy-chip-list-required",t.required))},inputs:{disabled:[2,"disabled","disabled",v],placeholder:"placeholder",required:[2,"required","required",v],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[k([{provide:Ue,useExisting:n}]),G],ngContentSelectors:Vn,decls:2,vars:0,consts:[["role","presentation",1,"pfy-chip-set__chips"]],template:function(i,t){i&1&&(S(),U(0,"div",0),c(1),Q())},styles:[`.pfy-chip-set .pfy-chip-set__chips{display:flex;gap:4px;flex-flow:row wrap}.pfy-chip-set.pfy-chip-scroll-x .pfy-chip-set__chips{flex-wrap:nowrap;max-width:100%;overflow-x:auto;padding:4px 4px 4px 0}.pfy-chip-set-stacked{flex-flow:column nowrap;align-items:flex-start}.pfy-chip-set-stacked .pfy-chip{width:100%}.pfy-chip-set-stacked .pfy-chip-graphic{flex-grow:0}.pfy-chip-set-stacked .pfy-chip__action--primary{flex-basis:100%;justify-content:start} `],encapsulation:2,changeDetection:0})}}return n})();l();var qn=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=T({type:n,selectors:[["pfy-chip-avatar"],["","pfyChipAvatar",""]],hostAttrs:["role","img",1,"pfy-chip-avatar","pfy-chip__icon","pfy-chip__icon--primary"],features:[k([{provide:Ce,useExisting:n}])]})}}return n})();var Gn=(()=>{class n extends K{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=de(n)))(t||n)}})()}static{this.\u0275dir=T({type:n,selectors:[["","pfyChipRemove",""]],hostAttrs:["role","button",1,"pfy-chip-remove","pfy-chip-trailing-icon","pfy--focus-indicator","pfy-chip__icon","pfy-chip__icon--trailing"],hostVars:1,hostBindings:function(i,t){i&2&&_("aria-hidden",null)},features:[k([{provide:we,useExisting:n}]),G]})}}return n})();l();var Un=0,Qn=(()=>{class n{get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}get empty(){return!this.inputElement.value}constructor(){this._elementRef=s(w),this.focused=!1,this.addOnBlur=!1,this.chipEnd=new A,this.placeholder="",this.id=`pfy-chip-list-input-${Un++}`,this._disabled=!1;let e=s(oe),i=s(Qe,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=e.separatorKeyCodes,i&&this.inputElement.classList.add("pfy--form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e)&&!e.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!fe(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=T({type:n,selectors:[["input","pfyChipInputFor",""]],hostAttrs:[1,"pfy-chip-input","pfy--input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(i,t){i&1&&F("keydown",function(a){return t._keydown(a)})("blur",function(){return t._blur()})("focus",function(){return t._focus()})("input",function(){return t._onInput()}),i&2&&(O("id",t.id),_("disabled",t.disabled||null)("placeholder",t.placeholder||null)("aria-invalid",t._chipGrid&&t._chipGrid.ngControl?t._chipGrid.ngControl.invalid:null)("aria-required",t._chipGrid&&t._chipGrid.required||null)("required",t._chipGrid&&t._chipGrid.required||null))},inputs:{chipGrid:[0,"pfyChipInputFor","chipGrid"],addOnBlur:[2,"pfyChipInputAddOnBlur","addOnBlur",v],separatorKeyCodes:[0,"pfyChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",v]},outputs:{chipEnd:"pfyChipInputTokenEnd"},exportAs:["pfyChipInput","pfyChipInputFor"],features:[St]})}}return n})();l();l();l();var Yn=["*",[["pfy-chip-avatar"],["","pfyChipAvatar",""]],[["pfy-chip-trailing-icon"],["","pfyChipRemove",""],["","pfyChipTrailingIcon",""]]],Wn=["*","pfy-chip-avatar, [pfyChipAvatar]","pfy-chip-trailing-icon,[pfyChipRemove],[pfyChipTrailingIcon]"];function Zn(n,o){n&1&&(p(0,"span",3),c(1,1),h())}function $n(n,o){n&1&&(p(0,"span",6),c(1,2),h())}var ut=(()=>{class n extends X{constructor(){super(...arguments),this._defaultOptions=s(oe,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="pfy-basic-chip-option",this.selectionChange=new A}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=e,this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(e){this._setSelectedState(e,!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,i,t){e!==this.selected&&(this._selected=e,t&&this.selectionChange.emit({source:this,isUserInput:i,selected:this.selected}),this._changeDetectorRef.markForCheck())}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=de(n)))(t||n)}})()}static{this.\u0275cmp=y({type:n,selectors:[["pfy-basic-chip-option"],["","pfy-basic-chip-option",""],["pfy-chip-option"],["","pfy-chip-option",""]],hostAttrs:[1,"pfy-chip","pfy-chip-option"],hostVars:35,hostBindings:function(i,t){i&2&&(O("id",t.id),_("tabindex",null)("aria-label",null)("aria-description",null)("role",t.role),b("pfy-chip",!t._isBasicChip)("pfy-chip--filter",!t._isBasicChip)("pfy-chip--selectable",!t._isBasicChip)("pfy-chip-selected",t.selected)("pfy-chip-multiple",t._chipListMultiple)("pfy-chip-disabled",t.disabled)("pfy-chip-with-avatar",t.leadingIcon)("pfy-chip--disabled",t.disabled)("pfy-chip--selected",t.selected)("pfy-chip--selecting",!t._animationsDisabled)("pfy-chip--with-trailing-action",t._hasTrailingIcon())("pfy-chip--with-primary-icon",t.leadingIcon)("pfy-chip--with-primary-graphic",t._hasLeadingGraphic())("pfy-chip--with-avatar",t.leadingIcon)("pfy-chip-with-trailing-icon",t._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",v],selected:[2,"selected","selected",v]},outputs:{selectionChange:"selectionChange"},features:[k([{provide:X,useExisting:n},{provide:re,useExisting:n}]),G],ngContentSelectors:Wn,decls:10,vars:8,consts:[[1,"pfy-chip-focus-overlay"],[1,"pfy-chip__cell","pfy-chip__cell--primary"],["type","button","pfyChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"pfy-chip-graphic"],[1,"pfy-chip__text-label","pfy-chip-action-label"],[1,"pfy-chip-primary-focus-indicator","pfy--focus-indicator"],[1,"pfy-chip__cell","pfy-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"]],template:function(i,t){i&1&&(S(Yn),E(0,"span",0),p(1,"span",1)(2,"button",2),u(3,Zn,2,0,"span",3),p(4,"span",4),c(5),E(6,"span",5),h()()(),u(7,$n,2,0,"span",6),p(8,"span",7),$(9),h()),i&2&&(d(2),I("_allowFocusWhenDisabled",!0),_("aria-selected",t.ariaSelected)("aria-label",t.ariaLabel)("aria-describedby",t._ariaDescriptionId),d(),g(t._hasLeadingGraphic()?3:-1),d(4),g(t._hasTrailingIcon()?7:-1),d(),I("id",t._ariaDescriptionId),d(),ce(t.ariaDescription))},dependencies:[K],styles:[`.pfy-chip{--bg: var(--label-bg-color);--fg: var(--label-text-color);--border-radius: var(--border-radius-base);--font-size: var(--text-sm);--height: 28px;--icon-size: 16px;--action-x-padding: 6px;--overlay-opacity: 15%;background:var(--bg);color:var(--fg);border-radius:var(--border-radius);font-size:var(--font-size);position:relative;display:inline-flex;align-items:center;height:var(--height)}.is-tabbing .pfy-chip:focus-within{box-shadow:0 0 0 2px var(--white),0 0 0 4px var(--focus-outline-color)}.pfy-chip.pfy-chip-pill{--border-radius: 500rem}.pfy-chip.pfy-chip-grey{--bg: var(--n2-transp);--fg: var(--n7-transp);--overlay-opacity: 5%}.pfy-chip.pfy-chip-green{--bg: var(--g1);--fg: var(--g3);--overlay-opacity: 5%;color:var(--g3)}.pfy-chip.pfy-chip-green *{color:var(--g3)}.pfy-chip.pfy-chip-red{--bg: var(--r1);--fg: var(--r4);--overlay-opacity: 5%;color:var(--r4)}.pfy-chip.pfy-chip-red *{color:var(--r4)}.pfy-chip.pfy-chip-yellow{--bg: var(--y1);--fg: var(--y3);--overlay-opacity: 5%;color:var(--y3)}.pfy-chip.pfy-chip-yellow *{color:var(--y3)}.pfy-chip.pfy-chip-user{--height: 32px;--border-radius: 500rem;--action-x-padding: 5px}.pfy-chip.pfy-chip-user .pfy-chip-graphic{padding-right:8px}.pfy-chip.pfy-chip-user .pfy-chip-graphic .pfy-chip-avatar{width:24px;height:24px}.pfy-chip.pfy-chip-user .pfy-chip-remove{margin-right:5px}.pfy-chip.pfy-chip-user .pfy-chip-remove:after{margin:0 -8px}.pfy-chip.pfy-chip-user .pfy-chip-action--trailing{padding:var(--action-x-padding)}.pfy-chip.pfy-chip-user-lg{--height: 40px;--icon-size: 18px;--font-size: var(--text-md)}.pfy-chip.pfy-chip-user-lg .pfy-chip-graphic .pfy-chip-avatar{width:32px;height:32px}.pfy-chip.pfy-chip-disabled{opacity:50%;pointer-events:none}.pfy-chip .pfy-chip__text-label{white-space:nowrap}.pfy-chip .pfy-chip-action{display:inline-flex;align-items:center;cursor:pointer}.pfy-chip .pfy-chip-action--presentational{cursor:default}.pfy-chip .pfy-chip-action--primary{padding-left:12px;padding-right:12px}.pfy-chip--with-primary-graphic .pfy-chip-action--primary{padding-left:0}.pfy-chip--with-primary-graphic .pfy-chip-graphic{padding-left:var(--action-x-padding);padding-right:var(--action-x-padding)}.pfy-chip--with-trailing-action .pfy-chip-action--primary{padding-right:0}.pfy-chip--with-trailing-action .pfy-chip-action--trailing{padding:var(--action-x-padding)}.pfy-chip .pfy-chip-remove{position:relative;border-radius:var(--border-radius)}.pfy-chip .pfy-chip-remove .icon{width:var(--icon-size);height:var(--icon-size);opacity:60%}.pfy-chip .pfy-chip-remove:hover .icon{opacity:100%}.is-tabbing .pfy-chip .pfy-chip-remove:focus{box-shadow:inset 0 0 0 2px var(--bg),inset 0 0 0 4px var(--fg)}.is-tabbing .pfy-chip .pfy-chip-remove:focus .icon{opacity:100%}.pfy-chip .pfy-chip-remove:after{content:"";display:block;opacity:0;position:absolute;inset:5px;border-radius:50%;box-sizing:border-box;padding:8px;margin:-8px;background-clip:content-box}.pfy-chip .pfy-chip-focus-overlay{position:absolute;inset:0;pointer-events:none;background:var(--fg);opacity:0;border-radius:var(--border-radius)}.pfy-chip:not(:has(.pfy-chip-action--presentational)):hover .pfy-chip-focus-overlay{opacity:var(--overlay-opacity)}.pfy-chip .pfy-chip__cell{display:inline-flex;align-items:center}.pfy-chip .pfy-chip__cell,.pfy-chip .pfy-chip-action{height:100%}button.pfy-chip{outline:none;padding:0}a.pfy-chip:hover{text-decoration:none;color:var(--fg)} `],encapsulation:2,changeDetection:0})}}return n})();var Kn=["*"],gt=class{constructor(o,e){this.source=o,this.value=e}},Xn={provide:Wt,useExisting:It(()=>Ti),multi:!0},Ti=(()=>{class n extends De{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._ariaDescribedby=null,this._defaultRole="listbox",this._defaultOptions=s(oe,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(e,i)=>e===i,this.required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new A,this._chips=void 0}get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._syncListboxProperties()}get selected(){let e=this._chips.toArray().filter(i=>i.selected);return this.multiple?e:e[0]}get selectable(){return this._selectable}set selectable(e){this._selectable=e,this._syncListboxProperties()}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}ngAfterContentInit(){this._pendingInitialValue!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(ee(null),D(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(D(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(D(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(i=>{i!==e.source&&i._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){this._chips?this._setSelectionByValue(e,!1):e!=null&&(this._pendingInitialValue=e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,i=!0){this._clearSelection(),Array.isArray(e)?e.forEach(t=>this._selectValue(t,i)):this._selectValue(e,i)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(e){e.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;Array.isArray(this.selected)?e=this.selected.map(i=>i.value):e=this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new gt(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(i=>{i!==e&&i.deselect()})}_selectValue(e,i){let t=this._chips.find(r=>r.value!==null&&r.value!==void 0&&this.compareWith(r.value,e));return t&&(i?t.selectViaInteraction():t.select()),t}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=de(n)))(t||n)}})()}static{this.\u0275cmp=y({type:n,selectors:[["pfy-chip-listbox"]],contentQueries:function(i,t,r){if(i&1&&H(r,ut,5),i&2){let a;f(a=m())&&(t._chips=a)}},hostAttrs:[1,"pfy-chip-set","pfy-chip-listbox"],hostVars:11,hostBindings:function(i,t){i&1&&F("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(a){return t._keydown(a)}),i&2&&(O("tabIndex",t.disabled||t.empty?-1:t.tabIndex),_("role",t.role)("aria-describedby",t._ariaDescribedby)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-multiselectable",t.multiple)("aria-orientation",t.ariaOrientation),b("pfy-chip-list-disabled",t.disabled)("pfy-chip-list-required",t.required))},inputs:{multiple:[2,"multiple","multiple",v],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",v],compareWith:"compareWith",required:[2,"required","required",v],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",v],value:"value"},outputs:{change:"change"},features:[k([Xn]),G],ngContentSelectors:Kn,decls:2,vars:0,consts:[["role","presentation",1,"pfy-chip-set__chips"]],template:function(i,t){i&1&&(S(),U(0,"div",0),c(1),Q())},styles:[`.pfy-chip-set .pfy-chip-set__chips{display:flex;gap:4px;flex-flow:row wrap}.pfy-chip-set.pfy-chip-scroll-x .pfy-chip-set__chips{flex-wrap:nowrap;max-width:100%;overflow-x:auto;padding:4px 4px 4px 0}.pfy-chip-set-stacked{flex-flow:column nowrap;align-items:flex-start}.pfy-chip-set-stacked .pfy-chip{width:100%}.pfy-chip-set-stacked .pfy-chip-graphic{flex-grow:0}.pfy-chip-set-stacked .pfy-chip__action--primary{flex-basis:100%;justify-content:start} `],encapsulation:2,changeDetection:0})}}return n})();var Hl=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=q({type:n})}static{this.\u0275inj=j({providers:[ve,{provide:oe,useValue:{separatorKeyCodes:[13]}}]})}}return n})();export{eo as a,Wi as b,st as c,Zi as d,ve as e,ne as f,He as g,ri as h,ot as i,rt as j,Gi as k,Ve as l,at as m,Ui as n,Qi as o,ai as p,Yi as q,hr as r,xe as s,X as t,Ue as u,Qe as v,rs as w,ct as x,De as y,jn as z,qn as A,Gn as B,Qn as C,ut as D,Ti as E,Hl as F};