UNPKG

vue-histogram-slider

Version:
26 lines 241 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["histogram-slider"]=e():t["histogram-slider"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"014b":function(t,e,n){"use strict";var i=n("e53d"),r=n("07e3"),o=n("8e60"),s=n("63b6"),a=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),h=n("45f2"),f=n("62a0"),p=n("5168"),d=n("ccb9"),m=n("6718"),g=n("47ee"),v=n("9003"),y=n("e4ae"),_=n("f772"),b=n("241e"),x=n("36c3"),w=n("1bc3"),k=n("aebd"),S=n("a159"),T=n("0395"),M=n("bf0b"),C=n("9aa9"),N=n("d9f6"),E=n("c3a1"),A=M.f,$=N.f,j=T.f,O=i.Symbol,P=i.JSON,D=P&&P.stringify,L="prototype",F=p("_hidden"),I=p("toPrimitive"),R={}.propertyIsEnumerable,q=l("symbol-registry"),H=l("symbols"),B=l("op-symbols"),W=Object[L],z="function"==typeof O&&!!C.f,V=i.QObject,X=!V||!V[L]||!V[L].findChild,U=o&&u((function(){return 7!=S($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=A(W,e);i&&delete W[e],$(t,e,n),i&&t!==W&&$(W,e,i)}:$,G=function(t){var e=H[t]=S(O[L]);return e._k=t,e},Y=z&&"symbol"==typeof O.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof O},K=function(t,e,n){return t===W&&K(B,e,n),y(t),e=w(e,!0),y(n),r(H,e)?(n.enumerable?(r(t,F)&&t[F][e]&&(t[F][e]=!1),n=S(n,{enumerable:k(0,!1)})):(r(t,F)||$(t,F,k(1,{})),t[F][e]=!0),U(t,e,n)):$(t,e,n)},J=function(t,e){y(t);var n,i=g(e=x(e)),r=0,o=i.length;while(o>r)K(t,n=i[r++],e[n]);return t},Q=function(t,e){return void 0===e?S(t):J(S(t),e)},Z=function(t){var e=R.call(this,t=w(t,!0));return!(this===W&&r(H,t)&&!r(B,t))&&(!(e||!r(this,t)||!r(H,t)||r(this,F)&&this[F][t])||e)},tt=function(t,e){if(t=x(t),e=w(e,!0),t!==W||!r(H,e)||r(B,e)){var n=A(t,e);return!n||!r(H,e)||r(t,F)&&t[F][e]||(n.enumerable=!0),n}},et=function(t){var e,n=j(x(t)),i=[],o=0;while(n.length>o)r(H,e=n[o++])||e==F||e==c||i.push(e);return i},nt=function(t){var e,n=t===W,i=j(n?B:x(t)),o=[],s=0;while(i.length>s)!r(H,e=i[s++])||n&&!r(W,e)||o.push(H[e]);return o};z||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(B,n),r(this,F)&&r(this[F],t)&&(this[F][t]=!1),U(this,t,k(1,n))};return o&&X&&U(W,t,{configurable:!0,set:e}),G(t)},a(O[L],"toString",(function(){return this._k})),M.f=tt,N.f=K,n("6abf").f=T.f=et,n("355d").f=Z,C.f=nt,o&&!n("b8e3")&&a(W,"propertyIsEnumerable",Z,!0),d.f=function(t){return G(p(t))}),s(s.G+s.W+s.F*!z,{Symbol:O});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;it.length>rt;)p(it[rt++]);for(var ot=E(p.store),st=0;ot.length>st;)m(ot[st++]);s(s.S+s.F*!z,"Symbol",{for:function(t){return r(q,t+="")?q[t]:q[t]=O(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in q)if(q[e]===t)return e},useSetter:function(){X=!0},useSimple:function(){X=!1}}),s(s.S+s.F*!z,"Object",{create:Q,defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=u((function(){C.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return C.f(b(t))}}),P&&s(s.S+s.F*(!z||u((function(){var t=O();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))}))),"JSON",{stringify:function(t){var e,n,i=[t],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=e=i[1],(_(e)||void 0!==t)&&!Y(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),i[1]=e,D.apply(P,i)}}),O[L][I]||n("35e8")(O[L],I,O[L].valueOf),h(O,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),h=n("2b4c")("iterator"),f=!([].keys&&"next"in[].keys()),p="@@iterator",d="keys",m="values",g=function(){return this};t.exports=function(t,e,n,v,y,_,b){c(n,e,v);var x,w,k,S=function(t){if(!f&&t in N)return N[t];switch(t){case d:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",M=y==m,C=!1,N=t.prototype,E=N[h]||N[p]||y&&N[y],A=E||S(y),$=y?M?S("entries"):A:void 0,j="Array"==e&&N.entries||E;if(j&&(k=l(j.call(new t)),k!==Object.prototype&&k.next&&(u(k,T,!0),i||"function"==typeof k[h]||s(k,h,g))),M&&E&&E.name!==m&&(C=!0,A=function(){return E.call(this)}),i&&!b||!f&&!C&&N[h]||s(N,h,A),a[e]=A,a[T]=g,y)if(x={values:M?A:S(m),keys:_?A:S(d),entries:$},b)for(w in x)w in N||o(N,w,x[w]);else r(r.P+r.F*(f||C),e,x);return x}},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),c=i(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0395":function(t,e,n){var i=n("36c3"),r=n("6abf").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):r(i(t))}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0a49":function(t,e,n){var i=n("9b43"),r=n("626a"),o=n("4bf8"),s=n("9def"),a=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,h=6==t,f=5==t||h,p=e||a;return function(e,a,d){for(var m,g,v=o(e),y=r(v),_=i(a,d,3),b=s(y.length),x=0,w=n?p(e,b):c?p(e,0):void 0;b>x;x++)if((f||x in y)&&(m=y[x],g=_(m,x,v),t))if(n)w[x]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(l)return!1;return h?-1:u||l?l:w}}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},"0fc9":function(t,e,n){var i=n("3a38"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},1157:function(t,e,n){var i,r;
/*!
 * jQuery JavaScript Library v3.4.0
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2019-04-10T19:48Z
 */(function(e,n){"use strict";"object"===typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)})("undefined"!==typeof window?window:this,(function(n,o){"use strict";var s=[],a=n.document,c=Object.getPrototypeOf,u=s.slice,l=s.concat,h=s.push,f=s.indexOf,p={},d=p.toString,m=p.hasOwnProperty,g=m.toString,v=g.call(Object),y={},_=function(t){return"function"===typeof t&&"number"!==typeof t.nodeType},b=function(t){return null!=t&&t===t.window},x={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){n=n||a;var i,r,o=n.createElement("script");if(o.text=t,e)for(i in x)r=e[i]||e.getAttribute&&e.getAttribute(i),r&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function k(t){return null==t?t+"":"object"===typeof t||"function"===typeof t?p[d.call(t)]||"object":typeof t}var S="3.4.0",T=function(t,e){return new T.fn.init(t,e)},M=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function C(t){var e=!!t&&"length"in t&&t.length,n=k(t);return!_(t)&&!b(t)&&("array"===n||0===e||"number"===typeof e&&e>0&&e-1 in t)}T.fn=T.prototype={jquery:S,constructor:T,length:0,toArray:function(){return u.call(this)},get:function(t){return null==t?u.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=T.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return T.each(this,t)},map:function(t){return this.pushStack(T.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:s.sort,splice:s.splice},T.extend=T.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,c=arguments.length,u=!1;for("boolean"===typeof s&&(u=s,s=arguments[a]||{},a++),"object"===typeof s||_(s)||(s={}),a===c&&(s=this,a--);a<c;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(u&&i&&(T.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[e],o=r&&!Array.isArray(n)?[]:r||T.isPlainObject(n)?n:{},r=!1,s[e]=T.extend(u,o,i)):void 0!==i&&(s[e]=i));return s},T.extend({expando:"jQuery"+(S+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==d.call(t))&&(e=c(t),!e||(n=m.call(e,"constructor")&&e.constructor,"function"===typeof n&&g.call(n)===v))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e){w(t,{nonce:e&&e.nonce})},each:function(t,e){var n,i=0;if(C(t)){for(n=t.length;i<n;i++)if(!1===e.call(t[i],i,t[i]))break}else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(M,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(C(Object(t))?T.merge(n,"string"===typeof t?[t]:t):h.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:f.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],o=0,s=t.length,a=!n;o<s;o++)i=!e(t[o],o),i!==a&&r.push(t[o]);return r},map:function(t,e,n){var i,r,o=0,s=[];if(C(t))for(i=t.length;o<i;o++)r=e(t[o],o,n),null!=r&&s.push(r);else for(o in t)r=e(t[o],o,n),null!=r&&s.push(r);return l.apply([],s)},guid:1,support:y}),"function"===typeof Symbol&&(T.fn[Symbol.iterator]=s[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){p["[object "+e+"]"]=e.toLowerCase()}));var N=
/*!
 * Sizzle CSS Selector Engine v2.3.4
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2019-04-08
 */
function(t){var e,n,i,r,o,s,a,c,u,l,h,f,p,d,m,g,v,y,_,b="sizzle"+1*new Date,x=t.document,w=0,k=0,S=ct(),T=ct(),M=ct(),C=ct(),N=function(t,e){return t===e&&(h=!0),0},E={}.hasOwnProperty,A=[],$=A.pop,j=A.push,O=A.push,P=A.slice,D=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+F+"*("+I+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+F+"*\\]",q=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",H=new RegExp(F+"+","g"),B=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),W=new RegExp("^"+F+"*,"+F+"*"),z=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),V=new RegExp(F+"|>"),X=new RegExp(q),U=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){f()},st=bt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(A=P.call(x.childNodes),x.childNodes),A[x.childNodes.length].nodeType}catch(Ct){O={apply:A.length?function(t,e){j.apply(t,P.call(e))}:function(t,e){var n=t.length,i=0;while(t[n++]=e[i++]);t.length=n-1}}}function at(t,e,i,r){var o,a,u,l,h,d,v,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(i=i||[],"string"!==typeof t||!t||1!==w&&9!==w&&11!==w)return i;if(!r&&((e?e.ownerDocument||e:x)!==p&&f(e),e=e||p,m)){if(11!==w&&(h=Z.exec(t)))if(o=h[1]){if(9===w){if(!(u=e.getElementById(o)))return i;if(u.id===o)return i.push(u),i}else if(y&&(u=y.getElementById(o))&&_(e,u)&&u.id===o)return i.push(u),i}else{if(h[2])return O.apply(i,e.getElementsByTagName(t)),i;if((o=h[3])&&n.getElementsByClassName&&e.getElementsByClassName)return O.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!C[t+" "]&&(!g||!g.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===w&&V.test(t)){(l=e.getAttribute("id"))?l=l.replace(it,rt):e.setAttribute("id",l=b),d=s(t),a=d.length;while(a--)d[a]="#"+l+" "+_t(d[a]);v=d.join(","),y=tt.test(t)&&vt(e.parentNode)||e}try{return O.apply(i,y.querySelectorAll(v)),i}catch(k){C(t,!0)}finally{l===b&&e.removeAttribute("id")}}}return c(t.replace(B,"$1"),e,i,r)}function ct(){var t=[];function e(n,r){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=r}return e}function ut(t){return t[b]=!0,t}function lt(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(Ct){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){var n=t.split("|"),r=n.length;while(r--)i.attrHandle[n[r]]=e}function ft(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)while(n=n.nextSibling)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function dt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function mt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ut((function(e){return e=+e,ut((function(n,i){var r,o=t([],n.length,e),s=o.length;while(s--)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function vt(t){return t&&"undefined"!==typeof t.getElementsByTagName&&t}for(e in n=at.support={},o=at.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!Y.test(e||n&&n.nodeName||"HTML")},f=at.setDocument=function(t){var e,r,s=t?t.ownerDocument||t:x;return s!==p&&9===s.nodeType&&s.documentElement?(p=s,d=p.documentElement,m=!o(p),x!==p&&(r=p.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ot,!1):r.attachEvent&&r.attachEvent("onunload",ot)),n.attributes=lt((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=lt((function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=lt((function(t){return d.appendChild(t).id=b,!p.getElementsByName||!p.getElementsByName(b).length})),n.getById?(i.filter["ID"]=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find["ID"]=function(t,e){if("undefined"!==typeof e.getElementById&&m){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter["ID"]=function(t){var e=t.replace(et,nt);return function(t){var n="undefined"!==typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find["ID"]=function(t,e){if("undefined"!==typeof e.getElementById&&m){var n,i,r,o=e.getElementById(t);if(o){if(n=o.getAttributeNode("id"),n&&n.value===t)return[o];r=e.getElementsByName(t),i=0;while(o=r[i++])if(n=o.getAttributeNode("id"),n&&n.value===t)return[o]}return[]}}),i.find["TAG"]=n.getElementsByTagName?function(t,e){return"undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){while(n=o[r++])1===n.nodeType&&i.push(n);return i}return o},i.find["CLASS"]=n.getElementsByClassName&&function(t,e){if("undefined"!==typeof e.getElementsByClassName&&m)return e.getElementsByClassName(t)},v=[],g=[],(n.qsa=Q.test(p.querySelectorAll))&&(lt((function(t){d.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+F+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+b+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")})),lt((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+F+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),d.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Q.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&lt((function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",q)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),e=Q.test(d.compareDocumentPosition),_=e||Q.test(d.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)while(e=e.parentNode)if(e===t)return!0;return!1},N=e?function(t,e){if(t===e)return h=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!n.sortDetached&&e.compareDocumentPosition(t)===i?t===p||t.ownerDocument===x&&_(x,t)?-1:e===p||e.ownerDocument===x&&_(x,e)?1:l?D(l,t)-D(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return h=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!r||!o)return t===p?-1:e===p?1:r?-1:o?1:l?D(l,t)-D(l,e):0;if(r===o)return ft(t,e);n=t;while(n=n.parentNode)s.unshift(n);n=e;while(n=n.parentNode)a.unshift(n);while(s[i]===a[i])i++;return i?ft(s[i],a[i]):s[i]===x?-1:a[i]===x?1:0},p):p},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&f(t),n.matchesSelector&&m&&!C[e+" "]&&(!v||!v.test(e))&&(!g||!g.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(Ct){C(e,!0)}return at(e,p,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!==p&&f(t),_(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!==p&&f(t);var r=i.attrHandle[e.toLowerCase()],o=r&&E.call(i.attrHandle,e.toLowerCase())?r(t,e,!m):void 0;return void 0!==o?o:n.attributes||!m?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},at.escape=function(t){return(t+"").replace(it,rt)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],r=0,o=0;if(h=!n.detectDuplicates,l=!n.sortStable&&t.slice(0),t.sort(N),h){while(e=t[o++])e===t[o]&&(r=i.push(o));while(r--)t.splice(i[r],1)}return l=null,t},r=at.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"===typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else while(e=t[i++])n+=r(e);return n},i=at.selectors={cacheLength:50,createPseudo:ut,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G["CHILD"].test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&X.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&S(t,(function(t){return e.test("string"===typeof t.className&&t.className||"undefined"!==typeof t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var r=at.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(H," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,c){var u,l,h,f,p,d,m=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!c&&!a,_=!1;if(g){if(o){while(m){f=e;while(f=f[m])if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;d=m="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&y){f=g,h=f[b]||(f[b]={}),l=h[f.uniqueID]||(h[f.uniqueID]={}),u=l[t]||[],p=u[0]===w&&u[1],_=p&&u[2],f=p&&g.childNodes[p];while(f=++p&&f&&f[m]||(_=p=0)||d.pop())if(1===f.nodeType&&++_&&f===e){l[t]=[w,p,_];break}}else if(y&&(f=e,h=f[b]||(f[b]={}),l=h[f.uniqueID]||(h[f.uniqueID]={}),u=l[t]||[],p=u[0]===w&&u[1],_=p),!1===_)while(f=++p&&f&&f[m]||(_=p=0)||d.pop())if((a?f.nodeName.toLowerCase()===v:1===f.nodeType)&&++_&&(y&&(h=f[b]||(f[b]={}),l=h[f.uniqueID]||(h[f.uniqueID]={}),l[t]=[w,_]),f===e))break;return _-=r,_===i||_%i===0&&_/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return r[b]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ut((function(t,n){var i,o=r(t,e),s=o.length;while(s--)i=D(t,o[s]),t[i]=!(n[i]=o[s])})):function(t){return r(t,0,n)}):r}},pseudos:{not:ut((function(t){var e=[],n=[],i=a(t.replace(B,"$1"));return i[b]?ut((function(t,e,n,r){var o,s=i(t,null,r,[]),a=t.length;while(a--)(o=s[a])&&(t[a]=!(e[a]=o))})):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}})),has:ut((function(t){return function(e){return at(t,e).length>0}})),contains:ut((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||r(e)).indexOf(t)>-1}})),lang:ut((function(t){return U.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:mt(!1),disabled:mt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos["empty"](t)},header:function(t){return J.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:gt((function(){return[0]})),last:gt((function(t,e){return[e-1]})),eq:gt((function(t,e,n){return[n<0?n+e:n]})),even:gt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:gt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:gt((function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t})),gt:gt((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}},i.pseudos["nth"]=i.pseudos["eq"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=pt(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=dt(e);function yt(){}function _t(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function bt(t,e,n){var i=e.dir,r=e.next,o=r||i,s=n&&"parentNode"===o,a=k++;return e.first?function(e,n,r){while(e=e[i])if(1===e.nodeType||s)return t(e,n,r);return!1}:function(e,n,c){var u,l,h,f=[w,a];if(c){while(e=e[i])if((1===e.nodeType||s)&&t(e,n,c))return!0}else while(e=e[i])if(1===e.nodeType||s)if(h=e[b]||(e[b]={}),l=h[e.uniqueID]||(h[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((u=l[o])&&u[0]===w&&u[1]===a)return f[2]=u[2];if(l[o]=f,f[2]=t(e,n,c))return!0}return!1}}function xt(t){return t.length>1?function(e,n,i){var r=t.length;while(r--)if(!t[r](e,n,i))return!1;return!0}:t[0]}function wt(t,e,n){for(var i=0,r=e.length;i<r;i++)at(t,e[i],n);return n}function kt(t,e,n,i,r){for(var o,s=[],a=0,c=t.length,u=null!=e;a<c;a++)(o=t[a])&&(n&&!n(o,i,r)||(s.push(o),u&&e.push(a)));return s}function St(t,e,n,i,r,o){return i&&!i[b]&&(i=St(i)),r&&!r[b]&&(r=St(r,o)),ut((function(o,s,a,c){var u,l,h,f=[],p=[],d=s.length,m=o||wt(e||"*",a.nodeType?[a]:a,[]),g=!t||!o&&e?m:kt(m,f,t,a,c),v=n?r||(o?t:d||i)?[]:s:g;if(n&&n(g,v,a,c),i){u=kt(v,p),i(u,[],a,c),l=u.length;while(l--)(h=u[l])&&(v[p[l]]=!(g[p[l]]=h))}if(o){if(r||t){if(r){u=[],l=v.length;while(l--)(h=v[l])&&u.push(g[l]=h);r(null,v=[],u,c)}l=v.length;while(l--)(h=v[l])&&(u=r?D(o,h):f[l])>-1&&(o[u]=!(s[u]=h))}}else v=kt(v===s?v.splice(d,v.length):v),r?r(null,s,v,c):O.apply(s,v)}))}function Tt(t){for(var e,n,r,o=t.length,s=i.relative[t[0].type],a=s||i.relative[" "],c=s?1:0,l=bt((function(t){return t===e}),a,!0),h=bt((function(t){return D(e,t)>-1}),a,!0),f=[function(t,n,i){var r=!s&&(i||n!==u)||((e=n).nodeType?l(t,n,i):h(t,n,i));return e=null,r}];c<o;c++)if(n=i.relative[t[c].type])f=[bt(xt(f),n)];else{if(n=i.filter[t[c].type].apply(null,t[c].matches),n[b]){for(r=++c;r<o;r++)if(i.relative[t[r].type])break;return St(c>1&&xt(f),c>1&&_t(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(B,"$1"),n,c<r&&Tt(t.slice(c,r)),r<o&&Tt(t=t.slice(r)),r<o&&_t(t))}f.push(n)}return xt(f)}function Mt(t,e){var n=e.length>0,r=t.length>0,o=function(o,s,a,c,l){var h,d,g,v=0,y="0",_=o&&[],b=[],x=u,k=o||r&&i.find["TAG"]("*",l),S=w+=null==x?1:Math.random()||.1,T=k.length;for(l&&(u=s===p||s||l);y!==T&&null!=(h=k[y]);y++){if(r&&h){d=0,s||h.ownerDocument===p||(f(h),a=!m);while(g=t[d++])if(g(h,s||p,a)){c.push(h);break}l&&(w=S)}n&&((h=!g&&h)&&v--,o&&_.push(h))}if(v+=y,n&&y!==v){d=0;while(g=e[d++])g(_,b,s,a);if(o){if(v>0)while(y--)_[y]||b[y]||(b[y]=$.call(c));b=kt(b)}O.apply(c,b),l&&!o&&b.length>0&&v+e.length>1&&at.uniqueSort(c)}return l&&(w=S,u=x),_};return n?ut(o):o}return yt.prototype=i.filters=i.pseudos,i.setFilters=new yt,s=at.tokenize=function(t,e){var n,r,o,s,a,c,u,l=T[t+" "];if(l)return e?0:l.slice(0);a=t,c=[],u=i.preFilter;while(a){for(s in n&&!(r=W.exec(a))||(r&&(a=a.slice(r[0].length)||a),c.push(o=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(B," ")}),a=a.slice(n.length)),i.filter)!(r=G[s].exec(a))||u[s]&&!(r=u[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return e?a.length:a?at.error(t):T(t,c).slice(0)},a=at.compile=function(t,e){var n,i=[],r=[],o=M[t+" "];if(!o){e||(e=s(t)),n=e.length;while(n--)o=Tt(e[n]),o[b]?i.push(o):r.push(o);o=M(t,Mt(r,i)),o.selector=t}return o},c=at.select=function(t,e,n,r){var o,c,u,l,h,f="function"===typeof t&&t,p=!r&&s(t=f.selector||t);if(n=n||[],1===p.length){if(c=p[0]=p[0].slice(0),c.length>2&&"ID"===(u=c[0]).type&&9===e.nodeType&&m&&i.relative[c[1].type]){if(e=(i.find["ID"](u.matches[0].replace(et,nt),e)||[])[0],!e)return n;f&&(e=e.parentNode),t=t.slice(c.shift().value.length)}o=G["needsContext"].test(t)?0:c.length;while(o--){if(u=c[o],i.relative[l=u.type])break;if((h=i.find[l])&&(r=h(u.matches[0].replace(et,nt),tt.test(c[0].type)&&vt(e.parentNode)||e))){if(c.splice(o,1),t=r.length&&_t(c),!t)return O.apply(n,r),n;break}}}return(f||a(t,p))(r,e,!m,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=b.split("").sort(N).join("")===b,n.detectDuplicates=!!h,f(),n.sortDetached=lt((function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))})),lt((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ht("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&lt((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ht("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),lt((function(t){return null==t.getAttribute("disabled")}))||ht(L,(function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),at}(n);T.find=N,T.expr=N.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=N.uniqueSort,T.text=N.getText,T.isXMLDoc=N.isXML,T.contains=N.contains,T.escapeSelector=N.escape;var E=function(t,e,n){var i=[],r=void 0!==n;while((t=t[e])&&9!==t.nodeType)if(1===t.nodeType){if(r&&T(t).is(n))break;i.push(t)}return i},A=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},$=T.expr.match.needsContext;function j(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(t,e,n){return _(e)?T.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?T.grep(t,(function(t){return t===e!==n})):"string"!==typeof e?T.grep(t,(function(t){return f.call(e,t)>-1!==n})):T.filter(e,t,n)}T.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?T.find.matchesSelector(i,t)?[i]:[]:T.find.matches(t,T.grep(e,(function(t){return 1===t.nodeType})))},T.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!==typeof t)return this.pushStack(T(t).filter((function(){for(e=0;e<i;e++)if(T.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<i;e++)T.find(t,r[e],n);return i>1?T.uniqueSort(n):n},filter:function(t){return this.pushStack(P(this,t||[],!1))},not:function(t){return this.pushStack(P(this,t||[],!0))},is:function(t){return!!P(this,"string"===typeof t&&$.test(t)?T(t):t||[],!1).length}});var D,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,F=T.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||D,"string"===typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:L.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof T?e[0]:e,T.merge(this,T.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),O.test(i[1])&&T.isPlainObject(e))for(i in e)_(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return r=a.getElementById(i[2]),r&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):_(t)?void 0!==n.ready?n.ready(t):t(T):T.makeArray(t,this)};F.prototype=T.fn,D=T(a);var I=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function q(t,e){while((t=t[e])&&1!==t.nodeType);return t}T.fn.extend({has:function(t){var e=T(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(T.contains(this,e[t]))return!0}))},closest:function(t,e){var n,i=0,r=this.length,o=[],s="string"!==typeof t&&T(t);if(!$.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(t){return t?"string"===typeof t?f.call(T(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),T.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return E(t,"parentNode")},parentsUntil:function(t,e,n){return E(t,"parentNode",n)},next:function(t){return q(t,"nextSibling")},prev:function(t){return q(t,"previousSibling")},nextAll:function(t){return E(t,"nextSibling")},prevAll:function(t){return E(t,"previousSibling")},nextUntil:function(t,e,n){return E(t,"nextSibling",n)},prevUntil:function(t,e,n){return E(t,"previousSibling",n)},siblings:function(t){return A((t.parentNode||{}).firstChild,t)},children:function(t){return A(t.firstChild)},contents:function(t){return"undefined"!==typeof t.contentDocument?t.contentDocument:(j(t,"template")&&(t=t.content||t),T.merge([],t.childNodes))}},(function(t,e){T.fn[t]=function(n,i){var r=T.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"===typeof i&&(r=T.filter(i,r)),this.length>1&&(R[t]||T.uniqueSort(r),I.test(t)&&r.reverse()),this.pushStack(r)}}));var H=/[^\x20\t\r\n\f]+/g;function B(t){var e={};return T.each(t.match(H)||[],(function(t,n){e[n]=!0})),e}function W(t){return t}function z(t){throw t}function V(t,e,n,i){var r;try{t&&_(r=t.promise)?r.call(t).done(e).fail(n):t&&_(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}T.Callbacks=function(t){t="string"===typeof t?B(t):T.extend({},t);var e,n,i,r,o=[],s=[],a=-1,c=function(){for(r=r||t.once,i=e=!0;s.length;a=-1){n=s.shift();while(++a<o.length)!1===o[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=o.length,n=!1)}t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function e(n){T.each(n,(function(n,i){_(i)?t.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==k(i)&&e(i)}))}(arguments),n&&!e&&c()),this},remove:function(){return T.each(arguments,(function(t,e){var n;while((n=T.inArray(e,o,n))>-1)o.splice(n,1),n<=a&&a--})),this},has:function(t){return t?T.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=n||[],n=[t,n.slice?n.slice():n],s.push(n),e||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},T.extend({Deferred:function(t){var e=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return T.Deferred((function(n){T.each(e,(function(e,i){var r=_(t[i[4]])&&t[i[4]];o[i[1]]((function(){var t=r&&r.apply(this,arguments);t&&_(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,i,r){var o=0;function s(t,e,i,r){return function(){var a=this,c=arguments,u=function(){var n,u;if(!(t<o)){if(n=i.apply(a,c),n===e.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"===typeof n||"function"===typeof n)&&n.then,_(u)?r?u.call(n,s(o,e,W,r),s(o,e,z,r)):(o++,u.call(n,s(o,e,W,r),s(o,e,z,r),s(o,e,W,e.notifyWith))):(i!==W&&(a=void 0,c=[n]),(r||e.resolveWith)(a,c))}},l=r?u:function(){try{u()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,l.stackTrace),t+1>=o&&(i!==z&&(a=void 0,c=[n]),e.rejectWith(a,c))}};t?l():(T.Deferred.getStackHook&&(l.stackTrace=T.Deferred.getStackHook()),n.setTimeout(l))}}return T.Deferred((function(n){e[0][3].add(s(0,n,_(r)?r:W,n.notifyWith)),e[1][3].add(s(0,n,_(t)?t:W)),e[2][3].add(s(0,n,_(i)?i:z))})).promise()},promise:function(t){return null!=t?T.extend(t,r):r}},o={};return T.each(e,(function(t,n){var s=n[2],a=n[5];r[n[1]]=s.add,a&&s.add((function(){i=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=u.call(arguments),o=T.Deferred(),s=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?u.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(V(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||_(r[n]&&r[n].then)))return o.then();while(n--)V(r[n],s(n),o.reject);return o.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&X.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},T.readyException=function(t){n.setTimeout((function(){throw t}))};var U=T.Deferred();function G(){a.removeEventListener("DOMContentLoaded",G),n.removeEventListener("load",G),T.ready()}T.fn.ready=function(t){return U.then(t).catch((function(t){T.readyException(t)})),this},T.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==t&&--T.readyWait>0||U.resolveWith(a,[T]))}}),T.ready.then=U.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(T.ready):(a.addEventListener("DOMContentLoaded",G),n.addEventListener("load",G));var Y=function(t,e,n,i,r,o,s){var a=0,c=t.length,u=null==n;if("object"===k(n))for(a in r=!0,n)Y(t,e,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,_(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(T(t),n)})),e))for(;a<c;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:u?e.call(t):c?e(t[0],n):o},K=/^-ms-/,J=/-([a-z])/g;function Q(t,e){return e.toUpperCase()}function Z(t){return t.replace(K,"ms-").replace(J,Q)}var tt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function et(){this.expando=T.expando+et.uid++}et.uid=1,et.prototype={cache:function(t){var e=t[this.expando];return e||(e={},tt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"===typeof e)r[Z(e)]=n;else for(i in e)r[Z(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][Z(e)]},access:function(t,e,n){return void 0===e||e&&"string"===typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){Array.isArray(e)?e=e.map(Z):(e=Z(e),e=e in i?[e]:e.match(H)||[]),n=e.length;while(n--)delete i[e[n]]}(void 0===e||T.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!T.isEmptyObject(e)}};var nt=new et,it=new et,rt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ot=/[A-Z]/g;function st(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:rt.test(t)?JSON.parse(t):t)}function at(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(ot,"-$&").toLowerCase(),n=t.getAttribute(i),"string"===typeof n){try{n=st(n)}catch(r){}it.set(t,e,n)}else n=void 0;return n}T.extend({hasData:function(t){return it.hasData(t)||nt.hasData(t)},data:function(t,e,n){return it.access(t,e,n)},removeData:function(t,e){it.remove(t,e)},_data:function(t,e,n){return nt.access(t,e,n)},_removeData:function(t,e){nt.remove(t,e)}}),T.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=it.get(o),1===o.nodeType&&!nt.get(o,"hasDataAttrs"))){n=s.length;while(n--)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=Z(i.slice(5)),at(o,i,r[i])));nt.set(o,"hasDataAttrs",!0)}return r}return"object"===typeof t?this.each((function(){it.set(this,t)})):Y(this,(function(e){var n;if(o&&void 0===e)return n=it.get(o,t),void 0!==n?n:(n=at(o,t),void 0!==n?n:void 0);this.each((function(){it.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){it.remove(this,t)}))}}),T.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=nt.get(t,e),n&&(!i||Array.isArray(n)?i=nt.access(t,e,T.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=T.queue(t,e),i=n.length,r=n.shift(),o=T._queueHooks(t,e),s=function(){T.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return nt.get(t,n)||nt.access(t,n,{empty:T.Callbacks("once memory").add((function(){nt.remove(t,[e+"queue",n])}))})}}),T.fn.extend({queue:function(t,e){var n=2;return"string"!==typeof t&&(e=t,t="fx",n--),arguments.length<n?T.queue(this[0],t):void 0===e?this:this.each((function(){var n=T.queue(this,t,e);T._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&T.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){T.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=T.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};"string"!==typeof t&&(e=t,t=void 0),t=t||"fx";while(s--)n=nt.get(o[s],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ut=new RegExp("^(?:([+-])=|)("+ct+")([a-z%]*)$","i"),lt=["Top","Right","Bottom","Left"],ht=a.documentElement,ft=function(t){return T.contains(t.ownerDocument,t)},pt={composed:!0};ht.attachShadow&&(ft=function(t){return T.contains(t.ownerDocument,t)||t.getRootNode(pt)===t.ownerDocument});var dt=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&ft(t)&&"none"===T.css(t,"display")},mt=function(t,e,n,i){var r,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];for(o in r=n.apply(t,i||[]),e)t.style[o]=s[o];return r};function gt(t,e,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return T.css(t,e,"")},c=a(),u=n&&n[3]||(T.cssNumber[e]?"":"px"),l=t.nodeType&&(T.cssNumber[e]||"px"!==u&&+c)&&ut.exec(T.css(t,e));if(l&&l[3]!==u){c/=2,u=u||l[3],l=+c||1;while(s--)T.style(t,e,l+u),(1-o)*(1-(o=a()/c||.5))<=0&&(s=0),l/=o;l*=2,T.style(t,e,l+u),n=n||[]}return n&&(l=+l||+c||0,r=n[1]?l+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=l,i.end=r)),r}var vt={};function yt(t){var e,n=t.ownerDocument,i=t.nodeName,r=vt[i];return r||(e=n.body.appendChild(n.createElement(i)),r=T.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),vt[i]=r,r)}function _t(t,e){for(var n,i,r=[],o=0,s=t.length;o<s;o++)i=t[o],i.style&&(n=i.style.display,e?("none"===n&&(r[o]=nt.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&dt(i)&&(r[o]=yt(i))):"none"!==n&&(r[o]="none",nt.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}T.fn.extend({show:function(){return _t(this,!0)},hide:function(){return _t(this)},toggle:function(t){return"boolean"===typeof t?t?this.show():this.hide():this.each((function(){dt(this)?T(this).show():T(this).hide()}))}});var bt=/^(?:checkbox|radio)$/i,xt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,wt=/^$|^module$|\/(?:java|ecma)script/i,kt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function St(t,e){var n;return n="undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!==typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&j(t,e)?T.merge([t],n):n}function Tt(t,e){for(var n=0,i=t.length;n<i;n++)nt.set(t[n],"globalEval",!e||nt.get(e[n],"globalEval"))}kt.optgroup=kt.option,kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td;var Mt=/<|&#?\w+;/;function Ct(t,e,n,i,r){for(var o,s,a,c,u,l,h=e.createDocumentFragment(),f=[],p=0,d=t.length;p<d;p++)if(o=t[p],o||0===o)if("object"===k(o))T.merge(f,o.nodeType?[o]:o);else if(Mt.test(o)){s=s||h.appendChild(e.createElement("div")),a=(xt.exec(o)||["",""])[1].toLowerCase(),c=kt[a]||kt._default,s.innerHTML=c[1]+T.htmlPrefilter(o)+c[2],l=c[0];while(l--)s=s.lastChild;T.merge(f,s.childNodes),s=h.firstChild,s.textContent=""}else f.push(e.createTextNode(o));h.textContent="",p=0;while(o=f[p++])if(i&&T.inArray(o,i)>-1)r&&r.push(o);else if(u=ft(o),s=St(h.appendChild(o),"script"),u&&Tt(s),n){l=0;while(o=s[l++])wt.test(o.type||"")&&n.push(o)}return h}(function(){var t=a.createDocumentFragment(),e=t.appendChild(a.createElement("div")),n=a.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),y.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue})();var Nt=/^key/,Et=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,At=/^([^.]*)(?:\.(.+)|)/;function $t(){return!0}function jt(){return!1}function Ot(t,e){return t===Pt()===("focus"===e)}function Pt(){try{return a.activeElement}catch(t){}}function Dt(t,e,n,i,r,o){var s,a;if("object"===typeof e){for(a in"string"!==typeof n&&(i=i||n,n=void 0),e)Dt(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"===typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=jt;else if(!r)return t;return 1===o&&(s=r,r=function(t){return T().off(t),s.apply(this,arguments)},r.guid=s.guid||(s.guid=T.guid++)),t.each((function(){T.event.add(this,e,r,i,n)}))}function Lt(t,e,n){n?(nt.set(t,e,!1),T.event.add(t,e,{namespace:!1,handler:function(t){var i,r,o=nt.get(this,e);if(1&t.isTrigger&&this[e]){if(o)(T.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=u.call(arguments),nt.set(this,e,o),i=n(this,e),this[e](),r=nt.get(this,e),o!==r||i?nt.set(this,e,!1):r=void 0,o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r}else o&&(nt.set(this,e,T.event.trigger(T.extend(o.shift(),T.Event.prototype),o,this)),t.stopImmediatePropagation())}})):T.event.add(t,e,$t)}T.event={global:{},add:function(t,e,n,i,r){var o,s,a,c,u,l,h,f,p,d,m,g=nt.get(t);if(g){n.handler&&(o=n,n=o.handler,r=o.selector),r&&T.find.matchesSelector(ht,r),n.guid||(n.guid=T.guid++),(c=g.events)||(c=g.events={}),(s=g.handle)||(s=g.handle=function(e){return"undefined"!==typeof T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(H)||[""],u=e.length;while(u--)a=At.exec(e[u])||[],p=m=a[1],d=(a[2]||"").split(".").sort(),p&&(h=T.event.special[p]||{},p=(r?h.delegateType:h.bindType)||p,h=T.event.special[p]||{},l=T.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&T.expr.match.needsContext.test(r),namespace:d.join(".")},o),(f=c[p])||(f=c[p]=[],f.delegateCount=0,h.setup&&!1!==h.setup.call(t,i,d,s)||t.addEventListener&&t.addEventListener(p,s)),h.add&&(h.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,l):f.push(l),T.event.global[p]=!0)}},remove:function(t,e,n,i,r){var o,s,a,c,u,l,h,f,p,d,m,g=nt.hasData(t)&&nt.get(t);if(g&&(c=g.events)){e=(e||"").match(H)||[""],u=e.length;while(u--)if(a=At.exec(e[u])||[],p=m=a[1],d=(a[2]||"").split(".").sort(),p){h=T.event.special[p]||{},p=(i?h.delegateType:h.bindType)||p,f=c[p]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;while(o--)l=f[o],!r&&m!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||i&&i!==l.selector&&("**"!==i||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,h.remove&&h.remove.call(t,l));s&&!f.length&&(h.teardown&&!1!==h.teardown.call(t,d,g.handle)||T.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)T.event.remove(t,p+e[u],n,i,!0);T.isEmptyObject(c)&&nt.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,s,a=T.event.fix(t),c=new Array(arguments.length),u=(nt.get(this,"events")||{})[a.type]||[],l=T.event.special[a.type]||{};for(c[0]=a,e=1;e<arguments.length;e++)c[e]=arguments[e];if(a.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,a)){s=T.event.handlers.call(this,a,u),e=0;while((r=s[e++])&&!a.isPropagationStopped()){a.currentTarget=r.elem,n=0;while((o=r.handlers[n++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,i=((T.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,c),void 0!==i&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()))}return l.postDispatch&&l.postDispatch.call(this,a),a.result}},handlers:function(t,e){var n,i,r,o,s,a=[],c=e.delegateCount,u=t.target;if(c&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],s={},n=0;n<c;n++)i=e[n],r=i.selector+" ",void 0===s[r]&&(s[r]=i.needsContext?T(r,this).index(u)>-1:T.find(r,this,null,[u]).length),s[r]&&o.push(i);o.length&&a.push({elem:u,handlers:o})}return u=this,c<e.length&&a.push({elem:u,handlers:e.slice(c)}),a},addProp:function(t,e){Object.defineProperty(T.Event.prototype,t,{enumerable:!0,configurable:!0,get:_(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[T.expando]?t:new T.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return bt.test(e.type)&&e.click&&j(e,"input")&&void 0===nt.get(e,"click")&&Lt(e,"click",$t),!1},trigger:function(t){var e=this||t;return bt.test(e.type)&&e.click&&j(e,"input")&&void 0===nt.get(e,"click")&&Lt(e,"click"),!0},_default:function(t){var e=t.target;return bt.test(e.type)&&e.click&&j(e,"input")&&nt.get(e,"click")||j(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},T.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},T.Event=function(t,e){if(!(this instanceof T.Event))return new T.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?$t:jt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&T.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:jt,isPropagationStopped:jt,isImmediatePropagationStopped:jt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=$t,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=$t,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=$t,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Nt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Et.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(t,e){T.event.special[t]={setup:function(){return Lt(this,t,Ot),!1},trigger:function(){return Lt(this,t),!0},delegateType:e}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){T.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||T.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}})),T.fn.extend({on:function(t,e,n,i){return Dt(this,t,e,n,i)},one:function(t,e,n,i){return Dt(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,T(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"===typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!==typeof e||(n=e,e=void 0),!1===n&&(n=jt),this.each((function(){T.event.remove(this,t,n,e)}))}});var Ft=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,It=/<script|<style|<link/i,Rt=/checked\s*(?:[^=]|=\s*.checked.)/i,qt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ht(t,e){return j(t,"table")&&j(11!==e.nodeType?e:e.firstChild,"tr")&&T(t).children("tbody")[0]||t}function Bt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Wt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function zt(t,e){var n,i,r,o,s,a,c,u;if(1===e.nodeType){if(nt.hasData(t)&&(o=nt.access(t),s=nt.set(e,o),u=o.events,u))for(r in delete s.handle,s.events={},u)for(n=0,i=u[r].length;n<i;n++)T.event.add(e,r,u[r][n]);it.hasData(t)&&(a=it.access(t),c=T.extend({},a),it.set(e,c))}}function Vt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&bt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Xt(t,e,n,i){e=l.apply([],e);var r,o,s,a,c,u,h=0,f=t.length,p=f-1,d=e[0],m=_(d);if(m||f>1&&"string"===typeof d&&!y.checkClone&&Rt.test(d))return t.each((function(r){var o=t.eq(r);m&&(e[0]=d.call(this,r,o.html())),Xt(o,e,n,i)}));if(f&&(r=Ct(e,t[0].ownerDocument,!1,t,i),o=r.firstChild,1===r.childNodes.length&&(r=o),o||i)){for(s=T.map(St(r,"script"),Bt),a=s.length;h<f;h++)c=r,h!==p&&(c=T.clone(c,!0,!0),a&&T.merge(s,St(c,"script"))),n.call(t[h],c,h);if(a)for(u=s[s.length-1].ownerDocument,T.map(s,Wt),h=0;h<a;h++)c=s[h],wt.test(c.type||"")&&!nt.access(c,"globalEval")&&T.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?T._evalUrl&&!c.noModule&&T._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):w(c.textContent.replace(qt,""),c,u))}return t}function Ut(t,e,n){for(var i,r=e?T.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||T.cleanData(St(i)),i.parentNode&&(n&&ft(i)&&Tt(St(i,"script")),i.parentNode.removeChild(i));return t}T.extend({htmlPrefilter:function(t){return t.replace(Ft,"<$1></$2>")},clone:function(t,e,n){var i,r,o,s,a=t.cloneNode(!0),c=ft(t);if(!y.noCloneChecked&&(1===t.nodeType||11===t.nodeType)&&!T.isXMLDoc(t))for(s=St(a),o=St(t),i=0,r=o.length;i<r;i++)Vt(o[i],s[i]);if(e)if(n)for(o=o||St(t),s=s||St(a),i=0,r=o.length;i<r;i++)zt(o[i],s[i]);else zt(t,a);return s=St(a,"script"),s.length>0&&Tt(s,!c&&St(t,"script")),a},cleanData:function(t){for(var e,n,i,r=T.event.special,o=0;void 0!==(n=t[o]);o++)if(tt(n)){if(e=n[nt.expando]){if(e.events)for(i in e.events)r[i]?T.event.remove(n,i):T.removeEvent(n,i,e.handle);n[nt.expando]=void 0}n[it.expando]&&(n[it.expando]=void 0)}}}),T.fn.extend({detach:function(t){return Ut(this,t,!0)},remove:function(t){return Ut(this,t)},text:function(t){return Y(this,(function(t){return void 0===t?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Xt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Ht(this,t);e.appendChild(t)}}))},prepend:function(){return Xt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Ht(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Xt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Xt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(T.cleanData(St(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return T.clone(this,t,e)}))},html:function(t){return Y(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"===typeof t&&!It.test(t)&&!kt[(xt.exec(t)||["",""])[1].toLowerCase()]){t=T.htmlPrefilter(t);try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(T.cleanData(St(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Xt(this,arguments,(function(e){var n=this.parentNode;T.inArray(this,t)<0&&(T.cleanData(St(this)),n&&n.replaceChild(e,this))}),t)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){T.fn[t]=function(t){for(var n,i=[],r=T(t),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),T(r[s])[e](n),h.apply(i,n.get());return this.pushStack(i)}}));var Gt=new RegExp("^("+ct+")(?!px)[a-z%]+$","i"),Yt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Kt=new RegExp(lt.join("|"),"i");function Jt(t,e,n){var i,r,o,s,a=t.style;return n=n||Yt(t),n&&(s=n.getPropertyValue(e)||n[e],""!==s||ft(t)||(s=T.style(t,e)),!y.pixelBoxStyles()&&Gt.test(s)&&Kt.test(e)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function Qt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}(function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ht.appendChild(u).appendChild(l);var t=n.getComputedStyle(l);i="1%"!==t.top,c=12===e(t.marginLeft),l.style.right="60%",s=36===e(t.right),r=36===e(t.width),l.style.position="absolute",o=12===e(l.offsetWidth/3),ht.removeChild(u),l=null}}function e(t){return Math.round(parseFloat(t))}var i,r,o,s,c,u=a.createElement("div"),l=a.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,T.extend(y,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),o}}))})();var Zt=["Webkit","Moz","ms"],te=a.createElement("div").style,ee={};function ne(t){var e=t[0].toUpperCase()+t.slice(1),n=Zt.length;while(n--)if(t=Zt[n]+e,t in te)return t}function ie(t){var e=T.cssProps[t]||ee[t];return e||(t in te?t:ee[t]=ne(t)||t)}var re=/^(none|table(?!-c[ea]).+)/,oe=/^--/,se={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function ce(t,e,n){var i=ut.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function ue(t,e,n,i,r,o){var s="width"===e?1:0,a=0,c=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=T.css(t,n+lt[s],!0,r)),i?("content"===n&&(c-=T.css(t,"padding"+lt[s],!0,r)),"margin"!==n&&(c-=T.css(t,"border"+lt[s]+"Width",!0,r))):(c+=T.css(t,"padding"+lt[s],!0,r),"padding"!==n?c+=T.css(t,"border"+lt[s]+"Width",!0,r):a+=T.css(t,"border"+lt[s]+"Width",!0,r));return!i&&o>=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-c-a-.5))||0),c}function le(t,e,n){var i=Yt(t),r=!y.boxSizingReliable()||n,o=r&&"border-box"===T.css(t,"boxSizing",!1,i),s=o,a=Jt(t,e,i),c="offset"+e[0].toUpperCase()+e.slice(1);if(Gt.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&o||"auto"===a||!parseFloat(a)&&"inline"===T.css(t,"display",!1,i))&&t.getClientRects().length&&(o="border-box"===T.css(t,"boxSizing",!1,i),s=c in t,s&&(a=t[c])),a=parseFloat(a)||0,a+ue(t,e,n||(o?"border":"content"),s,i,a)+"px"}function he(t,e,n,i,r){return new he.prototype.init(t,e,n,i,r)}T.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Jt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=Z(e),c=oe.test(e),u=t.style;if(c||(e=ie(a)),s=T.cssHooks[e]||T.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:u[e];o=typeof n,"string"===o&&(r=ut.exec(n))&&r[1]&&(n=gt(t,e,r),o="number"),null!=n&&n===n&&("number"!==o||c||(n+=r&&r[3]||(T.cssNumber[a]?"":"px")),y.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(c?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var r,o,s,a=Z(e),c=oe.test(e);return c||(e=ie(a)),s=T.cssHooks[e]||T.cssHooks[a],s&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=Jt(t,e,i)),"normal"===r&&e in ae&&(r=ae[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),T.each(["height","width"],(function(t,e){T.cssHooks[e]={get:function(t,n,i){if(n)return!re.test(T.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?le(t,e,i):mt(t,se,(function(){return le(t,e,i)}))},set:function(t,n,i){var r,o=Yt(t),s=!y.scrollboxSize()&&"absolute"===o.position,a=s||i,c=a&&"border-box"===T.css(t,"boxSizing",!1,o),u=i?ue(t,e,i,c,o):0;return c&&s&&(u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ue(t,e,"border",!1,o)-.5)),u&&(r=ut.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=T.css(t,e)),ce(t,n,u)}}})),T.cssHooks.marginLeft=Qt(y.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Jt(t,"marginLeft"))||t.getBoundingClientRect().left-mt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(t,e){T.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"===typeof n?n.split(" "):[n];i<4;i++)r[t+lt[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(T.cssHooks[t+e].set=ce)})),T.fn.extend({css:function(t,e){return Y(this,(function(t,e,n){var i,r,o={},s=0;if(Array.isArray(e)){for(i=Yt(t),r=e.length;s<r;s++)o[e[s]]=T.css(t,e[s],!1,i);return o}return void 0!==n?T.style(t,e,n):T.css(t,e)}),t,e,arguments.length>1)}}),T.Tween=he,he.prototype={constructor:he,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||T.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var t=he.propHooks[this.prop];return t&&t.get?t.get(this):he.propHooks._default.get(this)},run:function(t){var e,n=he.propHooks[this.prop];return this.options.duration?this.pos=e=T.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):he.propHooks._default.set(this),this}},he.prototype.init.prototype=he.prototype,he.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=T.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){T.fx.step[t.prop]?T.fx.step[t.prop](t):1!==t.elem.nodeType||!T.cssHooks[t.prop]&&null==t.elem.style[ie(t.prop)]?t.elem[t.prop]=t.now:T.style(t.elem,t.prop,t.now+t.unit)}}},he.propHooks.scrollTop=he.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},T.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},T.fx=he.prototype.init,T.fx.step={};var fe,pe,de=/^(?:toggle|show|hide)$/,me=/queueHooks$/;function ge(){pe&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ge):n.setTimeout(ge,T.fx.interval),T.fx.tick())}function ve(){return n.setTimeout((function(){fe=void 0})),fe=Date.now()}function ye(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)n=lt[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function _e(t,e,n){for(var i,r=(we.tweeners[e]||[]).concat(we.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,e,t))return i}function be(t,e,n){var i,r,o,s,a,c,u,l,h="width"in e||"height"in e,f=this,p={},d=t.style,m=t.nodeType&&dt(t),g=nt.get(t,"fxshow");for(i in n.queue||(s=T._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always((function(){f.always((function(){s.unqueued--,T.queue(t,"fx").length||s.empty.fire()}))}))),e)if(r=e[i],de.test(r)){if(delete e[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||T.style(t,i)}if(c=!T.isEmptyObject(e),c||!T.isEmptyObject(p))for(i in h&&1===t.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],u=g&&g.display,null==u&&(u=nt.get(t,"display")),l=T.css(t,"display"),"none"===l&&(u?l=u:(_t([t],!0),u=t.style.display||u,l=T.css(t,"display"),_t([t]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===T.css(t,"float")&&(c||(f.done((function(){d.display=u})),null==u&&(l=d.display,u="none"===l?"":l)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",f.always((function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}))),c=!1,p)c||(g?"hidden"in g&&(m=g.hidden):g=nt.access(t,"fxshow",{display:u}),o&&(g.hidden=!m),m&&_t([t],!0),f.done((function(){for(i in m||_t([t]),nt.remove(t,"fxshow"),p)T.style(t,i,p[i])}))),c=_e(m?g[i]:0,i,f),i in g||(g[i]=c.start,m&&(c.end=c.start,c.start=0))}function xe(t,e){var n,i,r,o,s;for(n in t)if(i=Z(n),r=e[i],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),s=T.cssHooks[i],s&&"expand"in s)for(n in o=s.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}function we(t,e,n){var i,r,o=0,s=we.prefilters.length,a=T.Deferred().always((function(){delete c.elem})),c=function(){if(r)return!1;for(var e=fe||ve(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,o=1-i,s=0,c=u.tweens.length;s<c;s++)u.tweens[s].run(o);return a.notifyWith(t,[u,o,n]),o<1&&c?n:(c||a.notifyWith(t,[u,1,0]),a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:e,originalOptions:n,startTime:fe||ve(),duration:n.duration,tweens:[],createTween:function(e,n){var i=T.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?(a.notifyWith(t,[u,1,0]),a.resolveWith(t,[u,e])):a.rejectWith(t,[u,e]),this}}),l=u.props;for(xe(l,u.opts.specialEasing);o<s;o++)if(i=we.prefilters[o].call(u,t,l,u.opts),i)return _(i.stop)&&(T._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return T.map(l,_e,u),_(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),T.fx.timer(T.extend(c,{elem:t,anim:u,queue:u.opts.queue})),u}T.Animation=T.extend(we,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return gt(n.elem,t,ut.exec(e),n),n}]},tweener:function(t,e){_(t)?(e=t,t=["*"]):t=t.match(H);for(var n,i=0,r=t.length;i<r;i++)n=t[i],we.tweeners[n]=we.tweeners[n]||[],we.tweeners[n].unshift(e)},prefilters:[be],prefilter:function(t,e){e?we.prefilters.unshift(t):we.prefilters.push(t)}}),T.speed=function(t,e,n){var i=t&&"object"===typeof t?T.extend({},t):{complete:n||!n&&e||_(t)&&t,duration:t,easing:n&&e||e&&!_(e)&&e};return T.fx.off?i.duration=0:"number"!==typeof i.duration&&(i.duration in T.fx.speeds?i.duration=T.fx.speeds[i.duration]:i.duration=T.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){_(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(t,e,n,i){return this.filter(dt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=T.isEmptyObject(t),o=T.speed(e,n,i),s=function(){var e=we(this,T.extend({},t),o);(r||nt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!==typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",o=T.timers,s=nt.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&me.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||T.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=nt.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=T.timers,s=i?i.length:0;for(n.finish=!0,T.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(t,e){var n=T.fn[e];T.fn[e]=function(t,i,r){return null==t||"boolean"===typeof t?n.apply(this,arguments):this.animate(ye(e,!0),t,i,r)}})),T.each({slideDown:ye("show"),slideUp:ye("hide"),slideToggle:ye("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){T.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}})),T.timers=[],T.fx.tick=function(){var t,e=0,n=T.timers;for(fe=Date.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||T.fx.stop(),fe=void 0},T.fx.timer=function(t){T.timers.push(t),T.fx.start()},T.fx.interval=13,T.fx.start=function(){pe||(pe=!0,ge())},T.fx.stop=function(){pe=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(t,e){return t=T.fx&&T.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}}))},function(){var t=a.createElement("input"),e=a.createElement("select"),n=e.appendChild(a.createElement("option"));t.type="checkbox",y.checkOn=""!==t.value,y.optSelected=n.selected,t=a.createElement("input"),t.value="t",t.type="radio",y.radioValue="t"===t.value}();var ke,Se=T.expr.attrHandle;T.fn.extend({attr:function(t,e){return Y(this,T.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){T.removeAttr(this,t)}))}}),T.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"===typeof t.getAttribute?T.prop(t,e,n):(1===o&&T.isXMLDoc(t)||(r=T.attrHooks[e.toLowerCase()]||(T.expr.match.bool.test(e)?ke:void 0)),void 0!==n?null===n?void T.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=T.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!y.radioValue&&"radio"===e&&j(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(H);if(r&&1===t.nodeType)while(n=r[i++])t.removeAttribute(n)}}),ke={set:function(t,e,n){return!1===e?T.removeAttr(t,n):t.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=Se[e]||T.find.attr;Se[e]=function(t,e,i){var r,o,s=e.toLowerCase();return i||(o=Se[s],Se[s]=r,r=null!=n(t,e,i)?s:null,Se[s]=o),r}}));var Te=/^(?:input|select|textarea|button)$/i,Me=/^(?:a|area)$/i;function Ce(t){var e=t.match(H)||[];return e.join(" ")}function Ne(t){return t.getAttribute&&t.getAttribute("class")||""}function Ee(t){return Array.isArray(t)?t:"string"===typeof t&&t.match(H)||[]}T.fn.extend({prop:function(t,e){return Y(this,T.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[T.propFix[t]||t]}))}}),T.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(t)||(e=T.propFix[e]||e,r=T.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=T.find.attr(t,"tabindex");return e?parseInt(e,10):Te.test(t.nodeName)||Me.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(T.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(t){var e,n,i,r,o,s,a,c=0;if(_(t))return this.each((function(e){T(this).addClass(t.call(this,e,Ne(this)))}));if(e=Ee(t),e.length)while(n=this[c++])if(r=Ne(n),i=1===n.nodeType&&" "+Ce(r)+" ",i){s=0;while(o=e[s++])i.indexOf(" "+o+" ")<0&&(i+=o+" ");a=Ce(i),r!==a&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,r,o,s,a,c=0;if(_(t))return this.each((function(e){T(this).removeClass(t.call(this,e,Ne(this)))}));if(!arguments.length)return this.attr("class","");if(e=Ee(t),e.length)while(n=this[c++])if(r=Ne(n),i=1===n.nodeType&&" "+Ce(r)+" ",i){s=0;while(o=e[s++])while(i.indexOf(" "+o+" ")>-1)i=i.replace(" "+o+" "," ");a=Ce(i),r!==a&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"===typeof e&&i?e?this.addClass(t):this.removeClass(t):_(t)?this.each((function(n){T(this).toggleClass(t.call(this,n,Ne(this),e),e)})):this.each((function(){var e,r,o,s;if(i){r=0,o=T(this),s=Ee(t);while(e=s[r++])o.hasClass(e)?o.removeClass(e):o.addClass(e)}else void 0!==t&&"boolean"!==n||(e=Ne(this),e&&nt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":nt.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;e=" "+t+" ";while(n=this[i++])if(1===n.nodeType&&(" "+Ce(Ne(n))+" ").indexOf(e)>-1)return!0;return!1}});var Ae=/\r/g;T.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=_(t),this.each((function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,T(this).val()):t,null==r?r="":"number"===typeof r?r+="":Array.isArray(r)&&(r=T.map(r,(function(t){return null==t?"":t+""}))),e=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=T.valHooks[r.type]||T.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"===typeof n?n.replace(Ae,""):null==n?"":n)):void 0}}),T.extend({valHooks:{option:{get:function(t){var e=T.find.attr(t,"value");return null!=e?e:Ce(T.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],c=s?o+1:r.length;for(i=o<0?c:s?o:0;i<c;i++)if(n=r[i],(n.selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!j(n.parentNode,"optgroup"))){if(e=T(n).val(),s)return e;a.push(e)}return a},set:function(t,e){var n,i,r=t.options,o=T.makeArray(e),s=r.length;while(s--)i=r[s],(i.selected=T.inArray(T.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=T.inArray(T(t).val(),e)>-1}},y.checkOn||(T.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),y.focusin="onfocusin"in n;var $e=/^(?:focusinfocus|focusoutblur)$/,je=function(t){t.stopPropagation()};T.extend(T.event,{trigger:function(t,e,i,r){var o,s,c,u,l,h,f,p,d=[i||a],g=m.call(t,"type")?t.type:t,v=m.call(t,"namespace")?t.namespace.split("."):[];if(s=p=c=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!$e.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),l=g.indexOf(":")<0&&"on"+g,t=t[T.expando]?t:new T.Event(g,"object"===typeof t&&t),t.isTrigger=r?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:T.makeArray(e,[t]),f=T.event.special[g]||{},r||!f.trigger||!1!==f.trigger.apply(i,e))){if(!r&&!f.noBubble&&!b(i)){for(u=f.delegateType||g,$e.test(u+g)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;c===(i.ownerDocument||a)&&d.push(c.defaultView||c.parentWindow||n)}o=0;while((s=d[o++])&&!t.isPropagationStopped())p=s,t.type=o>1?u:f.bindType||g,h=(nt.get(s,"events")||{})[t.type]&&nt.get(s,"handle"),h&&h.apply(s,e),h=l&&s[l],h&&h.apply&&tt(s)&&(t.result=h.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,r||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(d.pop(),e)||!tt(i)||l&&_(i[g])&&!b(i)&&(c=i[l],c&&(i[l]=null),T.event.triggered=g,t.isPropagationStopped()&&p.addEventListener(g,je),i[g](),t.isPropagationStopped()&&p.removeEventListener(g,je),T.event.triggered=void 0,c&&(i[l]=c)),t.result}},simulate:function(t,e,n){var i=T.extend(new T.Event,n,{type:t,isSimulated:!0});T.event.trigger(i,null,e)}}),T.fn.extend({trigger:function(t,e){return this.each((function(){T.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return T.event.trigger(t,e,n,!0)}}),y.focusin||T.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){T.event.simulate(e,t.target,T.event.fix(t))};T.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=nt.access(i,e);r||i.addEventListener(t,n,!0),nt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=nt.access(i,e)-1;r?nt.access(i,e,r):(i.removeEventListener(t,n,!0),nt.remove(i,e))}}}));var Oe=n.location,Pe=Date.now(),De=/\?/;T.parseXML=function(t){var e;if(!t||"string"!==typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(i){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+t),e};var Le=/\[\]$/,Fe=/\r?\n/g,Ie=/^(?:submit|button|image|reset|file)$/i,Re=/^(?:input|select|textarea|keygen)/i;function qe(t,e,n,i){var r;if(Array.isArray(e))T.each(e,(function(e,r){n||Le.test(t)?i(t,r):qe(t+"["+("object"===typeof r&&null!=r?e:"")+"]",r,n,i)}));else if(n||"object"!==k(e))i(t,e);else for(r in e)qe(t+"["+r+"]",e[r],n,i)}T.param=function(t,e){var n,i=[],r=function(t,e){var n=_(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!T.isPlainObject(t))T.each(t,(function(){r(this.name,this.value)}));else for(n in t)qe(n,t[n],e,r);return i.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=T.prop(this,"elements");return t?T.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!T(this).is(":disabled")&&Re.test(this.nodeName)&&!Ie.test(t)&&(this.checked||!bt.test(t))})).map((function(t,e){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(t){return{name:e.name,value:t.replace(Fe,"\r\n")}})):{name:e.name,value:n.replace(Fe,"\r\n")}})).get()}});var He=/%20/g,Be=/#.*$/,We=/([?&])_=[^&]*/,ze=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ve=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xe=/^(?:GET|HEAD)$/,Ue=/^\/\//,Ge={},Ye={},Ke="*/".concat("*"),Je=a.createElement("a");function Qe(t){return function(e,n){"string"!==typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(H)||[];if(_(n))while(i=o[r++])"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Ze(t,e,n,i){var r={},o=t===Ye;function s(a){var c;return r[a]=!0,T.each(t[a]||[],(function(t,a){var u=a(e,n,i);return"string"!==typeof u||o||r[u]?o?!(c=u):void 0:(e.dataTypes.unshift(u),s(u),!1)})),c}return s(e.dataTypes[0])||!r["*"]&&s("*")}function tn(t,e){var n,i,r=T.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&T.extend(!0,t,i),t}function en(t,e,n){var i,r,o,s,a=t.contents,c=t.dataTypes;while("*"===c[0])c.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){c.unshift(r);break}if(c[0]in n)o=c[0];else{for(r in n){if(!c[0]||t.converters[r+" "+c[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==c[0]&&c.unshift(o),n[o]}function nn(t,e,n,i){var r,o,s,a,c,u={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];o=l.shift();while(o)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=l.shift(),o)if("*"===o)o=c;else if("*"!==c&&c!==o){if(s=u[c+" "+o]||u["* "+o],!s)for(r in u)if(a=r.split(" "),a[1]===o&&(s=u[c+" "+a[0]]||u["* "+a[0]],s)){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],l.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(h){return{state:"parsererror",error:s?h:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}Je.href=Oe.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oe.href,type:"GET",isLocal:Ve.test(Oe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ke,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?tn(tn(t,T.ajaxSettings),e):tn(T.ajaxSettings,t)},ajaxPrefilter:Qe(Ge),ajaxTransport:Qe(Ye),ajax:function(t,e){"object"===typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,s,c,u,l,h,f,p,d=T.ajaxSetup({},e),m=d.context||d,g=d.context&&(m.nodeType||m.jquery)?T(m):T.event,v=T.Deferred(),y=T.Callbacks("once memory"),_=d.statusCode||{},b={},x={},w="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(l){if(!s){s={};while(e=ze.exec(o))s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2])}e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==l&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)k.always(t[k.status]);else for(e in t)_[e]=[_[e],t[e]];return this},abort:function(t){var e=t||w;return i&&i.abort(e),S(0,e),this}};if(v.promise(k),d.url=((t||d.url||Oe.href)+"").replace(Ue,Oe.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(H)||[""],null==d.crossDomain){u=a.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Je.protocol+"//"+Je.host!==u.protocol+"//"+u.host}catch(M){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!==typeof d.data&&(d.data=T.param(d.data,d.traditional)),Ze(Ge,d,e,k),l)return k;for(f in h=T.event&&d.global,h&&0===T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Xe.test(d.type),r=d.url.replace(Be,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(He,"+")):(p=d.url.slice(r.length),d.data&&(d.processData||"string"===typeof d.data)&&(r+=(De.test(r)?"&":"?")+d.data,delete d.data),!1===d.cache&&(r=r.replace(We,"$1"),p=(De.test(r)?"&":"?")+"_="+Pe+++p),d.url=r+p),d.ifModified&&(T.lastModified[r]&&k.setRequestHeader("If-Modified-Since",T.lastModified[r]),T.etag[r]&&k.setRequestHeader("If-None-Match",T.etag[r])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&k.setRequestHeader("Content-Type",d.contentType),k.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ke+"; q=0.01":""):d.accepts["*"]),d.headers)k.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(m,k,d)||l))return k.abort();if(w="abort",y.add(d.complete),k.done(d.success),k.fail(d.error),i=Ze(Ye,d,e,k),i){if(k.readyState=1,h&&g.trigger("ajaxSend",[k,d]),l)return k;d.async&&d.timeout>0&&(c=n.setTimeout((function(){k.abort("timeout")}),d.timeout));try{l=!1,i.send(b,S)}catch(M){if(l)throw M;S(-1,M)}}else S(-1,"No Transport");function S(t,e,s,a){var u,f,p,b,x,w=e;l||(l=!0,c&&n.clearTimeout(c),i=void 0,o=a||"",k.readyState=t>0?4:0,u=t>=200&&t<300||304===t,s&&(b=en(d,k,s)),b=nn(d,b,k,u),u?(d.ifModified&&(x=k.getResponseHeader("Last-Modified"),x&&(T.lastModified[r]=x),x=k.getResponseHeader("etag"),x&&(T.etag[r]=x)),204===t||"HEAD"===d.type?w="nocontent":304===t?w="notmodified":(w=b.state,f=b.data,p=b.error,u=!p)):(p=w,!t&&w||(w="error",t<0&&(t=0))),k.status=t,k.statusText=(e||w)+"",u?v.resolveWith(m,[f,w,k]):v.rejectWith(m,[k,w,p]),k.statusCode(_),_=void 0,h&&g.trigger(u?"ajaxSuccess":"ajaxError",[k,d,u?f:p]),y.fireWith(m,[k,w]),h&&(g.trigger("ajaxComplete",[k,d]),--T.active||T.event.trigger("ajaxStop")))}return k},getJSON:function(t,e,n){return T.get(t,e,n,"json")},getScript:function(t,e){return T.get(t,void 0,e,"script")}}),T.each(["get","post"],(function(t,e){T[e]=function(t,n,i,r){return _(n)&&(r=r||i,i=n,n=void 0),T.ajax(T.extend({url:t,type:e,dataType:r,data:n,success:i},T.isPlainObject(t)&&t))}})),T._evalUrl=function(t,e){return T.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){T.globalEval(t,e)}})},T.fn.extend({wrapAll:function(t){var e;return this[0]&&(_(t)&&(t=t.call(this[0])),e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){var t=this;while(t.firstElementChild)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return _(t)?this.each((function(e){T(this).wrapInner(t.call(this,e))})):this.each((function(){var e=T(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=_(t);return this.each((function(n){T(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(t){return!T.expr.pseudos.visible(t)},T.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var rn={0:200,1223:204},on=T.ajaxSettings.xhr();y.cors=!!on&&"withCredentials"in on,y.ajax=on=!!on,T.ajaxTransport((function(t){var e,i;if(y.cors||on&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);e=function(t){return function(){e&&(e=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!==typeof a.status?o(0,"error"):o(a.status,a.statusText):o(rn[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!==typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),i=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){e&&i()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(c){if(e)throw c}},abort:function(){e&&e()}}})),T.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return T.globalEval(t),t}}}),T.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),T.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=T("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),a.head.appendChild(e[0])},abort:function(){n&&n()}}}));var sn=[],an=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=sn.pop()||T.expando+"_"+Pe++;return this[t]=!0,t}}),T.ajaxPrefilter("json jsonp",(function(t,e,i){var r,o,s,a=!1!==t.jsonp&&(an.test(t.url)?"url":"string"===typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&an.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=_(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(an,"$1"+r):!1!==t.jsonp&&(t.url+=(De.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||T.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always((function(){void 0===o?T(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,sn.push(r)),s&&_(o)&&o(s[0]),s=o=void 0})),"script"})),y.createHTMLDocument=function(){var t=a.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),T.parseHTML=function(t,e,n){return"string"!==typeof t?[]:("boolean"===typeof e&&(n=e,e=!1),e||(y.createHTMLDocument?(e=a.implementation.createHTMLDocument(""),i=e.createElement("base"),i.href=a.location.href,e.head.appendChild(i)):e=a),r=O.exec(t),o=!n&&[],r?[e.createElement(r[1])]:(r=Ct([t],e,o),o&&o.length&&T(o).remove(),T.merge([],r.childNodes)));var i,r,o},T.fn.load=function(t,e,n){var i,r,o,s=this,a=t.indexOf(" ");return a>-1&&(i=Ce(t.slice(a)),t=t.slice(0,a)),_(e)?(n=e,e=void 0):e&&"object"===typeof e&&(r="POST"),s.length>0&&T.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){o=arguments,s.html(i?T("<div>").append(T.parseHTML(t)).find(i):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){T.fn[e]=function(t){return this.on(e,t)}})),T.expr.pseudos.animated=function(t){return T.grep(T.timers,(function(e){return t===e.elem})).length},T.offset={setOffset:function(t,e,n){var i,r,o,s,a,c,u,l=T.css(t,"position"),h=T(t),f={};"static"===l&&(t.style.position="relative"),a=h.offset(),o=T.css(t,"top"),c=T.css(t,"left"),u=("absolute"===l||"fixed"===l)&&(o+c).indexOf("auto")>-1,u?(i=h.position(),s=i.top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(c)||0),_(e)&&(e=e.call(t,n,T.extend({},a))),null!=e.top&&(f.top=e.top-a.top+s),null!=e.left&&(f.left=e.left-a.left+r),"using"in e?e.using.call(t,f):h.css(f)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){T.offset.setOffset(this,t,e)}));var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===T.css(i,"position"))e=i.getBoundingClientRect();else{e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;while(t&&(t===n.body||t===n.documentElement)&&"static"===T.css(t,"position"))t=t.parentNode;t&&t!==i&&1===t.nodeType&&(r=T(t).offset(),r.top+=T.css(t,"borderTopWidth",!0),r.left+=T.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-T.css(i,"marginTop",!0),left:e.left-r.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var t=this.offsetParent;while(t&&"static"===T.css(t,"position"))t=t.offsetParent;return t||ht}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;T.fn[t]=function(i){return Y(this,(function(t,i,r){var o;if(b(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r}),t,i,arguments.length)}})),T.each(["top","left"],(function(t,e){T.cssHooks[e]=Qt(y.pixelPosition,(function(t,n){if(n)return n=Jt(t,e),Gt.test(n)?T(t).position()[e]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(t,e){T.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,i){T.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!==typeof r),a=n||(!0===r||!0===o?"margin":"border");return Y(this,(function(e,n,r){var o;return b(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?T.css(e,n,a):T.style(e,n,r,a)}),e,s?r:void 0,s)}}))})),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){T.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}})),T.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),T.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),T.proxy=function(t,e){var n,i,r;if("string"===typeof e&&(n=t[e],e=t,t=n),_(t))return i=u.call(arguments,2),r=function(){return t.apply(e||this,i.concat(u.call(arguments)))},r.guid=t.guid=t.guid||T.guid++,r},T.holdReady=function(t){t?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=j,T.isFunction=_,T.isWindow=b,T.camelCase=Z,T.type=k,T.now=Date.now,T.isNumeric=function(t){var e=T.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},i=[],r=function(){return T}.apply(e,i),void 0===r||(t.exports=r);var cn=n.jQuery,un=n.$;return T.noConflict=function(t){return n.$===T&&(n.$=un),t&&n.jQuery===T&&(n.jQuery=cn),T},o||(n.jQuery=n.$=T),T}))},1169:function(t,e,n){var i=n("2d95");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"11e9":function(t,e,n){var i=n("52a7"),r=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return r(!i.f.call(t,e),t[e])}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,s=o(e),a=s.length,c=0;while(a>c)i.f(t,n=s[c++],e[n]);return t}},1654:function(t,e,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(t,e,n){var i=n("63b6");i(i.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var i=n("f772");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var i=n("f772"),r=n("e53d").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),c=n("520a"),u=a("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=a(t),p=!o((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),d=p?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!e})):void 0;if(!p||!d||"replace"===t&&!l||"split"===t&&!h){var m=/./[f],g=n(s,f,""[t],(function(t,e,n,i,r){return e.exec===c?p&&!r?{done:!0,value:m.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),v=g[0],y=g[1];i(String.prototype,t,v),r(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},"241e":function(t,e,n){var i=n("25eb");t.exports=function(t){return Object(i(t))}},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},"28a5":function(t,e,n){"use strict";var i=n("aae3"),r=n("cb7c"),o=n("ebd6"),s=n("0390"),a=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),h=Math.min,f=[].push,p="split",d="length",m="lastIndex",g=4294967295,v=!l((function(){RegExp(g,"y")}));n("214f")("split",2,(function(t,e,n,l){var y;return y="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[d]||2!="ab"[p](/(?:ab)*/)[d]||4!="."[p](/(.?)(.?)/)[d]||"."[p](/()()/)[d]>1||""[p](/.?/)[d]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!i(t))return n.call(r,t,e);var o,s,a,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,p=void 0===e?g:e>>>0,v=new RegExp(t.source,l+"g");while(o=u.call(v,r)){if(s=v[m],s>h&&(c.push(r.slice(h,o.index)),o[d]>1&&o.index<r[d]&&f.apply(c,o.slice(1)),a=o[0][d],h=s,c[d]>=p))break;v[m]===o.index&&v[m]++}return h===r[d]?!a&&v.test("")||c.push(""):c.push(r.slice(h)),c[d]>p?c.slice(0,p):c}:"0"[p](void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,i){var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r,i):y.call(String(r),n,i)},function(t,e){var i=l(y,t,this,e,y!==n);if(i.done)return i.value;var u=r(t),f=String(this),p=o(u,RegExp),d=u.unicode,m=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(v?"y":"g"),_=new p(v?u:"^(?:"+u.source+")",m),b=void 0===e?g:e>>>0;if(0===b)return[];if(0===f.length)return null===c(_,f)?[f]:[];var x=0,w=0,k=[];while(w<f.length){_.lastIndex=v?w:0;var S,T=c(_,v?f:f.slice(w));if(null===T||(S=h(a(_.lastIndex+(v?0:w)),f.length))===x)w=s(f,w,d);else{if(k.push(f.slice(x,w)),k.length===b)return k;for(var M=1;M<=T.length-1;M++)if(k.push(T[M]),k.length===b)return k;w=x=S}}return k.push(f.slice(x)),k}]}))},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),c="toString",u=(""+a).split(c);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||r(n,s,t[e]?""+t[e]:u.join(String(e)))),t===i?t[e]=n:a?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),i=o.length,r="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+s+"document.F=Object"+r+"/script"+s),t.close(),u=t.F;while(i--)delete u[c][o[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=i(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))};a.store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"30f1":function(t,e,n){"use strict";var i=n("b8e3"),r=n("63b6"),o=n("9138"),s=n("35e8"),a=n("481b"),c=n("8f60"),u=n("45f2"),l=n("53e2"),h=n("5168")("iterator"),f=!([].keys&&"next"in[].keys()),p="@@iterator",d="keys",m="values",g=function(){return this};t.exports=function(t,e,n,v,y,_,b){c(n,e,v);var x,w,k,S=function(t){if(!f&&t in N)return N[t];switch(t){case d:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",M=y==m,C=!1,N=t.prototype,E=N[h]||N[p]||y&&N[y],A=E||S(y),$=y?M?S("entries"):A:void 0,j="Array"==e&&N.entries||E;if(j&&(k=l(j.call(new t)),k!==Object.prototype&&k.next&&(u(k,T,!0),i||"function"==typeof k[h]||s(k,h,g))),M&&E&&E.name!==m&&(C=!0,A=function(){return E.call(this)}),i&&!b||!f&&!C&&N[h]||s(N,h,A),a[e]=A,a[T]=g,y)if(x={values:M?A:S(m),keys:_?A:S(d),entries:$},b)for(w in x)w in N||o(N,w,x[w]);else r(r.P+r.F*(f||C),e,x);return x}},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var i=n("e53d").document;t.exports=i&&i.documentElement},"335c":function(t,e,n){var i=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var i=n("d9f6"),r=n("aebd");t.exports=n("8e60")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var i=n("335c"),r=n("25eb");t.exports=function(t){return i(r(t))}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(t,e,n){var i=n("5ca1"),r=n("79e5"),o=n("be13"),s=/"/g,a=function(t,e,n,i){var r=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(i).replace(s,"&quot;")+'"'),a+">"+r+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),i(i.P+i.F*r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},"386d":function(t,e,n){"use strict";var i=n("cb7c"),r=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,s){return[function(n){var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=s(n,t,this);if(e.done)return e.value;var a=i(t),c=String(this),u=a.lastIndex;r(u,0)||(a.lastIndex=0);var l=o(a,c);return r(a.lastIndex,u)||(a.lastIndex=u),null===l?-1:l.index}]}))},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"3a38":function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},"40c3":function(t,e,n){var i=n("6b4c"),r=n("5168")("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"45f2":function(t,e,n){var i=n("d9f6").f,r=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"469f":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("7d7b")},"47ee":function(t,e,n){var i=n("c3a1"),r=n("9aa9"),o=n("355d");t.exports=function(t){var e=i(t),n=r.f;if(n){var s,a=n(t),c=o.f,u=0;while(a.length>u)c.call(t,s=a[u++])&&e.push(s)}return e}},"481b":function(t,e){t.exports={}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5168:function(t,e,n){var i=n("dbdb")("wks"),r=n("62a0"),o=n("e53d").Symbol,s="function"==typeof o,a=t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))};a.store=i},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a="lastIndex",c=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[a]||0!==e[a]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(s=function(t){var e,n,s,l,h=this;return u&&(n=new RegExp("^"+h.source+"$(?!\\s)",i.call(h))),c&&(e=h[a]),s=r.call(h,t),c&&s&&(h[a]=h.global?s.index+s[0].length:e),u&&s&&s.length>1&&o.call(s[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s}),t.exports=s},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"53e2":function(t,e,n){var i=n("07e3"),r=n("241e"),o=n("5559")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},5537:function(t,e,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",s=r[o]||(r[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var i=n("dbdb")("keys"),r=n("62a0");t.exports=function(t){return i[t]||(i[t]=r(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var i=n("36c3"),r=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,s){var a,c=i(e),u=r(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",u=function(t,e,n){var l,h,f,p,d=t&u.F,m=t&u.G,g=t&u.S,v=t&u.P,y=t&u.B,_=m?i:g?i[e]||(i[e]={}):(i[e]||{})[c],b=m?r:r[e]||(r[e]={}),x=b[c]||(b[c]={});for(l in m&&(n=e),n)h=!d&&_&&void 0!==_[l],f=(h?_:n)[l],p=y&&h?a(f,i):v&&"function"==typeof f?a(Function.call,f):f,_&&s(_,l,f,t&u.U),b[l]!=f&&o(b,l,p),v&&x[l]!=f&&(x[l]=f)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5d58":function(t,e,n){t.exports=n("d8d6")},"5d73":function(t,e,n){t.exports=n("469f")},"5dbc":function(t,e,n){var i=n("d3f4"),r=n("8b97").set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(t,o),t}},"5edd":function(t,e,n){"use strict";var i=n("f81c"),r=n.n(i);r.a},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"63b6":function(t,e,n){var i=n("e53d"),r=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),c="prototype",u=function(t,e,n){var l,h,f,p=t&u.F,d=t&u.G,m=t&u.S,g=t&u.P,v=t&u.B,y=t&u.W,_=d?r:r[e]||(r[e]={}),b=_[c],x=d?i:m?i[e]:(i[e]||{})[c];for(l in d&&(n=e),n)h=!p&&x&&void 0!==x[l],h&&a(_,l)||(f=h?x[l]:n[l],_[l]=d&&"function"!=typeof x[l]?n[l]:v&&h?o(f,i):y&&x[l]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[c]=t[c],e}(f):g&&"function"==typeof f?o(Function.call,f):f,g&&((_.virtual||(_.virtual={}))[l]=f,t&u.R&&b&&!b[l]&&s(b,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},6718:function(t,e,n){var i=n("e53d"),r=n("584a"),o=n("b8e3"),s=n("ccb9"),a=n("d9f6").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d3":function(t,e,n){n("6718")("asyncIterator")},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"6abf":function(t,e,n){var i=n("e6f3"),r=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6b54":function(t,e,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),o=n("9e1e"),s="toString",a=/./[s],c=function(t){n("2aba")(RegExp.prototype,s,t,!0)};n("79e5")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)})):a.name!=s&&c((function(){return a.call(this)}))},"6c1c":function(t,e,n){n("c367");for(var i=n("e53d"),r=n("35e8"),o=n("481b"),s=n("5168")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=i[u],h=l&&l.prototype;h&&!h[s]&&r(h,s,u),o[u]=o.Array}},"71c1":function(t,e,n){var i=n("3a38"),r=n("25eb");t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),c=i(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},7514:function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(5),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),i(i.P+i.F*s,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"765d":function(t,e,n){n("6718")("observable")},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7cd6":function(t,e,n){var i=n("40c3"),r=n("5168")("iterator"),o=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},"7d7b":function(t,e,n){var i=n("e4ae"),r=n("7cd6");t.exports=n("584a").getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},"7e90":function(t,e,n){var i=n("d9f6"),r=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){r(t);var n,s=o(e),a=s.length,c=0;while(a>c)i.f(t,n=s[c++],e[n]);return t}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},8436:function(t,e){t.exports=function(){}},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var i=n("d3f4"),r=n("cb7c"),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(r){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(t,e,n){"use strict";var i=n("a159"),r=n("aebd"),o=n("45f2"),s={};n("35e8")(s,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},9003:function(t,e,n){var i=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==i(t)}},9093:function(t,e,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},9138:function(t,e,n){t.exports=n("35e8")},"95d5":function(t,e,n){var i=n("40c3"),r=n("5168")("iterator"),o=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||o.hasOwnProperty(i(e))}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9c86":function(t,e,n){"use strict";n("386b")("big",(function(t){return function(){return t(this,"big","","")}}))},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var i=n("e4ae"),r=n("7e90"),o=n("1691"),s=n("5559")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("1ec9")("iframe"),i=o.length,r="<",s=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+s+"document.F=Object"+r+"/script"+s),t.close(),u=t.F;while(i--)delete u[c][o[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=i(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:r(n,e)}},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,h=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,d=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,m){return[function(i,r){var o=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},function(t,e){var r=m(n,t,this,e);if(r.done)return r.value;var h=i(t),f=String(this),p="function"===typeof e;p||(e=String(e));var v=h.global;if(v){var y=h.unicode;h.lastIndex=0}var _=[];while(1){var b=c(h,f);if(null===b)break;if(_.push(b),!v)break;var x=String(b[0]);""===x&&(h.lastIndex=a(f,o(h.lastIndex),y))}for(var w="",k=0,S=0;S<_.length;S++){b=_[S];for(var T=String(b[0]),M=u(l(s(b.index),f.length),0),C=[],N=1;N<b.length;N++)C.push(d(b[N]));var E=b.groups;if(p){var A=[T].concat(C,M,f);void 0!==E&&A.push(E);var $=String(e.apply(void 0,A))}else $=g(T,f,M,C,E,e);M>=k&&(w+=f.slice(k,M)+$,k=M+T.length)}return w+f.slice(k)}];function g(t,e,i,o,s,a){var c=i+t.length,u=o.length,l=p;return void 0!==s&&(s=r(s),l=f),n.call(a,l,(function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(c);case"<":a=s[r.slice(1,-1)];break;default:var l=+r;if(0===l)return n;if(l>u){var f=h(l/10);return 0===f?n:f<=u?void 0===o[f-1]?r.charAt(1):o[f-1]+r.charAt(1):n}a=o[l-1]}return void 0===a?"":a}))}}))},a745:function(t,e,n){t.exports=n("f410")},aa77:function(t,e,n){var i=n("5ca1"),r=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",c="​…",u=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),h=function(t,e,n){var r={},a=o((function(){return!!s[t]()||c[t]()!=c})),u=r[t]=a?e(f):s[t];n&&(r[n]=u),i(i.P+i.F*a,"String",r)},f=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=h},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),h=u("toStringTag"),f=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=r(p),m=0;m<d.length;m++){var g,v=d[m],y=p[v],_=s[v],b=_&&_.prototype;if(b&&(b[l]||a(b,l,f),b[h]||a(b,h,v),c[v]=f,y))for(g in i)b[g]||o(b,g,i[g],!0)}},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b447:function(t,e,n){var i=n("3a38"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},b8e3:function(t,e){t.exports=!0},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},bf0b:function(t,e,n){var i=n("355d"),r=n("aebd"),o=n("36c3"),s=n("1bc3"),a=n("07e3"),c=n("794b"),u=Object.getOwnPropertyDescriptor;e.f=n("8e60")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return r(!i.f.call(t,e),t[e])}},c207:function(t,e){},c366:function(t,e,n){var i=n("6821"),r=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=i(e),u=r(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var i=n("8436"),r=n("50ed"),o=n("481b"),s=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},c3a1:function(t,e,n){var i=n("e6f3"),r=n("1691");t.exports=Object.keys||function(t){return i(t,r)}},c5f6:function(t,e,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,h=n("86cc").f,f=n("aa77").trim,p="Number",d=i[p],m=d,g=d.prototype,v=o(n("2aeb")(g))==p,y="trim"in String.prototype,_=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():f(e,3);var n,i,r,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var s,c=e.slice(2),u=0,l=c.length;u<l;u++)if(s=c.charCodeAt(u),s<48||s>r)return NaN;return parseInt(c,i)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(v?c((function(){g.valueOf.call(n)})):o(n)!=p)?s(new m(_(e)),n,d):_(e)};for(var b,x=n("9e1e")?u(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;x.length>w;w++)r(m,b=x[w])&&!r(d,b)&&h(d,b,l(m,b));d.prototype=g,g.constructor=d,n("2aba")(i,p,d)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8bb:function(t,e,n){t.exports=n("54a1")},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ccb9:function(t,e,n){e.f=n("5168")},cd1c:function(t,e,n){var i=n("e853");t.exports=function(t,e){return new(i(t))(e)}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,u=[];for(n in a)n!=s&&i(a,n)&&u.push(n);while(e.length>c)i(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,n){var i=n("79aa");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,n){n("1654"),n("6c1c"),t.exports=n("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var i=n("e4ae"),r=n("794b"),o=n("1bc3"),s=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var i=n("584a"),r=n("e53d"),o="__core-js_shared__",s=r[o]||(r[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(t,e,n){var i=n("f772");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(t,e,n){var i=n("07e3"),r=n("36c3"),o=n("5b4e")(!1),s=n("5559")("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,u=[];for(n in a)n!=s&&i(a,n)&&u.push(n);while(e.length>c)i(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},e853:function(t,e,n){var i=n("d3f4"),r=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},ebd6:function(t,e,n){var i=n("cb7c"),r=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},ebfd:function(t,e,n){var i=n("62a0")("meta"),r=n("f772"),o=n("07e3"),s=n("d9f6").f,a=0,c=Object.isExtensible||function(){return!0},u=!n("294c")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,i,{value:{i:"O"+ ++a,w:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[i].i},f=function(t,e){if(!o(t,i)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[i].w},p=function(t){return u&&d.NEED&&c(t)&&!o(t,i)&&l(t),t},d=t.exports={KEY:i,NEED:!1,fastKey:h,getWeak:f,onFreeze:p}},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f81c:function(t,e,n){},f921:function(t,e,n){n("014b"),n("c207"),n("69d3"),n("765d"),t.exports=n("584a").Symbol},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-histogram-slider-wrapper",style:t.style},[n("svg",{staticClass:"vue-histogram-view",attrs:{id:t.id}},[n("defs",[n("clipPath",{attrs:{id:t.clipId}},[n("rect",{attrs:{width:t.width,height:t.barHeight,x:"0",y:"0"}})])])]),n("div",{staticClass:"slider-wrapper"},[n("input",{attrs:{type:"text",id:t.histogramId,name:t.histogramId,value:""}})])])},o=[],s=n("a745"),a=n.n(s);function c(t){if(a()(t))return t}var u=n("5d73"),l=n.n(u),h=n("c8bb"),f=n.n(h);function p(t,e){if(f()(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=l()(t);!(i=(s=a.next()).done);i=!0)if(n.push(s.value),e&&n.length===e)break}catch(c){r=!0,o=c}finally{try{i||null==a["return"]||a["return"]()}finally{if(r)throw o}}return n}}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function m(t,e){return c(t)||p(t,e)||d()}n("6b54"),n("c5f6"),n("9c86"),n("a481"),n("7514"),n("ac6a"),n("cadf"),n("28a5"),n("386d");var g=n("5d58"),v=n.n(g),y=n("67bb"),_=n.n(y);function b(t){return b="function"===typeof _.a&&"symbol"===typeof v.a?function(t){return typeof t}:function(t){return t&&"function"===typeof _.a&&t.constructor===_.a&&t!==_.a.prototype?"symbol":typeof t},b(t)}function x(t){return x="function"===typeof _.a&&"symbol"===b(v.a)?function(t){return b(t)}:function(t){return t&&"function"===typeof _.a&&t.constructor===_.a&&t!==_.a.prototype?"symbol":b(t)},x(t)}var w=n("1157");(function(t){"undefined"!==typeof w&&w||"function"!==typeof define||!n("3c35")?"undefined"!==typeof w&&w||"object"!==("undefined"===typeof exports?"undefined":x(exports))?t(w,document,window,navigator):t(n("1157"),document,window,navigator):define(["jquery"],(function(e){return t(e,document,window,navigator)}))})((function(t,e,n,i,r){var o=0,s=function(){var e,n=i.userAgent,r=/msie\s\d+/i;return n.search(r)>0&&(e=r.exec(n).toString(),e=e.split(" ")[1],e<9)&&(t("html").addClass("lt-ie9"),!0)}();Function.prototype.bind||(Function.prototype.bind=function(t){var e=this,n=[].slice;if("function"!=typeof e)throw new TypeError;var i=n.call(arguments,1),r=function r(){if(this instanceof r){var o=function(){};o.prototype=e.prototype;var s=new o,a=e.apply(s,i.concat(n.call(arguments)));return Object(a)===a?a:s}return e.apply(t,i.concat(n.call(arguments)))};return r}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){var n;if(null==this)throw new TypeError('"this" is null or not defined');var i=Object(this),r=i.length>>>0;if(0===r)return-1;var o=+e||0;if(Math.abs(o)===1/0&&(o=0),o>=r)return-1;n=Math.max(o>=0?o:r-Math.abs(o),0);while(n<r){if(n in i&&i[n]===t)return n;n++}return-1});var a='<span class="irs"><span class="irs-line" tabindex="0"></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span>',c='<span class="irs-bar irs-bar--single"></span><span class="irs-shadow shadow-single"></span><span class="irs-handle single"><i></i><i></i><i></i></span>',u='<span class="irs-bar"></span><span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-handle from"><i></i><i></i><i></i></span><span class="irs-handle to"><i></i><i></i><i></i></span>',l='<span class="irs-disable-mask"></span>',h=function(i,o,s){this.VERSION="2.3.1",this.input=i,this.plugin_count=s,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,o=o||{},this.$cache={win:t(n),body:t(e.body),input:t(i),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var a,c,u,l=this.$cache.input,h=l.prop("value");for(u in a={skin:"flat",type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null},"INPUT"!==l[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",l[0]),c={skin:l.data("skin"),type:l.data("type"),min:l.data("min"),max:l.data("max"),from:l.data("from"),to:l.data("to"),step:l.data("step"),min_interval:l.data("minInterval"),max_interval:l.data("maxInterval"),drag_interval:l.data("dragInterval"),values:l.data("values"),from_fixed:l.data("fromFixed"),from_min:l.data("fromMin"),from_max:l.data("fromMax"),from_shadow:l.data("fromShadow"),to_fixed:l.data("toFixed"),to_min:l.data("toMin"),to_max:l.data("toMax"),to_shadow:l.data("toShadow"),prettify_enabled:l.data("prettifyEnabled"),prettify_separator:l.data("prettifySeparator"),force_edges:l.data("forceEdges"),keyboard:l.data("keyboard"),grid:l.data("grid"),grid_margin:l.data("gridMargin"),grid_num:l.data("gridNum"),grid_snap:l.data("gridSnap"),hide_min_max:l.data("hideMinMax"),hide_from_to:l.data("hideFromTo"),prefix:l.data("prefix"),postfix:l.data("postfix"),max_postfix:l.data("maxPostfix"),decorate_both:l.data("decorateBoth"),values_separator:l.data("valuesSeparator"),input_values_separator:l.data("inputValuesSeparator"),disable:l.data("disable"),block:l.data("block"),extra_classes:l.data("extraClasses")},c.values=c.values&&c.values.split(","),c)c.hasOwnProperty(u)&&(c[u]!==r&&""!==c[u]||delete c[u]);h!==r&&""!==h&&(h=h.split(c.input_values_separator||o.input_values_separator||";"),h[0]&&h[0]==+h[0]&&(h[0]=+h[0]),h[1]&&h[1]==+h[1]&&(h[1]=+h[1]),o&&o.values&&o.values.length?(a.from=h[0]&&o.values.indexOf(h[0]),a.to=h[1]&&o.values.indexOf(h[1])):(a.from=h[0]&&+h[0],a.to=h[1]&&+h[1])),t.extend(a,o),t.extend(a,c),this.options=a,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()};h.prototype={init:function(t){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),t?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var t='<span class="irs irs--'+this.options.skin+" js-irs-"+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(t),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html(a),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append(c),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append(u),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var t=this.options.min,e=this.options.max,n=this.options.from,i=this.options.to;n>t&&i===e?this.$cache.s_from.addClass("type_last"):i<e&&this.$cache.s_to.addClass("type_last")},changeLevel:function(t){switch(t){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last");break}},appendDisableMask:function(){this.$cache.cont.append(l),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),s&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("keydown.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),s&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(t){var e,n;this.target||(n="single"===this.options.type?this.$cache.single:this.$cache.from,e=n.offset().left,e+=n.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:e}))},pointerMove:function(t){if(this.dragging){var e=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;this.coords.x_pointer=e-this.coords.x_gap,this.calc()}},pointerUp:function(e){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,s&&t("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(t.contains(this.$cache.cont[0],e.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(e,n){n.preventDefault();var i=n.pageX||n.originalEvent.touches&&n.originalEvent.touches[0].pageX;2!==n.button&&("both"===e&&this.setTempMinInterval(),e||(e=this.target||"from"),this.current_plugin=this.plugin_count,this.target=e,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=i-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(e),s&&t("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(t,e){e.preventDefault();var n=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX;2!==e.button&&(this.current_plugin=this.plugin_count,this.target=t,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(n-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(t,e){if(!(this.current_plugin!==this.plugin_count||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){switch(e.which){case 83:case 65:case 40:case 37:e.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:e.preventDefault(),this.moveByKey(!0);break}return!0}},moveByKey:function(t){var e=this.coords.p_pointer,n=(this.options.max-this.options.min)/100;n=this.options.step/n,t?e+=n:e-=n,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*e),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");if(this.options.values.length)this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]));else{var t=this._prettify(this.options.min),e=this._prettify(this.options.max);this.result.min_pretty=t,this.result.max_pretty=e,this.$cache.min.html(this.decorate(t,this.options.min)),this.$cache.max.html(this.decorate(e,this.options.max))}this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var t=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=t},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(t){if(this.options&&(this.calc_count++,(10===this.calc_count||t)&&(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var e=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,e=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,e=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(e)),this.target){case"base":var n=(this.options.max-this.options.min)/100,i=(this.result.from-this.options.min)/n,r=(this.result.to-this.options.min)/n;this.coords.p_single_real=this.toFixed(i),this.coords.p_from_real=this.toFixed(i),this.coords.p_to_real=this.toFixed(r),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(e),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(e),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(e),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;e=this.toFixed(e+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(e)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(e)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var o=this.convertToRealPercent(e),s=this.result.from_percent,a=this.result.to_percent,c=a-s,u=c/2,l=o-u,h=o+u;l<0&&(l=0,h=l+c),h>100&&(h=100,l=h-c),this.coords.p_from_real=this.calcWithStep(l),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(h),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(t){var e=100-this.coords.p_handle;return t/e*100},convertToFakePercent:function(t){var e=100-this.coords.p_handle;return t/100*e},getHandleX:function(){var t=100-this.coords.p_handle,e=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return e<0?e=0:e>t&&(e=t),e},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(t){if("single"===this.options.type)return"single";var e=this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2;return t>=e?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake)):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake)))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),(this.coords.w_rs!==this.coords.w_rs_old||this.force_redraw)&&(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.bar[0].style.left=0,this.$cache.bar[0].style.width=this.coords.p_bar_w+this.coords.p_bar_x+"%",this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%",this.$cache.single[0].style.left=this.labels.p_single_left+"%"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",(this.old_from!==this.result.from||this.force_redraw)&&(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),(this.old_to!==this.result.to||this.force_redraw)&&(this.$cache.to[0].style.left=this.labels.p_to_left+"%"),this.$cache.single[0].style.left=this.labels.p_single_left+"%"),this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var t,e,n,i,r,o=this.options.values.length,s=this.options.p_values;if(!this.options.hide_from_to)if("single"===this.options.type)o?(t=this.decorate(s[this.result.from]),this.$cache.single.html(t)):(i=this._prettify(this.result.from),t=this.decorate(i,this.result.from),this.$cache.single.html(t)),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible";else{o?(this.options.decorate_both?(t=this.decorate(s[this.result.from]),t+=this.options.values_separator,t+=this.decorate(s[this.result.to])):t=this.decorate(s[this.result.from]+this.options.values_separator+s[this.result.to]),e=this.decorate(s[this.result.from]),n=this.decorate(s[this.result.to]),this.$cache.single.html(t),this.$cache.from.html(e),this.$cache.to.html(n)):(i=this._prettify(this.result.from),r=this._prettify(this.result.to),this.options.decorate_both?(t=this.decorate(i,this.result.from),t+=this.options.values_separator,t+=this.decorate(r,this.result.to)):t=this.decorate(i+this.options.values_separator+r,this.result.to),e=this.decorate(i,this.result.from),n=this.decorate(r,this.result.to),this.$cache.single.html(t),this.$cache.from.html(e),this.$cache.to.html(n)),this.calcLabels();var a=Math.min(this.labels.p_single_left,this.labels.p_from_left),c=this.labels.p_single_left+this.labels.p_single_fake,u=this.labels.p_to_left+this.labels.p_to_fake,l=Math.max(c,u);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",l=u):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",l=Math.max(c,u))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),a<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",l>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"}}},drawShadow:function(){var t,e,n,i,r=this.options,o=this.$cache,s="number"===typeof r.from_min&&!isNaN(r.from_min),a="number"===typeof r.from_max&&!isNaN(r.from_max),c="number"===typeof r.to_min&&!isNaN(r.to_min),u="number"===typeof r.to_max&&!isNaN(r.to_max);"single"===r.type?r.from_shadow&&(s||a)?(t=this.convertToPercent(s?r.from_min:r.min),e=this.convertToPercent(a?r.from_max:r.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,o.shad_single[0].style.display="block",o.shad_single[0].style.left=t+"%",o.shad_single[0].style.width=e+"%"):o.shad_single[0].style.display="none":(r.from_shadow&&(s||a)?(t=this.convertToPercent(s?r.from_min:r.min),e=this.convertToPercent(a?r.from_max:r.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,o.shad_from[0].style.display="block",o.shad_from[0].style.left=t+"%",o.shad_from[0].style.width=e+"%"):o.shad_from[0].style.display="none",r.to_shadow&&(c||u)?(n=this.convertToPercent(c?r.to_min:r.min),i=this.convertToPercent(u?r.to_max:r.max)-n,n=this.toFixed(n-this.coords.p_handle/100*n),i=this.toFixed(i-this.coords.p_handle/100*i),n+=this.coords.p_handle/2,o.shad_to[0].style.display="block",o.shad_to[0].style.left=n+"%",o.shad_to[0].style.width=i+"%"):o.shad_to[0].style.display="none")},writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"===typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"===typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"===typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"===typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(t,e){var n,i,r=this.options.max-this.options.min,o=r/100;return r?(n=e?t:t-this.options.min,i=n/o,this.toFixed(i)):(this.no_diapason=!0,0)},convertToValue:function(t){var e,n,i=this.options.min,r=this.options.max,o=i.toString().split(".")[1],s=r.toString().split(".")[1],a=0,c=0;if(0===t)return this.options.min;if(100===t)return this.options.max;o&&(e=o.length,a=e),s&&(n=s.length,a=n),e&&n&&(a=e>=n?e:n),i<0&&(c=Math.abs(i),i=+(i+c).toFixed(a),r=+(r+c).toFixed(a));var u,l=(r-i)/100*t+i,h=this.options.step.toString().split(".")[1];return h?l=+l.toFixed(h.length):(l/=this.options.step,l*=this.options.step,l=+l.toFixed(0)),c&&(l-=c),u=h?+l.toFixed(h.length):this.toFixed(l),u<this.options.min?u=this.options.min:u>this.options.max&&(u=this.options.max),u},calcWithStep:function(t){var e=Math.round(t/this.coords.p_step)*this.coords.p_step;return e>100&&(e=100),100===t&&(e=100),this.toFixed(e)},checkMinInterval:function(t,e,n){var i,r,o=this.options;return o.min_interval?(i=this.convertToValue(t),r=this.convertToValue(e),"from"===n?r-i<o.min_interval&&(i=r-o.min_interval):i-r<o.min_interval&&(i=r+o.min_interval),this.convertToPercent(i)):t},checkMaxInterval:function(t,e,n){var i,r,o=this.options;return o.max_interval?(i=this.convertToValue(t),r=this.convertToValue(e),"from"===n?r-i>o.max_interval&&(i=r-o.max_interval):i-r>o.max_interval&&(i=r+o.max_interval),this.convertToPercent(i)):t},checkDiapason:function(t,e,n){var i=this.convertToValue(t),r=this.options;return"number"!==typeof e&&(e=r.min),"number"!==typeof n&&(n=r.max),i<e&&(i=e),i>n&&(i=n),this.convertToPercent(i)},toFixed:function(t){return t=t.toFixed(20),+t},_prettify:function(t){return this.options.prettify_enabled?this.options.prettify&&"function"===typeof this.options.prettify?this.options.prettify(t):this.prettify(t):t},prettify:function(t){var e=t.toString();return e.replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(t,e){return this.options.force_edges?(t<0?t=0:t>100-e&&(t=100-e),this.toFixed(t)):this.toFixed(t)},validate:function(){var t,e,n=this.options,i=this.result,r=n.values,o=r.length;if("string"===typeof n.min&&(n.min=+n.min),"string"===typeof n.max&&(n.max=+n.max),"string"===typeof n.from&&(n.from=+n.from),"string"===typeof n.to&&(n.to=+n.to),"string"===typeof n.step&&(n.step=+n.step),"string"===typeof n.from_min&&(n.from_min=+n.from_min),"string"===typeof n.from_max&&(n.from_max=+n.from_max),"string"===typeof n.to_min&&(n.to_min=+n.to_min),"string"===typeof n.to_max&&(n.to_max=+n.to_max),"string"===typeof n.grid_num&&(n.grid_num=+n.grid_num),n.max<n.min&&(n.max=n.min),o)for(n.p_values=[],n.min=0,n.max=o-1,n.step=1,n.grid_num=n.max,n.grid_snap=!0,e=0;e<o;e++)t=+r[e],isNaN(t)?t=r[e]:(r[e]=t,t=this._prettify(t)),n.p_values.push(t);("number"!==typeof n.from||isNaN(n.from))&&(n.from=n.min),("number"!==typeof n.to||isNaN(n.to))&&(n.to=n.max),"single"===n.type?(n.from<n.min&&(n.from=n.min),n.from>n.max&&(n.from=n.max)):(n.from<n.min&&(n.from=n.min),n.from>n.max&&(n.from=n.max),n.to<n.min&&(n.to=n.min),n.to>n.max&&(n.to=n.max),this.update_check.from&&(this.update_check.from!==n.from&&n.from>n.to&&(n.from=n.to),this.update_check.to!==n.to&&n.to<n.from&&(n.to=n.from)),n.from>n.to&&(n.from=n.to),n.to<n.from&&(n.to=n.from)),("number"!==typeof n.step||isNaN(n.step)||!n.step||n.step<0)&&(n.step=1),"number"===typeof n.from_min&&n.from<n.from_min&&(n.from=n.from_min),"number"===typeof n.from_max&&n.from>n.from_max&&(n.from=n.from_max),"number"===typeof n.to_min&&n.to<n.to_min&&(n.to=n.to_min),"number"===typeof n.to_max&&n.from>n.to_max&&(n.to=n.to_max),i&&(i.min!==n.min&&(i.min=n.min),i.max!==n.max&&(i.max=n.max),(i.from<i.min||i.from>i.max)&&(i.from=n.from),(i.to<i.min||i.to>i.max)&&(i.to=n.to)),("number"!==typeof n.min_interval||isNaN(n.min_interval)||!n.min_interval||n.min_interval<0)&&(n.min_interval=0),("number"!==typeof n.max_interval||isNaN(n.max_interval)||!n.max_interval||n.max_interval<0)&&(n.max_interval=0),n.min_interval&&n.min_interval>n.max-n.min&&(n.min_interval=n.max-n.min),n.max_interval&&n.max_interval>n.max-n.min&&(n.max_interval=n.max-n.min)},decorate:function(t,e){var n="",i=this.options;return i.prefix&&(n+=i.prefix),n+=t,i.max_postfix&&(i.values.length&&t===i.p_values[i.max]?(n+=i.max_postfix,i.postfix&&(n+=" ")):e===i.max&&(n+=i.max_postfix,i.postfix&&(n+=" "))),i.postfix&&(n+=i.postfix),n},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var t,e,n,i,r,o=this.options,s=o.max-o.min,a=o.grid_num,c=0,u=0,l=4,h=0,f="";for(this.calcGridMargin(),o.grid_snap&&(a=s/o.step),a>50&&(a=50),c=this.toFixed(100/a),a>4&&(l=3),a>7&&(l=2),a>14&&(l=1),a>28&&(l=0),t=0;t<a+1;t++){for(n=l,u=this.toFixed(c*t),u>100&&(u=100),this.coords.big[t]=u,i=(u-c*(t-1))/(n+1),e=1;e<=n;e++){if(0===u)break;h=this.toFixed(u-i*e),f+='<span class="irs-grid-pol small" style="left: '+h+'%"></span>'}f+='<span class="irs-grid-pol" style="left: '+u+'%"></span>',r=this.convertToValue(u),r=o.values.length?o.p_values[r]:this._prettify(r),f+='<span class="irs-grid-text js-grid-text-'+t+'" style="left: '+u+'%">'+r+"</span>"}this.coords.big_num=Math.ceil(a+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(f),this.cacheGridLabels()}},cacheGridLabels:function(){var t,e,n=this.coords.big_num;for(e=0;e<n;e++)t=this.$cache.grid.find(".js-grid-text-"+e),this.$cache.grid_labels.push(t);this.calcGridLabels()},calcGridLabels:function(){var t,e,n=[],i=[],r=this.coords.big_num;for(t=0;t<r;t++)this.coords.big_w[t]=this.$cache.grid_labels[t].outerWidth(!1),this.coords.big_p[t]=this.toFixed(this.coords.big_w[t]/this.coords.w_rs*100),this.coords.big_x[t]=this.toFixed(this.coords.big_p[t]/2),n[t]=this.toFixed(this.coords.big[t]-this.coords.big_x[t]),i[t]=this.toFixed(n[t]+this.coords.big_p[t]);for(this.options.force_edges&&(n[0]<-this.coords.grid_gap&&(n[0]=-this.coords.grid_gap,i[0]=this.toFixed(n[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),i[r-1]>100+this.coords.grid_gap&&(i[r-1]=100+this.coords.grid_gap,n[r-1]=this.toFixed(i[r-1]-this.coords.big_p[r-1]),this.coords.big_x[r-1]=this.toFixed(this.coords.big_p[r-1]-this.coords.grid_gap))),this.calcGridCollision(2,n,i),this.calcGridCollision(4,n,i),t=0;t<r;t++)e=this.$cache.grid_labels[t][0],this.coords.big_x[t]!==Number.POSITIVE_INFINITY&&(e.style.marginLeft=-this.coords.big_x[t]+"%")},calcGridCollision:function(t,e,n){var i,r,o,s=this.coords.big_num;for(i=0;i<s;i+=t){if(r=i+t/2,r>=s)break;o=this.$cache.grid_labels[r][0],n[i]<=e[r]?o.style.visibility="visible":o.style.visibility="hidden"}},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[0].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(e){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=t.extend(this.options,e),this.validate(),this.updateResult(e),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),t.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},t.fn.ionRangeSlider=function(e){return this.each((function(){t.data(this,"ionRangeSlider")||t.data(this,"ionRangeSlider",new h(this,e,o++))}))},function(){for(var t=0,e=["ms","moz","webkit","o"],i=0;i<e.length&&!n.requestAnimationFrame;++i)n.requestAnimationFrame=n[e[i]+"RequestAnimationFrame"],n.cancelAnimationFrame=n[e[i]+"CancelAnimationFrame"]||n[e[i]+"CancelRequestAnimationFrame"];n.requestAnimationFrame||(n.requestAnimationFrame=function(e,i){var r=(new Date).getTime(),o=Math.max(0,16-(r-t)),s=n.setTimeout((function(){e(r+o)}),o);return t=r+o,s}),n.cancelAnimationFrame||(n.cancelAnimationFrame=function(t){clearTimeout(t)})}()}));var k={data:{type:Array,required:!0},min:{type:Number},max:{type:Number},clip:{type:Boolean,default:!0},block:{type:Boolean,default:!1},grid:{type:Boolean,default:!0},gridNum:{type:Number,default:4},step:{type:Number,default:1},hideMinMax:{type:Boolean,default:!0},hideFromTo:{type:Boolean,default:!1},toFixed:{type:Boolean,default:!1},fromFixed:{type:Boolean,default:!1},forceEdges:{type:Boolean,default:!1},dragInterval:{type:Boolean,default:!1},keyboard:{type:Boolean,default:!0},type:{type:String,default:"double",validator:function(t){return-1!==["double","single"].indexOf(t)}},width:{type:Number,default:650},barHeight:{type:Number,default:100},barWidth:{type:Number,default:6},barGap:{type:Number,default:5},barRadius:{type:Number,default:4},prettify:Function,labelColor:{type:String,default:"#0091ff"},primaryColor:{type:String,default:"#0091ff"},holderColor:{type:String,default:"#dee4ec"},handleColor:{type:String,default:"#ffffff"},gridTextColor:{type:String,default:"silver"},lineHeight:{type:Number,default:6},transitionDuration:{type:Number,default:80},fontFamily:{type:String,default:"Arial, sans-serif"},fontSize:{type:Number,default:12},histSliderGap:{type:Number,default:6},colors:{type:Array},updateColorOnChange:{type:Boolean,default:!0},handleSize:{type:Number,default:26}},S=Math.sqrt(50),T=Math.sqrt(10),M=Math.sqrt(2),C=function(t,e,n){var i,r,o,s,a=-1;if(e=+e,t=+t,n=+n,t===e&&n>0)return[t];if((i=e<t)&&(r=t,t=e,e=r),0===(s=N(t,e,n))||!isFinite(s))return[];if(s>0){t=Math.ceil(t/s),e=Math.floor(e/s),o=new Array(r=Math.ceil(e-t+1));while(++a<r)o[a]=(t+a)*s}else{t=Math.floor(t*s),e=Math.ceil(e*s),o=new Array(r=Math.ceil(t-e+1));while(++a<r)o[a]=(t-a)/s}return i&&o.reverse(),o};function N(t,e,n){var i=(e-t)/Math.max(0,n),r=Math.floor(Math.log(i)/Math.LN10),o=i/Math.pow(10,r);return r>=0?(o>=S?10:o>=T?5:o>=M?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=S?10:o>=T?5:o>=M?2:1)}function E(t,e,n){var i=Math.abs(e-t)/Math.max(0,n),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),o=i/r;return o>=S?r*=10:o>=T?r*=5:o>=M&&(r*=2),e<t?-r:r}var A=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},$=function(t){return 1===t.length&&(t=j(t)),{left:function(e,n,i,r){null==i&&(i=0),null==r&&(r=e.length);while(i<r){var o=i+r>>>1;t(e[o],n)<0?i=o+1:r=o}return i},right:function(e,n,i,r){null==i&&(i=0),null==r&&(r=e.length);while(i<r){var o=i+r>>>1;t(e[o],n)>0?r=o:i=o+1}return i}}};function j(t){return function(e,n){return A(t(e),n)}}var O=$(A),P=O.right,D=(O.left,P),L=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function F(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function I(){}var R=.7,q=1/R,H="\\s*([+-]?\\d+)\\s*",B="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",W="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",z=/^#([0-9a-f]{3,8})$/,V=new RegExp("^rgb\\("+[H,H,H]+"\\)$"),X=new RegExp("^rgb\\("+[W,W,W]+"\\)$"),U=new RegExp("^rgba\\("+[H,H,H,B]+"\\)$"),G=new RegExp("^rgba\\("+[W,W,W,B]+"\\)$"),Y=new RegExp("^hsl\\("+[B,W,W]+"\\)$"),K=new RegExp("^hsla\\("+[B,W,W,B]+"\\)$"),J={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Q(){return this.rgb().formatHex()}function Z(){return ht(this).formatHsl()}function tt(){return this.rgb().formatRgb()}function et(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=z.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?nt(e):3===n?new st(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?new st(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?new st(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=V.exec(t))?new st(e[1],e[2],e[3],1):(e=X.exec(t))?new st(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=U.exec(t))?it(e[1],e[2],e[3],e[4]):(e=G.exec(t))?it(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Y.exec(t))?lt(e[1],e[2]/100,e[3]/100,1):(e=K.exec(t))?lt(e[1],e[2]/100,e[3]/100,e[4]):J.hasOwnProperty(t)?nt(J[t]):"transparent"===t?new st(NaN,NaN,NaN,0):null}function nt(t){return new st(t>>16&255,t>>8&255,255&t,1)}function it(t,e,n,i){return i<=0&&(t=e=n=NaN),new st(t,e,n,i)}function rt(t){return t instanceof I||(t=et(t)),t?(t=t.rgb(),new st(t.r,t.g,t.b,t.opacity)):new st}function ot(t,e,n,i){return 1===arguments.length?rt(t):new st(t,e,n,null==i?1:i)}function st(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function at(){return"#"+ut(this.r)+ut(this.g)+ut(this.b)}function ct(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function ut(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function lt(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new pt(t,e,n,i)}function ht(t){if(t instanceof pt)return new pt(t.h,t.s,t.l,t.opacity);if(t instanceof I||(t=et(t)),!t)return new pt;if(t instanceof pt)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),s=NaN,a=o-r,c=(o+r)/2;return a?(s=e===o?(n-i)/a+6*(n<i):n===o?(i-e)/a+2:(e-n)/a+4,a/=c<.5?o+r:2-o-r,s*=60):a=c>0&&c<1?0:s,new pt(s,a,c,t.opacity)}function ft(t,e,n,i){return 1===arguments.length?ht(t):new pt(t,e,n,null==i?1:i)}function pt(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function dt(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function mt(t,e,n,i,r){var o=t*t,s=o*t;return((1-3*t+3*o-s)*e+(4-6*o+3*s)*n+(1+3*t+3*o-3*s)*i+s*r)/6}L(I,et,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Q,formatHex:Q,formatHsl:Z,formatRgb:tt,toString:tt}),L(st,ot,F(I,{brighter:function(t){return t=null==t?q:Math.pow(q,t),new st(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?R:Math.pow(R,t),new st(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:at,formatHex:at,formatRgb:ct,toString:ct})),L(pt,ft,F(I,{brighter:function(t){return t=null==t?q:Math.pow(q,t),new pt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?R:Math.pow(R,t),new pt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new st(dt(t>=240?t-240:t+120,r,i),dt(t,r,i),dt(t<120?t+240:t-120,r,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var gt=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),r=t[i],o=t[i+1],s=i>0?t[i-1]:2*r-o,a=i<e-1?t[i+2]:2*o-r;return mt((n-i/e)*e,s,r,o,a)}},vt=function(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e),r=t[(i+e-1)%e],o=t[i%e],s=t[(i+1)%e],a=t[(i+2)%e];return mt((n-i/e)*e,r,o,s,a)}},yt=function(t){return function(){return t}};function _t(t,e){return function(n){return t+n*e}}function bt(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function xt(t,e){var n=e-t;return n?_t(t,n>180||n<-180?n-360*Math.round(n/360):n):yt(isNaN(t)?e:t)}function wt(t){return 1===(t=+t)?kt:function(e,n){return n-e?bt(e,n,t):yt(isNaN(e)?n:e)}}function kt(t,e){var n=e-t;return n?_t(t,n):yt(isNaN(t)?e:t)}var St=function t(e){var n=wt(e);function i(t,e){var i=n((t=ot(t)).r,(e=ot(e)).r),r=n(t.g,e.g),o=n(t.b,e.b),s=kt(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=o(e),t.opacity=s(e),t+""}}return i.gamma=t,i}(1);function Tt(t){return function(e){var n,i,r=e.length,o=new Array(r),s=new Array(r),a=new Array(r);for(n=0;n<r;++n)i=ot(e[n]),o[n]=i.r||0,s[n]=i.g||0,a[n]=i.b||0;return o=t(o),s=t(s),a=t(a),i.opacity=1,function(t){return i.r=o(t),i.g=s(t),i.b=a(t),i+""}}}Tt(gt),Tt(vt);var Mt=function(t,e){var n,i=e?e.length:0,r=t?Math.min(i,t.length):0,o=new Array(r),s=new Array(i);for(n=0;n<r;++n)o[n]=Rt(t[n],e[n]);for(;n<i;++n)s[n]=e[n];return function(t){for(n=0;n<r;++n)s[n]=o[n](t);return s}},Ct=function(t,e){var n=new Date;return t=+t,e-=t,function(i){return n.setTime(t+e*i),n}},Nt=function(t,e){return t=+t,e-=t,function(n){return t+e*n}},Et=function(t,e){var n,i={},r={};for(n in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)n in t?i[n]=Rt(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}},At=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$t=new RegExp(At.source,"g");function jt(t){return function(){return t}}function Ot(t){return function(e){return t(e)+""}}var Pt,Dt,Lt,Ft,It=function(t,e){var n,i,r,o=At.lastIndex=$t.lastIndex=0,s=-1,a=[],c=[];t+="",e+="";while((n=At.exec(t))&&(i=$t.exec(e)))(r=i.index)>o&&(r=e.slice(o,r),a[s]?a[s]+=r:a[++s]=r),(n=n[0])===(i=i[0])?a[s]?a[s]+=i:a[++s]=i:(a[++s]=null,c.push({i:s,x:Nt(n,i)})),o=$t.lastIndex;return o<e.length&&(r=e.slice(o),a[s]?a[s]+=r:a[++s]=r),a.length<2?c[0]?Ot(c[0].x):jt(e):(e=c.length,function(t){for(var n,i=0;i<e;++i)a[(n=c[i]).i]=n.x(t);return a.join("")})},Rt=function(t,e){var n,i=typeof e;return null==e||"boolean"===i?yt(e):("number"===i?Nt:"string"===i?(n=et(e))?(e=n,St):It:e instanceof et?St:e instanceof Date?Ct:Array.isArray(e)?Mt:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?Et:Nt)(t,e)},qt=function(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}},Ht=180/Math.PI,Bt={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Wt=function(t,e,n,i,r,o){var s,a,c;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,c/=a),t*i<e*n&&(t=-t,e=-e,c=-c,s=-s),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Ht,skewX:Math.atan(c)*Ht,scaleX:s,scaleY:a}};function zt(t){return"none"===t?Bt:(Pt||(Pt=document.createElement("DIV"),Dt=document.documentElement,Lt=document.defaultView),Pt.style.transform=t,t=Lt.getComputedStyle(Dt.appendChild(Pt),null).getPropertyValue("transform"),Dt.removeChild(Pt),t=t.slice(7,-1).split(","),Wt(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function Vt(t){return null==t?Bt:(Ft||(Ft=document.createElementNS("http://www.w3.org/2000/svg","g")),Ft.setAttribute("transform",t),(t=Ft.transform.baseVal.consolidate())?(t=t.matrix,Wt(t.a,t.b,t.c,t.d,t.e,t.f)):Bt)}function Xt(t,e,n,i){function r(t){return t.length?t.pop()+" ":""}function o(t,i,r,o,s,a){if(t!==r||i!==o){var c=s.push("translate(",null,e,null,n);a.push({i:c-4,x:Nt(t,r)},{i:c-2,x:Nt(i,o)})}else(r||o)&&s.push("translate("+r+e+o+n)}function s(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(r(n)+"rotate(",null,i)-2,x:Nt(t,e)})):e&&n.push(r(n)+"rotate("+e+i)}function a(t,e,n,o){t!==e?o.push({i:n.push(r(n)+"skewX(",null,i)-2,x:Nt(t,e)}):e&&n.push(r(n)+"skewX("+e+i)}function c(t,e,n,i,o,s){if(t!==n||e!==i){var a=o.push(r(o)+"scale(",null,",",null,")");s.push({i:a-4,x:Nt(t,n)},{i:a-2,x:Nt(e,i)})}else 1===n&&1===i||o.push(r(o)+"scale("+n+","+i+")")}return function(e,n){var i=[],r=[];return e=t(e),n=t(n),o(e.translateX,e.translateY,n.translateX,n.translateY,i,r),s(e.rotate,n.rotate,i,r),a(e.skewX,n.skewX,i,r),c(e.scaleX,e.scaleY,n.scaleX,n.scaleY,i,r),e=n=null,function(t){var e,n=-1,o=r.length;while(++n<o)i[(e=r[n]).i]=e.x(t);return i.join("")}}}var Ut=Xt(zt,"px, ","px)","deg)"),Gt=Xt(Vt,", ",")",")");Math.SQRT2;function Yt(t){return function(e,n){var i=t((e=ft(e)).h,(n=ft(n)).h),r=kt(e.s,n.s),o=kt(e.l,n.l),s=kt(e.opacity,n.opacity);return function(t){return e.h=i(t),e.s=r(t),e.l=o(t),e.opacity=s(t),e+""}}}Yt(xt),Yt(kt);var Kt=Math.PI/180,Jt=180/Math.PI,Qt=18,Zt=.96422,te=1,ee=.82521,ne=4/29,ie=6/29,re=3*ie*ie,oe=ie*ie*ie;function se(t){if(t instanceof ce)return new ce(t.l,t.a,t.b,t.opacity);if(t instanceof me)return ge(t);t instanceof st||(t=rt(t));var e,n,i=fe(t.r),r=fe(t.g),o=fe(t.b),s=ue((.2225045*i+.7168786*r+.0606169*o)/te);return i===r&&r===o?e=n=s:(e=ue((.4360747*i+.3850649*r+.1430804*o)/Zt),n=ue((.0139322*i+.0971045*r+.7141733*o)/ee)),new ce(116*s-16,500*(e-s),200*(s-n),t.opacity)}function ae(t,e,n,i){return 1===arguments.length?se(t):new ce(t,e,n,null==i?1:i)}function ce(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}function ue(t){return t>oe?Math.pow(t,1/3):t/re+ne}function le(t){return t>ie?t*t*t:re*(t-ne)}function he(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function fe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function pe(t){if(t instanceof me)return new me(t.h,t.c,t.l,t.opacity);if(t instanceof ce||(t=se(t)),0===t.a&&0===t.b)return new me(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Jt;return new me(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function de(t,e,n,i){return 1===arguments.length?pe(t):new me(t,e,n,null==i?1:i)}function me(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function ge(t){if(isNaN(t.h))return new ce(t.l,0,0,t.opacity);var e=t.h*Kt;return new ce(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}function ve(t){return function(e,n){var i=t((e=de(e)).h,(n=de(n)).h),r=kt(e.c,n.c),o=kt(e.l,n.l),s=kt(e.opacity,n.opacity);return function(t){return e.h=i(t),e.c=r(t),e.l=o(t),e.opacity=s(t),e+""}}}L(ce,ae,F(I,{brighter:function(t){return new ce(this.l+Qt*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new ce(this.l-Qt*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=Zt*le(e),t=te*le(t),n=ee*le(n),new st(he(3.1338561*e-1.6168667*t-.4906146*n),he(-.9787684*e+1.9161415*t+.033454*n),he(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),L(me,de,F(I,{brighter:function(t){return new me(this.h,this.c,this.l+Qt*(null==t?1:t),this.opacity)},darker:function(t){return new me(this.h,this.c,this.l-Qt*(null==t?1:t),this.opacity)},rgb:function(){return ge(this).rgb()}}));ve(xt),ve(kt);var ye=-.14861,_e=1.78277,be=-.29227,xe=-.90649,we=1.97294,ke=we*xe,Se=we*_e,Te=_e*be-xe*ye;function Me(t){if(t instanceof Ne)return new Ne(t.h,t.s,t.l,t.opacity);t instanceof st||(t=rt(t));var e=t.r/255,n=t.g/255,i=t.b/255,r=(Te*i+ke*e-Se*n)/(Te+ke-Se),o=i-r,s=(we*(n-r)-be*o)/xe,a=Math.sqrt(s*s+o*o)/(we*r*(1-r)),c=a?Math.atan2(s,o)*Jt-120:NaN;return new Ne(c<0?c+360:c,a,r,t.opacity)}function Ce(t,e,n,i){return 1===arguments.length?Me(t):new Ne(t,e,n,null==i?1:i)}function Ne(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function Ee(t){return function e(n){function i(e,i){var r=t((e=Ce(e)).h,(i=Ce(i)).h),o=kt(e.s,i.s),s=kt(e.l,i.l),a=kt(e.opacity,i.opacity);return function(t){return e.h=r(t),e.s=o(t),e.l=s(Math.pow(t,n)),e.opacity=a(t),e+""}}return n=+n,i.gamma=e,i}(1)}L(Ne,Ce,F(I,{brighter:function(t){return t=null==t?q:Math.pow(q,t),new Ne(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?R:Math.pow(R,t),new Ne(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Kt,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),i=Math.cos(t),r=Math.sin(t);return new st(255*(e+n*(ye*i+_e*r)),255*(e+n*(be*i+xe*r)),255*(e+n*(we*i)),this.opacity)}}));Ee(xt),Ee(kt);var Ae=function(t){return function(){return t}},$e=function(t){return+t},je=[0,1];function Oe(t){return t}function Pe(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Ae(isNaN(e)?NaN:.5)}function De(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}function Le(t,e,n){var i=t[0],r=t[1],o=e[0],s=e[1];return r<i?(i=Pe(r,i),o=n(s,o)):(i=Pe(i,r),o=n(o,s)),function(t){return o(i(t))}}function Fe(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),o=new Array(i),s=-1;t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());while(++s<i)r[s]=Pe(t[s],t[s+1]),o[s]=n(e[s],e[s+1]);return function(e){var n=D(t,e,1,i)-1;return o[n](r[n](e))}}function Ie(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Re(){var t,e,n,i,r,o,s=je,a=je,c=Rt,u=Oe;function l(){var t=Math.min(s.length,a.length);return u!==Oe&&(u=De(s[0],s[t-1])),i=t>2?Fe:Le,r=o=null,h}function h(e){return isNaN(e=+e)?n:(r||(r=i(s.map(t),a,c)))(t(u(e)))}return h.invert=function(n){return u(e((o||(o=i(a,s.map(t),Nt)))(n)))},h.domain=function(t){return arguments.length?(s=Array.from(t,$e),l()):s.slice()},h.range=function(t){return arguments.length?(a=Array.from(t),l()):a.slice()},h.rangeRound=function(t){return a=Array.from(t),c=qt,l()},h.clamp=function(t){return arguments.length?(u=!!t||Oe,l()):u!==Oe},h.interpolate=function(t){return arguments.length?(c=t,l()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,l()}}function qe(){return Re()(Oe,Oe)}function He(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}var Be=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]},We=function(t){return t=Be(Math.abs(t)),t?t[1]:NaN},ze=function(t,e){return function(n,i){var r=n.length,o=[],s=0,a=t[0],c=0;while(r>0&&a>0){if(c+a+1>i&&(a=Math.max(1,i-c)),o.push(n.substring(r-=a,r+a)),(c+=a+1)>i)break;a=t[s=(s+1)%t.length]}return o.reverse().join(e)}},Ve=function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}},Xe=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ue(t){if(!(e=Xe.exec(t)))throw new Error("invalid format: "+t);var e;return new Ge({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Ge(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Ue.prototype=Ge.prototype,Ge.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Ye,Ke,Je,Qe,Ze=function(t){t:for(var e,n=t.length,i=1,r=-1;i<n;++i)switch(t[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(r>0){if(!+t[i])break t;r=0}break}return r>0?t.slice(0,r)+t.slice(e+1):t},tn=function(t,e){var n=Be(t,e);if(!n)return t+"";var i=n[0],r=n[1],o=r-(Ye=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,s=i.length;return o===s?i:o>s?i+new Array(o-s+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+Be(t,Math.max(0,e+o-1))[0]},en=function(t,e){var n=Be(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")},nn={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return en(100*t,e)},r:en,s:tn,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},rn=function(t){return t},on=Array.prototype.map,sn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],an=function(t){var e=void 0===t.grouping||void 0===t.thousands?rn:ze(on.call(t.grouping,Number),t.thousands+""),n=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",r=void 0===t.decimal?".":t.decimal+"",o=void 0===t.numerals?rn:Ve(on.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",a=void 0===t.minus?"-":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function u(t){t=Ue(t);var u=t.fill,l=t.align,h=t.sign,f=t.symbol,p=t.zero,d=t.width,m=t.comma,g=t.precision,v=t.trim,y=t.type;"n"===y?(m=!0,y="g"):nn[y]||(void 0===g&&(g=12),v=!0,y="g"),(p||"0"===u&&"="===l)&&(p=!0,u="0",l="=");var _="$"===f?n:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",b="$"===f?i:/[%p]/.test(y)?s:"",x=nn[y],w=/[defgprs%]/.test(y);function k(t){var n,i,s,f=_,k=b;if("c"===y)k=x(t)+k,t="";else{t=+t;var S=t<0;if(t=isNaN(t)?c:x(Math.abs(t),g),v&&(t=Ze(t)),S&&0===+t&&(S=!1),f=(S?"("===h?h:a:"-"===h||"("===h?"":h)+f,k=("s"===y?sn[8+Ye/3]:"")+k+(S&&"("===h?")":""),w){n=-1,i=t.length;while(++n<i)if(s=t.charCodeAt(n),48>s||s>57){k=(46===s?r+t.slice(n+1):t.slice(n))+k,t=t.slice(0,n);break}}}m&&!p&&(t=e(t,1/0));var T=f.length+t.length+k.length,M=T<d?new Array(d-T+1).join(u):"";switch(m&&p&&(t=e(M+t,M.length?d-k.length:1/0),M=""),l){case"<":t=f+t+k+M;break;case"=":t=f+M+t+k;break;case"^":t=M.slice(0,T=M.length>>1)+f+t+k+M.slice(T);break;default:t=M+f+t+k;break}return o(t)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return t+""},k}function l(t,e){var n=u((t=Ue(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(We(e)/3))),r=Math.pow(10,-i),o=sn[8+i/3];return function(t){return n(r*t)+o}}return{format:u,formatPrefix:l}};function cn(t){return Ke=an(t),Je=Ke.format,Qe=Ke.formatPrefix,Ke}cn({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var un=function(t){return Math.max(0,-We(Math.abs(t)))},ln=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(We(e)/3)))-We(Math.abs(t)))},hn=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,We(e)-We(t))+1},fn=function(t,e,n,i){var r,o=E(t,e,n);switch(i=Ue(null==i?",f":i),i.type){case"s":var s=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(r=ln(o,s))||(i.precision=r),Qe(i,s);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=hn(o,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=un(o))||(i.precision=r-2*("%"===i.type));break}return Je(i)};function pn(t){var e=t.domain;return t.ticks=function(t){var n=e();return C(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return fn(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,r=e(),o=0,s=r.length-1,a=r[o],c=r[s];return c<a&&(i=a,a=c,c=i,i=o,o=s,s=i),i=N(a,c,n),i>0?(a=Math.floor(a/i)*i,c=Math.ceil(c/i)*i,i=N(a,c,n)):i<0&&(a=Math.ceil(a*i)/i,c=Math.floor(c*i)/i,i=N(a,c,n)),i>0?(r[o]=Math.floor(a/i)*i,r[s]=Math.ceil(c/i)*i,e(r)):i<0&&(r[o]=Math.ceil(a*i)/i,r[s]=Math.floor(c*i)/i,e(r)),t},t}function dn(){var t=qe();return t.copy=function(){return Ie(t,dn())},He.apply(t,arguments),pn(t)}function mn(t,e){let n;if(void 0===e)for(const i of t)null!=i&&(n>i||void 0===n&&i>=i)&&(n=i);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function gn(t,e){let n;if(void 0===e)for(const i of t)null!=i&&(n<i||void 0===n&&i>=i)&&(n=i);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n<r||void 0===n&&r>=r)&&(n=r)}return n}var vn=Array.prototype,yn=vn.slice,_n=(vn.map,function(t){return function(){return t}}),bn=function(t,e){let n,i;if(void 0===e)for(const r of t)null!=r&&(void 0===n?r>=r&&(n=i=r):(n>r&&(n=r),i<r&&(i=r)));else{let r=-1;for(let o of t)null!=(o=e(o,++r,t))&&(void 0===n?o>=o&&(n=i=o):(n>o&&(n=o),i<o&&(i=o)))}return[n,i]},xn=function(t){return t},wn=function(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;var i=-1,r=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(r);while(++i<r)o[i]=t+i*n;return o};function kn(t,e){let n=0;if(void 0===e)for(let i of t)null!=i&&(i=+i)>=i&&++n;else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(r=+r)>=r&&++n}return n}var Sn=function(t){return Math.ceil(Math.log(kn(t))/Math.LN2)+1},Tn=function(){var t=xn,e=bn,n=Sn;function i(i){Array.isArray(i)||(i=Array.from(i));var r,o,s=i.length,a=new Array(s);for(r=0;r<s;++r)a[r]=t(i[r],r,i);var c=e(a),u=c[0],l=c[1],h=n(a,u,l);Array.isArray(h)||(h=E(u,l,h),h=wn(Math.ceil(u/h)*h,l,h));var f=h.length;while(h[0]<=u)h.shift(),--f;while(h[f-1]>l)h.pop(),--f;var p,d=new Array(f+1);for(r=0;r<=f;++r)p=d[r]=[],p.x0=r>0?h[r-1]:u,p.x1=r<f?h[r]:l;for(r=0;r<s;++r)o=a[r],u<=o&&o<=l&&d[D(h,o,0,f)].push(i[r]);return d}return i.value=function(e){return arguments.length?(t="function"===typeof e?e:_n(e),i):t},i.domain=function(t){return arguments.length?(e="function"===typeof t?t:_n([t[0],t[1]]),i):e},i.thresholds=function(t){return arguments.length?(n="function"===typeof t?t:Array.isArray(t)?_n(yn.call(t)):_n(t),i):n},i},Mn="http://www.w3.org/1999/xhtml",Cn={svg:"http://www.w3.org/2000/svg",xhtml:Mn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Nn=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Cn.hasOwnProperty(e)?{space:Cn[e],local:t}:t};function En(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Mn&&e.documentElement.namespaceURI===Mn?e.createElement(t):e.createElementNS(n,t)}}function An(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var $n=function(t){var e=Nn(t);return(e.local?An:En)(e)};function jn(){}var On=function(t){return null==t?jn:function(){return this.querySelector(t)}},Pn=function(t){"function"!==typeof t&&(t=On(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o,s,a=e[r],c=a.length,u=i[r]=new Array(c),l=0;l<c;++l)(o=a[l])&&(s=t.call(o,o.__data__,l,a))&&("__data__"in o&&(s.__data__=o.__data__),u[l]=s);return new dr(i,this._parents)};function Dn(){return[]}var Ln=function(t){return null==t?Dn:function(){return this.querySelectorAll(t)}},Fn=function(t){"function"!==typeof t&&(t=Ln(t));for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var s,a=e[o],c=a.length,u=0;u<c;++u)(s=a[u])&&(i.push(t.call(s,s.__data__,u,a)),r.push(s));return new dr(i,r)},In=function(t){return function(){return this.matches(t)}},Rn=function(t){"function"!==typeof t&&(t=In(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o,s=e[r],a=s.length,c=i[r]=[],u=0;u<a;++u)(o=s[u])&&t.call(o,o.__data__,u,s)&&c.push(o);return new dr(i,this._parents)},qn=function(t){return new Array(t.length)},Hn=function(){return new dr(this._enter||this._groups.map(qn),this._parents)};function Bn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Bn.prototype={constructor:Bn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Wn=function(t){return function(){return t}},zn="$";function Vn(t,e,n,i,r,o){for(var s,a=0,c=e.length,u=o.length;a<u;++a)(s=e[a])?(s.__data__=o[a],i[a]=s):n[a]=new Bn(t,o[a]);for(;a<c;++a)(s=e[a])&&(r[a]=s)}function Xn(t,e,n,i,r,o,s){var a,c,u,l={},h=e.length,f=o.length,p=new Array(h);for(a=0;a<h;++a)(c=e[a])&&(p[a]=u=zn+s.call(c,c.__data__,a,e),u in l?r[a]=c:l[u]=c);for(a=0;a<f;++a)u=zn+s.call(t,o[a],a,o),(c=l[u])?(i[a]=c,c.__data__=o[a],l[u]=null):n[a]=new Bn(t,o[a]);for(a=0;a<h;++a)(c=e[a])&&l[p[a]]===c&&(r[a]=c)}var Un=function(t,e){if(!t)return p=new Array(this.size()),u=-1,this.each((function(t){p[++u]=t})),p;var n=e?Xn:Vn,i=this._parents,r=this._groups;"function"!==typeof t&&(t=Wn(t));for(var o=r.length,s=new Array(o),a=new Array(o),c=new Array(o),u=0;u<o;++u){var l=i[u],h=r[u],f=h.length,p=t.call(l,l&&l.__data__,u,i),d=p.length,m=a[u]=new Array(d),g=s[u]=new Array(d),v=c[u]=new Array(f);n(l,h,m,g,v,p,e);for(var y,_,b=0,x=0;b<d;++b)if(y=m[b]){b>=x&&(x=b+1);while(!(_=g[x])&&++x<d);y._next=_||null}}return s=new dr(s,i),s._enter=a,s._exit=c,s},Gn=function(){return new dr(this._exit||this._groups.map(qn),this._parents)},Yn=function(t,e,n){var i=this.enter(),r=this,o=this.exit();return i="function"===typeof t?t(i):i.append(t+""),null!=e&&(r=e(r)),null==n?o.remove():n(o),i&&r?i.merge(r).order():r},Kn=function(t){for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),s=new Array(i),a=0;a<o;++a)for(var c,u=e[a],l=n[a],h=u.length,f=s[a]=new Array(h),p=0;p<h;++p)(c=u[p]||l[p])&&(f[p]=c);for(;a<i;++a)s[a]=e[a];return new dr(s,this._parents)},Jn=function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],o=r.length-1,s=r[o];--o>=0;)(i=r[o])&&(s&&4^i.compareDocumentPosition(s)&&s.parentNode.insertBefore(i,s),s=i);return this},Qn=function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Zn);for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var s,a=n[o],c=a.length,u=r[o]=new Array(c),l=0;l<c;++l)(s=a[l])&&(u[l]=s);u.sort(e)}return new dr(r,this._parents).order()};function Zn(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var ti=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},ei=function(){var t=new Array(this.size()),e=-1;return this.each((function(){t[++e]=this})),t},ni=function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var s=i[r];if(s)return s}return null},ii=function(){var t=0;return this.each((function(){++t})),t},ri=function(){return!this.node()},oi=function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,o=e[n],s=0,a=o.length;s<a;++s)(r=o[s])&&t.call(r,r.__data__,s,o);return this};function si(t){return function(){this.removeAttribute(t)}}function ai(t){return function(){this.removeAttributeNS(t.space,t.local)}}function ci(t,e){return function(){this.setAttribute(t,e)}}function ui(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function li(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function hi(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var fi=function(t,e){var n=Nn(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?ai:si:"function"===typeof e?n.local?hi:li:n.local?ui:ci)(n,e))},pi=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function di(t){return function(){this.style.removeProperty(t)}}function mi(t,e,n){return function(){this.style.setProperty(t,e,n)}}function gi(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}var vi=function(t,e,n){return arguments.length>1?this.each((null==e?di:"function"===typeof e?gi:mi)(t,e,null==n?"":n)):yi(this.node(),t)};function yi(t,e){return t.style.getPropertyValue(e)||pi(t).getComputedStyle(t,null).getPropertyValue(e)}function _i(t){return function(){delete this[t]}}function bi(t,e){return function(){this[t]=e}}function xi(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}var wi=function(t,e){return arguments.length>1?this.each((null==e?_i:"function"===typeof e?xi:bi)(t,e)):this.node()[t]};function ki(t){return t.trim().split(/^|\s+/)}function Si(t){return t.classList||new Ti(t)}function Ti(t){this._node=t,this._names=ki(t.getAttribute("class")||"")}function Mi(t,e){var n=Si(t),i=-1,r=e.length;while(++i<r)n.add(e[i])}function Ci(t,e){var n=Si(t),i=-1,r=e.length;while(++i<r)n.remove(e[i])}function Ni(t){return function(){Mi(this,t)}}function Ei(t){return function(){Ci(this,t)}}function Ai(t,e){return function(){(e.apply(this,arguments)?Mi:Ci)(this,t)}}Ti.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var $i=function(t,e){var n=ki(t+"");if(arguments.length<2){var i=Si(this.node()),r=-1,o=n.length;while(++r<o)if(!i.contains(n[r]))return!1;return!0}return this.each(("function"===typeof e?Ai:e?Ni:Ei)(n,e))};function ji(){this.textContent=""}function Oi(t){return function(){this.textContent=t}}function Pi(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}var Di=function(t){return arguments.length?this.each(null==t?ji:("function"===typeof t?Pi:Oi)(t)):this.node().textContent};function Li(){this.innerHTML=""}function Fi(t){return function(){this.innerHTML=t}}function Ii(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}var Ri=function(t){return arguments.length?this.each(null==t?Li:("function"===typeof t?Ii:Fi)(t)):this.node().innerHTML};function qi(){this.nextSibling&&this.parentNode.appendChild(this)}var Hi=function(){return this.each(qi)};function Bi(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var Wi=function(){return this.each(Bi)},zi=function(t){var e="function"===typeof t?t:$n(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))};function Vi(){return null}var Xi=function(t,e){var n="function"===typeof t?t:$n(t),i=null==e?Vi:"function"===typeof e?e:On(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))};function Ui(){var t=this.parentNode;t&&t.removeChild(this)}var Gi=function(){return this.each(Ui)};function Yi(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function Ki(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var Ji=function(t){return this.select(t?Ki:Yi)},Qi=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},Zi={},tr=null;if("undefined"!==typeof document){var er=document.documentElement;"onmouseenter"in er||(Zi={mouseenter:"mouseover",mouseleave:"mouseout"})}function nr(t,e,n){return t=ir(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function ir(t,e,n){return function(i){var r=tr;tr=i;try{t.call(this,this.__data__,e,n)}finally{tr=r}}}function rr(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function or(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,o=e.length;i<o;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.capture);++r?e.length=r:delete this.__on}}}function sr(t,e,n){var i=Zi.hasOwnProperty(t.type)?nr:ir;return function(r,o,s){var a,c=this.__on,u=i(e,o,s);if(c)for(var l=0,h=c.length;l<h;++l)if((a=c[l]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=u,a.capture=n),void(a.value=e);this.addEventListener(t.type,u,n),a={type:t.type,name:t.name,value:e,listener:u,capture:n},c?c.push(a):this.__on=[a]}}var ar=function(t,e,n){var i,r,o=rr(t+""),s=o.length;if(!(arguments.length<2)){for(a=e?sr:or,null==n&&(n=!1),i=0;i<s;++i)this.each(a(o[i],e,n));return this}var a=this.node().__on;if(a)for(var c,u=0,l=a.length;u<l;++u)for(i=0,c=a[u];i<s;++i)if((r=o[i]).type===c.type&&r.name===c.name)return c.value};function cr(t,e,n,i){var r=tr;t.sourceEvent=tr,tr=t;try{return e.apply(n,i)}finally{tr=r}}function ur(t,e,n){var i=pi(t),r=i.CustomEvent;"function"===typeof r?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function lr(t,e){return function(){return ur(this,t,e)}}function hr(t,e){return function(){return ur(this,t,e.apply(this,arguments))}}var fr=function(t,e){return this.each(("function"===typeof e?hr:lr)(t,e))},pr=[null];function dr(t,e){this._groups=t,this._parents=e}function mr(){return new dr([[document.documentElement]],pr)}dr.prototype=mr.prototype={constructor:dr,select:Pn,selectAll:Fn,filter:Rn,data:Un,enter:Hn,exit:Gn,join:Yn,merge:Kn,order:Jn,sort:Qn,call:ti,nodes:ei,node:ni,size:ii,empty:ri,each:oi,attr:fi,style:vi,property:wi,classed:$i,text:Di,html:Ri,raise:Hi,lower:Wi,append:zi,insert:Xi,remove:Gi,clone:Ji,datum:Qi,on:ar,dispatch:fr};var gr=mr,vr=function(t){return"string"===typeof t?new dr([[document.querySelector(t)]],[document.documentElement]):new dr([[t]],pr)},yr=0;function _r(){return new br}function br(){this._="@"+(++yr).toString(36)}br.prototype=_r.prototype={constructor:br,get:function(t){var e=this._;while(!(e in t))if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var xr=function(){var t,e=tr;while(t=e.sourceEvent)e=t;return e},wr=function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=e.clientX,i.y=e.clientY,i=i.matrixTransform(t.getScreenCTM().inverse()),[i.x,i.y]}var r=t.getBoundingClientRect();return[e.clientX-r.left-t.clientLeft,e.clientY-r.top-t.clientTop]},kr=function(t){var e=xr();return e.changedTouches&&(e=e.changedTouches[0]),wr(t,e)},Sr=function(t,e,n){arguments.length<3&&(n=e,e=xr().changedTouches);for(var i,r=0,o=e?e.length:0;r<o;++r)if((i=e[r]).identifier===n)return wr(t,i);return null},Tr={value:function(){}};function Mr(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i)throw new Error("illegal type: "+t);i[t]=[]}return new Cr(i)}function Cr(t){this._=t}function Nr(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",i=t.indexOf(".");if(i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Er(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function Ar(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=Tr,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}Cr.prototype=Mr.prototype={constructor:Cr,on:function(t,e){var n,i=this._,r=Nr(t+"",i),o=-1,s=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);while(++o<s)if(n=(t=r[o]).type)i[n]=Ar(i[n],t.name,e);else if(null==e)for(n in i)i[n]=Ar(i[n],t.name,null);return this}while(++o<s)if((n=(t=r[o]).type)&&(n=Er(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Cr(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),o=0;o<n;++o)r[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(i=this._[t],o=0,n=i.length;o<n;++o)i[o].value.apply(e,r)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};var $r,jr,Or=Mr,Pr=0,Dr=0,Lr=0,Fr=1e3,Ir=0,Rr=0,qr=0,Hr="object"===typeof performance&&performance.now?performance:Date,Br="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Wr(){return Rr||(Br(zr),Rr=Hr.now()+qr)}function zr(){Rr=0}function Vr(){this._call=this._time=this._next=null}function Xr(t,e,n){var i=new Vr;return i.restart(t,e,n),i}function Ur(){Wr(),++Pr;var t,e=$r;while(e)(t=Rr-e._time)>=0&&e._call.call(null,t),e=e._next;--Pr}function Gr(){Rr=(Ir=Hr.now())+qr,Pr=Dr=0;try{Ur()}finally{Pr=0,Kr(),Rr=0}}function Yr(){var t=Hr.now(),e=t-Ir;e>Fr&&(qr-=e,Ir=t)}function Kr(){var t,e,n=$r,i=1/0;while(n)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:$r=e);jr=t,Jr(i)}function Jr(t){if(!Pr){Dr&&(Dr=clearTimeout(Dr));var e=t-Rr;e>24?(t<1/0&&(Dr=setTimeout(Gr,t-Hr.now()-qr)),Lr&&(Lr=clearInterval(Lr))):(Lr||(Ir=Hr.now(),Lr=setInterval(Yr,Fr)),Pr=1,Br(Gr))}}Vr.prototype=Xr.prototype={constructor:Vr,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?Wr():+n)+(null==e?0:+e),this._next||jr===this||(jr?jr._next=this:$r=this,jr=this),this._call=t,this._time=n,Jr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Jr())}};var Qr=function(t,e,n){var i=new Vr;return e=null==e?0:+e,i.restart((function(n){i.stop(),t(n+e)}),e,n),i},Zr=Or("start","end","cancel","interrupt"),to=[],eo=0,no=1,io=2,ro=3,oo=4,so=5,ao=6,co=function(t,e,n,i,r,o){var s=t.__transition;if(s){if(n in s)return}else t.__transition={};fo(t,n,{name:e,index:i,group:r,on:Zr,tween:to,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:eo})};function uo(t,e){var n=ho(t,e);if(n.state>eo)throw new Error("too late; already scheduled");return n}function lo(t,e){var n=ho(t,e);if(n.state>ro)throw new Error("too late; already running");return n}function ho(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function fo(t,e,n){var i,r=t.__transition;function o(t){n.state=no,n.timer.restart(s,n.delay,n.time),n.delay<=t&&s(t-n.delay)}function s(o){var u,l,h,f;if(n.state!==no)return c();for(u in r)if(f=r[u],f.name===n.name){if(f.state===ro)return Qr(s);f.state===oo?(f.state=ao,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete r[u]):+u<e&&(f.state=ao,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete r[u])}if(Qr((function(){n.state===ro&&(n.state=oo,n.timer.restart(a,n.delay,n.time),a(o))})),n.state=io,n.on.call("start",t,t.__data__,n.index,n.group),n.state===io){for(n.state=ro,i=new Array(h=n.tween.length),u=0,l=-1;u<h;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(i[++l]=f);i.length=l+1}}function a(e){var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=so,1),o=-1,s=i.length;while(++o<s)i[o].call(t,r);n.state===so&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var i in n.state=ao,n.timer.stop(),delete r[e],r)return;delete t.__transition}r[e]=n,n.timer=Xr(o,0,n.time)}var po=function(t,e){var n,i,r,o=t.__transition,s=!0;if(o){for(r in e=null==e?null:e+"",o)(n=o[r]).name===e?(i=n.state>io&&n.state<so,n.state=ao,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[r]):s=!1;s&&delete t.__transition}},mo=function(t){return this.each((function(){po(this,t)}))};function go(t,e){var n,i;return function(){var r=lo(this,t),o=r.tween;if(o!==n){i=n=o;for(var s=0,a=i.length;s<a;++s)if(i[s].name===e){i=i.slice(),i.splice(s,1);break}}r.tween=i}}function vo(t,e,n){var i,r;if("function"!==typeof n)throw new Error;return function(){var o=lo(this,t),s=o.tween;if(s!==i){r=(i=s).slice();for(var a={name:e,value:n},c=0,u=r.length;c<u;++c)if(r[c].name===e){r[c]=a;break}c===u&&r.push(a)}o.tween=r}}var yo=function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,r=ho(this.node(),n).tween,o=0,s=r.length;o<s;++o)if((i=r[o]).name===t)return i.value;return null}return this.each((null==e?go:vo)(n,t,e))};function _o(t,e,n){var i=t._id;return t.each((function(){var t=lo(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return ho(t,i).value[e]}}var bo=function(t,e){var n;return("number"===typeof e?Nt:e instanceof et?St:(n=et(e))?(e=n,St):It)(t,e)};function xo(t){return function(){this.removeAttribute(t)}}function wo(t){return function(){this.removeAttributeNS(t.space,t.local)}}function ko(t,e,n){var i,r,o=n+"";return function(){var s=this.getAttribute(t);return s===o?null:s===i?r:r=e(i=s,n)}}function So(t,e,n){var i,r,o=n+"";return function(){var s=this.getAttributeNS(t.space,t.local);return s===o?null:s===i?r:r=e(i=s,n)}}function To(t,e,n){var i,r,o;return function(){var s,a,c=n(this);if(null!=c)return s=this.getAttribute(t),a=c+"",s===a?null:s===i&&a===r?o:(r=a,o=e(i=s,c));this.removeAttribute(t)}}function Mo(t,e,n){var i,r,o;return function(){var s,a,c=n(this);if(null!=c)return s=this.getAttributeNS(t.space,t.local),a=c+"",s===a?null:s===i&&a===r?o:(r=a,o=e(i=s,c));this.removeAttributeNS(t.space,t.local)}}var Co=function(t,e){var n=Nn(t),i="transform"===n?Gt:bo;return this.attrTween(t,"function"===typeof e?(n.local?Mo:To)(n,i,_o(this,"attr."+t,e)):null==e?(n.local?wo:xo)(n):(n.local?So:ko)(n,i,e))};function No(t,e){return function(n){this.setAttribute(t,e(n))}}function Eo(t,e){return function(n){this.setAttributeNS(t.space,t.local,e(n))}}function Ao(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&Eo(t,r)),n}return r._value=e,r}function $o(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&No(t,r)),n}return r._value=e,r}var jo=function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error;var i=Nn(t);return this.tween(n,(i.local?Ao:$o)(i,e))};function Oo(t,e){return function(){uo(this,t).delay=+e.apply(this,arguments)}}function Po(t,e){return e=+e,function(){uo(this,t).delay=e}}var Do=function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Oo:Po)(e,t)):ho(this.node(),e).delay};function Lo(t,e){return function(){lo(this,t).duration=+e.apply(this,arguments)}}function Fo(t,e){return e=+e,function(){lo(this,t).duration=e}}var Io=function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Lo:Fo)(e,t)):ho(this.node(),e).duration};function Ro(t,e){if("function"!==typeof e)throw new Error;return function(){lo(this,t).ease=e}}var qo=function(t){var e=this._id;return arguments.length?this.each(Ro(e,t)):ho(this.node(),e).ease},Ho=function(t){"function"!==typeof t&&(t=In(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o,s=e[r],a=s.length,c=i[r]=[],u=0;u<a;++u)(o=s[u])&&t.call(o,o.__data__,u,s)&&c.push(o);return new ps(i,this._parents,this._name,this._id)},Bo=function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),s=new Array(i),a=0;a<o;++a)for(var c,u=e[a],l=n[a],h=u.length,f=s[a]=new Array(h),p=0;p<h;++p)(c=u[p]||l[p])&&(f[p]=c);for(;a<i;++a)s[a]=e[a];return new ps(s,this._parents,this._name,this._id)};function Wo(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}function zo(t,e,n){var i,r,o=Wo(e)?uo:lo;return function(){var s=o(this,t),a=s.on;a!==i&&(r=(i=a).copy()).on(e,n),s.on=r}}var Vo=function(t,e){var n=this._id;return arguments.length<2?ho(this.node(),n).on.on(t):this.each(zo(n,t,e))};function Xo(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}var Uo=function(){return this.on("end.remove",Xo(this._id))},Go=function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=On(t));for(var i=this._groups,r=i.length,o=new Array(r),s=0;s<r;++s)for(var a,c,u=i[s],l=u.length,h=o[s]=new Array(l),f=0;f<l;++f)(a=u[f])&&(c=t.call(a,a.__data__,f,u))&&("__data__"in a&&(c.__data__=a.__data__),h[f]=c,co(h[f],e,n,f,h,ho(a,n)));return new ps(o,this._parents,e,n)},Yo=function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=Ln(t));for(var i=this._groups,r=i.length,o=[],s=[],a=0;a<r;++a)for(var c,u=i[a],l=u.length,h=0;h<l;++h)if(c=u[h]){for(var f,p=t.call(c,c.__data__,h,u),d=ho(c,n),m=0,g=p.length;m<g;++m)(f=p[m])&&co(f,e,n,m,p,d);o.push(p),s.push(c)}return new ps(o,s,e,n)},Ko=gr.prototype.constructor,Jo=function(){return new Ko(this._groups,this._parents)};function Qo(t,e){var n,i,r;return function(){var o=yi(this,t),s=(this.style.removeProperty(t),yi(this,t));return o===s?null:o===n&&s===i?r:r=e(n=o,i=s)}}function Zo(t){return function(){this.style.removeProperty(t)}}function ts(t,e,n){var i,r,o=n+"";return function(){var s=yi(this,t);return s===o?null:s===i?r:r=e(i=s,n)}}function es(t,e,n){var i,r,o;return function(){var s=yi(this,t),a=n(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=yi(this,t)),s===c?null:s===i&&c===r?o:(r=c,o=e(i=s,a))}}function ns(t,e){var n,i,r,o,s="style."+e,a="end."+s;return function(){var c=lo(this,t),u=c.on,l=null==c.value[s]?o||(o=Zo(e)):void 0;u===n&&r===l||(i=(n=u).copy()).on(a,r=l),c.on=i}}var is=function(t,e,n){var i="transform"===(t+="")?Ut:bo;return null==e?this.styleTween(t,Qo(t,i)).on("end.style."+t,Zo(t)):"function"===typeof e?this.styleTween(t,es(t,i,_o(this,"style."+t,e))).each(ns(this._id,t)):this.styleTween(t,ts(t,i,e),n).on("end.style."+t,null)};function rs(t,e,n){return function(i){this.style.setProperty(t,e(i),n)}}function os(t,e,n){var i,r;function o(){var o=e.apply(this,arguments);return o!==r&&(i=(r=o)&&rs(t,o,n)),i}return o._value=e,o}var ss=function(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!==typeof e)throw new Error;return this.tween(i,os(t,e,null==n?"":n))};function as(t){return function(){this.textContent=t}}function cs(t){return function(){var e=t(this);this.textContent=null==e?"":e}}var us=function(t){return this.tween("text","function"===typeof t?cs(_o(this,"text",t)):as(null==t?"":t+""))},ls=function(){for(var t=this._name,e=this._id,n=ms(),i=this._groups,r=i.length,o=0;o<r;++o)for(var s,a=i[o],c=a.length,u=0;u<c;++u)if(s=a[u]){var l=ho(s,e);co(s,t,n,u,a,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new ps(i,this._parents,t,n)},hs=function(){var t,e,n=this,i=n._id,r=n.size();return new Promise((function(o,s){var a={value:s},c={value:function(){0===--r&&o()}};n.each((function(){var n=lo(this,i),r=n.on;r!==t&&(e=(t=r).copy(),e._.cancel.push(a),e._.interrupt.push(a),e._.end.push(c)),n.on=e}))}))},fs=0;function ps(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function ds(t){return gr().transition(t)}function ms(){return++fs}var gs=gr.prototype;function vs(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}ps.prototype=ds.prototype={constructor:ps,select:Go,selectAll:Yo,filter:Ho,merge:Bo,selection:Jo,transition:ls,call:gs.call,nodes:gs.nodes,node:gs.node,size:gs.size,empty:gs.empty,each:gs.each,on:Vo,attr:Co,attrTween:jo,style:is,styleTween:ss,text:us,remove:Uo,tween:yo,delay:Do,duration:Io,ease:qo,end:hs};var ys=3;(function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n})(ys),function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(ys),function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(ys),Math.PI;var _s=1.70158,bs=(function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(_s),function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(_s),function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(_s),2*Math.PI),xs=1,ws=.3,ks=(function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=bs);function r(t){return e*Math.pow(2,10*--t)*Math.sin((i-t)/n)}return r.amplitude=function(e){return t(e,n*bs)},r.period=function(n){return t(e,n)},r}(xs,ws),function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=bs);function r(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/n)}return r.amplitude=function(e){return t(e,n*bs)},r.period=function(n){return t(e,n)},r}(xs,ws),function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=bs);function r(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((i-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((i+t)/n))/2}return r.amplitude=function(e){return t(e,n*bs)},r.period=function(n){return t(e,n)},r}(xs,ws),{time:null,delay:0,duration:250,ease:vs});function Ss(t,e){var n;while(!(n=t.__transition)||!(n=n[e]))if(!(t=t.parentNode))return ks.time=Wr(),ks;return n}var Ts=function(t){var e,n;t instanceof ps?(e=t._id,t=t._name):(e=ms(),(n=ks).time=Wr(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var s,a=i[o],c=a.length,u=0;u<c;++u)(s=a[u])&&co(s,t,e,u,a,n||Ss(s,e));return new ps(i,this._parents,t,e)};gr.prototype.interrupt=mo,gr.prototype.transition=Ts;var Ms=function(){tr.preventDefault(),tr.stopImmediatePropagation()},Cs=function(t){var e=t.document.documentElement,n=vr(t).on("dragstart.drag",Ms,!0);"onselectstart"in e?n.on("selectstart.drag",Ms,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function Ns(t,e){var n=t.document.documentElement,i=vr(t).on("dragstart.drag",null);e&&(i.on("click.drag",Ms,!0),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Es(t,e,n,i,r,o,s,a,c,u){this.target=t,this.type=e,this.subject=n,this.identifier=i,this.active=r,this.x=o,this.y=s,this.dx=a,this.dy=c,this._=u}Es.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var As=function(t){return function(){return t}},$s=function(t,e,n){this.target=t,this.type=e,this.selection=n};function js(){tr.stopImmediatePropagation()}var Os=function(){tr.preventDefault(),tr.stopImmediatePropagation()},Ps={name:"drag"},Ds={name:"space"},Ls={name:"handle"},Fs={name:"center"};function Is(t){return[+t[0],+t[1]]}function Rs(t){return[Is(t[0]),Is(t[1])]}function qs(t){return function(e){return Sr(e,tr.touches,t)}}var Hs={name:"x",handles:["w","e"].map(Gs),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},Bs={name:"y",handles:["n","s"].map(Gs),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Ws=(["n","w","e","s","nw","ne","sw","se"].map(Gs),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),zs={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Vs={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Xs={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Us={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Gs(t){return{type:t}}function Ys(){return!tr.ctrlKey&&!tr.button}function Ks(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Js(){return navigator.maxTouchPoints||"ontouchstart"in this}function Qs(t){while(!t.__brush)if(!(t=t.parentNode))return;return t.__brush}function Zs(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function ta(){return ea(Hs)}function ea(t){var e,n=Ks,i=Ys,r=Js,o=!0,s=Or(c,"start","brush","end"),a=6;function c(e){var n=e.property("__brush",m).selectAll(".overlay").data([Gs("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Ws.overlay).merge(n).each((function(){var t=Qs(this).extent;vr(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([Gs("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Ws.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));i.exit().remove(),i.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return Ws[t.type]})),e.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(r).on("touchstart.brush",f).on("touchmove.brush",p).on("touchend.brush touchcancel.brush",d).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var t=vr(this),e=Qs(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-a/2:e[0][0]-a/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-a/2:e[0][1]-a/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+a:a})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+a:a}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,e,n){return!n&&t.__brush.emitter||new h(t,e)}function h(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function f(){if((!e||tr.touches)&&i.apply(this,arguments)){var n,r,s,a,c,h,f,p,d,m,g,v=this,y=tr.target.__data__.type,_="selection"===(o&&tr.metaKey?y="overlay":y)?Ps:o&&tr.altKey?Fs:Ls,b=t===Bs?null:Xs[y],x=t===Hs?null:Us[y],w=Qs(v),k=w.extent,S=w.selection,T=k[0][0],M=k[0][1],C=k[1][0],N=k[1][1],E=0,A=0,$=b&&x&&o&&tr.shiftKey,j=tr.touches?qs(tr.changedTouches[0].identifier):kr,O=j(v),P=O,D=l(v,arguments,!0).beforestart();"overlay"===y?(S&&(d=!0),w.selection=S=[[n=t===Bs?T:O[0],s=t===Hs?M:O[1]],[c=t===Bs?C:n,f=t===Hs?N:s]]):(n=S[0][0],s=S[0][1],c=S[1][0],f=S[1][1]),r=n,a=s,h=c,p=f;var L=vr(v).attr("pointer-events","none"),F=L.selectAll(".overlay").attr("cursor",Ws[y]);if(tr.touches)D.moved=R,D.ended=H;else{var I=vr(tr.view).on("mousemove.brush",R,!0).on("mouseup.brush",H,!0);o&&I.on("keydown.brush",B,!0).on("keyup.brush",W,!0),Cs(tr.view)}js(),po(v),u.call(v),D.start()}function R(){var t=j(v);!$||m||g||(Math.abs(t[0]-P[0])>Math.abs(t[1]-P[1])?g=!0:m=!0),P=t,d=!0,Os(),q()}function q(){var t;switch(E=P[0]-O[0],A=P[1]-O[1],_){case Ds:case Ps:b&&(E=Math.max(T-n,Math.min(C-c,E)),r=n+E,h=c+E),x&&(A=Math.max(M-s,Math.min(N-f,A)),a=s+A,p=f+A);break;case Ls:b<0?(E=Math.max(T-n,Math.min(C-n,E)),r=n+E,h=c):b>0&&(E=Math.max(T-c,Math.min(C-c,E)),r=n,h=c+E),x<0?(A=Math.max(M-s,Math.min(N-s,A)),a=s+A,p=f):x>0&&(A=Math.max(M-f,Math.min(N-f,A)),a=s,p=f+A);break;case Fs:b&&(r=Math.max(T,Math.min(C,n-E*b)),h=Math.max(T,Math.min(C,c+E*b))),x&&(a=Math.max(M,Math.min(N,s-A*x)),p=Math.max(M,Math.min(N,f+A*x)));break}h<r&&(b*=-1,t=n,n=c,c=t,t=r,r=h,h=t,y in zs&&F.attr("cursor",Ws[y=zs[y]])),p<a&&(x*=-1,t=s,s=f,f=t,t=a,a=p,p=t,y in Vs&&F.attr("cursor",Ws[y=Vs[y]])),w.selection&&(S=w.selection),m&&(r=S[0][0],h=S[1][0]),g&&(a=S[0][1],p=S[1][1]),S[0][0]===r&&S[0][1]===a&&S[1][0]===h&&S[1][1]===p||(w.selection=[[r,a],[h,p]],u.call(v),D.brush())}function H(){if(js(),tr.touches){if(tr.touches.length)return;e&&clearTimeout(e),e=setTimeout((function(){e=null}),500)}else Ns(tr.view,d),I.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);L.attr("pointer-events","all"),F.attr("cursor",Ws.overlay),w.selection&&(S=w.selection),Zs(S)&&(w.selection=null,u.call(v)),D.end()}function B(){switch(tr.keyCode){case 16:$=b&&x;break;case 18:_===Ls&&(b&&(c=h-E*b,n=r+E*b),x&&(f=p-A*x,s=a+A*x),_=Fs,q());break;case 32:_!==Ls&&_!==Fs||(b<0?c=h-E:b>0&&(n=r-E),x<0?f=p-A:x>0&&(s=a-A),_=Ds,F.attr("cursor",Ws.selection),q());break;default:return}Os()}function W(){switch(tr.keyCode){case 16:$&&(m=g=$=!1,q());break;case 18:_===Fs&&(b<0?c=h:b>0&&(n=r),x<0?f=p:x>0&&(s=a),_=Ls,q());break;case 32:_===Ds&&(tr.altKey?(b&&(c=h-E*b,n=r+E*b),x&&(f=p-A*x,s=a+A*x),_=Fs):(b<0?c=h:b>0&&(n=r),x<0?f=p:x>0&&(s=a),_=Ls),F.attr("cursor",Ws[y]),q());break;default:return}Os()}}function p(){l(this,arguments).moved()}function d(){l(this,arguments).ended()}function m(){var e=this.__brush||{selection:null};return e.extent=Rs(n.apply(this,arguments)),e.dim=t,e}return c.move=function(e,n){e.selection?e.on("start.brush",(function(){l(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){l(this,arguments).end()})).tween("brush",(function(){var e=this,i=e.__brush,r=l(e,arguments),o=i.selection,s=t.input("function"===typeof n?n.apply(this,arguments):n,i.extent),a=Rt(o,s);function c(t){i.selection=1===t&&null===s?null:a(t),u.call(e),r.brush()}return null!==o&&null!==s?c:c(1)})):e.each((function(){var e=this,i=arguments,r=e.__brush,o=t.input("function"===typeof n?n.apply(e,i):n,r.extent),s=l(e,i).beforestart();po(e),r.selection=null===o?null:o,u.call(e),s.start().brush().end()}))},c.clear=function(t){c.move(t,null)},h.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){cr(new $s(c,e,t.output(this.state.selection)),s.apply,s,[e,this.that,this.args])}},c.extent=function(t){return arguments.length?(n="function"===typeof t?t:As(Rs(t)),c):n},c.filter=function(t){return arguments.length?(i="function"===typeof t?t:As(!!t),c):i},c.handleSize=function(t){return arguments.length?(a=+t,c):a},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=s.on.apply(s,arguments);return t===s?c:t},c}var na=n("1157"),ia={name:"HistogramSlider",props:k,data:function(){var t=Math.random().toString(36).substr(2);return{id:"vue-histogram-".concat(t),histogramId:"histogram-slider-".concat(t),clipId:"clip-".concat(t)}},computed:{style:function(){return"\n        width: ".concat(this.width,"px;\n        --primary-color: ").concat(this.primaryColor,";\n        --label-color: ").concat(this.labelColor,";\n        --holder-color: ").concat(this.holderColor,";\n        --handle-color: ").concat(this.handleColor,";\n        --grid-text-color: ").concat(this.gridTextColor,";\n        --line-height: ").concat(this.lineHeight,"px;\n        --font-family: ").concat(this.fontFamily,";\n        --font-size: ").concat(this.fontSize,";\n        --hist-slider-gap: ").concat(-36+this.histSliderGap,"px;\n        --handle-size: ").concat(this.handleSize,"px;\n      ")}},methods:{update:function(t){var e=t.from,n=t.to;this.ionRangeSlider&&(this.ionRangeSlider.update({from:e,to:n}),this.updateBarColor({from:e,to:n}))}},mounted:function(){var t,e,n,i,r,o,s,a,c=this,u=this.width-20,l=this.min||mn(this.data),h=this.max||gn(this.data),f="single"==this.type;this.updateBarColor=function(t){var e=ds().duration(c.transitionDuration);ds(e).selectAll(".vue-histogram-slider-bar-".concat(c.id)).attr("fill",(function(e){return f?e.x0<t.from?s(e.x0):c.holderColor:e.x0<=t.to&&e.x0>=t.from?s(e.x0):c.holderColor}))},n=dn().domain([l,h]).range([0,u]).clamp(!0),i=dn().range([this.barHeight,0]),t=vr("#".concat(this.id)).attr("width",u).attr("height",this.barHeight).on("dblclick",(function(){if(c.clip){n.domain([l,h]),p([l,h]);var t={from:l,to:h};c.update(t),c.$emit("finish",t),c.$emit("change",t)}})),r=t.append("g").attr("class","histogram"),this.clip&&r.attr("clip-path","url(#".concat(this.clipId,")")),s=this.colors?dn().domain([l,h]).range(this.colors):function(){return c.primaryColor};var p=function(t){var a=m(t,2),l=a[0],h=a[1],p=ds().duration(c.transitionDuration);r.selectAll(".vue-histogram-slider-bar-".concat(c.id)).remove(),e=Tn().domain(n.domain()).thresholds(u/(c.barWidth+c.barGap)),o=e(c.data),i.domain([0,gn(o,(function(t){return t.length}))]),r.selectAll(".vue-histogram-slider-bar-".concat(c.id)).data(o).enter().insert("rect","rect.overlay").attr("class","vue-histogram-slider-bar-".concat(c.id)).attr("x",(function(t){return n(t.x0)})).attr("y",(function(t){return i(t.length)})).attr("rx",c.barRadius).attr("width",c.barWidth).transition(p).attr("height",(function(t){return c.barHeight-i(t.length)})).attr("fill",(function(t){return f?c.holderColor:s(t.x0)})),c.ionRangeSlider&&c.ionRangeSlider.destroy(),c.histSlider=na("#".concat(c.histogramId)).ionRangeSlider({skin:"round",min:l,max:h,from:l,to:h,type:c.type,grid:c.grid,step:c.step,from_fixed:c.fromFixed,to_fixed:c.toFixed,hide_min_max:c.hideMinMax,hide_from_to:c.hideFromTo,force_edges:c.forceEdges,drag_interval:c.dragInterval,grid_num:c.Number,block:c.block,keyboard:c.keyboard,prettify:c.prettify,onStart:function(t){c.$emit("start",t)},onUpdate:function(t){c.$emit("update",t)},onFinish:function(t){c.updateColorOnChange||c.updateBarColor(t),c.$emit("finish",t)},onChange:function(t){c.updateColorOnChange&&c.updateBarColor(t),c.$emit("change",t)}}),c.ionRangeSlider=c.histSlider.data("ionRangeSlider"),setTimeout((function(){return c.updateBarColor(c.ionRangeSlider.result)}),c.transitionDuration+10)};this.clip&&(a=ta().on("end",(function(){var t=tr.selection;if(t){var e=[n.invert(t[0]),n.invert(t[1])];n.domain(e);var i={from:Math.max(e[0],c.ionRangeSlider.result.from),to:Math.min(e[1],c.ionRangeSlider.result.to)};c.$emit("finish",i),c.$emit("change",i),p(e),r.call(a.clear)}})),r.call(a)),p([l,h])},destroyed:function(){this.ionRangeSlider.destroy()}},ra=ia;n("5edd");function oa(t,e,n,i,r,o,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):r&&(c=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:u}}var sa=oa(ra,r,o,!1,null,null,null),aa=sa.exports;e["default"]=aa},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})["default"]}));
//# sourceMappingURL=histogram-slider.umd.min.js.map