"use strict";const d=require("./tslib.es6-CHeFCc6E.js"),L=require("./ripple-handlers-C7an-EE1.js"),k=require("./aria-property-Dl2ZKBbP.js"),V=require("./form-element-BSAsNxWv.js"),m=require("./query-assigned-elements-8EurZY45.js"),b=require("./property-DYTC_2-m.js"),f=require("./state-C3HoXfoa.js"),g=require("./query-Dv2F3m_t.js"),x=require("./class-map-DTzB8z-1.js"),A=require("./if-defined-CZCqOAYs.js"),U=require("./style-map-DOMuf9Fg.js");/**
 * @license
 * Copyright 2020 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */var _;(function(a){a[a.ACTIVE=0]="ACTIVE",a[a.INACTIVE=1]="INACTIVE"})(_||(_={}));exports.Thumb=void 0;(function(a){a[a.START=1]="START",a[a.END=2]="END"})(exports.Thumb||(exports.Thumb={}));/**
 * @license
 * Copyright 2020 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */var F=function(){function a(){this.rafIDs=new Map}return a.prototype.request=function(r,t){var e=this;this.cancel(r);var i=requestAnimationFrame(function(n){e.rafIDs.delete(r),t(n)});this.rafIDs.set(r,i)},a.prototype.cancel=function(r){var t=this.rafIDs.get(r);t&&(cancelAnimationFrame(t),this.rafIDs.delete(r))},a.prototype.cancelAll=function(){var r=this;this.rafIDs.forEach(function(t,e){r.cancel(e)})},a.prototype.getQueue=function(){var r=[];return this.rafIDs.forEach(function(t,e){r.push(e)}),r},a}();/**
 * @license
 * Copyright 2016 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */var w={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}};function H(a){return!!a.document&&typeof a.document.createElement=="function"}function M(a,r){if(H(a)&&r in w){var t=a.document.createElement("div"),e=w[r],i=e.standard,n=e.prefixed,s=i in t.style;return s?i:n}return r}/**
 * @license
 * Copyright 2016 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */var O=function(){function a(r){r===void 0&&(r={}),this.adapter=r}return Object.defineProperty(a,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),a.prototype.init=function(){},a.prototype.destroy=function(){},a}();/**
 * @license
 * Copyright 2020 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */var l={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",RANGE:"mdc-slider--range",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks"},N={STEP_SIZE:1,MIN_RANGE:0,THUMB_UPDATE_MIN_PX:5},h={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step",DATA_MIN_RANGE:"data-min-range"},c={VAR_VALUE_INDICATOR_CARET_LEFT:"--slider-value-indicator-caret-left",VAR_VALUE_INDICATOR_CARET_RIGHT:"--slider-value-indicator-caret-right",VAR_VALUE_INDICATOR_CARET_TRANSFORM:"--slider-value-indicator-caret-transform",VAR_VALUE_INDICATOR_CONTAINER_LEFT:"--slider-value-indicator-container-left",VAR_VALUE_INDICATOR_CONTAINER_RIGHT:"--slider-value-indicator-container-right",VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM:"--slider-value-indicator-container-transform"};/**
 * @license
 * Copyright 2020 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */var R;(function(a){a.SLIDER_UPDATE="slider_update"})(R||(R={}));var C=typeof window<"u",B=function(a){d.__extends(r,a);function r(t){var e=a.call(this,d.__assign(d.__assign({},r.defaultAdapter),t))||this;return e.initialStylesRemoved=!1,e.isDisabled=!1,e.isDiscrete=!1,e.step=N.STEP_SIZE,e.minRange=N.MIN_RANGE,e.hasTickMarks=!1,e.isRange=!1,e.thumb=null,e.downEventClientX=null,e.startThumbKnobWidth=0,e.endThumbKnobWidth=0,e.animFrame=new F,e}return Object.defineProperty(r,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(){return 0},getValueIndicatorContainerWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),r.prototype.init=function(){var t=this;this.isDisabled=this.adapter.hasClass(l.DISABLED),this.isDiscrete=this.adapter.hasClass(l.DISCRETE),this.hasTickMarks=this.adapter.hasClass(l.TICK_MARKS),this.isRange=this.adapter.hasClass(l.RANGE);var e=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MIN,this.isRange?exports.Thumb.START:exports.Thumb.END),h.INPUT_MIN),i=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MAX,exports.Thumb.END),h.INPUT_MAX),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,exports.Thumb.END),h.INPUT_VALUE),s=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,exports.Thumb.START),h.INPUT_VALUE):e,u=this.adapter.getInputAttribute(h.INPUT_STEP,exports.Thumb.END),p=u?this.convertAttributeValueToNumber(u,h.INPUT_STEP):this.step,T=this.adapter.getAttribute(h.DATA_MIN_RANGE),v=T?this.convertAttributeValueToNumber(T,h.DATA_MIN_RANGE):this.minRange;this.validateProperties({min:e,max:i,value:n,valueStart:s,step:p,minRange:v}),this.min=e,this.max=i,this.value=n,this.valueStart=s,this.step=p,this.minRange=v,this.numDecimalPlaces=P(this.step),this.valueBeforeDownEvent=n,this.valueStartBeforeDownEvent=s,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){t.handleInputChange(exports.Thumb.START)},this.inputEndChangeListener=function(){t.handleInputChange(exports.Thumb.END)},this.inputStartFocusListener=function(){t.handleInputFocus(exports.Thumb.START)},this.inputEndFocusListener=function(){t.handleInputFocus(exports.Thumb.END)},this.inputStartBlurListener=function(){t.handleInputBlur(exports.Thumb.START)},this.inputEndBlurListener=function(){t.handleInputBlur(exports.Thumb.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},r.prototype.destroy=function(){this.deregisterEventHandlers()},r.prototype.setMin=function(t){this.min=t,this.isRange||(this.valueStart=t),this.updateUI()},r.prototype.setMax=function(t){this.max=t,this.updateUI()},r.prototype.getMin=function(){return this.min},r.prototype.getMax=function(){return this.max},r.prototype.getValue=function(){return this.value},r.prototype.setValue=function(t){if(this.isRange&&t<this.valueStart+this.minRange)throw new Error("end thumb value ("+t+") must be >= start thumb "+("value ("+this.valueStart+") + min range ("+this.minRange+")"));this.updateValue(t,exports.Thumb.END)},r.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},r.prototype.setValueStart=function(t){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&t>this.value-this.minRange)throw new Error("start thumb value ("+t+") must be <= end thumb "+("value ("+this.value+") - min range ("+this.minRange+")"));this.updateValue(t,exports.Thumb.START)},r.prototype.setStep=function(t){this.step=t,this.numDecimalPlaces=P(t),this.updateUI()},r.prototype.setMinRange=function(t){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(t<0)throw new Error("`minRange` must be non-negative. "+("Current value: "+t));if(this.value-this.valueStart<t)throw new Error("start thumb value ("+this.valueStart+") and end thumb value "+("("+this.value+") must differ by at least "+t+"."));this.minRange=t},r.prototype.setIsDiscrete=function(t){this.isDiscrete=t,this.updateValueIndicatorUI(),this.updateTickMarksUI()},r.prototype.getStep=function(){return this.step},r.prototype.getMinRange=function(){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");return this.minRange},r.prototype.setHasTickMarks=function(t){this.hasTickMarks=t,this.updateTickMarksUI()},r.prototype.getDisabled=function(){return this.isDisabled},r.prototype.setDisabled=function(t){this.isDisabled=t,t?(this.adapter.addClass(l.DISABLED),this.isRange&&this.adapter.setInputAttribute(h.INPUT_DISABLED,"",exports.Thumb.START),this.adapter.setInputAttribute(h.INPUT_DISABLED,"",exports.Thumb.END)):(this.adapter.removeClass(l.DISABLED),this.isRange&&this.adapter.removeInputAttribute(h.INPUT_DISABLED,exports.Thumb.START),this.adapter.removeInputAttribute(h.INPUT_DISABLED,exports.Thumb.END))},r.prototype.getIsRange=function(){return this.isRange},r.prototype.layout=function(t){var e=t===void 0?{}:t,i=e.skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(exports.Thumb.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(exports.Thumb.END)),i||this.updateUI()},r.prototype.handleResize=function(){this.layout()},r.prototype.handleDown=function(t){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var e=t.clientX!=null?t.clientX:t.targetTouches[0].clientX;this.downEventClientX=e;var i=this.mapClientXOnSliderScale(e);this.thumb=this.getThumbFromDownEvent(e,i),this.thumb!==null&&(this.handleDragStart(t,i,this.thumb),this.updateValue(i,this.thumb,{emitInputEvent:!0}))}},r.prototype.handleMove=function(t){if(!this.isDisabled){t.preventDefault();var e=t.clientX!=null?t.clientX:t.targetTouches[0].clientX,i=this.thumb!=null;if(this.thumb=this.getThumbFromMoveEvent(e),this.thumb!==null){var n=this.mapClientXOnSliderScale(e);i||(this.handleDragStart(t,n,this.thumb),this.adapter.emitDragStartEvent(n,this.thumb)),this.updateValue(n,this.thumb,{emitInputEvent:!0})}}},r.prototype.handleUp=function(){var t,e;if(!(this.isDisabled||this.thumb===null)){!((e=(t=this.adapter).shouldHideFocusStylesForPointerEvents)===null||e===void 0)&&e.call(t)&&this.handleInputBlur(this.thumb);var i=this.thumb===exports.Thumb.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,n=this.thumb===exports.Thumb.START?this.valueStart:this.value;i!==n&&this.adapter.emitChangeEvent(n,this.thumb),this.adapter.emitDragEndEvent(n,this.thumb),this.thumb=null}},r.prototype.handleThumbMouseenter=function(){!this.isDiscrete||!this.isRange||(this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.START),this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.END))},r.prototype.handleThumbMouseleave=function(){var t,e;!this.isDiscrete||!this.isRange||!(!((e=(t=this.adapter).shouldHideFocusStylesForPointerEvents)===null||e===void 0)&&e.call(t))&&(this.adapter.isInputFocused(exports.Thumb.START)||this.adapter.isInputFocused(exports.Thumb.END))||this.thumb||(this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.START),this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.END))},r.prototype.handleMousedownOrTouchstart=function(t){var e=this,i=t.type==="mousedown"?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(i,this.moveListener);var n=function(){e.handleUp(),e.adapter.deregisterBodyEventHandler(i,e.moveListener),e.adapter.deregisterEventHandler("mouseup",n),e.adapter.deregisterEventHandler("touchend",n)};this.adapter.registerBodyEventHandler("mouseup",n),this.adapter.registerBodyEventHandler("touchend",n),this.handleDown(t)},r.prototype.handlePointerdown=function(t){var e=t.button===0;e&&(t.pointerId!=null&&this.adapter.setPointerCapture(t.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(t))},r.prototype.handleInputChange=function(t){var e=Number(this.adapter.getInputValue(t));t===exports.Thumb.START?this.setValueStart(e):this.setValue(e),this.adapter.emitChangeEvent(t===exports.Thumb.START?this.valueStart:this.value,t),this.adapter.emitInputEvent(t===exports.Thumb.START?this.valueStart:this.value,t)},r.prototype.handleInputFocus=function(t){if(this.adapter.addThumbClass(l.THUMB_FOCUSED,t),!!this.isDiscrete&&(this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,t),this.isRange)){var e=t===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START;this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,e)}},r.prototype.handleInputBlur=function(t){if(this.adapter.removeThumbClass(l.THUMB_FOCUSED,t),!!this.isDiscrete&&(this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,t),this.isRange)){var e=t===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START;this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,e)}},r.prototype.handleDragStart=function(t,e,i){var n,s;this.adapter.emitDragStartEvent(e,i),this.adapter.focusInput(i),!((s=(n=this.adapter).shouldHideFocusStylesForPointerEvents)===null||s===void 0)&&s.call(n)&&this.handleInputFocus(i),t.preventDefault()},r.prototype.getThumbFromDownEvent=function(t,e){if(!this.isRange)return exports.Thumb.END;var i=this.adapter.getThumbBoundingClientRect(exports.Thumb.START),n=this.adapter.getThumbBoundingClientRect(exports.Thumb.END),s=t>=i.left&&t<=i.right,u=t>=n.left&&t<=n.right;return s&&u?null:s?exports.Thumb.START:u?exports.Thumb.END:e<this.valueStart?exports.Thumb.START:e>this.value?exports.Thumb.END:e-this.valueStart<=this.value-e?exports.Thumb.START:exports.Thumb.END},r.prototype.getThumbFromMoveEvent=function(t){if(this.thumb!==null)return this.thumb;if(this.downEventClientX===null)throw new Error("`downEventClientX` is null after move event.");var e=Math.abs(this.downEventClientX-t)<N.THUMB_UPDATE_MIN_PX;if(e)return this.thumb;var i=t<this.downEventClientX;return i?this.adapter.isRTL()?exports.Thumb.END:exports.Thumb.START:this.adapter.isRTL()?exports.Thumb.START:exports.Thumb.END},r.prototype.updateUI=function(t){t?this.updateThumbAndInputAttributes(t):(this.updateThumbAndInputAttributes(exports.Thumb.START),this.updateThumbAndInputAttributes(exports.Thumb.END)),this.updateThumbAndTrackUI(t),this.updateValueIndicatorUI(t),this.updateTickMarksUI()},r.prototype.updateThumbAndInputAttributes=function(t){if(t){var e=this.isRange&&t===exports.Thumb.START?this.valueStart:this.value,i=String(e);this.adapter.setInputAttribute(h.INPUT_VALUE,i,t),this.isRange&&t===exports.Thumb.START?this.adapter.setInputAttribute(h.INPUT_MIN,String(e+this.minRange),exports.Thumb.END):this.isRange&&t===exports.Thumb.END&&this.adapter.setInputAttribute(h.INPUT_MAX,String(e-this.minRange),exports.Thumb.START),this.adapter.getInputValue(t)!==i&&this.adapter.setInputValue(i,t);var n=this.adapter.getValueToAriaValueTextFn();n&&this.adapter.setInputAttribute(h.ARIA_VALUETEXT,n(e,t),t)}},r.prototype.updateValueIndicatorUI=function(t){if(this.isDiscrete){var e=this.isRange&&t===exports.Thumb.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(e,t===exports.Thumb.START?exports.Thumb.START:exports.Thumb.END),!t&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,exports.Thumb.START)}},r.prototype.updateTickMarksUI=function(){if(!(!this.isDiscrete||!this.hasTickMarks)){var t=(this.valueStart-this.min)/this.step,e=(this.value-this.valueStart)/this.step+1,i=(this.max-this.value)/this.step,n=Array.from({length:t}).fill(_.INACTIVE),s=Array.from({length:e}).fill(_.ACTIVE),u=Array.from({length:i}).fill(_.INACTIVE);this.adapter.updateTickMarks(n.concat(s).concat(u))}},r.prototype.mapClientXOnSliderScale=function(t){var e=t-this.rect.left,i=e/this.rect.width;this.adapter.isRTL()&&(i=1-i);var n=this.min+i*(this.max-this.min);return n===this.max||n===this.min?n:Number(this.quantize(n).toFixed(this.numDecimalPlaces))},r.prototype.quantize=function(t){var e=Math.round((t-this.min)/this.step);return this.min+e*this.step},r.prototype.updateValue=function(t,e,i){var n=i===void 0?{}:i,s=n.emitInputEvent;if(t=this.clampValue(t,e),this.isRange&&e===exports.Thumb.START){if(this.valueStart===t)return;this.valueStart=t}else{if(this.value===t)return;this.value=t}this.updateUI(e),s&&this.adapter.emitInputEvent(e===exports.Thumb.START?this.valueStart:this.value,e)},r.prototype.clampValue=function(t,e){t=Math.min(Math.max(t,this.min),this.max);var i=this.isRange&&e===exports.Thumb.START&&t>this.value-this.minRange;if(i)return this.value-this.minRange;var n=this.isRange&&e===exports.Thumb.END&&t<this.valueStart+this.minRange;return n?this.valueStart+this.minRange:t},r.prototype.updateThumbAndTrackUI=function(t){var e=this,i=this,n=i.max,s=i.min,u=(this.value-this.valueStart)/(n-s),p=u*this.rect.width,T=this.adapter.isRTL(),v=C?M(window,"transform"):"transform";if(this.isRange){var E=this.adapter.isRTL()?(n-this.value)/(n-s)*this.rect.width:(this.valueStart-s)/(n-s)*this.rect.width,I=E+p;this.animFrame.request(R.SLIDER_UPDATE,function(){var y=!T&&t===exports.Thumb.START||T&&t!==exports.Thumb.START;y?(e.adapter.setTrackActiveStyleProperty("transform-origin","right"),e.adapter.setTrackActiveStyleProperty("left","auto"),e.adapter.setTrackActiveStyleProperty("right",e.rect.width-I+"px")):(e.adapter.setTrackActiveStyleProperty("transform-origin","left"),e.adapter.setTrackActiveStyleProperty("right","auto"),e.adapter.setTrackActiveStyleProperty("left",E+"px")),e.adapter.setTrackActiveStyleProperty(v,"scaleX("+u+")");var S=T?I:E,D=e.adapter.isRTL()?E:I;(t===exports.Thumb.START||!t||!e.initialStylesRemoved)&&(e.adapter.setThumbStyleProperty(v,"translateX("+S+"px)",exports.Thumb.START),e.alignValueIndicator(exports.Thumb.START,S)),(t===exports.Thumb.END||!t||!e.initialStylesRemoved)&&(e.adapter.setThumbStyleProperty(v,"translateX("+D+"px)",exports.Thumb.END),e.alignValueIndicator(exports.Thumb.END,D)),e.removeInitialStyles(T),e.updateOverlappingThumbsUI(S,D,t)})}else this.animFrame.request(R.SLIDER_UPDATE,function(){var y=T?e.rect.width-p:p;e.adapter.setThumbStyleProperty(v,"translateX("+y+"px)",exports.Thumb.END),e.alignValueIndicator(exports.Thumb.END,y),e.adapter.setTrackActiveStyleProperty(v,"scaleX("+u+")"),e.removeInitialStyles(T)})},r.prototype.alignValueIndicator=function(t,e){if(this.isDiscrete){var i=this.adapter.getThumbBoundingClientRect(t).width/2,n=this.adapter.getValueIndicatorContainerWidth(t),s=this.adapter.getBoundingClientRect().width;n/2>e+i?(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,i+"px",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"0",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",t)):n/2>s-e+i?(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,i+"px",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(50%)",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"0",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",t)):(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,"50%",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"50%",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"translateX(-50%)",t))}},r.prototype.removeInitialStyles=function(t){if(!this.initialStylesRemoved){var e=t?"right":"left";this.adapter.removeThumbStyleProperty(e,exports.Thumb.END),this.isRange&&this.adapter.removeThumbStyleProperty(e,exports.Thumb.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},r.prototype.resetTrackAndThumbAnimation=function(){var t=this;if(this.isDiscrete){var e=C?M(window,"transition"):"transition",i="none 0s ease 0s";this.adapter.setThumbStyleProperty(e,i,exports.Thumb.END),this.isRange&&this.adapter.setThumbStyleProperty(e,i,exports.Thumb.START),this.adapter.setTrackActiveStyleProperty(e,i),requestAnimationFrame(function(){t.adapter.removeThumbStyleProperty(e,exports.Thumb.END),t.adapter.removeTrackActiveStyleProperty(e),t.isRange&&t.adapter.removeThumbStyleProperty(e,exports.Thumb.START)})}},r.prototype.updateOverlappingThumbsUI=function(t,e,i){var n=!1;if(this.adapter.isRTL()){var s=t-this.startThumbKnobWidth/2,u=e+this.endThumbKnobWidth/2;n=u>=s}else{var p=t+this.startThumbKnobWidth/2,T=e-this.endThumbKnobWidth/2;n=p>=T}n?(this.adapter.addThumbClass(l.THUMB_TOP,i||exports.Thumb.END),this.adapter.removeThumbClass(l.THUMB_TOP,i===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START)):(this.adapter.removeThumbClass(l.THUMB_TOP,exports.Thumb.START),this.adapter.removeThumbClass(l.THUMB_TOP,exports.Thumb.END))},r.prototype.convertAttributeValueToNumber=function(t,e){if(t===null)throw new Error("MDCSliderFoundation: `"+e+"` must be non-null.");var i=Number(t);if(isNaN(i))throw new Error("MDCSliderFoundation: `"+e+"` value is `"+t+"`, but must be a number.");return i},r.prototype.validateProperties=function(t){var e=t.min,i=t.max,n=t.value,s=t.valueStart,u=t.step,p=t.minRange;if(e>=i)throw new Error("MDCSliderFoundation: min must be strictly less than max. "+("Current: [min: "+e+", max: "+i+"]"));if(u<=0)throw new Error("MDCSliderFoundation: step must be a positive number. "+("Current step: "+u));if(this.isRange){if(n<e||n>i||s<e||s>i)throw new Error("MDCSliderFoundation: values must be in [min, max] range. "+("Current values: [start value: "+s+", end value: ")+(n+", min: "+e+", max: "+i+"]"));if(s>n)throw new Error("MDCSliderFoundation: start value must be <= end value. "+("Current values: [start value: "+s+", end value: "+n+"]"));if(p<0)throw new Error("MDCSliderFoundation: minimum range must be non-negative. "+("Current min range: "+p));if(n-s<p)throw new Error("MDCSliderFoundation: start value and end value must differ by at least "+(p+". Current values: [start value: "+s+", ")+("end value: "+n+"]"));var T=(s-e)/u,v=(n-e)/u;if(!Number.isInteger(parseFloat(T.toFixed(6)))||!Number.isInteger(parseFloat(v.toFixed(6))))throw new Error("MDCSliderFoundation: Slider values must be valid based on the "+("step value ("+u+"). Current values: [start value: ")+(s+", end value: "+n+", min: "+e+"]"))}else{if(n<e||n>i)throw new Error("MDCSliderFoundation: value must be in [min, max] range. "+("Current values: [value: "+n+", min: "+e+", max: "+i+"]"));var v=(n-e)/u;if(!Number.isInteger(parseFloat(v.toFixed(6))))throw new Error("MDCSliderFoundation: Slider value must be valid based on the "+("step value ("+u+"). Current value: "+n))}},r.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),r.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(exports.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(exports.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(exports.Thumb.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(exports.Thumb.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"blur",this.inputEndBlurListener)},r.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),r.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(exports.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(exports.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(exports.Thumb.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(exports.Thumb.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"blur",this.inputEndBlurListener)},r.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},r.SUPPORTS_POINTER_EVENTS=C&&!!window.PointerEvent&&!$(),r}(O);function $(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function P(a){var r=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(a));if(!r)return 0;var t=r[1]||"",e=r[2]||0;return Math.max(0,(t==="0"?0:t.length)-Number(e))}/**
 * @license
 * Copyright 2018 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */class o extends V.FormElement{constructor(){super(...arguments),this.mdcFoundationClass=B,this.disabled=!1,this.min=0,this.max=100,this.valueEnd=0,this.name="",this.step=1,this.withTickMarks=!1,this.discrete=!1,this.tickMarks=[],this.trackTransformOriginStyle="",this.trackLeftStyle="",this.trackRightStyle="",this.trackTransitionStyle="",this.endThumbWithIndicator=!1,this.endThumbTop=!1,this.shouldRenderEndRipple=!1,this.endThumbTransformStyle="",this.endThumbTransitionStyle="",this.endThumbCssProperties={},this.valueToAriaTextTransform=null,this.valueToValueIndicatorTransform=r=>`${r}`,this.boundMoveListener=null,this.endRippleHandlers=new L.RippleHandlers(()=>(this.shouldRenderEndRipple=!0,this.endRipple))}update(r){if(r.has("valueEnd")&&this.mdcFoundation){this.mdcFoundation.setValue(this.valueEnd);const t=this.mdcFoundation.getValue();t!==this.valueEnd&&(this.valueEnd=t)}r.has("discrete")&&(this.discrete||(this.tickMarks=[])),super.update(r)}render(){return this.renderRootEl(m.x`
      ${this.renderStartInput()}
      ${this.renderEndInput()}
      ${this.renderTrack()}
      ${this.renderTickMarks()}
      ${this.renderStartThumb()}
      ${this.renderEndThumb()}`)}renderRootEl(r){const t=x.o({"mdc-slider--disabled":this.disabled,"mdc-slider--discrete":this.discrete});return m.x`
    <div
        class="mdc-slider ${t}"
        @pointerdown=${this.onPointerdown}
        @pointerup=${this.onPointerup}
        @contextmenu=${this.onContextmenu}>
      ${r}
    </div>`}renderStartInput(){return m.A}renderEndInput(){var r;return m.x`
      <input
          class="mdc-slider__input end"
          type="range"
          step=${this.step}
          min=${this.min}
          max=${this.max}
          .value=${this.valueEnd}
          @change=${this.onEndChange}
          @focus=${this.onEndFocus}
          @blur=${this.onEndBlur}
          ?disabled=${this.disabled}
          name=${this.name}
          aria-label=${A.l(this.ariaLabel)}
          aria-labelledby=${A.l(this.ariaLabelledBy)}
          aria-describedby=${A.l(this.ariaDescribedBy)}
          aria-valuetext=${A.l((r=this.valueToAriaTextTransform)===null||r===void 0?void 0:r.call(this,this.valueEnd))}>
    `}renderTrack(){return m.A}renderTickMarks(){return this.withTickMarks?m.x`
      <div class="mdc-slider__tick-marks">
        ${this.tickMarks.map(r=>{const t=r===_.ACTIVE;return m.x`<div class="${t?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"}"></div>`})}
      </div>`:m.A}renderStartThumb(){return m.A}renderEndThumb(){const r=x.o({"mdc-slider__thumb--with-indicator":this.endThumbWithIndicator,"mdc-slider__thumb--top":this.endThumbTop}),t=U.o(Object.assign({"-webkit-transform":this.endThumbTransformStyle,transform:this.endThumbTransformStyle,"-webkit-transition":this.endThumbTransitionStyle,transition:this.endThumbTransitionStyle,left:this.endThumbTransformStyle||getComputedStyle(this).direction==="rtl"?"":`calc(${(this.valueEnd-this.min)/(this.max-this.min)*100}% - 24px)`,right:this.endThumbTransformStyle||getComputedStyle(this).direction!=="rtl"?"":`calc(${(this.valueEnd-this.min)/(this.max-this.min)*100}% - 24px)`},this.endThumbCssProperties)),e=this.shouldRenderEndRipple?m.x`<mwc-ripple class="ripple" unbounded></mwc-ripple>`:m.A;return m.x`
      <div
          class="mdc-slider__thumb end ${r}"
          style=${t}
          @mouseenter=${this.onEndMouseenter}
          @mouseleave=${this.onEndMouseleave}>
        ${e}
        ${this.renderValueIndicator(this.valueToValueIndicatorTransform(this.valueEnd))}
        <div class="mdc-slider__thumb-knob"></div>
      </div>
    `}renderValueIndicator(r){return this.discrete?m.x`
    <div class="mdc-slider__value-indicator-container" aria-hidden="true">
      <div class="mdc-slider__value-indicator">
        <span class="mdc-slider__value-indicator-text">
          ${r}
        </span>
      </div>
    </div>`:m.A}disconnectedCallback(){super.disconnectedCallback(),this.mdcFoundation&&this.mdcFoundation.destroy()}createAdapter(){}async firstUpdated(){super.firstUpdated(),await this.layout(!0)}updated(r){super.updated(r),this.mdcFoundation&&(r.has("disabled")&&this.mdcFoundation.setDisabled(this.disabled),r.has("min")&&this.mdcFoundation.setMin(this.min),r.has("max")&&this.mdcFoundation.setMax(this.max),r.has("step")&&this.mdcFoundation.setStep(this.step),r.has("discrete")&&this.mdcFoundation.setIsDiscrete(this.discrete),r.has("withTickMarks")&&this.mdcFoundation.setHasTickMarks(this.withTickMarks))}async layout(r=!1){var t;(t=this.mdcFoundation)===null||t===void 0||t.layout({skipUpdateUI:r}),this.requestUpdate(),await this.updateComplete}onEndChange(r){var t;this.valueEnd=Number(r.target.value),(t=this.mdcFoundation)===null||t===void 0||t.handleInputChange(exports.Thumb.END)}onEndFocus(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleInputFocus(exports.Thumb.END),this.endRippleHandlers.startFocus()}onEndBlur(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleInputBlur(exports.Thumb.END),this.endRippleHandlers.endFocus()}onEndMouseenter(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleThumbMouseenter(),this.endRippleHandlers.startHover()}onEndMouseleave(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleThumbMouseleave(),this.endRippleHandlers.endHover()}onPointerdown(r){this.layout(),this.mdcFoundation&&(this.mdcFoundation.handlePointerdown(r),this.boundMoveListener=this.mdcFoundation.handleMove.bind(this.mdcFoundation),this.mdcRoot.addEventListener("pointermove",this.boundMoveListener))}onPointerup(){this.mdcFoundation&&(this.mdcFoundation.handleUp(),this.boundMoveListener&&(this.mdcRoot.removeEventListener("pointermove",this.boundMoveListener),this.boundMoveListener=null))}onContextmenu(r){r.preventDefault()}setFormData(r){this.name&&r.append(this.name,`${this.valueEnd}`)}}d.__decorate([g.i("input.end")],o.prototype,"formElement",void 0);d.__decorate([g.i(".mdc-slider")],o.prototype,"mdcRoot",void 0);d.__decorate([g.i(".end.mdc-slider__thumb")],o.prototype,"endThumb",void 0);d.__decorate([g.i(".end.mdc-slider__thumb .mdc-slider__thumb-knob")],o.prototype,"endThumbKnob",void 0);d.__decorate([g.i(".end.mdc-slider__thumb .mdc-slider__value-indicator-container")],o.prototype,"endValueIndicatorContainer",void 0);d.__decorate([L.e(".end .ripple")],o.prototype,"endRipple",void 0);d.__decorate([b.n({type:Boolean,reflect:!0})],o.prototype,"disabled",void 0);d.__decorate([b.n({type:Number})],o.prototype,"min",void 0);d.__decorate([b.n({type:Number})],o.prototype,"max",void 0);d.__decorate([b.n({type:Number})],o.prototype,"valueEnd",void 0);d.__decorate([b.n({type:String})],o.prototype,"name",void 0);d.__decorate([b.n({type:Number})],o.prototype,"step",void 0);d.__decorate([b.n({type:Boolean})],o.prototype,"withTickMarks",void 0);d.__decorate([b.n({type:Boolean})],o.prototype,"discrete",void 0);d.__decorate([f.t()],o.prototype,"tickMarks",void 0);d.__decorate([f.t()],o.prototype,"trackTransformOriginStyle",void 0);d.__decorate([f.t()],o.prototype,"trackLeftStyle",void 0);d.__decorate([f.t()],o.prototype,"trackRightStyle",void 0);d.__decorate([f.t()],o.prototype,"trackTransitionStyle",void 0);d.__decorate([f.t()],o.prototype,"endThumbWithIndicator",void 0);d.__decorate([f.t()],o.prototype,"endThumbTop",void 0);d.__decorate([f.t()],o.prototype,"shouldRenderEndRipple",void 0);d.__decorate([f.t()],o.prototype,"endThumbTransformStyle",void 0);d.__decorate([f.t()],o.prototype,"endThumbTransitionStyle",void 0);d.__decorate([f.t()],o.prototype,"endThumbCssProperties",void 0);d.__decorate([k.ariaProperty,b.n({type:String,attribute:"aria-label"})],o.prototype,"ariaLabel",void 0);d.__decorate([k.ariaProperty,b.n({type:String,attribute:"aria-labelledby"})],o.prototype,"ariaLabelledBy",void 0);d.__decorate([k.ariaProperty,b.n({type:String,attribute:"aria-describedby"})],o.prototype,"ariaDescribedBy",void 0);/**
 * @license
 * Copyright 2021 Google LLC
 * SPDX-LIcense-Identifier: Apache-2.0
 */const W=m.i`.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{height:4px;position:absolute;top:50%;transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{border-radius:3px;height:6px;overflow:hidden;top:-1px}.mdc-slider .mdc-slider__track--active_fill{border-top:6px solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{border-radius:2px;height:4px;left:0;top:0}.mdc-slider .mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__track--active_fill{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:#000;border-color:var(--mdc-theme-on-surface, #000)}.mdc-slider .mdc-slider__track--inactive{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);opacity:.24}.mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);opacity:.24}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:50%;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);transform:translateX(-50%);transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid;bottom:-5px;content:"";height:0;left:50%;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);transform:translateX(-50%);transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__value-indicator-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-slider .mdc-slider__value-indicator{background-color:#000;opacity:.6}.mdc-slider .mdc-slider__value-indicator::before{border-top-color:#000}.mdc-slider .mdc-slider__value-indicator{color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-slider .mdc-slider__thumb{display:flex;height:48px;left:-24px;outline:none;position:absolute;user-select:none;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0,0,0,.12);border:10px solid;border-radius:50%;box-sizing:border-box;height:20px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:20px}.mdc-slider .mdc-slider__thumb-knob{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);border-color:#000;border-color:var(--mdc-theme-on-surface, #000)}.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mdc-slider .mdc-slider__thumb::before,.mdc-slider .mdc-slider__thumb::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-slider .mdc-slider__thumb:hover::before,.mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider .mdc-slider__tick-mark--active,.mdc-slider .mdc-slider__tick-mark--inactive{border-radius:50%;height:2px;width:2px}.mdc-slider .mdc-slider__tick-mark--active{background-color:#fff;background-color:var(--mdc-theme-on-primary, #fff);opacity:.6}.mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:#fff;background-color:var(--mdc-theme-on-primary, #fff);opacity:.6}.mdc-slider .mdc-slider__tick-mark--inactive{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);opacity:.6}.mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);opacity:.6}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{opacity:.38;cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}:host{outline:none;display:block;-webkit-tap-highlight-color:transparent}.ripple{--mdc-ripple-color:#6200ee;--mdc-ripple-color:var(--mdc-theme-primary, #6200ee)}`;exports.SliderBase=o;exports.styles=W;
