!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="79327765-9dac-4996-8d61-8fd3698da391",t._sentryDebugIdIdentifier="sentry-dbid-79327765-9dac-4996-8d61-8fd3698da391")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"fsk-vue@4.0.2445+51205f2cbaecb29bb52e0454ff83519b377a1829"},(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1612:function(t,e,n){var content=n(2167);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(278).default)("49c9dbe3",content,!0,{sourceMap:!1})},2166:function(t,e,n){"use strict";n(1612)},2167:function(t,e,n){var r=n(277)((function(i){return i[1]}));r.push([t.i,'.f-range-component[data-v-f6ac8f9c]{--slider-rail-background-color:#72727252;--slider-rail-dot-size:1.0625rem;--slider-rail-height:0.125rem;--slider-process-background-color:var(--color-accent);--slider-percentage-font-size:0.75rem;--slider-percentage-line-height:1.125rem;display:flex;flex-direction:column}.f-range[data-v-f6ac8f9c]{background-color:var(--slider-rail-background-color);height:var(--slider-rail-height);margin-inline:calc(var(--slider-rail-dot-size)/2 + 1px);position:relative}.f-range[data-v-f6ac8f9c]:after{content:"";height:calc(var(--slider-rail-height)*6);left:0;position:absolute;top:50%;transform:translateY(-50%);width:100%}.f-range-label[data-v-f6ac8f9c]{color:var(--color-text-secondary);margin-bottom:.5rem;-webkit-user-select:none;user-select:none}.f-range-process[data-v-f6ac8f9c]{background-color:var(--slider-process-background-color);height:100%;position:absolute;top:0;will-change:width;z-index:0}.f-range-dot[data-v-f6ac8f9c]{cursor:pointer;height:var(--slider-rail-dot-size);left:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--slider-rail-dot-size);will-change:transform;z-index:1}.f-range-dot-handle[data-v-f6ac8f9c]{align-items:center;background-color:var(--slider-rail-dot-background-color);border-radius:50%;color:var(--slider-rail-dot-color);display:flex;height:100%;justify-content:center;width:100%}.f-range-values[data-v-f6ac8f9c]{align-items:center;display:flex;justify-content:space-between;margin-bottom:.8125rem}.f-range-percentage[data-v-f6ac8f9c]{color:var(--color-text-secondary);font-size:var(--slider-percentage-font-size);line-height:var(--slider-percentage-line-height)}.f-range-tooltip[data-v-f6ac8f9c]{background-color:inherit;color:var(--slider-tooltip-color);font-size:var(--slider-tooltip-font-size);font-weight:700;line-height:var(--slider-tooltip-line-height);width:100%}.f-range-tooltip.-right[data-v-f6ac8f9c]{text-align:right}.f-range-tooltip-wrap[data-v-f6ac8f9c]{max-width:50%}',""]),r.locals={},t.exports=r},922:function(t,e,n){"use strict";var r,o=n(23),l=(n(12),n(19),n(51),n(43),n(78),n(97),n(544),n(6),n(16),n(41),n(35),n(812),n(52),n(25)),h=(r="undefined"!=typeof window&&window.devicePixelRatio||1,function(t){return Math.round(t*r)/r}),d={name:"FRange",props:{label:{type:String,default:""},data:{type:Array,default:null},dotSize:{type:Number,default:17},isPercentage:{type:Boolean,default:!1},dotWidth:{type:Number,required:!1,default:void 0},dotHeight:{type:Number,required:!1,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},interval:{type:Number,default:1},disabled:{type:[Boolean,Array],default:!1},tooltip:{type:[Boolean,String],default:"always"},eventType:{type:String,default:"auto"},direction:{type:String,default:"horizontal"},staticValue:{type:[String,Number],default:void 0},staticLabel:{type:String,default:void 0},reverse:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},clickable:{type:Boolean,default:!0},speed:{type:Number,default:.5},realTime:{type:Boolean,default:!1},stopPropagation:{type:Boolean,default:!1},value:{type:[String,Number,Array,Object],default:0},piecewiseLabel:{type:Boolean,default:!1},debug:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},minRange:{type:Number},maxRange:{type:Number},processDragable:{type:Boolean,default:!1},useKeyboard:{type:Boolean,default:!1},actionsKeyboard:{type:Array,default:function(){return[function(t){return t-1},function(t){return t+1}]}},tooltipMerge:{type:Boolean,default:!0},startAnimation:{type:Boolean,default:!1},enableCross:{type:Boolean,default:!0},sliderStyle:[Array,Object,Function],focusStyle:[Array,Object,Function],tooltipDir:[Array,String],formatter:[String,Function],formatterInput:[String,Function],disabledStyle:Object,processStyle:Object,processClass:String,tooltipStyle:[Array,Object,Function],tooltipClass:String,disabledDotStyle:[Array,Object,Function],dataTestid:{type:String,default:void 0}},data:function(){return{flag:!1,dragFlag:!1,crossFlag:!1,keydownFlag:null,focusFlag:!1,processFlag:!1,processSign:null,size:0,fixedValue:0,focusSlider:0,currentValue:0,currentSlider:0,isComponentExists:!0,isMounted:!1,typeIn:-1}},computed:{staticPosition:function(){var t=(this.staticValue-this.minimum)/this.spacing*this.gap,e=h(("vertical"===this.direction?this.dotHeightVal/2-t:t-this.dotWidthVal/2)*(this.reverse?-1:1)),n="vertical"===this.direction?"translateY(".concat(e,"px)"):"translateX(".concat(e,"px)");return{transform:n,WebkitTransform:n,msTransform:n}},dotWidthVal:function(){return"number"==typeof this.dotWidth?this.dotWidth:this.dotSize},dotHeightVal:function(){return"number"==typeof this.dotHeight?this.dotHeight:this.dotSize},flowDirection:function(){return"f-range-".concat(this.direction+(this.reverse?"-reverse":""))},tooltipDirection:function(){var t=this.tooltipDir||("vertical"===this.direction?"left":"top");return Array.isArray(t)?this.isRange?t:t[1]:this.isRange?[t,t]:t},tooltipStatus:function(){return"hover"===this.tooltip&&this.flag?"f-range-always":this.tooltip?"f-range-".concat(this.tooltip):""},disabledArray:function(){return Array.isArray(this.disabled)?this.disabled:[this.disabled,this.disabled]},boolDisabled:function(){return this.disabledArray.every((function(b){return!0===b}))},isDisabled:function(){return"none"===this.eventType||this.boolDisabled},disabledClass:function(){return this.boolDisabled?"f-range-disabled":""},stateClass:function(){return{"f-range-state-process-drag":this.processFlag,"f-range-state-drag":this.flag&&!this.processFlag&&!this.keydownFlag,"f-range-state-focus":this.focusFlag}},isRange:function(){return Array.isArray(this.value)},slider:function(){return this.isRange?[this.$refs.dot0,this.$refs.dot1]:this.$refs.dot},minimum:function(){return this.data?0:this.min},val:{get:function(){return this.data?this.isRange?[this.data[this.currentValue[0]],this.data[this.currentValue[1]]]:this.data[this.currentValue]:this.currentValue},set:function(t){if(this.data)if(this.isRange){var e=this.data.indexOf(t[0]),n=this.data.indexOf(t[1]);e>-1&&n>-1&&(this.currentValue=[e,n])}else{var r=this.data.indexOf(t);r>-1&&(this.currentValue=r)}else this.currentValue=t}},currentIndex:function(){return this.isRange?this.data?this.currentValue:[this.getIndexByValue(this.currentValue[0]),this.getIndexByValue(this.currentValue[1])]:this.data?this.currentValue:this.getIndexByValue(this.currentValue)},indexRange:function(){return this.isRange?this.currentIndex:[0,this.currentIndex]},maximum:function(){return this.data?this.data.length-1:this.max},multiple:function(){var t="".concat(this.interval).split(".")[1];return t?Math.pow(10,t.length):1},spacing:function(){return this.data?1:this.interval},total:function(){return this.data?this.data.length-1:(Math.floor((this.maximum-this.minimum)*this.multiple)%(this.interval*this.multiple)!=0&&this.printError("Prop[interval] is illegal, Please make sure that the interval can be divisible"),(this.maximum-this.minimum)/this.interval)},gap:function(){return this.size/this.total},position:function(){return this.isRange?[(this.currentValue[0]-this.minimum)/this.spacing*this.gap,(this.currentValue[1]-this.minimum)/this.spacing*this.gap]:(this.currentValue-this.minimum)/this.spacing*this.gap},isFixed:function(){return this.fixed||this.minRange},limit:function(){return this.isRange?this.isFixed?[[0,(this.total-this.fixedValue)*this.gap],[this.fixedValue*this.gap,this.size]]:[[0,this.position[1]],[this.position[0],this.size]]:[0,this.size]},valueLimit:function(){return this.isRange?this.isFixed?[[this.minimum,this.maximum-this.fixedValue*(this.spacing*this.multiple)/this.multiple],[this.minimum+this.fixedValue*(this.spacing*this.multiple)/this.multiple,this.maximum]]:[[this.minimum,this.currentValue[1]],[this.currentValue[0],this.maximum]]:[this.minimum,this.maximum]},idleSlider:function(){return 0===this.currentSlider?1:0},sliderStyles:function(){return Array.isArray(this.sliderStyle)?this.isRange?this.sliderStyle:this.sliderStyle[1]:"function"==typeof this.sliderStyle?this.sliderStyle(this.val,this.currentIndex):this.isRange?[this.sliderStyle,this.sliderStyle]:this.sliderStyle},focusStyles:function(){return Array.isArray(this.focusStyle)?this.isRange?this.focusStyle:this.focusStyle[1]:"function"==typeof this.focusStyle?this.focusStyle(this.val,this.currentIndex):this.isRange?[this.focusStyle,this.focusStyle]:this.focusStyle},disabledDotStyles:function(){var t=this.disabledDotStyle;if(Array.isArray(t))return t;if("function"==typeof t){var style=t(this.val,this.currentIndex);return Array.isArray(style)?style:[style,style]}return t?[t,t]:[{backgroundColor:"#ccc"},{backgroundColor:"#ccc"}]},tooltipStyles:function(){return Array.isArray(this.tooltipStyle)?this.isRange?this.tooltipStyle:this.tooltipStyle[1]:"function"==typeof this.tooltipStyle?this.tooltipStyle(this.val,this.currentIndex):this.isRange?[this.tooltipStyle,this.tooltipStyle]:this.tooltipStyle},percentage:function(){return Math.round(this.val/(this.max/100))}},watch:{value:function(t){this.flag||this.setValue(t,!0)},max:function(t){if(t<this.min)return this.printError("The maximum value can not be less than the minimum value.");var e=this.limitValue(this.val);this.setValue(e),this.refresh()},min:function(t){if(t>this.max)return this.printError("The minimum value can not be greater than the maximum value.");var e=this.limitValue(this.val);this.setValue(e),this.refresh()},fixed:function(){this.computedFixedValue()},minRange:function(){this.computedFixedValue()},reverse:function(){this.$refs.process.style.cssText="",this.refresh()}},created:function(){this.currentValue=this.value},mounted:function(){var t=this;if(this.isComponentExists=!0,"undefined"==typeof window||"undefined"==typeof document)return this.printError("window or document is undefined, can not be initialization.");this.$nextTick((function(){t.isComponentExists&&(t.getStaticData(),t.setValue(t.limitValue(t.value),!0,t.startAnimation?t.speed:0),t.bindEvents(),t.isRange&&t.tooltipMerge&&!t.startAnimation&&t.$nextTick((function(){t.handleOverlapTooltip()})))})),this.isMounted=!0},beforeDestroy:function(){this.isComponentExists=!1,this.unbindEvents()},methods:{bindEvents:function(){document.addEventListener("touchmove",this.moving,{passive:!1}),document.addEventListener("touchend",this.moveEnd,{passive:!1}),document.addEventListener("mousedown",this.blurSlider),document.addEventListener("mousemove",this.moving),document.addEventListener("mouseup",this.moveEnd),document.addEventListener("mouseleave",this.moveEnd),document.addEventListener("keydown",this.handleKeydown),document.addEventListener("keyup",this.handleKeyup),window.addEventListener("resize",this.refresh),this.isRange&&this.tooltipMerge&&(this.$refs.dot0.addEventListener("transitionend",this.handleOverlapTooltip),this.$refs.dot1.addEventListener("transitionend",this.handleOverlapTooltip))},unbindEvents:function(){if(document.removeEventListener("touchmove",this.moving),document.removeEventListener("touchend",this.moveEnd),document.removeEventListener("mousedown",this.blurSlider),document.removeEventListener("mousemove",this.moving),document.removeEventListener("mouseup",this.moveEnd),document.removeEventListener("mouseleave",this.moveEnd),document.removeEventListener("keydown",this.handleKeydown),document.removeEventListener("keyup",this.handleKeyup),window.removeEventListener("resize",this.refresh),this.isRange&&this.tooltipMerge){try{this.$refs.dot0.removeEventListener("transitionend",this.handleOverlapTooltip)}catch(t){}try{this.$refs.dot1.removeEventListener("transitionend",this.handleOverlapTooltip)}catch(t){}}},handleKeydown:function(t){if(!this.useKeyboard||!this.focusFlag)return!1;switch(t.keyCode){case 37:case 40:t.preventDefault(),this.keydownFlag=!0,this.flag=!0,this.changeFocusSlider(this.actionsKeyboard[0]);break;case 38:case 39:t.preventDefault(),this.keydownFlag=!0,this.flag=!0,this.changeFocusSlider(this.actionsKeyboard[1])}},handleKeyup:function(){this.keydownFlag&&(this.keydownFlag=!1,this.flag=!1)},changeFocusSlider:function(t){var e=this;if(this.isRange){var n=this.currentIndex.map((function(n,r){if(r===e.focusSlider||e.fixed){var o=t(n),l=e.fixed?e.valueLimit[r]:[0,e.total];if(o<=l[1]&&o>=l[0])return o}return n}));n[0]>n[1]&&(this.focusSlider=0===this.focusSlider?1:0,n=n.reverse()),this.setIndex(n)}else this.setIndex(t(this.currentIndex))},blurSlider:function(t){var e=this.isRange?this.$refs["dot".concat(this.focusSlider)]:this.$refs.dot;if(!e||e===t.target||e.contains(t.target))return!1;this.focusFlag=!1},formatting:function(t){if(!t)return"";if("string"!=typeof this.formatter)return this.formatter(t);switch(this.formatter){case"millions":return Object(l.V)(t);case"fixed2":return t.toFixed(2);default:return this.formatter.replace(/{value}/,t)}},formattingInput:function(t){return t?this.formatterInput(t):""},getPos:function(t){return this.realTime&&this.getStaticData(),"vertical"===this.direction?this.reverse?t.pageY-this.offset:this.size-(t.pageY-this.offset):this.reverse?this.size-(t.clientX-this.offset):t.clientX-this.offset},processClick:function(t){this.fixed&&t.stopPropagation()},wrapClick:function(t){var e=this;if(this.isDisabled||!this.clickable||this.processFlag||this.dragFlag)return!1;var n=this.getPos(t);if(this.isRange)if(this.disabledArray.every((function(b){return!1===b})))this.currentSlider=n>(this.position[1]-this.position[0])/2+this.position[0]?1:0;else if(this.disabledArray[0]){if(n<this.position[0])return!1;this.currentSlider=1}else if(this.disabledArray[1]){if(n>this.position[1])return!1;this.currentSlider=0}if(this.disabledArray[this.currentSlider])return!1;if(this.setValueOnPos(n),this.isRange&&this.tooltipMerge){var r=setInterval((function(){return e.handleOverlapTooltip()}),16.7);setTimeout((function(){return window.clearInterval(r)}),1e3*this.speed)}},moveStart:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;if(this.disabledArray[e])return!1;if(this.stopPropagation&&t.stopPropagation(),this.isRange){if(this.currentSlider=e,n){if(!this.processDragable)return!1;this.processFlag=!0,this.processSign={pos:this.position,start:this.getPos(t.targetTouches&&t.targetTouches[0]?t.targetTouches[0]:t)}}this.enableCross||this.val[0]!==this.val[1]||(this.crossFlag=!0)}!n&&this.useKeyboard&&(this.focusFlag=!0,this.focusSlider=e),this.flag=!0,this.$emit("drag-start",this)},moving:function(t){if(this.stopPropagation&&t.stopPropagation(),!this.flag)return!1;t.preventDefault(),t.targetTouches&&t.targetTouches[0]&&(t=t.targetTouches[0]),this.processFlag?(this.currentSlider=0,this.setValueOnPos(this.processSign.pos[0]+this.getPos(t)-this.processSign.start,!0),this.currentSlider=1,this.setValueOnPos(this.processSign.pos[1]+this.getPos(t)-this.processSign.start,!0)):(this.dragFlag=!0,this.setValueOnPos(this.getPos(t),!0)),this.isRange&&this.tooltipMerge&&this.handleOverlapTooltip(),this.$emit("drag",this)},moveEnd:function(t){var e=this;if(this.stopPropagation&&t.stopPropagation(),!this.flag)return!1;this.$emit("drag-end",this),this.lazy&&this.isDiff(this.val,this.value)&&this.syncValue(),this.flag=!1,window.setTimeout((function(){e.crossFlag=!1,e.dragFlag=!1,e.processFlag=!1}),0),this.setPosition()},setValueOnPos:function(t,e){var n=this.isRange?this.limit[this.currentSlider]:this.limit,r=this.isRange?this.valueLimit[this.currentSlider]:this.valueLimit,o=Math.round(t/this.gap);if(t>=n[0]&&t<=n[1]){var l=this.getValueByIndex(o);this.setTransform(t),this.setCurrentValue(l,e),this.isRange&&(this.fixed||this.isLessRange(t,o))&&(this.setTransform(t+this.fixedValue*this.gap*(0===this.currentSlider?1:-1),!0),this.setCurrentValue((l*this.multiple+this.fixedValue*this.spacing*this.multiple*(0===this.currentSlider?1:-1))/this.multiple,e,!0))}else{var h=t<n[0]?0:1,d=0===h?1:0;this.setTransform(n[h]),this.setCurrentValue(r[h]),this.isRange&&(this.fixed||this.isLessRange(t,o))?(this.setTransform(this.limit[this.idleSlider][h],!0),this.setCurrentValue(this.valueLimit[this.idleSlider][h],e,!0)):!this.isRange||!this.enableCross&&!this.crossFlag||this.isFixed||this.disabledArray[h]||this.currentSlider!==d||(this.focusSlider=h,this.currentSlider=h)}this.crossFlag=!1},isLessRange:function(t,e){if(!this.isRange||!this.minRange&&!this.maxRange)return!1;var n=0===this.currentSlider?this.currentIndex[1]-e:e-this.currentIndex[0];return this.minRange&&n<=this.minRange?(this.fixedValue=this.minRange,!0):this.maxRange&&n>=this.maxRange?(this.fixedValue=this.maxRange,!0):(this.computedFixedValue(),!1)},isDiff:function(a,b){return Object.prototype.toString.call(a)!==Object.prototype.toString.call(b)||(Array.isArray(a)&&a.length===b.length?a.some((function(t,e){return t!==b[e]})):a!==b)},setCurrentValue:function(t,e,n){var r=n?this.idleSlider:this.currentSlider;if(t<this.minimum||t>this.maximum)return!1;this.isRange?this.isDiff(this.currentValue[r],t)&&(this.currentValue.splice(r,1,t),this.lazy&&this.flag&&!this.keydownFlag||this.syncValue()):this.isDiff(this.currentValue,t)&&(this.currentValue=t,this.lazy&&this.flag&&!this.keydownFlag||this.syncValue()),e||this.setPosition()},getValueByIndex:function(t){return(this.spacing*this.multiple*t+this.minimum*this.multiple)/this.multiple},getIndexByValue:function(t){return this.data?this.data.indexOf(t):Math.round((t-this.minimum)*this.multiple)/(this.spacing*this.multiple)},setIndex:function(t){var e;Array.isArray(t)&&this.isRange?(e=this.data?[this.data[t[0]],this.data[t[1]]]:[this.getValueByIndex(t[0]),this.getValueByIndex(t[1])],this.setValue(e)):(t=this.getValueByIndex(t),this.isRange&&(this.currentSlider=t>(this.currentValue[1]-this.currentValue[0])/2+this.currentValue[0]?1:0),this.setCurrentValue(t))},setValue:function(t,e,n){var r=this;if(this.isDiff(this.val,t)){var l=this.limitValue(t);this.val=this.isRange?Object(o.a)(l):l,this.computedFixedValue(),this.syncValue(e),this.$emit("change",this.val)}this.$nextTick((function(){return r.setPosition(n)}))},computedFixedValue:function(){if(!this.isFixed)return this.fixedValue=0,!1;this.fixedValue=Math.max(this.fixed?this.currentIndex[1]-this.currentIndex[0]:0,this.minRange||0)},onInput:function(t){if(this.formatterInput){var e=t.target,n=Object(o.a)(e.value).filter((function(t){return" "!==t})).join(""),r=this.formattingInput(n);e.value=r}},setPosition:function(t){this.flag||this.setTransitionTime(void 0===t?this.speed:t),this.isRange?(this.setTransform(this.position[0],1===this.currentSlider),this.setTransform(this.position[1],0===this.currentSlider)):this.setTransform(this.position),this.flag||this.setTransitionTime(0)},setTransform:function(t,e){var n=e?this.idleSlider:this.currentSlider,r=h(("vertical"===this.direction?this.dotHeightVal/2-t:t-this.dotWidthVal/2)*(this.reverse?-1:1)),o="vertical"===this.direction?"translateY(".concat(r,"px)"):"translateX(".concat(r,"px) translateY(-50%)"),l=this.fixed?"".concat(this.fixedValue*this.gap,"px"):"".concat(0===n?this.position[1]-t:t-this.position[0],"px"),d=this.fixed?"".concat(0===n?t:t-this.fixedValue*this.gap,"px"):"".concat(0===n?t:this.position[0],"px");this.isRange?(this.slider[n].style.transform=o,this.slider[n].style.WebkitTransform=o,this.slider[n].style.msTransform=o,"vertical"===this.direction?(this.$refs.process.style.height=l,this.$refs.process.style[this.reverse?"top":"bottom"]=d):(this.$refs.process.style.width=l,this.$refs.process.style[this.reverse?"right":"left"]=d)):(this.slider.style.transform=o,this.slider.style.WebkitTransform=o,this.slider.style.msTransform=o,"vertical"===this.direction?(this.$refs.process.style.height="".concat(t,"px"),this.$refs.process.style[this.reverse?"top":"bottom"]=0):(this.$refs.process.style.width="".concat(t,"px"),this.$refs.process.style[this.reverse?"right":"left"]=0))},setTransitionTime:function(time){if(time||this.$refs.process.offsetWidth,this.isRange){for(var t=0;t<this.slider.length;t++)this.slider[t].style.transitionDuration="".concat(time,"s"),this.slider[t].style.WebkitTransitionDuration="".concat(time,"s");this.$refs.process.style.transitionDuration="".concat(time,"s"),this.$refs.process.style.WebkitTransitionDuration="".concat(time,"s")}else this.slider.style.transitionDuration="".concat(time,"s"),this.slider.style.WebkitTransitionDuration="".concat(time,"s"),this.$refs.process.style.transitionDuration="".concat(time,"s"),this.$refs.process.style.WebkitTransitionDuration="".concat(time,"s")},limitValue:function(t){var e=this;if(this.data)return t;var n=function(n){return n<e.min?(e.printError("The value of the slider is ".concat(t,", the minimum value is ").concat(e.min,", the value of this slider can not be less than the minimum value")),e.min):n>e.max?(e.printError("The value of the slider is ".concat(t,", the maximum value is ").concat(e.max,", the value of this slider can not be greater than the maximum value")),e.max):n};return this.isRange?t.map((function(t){return n(t)})):n(t)},isActive:function(t){return t>=this.indexRange[0]&&t<=this.indexRange[1]},syncValue:function(t){var e=this.isRange?Object(o.a)(this.val):this.val;this.$emit("input",e),this.keydownFlag&&this.$emit("on-keypress",e),t||this.$emit("callback",e)},getStaticData:function(){this.$refs.elem&&(this.size="vertical"===this.direction?this.$refs.elem.offsetHeight:this.$refs.elem.offsetWidth,this.offset="vertical"===this.direction?this.$refs.elem.getBoundingClientRect().top+window.pageYOffset||document.documentElement.scrollTop:this.$refs.elem.getBoundingClientRect().left)},refresh:function(){this.$refs.elem&&(this.getStaticData(),this.computedFixedValue(),this.setPosition(0))},printError:function(t){this.debug&&console.error("[f-range error]:",t)},handleOverlapTooltip:function(){var t=this.tooltipDirection[0]===this.tooltipDirection[1];if(this.isRange&&t){var e=this.reverse?this.$refs.tooltip1:this.$refs.tooltip0,n=this.reverse?this.$refs.tooltip0:this.$refs.tooltip1,r=e.getBoundingClientRect(),o=n.getBoundingClientRect(),l=r.right,h=o.left,d=r.top,c=o.top+o.height,f="horizontal"===this.direction&&l>h,m="vertical"===this.direction&&c>d;f||m?this.handleDisplayMergedTooltip(!0):this.handleDisplayMergedTooltip(!1)}},handleDisplayMergedTooltip:function(){},validateInput:function(t){return"number"==typeof t?t:+t.replace(/\D+/g,"")},typeInValue:function(t){this.setValue(t)}}},c=d,f=(n(2166),n(109)),component=Object(f.a)(c,(function(){var t=this,e=t._self._c;return e("div",{ref:"wrap",staticClass:"f-range-component",class:[t.flowDirection,t.disabledClass,t.stateClass,{"f-range-has-label":t.piecewiseLabel}],style:t.boolDisabled?t.disabledStyle:null},[t.label?e("span",{staticClass:"f-range-label"},[t._v(t._s(t.label))]):t._e(),t._v(" "),e("div",{staticClass:"f-range-values"},[t.isRange?[e("div",{ref:"tooltip0",staticClass:"f-range-tooltip-wrap",class:["f-range-tooltip-".concat(t.tooltipDirection[0])]},[t._t("tooltip",(function(){return[e("input",{staticClass:"f-range-tooltip",class:t.tooltipClass,style:t.tooltipStyles[0],attrs:{"data-testid":t.dataTestid?"".concat(t.dataTestid,"-from"):void 0,tabindex:"-1"},domProps:{value:t.formatter&&0!==t.typeIn?t.formatting(t.val[0]):t.val[0]},on:{focus:function(e){t.typeIn=0},blur:function(e){t.typeIn=-1},change:function(e){return t.typeInValue([t.validateInput(e.target.value),t.val[1]])},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.target.blur()}}})]}),{value:t.val[0],index:0,disabled:!t.boolDisabled&&t.disabledArray[0]})],2),t._v(" "),e("div",{ref:"tooltip1",staticClass:"f-range-tooltip-wrap",class:["f-range-tooltip-".concat(t.tooltipDirection[1])]},[t._t("tooltip",(function(){return[e("input",{staticClass:"f-range-tooltip -right",class:t.tooltipClass,style:t.tooltipStyles[1],attrs:{"data-testid":t.dataTestid?"".concat(t.dataTestid,"-to"):void 0,tabindex:"-1"},domProps:{value:t.formatter&&1!==t.typeIn?t.formatting(t.val[1]):t.val[1]},on:{focus:function(e){t.typeIn=1},blur:function(e){t.typeIn=-1},change:function(e){return t.typeInValue([t.val[0],t.validateInput(e.target.value)])},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.target.blur()}}})]}),{value:t.val[1],index:1,disabled:!t.boolDisabled&&t.disabledArray[1]})],2)]:[e("div",{staticClass:"f-range-tooltip-wrap",class:["f-range-tooltip-".concat(t.tooltipDirection)]},[t._t("tooltip",(function(){return[e("input",{staticClass:"f-range-tooltip",class:t.tooltipClass,style:t.tooltipStyles,attrs:{tabindex:"-1"},domProps:{value:t.formatter&&0!==t.typeIn?t.formatting(t.val):t.formatterInput?t.formattingInput(t.val):t.val},on:{focus:function(e){t.typeIn=0},blur:function(e){t.typeIn=-1},change:function(e){return t.typeInValue(t.validateInput(e.target.value))},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.target.blur()},input:t.onInput}})]}),{value:t.val})],2),t._v(" "),t.isPercentage?e("span",{staticClass:"f-range-percentage"},[t._v(t._s("".concat(t.percentage," %")))]):t._e()]],2),t._v(" "),e("div",{ref:"elem",staticClass:"f-range",attrs:{"aria-hidden":"true"},on:{click:t.wrapClick}},[t.isRange?[e("div",{key:"dot0",ref:"dot0",staticClass:"f-range-dot",class:[t.tooltipStatus,{"f-range-dot-focus":t.focusFlag&&0===t.focusSlider,"f-range-dot-dragging":t.flag&&0===t.currentSlider,"f-range-dot-disabled":!t.boolDisabled&&t.disabledArray[0]}],on:{mousedown:function(e){return t.moveStart(e,0)},touchstart:function(e){return t.moveStart(e,0)}}},[t._t("dot",(function(){return[e("div",{staticClass:"f-range-dot-handle",style:[!t.boolDisabled&&t.disabledArray[0]?t.disabledDotStyles[0]:null,t.sliderStyles[0],t.focusFlag&&0===t.focusSlider?t.focusStyles[0]:null]},[e("svg-icon",{attrs:{name:"v5/slider-dot",width:"7",height:"7"}})],1)]}),{value:t.val[0],index:0,disabled:t.disabledArray[0]})],2),t._v(" "),e("div",{key:"dot1",ref:"dot1",staticClass:"f-range-dot",class:[t.tooltipStatus,{"f-range-dot-focus":t.focusFlag&&1===t.focusSlider,"f-range-dot-dragging":t.flag&&1===t.currentSlider,"f-range-dot-disabled":!t.boolDisabled&&t.disabledArray[1]}],on:{mousedown:function(e){return t.moveStart(e,1)},touchstart:function(e){return t.moveStart(e,1)}}},[t._t("dot",(function(){return[e("div",{staticClass:"f-range-dot-handle",style:[!t.boolDisabled&&t.disabledArray[1]?t.disabledDotStyles[1]:null,t.sliderStyles[1],t.focusFlag&&1===t.focusSlider?t.focusStyles[1]:null]},[e("svg-icon",{attrs:{name:"v5/slider-dot",width:"7",height:"7"}})],1)]}),{value:t.val[1],index:1,disabled:t.disabledArray[1]})],2)]:[void 0!==t.staticValue?e("div",{key:"static-dot",ref:"static-dot",staticClass:"f-range-dot f-range-dot f-range-dot--static static-dot",class:[{"f-range-dot-active":t.isActive(t.getIndexByValue(t.staticValue))}],style:t.staticPosition,on:{click:function(e){return e.stopPropagation(),function(){return t.clickable&&t.setValue(t.staticValue)}.apply(null,arguments)}}},[t._t("static-dot",(function(){return[e("div",{staticClass:"f-range-dot-handle--static"},[e("svg-icon",{attrs:{name:"v5/slider-dot",width:"7",height:"7"}})],1)]}),{value:t.staticValue}),t._v(" "),t.val!==t.staticValue?e("div",{staticClass:"f-range-tooltip-wrap",class:["f-range-tooltip-".concat(t.tooltipDirection)]},[t._t("static-tooltip",(function(){return[e("span",{staticClass:"f-range-tooltip",class:t.tooltipClass},[t.staticLabel?[t._v("\n                "+t._s(t.staticLabel)+"\n              ")]:[t._v("\n                "+t._s(t.formatter?t.formatting(t.staticValue):t.staticValue)+"\n              ")]],2)]}),{value:t.staticValue})],2):t._e()],2):t._e(),t._v(" "),e("div",{key:"dot",ref:"dot",staticClass:"f-range-dot",class:[t.tooltipStatus,{"f-range-dot-focus":t.focusFlag&&0===t.focusSlider,"f-range-dot-dragging":t.flag&&0===t.currentSlider}],on:{mousedown:t.moveStart,touchstart:t.moveStart}},[t._t("dot",(function(){return[e("div",{staticClass:"f-range-dot-handle",style:[t.sliderStyles,t.focusFlag&&0===t.focusSlider?t.focusStyles:null]},[e("svg-icon",{attrs:{name:"v5/slider-dot",width:"7",height:"7"}})],1)]}),{value:t.val,disabled:t.boolDisabled})],2)],t._v(" "),e("div",{ref:"process",staticClass:"f-range-process",class:[{"f-range-process-dragable":t.isRange&&t.processDragable},t.processClass],style:t.processStyle,on:{click:t.processClick,mousedown:function(e){return t.moveStart(e,0,!0)},touchstart:function(e){return t.moveStart(e,0,!0)}}})],2)])}),[],!1,null,"f6ac8f9c",null);e.a=component.exports}}]);