blob: 9efca1bae71e27cb1b3e2e03390772745d75a88e [file] [log] [blame]
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("@angular/forms"),require("@angular/platform-browser/animations"),require("@angular/cdk/platform"),require("rxjs")):"function"==typeof define&&define.amd?define("@angular/material/slider",["exports","@angular/common","@angular/core","@angular/material/core","@angular/cdk/a11y","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/keycodes","@angular/forms","@angular/platform-browser/animations","@angular/cdk/platform","rxjs"],e):e(((t=t||self).ng=t.ng||{},t.ng.material=t.ng.material||{},t.ng.material.slider={}),t.ng.common,t.ng.core,t.ng.material.core,t.ng.cdk.a11y,t.ng.cdk.bidi,t.ng.cdk.coercion,t.ng.cdk.keycodes,t.ng.forms,t.ng.platformBrowser.animations,t.ng.cdk.platform,t.rxjs)}(this,(function(t,e,i,r,a,n,s,o,l,c,d,u){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var m,h=function(t,e){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},p=d.normalizePassiveListenerOptions({passive:!1}),b={provide:l.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return _})),multi:!0},v=function v(){},_=function(t){function e(e,r,a,n,s,o,l,c){var d=t.call(this,e)||this;return d._focusMonitor=r,d._changeDetectorRef=a,d._dir=n,d._ngZone=o,d._animationMode=c,d._invert=!1,d._max=100,d._min=0,d._step=1,d._thumbLabel=!1,d._tickInterval=0,d._value=null,d._vertical=!1,d.change=new i.EventEmitter,d.input=new i.EventEmitter,d.valueChange=new i.EventEmitter,d.onTouched=function(){},d._percent=0,d._isSliding=!1,d._isActive=!1,d._tickIntervalPercent=0,d._sliderDimensions=null,d._controlValueAccessorChangeFn=function(){},d._dirChangeSubscription=u.Subscription.EMPTY,d._pointerDown=function(t){d.disabled||d._isSliding||!g(t)&&0!==t.button||d._ngZone.run((function(){var e=d.value,i=y(t);d._isSliding=!0,d._lastPointerEvent=t,t.preventDefault(),d._focusHostElement(),d._onMouseenter(),d._bindGlobalEvents(t),d._focusHostElement(),d._updateValueFromPosition(i),d._valueOnSlideStart=e,e!=d.value&&d._emitInputEvent()}))},d._pointerMove=function(t){if(d._isSliding){t.preventDefault();var e=d.value;d._lastPointerEvent=t,d._updateValueFromPosition(y(t)),e!=d.value&&d._emitInputEvent()}},d._pointerUp=function(t){d._isSliding&&(t.preventDefault(),d._removeGlobalEvents(),d._isSliding=!1,d._valueOnSlideStart==d.value||d.disabled||d._emitChangeEvent(),d._valueOnSlideStart=d._lastPointerEvent=null)},d._windowBlur=function(){d._lastPointerEvent&&d._pointerUp(d._lastPointerEvent)},d._document=l,d.tabIndex=parseInt(s)||0,o.runOutsideAngular((function(){var t=e.nativeElement;t.addEventListener("mousedown",d._pointerDown,p),t.addEventListener("touchstart",d._pointerDown,p)})),d}return function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(e,t),Object.defineProperty(e.prototype,"invert",{get:function(){return this._invert},set:function(t){this._invert=s.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this._max},set:function(t){this._max=s.coerceNumberProperty(t,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this._min},set:function(t){this._min=s.coerceNumberProperty(t,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},set:function(t){this._step=s.coerceNumberProperty(t,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"thumbLabel",{get:function(){return this._thumbLabel},set:function(t){this._thumbLabel=s.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tickInterval",{get:function(){return this._tickInterval},set:function(t){this._tickInterval="auto"===t?"auto":"number"==typeof t||"string"==typeof t?s.coerceNumberProperty(t,this._tickInterval):0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return null===this._value&&(this.value=this._min),this._value},set:function(t){if(t!==this._value){var e=s.coerceNumberProperty(t);this._roundToDecimal&&e!==this.min&&e!==this.max&&(e=parseFloat(e.toFixed(this._roundToDecimal))),this._value=e,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=s.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"displayValue",{get:function(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0},enumerable:!1,configurable:!0}),e.prototype.focus=function(t){this._focusHostElement(t)},e.prototype.blur=function(){this._blurHostElement()},Object.defineProperty(e.prototype,"percent",{get:function(){return this._clamp(this._percent)},enumerable:!1,configurable:!0}),e.prototype._shouldInvertAxis=function(){return this.vertical?!this.invert:this.invert},e.prototype._isMinValue=function(){return 0===this.percent},e.prototype._getThumbGap=function(){return this.disabled?7:this._isMinValue()&&!this.thumbLabel?this._isActive?10:7:0},e.prototype._getTrackBackgroundStyles=function(){var t=this.vertical?"1, "+(1-this.percent)+", 1":1-this.percent+", 1, 1";return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this._shouldInvertMouseCoords()?"-":"")+this._getThumbGap()+"px) scale3d("+t+")"}},e.prototype._getTrackFillStyles=function(){var t=this.percent,e=this.vertical?"1, "+t+", 1":t+", 1, 1";return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this._shouldInvertMouseCoords()?"":"-")+this._getThumbGap()+"px) scale3d("+e+")",display:0===t?"none":""}},e.prototype._getTicksContainerStyles=function(){return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._getDirection()?"-":"")+this._tickIntervalPercent/2*100+"%)"}},e.prototype._getTicksStyles=function(){var t=100*this._tickIntervalPercent,e={backgroundSize:this.vertical?"2px "+t+"%":t+"% 2px",transform:"translateZ(0) translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._getDirection()?"":"-")+t/2+"%)"+(this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)")};if(this._isMinValue()&&this._getThumbGap()){var i=this._shouldInvertAxis();e["padding"+(this.vertical?i?"Bottom":"Top":i?"Right":"Left")]=this._getThumbGap()+"px"}return e},e.prototype._getThumbContainerStyles=function(){var t=this._shouldInvertAxis();return{transform:"translate"+(this.vertical?"Y":"X")+"(-"+100*(("rtl"!=this._getDirection()||this.vertical?t:!t)?this.percent:1-this.percent)+"%)"}},e.prototype._shouldInvertMouseCoords=function(){var t=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?t:!t},e.prototype._getDirection=function(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"},e.prototype.ngAfterViewInit=function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){t._isActive=!!e&&"keyboard"!==e,t._changeDetectorRef.detectChanges()})),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe((function(){t._changeDetectorRef.markForCheck()})))},e.prototype.ngOnDestroy=function(){var t=this._elementRef.nativeElement;t.removeEventListener("mousedown",this._pointerDown,p),t.removeEventListener("touchstart",this._pointerDown,p),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()},e.prototype._onMouseenter=function(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())},e.prototype._onFocus=function(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()},e.prototype._onBlur=function(){this.onTouched()},e.prototype._onKeydown=function(t){if(!this.disabled&&!o.hasModifierKey(t)){var e=this.value;switch(t.keyCode){case o.PAGE_UP:this._increment(10);break;case o.PAGE_DOWN:this._increment(-10);break;case o.END:this.value=this.max;break;case o.HOME:this.value=this.min;break;case o.LEFT_ARROW:this._increment("rtl"==this._getDirection()?1:-1);break;case o.UP_ARROW:this._increment(1);break;case o.RIGHT_ARROW:this._increment("rtl"==this._getDirection()?-1:1);break;case o.DOWN_ARROW:this._increment(-1);break;default:return}e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,t.preventDefault()}},e.prototype._onKeyup=function(){this._isSliding=!1},e.prototype._getWindow=function(){return this._document.defaultView||window},e.prototype._bindGlobalEvents=function(t){var e=this._document,i=g(t),r=i?"touchend":"mouseup";e.addEventListener(i?"touchmove":"mousemove",this._pointerMove,p),e.addEventListener(r,this._pointerUp,p),i&&e.addEventListener("touchcancel",this._pointerUp,p);var a=this._getWindow();void 0!==a&&a&&a.addEventListener("blur",this._windowBlur)},e.prototype._removeGlobalEvents=function(){var t=this._document;t.removeEventListener("mousemove",this._pointerMove,p),t.removeEventListener("mouseup",this._pointerUp,p),t.removeEventListener("touchmove",this._pointerMove,p),t.removeEventListener("touchend",this._pointerUp,p),t.removeEventListener("touchcancel",this._pointerUp,p);var e=this._getWindow();void 0!==e&&e&&e.removeEventListener("blur",this._windowBlur)},e.prototype._increment=function(t){this.value=this._clamp((this.value||0)+this.step*t,this.min,this.max)},e.prototype._updateValueFromPosition=function(t){if(this._sliderDimensions){var e=this._clamp(((this.vertical?t.y:t.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(e=1-e),0===e)this.value=this.min;else if(1===e)this.value=this.max;else{var i=this._calculateValue(e),r=Math.round((i-this.min)/this.step)*this.step+this.min;this.value=this._clamp(r,this.min,this.max)}}},e.prototype._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())},e.prototype._emitInputEvent=function(){this.input.emit(this._createChangeEvent())},e.prototype._updateTickIntervalPercent=function(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){var t=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,e=Math.ceil(30/(t*this.step/(this.max-this.min)));this._tickIntervalPercent=e*this.step/t}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)},e.prototype._createChangeEvent=function(t){void 0===t&&(t=this.value);var e=new v;return e.source=this,e.value=t,e},e.prototype._calculatePercentage=function(t){return((t||0)-this.min)/(this.max-this.min)},e.prototype._calculateValue=function(t){return this.min+t*(this.max-this.min)},e.prototype._clamp=function(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),Math.max(e,Math.min(t,i))},e.prototype._getSliderDimensions=function(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null},e.prototype._focusHostElement=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._blurHostElement=function(){this._elementRef.nativeElement.blur()},e.prototype.writeValue=function(t){this.value=t},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t},e}(r.mixinTabIndex(r.mixinColor(r.mixinDisabled((function f(t){this._elementRef=t})),"accent")));function g(t){return"t"===t.type[0]}function y(t){var e=g(t)?t.touches[0]||t.changedTouches[0]:t;return{x:e.clientX,y:e.clientY}}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/_.decorators=[{type:i.Component,args:[{selector:"mat-slider",exportAs:"matSlider",providers:[b],host:{"(focus)":"_onFocus()","(blur)":"_onBlur()","(keydown)":"_onKeydown($event)","(keyup)":"_onKeyup()","(mouseenter)":"_onMouseenter()","(selectstart)":"$event.preventDefault()",class:"mat-slider mat-focus-indicator",role:"slider","[tabIndex]":"tabIndex","[attr.aria-disabled]":"disabled","[attr.aria-valuemax]":"max","[attr.aria-valuemin]":"min","[attr.aria-valuenow]":"value","[attr.aria-valuetext]":"valueText == null ? displayValue : valueText","[attr.aria-orientation]":'vertical ? "vertical" : "horizontal"',"[class.mat-slider-disabled]":"disabled","[class.mat-slider-has-ticks]":"tickInterval","[class.mat-slider-horizontal]":"!vertical","[class.mat-slider-axis-inverted]":"_shouldInvertAxis()","[class.mat-slider-invert-mouse-coords]":"_shouldInvertMouseCoords()","[class.mat-slider-sliding]":"_isSliding","[class.mat-slider-thumb-label-showing]":"thumbLabel","[class.mat-slider-vertical]":"vertical","[class.mat-slider-min-value]":"_isMinValue()","[class.mat-slider-hide-last-tick]":"disabled || _isMinValue() && _getThumbGap() && _shouldInvertAxis()","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},template:'<div class="mat-slider-wrapper" #sliderWrapper>\n <div class="mat-slider-track-wrapper">\n <div class="mat-slider-track-background" [ngStyle]="_getTrackBackgroundStyles()"></div>\n <div class="mat-slider-track-fill" [ngStyle]="_getTrackFillStyles()"></div>\n </div>\n <div class="mat-slider-ticks-container" [ngStyle]="_getTicksContainerStyles()">\n <div class="mat-slider-ticks" [ngStyle]="_getTicksStyles()"></div>\n </div>\n <div class="mat-slider-thumb-container" [ngStyle]="_getThumbContainerStyles()">\n <div class="mat-slider-focus-ring"></div>\n <div class="mat-slider-thumb"></div>\n <div class="mat-slider-thumb-label">\n <span class="mat-slider-thumb-label-text">{{displayValue}}</span>\n </div>\n </div>\n</div>\n',inputs:["disabled","color","tabIndex"],encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute;-webkit-print-color-adjust:exact;color-adjust:exact}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}\n']}]}],_.ctorParameters=function(){return[{type:i.ElementRef},{type:a.FocusMonitor},{type:i.ChangeDetectorRef},{type:n.Directionality,decorators:[{type:i.Optional}]},{type:String,decorators:[{type:i.Attribute,args:["tabindex"]}]},{type:i.NgZone},{type:void 0,decorators:[{type:i.Inject,args:[e.DOCUMENT]}]},{type:String,decorators:[{type:i.Optional},{type:i.Inject,args:[c.ANIMATION_MODULE_TYPE]}]}]},_.propDecorators={invert:[{type:i.Input}],max:[{type:i.Input}],min:[{type:i.Input}],step:[{type:i.Input}],thumbLabel:[{type:i.Input}],tickInterval:[{type:i.Input}],value:[{type:i.Input}],displayWith:[{type:i.Input}],valueText:[{type:i.Input}],vertical:[{type:i.Input}],change:[{type:i.Output}],input:[{type:i.Output}],valueChange:[{type:i.Output}],_sliderWrapper:[{type:i.ViewChild,args:["sliderWrapper"]}]},(m=function m(){}).decorators=[{type:i.NgModule,args:[{imports:[e.CommonModule,r.MatCommonModule],exports:[_,r.MatCommonModule],declarations:[_]}]}],
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
t.MAT_SLIDER_VALUE_ACCESSOR=b,t.MatSlider=_,t.MatSliderChange=v,t.MatSliderModule=m,Object.defineProperty(t,"__esModule",{value:!0})}));