1import{r as w}from"./chunk-B03JrT7s.js";import{An as g,Ft as Vu,Tt as Un,W as Le,Xr as ta,at as Pe,nn as _,tn as Zr,u as Bn,ui as wi}from"./chunk-CffQhyGZ.js";import{E as ne,F as u,M as se,a as L,b as fs,d as Vn,j as re,u as S,x as g$1}from"./chunk-DpOgVZkU.js";var tt=(()=>{class i{static ɵfac=function(n){return new(n||i)};static ɵcmp=ta({type:i,selectors:[[`structural-styles`]],decls:0,vars:0,template:function(n,s){},styles:[`.mat-focus-indicator { 2 position: relative; 3} 4.mat-focus-indicator::before { 5 top: 0; 6 left: 0; 7 right: 0; 8 bottom: 0; 9 position: absolute; 10 box-sizing: border-box; 11 pointer-events: none; 12 display: var(--%NS%mat-focus-indicator-display, none); 13 border-width: var(--%NS%mat-focus-indicator-border-width, 3px); 14 border-style: var(--%NS%mat-focus-indicator-border-style, solid); 15 border-color: var(--%NS%mat-focus-indicator-border-color, transparent); 16 border-radius: var(--%NS%mat-focus-indicator-border-radius, 4px); 17} 18.mat-focus-indicator:focus-visible::before { 19 content: ""; 20} 21 22@media (forced-colors: active) { 23 html { 24 --%NS%mat-focus-indicator-display: block; 25 --%NS%mat-focus-indicator-fallback-border-style: none; 26 } 27} 28`],encapsulation:2})}return i})();var l=(function(i){return i[i.FADING_IN=0]=`FADING_IN`,i[i.VISIBLE=1]=`VISIBLE`,i[i.FADING_OUT=2]=`FADING_OUT`,i[i.HIDDEN=3]=`HIDDEN`,i})(l||{});var E=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=l.HIDDEN;constructor(t,e,n,s=!1){this._renderer=t,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=s}fadeOut(){this._renderer.fadeOutRipple(this)}};var z=re({passive:!0,capture:!0});var b=class{_events=new Map;addHandler(t,e,n,s){let r=this._events.get(e);if(r){let d=r.get(n);d?d.add(s):r.set(n,new Set([s]))}else this._events.set(e,new Map([[n,new Set([s])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,z)})}removeHandler(t,e,n){let s=this._events.get(t);if(!s)return;let r=s.get(e);r&&(r.delete(n),r.size===0&&s.delete(e),s.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,z)))}_delegateEventHandler=t=>{let e=g$1(t);e&&this._events.get(t.type)?.forEach((n,s)=>{(s===e||s.contains(e))&&n.forEach(r=>r.handleEvent(t))})}};var V={enterDuration:225,exitDuration:150};var J=800;var Z=re({passive:!0,capture:!0});var $=[`mousedown`,`touchstart`];var j=[`mouseup`,`mouseleave`,`touchend`,`touchcancel`];var K=(()=>{class i{static ɵfac=function(n){return new(n||i)};static ɵcmp=ta({type:i,selectors:[[`ng-component`]],hostAttrs:[`mat-ripple-style-loader`,``],decls:0,vars:0,template:function(n,s){},styles:[`.mat-ripple { 29 overflow: hidden; 30 position: relative; 31} 32.mat-ripple:not(:empty) { 33 transform: translateZ(0); 34} 35 36.mat-ripple.mat-ripple-unbounded { 37 overflow: visible; 38} 39 40.mat-ripple-element { 41 position: absolute; 42 border-radius: 50%; 43 pointer-events: none; 44 transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1); 45 transform: scale3d(0, 0, 0); 46 background-color: var(--%NS%mat-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 10%, transparent)); 47} 48@media (forced-colors: active) { 49 .mat-ripple-element { 50 display: none; 51 } 52} 53.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { 54 display: none; 55} 56`],encapsulation:2})}return i})();var D=class i{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new b;constructor(t,e,n,s,r){this._target=t,this._ngZone=e,this._platform=s,s.isBrowser&&(this._containerElement=S(n)),r&&r.get(L).load(K)}fadeInRipple(t,e,n={}){let s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=w(w({},V),n.animation);n.centered&&(t=s.left+s.width/2,e=s.top+s.height/2);let d=n.radius||Q(t,e,s),Y=t-s.left,X=e-s.top,u=r.enterDuration,o=document.createElement(`div`);o.classList.add(`mat-ripple-element`),o.style.left=`${Y-d}px`,o.style.top=`${X-d}px`,o.style.height=`${d*2}px`,o.style.width=`${d*2}px`,n.color!=null&&(o.style.backgroundColor=n.color),o.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(o);let T=window.getComputedStyle(o),q=T.transitionProperty,y=T.transitionDuration,f=q===`none`||y===`0s`||y===`0s, 0s`||s.width===0&&s.height===0,c=new E(this,o,n,f);o.style.transform=`scale3d(1, 1, 1)`,c.state=l.FADING_IN,n.persistent||(this._mostRecentTransientRipple=c);let h=null;return!f&&(u||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let R=()=>{h&&(h.fallbackTimer=null),clearTimeout(I),this._finishRippleTransition(c)},g=()=>this._destroyRipple(c),I=setTimeout(g,u+100);o.addEventListener(`transitionend`,R),o.addEventListener(`transitioncancel`,g),h={onTransitionEnd:R,onTransitionCancel:g,fallbackTimer:I}}),this._activeRipples.set(c,h),(f||!u)&&this._finishRippleTransition(c),c}fadeOutRipple(t){if(t.state===l.FADING_OUT||t.state===l.HIDDEN)return;let e=t.element,n=w(w({},V),t.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity=`0`,t.state=l.FADING_OUT,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}
vendor: 4,655 bytes, line 56
56fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let e=S(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,$.forEach(n=>{i._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(t){t.type===`mousedown`?this._onMousedown(t):t.type===`touchstart`?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{j.forEach(e=>{this._triggerElement.addEventListener(e,this,Z)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===l.FADING_IN?this._startFadeOutTransition(t):t.state===l.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=l.VISIBLE,!n&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=l.HIDDEN,e!==null&&(t.element.removeEventListener(`transitionend`,e.onTransitionEnd),t.element.removeEventListener(`transitioncancel`,e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),t.element.remove()}_onMousedown(t){let e=ne(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+J;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!se(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=t.changedTouches;if(e)for(let n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let e=t.state===l.VISIBLE||t.config.terminateOnPointerUp&&t.state===l.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&($.forEach(e=>i._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&(j.forEach(e=>t.removeEventListener(e,this,Z)),this._pointerUpEventsRegistered=!1))}};function Q(i,t,e){let n=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),s=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(n*n+s*s)}var W=new _(`mat-ripple-global-options`);var ut=(()=>{class i{_elementRef=g(Un);_animationsDisabled=fs();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=g(Le),n=g(u),s=g(W,{optional:!0}),r=g(Pe);this._globalOptions=s||{},this._rippleRenderer=new D(this,e,this._elementRef,n,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:w(w(w({},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,n=0,s){return typeof e==`number`?this._rippleRenderer.fadeInRipple(e,n,w(w({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,w(w({},this.rippleConfig),e))}static ɵfac=function(n){return new(n||i)};static ɵdir=Bn({type:i,selectors:[[``,`mat-ripple`,``],[``,`matRipple`,``]],hostAttrs:[1,`mat-ripple`],hostVars:2,hostBindings:function(n,s){n&2&&Vu(`mat-ripple-unbounded`,s.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 i})();var gt=(()=>
56{class i{static ɵfac=function(n){return new(n||i)};static ɵmod=wi({type:i});static ɵinj=Zr({imports:[Vn]})}return i})();export{tt as a,gt as i,V as n,ut as o,W as r,D as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.