System.register(["./p-3c39d395.system.js"],function(t){"use strict";var e,i,n;return{setters:[function(t){e=t.r;i=t.h;n=t.g}],execute:function(){var s=t("bce_slider",function(){function t(t){var i=this;e(this,t);this.min=0;this.max=10;this.step=1;this.disabled=false;this.discrete=false;this.value=undefined;this.defaultValue=function(){return i.max<i.min?i.min:(i.max-i.min)/2+i.min};this.handleChange=function(t){var e=t.target.value;i.setFillWidth(e);i.value=e}}t.prototype.componentDidLoad=function(){this.value=this.value||this.defaultValue();this.setFillWidth(this.value)};t.prototype.setFillWidth=function(t){var e=100/(this.max-this.min)*this.step;var i=t*e-e*this.min;this.el.style.setProperty("--fill-width",i+"%")};t.prototype.render=function(){return[i("input",{onInput:this.handleChange,type:"range",step:this.step,min:this.min,max:this.max,value:this.value})]};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:true,configurable:true});Object.defineProperty(t,"style",{get:function(){return"bce-slider{--bce-color-l:var(--bce-color-primary-l);--bce-color-n:var(--bce-color-primary-n);--bce-color-d:var(--bce-color-primary-d);--bce-color-t:var(--bce-color-primary-t);--fill-width:0;position:relative;width:100%;height:100%}bce-slider input[type=range]{outline:0;border:0;border-radius:20px;width:100%;-webkit-transition:-webkit-box-shadow .2s ease-in-out;transition:-webkit-box-shadow .2s ease-in-out;transition:box-shadow .2s ease-in-out;transition:box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}\@media screen and (-webkit-min-device-pixel-ratio:0){bce-slider input[type=range]{height:5px;-webkit-appearance:none;background:-webkit-gradient(linear,left top,right top,from(var(--bce-color-n)),color-stop(0,var(--bce-color-light-d)));background:linear-gradient(90deg,var(--bce-color-n) var(--fill-width),var(--bce-color-light-d) 0)}bce-slider input[type=range]::-webkit-slider-runnable-track{height:20px;-webkit-appearance:none}bce-slider input[type=range]::-webkit-slider-thumb{position:relative;-webkit-appearance:none;margin-top:-1px;width:20px;height:20px;background:var(--bce-color-n);border-radius:50%}}bce-slider input[type=range]::-moz-range-progress{background-color:var(--bce-color-n)}bce-slider input[type=range]::-moz-range-track{background-color:var(--bce-color-light-d)}bce-slider input[type=range]::-ms-fill-lower{background-color:var(--bce-color-n)}bce-slider input[type=range]::-ms-fill-upper{background-color:var(--bce-color-light-d)}"},enumerable:true,configurable:true});return t}())}}});