!function(a){"function"==typeofdefine&&define.amd?define([],a):"object"==typeofexports?module.exports=a():window.noUiSlider=a()}(function(){"use strict";functiona(a,b){varc=document.createElement("div");returnj(c,b),a.appendChild(c),c}functionb(a){returna.filter(function(a){return!this[a]&&(this[a]=!0)},{})}functionc(a,b){returnMath.round(a/b)*b}functiond(a,b){varc=a.getBoundingClientRect(),d=a.ownerDocument,e=d.documentElement,f=m();return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(f.x=0),b?c.top+f.y-e.clientTop:c.left+f.x-e.clientLeft}functione(a){return"number"==typeofa&&!isNaN(a)&&isFinite(a)}functionf(a,b,c){c>0&&(j(a,b),setTimeout(function(){k(a,b)},c))}functiong(a){returnMath.max(Math.min(a,100),0)}functionh(a){returnArray.isArray(a)?a:[a]}functioni(a){a=String(a);varb=a.split(".");returnb.length>1?b[1].length:0}functionj(a,b){a.classList?a.classList.add(b):a.className+=" "+b}functionk(a,b){a.classList?a.classList.remove(b):a.className=a.className.replace(newRegExp("(^|\\b)"+b.split(" ").join("|")+"(\\b|$)","gi")," ")}functionl(a,b){returna.classList?a.classList.contains(b):newRegExp("\\b"+b+"\\b").test(a.className)}functionm(){vara=void0!==window.pageXOffset,b="CSS1Compat"===(document.compatMode||""),c=a?window.pageXOffset:b?document.documentElement.scrollLeft:document.body.scrollLeft,d=a?window.pageYOffset:b?document.documentElement.scrollTop:document.body.scrollTop;return{x:c,y:d}}functionn(){returnwindow.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}functiono(a,b){return100/(b-a)}functionp(a,b){return100*b/(a[1]-a[0])}functionq(a,b){returnp(a,a[0]<0?b+Math.abs(a[0]):b-a[0])}functionr(a,b){returnb*(a[1]-a[0])/100+a[0]}functions(a,b){for(varc=1;a>=b[c];)c+=1;returnc}functiont(a,b,c){if(c>=a.slice(-1)[0])return100;vard,e,f,g,h=s(c,a);returnd=a[h-1],e=a[h],f=b[h-1],g=b[h],f+q([d,e],c)/o(f,g)}functionu(a,b,c){if(c>=100)returna.slice(-1)[0];vard,e,f,g,h=s(c,b);returnd=a[h-1],e=a[h],f=b[h-1],g=b[h],r([d,e],(c-f)*o(f,g))}functionv(a,b,d,e){if(100===e)returne;varf,g,h=s(e,a);returnd?(f=a[h-1],g=a[h],e-f>(g-f)/2?g:f):b[h-1]?a[h-1]+c(e-a[h-1],b[h-1]):e}functionw(a,b,c){vard;if("number"==typeofb&&(b=[b]),"[object Array]"!==Object.prototype.toString.call(b))thrownewError("noUiSlider: 'range' contains invalid value.");if(d="min"===a?0:"max"===a?100:parseFloat(a),!e(d)||!e(b[0]))thrownewError("noUiSlider: 'range' value isn't numeric.");c.xPct.push(d),c.xVal.push(b[0]),d?c.xSteps.push(!isNaN(b[1])&&b[1]):isNaN(b[1])||(c.xSteps[0]=b[1]),c.xHighestCompleteStep.push(0)}functionx(a,b,c){if(!b)return!0;c.xSteps[a]=p([c.xVal[a],c.xVal[a+1]],b)/o(c.xPct[a],c.xPct[a+1]);vard=(c.xVal[a+1]-c.xVal[a])/c.xNumSteps[a],e=Math.ceil(Number(d.toFixed(3))-1),f=c.xVal[a]+c.xNumSteps[a]*e;c.xHighestCompleteStep[a]=f}functiony(a,b,c,d){this.xPct=[],this.xVal=[],this.xSteps=[d||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=b,this.direction=c;vare,f=[];for(eina)a.hasOwnProperty(e)&&f.push([a[e],e]);for(f.length&&"object"==typeoff[0][0]?f.sort(function(a,b){returna[0][0]-b[0][0]}):f.sort(function(a,b){returna[0]-b[0]}),e=0;e<f.length;e++)w(f[e][1],f[e][0],this);for(this.xNumSteps=this.xSteps.slice(0),e=0;e<this.xNumSteps.length;e++)x(e,this.xNumSteps[e],this)}functionz(a,b){if(!e(b))thrownewError("noUiSlider: 'step' is not numeric.");a.singleStep=b}functionA(a,b){if("object"!=typeofb||Array.isArray(b))thrownewError("noUiSlider: 'range' is not an object.");if(void0===b.min||void0===b.max)thrownewError("noUiSlider: Missing 'min' or 'max' in 'range'.");if(b.min===b.max)thrownewError("noUiSlider: 'range' 'min' and 'max' cannot be equal.");a.spectrum=newy(b,a.snap,a.dir,a.singleStep)}functionB(a,b){if(b=h(b),!Array.isArray(b)||!b.length)thrownewError("noUiSlider: 'start' option is incorrect.");a.handles=b.length,a.start=b}function