UNPKG

314 kBJavaScriptView Raw
1/*! northdata-frontend V1.194.15 */!function(){var t={8495:function(t,e,n){var r,i;r=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function a(t,e){return a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},a(t,e)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?s(t):e}function l(t){var e=u();return function(){var n,r=o(t);if(e){var i=o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function f(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}function h(t,e,n){return h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=f(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}},h(t,e,n||t)}var d=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e,n){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push({callback:e,options:n})}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var n=this.listeners[t],r=0,i=n.length;r<i;r++)if(n[r].callback===e)return void n.splice(r,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),n=0,r=e.length;n<r;n++){var i=e[n];try{i.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}i.options&&i.options.once&&this.removeEventListener(t.type,i.callback)}return!t.defaultPrevented}}}]),e}(),p=function(e){i(a,e);var n=l(a);function a(){var e;return t(this,a),(e=n.call(this)).listeners||d.call(s(e)),Object.defineProperty(s(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(s(e),"onabort",{value:null,writable:!0,configurable:!0}),e}return r(a,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),h(o(a.prototype),"dispatchEvent",this).call(this,t)}}]),a}(d),v=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new p,writable:!0,configurable:!0})}return r(e,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function g(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function y(t){"function"==typeof t&&(t={fetch:t});var e=t,n=e.fetch,r=e.Request,i=void 0===r?n.Request:r,o=e.AbortController,a=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,u=void 0!==a&&a;if(!g({fetch:n,Request:i,AbortController:o,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:u}))return{fetch:n,Request:s};var s=i;(s&&!s.prototype.hasOwnProperty("signal")||u)&&((s=function(t,e){var n;e&&e.signal&&(n=e.signal,delete e.signal);var r=new i(t,e);return n&&Object.defineProperty(r,"signal",{writable:!1,enumerable:!1,configurable:!0,value:n}),r}).prototype=i.prototype);var c=n;return{fetch:function(t,e){var n=s&&s.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(n){var r;try{r=new DOMException("Aborted","AbortError")}catch(t){(r=new Error("Aborted")).name="AbortError"}if(n.aborted)return Promise.reject(r);var i=new Promise((function(t,e){n.addEventListener("abort",(function(){return e(r)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([i,c(t,e)])}return c(t,e)},Request:s}}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(v.prototype[Symbol.toStringTag]="AbortController",p.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(g(t))if(t.fetch){var e=y(t),n=e.fetch,r=e.Request;t.fetch=n,t.Request=r,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:v}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:p})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:n.g)},void 0===(i="function"==typeof r?r.call(e,n,e,t):r)||(t.exports=i)},4065:function(t,e,n){"use strict";function r(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function i(t){var e;return 1===t.length&&(e=t,t=function(t,n){return r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}}n.r(e),n.d(e,{ascending:function(){return r},bisect:function(){return s},bisectLeft:function(){return u},bisectRight:function(){return a},bisector:function(){return i},cross:function(){return f},descending:function(){return h},deviation:function(){return v},extent:function(){return g},histogram:function(){return N},max:function(){return j},mean:function(){return Z},median:function(){return L},merge:function(){return R},min:function(){return q},pairs:function(){return c},permute:function(){return I},quantile:function(){return O},range:function(){return _},scan:function(){return H},shuffle:function(){return F},sum:function(){return B},thresholdFreedmanDiaconis:function(){return D},thresholdScott:function(){return P},thresholdSturges:function(){return E},tickIncrement:function(){return C},tickStep:function(){return S},ticks:function(){return A},transpose:function(){return U},variance:function(){return p},zip:function(){return z}});var o=i(r),a=o.right,u=o.left,s=a;function c(t,e){null==e&&(e=l);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return o}function l(t,e){return[t,e]}function f(t,e,n){var r,i,o,a,u=t.length,s=e.length,c=new Array(u*s);for(null==n&&(n=l),r=o=0;r<u;++r)for(a=t[r],i=0;i<s;++i,++o)c[o]=n(a,e[i]);return c}function h(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function d(t){return null===t?NaN:+t}function p(t,e){var n,r,i=t.length,o=0,a=-1,u=0,s=0;if(null==e)for(;++a<i;)isNaN(n=d(t[a]))||(s+=(r=n-u)*(n-(u+=r/++o)));else for(;++a<i;)isNaN(n=d(e(t[a],a,t)))||(s+=(r=n-u)*(n-(u+=r/++o)));if(o>1)return s/(o-1)}function v(t,e){var n=p(t,e);return n?Math.sqrt(n):n}function g(t,e){var n,r,i,o=t.length,a=-1;if(null==e){for(;++a<o;)if(null!=(n=t[a])&&n>=n)for(r=i=n;++a<o;)null!=(n=t[a])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++a<o;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=i=n;++a<o;)null!=(n=e(t[a],a,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var y=Array.prototype,m=y.slice,b=y.map;function x(t){return function(){return t}}function w(t){return t}function _(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}var k=Math.sqrt(50),T=Math.sqrt(10),M=Math.sqrt(2);function A(t,e,n){var r,i,o,a,u=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=C(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++u<i;)o[u]=(t+u)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));++u<i;)o[u]=(t-u)/a;return r&&o.reverse(),o}function C(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=k?10:o>=T?5:o>=M?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=k?10:o>=T?5:o>=M?2:1)}function S(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=k?i*=10:o>=T?i*=5:o>=M&&(i*=2),e<t?-i:i}function E(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function N(){var t=w,e=g,n=E;function r(r){var i,o,a=r.length,u=new Array(a);for(i=0;i<a;++i)u[i]=t(r[i],i,r);var c=e(u),l=c[0],f=c[1],h=n(u,l,f);Array.isArray(h)||(h=S(l,f,h),h=_(Math.ceil(l/h)*h,f,h));for(var d=h.length;h[0]<=l;)h.shift(),--d;for(;h[d-1]>f;)h.pop(),--d;var p,v=new Array(d+1);for(i=0;i<=d;++i)(p=v[i]=[]).x0=i>0?h[i-1]:l,p.x1=i<d?h[i]:f;for(i=0;i<a;++i)l<=(o=u[i])&&o<=f&&v[s(h,o,0,d)].push(r[i]);return v}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:x(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:x([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?x(m.call(t)):x(t),r):n},r}function O(t,e,n){if(null==n&&(n=d),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function D(t,e,n){return t=b.call(t,d).sort(r),Math.ceil((n-e)/(2*(O(t,.75)-O(t,.25))*Math.pow(t.length,-1/3)))}function P(t,e,n){return Math.ceil((n-e)/(3.5*v(t)*Math.pow(t.length,-1/3)))}function j(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&n>r&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&n>r&&(r=n);return r}function Z(t,e){var n,r=t.length,i=r,o=-1,a=0;if(null==e)for(;++o<r;)isNaN(n=d(t[o]))?--i:a+=n;else for(;++o<r;)isNaN(n=d(e(t[o],o,t)))?--i:a+=n;if(i)return a/i}function L(t,e){var n,i=t.length,o=-1,a=[];if(null==e)for(;++o<i;)isNaN(n=d(t[o]))||a.push(n);else for(;++o<i;)isNaN(n=d(e(t[o],o,t)))||a.push(n);return O(a.sort(r),.5)}function R(t){for(var e,n,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(n=new Array(a);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--a]=r[e];return n}function q(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&r>n&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&r>n&&(r=n);return r}function I(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r}function H(t,e){if(n=t.length){var n,i,o=0,a=0,u=t[a];for(null==e&&(e=r);++o<n;)(e(i=t[o],u)<0||0!==e(u,u))&&(u=i,a=o);return 0===e(u,u)?a:void 0}}function F(t,e,n){for(var r,i,o=(null==n?t.length:n)-(e=null==e?0:+e);o;)i=Math.random()*o--|0,r=t[o+e],t[o+e]=t[i+e],t[i+e]=r;return t}function B(t,e){var n,r=t.length,i=-1,o=0;if(null==e)for(;++i<r;)(n=+t[i])&&(o+=n);else for(;++i<r;)(n=+e(t[i],i,t))&&(o+=n);return o}function U(t){if(!(i=t.length))return[];for(var e=-1,n=q(t,W),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r}function W(t){return t.length}function z(){return U(arguments)}},6216:function(t,e,n){"use strict";n.r(e),n.d(e,{axisBottom:function(){return p},axisLeft:function(){return v},axisRight:function(){return d},axisTop:function(){return h}});var r=Array.prototype.slice;function i(t){return t}var o=1e-6;function a(t){return"translate("+(t+.5)+",0)"}function u(t){return"translate(0,"+(t+.5)+")"}function s(t){return function(e){return+t(e)}}function c(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function l(){return!this.__axis}function f(t,e){var n=[],f=null,h=null,d=6,p=6,v=3,g=1===t||4===t?-1:1,y=4===t||2===t?"x":"y",m=1===t||3===t?a:u;function b(r){var a=null==f?e.ticks?e.ticks.apply(e,n):e.domain():f,u=null==h?e.tickFormat?e.tickFormat.apply(e,n):i:h,b=Math.max(d,0)+v,x=e.range(),w=+x[0]+.5,_=+x[x.length-1]+.5,k=(e.bandwidth?c:s)(e.copy()),T=r.selection?r.selection():r,M=T.selectAll(".domain").data([null]),A=T.selectAll(".tick").data(a,e).order(),C=A.exit(),S=A.enter().append("g").attr("class","tick"),E=A.select("line"),N=A.select("text");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(S),E=E.merge(S.append("line").attr("stroke","currentColor").attr(y+"2",g*d)),N=N.merge(S.append("text").attr("fill","currentColor").attr(y,g*b).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),r!==T&&(M=M.transition(r),A=A.transition(r),E=E.transition(r),N=N.transition(r),C=C.transition(r).attr("opacity",o).attr("transform",(function(t){return isFinite(t=k(t))?m(t):this.getAttribute("transform")})),S.attr("opacity",o).attr("transform",(function(t){var e=this.parentNode.__axis;return m(e&&isFinite(e=e(t))?e:k(t))}))),C.remove(),M.attr("d",4===t||2==t?p?"M"+g*p+","+w+"H0.5V"+_+"H"+g*p:"M0.5,"+w+"V"+_:p?"M"+w+","+g*p+"V0.5H"+_+"V"+g*p:"M"+w+",0.5H"+_),A.attr("opacity",1).attr("transform",(function(t){return m(k(t))})),E.attr(y+"2",g*d),N.attr(y,g*b).text(u),T.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),T.each((function(){this.__axis=k}))}return b.scale=function(t){return arguments.length?(e=t,b):e},b.ticks=function(){return n=r.call(arguments),b},b.tickArguments=function(t){return arguments.length?(n=null==t?[]:r.call(t),b):n.slice()},b.tickValues=function(t){return arguments.length?(f=null==t?null:r.call(t),b):f&&f.slice()},b.tickFormat=function(t){return arguments.length?(h=t,b):h},b.tickSize=function(t){return arguments.length?(d=p=+t,b):d},b.tickSizeInner=function(t){return arguments.length?(d=+t,b):d},b.tickSizeOuter=function(t){return arguments.length?(p=+t,b):p},b.tickPadding=function(t){return arguments.length?(v=+t,b):v},b}function h(t){return f(1,t)}function d(t){return f(2,t)}function p(t){return f(3,t)}function v(t){return f(4,t)}},1654:function(t,e,n){"use strict";n.d(e,{UI:function(){return a}});var r="$";function i(){}function o(t,e){var n=new i;if(t instanceof i)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,o=-1,a=t.length;if(null==e)for(;++o<a;)n.set(o,t[o]);else for(;++o<a;)n.set(e(r=t[o],o,t),r)}else if(t)for(var u in t)n.set(u,t[u]);return n}i.prototype=o.prototype={constructor:i,has:function(t){return r+t in this},get:function(t){return this[r+t]},set:function(t,e){return this[r+t]=e,this},remove:function(t){var e=r+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===r&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===r&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===r&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===r&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===r&&++t;return t},empty:function(){for(var t in this)if(t[0]===r)return!1;return!0},each:function(t){for(var e in this)e[0]===r&&t(this[e],e.slice(1),this)}};var a=o;function u(){}var s=a.prototype;function c(t,e){var n=new u;if(t instanceof u)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}u.prototype=c.prototype={constructor:u,has:s.has,add:function(t){return this[r+(t+="")]=t,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},6372:function(t,e,n){"use strict";n.d(e,{B8:function(){return T},Il:function(){return i},J5:function(){return a},SU:function(){return k},Ss:function(){return M},Ym:function(){return O},ZP:function(){return x},xV:function(){return o}});var r=n(4087);function i(){}var o=.7,a=1/o,u="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),d=new RegExp("^rgba\\("+[u,u,u,s]+"\\)$"),p=new RegExp("^rgba\\("+[c,c,c,s]+"\\)$"),v=new RegExp("^hsl\\("+[s,c,c]+"\\)$"),g=new RegExp("^hsla\\("+[s,c,c,s]+"\\)$"),y={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 m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?w(e):3===n?new M(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?_(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?_(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=f.exec(t))?new M(e[1],e[2],e[3],1):(e=h.exec(t))?new M(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?_(e[1],e[2],e[3],e[4]):(e=p.exec(t))?_(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=v.exec(t))?E(e[1],e[2]/100,e[3]/100,1):(e=g.exec(t))?E(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?w(y[t]):"transparent"===t?new M(NaN,NaN,NaN,0):null}function w(t){return new M(t>>16&255,t>>8&255,255&t,1)}function _(t,e,n,r){return r<=0&&(t=e=n=NaN),new M(t,e,n,r)}function k(t){return t instanceof i||(t=x(t)),t?new M((t=t.rgb()).r,t.g,t.b,t.opacity):new M}function T(t,e,n,r){return 1===arguments.length?k(t):new M(t,e,n,null==r?1:r)}function M(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function A(){return"#"+S(this.r)+S(this.g)+S(this.b)}function C(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(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 S(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function E(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new D(t,e,n,r)}function N(t){if(t instanceof D)return new D(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=x(t)),!t)return new D;if(t instanceof D)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),a=Math.max(e,n,r),u=NaN,s=a-o,c=(a+o)/2;return s?(u=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+o:2-a-o,u*=60):s=c>0&&c<1?0:u,new D(u,s,c,t.opacity)}function O(t,e,n,r){return 1===arguments.length?N(t):new D(t,e,n,null==r?1:r)}function D(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function P(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}(0,r.Z)(i,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHsl:function(){return N(this).formatHsl()},formatRgb:b,toString:b}),(0,r.Z)(M,T,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new M(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new M(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:A,formatHex:A,formatRgb:C,toString:C})),(0,r.Z)(D,O,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new D(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new D(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,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new M(P(t>=240?t-240:t+120,i,r),P(t,i,r),P(t<120?t+240:t-120,i,r),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(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},4087:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,{Z:function(){return r},l:function(){return i}})},2626:function(t,e){"use strict";var n={value:function(){}};function r(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new i(r)}function i(t){this._=t}function o(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function a(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function u(t,e,r){for(var i=0,o=t.length;i<o;++i)if(t[i].name===e){t[i]=n,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=r&&t.push({name:e,value:r}),t}i.prototype=r.prototype={constructor:i,on:function(t,e){var n,r=this._,i=o(t+"",r),s=-1,c=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++s<c;)if(n=(t=i[s]).type)r[n]=u(r[n],t.name,e);else if(null==e)for(n in r)r[n]=u(r[n],t.name,null);return this}for(;++s<c;)if((n=(t=i[s]).type)&&(n=a(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new i(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}},e.Z=r},8258:function(t,e,n){"use strict";n.r(e),n.d(e,{dispatch:function(){return r.Z}});var r=n(2626)},5119:function(t,e,n){"use strict";function r(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function i(t,e){return fetch(t,e).then(r)}n.d(e,{Z:function(){return i}})},7539:function(t,e,n){"use strict";n.d(e,{WU:function(){return i},jH:function(){return o}});var r,i,o,a,u=n(3363);a={decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"},r=(0,u.Z)(a),i=r.format,o=r.formatPrefix},3085:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(8885);function i(t){return(t=(0,r.Z)(Math.abs(t)))?t[1]:NaN}},8885:function(t,e,n){"use strict";function r(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{Z:function(){return r}})},6196:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new o({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 o(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+""}i.prototype=o.prototype,o.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}},3363:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(3085);var i=n(6196);var o,a=n(8885);function u(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var s={"%":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 u(100*t,e)},r:u,s:function(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var r=n[0],i=n[1],u=i-(o=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return u===s?r:u>s?r+new Array(u-s+1).join("0"):u>0?r.slice(0,u)+"."+r.slice(u):"0."+new Array(1-u).join("0")+(0,a.Z)(t,Math.max(0,e+u-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function c(t){return t}var l=Array.prototype.map,f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function h(t){var e,n,a=void 0===t.grouping||void 0===t.thousands?c:(e=l.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=e[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(t.substring(i-=u,i+u)),!((s+=u+1)>r));)u=e[a=(a+1)%e.length];return o.reverse().join(n)}),u=void 0===t.currency?"":t.currency[0]+"",h=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?c:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(l.call(t.numerals,String)),v=void 0===t.percent?"%":t.percent+"",g=void 0===t.minus?"-":t.minus+"",y=void 0===t.nan?"NaN":t.nan+"";function m(t){var e=(t=(0,i.Z)(t)).fill,n=t.align,r=t.sign,c=t.symbol,l=t.zero,m=t.width,b=t.comma,x=t.precision,w=t.trim,_=t.type;"n"===_?(b=!0,_="g"):s[_]||(void 0===x&&(x=12),w=!0,_="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var k="$"===c?u:"#"===c&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",T="$"===c?h:/[%p]/.test(_)?v:"",M=s[_],A=/[defgprs%]/.test(_);function C(t){var i,u,s,c=k,h=T;if("c"===_)h=M(t)+h,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?y:M(Math.abs(t),x),w&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),v&&0==+t&&"+"!==r&&(v=!1),c=(v?"("===r?r:g:"-"===r||"("===r?"":r)+c,h=("s"===_?f[8+o/3]:"")+h+(v&&"("===r?")":""),A)for(i=-1,u=t.length;++i<u;)if(48>(s=t.charCodeAt(i))||s>57){h=(46===s?d+t.slice(i+1):t.slice(i))+h,t=t.slice(0,i);break}}b&&!l&&(t=a(t,1/0));var C=c.length+t.length+h.length,S=C<m?new Array(m-C+1).join(e):"";switch(b&&l&&(t=a(S+t,S.length?m-h.length:1/0),S=""),n){case"<":t=c+t+h+S;break;case"=":t=c+S+t+h;break;case"^":t=S.slice(0,C=S.length>>1)+c+t+h+S.slice(C);break;default:t=S+c+t+h}return p(t)}return x=void 0===x?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),C.toString=function(){return t+""},C}return{format:m,formatPrefix:function(t,e){var n=m(((t=(0,i.Z)(t)).type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(e)/3))),a=Math.pow(10,-o),u=f[8+o/3];return function(t){return n(a*t)+u}}}}},8195:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(3085);function i(t){return Math.max(0,-(0,r.Z)(Math.abs(t)))}},3726:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(3085);function i(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(e)/3)))-(0,r.Z)(Math.abs(t)))}},7655:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(3085);function i(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,(0,r.Z)(e)-(0,r.Z)(t))+1}},5910:function(t,e,n){"use strict";n.d(e,{ZP:function(){return u},wx:function(){return o},yi:function(){return a}});var r=n(5302);function i(t,e){return function(n){return t+n*e}}function o(t,e){var n=e-t;return n?i(t,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.Z)(isNaN(t)?e:t)}function a(t){return 1==(t=+t)?u:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):(0,r.Z)(isNaN(e)?n:e)}}function u(t,e){var n=e-t;return n?i(t,n):(0,r.Z)(isNaN(t)?e:t)}},5302:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},3626:function(t,e,n){"use strict";function r(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}n.d(e,{Z:function(){return r}})},3474:function(t,e,n){"use strict";n.d(e,{ZP:function(){return a}});var r=n(6372);function i(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}var o=n(5910),a=function t(e){var n=(0,o.yi)(e);function i(t,e){var i=n((t=(0,r.B8)(t)).r,(e=(0,r.B8)(e)).r),a=n(t.g,e.g),u=n(t.b,e.b),s=(0,o.ZP)(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=a(e),t.b=u(e),t.opacity=s(e),t+""}}return i.gamma=t,i}(1);function u(t){return function(e){var n,i,o=e.length,a=new Array(o),u=new Array(o),s=new Array(o);for(n=0;n<o;++n)i=(0,r.B8)(e[n]),a[n]=i.r||0,u[n]=i.g||0,s[n]=i.b||0;return a=t(a),u=t(u),s=t(s),i.opacity=1,function(t){return i.r=a(t),i.g=u(t),i.b=s(t),i+""}}}u((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],a=t[r+1],u=r>0?t[r-1]:2*o-a,s=r<e-1?t[r+2]:2*a-o;return i((n-r/e)*e,u,o,a,s)}})),u((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],a=t[r%e],u=t[(r+1)%e],s=t[(r+2)%e];return i((n-r/e)*e,o,a,u,s)}}))},5720:function(t,e,n){"use strict";function r(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}n.d(e,{Z:function(){return r}})},9843:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(3626),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function a(t,e){var n,a,u,s=i.lastIndex=o.lastIndex=0,c=-1,l=[],f=[];for(t+="",e+="";(n=i.exec(t))&&(a=o.exec(e));)(u=a.index)>s&&(u=e.slice(s,u),l[c]?l[c]+=u:l[++c]=u),(n=n[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,f.push({i:c,x:(0,r.Z)(n,a)})),s=o.lastIndex;return s<e.length&&(u=e.slice(s),l[c]?l[c]+=u:l[++c]=u),l.length<2?f[0]?function(t){return function(e){return t(e)+""}}(f[0].x):function(t){return function(){return t}}(e):(e=f.length,function(t){for(var n,r=0;r<e;++r)l[(n=f[r]).i]=n.x(t);return l.join("")})}},3172:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(6372),i=n(3474);function o(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=h(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function a(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}var u=n(3626);function s(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=h(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var c=n(9843),l=n(5302);function f(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function h(t,e){var n,h,d=typeof e;return null==e||"boolean"===d?(0,l.Z)(e):("number"===d?u.Z:"string"===d?(n=(0,r.ZP)(e))?(e=n,i.ZP):c.Z:e instanceof r.ZP?i.ZP:e instanceof Date?a:(h=e,!ArrayBuffer.isView(h)||h instanceof DataView?Array.isArray(e)?o:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?s:u.Z:f))(t,e)}},1108:function(t,e){"use strict";var n=Math.PI,r=2*n,i=1e-6,o=r-i;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function u(){return new a}a.prototype=u.prototype={constructor:a,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,r,o,a){t=+t,e=+e,r=+r,o=+o,a=+a;var u=this._x1,s=this._y1,c=r-t,l=o-e,f=u-t,h=s-e,d=f*f+h*h;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(d>i)if(Math.abs(h*c-l*f)>i&&a){var p=r-u,v=o-s,g=c*c+l*l,y=p*p+v*v,m=Math.sqrt(g),b=Math.sqrt(d),x=a*Math.tan((n-Math.acos((g+d-y)/(2*m*b)))/2),w=x/b,_=x/m;Math.abs(w-1)>i&&(this._+="L"+(t+w*f)+","+(e+w*h)),this._+="A"+a+","+a+",0,0,"+ +(h*p>f*v)+","+(this._x1=t+_*c)+","+(this._y1=e+_*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,a,u,s,c){t=+t,e=+e,c=!!c;var l=(a=+a)*Math.cos(u),f=a*Math.sin(u),h=t+l,d=e+f,p=1^c,v=c?u-s:s-u;if(a<0)throw new Error("negative radius: "+a);null===this._x1?this._+="M"+h+","+d:(Math.abs(this._x1-h)>i||Math.abs(this._y1-d)>i)&&(this._+="L"+h+","+d),a&&(v<0&&(v=v%r+r),v>o?this._+="A"+a+","+a+",0,1,"+p+","+(t-l)+","+(e-f)+"A"+a+","+a+",0,1,"+p+","+(this._x1=h)+","+(this._y1=d):v>i&&(this._+="A"+a+","+a+",0,"+ +(v>=n)+","+p+","+(this._x1=t+a*Math.cos(s))+","+(this._y1=e+a*Math.sin(s))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.Z=u},8463:function(t,e,n){"use strict";n.d(e,{ti:function(){return f},BY:function(){return N},Xf:function(){return X}});var r=n(4065);function i(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var o=n(1654),a=Array.prototype,u=a.map,s=a.slice,c={name:"implicit"};function l(){var t=(0,o.UI)(),e=[],n=[],r=c;function a(i){var o=i+"",a=t.get(o);if(!a){if(r!==c)return r;t.set(o,a=e.push(i))}return n[(a-1)%n.length]}return a.domain=function(n){if(!arguments.length)return e.slice();e=[],t=(0,o.UI)();for(var r,i,u=-1,s=n.length;++u<s;)t.has(i=(r=n[u])+"")||t.set(i,e.push(r));return a},a.range=function(t){return arguments.length?(n=s.call(t),a):n.slice()},a.unknown=function(t){return arguments.length?(r=t,a):r},a.copy=function(){return l(e,n).unknown(r)},i.apply(a,arguments),a}function f(){var t,e,n=l().unknown(void 0),o=n.domain,a=n.range,u=[0,1],s=!1,c=0,h=0,d=.5;function p(){var n=o().length,i=u[1]<u[0],l=u[i-0],f=u[1-i];t=(f-l)/Math.max(1,n-c+2*h),s&&(t=Math.floor(t)),l+=(f-l-t*(n-c))*d,e=t*(1-c),s&&(l=Math.round(l),e=Math.round(e));var p=(0,r.range)(n).map((function(e){return l+t*e}));return a(i?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(o(t),p()):o()},n.range=function(t){return arguments.length?(u=[+t[0],+t[1]],p()):u.slice()},n.rangeRound=function(t){return u=[+t[0],+t[1]],s=!0,p()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(s=!!t,p()):s},n.padding=function(t){return arguments.length?(c=Math.min(1,h=+t),p()):c},n.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),p()):c},n.paddingOuter=function(t){return arguments.length?(h=+t,p()):h},n.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),p()):d},n.copy=function(){return f(o(),u).round(s).paddingInner(c).paddingOuter(h).align(d)},i.apply(p(),arguments)}var h=n(3172),d=n(3626),p=n(5720);function v(t){return+t}var g=[0,1];function y(t){return t}function m(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function b(t){var e,n=t[0],r=t[t.length-1];return n>r&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function x(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=m(i,r),o=n(a,o)):(r=m(r,i),o=n(o,a)),function(t){return o(r(t))}}function w(t,e,n){var i=Math.min(t.length,e.length)-1,o=new Array(i),a=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++u<i;)o[u]=m(t[u],t[u+1]),a[u]=n(e[u],e[u+1]);return function(e){var n=(0,r.bisect)(t,e,1,i)-1;return a[n](o[n](e))}}function _(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function k(t,e){return function(){var t,e,n,r,i,o,a=g,c=g,l=h.Z,f=y;function m(){return r=Math.min(a.length,c.length)>2?w:x,i=o=null,_}function _(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),c,l)))(t(f(e)))}return _.invert=function(n){return f(e((o||(o=r(c,a.map(t),d.Z)))(n)))},_.domain=function(t){return arguments.length?(a=u.call(t,v),f===y||(f=b(a)),m()):a.slice()},_.range=function(t){return arguments.length?(c=s.call(t),m()):c.slice()},_.rangeRound=function(t){return c=s.call(t),l=p.Z,m()},_.clamp=function(t){return arguments.length?(f=t?b(a):y,_):f!==y},_.interpolate=function(t){return arguments.length?(l=t,m()):l},_.unknown=function(t){return arguments.length?(n=t,_):n},function(n,r){return t=n,e=r,m()}}()(t,e)}var T=n(6196),M=n(3726),A=n(7539),C=n(7655),S=n(8195);function E(t){var e=t.domain;return t.ticks=function(t){var n=e();return(0,r.ticks)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return function(t,e,n,i){var o,a=(0,r.tickStep)(t,e,n);switch((i=(0,T.Z)(null==i?",f":i)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(o=(0,M.Z)(a,u))||(i.precision=o),(0,A.jH)(i,u);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=(0,C.Z)(a,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=(0,S.Z)(a))||(i.precision=o-2*("%"===i.type))}return(0,A.WU)(i)}(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,o=e(),a=0,u=o.length-1,s=o[a],c=o[u];return c<s&&(i=s,s=c,c=i,i=a,a=u,u=i),(i=(0,r.tickIncrement)(s,c,n))>0?(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,i=(0,r.tickIncrement)(s,c,n)):i<0&&(s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i,i=(0,r.tickIncrement)(s,c,n)),i>0?(o[a]=Math.floor(s/i)*i,o[u]=Math.ceil(c/i)*i,e(o)):i<0&&(o[a]=Math.ceil(s*i)/i,o[u]=Math.floor(c*i)/i,e(o)),t},t}function N(){var t=k(y,y);return t.copy=function(){return _(t,N())},i.apply(t,arguments),E(t)}var O=n(2209),D=n(4584),P=n(2776),j=n(9478),Z=n(2784),L=n(7197),R=n(5086),q=n(8179),I=n(317);var H=1e3,F=6e4,B=36e5,U=864e5,W=2592e6,z=31536e6;function V(t){return new Date(t)}function Y(t){return t instanceof Date?+t:+new Date(+t)}function $(t,e,n,i,o,a,s,c,l){var f=k(y,y),h=f.invert,d=f.domain,p=l(".%L"),v=l(":%S"),g=l("%I:%M"),m=l("%I %p"),b=l("%a %d"),x=l("%b %d"),w=l("%B"),T=l("%Y"),M=[[s,1,H],[s,5,5e3],[s,15,15e3],[s,30,3e4],[a,1,F],[a,5,3e5],[a,15,9e5],[a,30,18e5],[o,1,B],[o,3,108e5],[o,6,216e5],[o,12,432e5],[i,1,U],[i,2,1728e5],[n,1,6048e5],[e,1,W],[e,3,7776e6],[t,1,z]];function A(r){return(s(r)<r?p:a(r)<r?v:o(r)<r?g:i(r)<r?m:e(r)<r?n(r)<r?b:x:t(r)<r?w:T)(r)}function C(e,n,i,o){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(i-n)/e,u=(0,r.bisector)((function(t){return t[2]})).right(M,a);u===M.length?(o=(0,r.tickStep)(n/z,i/z,e),e=t):u?(o=(u=M[a/M[u-1][2]<M[u][2]/a?u-1:u])[1],e=u[0]):(o=Math.max((0,r.tickStep)(n,i,e),1),e=c)}return null==o?e:e.every(o)}return f.invert=function(t){return new Date(h(t))},f.domain=function(t){return arguments.length?d(u.call(t,Y)):d().map(V)},f.ticks=function(t,e){var n,r=d(),i=r[0],o=r[r.length-1],a=o<i;return a&&(n=i,i=o,o=n),n=(n=C(t,i,o,e))?n.range(i,o+1):[],a?n.reverse():n},f.tickFormat=function(t,e){return null==e?A:l(e)},f.nice=function(t,e){var n=d();return(t=C(t,n[0],n[n.length-1],e))?d(function(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}(n,t)):f},f.copy=function(){return _(f,$(t,e,n,i,o,a,s,c,l))},f}function X(){return i.apply($(O.Z,D.Z,P.OM,j.Z,Z.Z,L.Z,R.Z,q.Z,I.i$).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}},9795:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(789),i=n(4017);function o(t){return(0,i.Z)((0,r.Z)(t).call(document.documentElement))}},789:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(3888),i=n(1986);function o(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.P&&e.documentElement.namespaceURI===i.P?e.createElement(t):e.createElementNS(n,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function u(t){var e=(0,r.Z)(t);return(e.local?a:o)(e)}},8937:function(t,e,n){"use strict";n.r(e),n.d(e,{clientPoint:function(){return h.Z},create:function(){return r.Z},creator:function(){return i.Z},customEvent:function(){return k._H},event:function(){return k.B},local:function(){return a},matcher:function(){return s.Z},mouse:function(){return c.Z},namespace:function(){return l.Z},namespaces:function(){return f.Z},select:function(){return d.Z},selectAll:function(){return p.Z},selection:function(){return v.ZP},selector:function(){return g.Z},selectorAll:function(){return y.Z},style:function(){return m.S},touch:function(){return b.Z},touches:function(){return w},window:function(){return _.Z}});var r=n(9795),i=n(789),o=0;function a(){return new u}function u(){this._="@"+(++o).toString(36)}u.prototype=a.prototype={constructor:u,get:function(t){for(var e=this._;!(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 s=n(3083),c=n(3095),l=n(3888),f=n(1986),h=n(4103),d=n(4017),p=n(9628),v=n(3817),g=n(2634),y=n(3545),m=n(9986),b=n(4793),x=n(5553);function w(t,e){null==e&&(e=(0,x.Z)().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n<r;++n)i[n]=(0,h.Z)(t,e[n]);return i}var _=n(5021),k=n(5109)},3083:function(t,e,n){"use strict";function r(t){return function(){return this.matches(t)}}n.d(e,{Z:function(){return r}})},3095:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(5553),i=n(4103);function o(t){var e=(0,r.Z)();return e.changedTouches&&(e=e.changedTouches[0]),(0,i.Z)(t,e)}},3888:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(1986);function i(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.Z.hasOwnProperty(e)?{space:r.Z[e],local:t}:t}},1986:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var r="http://www.w3.org/1999/xhtml";e.Z={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},4103:function(t,e,n){"use strict";function r(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}n.d(e,{Z:function(){return r}})},4017:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(3817);function i(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},9628:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(3817);function i(t){return"string"==typeof t?new r.Y1([document.querySelectorAll(t)],[document.documentElement]):new r.Y1([null==t?[]:t],r.Jz)}},3817:function(t,e,n){"use strict";n.d(e,{Y1:function(){return X},ZP:function(){return J},Jz:function(){return $}});var r=n(2634);var i=n(3545);var o=n(3083);function a(t){return new Array(t.length)}function u(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}u.prototype={constructor:u,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)}};function s(t,e,n,r,i,o){for(var a,s=0,c=e.length,l=o.length;s<l;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new u(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function c(t,e,n,r,i,o,a){var s,c,l,f={},h=e.length,d=o.length,p=new Array(h);for(s=0;s<h;++s)(c=e[s])&&(p[s]=l="$"+a.call(c,c.__data__,s,e),l in f?i[s]=c:f[l]=c);for(s=0;s<d;++s)(c=f[l="$"+a.call(t,o[s],s,o)])?(r[s]=c,c.__data__=o[s],f[l]=null):n[s]=new u(t,o[s]);for(s=0;s<h;++s)(c=e[s])&&f[p[s]]===c&&(i[s]=c)}function l(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var f=n(3888);function h(t){return function(){this.removeAttribute(t)}}function d(t){return function(){this.removeAttributeNS(t.space,t.local)}}function p(t,e){return function(){this.setAttribute(t,e)}}function v(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function g(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function y(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 m=n(9986);function b(t){return function(){delete this[t]}}function x(t,e){return function(){this[t]=e}}function w(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function _(t){return t.trim().split(/^|\s+/)}function k(t){return t.classList||new T(t)}function T(t){this._node=t,this._names=_(t.getAttribute("class")||"")}function M(t,e){for(var n=k(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function A(t,e){for(var n=k(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function C(t){return function(){M(this,t)}}function S(t){return function(){A(this,t)}}function E(t,e){return function(){(e.apply(this,arguments)?M:A)(this,t)}}function N(){this.textContent=""}function O(t){return function(){this.textContent=t}}function D(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function P(){this.innerHTML=""}function j(t){return function(){this.innerHTML=t}}function Z(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function L(){this.nextSibling&&this.parentNode.appendChild(this)}function R(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}T.prototype={add:function(t){this._names.indexOf(t)<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 q=n(789);function I(){return null}function H(){var t=this.parentNode;t&&t.removeChild(this)}function F(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function B(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var U=n(5109),W=n(5021);function z(t,e,n){var r=(0,W.Z)(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function V(t,e){return function(){return z(this,t,e)}}function Y(t,e){return function(){return z(this,t,e.apply(this,arguments))}}var $=[null];function X(t,e){this._groups=t,this._parents=e}function G(){return new X([[document.documentElement]],$)}X.prototype=G.prototype={constructor:X,select:function(t){"function"!=typeof t&&(t=(0,r.Z)(t));for(var e=this._groups,n=e.length,i=new Array(n),o=0;o<n;++o)for(var a,u,s=e[o],c=s.length,l=i[o]=new Array(c),f=0;f<c;++f)(a=s[f])&&(u=t.call(a,a.__data__,f,s))&&("__data__"in a&&(u.__data__=a.__data__),l[f]=u);return new X(i,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=(0,i.Z)(t));for(var e=this._groups,n=e.length,r=[],o=[],a=0;a<n;++a)for(var u,s=e[a],c=s.length,l=0;l<c;++l)(u=s[l])&&(r.push(t.call(u,u.__data__,l,s)),o.push(u));return new X(r,o)},filter:function(t){"function"!=typeof t&&(t=(0,o.Z)(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,u=e[i],s=u.length,c=r[i]=[],l=0;l<s;++l)(a=u[l])&&t.call(a,a.__data__,l,u)&&c.push(a);return new X(r,this._parents)},data:function(t,e){if(!t)return g=new Array(this.size()),h=-1,this.each((function(t){g[++h]=t})),g;var n,r=e?c:s,i=this._parents,o=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var a=o.length,u=new Array(a),l=new Array(a),f=new Array(a),h=0;h<a;++h){var d=i[h],p=o[h],v=p.length,g=t.call(d,d&&d.__data__,h,i),y=g.length,m=l[h]=new Array(y),b=u[h]=new Array(y);r(d,p,m,b,f[h]=new Array(v),g,e);for(var x,w,_=0,k=0;_<y;++_)if(x=m[_]){for(_>=k&&(k=_+1);!(w=b[k])&&++k<y;);x._next=w||null}}return(u=new X(u,i))._enter=l,u._exit=f,u},enter:function(){return new X(this._enter||this._groups.map(a),this._parents)},exit:function(){return new X(this._exit||this._groups.map(a),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=e[u],l=n[u],f=c.length,h=a[u]=new Array(f),d=0;d<f;++d)(s=c[d]||l[d])&&(h[d]=s);for(;u<r;++u)a[u]=e[u];return new X(a,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=l);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,u=n[o],s=u.length,c=i[o]=new Array(s),f=0;f<s;++f)(a=u[f])&&(c[f]=a);c.sort(e)}return new X(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each((function(){t[++e]=this})),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each((function(){++t})),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=(0,f.Z)(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?d:h:"function"==typeof e?n.local?y:g:n.local?v:p)(n,e))},style:m.Z,property:function(t,e){return arguments.length>1?this.each((null==e?b:"function"==typeof e?w:x)(t,e)):this.node()[t]},classed:function(t,e){var n=_(t+"");if(arguments.length<2){for(var r=k(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?E:e?C:S)(n,e))},text:function(t){return arguments.length?this.each(null==t?N:("function"==typeof t?D:O)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?P:("function"==typeof t?Z:j)(t)):this.node().innerHTML},raise:function(){return this.each(L)},lower:function(){return this.each(R)},append:function(t){var e="function"==typeof t?t:(0,q.Z)(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:(0,q.Z)(t),i=null==e?I:"function"==typeof e?e:(0,r.Z)(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(H)},clone:function(t){return this.select(t?B:F)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:U.ZP,dispatch:function(t,e){return this.each(("function"==typeof e?Y:V)(t,e))}};var J=G},5109:function(t,e,n){"use strict";n.d(e,{B:function(){return i},ZP:function(){return l},_H:function(){return f}});var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function o(t,e,n){return t=a(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function a(t,e,n){return function(r){var o=i;i=r;try{t.call(this,this.__data__,e,n)}finally{i=o}}}function u(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 s(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function c(t,e,n){var i=r.hasOwnProperty(t.type)?o:a;return function(r,o,a){var u,s=this.__on,c=i(e,o,a);if(s)for(var l=0,f=s.length;l<f;++l)if((u=s[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=n),void(u.value=e);this.addEventListener(t.type,c,n),u={type:t.type,name:t.name,value:e,listener:c,capture:n},s?s.push(u):this.__on=[u]}}function l(t,e,n){var r,i,o=u(t+""),a=o.length;if(!(arguments.length<2)){for(l=e?c:s,null==n&&(n=!1),r=0;r<a;++r)this.each(l(o[r],e,n));return this}var l=this.node().__on;if(l)for(var f,h=0,d=l.length;h<d;++h)for(r=0,f=l[h];r<a;++r)if((i=o[r]).type===f.type&&i.name===f.name)return f.value}function f(t,e,n,r){var o=i;t.sourceEvent=i,i=t;try{return e.apply(n,r)}finally{i=o}}},9986:function(t,e,n){"use strict";n.d(e,{S:function(){return s},Z:function(){return u}});var r=n(5021);function i(t){return function(){this.style.removeProperty(t)}}function o(t,e,n){return function(){this.style.setProperty(t,e,n)}}function a(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function u(t,e,n){return arguments.length>1?this.each((null==e?i:"function"==typeof e?a:o)(t,e,null==n?"":n)):s(this.node(),t)}function s(t,e){return t.style.getPropertyValue(e)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(e)}},2634:function(t,e,n){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}n.d(e,{Z:function(){return i}})},3545:function(t,e,n){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}n.d(e,{Z:function(){return i}})},5553:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(5109);function i(){for(var t,e=r.B;t=e.sourceEvent;)e=t;return e}},4793:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(5553),i=n(4103);function o(t,e,n){arguments.length<3&&(n=e,e=(0,r.Z)().changedTouches);for(var o,a=0,u=e?e.length:0;a<u;++a)if((o=e[a]).identifier===n)return(0,i.Z)(t,o);return null}},5021:function(t,e,n){"use strict";function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}n.d(e,{Z:function(){return r}})},5742:function(t,e,n){"use strict";n.d(e,{t:function(){return r}});var r=Array.prototype.slice},3072:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},8143:function(t,e,n){"use strict";function r(t){this._context=t}function i(t){return new r(t)}n.d(e,{Z:function(){return i}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}}},5049:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(1108),i=n(3072),o=n(8143),a=n(8260);function u(){var t=a.x,e=a.y,n=(0,i.Z)(!0),u=null,s=o.Z,c=null;function l(i){var o,a,l,f=i.length,h=!1;for(null==u&&(c=s(l=(0,r.Z)())),o=0;o<=f;++o)!(o<f&&n(a=i[o],o,i))===h&&((h=!h)?c.lineStart():c.lineEnd()),h&&c.point(+t(a,o,i),+e(a,o,i));if(l)return c=null,l+""||null}return l.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.Z)(+e),l):t},l.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),l):e},l.defined=function(t){return arguments.length?(n="function"==typeof t?t:(0,i.Z)(!!t),l):n},l.curve=function(t){return arguments.length?(s=t,null!=u&&(c=s(u)),l):s},l.context=function(t){return arguments.length?(null==t?u=c=null:c=s(u=t),l):u},l}},8260:function(t,e,n){"use strict";function r(t){return t[0]}function i(t){return t[1]}n.d(e,{x:function(){return r},y:function(){return i}})},317:function(t,e,n){"use strict";n.d(e,{g0:function(){return o},i$:function(){return i}});var r,i,o,a,u=n(472);a={dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},r=(0,u.Z)(a),i=r.format,r.parse,o=r.utcFormat,r.utcParse},472:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(7326),i=n(9692),o=n(2776),a=n(9478),u=n(2209),s=n(1181);function c(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function l(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function f(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function h(t){var e=t.dateTime,n=t.date,u=t.time,s=t.periods,h=t.days,p=t.shortDays,v=t.months,g=t.shortMonths,y=b(s),m=x(s),Tt=b(h),Mt=x(h),At=b(p),Ct=x(p),St=b(v),Et=x(v),Nt=b(g),Ot=x(g),Dt={a:function(t){return p[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return g[t.getMonth()]},B:function(t){return v[t.getMonth()]},c:null,d:F,e:F,f:V,H:B,I:U,j:W,L:z,m:Y,M:$,p:function(t){return s[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:_t,s:kt,S:X,u:G,U:J,V:Q,w:K,W:tt,x:null,X:null,y:et,Y:nt,Z:rt,"%":wt},Pt={a:function(t){return p[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return g[t.getUTCMonth()]},B:function(t){return v[t.getUTCMonth()]},c:null,d:it,e:it,f:ct,H:ot,I:at,j:ut,L:st,m:lt,M:ft,p:function(t){return s[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:_t,s:kt,S:ht,u:dt,U:pt,V:vt,w:gt,W:yt,x:null,X:null,y:mt,Y:bt,Z:xt,"%":wt},jt={a:function(t,e,n){var r=At.exec(e.slice(n));return r?(t.w=Ct[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=Tt.exec(e.slice(n));return r?(t.w=Mt[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=Nt.exec(e.slice(n));return r?(t.m=Ot[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=St.exec(e.slice(n));return r?(t.m=Et[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return Rt(t,e,n,r)},d:O,e:O,f:R,H:P,I:P,j:D,L:L,m:N,M:j,p:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.p=m[r[0].toLowerCase()],n+r[0].length):-1},q:E,Q:I,s:H,S:Z,u:_,U:k,V:T,w:w,W:M,x:function(t,e,r){return Rt(t,n,e,r)},X:function(t,e,n){return Rt(t,u,e,n)},y:C,Y:A,Z:S,"%":q};function Zt(t,e){return function(n){var r,i,o,a=[],u=-1,s=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=d[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function Lt(t,e){return function(n){var u,s,h=f(1900,void 0,1);if(Rt(h,t,n+="",0)!=n.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(e&&!("Z"in h)&&(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(s=(u=l(f(h.y,0,1))).getUTCDay(),u=s>4||0===s?r.l6.ceil(u):(0,r.l6)(u),u=i.Z.offset(u,7*(h.V-1)),h.y=u.getUTCFullYear(),h.m=u.getUTCMonth(),h.d=u.getUTCDate()+(h.w+6)%7):(s=(u=c(f(h.y,0,1))).getDay(),u=s>4||0===s?o.wA.ceil(u):(0,o.wA)(u),u=a.Z.offset(u,7*(h.V-1)),h.y=u.getFullYear(),h.m=u.getMonth(),h.d=u.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),s="Z"in h?l(f(h.y,0,1)).getUTCDay():c(f(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(s+5)%7:h.w+7*h.U-(s+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,l(h)):c(h)}}function Rt(t,e,n,r){for(var i,o,a=0,u=e.length,s=n.length;a<u;){if(r>=s)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=jt[i in d?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return Dt.x=Zt(n,Dt),Dt.X=Zt(u,Dt),Dt.c=Zt(e,Dt),Pt.x=Zt(n,Pt),Pt.X=Zt(u,Pt),Pt.c=Zt(e,Pt),{format:function(t){var e=Zt(t+="",Dt);return e.toString=function(){return t},e},parse:function(t){var e=Lt(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=Zt(t+="",Pt);return e.toString=function(){return t},e},utcParse:function(t){var e=Lt(t+="",!0);return e.toString=function(){return t},e}}}var d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,v=/^%/,g=/[\\^$*+?|[\]().{}]/g;function y(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function m(t){return t.replace(g,"\\$&")}function b(t){return new RegExp("^(?:"+t.map(m).join("|")+")","i")}function x(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function w(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function _(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function k(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function T(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function M(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function A(t,e,n){var r=p.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function C(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function S(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function E(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function N(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function O(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function D(t,e,n){var r=p.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function P(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function j(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Z(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function L(t,e,n){var r=p.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function R(t,e,n){var r=p.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function q(t,e,n){var r=v.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function I(t,e,n){var r=p.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function H(t,e,n){var r=p.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function F(t,e){return y(t.getDate(),e,2)}function B(t,e){return y(t.getHours(),e,2)}function U(t,e){return y(t.getHours()%12||12,e,2)}function W(t,e){return y(1+a.Z.count((0,u.Z)(t),t),e,3)}function z(t,e){return y(t.getMilliseconds(),e,3)}function V(t,e){return z(t,e)+"000"}function Y(t,e){return y(t.getMonth()+1,e,2)}function $(t,e){return y(t.getMinutes(),e,2)}function X(t,e){return y(t.getSeconds(),e,2)}function G(t){var e=t.getDay();return 0===e?7:e}function J(t,e){return y(o.OM.count((0,u.Z)(t)-1,t),e,2)}function Q(t,e){var n=t.getDay();return t=n>=4||0===n?(0,o.bL)(t):o.bL.ceil(t),y(o.bL.count((0,u.Z)(t),t)+(4===(0,u.Z)(t).getDay()),e,2)}function K(t){return t.getDay()}function tt(t,e){return y(o.wA.count((0,u.Z)(t)-1,t),e,2)}function et(t,e){return y(t.getFullYear()%100,e,2)}function nt(t,e){return y(t.getFullYear()%1e4,e,4)}function rt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+y(e/60|0,"0",2)+y(e%60,"0",2)}function it(t,e){return y(t.getUTCDate(),e,2)}function ot(t,e){return y(t.getUTCHours(),e,2)}function at(t,e){return y(t.getUTCHours()%12||12,e,2)}function ut(t,e){return y(1+i.Z.count((0,s.Z)(t),t),e,3)}function st(t,e){return y(t.getUTCMilliseconds(),e,3)}function ct(t,e){return st(t,e)+"000"}function lt(t,e){return y(t.getUTCMonth()+1,e,2)}function ft(t,e){return y(t.getUTCMinutes(),e,2)}function ht(t,e){return y(t.getUTCSeconds(),e,2)}function dt(t){var e=t.getUTCDay();return 0===e?7:e}function pt(t,e){return y(r.Ox.count((0,s.Z)(t)-1,t),e,2)}function vt(t,e){var n=t.getUTCDay();return t=n>=4||0===n?(0,r.hB)(t):r.hB.ceil(t),y(r.hB.count((0,s.Z)(t),t)+(4===(0,s.Z)(t).getUTCDay()),e,2)}function gt(t){return t.getUTCDay()}function yt(t,e){return y(r.l6.count((0,s.Z)(t)-1,t),e,2)}function mt(t,e){return y(t.getUTCFullYear()%100,e,2)}function bt(t,e){return y(t.getUTCFullYear()%1e4,e,4)}function xt(){return"+0000"}function wt(){return"%"}function _t(t){return+t}function kt(t){return Math.floor(+t/1e3)}},9478:function(t,e,n){"use strict";var r=n(1829),i=n(1222),o=(0,r.Z)((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.yB)/i.UD}),(function(t){return t.getDate()-1}));e.Z=o;o.range},1222:function(t,e,n){"use strict";n.d(e,{UD:function(){return a},Y2:function(){return o},Ym:function(){return r},iM:function(){return u},yB:function(){return i}});var r=1e3,i=6e4,o=36e5,a=864e5,u=6048e5},2784:function(t,e,n){"use strict";var r=n(1829),i=n(1222),o=(0,r.Z)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Ym-t.getMinutes()*i.yB)}),(function(t,e){t.setTime(+t+e*i.Y2)}),(function(t,e){return(e-t)/i.Y2}),(function(t){return t.getHours()}));e.Z=o;o.range},1829:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=new Date,i=new Date;function o(t,e,n,a){function u(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return u.floor=function(e){return t(e=new Date(+e)),e},u.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},u.round=function(t){var e=u(t),n=u.ceil(t);return t-e<n-t?e:n},u.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},u.range=function(n,r,i){var o,a=[];if(n=u.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return a;do{a.push(o=new Date(+n)),e(n,i),t(n)}while(o<n&&n<r);return a},u.filter=function(n){return o((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(u.count=function(e,o){return r.setTime(+e),i.setTime(+o),t(r),t(i),Math.floor(n(r,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(a?function(e){return a(e)%t==0}:function(e){return u.count(0,e)%t==0}):u:null}),u}},8179:function(t,e,n){"use strict";var r=n(1829),i=(0,r.Z)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,r.Z)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):i:null},e.Z=i;i.range},7197:function(t,e,n){"use strict";var r=n(1829),i=n(1222),o=(0,r.Z)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Ym)}),(function(t,e){t.setTime(+t+e*i.yB)}),(function(t,e){return(e-t)/i.yB}),(function(t){return t.getMinutes()}));e.Z=o;o.range},4584:function(t,e,n){"use strict";var r=(0,n(1829).Z)((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));e.Z=r;r.range},5086:function(t,e,n){"use strict";var r=n(1829),i=n(1222),o=(0,r.Z)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*i.Ym)}),(function(t,e){return(e-t)/i.Ym}),(function(t){return t.getUTCSeconds()}));e.Z=o;o.range},9692:function(t,e,n){"use strict";var r=n(1829),i=n(1222),o=(0,r.Z)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/i.UD}),(function(t){return t.getUTCDate()-1}));e.Z=o;o.range},7326:function(t,e,n){"use strict";n.d(e,{Ox:function(){return a},hB:function(){return l},l6:function(){return u}});var r=n(1829),i=n(1222);function o(t){return(0,r.Z)((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/i.iM}))}var a=o(0),u=o(1),s=o(2),c=o(3),l=o(4),f=o(5),h=o(6);a.range,u.range,s.range,c.range,l.range,f.range,h.range},1181:function(t,e,n){"use strict";var r=n(1829),i=(0,r.Z)((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.Z)((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null},e.Z=i;i.range},2776:function(t,e,n){"use strict";n.d(e,{OM:function(){return a},bL:function(){return l},wA:function(){return u}});var r=n(1829),i=n(1222);function o(t){return(0,r.Z)((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.yB)/i.iM}))}var a=o(0),u=o(1),s=o(2),c=o(3),l=o(4),f=o(5),h=o(6);a.range,u.range,s.range,c.range,l.range,f.range,h.range},2209:function(t,e,n){"use strict";var r=n(1829),i=(0,r.Z)((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.Z)((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null},e.Z=i;i.range},7628:function(t,e,n){"use strict";n.r(e),n.d(e,{active:function(){return Et},interrupt:function(){return E},transition:function(){return kt}});var r,i,o=n(3817),a=n(2626),u=0,s=0,c=0,l=0,f=0,h=0,d="object"==typeof performance&&performance.now?performance:Date,p="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function v(){return f||(p(g),f=d.now()+h)}function g(){f=0}function y(){this._call=this._time=this._next=null}function m(t,e,n){var r=new y;return r.restart(t,e,n),r}function b(){f=(l=d.now())+h,u=s=0;try{!function(){v(),++u;for(var t,e=r;e;)(t=f-e._time)>=0&&e._call.call(null,t),e=e._next;--u}()}finally{u=0,function(){var t,e,n=r,o=1/0;for(;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,w(o)}(),f=0}}function x(){var t=d.now(),e=t-l;e>1e3&&(h-=e,l=t)}function w(t){u||(s&&(s=clearTimeout(s)),t-f>24?(t<1/0&&(s=setTimeout(b,t-d.now()-h)),c&&(c=clearInterval(c))):(c||(l=d.now(),c=setInterval(x,1e3)),u=1,p(b)))}function _(t,e,n){var r=new y;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}y.prototype=m.prototype={constructor:y,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?v():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}};var k=(0,a.Z)("start","end","cancel","interrupt"),T=[];function M(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(o){var c,l,f,h;if(1!==n.state)return s();for(c in i)if((h=i[c]).name===n.name){if(3===h.state)return _(a);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[c]):+c<e&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[c])}if(_((function(){3===n.state&&(n.state=4,n.timer.restart(u,n.delay,n.time),u(o))})),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(f=n.tween.length),c=0,l=-1;c<f;++c)(h=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function u(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=m(o,0,n.time)}(t,n,{name:e,index:r,group:i,on:k,tween:T,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function A(t,e){var n=S(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function C(t,e){var n=S(t,e);if(n.state>3)throw new Error("too late; already running");return n}function S(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function E(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}var N,O,D,P,j=n(3626),Z=180/Math.PI,L={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function R(t,e,n,r,i,o){var a,u,s;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(s=t*n+e*r)&&(n-=t*s,r-=e*s),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,s/=u),t*r<e*n&&(t=-t,e=-e,s=-s,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Z,skewX:Math.atan(s)*Z,scaleX:a,scaleY:u}}function q(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var u=[],s=[];return o=t(o),a=t(a),function(t,r,i,o,a,u){if(t!==i||r!==o){var s=a.push("translate(",null,e,null,n);u.push({i:s-4,x:(0,j.Z)(t,i)},{i:s-2,x:(0,j.Z)(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,u,s),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,j.Z)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,u,s),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,j.Z)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,u,s),function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:(0,j.Z)(t,n)},{i:u-2,x:(0,j.Z)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,s),o=a=null,function(t){for(var e,n=-1,r=s.length;++n<r;)u[(e=s[n]).i]=e.x(t);return u.join("")}}}var I=q((function(t){return"none"===t?L:(N||(N=document.createElement("DIV"),O=document.documentElement,D=document.defaultView),N.style.transform=t,t=D.getComputedStyle(O.appendChild(N),null).getPropertyValue("transform"),O.removeChild(N),R(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),H=q((function(t){return null==t?L:(P||(P=document.createElementNS("http://www.w3.org/2000/svg","g")),P.setAttribute("transform",t),(t=P.transform.baseVal.consolidate())?R((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):L)}),", ",")",")"),F=n(3888);function B(t,e){var n,r;return function(){var i=C(this,t),o=i.tween;if(o!==n)for(var a=0,u=(r=n=o).length;a<u;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function U(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=C(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:e,value:n},s=0,c=i.length;s<c;++s)if(i[s].name===e){i[s]=u;break}s===c&&i.push(u)}o.tween=i}}function W(t,e,n){var r=t._id;return t.each((function(){var t=C(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return S(t,r).value[e]}}var z=n(6372),V=n(3474),Y=n(9843);function $(t,e){var n;return("number"==typeof e?j.Z:e instanceof z.ZP?V.ZP:(n=(0,z.ZP)(e))?(e=n,V.ZP):Y.Z)(t,e)}function X(t){return function(){this.removeAttribute(t)}}function G(t){return function(){this.removeAttributeNS(t.space,t.local)}}function J(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function Q(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function K(t,e,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttribute(t))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s));this.removeAttribute(t)}}function tt(t,e,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttributeNS(t.space,t.local))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s));this.removeAttributeNS(t.space,t.local)}}function et(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function nt(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function rt(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&nt(t,i)),n}return i._value=e,i}function it(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&et(t,i)),n}return i._value=e,i}function ot(t,e){return function(){A(this,t).delay=+e.apply(this,arguments)}}function at(t,e){return e=+e,function(){A(this,t).delay=e}}function ut(t,e){return function(){C(this,t).duration=+e.apply(this,arguments)}}function st(t,e){return e=+e,function(){C(this,t).duration=e}}function ct(t,e){if("function"!=typeof e)throw new Error;return function(){C(this,t).ease=e}}var lt=n(3083);function ft(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?A:C;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(e,n),a.on=i}}var ht=n(2634);var dt=n(3545);var pt=o.ZP.prototype.constructor;var vt=n(9986);function gt(t){return function(){this.style.removeProperty(t)}}function yt(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function mt(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&yt(t,o,n)),r}return o._value=e,o}function bt(t){return function(e){this.textContent=t.call(this,e)}}function xt(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&bt(r)),e}return r._value=t,r}var wt=0;function _t(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function kt(t){return(0,o.ZP)().transition(t)}function Tt(){return++wt}var Mt=o.ZP.prototype;_t.prototype=kt.prototype={constructor:_t,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,ht.Z)(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,s,c=r[a],l=c.length,f=o[a]=new Array(l),h=0;h<l;++h)(u=c[h])&&(s=t.call(u,u.__data__,h,c))&&("__data__"in u&&(s.__data__=u.__data__),f[h]=s,M(f[h],e,n,h,f,S(u,n)));return new _t(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,dt.Z)(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var s,c=r[u],l=c.length,f=0;f<l;++f)if(s=c[f]){for(var h,d=t.call(s,s.__data__,f,c),p=S(s,n),v=0,g=d.length;v<g;++v)(h=d[v])&&M(h,e,n,v,d,p);o.push(d),a.push(s)}return new _t(o,a,e,n)},filter:function(t){"function"!=typeof t&&(t=(0,lt.Z)(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new _t(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=e[u],l=n[u],f=c.length,h=a[u]=new Array(f),d=0;d<f;++d)(s=c[d]||l[d])&&(h[d]=s);for(;u<r;++u)a[u]=e[u];return new _t(a,this._parents,this._name,this._id)},selection:function(){return new pt(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Tt(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)if(a=u[c]){var l=S(a,e);M(a,t,n,c,u,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new _t(r,this._parents,t,n)},call:Mt.call,nodes:Mt.nodes,node:Mt.node,size:Mt.size,empty:Mt.empty,each:Mt.each,on:function(t,e){var n=this._id;return arguments.length<2?S(this.node(),n).on.on(t):this.each(ft(n,t,e))},attr:function(t,e){var n=(0,F.Z)(t),r="transform"===n?H:$;return this.attrTween(t,"function"==typeof e?(n.local?tt:K)(n,r,W(this,"attr."+t,e)):null==e?(n.local?G:X)(n):(n.local?Q:J)(n,r,e))},attrTween: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 r=(0,F.Z)(t);return this.tween(n,(r.local?rt:it)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?I:$;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=(0,vt.S)(this,t),a=(this.style.removeProperty(t),(0,vt.S)(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,gt(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=(0,vt.S)(this,t),u=n(this),s=u+"";return null==u&&(this.style.removeProperty(t),s=u=(0,vt.S)(this,t)),a===s?null:a===r&&s===i?o:(i=s,o=e(r=a,u))}}(t,r,W(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,u="end."+a;return function(){var s=C(this,t),c=s.on,l=null==s.value[a]?o||(o=gt(e)):void 0;c===n&&i===l||(r=(n=c).copy()).on(u,i=l),s.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=(0,vt.S)(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,mt(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(W(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,xt(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=S(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?B:U)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?ot:at)(e,t)):S(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?ut:st)(e,t)):S(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(ct(e,t)):S(this.node(),e).ease},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var u={value:a},s={value:function(){0==--i&&o()}};n.each((function(){var n=C(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(u),e._.interrupt.push(u),e._.end.push(s)),n.on=e}))}))}};var At={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Ct(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return At.time=v(),At;return n}o.ZP.prototype.interrupt=function(t){return this.each((function(){E(this,t)}))},o.ZP.prototype.transition=function(t){var e,n;t instanceof _t?(e=t._id,t=t._name):(e=Tt(),(n=At).time=v(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)(a=u[c])&&M(a,t,e,c,u,n||Ct(a,e));return new _t(r,this._parents,t,e)};var St=[null];function Et(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>1&&n.name===e)return new _t([[t]],St,e,+r);return null}},3151:function(t,e,n){var r,i,o,a,u,s;"undefined"!=typeof self&&self,t.exports=(r=n(6216),i=n(2157),o=n(7628),a=n(4065),u=n(9124),s=n(3574),function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),u=(n.n(a),n(3)),s=(n.n(u),n(4)),c=(n.n(s),n(5)),l=(n.n(c),n(6)),f=(n.n(l),n(7)),h=n.n(f),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),p=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},v=function(t){return t.w},g=function(t){return t.h},y=function(t){return t},m=function(t){function e(t,n){r(this,e);var o=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.layers.create(["dummy",{main:["axis","link","label","dot"]}]),o.layers.get("main/axis").classed("axis",!0),o.force=new h.a.Force(n.labella),o.updateLabelText=o.updateLabelText.bind(o),o.visualize=o.visualize.bind(o),o.on("data",o.visualize),o.on("options",o.visualize),o.on("resize",o.visualize),o}return o(e,t),d(e,null,[{key:"getDefaultOptions",value:function(){return l.helper.deepExtend(p(e.__proto__||Object.getPrototypeOf(e),"getDefaultOptions",this).call(this),{margin:{left:40,right:20,top:20,bottom:20},initialWidth:400,initialHeight:400,scale:Object(u.scaleTime)(),domain:void 0,direction:"right",dotRadius:3,formatAxis:y,layerGap:60,labella:{},keyFn:void 0,timeFn:function(t){return t.time},textFn:function(t){return t.text},dotColor:"#222",labelBgColor:"#222",labelTextColor:"#fff",linkColor:"#222",labelPadding:{left:4,right:4,top:3,bottom:2},textYOffset:"0.85em"})}},{key:"getCustomEventNames",value:function(){return["dotClick","dotMouseover","dotMousemove","dotMouseout","dotMouseenter","dotMouseleave","labelClick","labelMouseover","labelMousemove","labelMouseenter","labelMouseleave","labelMouseout"]}}]),d(e,[{key:"resizeToFit",value:function(){var t=this.options(),e=void 0,n=this.force.nodes();switch(t.direction){case"up":e=Object(c.max)(n,(function(t){return Math.abs(t.y)}))||0,this.height(e+t.margin.top+t.margin.bottom);break;case"down":e=Object(c.max)(n,(function(t){return Math.abs(t.y+t.dy)}))||0,this.height(e+t.margin.top+t.margin.bottom);break;case"left":e=Object(c.max)(n,(function(t){return Math.abs(t.x)}))||0,this.width(e+t.margin.left+t.margin.right);break;case"right":e=Object(c.max)(n,(function(t){return Math.abs(t.x+t.dx)}))||0,this.width(e+t.margin.left+t.margin.right)}return this}},{key:"updateLabelText",value:function(t,e,n){var r=this.options();return n=n?l.helper.functor(n):y,t.text((function(t){return r.textFn(n(t))})).attr("dy",r.textYOffset).attr("x",r.labelPadding.left).attr("y",r.labelPadding.top),Object.keys(e).forEach((function(r){var i=e[r];t.style(r,(function(t,e){return i(n(t),e)}))})),t}},{key:"drawAxes",value:function(){var t=this.options(),e=void 0;switch(t.direction){case"right":this.axis=Object(a.axisLeft)(),e="translate(0,0)";break;case"left":this.axis=Object(a.axisRight)(),e="translate("+this.getInnerWidth()+",0)";break;case"up":this.axis=Object(a.axisBottom)(),e="translate(0,"+this.getInnerHeight()+")";break;case"down":this.axis=Object(a.axisTop)(),e="translate(0,0)"}return this.layers.get("main").attr("transform",e),(t.formatAxis||y)(this.axis.scale(t.scale)),this.layers.get("main/axis").call(this.axis),this}},{key:"drawDots",value:function(t){var e=this.options(),n=function(t){return e.scale(e.timeFn(t))},r=this.layers.get("main/dot").selectAll("circle.dot").data(t,e.keyFn),i="left"===e.direction||"right"===e.direction?"cy":"cx";return r.enter().append("circle").classed("dot",!0).on("click",this.dispatchAs("dotClick")).on("mouseover",this.dispatchAs("dotMouseover")).on("mousemove",this.dispatchAs("dotMousemove")).on("mouseout",this.dispatchAs("dotMouseout")).on("mouseenter",this.dispatchAs("dotMouseenter")).on("mouseleave",this.dispatchAs("dotMouseleave")).style("fill",e.dotColor).attr("r",e.dotRadius).attr(i,n),r.transition().style("fill",e.dotColor).attr("r",e.dotRadius).attr(i,n),r.exit().remove(),this}},{key:"drawLabels",value:function(t,e){function n(t){switch(r.direction){case"right":return"translate("+t.x+","+(t.y-t.dy/2)+")";case"left":return"translate("+(t.x+i-t.w)+","+(t.y-t.dy/2)+")";case"up":case"down":return"translate("+(t.x-t.dx/2)+","+t.y+")"}}var r=this.options(),i=void 0;i="left"===r.direction||"right"===r.direction?Object(c.max)(t,v):Object(c.max)(t,g);var o=new h.a.Renderer({nodeHeight:i,layerGap:r.layerGap,direction:r.direction});o.layout(t);var a=l.helper.functor(r.labelBgColor),u=l.helper.functor(r.linkColor),s=this.layers.get("main/label").selectAll("g.label-g").data(t,r.keyFn?function(t){return r.keyFn(t.data)}:void 0),f=s.enter().append("g").classed("label-g",!0).on("click",this.dispatchAs("labelClick")).on("mouseover",this.dispatchAs("labelMouseover")).on("mousemove",this.dispatchAs("labelMousemove")).on("mouseenter",this.dispatchAs("labelMouseenter")).on("mouseleave",this.dispatchAs("labelMouseleave")).on("mouseout",this.dispatchAs("labelMouseout")).attr("transform",n);f.append("rect").classed("label-bg",!0).attr("rx",2).attr("ry",2).attr("width",v).attr("height",g).style("fill",(function(t){return a(t.data)})),f.append("text").classed("label-text",!0).call(this.updateLabelText,e,(function(t){return t.data}));var d=s.transition().attr("transform",n);d.select("rect").attr("width",v).attr("height",g).style("fill",(function(t){return a(t.data)})),d.select("text.label-text").call(this.updateLabelText,e,(function(t){return t.data})),s.exit().remove();var p=this.layers.get("main/link").selectAll("path.link").data(t,r.keyFn?function(t){return r.keyFn(t.data)}:void 0);return p.enter().append("path").classed("link",!0).attr("d",(function(t){return o.generatePath(t)})).style("stroke",(function(t){return u(t.data)})).style("fill","none"),p.transition().attr("d",(function(t){return o.generatePath(t)})).style("stroke",(function(t){return u(t.data)})),p.exit().remove(),this}},{key:"visualize",value:function(){var t=this;if(this.hasData()&&this.hasNonZeroArea()){var e=this.data()||[],n=this.options();this.force=new h.a.Force(n.labella),n.domain?n.scale.domain(n.domain):n.scale.domain(Object(c.extent)(e,n.timeFn)).nice(),n.scale.range([0,"left"===n.direction||"right"===n.direction?this.getInnerHeight():this.getInnerWidth()]);var r=l.helper.extend({},n.textStyle);Object.keys(r).forEach((function(t){r[t]=l.helper.functor(r[t])})),r.fill=r.fill||l.helper.functor(n.labelTextColor);var i=this.layers.get("dummy").append("text").classed("label-text",!0),o=function(t){return n.scale(n.timeFn(t))},a=e.map((function(e){var a=i.call(t.updateLabelText,r,e).node().getBBox(),u=a.width+n.labelPadding.left+n.labelPadding.right,s=a.height+n.labelPadding.top+n.labelPadding.bottom,c=new h.a.Node(o(e),"left"===n.direction||"right"===n.direction?s:u,e);return c.w=u,c.h=s,c}));return i.remove(),this.force.options(n.labella).nodes(a).compute(),this.drawAxes(),this.drawDots(e),this.drawLabels(this.force.nodes(),r),this}}}]),e}(l.SvgChart);e.default=m},function(t,e){t.exports=r},function(t,e){t.exports=i},function(t,e){t.exports=o},function(t,e){t.exports=a},function(t,e){t.exports=u},function(t,e){t.exports=s}]).default)},2157:function(t,e,n){"use strict";n.r(e),n.d(e,{interpolateCool:function(){return $t},interpolateCubehelixDefault:function(){return Vt},interpolateInferno:function(){return te},interpolateMagma:function(){return Kt},interpolatePlasma:function(){return ee},interpolateRainbow:function(){return Gt},interpolateViridis:function(){return Qt},interpolateWarm:function(){return Yt},scaleBand:function(){return l},scaleIdentity:function(){return O},scaleImplicit:function(){return s},scaleLinear:function(){return N},scaleLog:function(){return I},scaleOrdinal:function(){return c},scalePoint:function(){return h},scalePow:function(){return F},scaleQuantile:function(){return U},scaleQuantize:function(){return W},scaleSequential:function(){return ne},scaleSqrt:function(){return B},scaleThreshold:function(){return z},scaleTime:function(){return lt},scaleUtc:function(){return _t},schemeCategory10:function(){return Tt},schemeCategory20:function(){return Ct},schemeCategory20b:function(){return Mt},schemeCategory20c:function(){return At}});var r=n(4065),i=n(1654),o=Array.prototype,a=o.map,u=o.slice,s={name:"implicit"};function c(t){var e=(0,i.UI)(),n=[],r=s;function o(i){var o=i+"",a=e.get(o);if(!a){if(r!==s)return r;e.set(o,a=n.push(i))}return t[(a-1)%t.length]}return t=null==t?[]:u.call(t),o.domain=function(t){if(!arguments.length)return n.slice();n=[],e=(0,i.UI)();for(var r,a,u=-1,s=t.length;++u<s;)e.has(a=(r=t[u])+"")||e.set(a,n.push(r));return o},o.range=function(e){return arguments.length?(t=u.call(e),o):t.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return c().domain(n).range(t).unknown(r)},o}function l(){var t,e,n=c().unknown(void 0),i=n.domain,o=n.range,a=[0,1],u=!1,s=0,f=0,h=.5;function d(){var n=i().length,c=a[1]<a[0],l=a[c-0],d=a[1-c];t=(d-l)/Math.max(1,n-s+2*f),u&&(t=Math.floor(t)),l+=(d-l-t*(n-s))*h,e=t*(1-s),u&&(l=Math.round(l),e=Math.round(e));var p=(0,r.range)(n).map((function(e){return l+t*e}));return o(c?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(i(t),d()):i()},n.range=function(t){return arguments.length?(a=[+t[0],+t[1]],d()):a.slice()},n.rangeRound=function(t){return a=[+t[0],+t[1]],u=!0,d()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(u=!!t,d()):u},n.padding=function(t){return arguments.length?(s=f=Math.max(0,Math.min(1,t)),d()):s},n.paddingInner=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),d()):s},n.paddingOuter=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),d()):f},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},n.copy=function(){return l().domain(i()).range(a).round(u).paddingInner(s).paddingOuter(f).align(h)},d()}function f(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return f(e())},t}function h(){return f(l().paddingInner(1))}var d=n(3626),p=n(3172),v=n(5720);function g(t){return function(){return t}}function y(t){return+t}var m=[0,1];function b(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:g(e)}function x(t,e,n,r){var i=t[0],o=t[1],a=e[0],u=e[1];return o<i?(i=n(o,i),a=r(u,a)):(i=n(i,o),a=r(a,u)),function(t){return a(i(t))}}function w(t,e,n,i){var o=Math.min(t.length,e.length)-1,a=new Array(o),u=new Array(o),s=-1;for(t[o]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<o;)a[s]=n(t[s],t[s+1]),u[s]=i(e[s],e[s+1]);return function(e){var n=(0,r.bisect)(t,e,1,o)-1;return u[n](a[n](e))}}function _(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function k(t,e){var n,r,i,o=m,s=m,c=p.Z,l=!1;function f(){return n=Math.min(o.length,s.length)>2?w:x,r=i=null,h}function h(e){return(r||(r=n(o,s,l?function(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}(t):t,c)))(+e)}return h.invert=function(t){return(i||(i=n(s,o,b,l?function(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}(e):e)))(+t)},h.domain=function(t){return arguments.length?(o=a.call(t,y),f()):o.slice()},h.range=function(t){return arguments.length?(s=u.call(t),f()):s.slice()},h.rangeRound=function(t){return s=u.call(t),c=v.Z,f()},h.clamp=function(t){return arguments.length?(l=!!t,f()):l},h.interpolate=function(t){return arguments.length?(c=t,f()):c},f()}var T=n(6196),M=n(3726),A=n(7539),C=n(7655),S=n(8195);function E(t){var e=t.domain;return t.ticks=function(t){var n=e();return(0,r.ticks)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return function(t,e,n){var i,o=t[0],a=t[t.length-1],u=(0,r.tickStep)(o,a,null==e?10:e);switch((n=(0,T.Z)(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(o),Math.abs(a));return null!=n.precision||isNaN(i=(0,M.Z)(u,s))||(n.precision=i),(0,A.jH)(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=(0,C.Z)(u,Math.max(Math.abs(o),Math.abs(a))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=(0,S.Z)(u))||(n.precision=i-2*("%"===n.type))}return(0,A.WU)(n)}(e(),t,n)},t.nice=function(n){null==n&&(n=10);var i,o=e(),a=0,u=o.length-1,s=o[a],c=o[u];return c<s&&(i=s,s=c,c=i,i=a,a=u,u=i),(i=(0,r.tickIncrement)(s,c,n))>0?(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,i=(0,r.tickIncrement)(s,c,n)):i<0&&(s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i,i=(0,r.tickIncrement)(s,c,n)),i>0?(o[a]=Math.floor(s/i)*i,o[u]=Math.ceil(c/i)*i,e(o)):i<0&&(o[a]=Math.ceil(s*i)/i,o[u]=Math.floor(c*i)/i,e(o)),t},t}function N(){var t=k(b,d.Z);return t.copy=function(){return _(t,N())},E(t)}function O(){var t=[0,1];function e(t){return+t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=a.call(n,y),e):t.slice()},e.copy=function(){return O().domain(t)},E(e)}function D(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function P(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:g(e)}function j(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function Z(t){return isFinite(t)?+("1e"+t):t<0?0:t}function L(t){return 10===t?Z:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function R(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function q(t){return function(e){return-t(-e)}}function I(){var t=k(P,j).domain([1,10]),e=t.domain,n=10,i=R(10),o=L(10);function a(){return i=R(n),o=L(n),e()[0]<0&&(i=q(i),o=q(o)),t}return t.base=function(t){return arguments.length?(n=+t,a()):n},t.domain=function(t){return arguments.length?(e(t),a()):e()},t.ticks=function(t){var a,u=e(),s=u[0],c=u[u.length-1];(a=c<s)&&(d=s,s=c,c=d);var l,f,h,d=i(s),p=i(c),v=null==t?10:+t,g=[];if(!(n%1)&&p-d<v){if(d=Math.round(d)-1,p=Math.round(p)+1,s>0){for(;d<p;++d)for(f=1,l=o(d);f<n;++f)if(!((h=l*f)<s)){if(h>c)break;g.push(h)}}else for(;d<p;++d)for(f=n-1,l=o(d);f>=1;--f)if(!((h=l*f)<s)){if(h>c)break;g.push(h)}}else g=(0,r.ticks)(d,p,Math.min(p-d,v)).map(o);return a?g.reverse():g},t.tickFormat=function(e,r){if(null==r&&(r=10===n?".0e":","),"function"!=typeof r&&(r=(0,A.WU)(r)),e===1/0)return r;null==e&&(e=10);var a=Math.max(1,n*e/t.ticks().length);return function(t){var e=t/o(Math.round(i(t)));return e*n<n-.5&&(e*=n),e<=a?r(t):""}},t.nice=function(){return e(D(e(),{floor:function(t){return o(Math.floor(i(t)))},ceil:function(t){return o(Math.ceil(i(t)))}}))},t.copy=function(){return _(t,I().base(n))},t}function H(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function F(){var t=1,e=k((function(e,n){return(n=H(n,t)-(e=H(e,t)))?function(r){return(H(r,t)-e)/n}:g(n)}),(function(e,n){return n=H(n,t)-(e=H(e,t)),function(r){return H(e+n*r,1/t)}})),n=e.domain;return e.exponent=function(e){return arguments.length?(t=+e,n(n())):t},e.copy=function(){return _(e,F().exponent(t))},E(e)}function B(){return F().exponent(.5)}function U(){var t=[],e=[],n=[];function i(){var i=0,a=Math.max(1,e.length);for(n=new Array(a-1);++i<a;)n[i-1]=(0,r.quantile)(t,i/a);return o}function o(t){if(!isNaN(t=+t))return e[(0,r.bisect)(n,t)]}return o.invertExtent=function(r){var i=e.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:t[0],i<n.length?n[i]:t[t.length-1]]},o.domain=function(e){if(!arguments.length)return t.slice();t=[];for(var n,o=0,a=e.length;o<a;++o)null==(n=e[o])||isNaN(n=+n)||t.push(n);return t.sort(r.ascending),i()},o.range=function(t){return arguments.length?(e=u.call(t),i()):e.slice()},o.quantiles=function(){return n.slice()},o.copy=function(){return U().domain(t).range(e)},o}function W(){var t=0,e=1,n=1,i=[.5],o=[0,1];function a(t){if(t<=t)return o[(0,r.bisect)(i,t,0,n)]}function s(){var r=-1;for(i=new Array(n);++r<n;)i[r]=((r+1)*e-(r-n)*t)/(n+1);return a}return a.domain=function(n){return arguments.length?(t=+n[0],e=+n[1],s()):[t,e]},a.range=function(t){return arguments.length?(n=(o=u.call(t)).length-1,s()):o.slice()},a.invertExtent=function(r){var a=o.indexOf(r);return a<0?[NaN,NaN]:a<1?[t,i[0]]:a>=n?[i[n-1],e]:[i[a-1],i[a]]},a.copy=function(){return W().domain([t,e]).range(o)},E(a)}function z(){var t=[.5],e=[0,1],n=1;function i(i){if(i<=i)return e[(0,r.bisect)(t,i,0,n)]}return i.domain=function(r){return arguments.length?(t=u.call(r),n=Math.min(t.length,e.length-1),i):t.slice()},i.range=function(r){return arguments.length?(e=u.call(r),n=Math.min(t.length,e.length-1),i):e.slice()},i.invertExtent=function(n){var r=e.indexOf(n);return[t[r-1],t[r]]},i.copy=function(){return z().domain(t).range(e)},i}var V=n(2209),Y=n(4584),$=n(2776),X=n(9478),G=n(2784),J=n(7197),Q=n(5086),K=n(8179),tt=n(317),et=1e3,nt=6e4,rt=36e5,it=864e5,ot=2592e6,at=31536e6;function ut(t){return new Date(t)}function st(t){return t instanceof Date?+t:+new Date(+t)}function ct(t,e,n,i,o,u,s,c,l){var f=k(b,d.Z),h=f.invert,p=f.domain,v=l(".%L"),g=l(":%S"),y=l("%I:%M"),m=l("%I %p"),x=l("%a %d"),w=l("%b %d"),T=l("%B"),M=l("%Y"),A=[[s,1,et],[s,5,5e3],[s,15,15e3],[s,30,3e4],[u,1,nt],[u,5,3e5],[u,15,9e5],[u,30,18e5],[o,1,rt],[o,3,108e5],[o,6,216e5],[o,12,432e5],[i,1,it],[i,2,1728e5],[n,1,6048e5],[e,1,ot],[e,3,7776e6],[t,1,at]];function C(r){return(s(r)<r?v:u(r)<r?g:o(r)<r?y:i(r)<r?m:e(r)<r?n(r)<r?x:w:t(r)<r?T:M)(r)}function S(e,n,i,o){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(i-n)/e,u=(0,r.bisector)((function(t){return t[2]})).right(A,a);u===A.length?(o=(0,r.tickStep)(n/at,i/at,e),e=t):u?(o=(u=A[a/A[u-1][2]<A[u][2]/a?u-1:u])[1],e=u[0]):(o=Math.max((0,r.tickStep)(n,i,e),1),e=c)}return null==o?e:e.every(o)}return f.invert=function(t){return new Date(h(t))},f.domain=function(t){return arguments.length?p(a.call(t,st)):p().map(ut)},f.ticks=function(t,e){var n,r=p(),i=r[0],o=r[r.length-1],a=o<i;return a&&(n=i,i=o,o=n),n=(n=S(t,i,o,e))?n.range(i,o+1):[],a?n.reverse():n},f.tickFormat=function(t,e){return null==e?C:l(e)},f.nice=function(t,e){var n=p();return(t=S(t,n[0],n[n.length-1],e))?p(D(n,t)):f},f.copy=function(){return _(f,ct(t,e,n,i,o,u,s,c,l))},f}function lt(){return ct(V.Z,Y.Z,$.OM,X.Z,G.Z,J.Z,Q.Z,K.Z,tt.i$).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}var ft=n(1181),ht=n(1829),dt=(0,ht.Z)((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),pt=dt,vt=(dt.range,n(7326)),gt=n(9692),yt=n(1222),mt=(0,ht.Z)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*yt.Y2)}),(function(t,e){return(e-t)/yt.Y2}),(function(t){return t.getUTCHours()})),bt=mt,xt=(mt.range,(0,ht.Z)((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*yt.yB)}),(function(t,e){return(e-t)/yt.yB}),(function(t){return t.getUTCMinutes()}))),wt=xt;xt.range;function _t(){return ct(ft.Z,pt,vt.Ox,gt.Z,bt,wt,Q.Z,K.Z,tt.g0).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function kt(t){return t.match(/.{6}/g).map((function(t){return"#"+t}))}var Tt=kt("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Mt=kt("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),At=kt("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Ct=kt("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),St=n(4087),Et=n(6372),Nt=Math.PI/180,Ot=180/Math.PI,Dt=-.14861,Pt=1.78277,jt=-.29227,Zt=-.90649,Lt=1.97294,Rt=Lt*Zt,qt=Lt*Pt,It=Pt*jt-Zt*Dt;function Ht(t){if(t instanceof Bt)return new Bt(t.h,t.s,t.l,t.opacity);t instanceof Et.Ss||(t=(0,Et.SU)(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(It*r+Rt*e-qt*n)/(It+Rt-qt),o=r-i,a=(Lt*(n-i)-jt*o)/Zt,u=Math.sqrt(a*a+o*o)/(Lt*i*(1-i)),s=u?Math.atan2(a,o)*Ot-120:NaN;return new Bt(s<0?s+360:s,u,i,t.opacity)}function Ft(t,e,n,r){return 1===arguments.length?Ht(t):new Bt(t,e,n,null==r?1:r)}function Bt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}(0,St.Z)(Bt,Ft,(0,St.l)(Et.Il,{brighter:function(t){return t=null==t?Et.J5:Math.pow(Et.J5,t),new Bt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Et.xV:Math.pow(Et.xV,t),new Bt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Nt,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new Et.Ss(255*(e+n*(Dt*r+Pt*i)),255*(e+n*(jt*r+Zt*i)),255*(e+n*(Lt*r)),this.opacity)}}));var Ut=n(5910);function Wt(t){return function e(n){function r(e,r){var i=t((e=Ft(e)).h,(r=Ft(r)).h),o=(0,Ut.ZP)(e.s,r.s),a=(0,Ut.ZP)(e.l,r.l),u=(0,Ut.ZP)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=u(t),e+""}}return n=+n,r.gamma=e,r}(1)}Wt(Ut.wx);var zt=Wt(Ut.ZP),Vt=zt(Ft(300,.5,0),Ft(-240,.5,1)),Yt=zt(Ft(-100,.75,.35),Ft(80,1.5,.8)),$t=zt(Ft(260,.75,.35),Ft(80,1.5,.8)),Xt=Ft();function Gt(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Xt.h=360*t-100,Xt.s=1.5-1.5*e,Xt.l=.8-.9*e,Xt+""}function Jt(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var Qt=Jt(kt("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Kt=Jt(kt("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),te=Jt(kt("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ee=Jt(kt("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ne(t){var e=0,n=1,r=!1;function i(i){var o=(i-e)/(n-e);return t(r?Math.max(0,Math.min(1,o)):o)}return i.domain=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.clamp=function(t){return arguments.length?(r=!!t,i):r},i.interpolator=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return ne(t).domain([e,n]).clamp(r)},E(i)}},9124:function(t,e,n){!function(t,e,r){"use strict";function i(t){var e=void 0===t?"undefined":A(t);return null!=t&&("object"==e||"function"==e)}function o(t){var e=i(t)?Z.call(t):"";return e==D||e==P||e==j}function a(t){return null!=t&&"object"==(void 0===t?"undefined":A(t))}function u(t){return"symbol"==(void 0===t?"undefined":A(t))||a(t)&&F.call(t)==H}function s(t){if("number"==typeof t)return t;if(u(t))return B;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(U,"");var n=z.test(t);return n||V.test(t)?Y(t.slice(2),n?2:8):W.test(t)?B:+t}function c(t,e,n){function r(e){var n=p,r=v;return p=v=void 0,x=e,y=t.apply(r,n)}function o(t){return x=t,m=setTimeout(c,e),w?r(t):y}function a(t){var n=e-(t-b);return _?G(n,g-(t-x)):n}function u(t){var n=t-b;return void 0===b||n>=e||0>n||_&&t-x>=g}function c(){var t=I();return u(t)?l(t):void(m=setTimeout(c,a(t)))}function l(t){return m=void 0,k&&p?r(t):(p=v=void 0,y)}function f(){void 0!==m&&clearTimeout(m),x=0,p=b=v=m=void 0}function h(){return void 0===m?y:l(I())}function d(){var t=I(),n=u(t);if(p=arguments,v=this,b=t,n){if(void 0===m)return o(b);if(_)return m=setTimeout(c,e),r(b)}return void 0===m&&(m=setTimeout(c,e)),y}var p,v,g,y,m,b,x=0,w=!1,_=!1,k=!0;if("function"!=typeof t)throw new TypeError($);return e=s(e)||0,i(n)&&(w=!!n.leading,g=(_="maxWait"in n)?X(s(n.maxWait)||0,e):g,k="trailing"in n?!!n.trailing:k),d.cancel=f,d.flush=h,d}function l(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError(J);return i(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),c(t,e,{leading:r,maxWait:e,trailing:o})}function f(t){return null==t?"":String(t).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function h(t){return null==t?"\\s":t.source?t.source:"["+f(t)+"]"}function d(t,e){if(null==t)return"";if(!e&&Q)return Q.call(t);var n=h(e),r=new RegExp("^"+n+"+|"+n+"+$","g");return String(t).replace(r,"")}function p(t){return d(t).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()}function v(t){t=t||{};for(var e=1;e<arguments.length;e++){var n=arguments[e];if(n)for(var r in n)if(n.hasOwnProperty(r)){var a=n[r];t[r]=!i(a)||Array.isArray(a)||o(a)?a:v(t[r],a)}}return t}function g(t){t=t||{};for(var e=1;e<arguments.length;e++)if(arguments[e])for(var n in arguments[e])arguments[e].hasOwnProperty(n)&&(t[n]=arguments[e][n]);return t}function y(t,e,n){return function(){var r=n.apply(e,arguments);return r===e?t:r}}function m(t,e){for(var n=1,r=arguments.length,i=void 0;++n<r;)t[i=arguments[n]]=y(t,e,e[i]);return t}function b(t){return o(t)?t:function(){return t}}function x(t){throw new Error("Missing parameter "+t)}function w(t){return null!=t}function _(t){return null==t}function k(t){return!(!t||1!==t.nodeType)}function T(t){if(_(t))return function(t,e){return Math.min(t,e)};var e=(""+t).trim().toLowerCase();if(e.indexOf("%")>-1){var n=function(){var t=+e.replace("%","")/100;return{v:function(e,n){return n*t}}}();if("object"===(void 0===n?"undefined":A(n)))return n.v}return function(){return+e.replace("px","")}}function M(t){function e(t,e){var n=arguments.length<=2||void 0===arguments[2]?"":arguments[2],r=e.split("."),i=void 0,o=void 0;r.length>1?(o=r[0].length>0?r[0]:s,i=r[1]):(o=s,i=r[0]);var a=""+n+i;if(c.hasOwnProperty(a))throw new Error("invalid or duplicate layer id: "+a);var u=p(i)+"-layer",l=t.append(o).classed(u,!0);return c[a]=l,l}function n(t,r){var o=arguments.length<=2||void 0===arguments[2]?"":arguments[2];if(Array.isArray(r))return r.map((function(e){return n(t,e,o)}));if(i(r)){var a=Object.keys(r),u=O(a,1)[0],s=e(t,u,o);return n(s,r[u],""+o+u+"/"),s}return e(t,r,o)}function r(e){return n(t,e)}function o(t){return Array.isArray(t)?t.map(r):r(t)}function a(t){return c[t]}function u(t){return!!c[t]}var s=arguments.length<=1||void 0===arguments[1]?"g":arguments[1],c={};return{create:o,get:a,has:u}}var A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},C=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),E=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},N=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},O=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),D="[object Function]",P="[object GeneratorFunction]",j="[object Proxy]",Z=Object.prototype.toString,L="object"==(void 0===n.g?"undefined":A(n.g))&&n.g&&n.g.Object===Object&&n.g,R="object"==("undefined"==typeof self?"undefined":A(self))&&self&&self.Object===Object&&self,q=L||R||Function("return this")(),I=function(){return q.Date.now()},H="[object Symbol]",F=Object.prototype.toString,B=NaN,U=/^\s+|\s+$/g,W=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,V=/^0o[0-7]+$/i,Y=parseInt,$="Expected a function",X=Math.max,G=Math.min,J="Expected a function",Q=String.prototype.trim,K=Object.freeze({isObject:i,isFunction:o,kebabCase:p,deepExtend:v,extend:g,rebind:m,functor:b,debounce:c,throttle:l}),tt=function(){function t(){C(this,t);for(var e=arguments.length,n=Array(e),r=0;e>r;r++)n[r]=arguments[r];if(1===n.length){var i=n[0],a=o(i)?i():i;if(a instanceof t)this.width=a.width,this.height=a.height;else if(k(a))this.width=a.clientWidth,this.height=a.clientHeight;else if(Array.isArray(a))this.width=a[0],this.height=a[1];else{if(!(w(a)&&w(a.width)&&w(a.height))){var u=new Error("Unsupported input. Must be either\n DOMNode, Array or Object with field width and height,\n or a function that returns any of the above.");throw u.value=i,u}this.width=a.width,this.height=a.height}}else{var s=n[0],c=n[1];this.width=s,this.height=c}}return S(t,[{key:"isEqual",value:function(e){if(e instanceof t)return this.width===e.width&&this.height===e.height;var n=new t(e);return this.width===n.width&&this.height===n.height}},{key:"toArray",value:function(){return[this.width,this.height]}},{key:"toObject",value:function(){return{width:this.width,height:this.height}}}]),t}(),et=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];C(this,t);var n=e||{},r=n.mode,i=void 0===r?t.MODE_BASIC:r,o=n.width,a=void 0===o?"100%":o,u=n.height,s=void 0===u?null:u,c=n.ratio,l=void 0===c?1:c,f=n.maxWidth,h=void 0===f?null:f,d=n.maxHeight,p=void 0===d?null:d;i===t.MODE_ASPECT_RATIO?(this.wFn=T(h),this.hFn=T(p),this.options={mode:i,ratio:l,maxWidth:h,maxHeight:p}):(this.wFn=T(a),this.hFn=T(s),this.options={mode:i,width:a,height:s})}return S(t,[{key:"fit",value:function(){var e=arguments.length<=0||void 0===arguments[0]?x("box"):arguments[0],n=arguments.length<=1||void 0===arguments[1]?x("container"):arguments[1],r=new tt(e),i=r.width,o=r.height,a=new tt(n),u=a.width,s=a.height,c=void 0;if(this.options.mode===t.MODE_ASPECT_RATIO){var l=this.options.ratio,f=this.wFn(u,u),h=this.hFn(s,s),d=Math.floor(l*h);c=f>=d?new tt(d,h):new tt(f,Math.floor(f/l))}else c=new tt(this.wFn(i,u),this.hFn(o,s));return{dimension:c,changed:!c.isEqual(r)}}}]),t}();et.MODE_BASIC="basic",et.MODE_ASPECT_RATIO="aspectRatio";var nt=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];C(this,t);var n=e||{},r=n.mode,i=void 0===r?t.MODE_WINDOW:r,o=n.target,a=void 0===o?null:o,u=n.interval,s=void 0===u?200:u;i!==t.MODE_POLLING||a||x("options.target"),this.mode=i,this.target=a,this.interval=s,this.check=this.check.bind(this),this.throttledCheck=l(this.check,this.interval),this.isWatching=!1,this.listeners={change:[]}}return S(t,[{key:"hasTargetChanged",value:function(){if(!this.target)return!0;var t=new tt(this.target);return!(this.currentDim&&t.isEqual(this.currentDim)||(this.currentDim=t,0))}},{key:"check",value:function(){return this.hasTargetChanged()&&this.dispatch("change",this.currentDim),this}},{key:"dispatch",value:function(t){for(var e=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;n>i;i++)r[i-1]=arguments[i];return this.listeners[t].forEach((function(t){return t.apply(e,r)})),this}},{key:"on",value:function(t,e){return-1===this.listeners[t].indexOf(e)&&this.listeners[t].push(e),this}},{key:"off",value:function(t,e){return this.listeners[t]=this.listeners[t].filter((function(t){return t!==e})),this}},{key:"start",value:function(){return this.isWatching||(this.target&&(this.currentDim=new tt(this.target)),this.mode===t.MODE_WINDOW?window.addEventListener("resize",this.throttledCheck):this.mode===t.MODE_POLLING&&(this.intervalId=window.setInterval(this.check,this.interval)),this.isWatching=!0),this}},{key:"stop",value:function(){return this.isWatching&&(this.mode===t.MODE_WINDOW?window.removeEventListener("resize",this.throttledCheck):this.mode===t.MODE_POLLING&&this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null),this.isWatching=!1),this}},{key:"destroy",value:function(){return this.stop(),this.listeners.change=[],this}}]),t}();nt.MODE_WINDOW="window",nt.MODE_POLLING="polling";var rt=function(t){function e(){var t=arguments.length<=0||void 0===arguments[0]?x("box"):arguments[0],n=arguments.length<=1||void 0===arguments[1]?x("container"):arguments[1],r=arguments[2],i=arguments[3];C(this,e);var o=N(this,Object.getPrototypeOf(e).call(this,i)),a=new et(r);return o.fit=function(){return a.fit(t,n)},o}return E(e,t),S(e,[{key:"check",value:function(){if(this.hasTargetChanged()){var t=this.fit(),e=t.changed,n=t.dimension;e&&this.dispatch("change",n)}return this}}]),e}(nt),it=function(){function t(){C(this,t);for(var e=arguments.length,n=Array(e),r=0;e>r;r++)n[r]=arguments[r];var i=v.apply(void 0,[this.constructor.getDefaultOptions()].concat(n));this._state={width:i.initialWidth,height:i.initialHeight,options:i},this._updateDimension=c(this._updateDimension.bind(this),1)}return S(t,null,[{key:"getDefaultOptions",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];return v.apply(void 0,[{initialWidth:720,initialHeight:500,margin:{top:30,right:30,bottom:30,left:30},offset:[.5,.5],pixelRatio:window.devicePixelRatio||1}].concat(e))}}]),S(t,[{key:"copyDimension",value:function(t){if(t){var e=t._state,n=e.width,r=e.height,i=t._state.options,o=i.offset,a=i.margin,u=i.pixelRatio;v(this._state,{width:n,height:r,options:{offset:o.concat(),margin:a,pixelRatio:u}}),this._updateDimension()}return this}},{key:"width",value:function(){if(0===arguments.length)return this._state.width;var t=Math.floor(+(arguments.length<=0?void 0:arguments[0]));return t!==this._state.width&&(this._state.width=t,this._updateDimension()),this}},{key:"height",value:function(){if(0===arguments.length)return this._state.height;var t=Math.floor(+(arguments.length<=0?void 0:arguments[0]));return t!==this._state.height&&(this._state.height=t,this._updateDimension()),this}},{key:"dimension",value:function(){if(0===arguments.length)return[this._state.width,this._state.height];var t=O(arguments.length<=0?void 0:arguments[0],2),e=t[0],n=t[1];return this.width(e).height(n),this}},{key:"margin",value:function(){if(0===arguments.length)return this._state.options.margin;var t=this._state.options.margin,e=g({},this._state.options.margin,arguments.length<=0?void 0:arguments[0]);return Object.keys(e).some((function(n){return t[n]!==e[n]}))&&(this._state.options.margin=e,this._updateDimension()),this}},{key:"offset",value:function(){if(0===arguments.length)return this._state.options.offset;var t=arguments.length<=0?void 0:arguments[0],e=O(this._state.options.offset,2),n=e[0],r=e[1],i=O(t,2),o=i[0],a=i[1];return(n!==o||r!==a)&&(this._state.options.offset=t,this._updateDimension()),this}},{key:"pixelRatio",value:function(){if(0===arguments.length)return this._state.options.pixelRatio;var t=+(arguments.length<=0?void 0:arguments[0]);return t!==this._state.options.pixelRatio&&(this._state.options.pixelRatio=t,this._updateDimension()),this}},{key:"_updateDimension",value:function(){return this}},{key:"updateDimensionNow",value:function(){return this._updateDimension(),this._updateDimension.flush(),this}}]),t}(),ot=function(t){function n(t){var r;C(this,n);for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;i>a;a++)o[a-1]=arguments[a];var u=N(this,(r=Object.getPrototypeOf(n)).call.apply(r,[this].concat(o)));g(u._state,{innerWidth:0,innerHeight:0,fitOptions:null,data:null,plates:[]}),u.container=e.select(t),u.container.style("line-height",0),u.chartRoot=u.container.append("div").classed("d3kit-chart-root",!0).style("display","inline-block").style("position","relative").style("line-height",0),u.plates={};var s=u.constructor.getCustomEventNames();return u.setupDispatcher(s),u._dispatchData=c(u._dispatchData.bind(u),1),u._dispatchOptions=c(u._dispatchOptions.bind(u),1),u}return E(n,t),S(n,null,[{key:"getCustomEventNames",value:function(){return[]}}]),S(n,[{key:"addPlate",value:function(t,e,n){if(this.plates[t])throw new Error("Plate with this name already exists",t);return this._state.plates.push(e),this.plates[t]=e,n?e:(e.getSelection().classed("d3kit-plate",!0).style("position","absolute").style("top",0).style("left",0),this.chartRoot.append((function(){return e.getNode()})),this)}},{key:"removePlate",value:function(t){var e=this.plates[t];if(e){var n=this._state.plates.indexOf(e);n>-1&&this._state.plates.splice(n,1),e.getNode().parentNode===this.chartRoot.node()&&this.chartRoot.node().removeChild(e.getNode()),delete this.plates[t]}return this}},{key:"setupDispatcher",value:function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];return this._customEventNames=t,this._eventNames=n.DEFAULT_EVENTS.concat(t),this.dispatcher=r.dispatch.apply(this,this._eventNames),this}},{key:"getCustomEventNames",value:function(){return this._customEventNames}},{key:"getInnerWidth",value:function(){return this._state.innerWidth}},{key:"getInnerHeight",value:function(){return this._state.innerHeight}},{key:"data",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];if(0===e.length)return this._state.data;var r=e[0];return this._state.data=r,this._dispatchData(),this}},{key:"options",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];if(0===e.length)return this._state.options;var r=e[0],i=g({},r);return r.margin&&(this.margin(r.margin),delete i.margin),r.offset&&(this.offset(r.offset),delete i.offset),r.pixelRatio&&(this.pixelRatio(r.pixelRatio),delete i.pixelRatio),this._state.options=v(this._state.options,i),this._dispatchOptions(),this}},{key:"_updateDimension",value:function(){var t=this,e=this._state,n=e.width,r=e.height,i=e.plates,o=this._state.options.margin,a=o.top,u=o.right,s=o.bottom,c=o.left;this._state.innerWidth=n-c-u,this._state.innerHeight=r-a-s,this.chartRoot.style("width",n+"px").style("height",r+"px"),i.forEach((function(e){e.copyDimension(t).updateDimensionNow()}));var l=this._state,f=l.innerWidth,h=l.innerHeight;return this.dispatcher.apply("resize",this,[n,r,f,h]),this}},{key:"hasData",value:function(){var t=this._state.data;return null!=t}},{key:"hasNonZeroArea",value:function(){var t=this._state,e=t.innerWidth,n=t.innerHeight;return e>0&&n>0}},{key:"fit",value:function(t){var e=this,n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];t&&(this._state.fitOptions=t);var r=new et(this._state.fitOptions).fit(this.dimension(),this.container.node()),o=r.changed,a=r.dimension;return o&&this.dimension([a.width,a.height]),!!n&&(this.fitWatcher&&this.fitWatcher.destroy(),this.fitWatcher=new rt((function(){return e.dimension()}),this.container.node(),this._state.fitOptions,i(n)?n:null).on("change",(function(t){return e.dimension([t.width,t.height])})).start()),this}},{key:"stopFitWatcher",value:function(){return this.fitWatcher&&(this.fitWatcher.destroy(),this.fitWatcher=null),this}},{key:"_dispatchData",value:function(){return this.dispatcher.call("data",this,this._state.data),this}},{key:"_dispatchOptions",value:function(){return this.dispatcher.call("options",this,this._state.options),this}},{key:"on",value:function(t,e){return this.dispatcher.on(t,e),this}},{key:"off",value:function(t){return this.dispatcher.on(t,null),this}},{key:"dispatchAs",value:function(t){var e=this;return function(){for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];e.dispatcher.apply(t,e,r)}}},{key:"destroy",value:function(){var t=this;return this._eventNames.forEach((function(e){t.off(e)})),this.stopFitWatcher(),this}}]),n}(it);ot.DEFAULT_EVENTS=["data","options","resize"];var at=function(t){function n(t){var r;C(this,n);for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;i>a;a++)o[a-1]=arguments[a];var u=N(this,(r=Object.getPrototypeOf(n)).call.apply(r,[this].concat(o)));return u.node=t,u.selection=e.select(u.node),u}return E(n,t),S(n,[{key:"getNode",value:function(){return this.node}},{key:"getSelection",value:function(){return this.selection}}]),n}(it),ut=function(t){function e(){var t;C(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];return N(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElement("canvas")].concat(r)))}return E(e,t),S(e,[{key:"getContext2d",value:function(){var t=(this.width(),this.height(),this.pixelRatio()),e=this.margin(),n=e.top,r=e.left,i=this.offset(),o=O(i,2),a=o[0],u=o[1],s=this.node.getContext("2d");return s.setTransform(1,0,0,1,0,0),s.scale(t,t),s.translate(r+a,n+u),s}},{key:"clear",value:function(){var t=this.width(),e=this.height(),n=this.pixelRatio(),r=this.node.getContext("2d");return r.setTransform(1,0,0,1,0,0),r.scale(n,n),r.clearRect(0,0,t,e),this}},{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.pixelRatio();return this.node.setAttribute("width",t*n),this.node.setAttribute("height",e*n),this.node.style.width=t+"px",this.node.style.height=e+"px",this}}]),e}(at),st=function(t){function e(t){var n;C(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;r>o;o++)i[o-1]=arguments[o];var a=N(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));return a.addPlate("canvas",new ut),a.canvas=a.plates.canvas.getSelection(),a.updateDimensionNow(),a}return E(e,t),S(e,[{key:"getContext2d",value:function(){return this.plates.canvas.getContext2d()}},{key:"clear",value:function(){return this.plates.canvas.clear(),this}}]),e}(ot),ct=function(t){function e(){var t;C(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];var o=N(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElementNS("http://www.w3.org/2000/svg","svg")].concat(r)));return o.rootG=o.selection.append("g"),o.layers=new M(o.rootG),o}return E(e,t),S(e,[{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.margin(),r=n.top,i=n.left,o=this.offset(),a=O(o,2),u=a[0],s=a[1];return this.selection.attr("width",t).attr("height",e),this.rootG.attr("transform","translate("+(i+u)+","+(r+s)+")"),this}}]),e}(at),lt=function(t){function e(t){var n;C(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;r>o;o++)i[o-1]=arguments[o];var a=N(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));a.addPlate("svg",new ct);var u=a.plates.svg;return a.svg=u.getSelection(),a.rootG=u.rootG,a.layers=u.layers,a.updateDimensionNow(),a}return E(e,t),e}(st),ft=function(t){function e(t){var n;C(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;r>o;o++)i[o-1]=arguments[o];var a=N(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));a.addPlate("svg",new ct);var u=a.plates.svg;return a.svg=u.getSelection(),a.rootG=u.rootG,a.layers=u.layers,a.updateDimensionNow(),a}return E(e,t),e}(ot),ht=function(t){function e(){var t;C(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];return N(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElement("div")].concat(r)))}return E(e,t),S(e,[{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.margin();return this.node.style.width=t-n.left-n.right+"px",this.node.style.height=e-n.top-n.bottom+"px",this.node.style.marginLeft=n.left+"px",this.node.style.marginRight=n.right+"px",this.node.style.marginTop=n.top+"px",this.node.style.marginBottom=n.bottom+"px",this}}]),e}(at);t.helper=K,t.AbstractChart=ot,t.CanvasChart=st,t.HybridChart=lt,t.SvgChart=ft,t.AbstractPlate=at,t.CanvasPlate=ut,t.DivPlate=ht,t.SvgPlate=ct,t.LayerOrganizer=M,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(8937),n(8258))},9755:function(t,e){var n;
2/*!
3 * jQuery JavaScript Library v3.6.0
4 * https://jquery.com/
5 *
6 * Includes Sizzle.js
7 * https://sizzlejs.com/
8 *
9 * Copyright OpenJS Foundation and other contributors
10 * Released under the MIT license
11 * https://jquery.org/license
12 *
13 * Date: 2021-03-02T17:08Z
14 */!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(r,i){"use strict";var o=[],a=Object.getPrototypeOf,u=o.slice,s=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},c=o.push,l=o.indexOf,f={},h=f.toString,d=f.hasOwnProperty,p=d.toString,v=p.call(Object),g={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},m=function(t){return null!=t&&t===t.window},b=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var r,i,o=(n=n||b).createElement("script");if(o.text=t,e)for(r in x)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function _(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[h.call(t)]||"object":typeof t}var k="3.6.0",T=function(t,e){return new T.fn.init(t,e)};function M(t){var e=!!t&&"length"in t&&t.length,n=_(t);return!y(t)&&!m(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}T.fn=T.prototype={jquery:k,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)},even:function(){return this.pushStack(T.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(t,e){return e%2})))},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:c,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},u=1,s=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[u]||{},u++),"object"==typeof a||y(a)||(a={}),u===s&&(a=this,u--);u<s;u++)if(null!=(t=arguments[u]))for(e in t)r=t[e],"__proto__"!==e&&a!==r&&(c&&r&&(T.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[e],o=i&&!Array.isArray(n)?[]:i||T.isPlainObject(n)?n:{},i=!1,a[e]=T.extend(c,o,r)):void 0!==r&&(a[e]=r));return a},T.extend({expando:"jQuery"+(k+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]"!==h.call(t))&&(!(e=a(t))||"function"==typeof(n=d.call(e,"constructor")&&e.constructor)&&p.call(n)===v)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if(M(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(M(Object(t))?T.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:l.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(M(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return s(a)},guid:1,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){f["[object "+e+"]"]=e.toLowerCase()}));var A=
15/*!
16 * Sizzle CSS Selector Engine v2.3.6
17 * https://sizzlejs.com/
18 *
19 * Copyright JS Foundation and other contributors
20 * Released under the MIT license
21 * https://js.foundation/
22 *
23 * Date: 2021-02-16
24 */
25function(t){var e,n,r,i,o,a,u,s,c,l,f,h,d,p,v,g,y,m,b,x="sizzle"+1*new Date,w=t.document,_=0,k=0,T=st(),M=st(),A=st(),C=st(),S=function(t,e){return t===e&&(f=!0),0},E={}.hasOwnProperty,N=[],O=N.pop,D=N.push,P=N.push,j=N.slice,Z=function(t,e){for(var n=0,r=t.length;n<r;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",R="[\\x20\\t\\r\\n\\f]",q="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\[[\\x20\\t\\r\\n\\f]*("+q+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+q+"))|)"+R+"*\\]",H=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",F=new RegExp(R+"+","g"),B=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),U=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),z=new RegExp(R+"|>"),V=new RegExp(H),Y=new RegExp("^"+q+"$"),$={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){h()},at=xt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(N=j.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(t){P={apply:N.length?function(t,e){D.apply(t,j.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ut(t,e,r,i){var o,u,c,l,f,p,y,m=e&&e.ownerDocument,w=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&(h(e),e=e||d,v)){if(11!==w&&(f=K.exec(t)))if(o=f[1]){if(9===w){if(!(c=e.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(m&&(c=m.getElementById(o))&&b(e,c)&&c.id===o)return r.push(c),r}else{if(f[2])return P.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return P.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!C[t+" "]&&(!g||!g.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(y=t,m=e,1===w&&(z.test(t)||W.test(t))){for((m=tt.test(t)&&yt(e.parentNode)||e)===e&&n.scope||((l=e.getAttribute("id"))?l=l.replace(rt,it):e.setAttribute("id",l=x)),u=(p=a(t)).length;u--;)p[u]=(l?"#"+l:":scope")+" "+bt(p[u]);y=p.join(",")}try{return P.apply(r,m.querySelectorAll(y)),r}catch(e){C(t,!0)}finally{l===x&&e.removeAttribute("id")}}}return s(t.replace(B,"$1"),e,r,i)}function st(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function ct(t){return t[x]=!0,t}function lt(t){var e=d.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function ht(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function vt(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&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ct((function(e){return e=+e,ct((function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function yt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ut.support={},o=ut.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!X.test(e||n&&n.nodeName||"HTML")},h=ut.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:w;return a!=d&&9===a.nodeType&&a.documentElement?(p=(d=a).documentElement,v=!o(d),w!=d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ot,!1):i.attachEvent&&i.attachEvent("onunload",ot)),n.scope=lt((function(t){return p.appendChild(t).appendChild(d.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=lt((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=lt((function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=lt((function(t){return p.appendChild(t).id=x,!d.getElementsByName||!d.getElementsByName(x).length})),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},y=[],g=[],(n.qsa=Q.test(d.querySelectorAll))&&(lt((function(t){var e;p.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+L+")"),t.querySelectorAll("[id~="+x+"-]").length||g.push("~="),(e=d.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]"),t.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),lt((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Q.test(m=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&lt((function(t){n.disconnectedMatch=m.call(t,"*"),m.call(t,"[s!='']:x"),y.push("!=",H)})),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),e=Q.test(p.compareDocumentPosition),b=e||Q.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==d||t.ownerDocument==w&&b(w,t)?-1:e==d||e.ownerDocument==w&&b(w,e)?1:l?Z(l,t)-Z(l,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t==d?-1:e==d?1:i?-1:o?1:l?Z(l,t)-Z(l,e):0;if(i===o)return ht(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?ht(a[r],u[r]):a[r]==w?-1:u[r]==w?1:0},d):d},ut.matches=function(t,e){return ut(t,null,null,e)},ut.matchesSelector=function(t,e){if(h(t),n.matchesSelector&&v&&!C[e+" "]&&(!y||!y.test(e))&&(!g||!g.test(e)))try{var r=m.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){C(e,!0)}return ut(e,d,null,[t]).length>0},ut.contains=function(t,e){return(t.ownerDocument||t)!=d&&h(t),b(t,e)},ut.attr=function(t,e){(t.ownerDocument||t)!=d&&h(t);var i=r.attrHandle[e.toLowerCase()],o=i&&E.call(r.attrHandle,e.toLowerCase())?i(t,e,!v):void 0;return void 0!==o?o:n.attributes||!v?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ut.escape=function(t){return(t+"").replace(rt,it)},ut.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ut.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&t.slice(0),t.sort(S),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return l=null,t},i=ut.getText=function(t){var e,n="",r=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+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},r=ut.selectors={cacheLength:50,createPseudo:ct,match:$,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]||ut.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]&&ut.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return $.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&V.test(n)&&(e=a(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=T[t+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"("+R+"|$)"))&&T(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var i=ut.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(F," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),u="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,s){var c,l,f,h,d,p,v=o!==a?"nextSibling":"previousSibling",g=e.parentNode,y=u&&e.nodeName.toLowerCase(),m=!s&&!u,b=!1;if(g){if(o){for(;v;){for(h=e;h=h[v];)if(u?h.nodeName.toLowerCase()===y:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&m){for(b=(d=(c=(l=(f=(h=g)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===_&&c[1])&&c[2],h=d&&g.childNodes[d];h=++d&&h&&h[v]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){l[t]=[_,d,b];break}}else if(m&&(b=d=(c=(l=(f=(h=e)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===_&&c[1]),!1===b)for(;(h=++d&&h&&h[v]||(b=d=0)||p.pop())&&((u?h.nodeName.toLowerCase()!==y:1!==h.nodeType)||!++b||(m&&((l=(f=h[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[_,b]),h!==e)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ut.error("unsupported pseudo: "+t);return i[x]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=Z(t,o[a])]=!(n[r]=o[a])})):function(t){return i(t,0,n)}):i}},pseudos:{not:ct((function(t){var e=[],n=[],r=u(t.replace(B,"$1"));return r[x]?ct((function(t,e,n,i){for(var o,a=r(t,null,i,[]),u=t.length;u--;)(o=a[u])&&(t[u]=!(e[u]=o))})):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}})),has:ct((function(t){return function(e){return ut(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}})),lang:ct((function(t){return Y.test(t||"")||ut.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===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===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:vt(!1),disabled:vt(!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!r.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return G.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 r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t})),gt:gt((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=dt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=pt(e);function mt(){}function bt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function xt(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,u=k++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i);return!1}:function(e,n,s){var c,l,f,h=[_,u];if(s){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,s))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(l=(f=e[x]||(e[x]={}))[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((c=l[o])&&c[0]===_&&c[1]===u)return h[2]=c[2];if(l[o]=h,h[2]=t(e,n,s))return!0}return!1}}function wt(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function _t(t,e,n,r,i){for(var o,a=[],u=0,s=t.length,c=null!=e;u<s;u++)(o=t[u])&&(n&&!n(o,r,i)||(a.push(o),c&&e.push(u)));return a}function kt(t,e,n,r,i,o){return r&&!r[x]&&(r=kt(r)),i&&!i[x]&&(i=kt(i,o)),ct((function(o,a,u,s){var c,l,f,h=[],d=[],p=a.length,v=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)ut(t,e[r],n);return n}(e||"*",u.nodeType?[u]:u,[]),g=!t||!o&&e?v:_t(v,h,t,u,s),y=n?i||(o?t:p||r)?[]:a:g;if(n&&n(g,y,u,s),r)for(c=_t(y,d),r(c,[],u,s),l=c.length;l--;)(f=c[l])&&(y[d[l]]=!(g[d[l]]=f));if(o){if(i||t){if(i){for(c=[],l=y.length;l--;)(f=y[l])&&c.push(g[l]=f);i(null,y=[],c,s)}for(l=y.length;l--;)(f=y[l])&&(c=i?Z(o,f):h[l])>-1&&(o[c]=!(a[c]=f))}}else y=_t(y===a?y.splice(p,y.length):y),i?i(null,a,y,s):P.apply(a,y)}))}function Tt(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],u=a||r.relative[" "],s=a?1:0,l=xt((function(t){return t===e}),u,!0),f=xt((function(t){return Z(e,t)>-1}),u,!0),h=[function(t,n,r){var i=!a&&(r||n!==c)||((e=n).nodeType?l(t,n,r):f(t,n,r));return e=null,i}];s<o;s++)if(n=r.relative[t[s].type])h=[xt(wt(h),n)];else{if((n=r.filter[t[s].type].apply(null,t[s].matches))[x]){for(i=++s;i<o&&!r.relative[t[i].type];i++);return kt(s>1&&wt(h),s>1&&bt(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(B,"$1"),n,s<i&&Tt(t.slice(s,i)),i<o&&Tt(t=t.slice(i)),i<o&&bt(t))}h.push(n)}return wt(h)}return mt.prototype=r.filters=r.pseudos,r.setFilters=new mt,a=ut.tokenize=function(t,e){var n,i,o,a,u,s,c,l=M[t+" "];if(l)return e?0:l.slice(0);for(u=t,s=[],c=r.preFilter;u;){for(a in n&&!(i=U.exec(u))||(i&&(u=u.slice(i[0].length)||u),s.push(o=[])),n=!1,(i=W.exec(u))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),u=u.slice(n.length)),r.filter)!(i=$[a].exec(u))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),u=u.slice(n.length));if(!n)break}return e?u.length:u?ut.error(t):M(t,s).slice(0)},u=ut.compile=function(t,e){var n,i=[],o=[],u=A[t+" "];if(!u){for(e||(e=a(t)),n=e.length;n--;)(u=Tt(e[n]))[x]?i.push(u):o.push(u);u=A(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,a,u,s,l){var f,p,g,y=0,m="0",b=o&&[],x=[],w=c,k=o||i&&r.find.TAG("*",l),T=_+=null==w?1:Math.random()||.1,M=k.length;for(l&&(c=a==d||a||l);m!==M&&null!=(f=k[m]);m++){if(i&&f){for(p=0,a||f.ownerDocument==d||(h(f),u=!v);g=t[p++];)if(g(f,a||d,u)){s.push(f);break}l&&(_=T)}n&&((f=!g&&f)&&y--,o&&b.push(f))}if(y+=m,n&&m!==y){for(p=0;g=e[p++];)g(b,x,a,u);if(o){if(y>0)for(;m--;)b[m]||x[m]||(x[m]=O.call(s));x=_t(x)}P.apply(s,x),l&&!o&&x.length>0&&y+e.length>1&&ut.uniqueSort(s)}return l&&(_=T,c=w),b};return n?ct(o):o}(o,i)),u.selector=t}return u},s=ut.select=function(t,e,n,i){var o,s,c,l,f,h="function"==typeof t&&t,d=!i&&a(t=h.selector||t);if(n=n||[],1===d.length){if((s=d[0]=d[0].slice(0)).length>2&&"ID"===(c=s[0]).type&&9===e.nodeType&&v&&r.relative[s[1].type]){if(!(e=(r.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=$.needsContext.test(t)?0:s.length;o--&&(c=s[o],!r.relative[l=c.type]);)if((f=r.find[l])&&(i=f(c.matches[0].replace(et,nt),tt.test(s[0].type)&&yt(e.parentNode)||e))){if(s.splice(o,1),!(t=i.length&&bt(s)))return P.apply(n,i),n;break}}return(h||u(t,d))(i,e,!v,n,!e||tt.test(t)&&yt(e.parentNode)||e),n},n.sortStable=x.split("").sort(S).join("")===x,n.detectDuplicates=!!f,h(),n.sortDetached=lt((function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))})),lt((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ft("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")}))||ft("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),lt((function(t){return null==t.getAttribute("disabled")}))||ft(L,(function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null})),ut}(r);T.find=A,T.expr=A.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=A.uniqueSort,T.text=A.getText,T.isXMLDoc=A.isXML,T.contains=A.contains,T.escapeSelector=A.escape;var C=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&T(t).is(n))break;r.push(t)}return r},S=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},E=T.expr.match.needsContext;function N(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 D(t,e,n){return y(e)?T.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?T.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?T.grep(t,(function(t){return l.call(e,t)>-1!==n})):T.filter(e,t,n)}T.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?T.find.matchesSelector(r,t)?[r]:[]:T.find.matches(t,T.grep(e,(function(t){return 1===t.nodeType})))},T.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(T(t).filter((function(){for(e=0;e<r;e++)if(T.contains(i[e],this))return!0})));for(n=this.pushStack([]),e=0;e<r;e++)T.find(t,i[e],n);return r>1?T.uniqueSort(n):n},filter:function(t){return this.pushStack(D(this,t||[],!1))},not:function(t){return this.pushStack(D(this,t||[],!0))},is:function(t){return!!D(this,"string"==typeof t&&E.test(t)?T(t):t||[],!1).length}});var P,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||P,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:j.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof T?e[0]:e,T.merge(this,T.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),O.test(r[1])&&T.isPlainObject(e))for(r in e)y(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(T):T.makeArray(t,this)}).prototype=T.fn,P=T(b);var Z=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function R(t,e){for(;(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,r=0,i=this.length,o=[],a="string"!=typeof t&&T(t);if(!E.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.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?l.call(T(t),this[0]):l.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 C(t,"parentNode")},parentsUntil:function(t,e,n){return C(t,"parentNode",n)},next:function(t){return R(t,"nextSibling")},prev:function(t){return R(t,"previousSibling")},nextAll:function(t){return C(t,"nextSibling")},prevAll:function(t){return C(t,"previousSibling")},nextUntil:function(t,e,n){return C(t,"nextSibling",n)},prevUntil:function(t,e,n){return C(t,"previousSibling",n)},siblings:function(t){return S((t.parentNode||{}).firstChild,t)},children:function(t){return S(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(N(t,"template")&&(t=t.content||t),T.merge([],t.childNodes))}},(function(t,e){T.fn[t]=function(n,r){var i=T.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),this.length>1&&(L[t]||T.uniqueSort(i),Z.test(t)&&i.reverse()),this.pushStack(i)}}));var q=/[^\x20\t\r\n\f]+/g;function I(t){return t}function H(t){throw t}function F(t,e,n,r){var i;try{t&&y(i=t.promise)?i.call(t).done(e).fail(n):t&&y(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}T.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return T.each(t.match(q)||[],(function(t,n){e[n]=!0})),e}(t):T.extend({},t);var e,n,r,i,o=[],a=[],u=-1,s=function(){for(i=i||t.once,r=e=!0;a.length;u=-1)for(n=a.shift();++u<o.length;)!1===o[u].apply(n[0],n[1])&&t.stopOnFalse&&(u=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(u=o.length-1,a.push(n)),function e(n){T.each(n,(function(n,r){y(r)?t.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==_(r)&&e(r)}))}(arguments),n&&!e&&s()),this},remove:function(){return T.each(arguments,(function(t,e){for(var n;(n=T.inArray(e,o,n))>-1;)o.splice(n,1),n<=u&&u--})),this},has:function(t){return t?T.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},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"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return T.Deferred((function(n){T.each(e,(function(e,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]]((function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,i){var o=0;function a(t,e,n,i){return function(){var u=this,s=arguments,c=function(){var r,c;if(!(t<o)){if((r=n.apply(u,s))===e.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,y(c)?i?c.call(r,a(o,e,I,i),a(o,e,H,i)):(o++,c.call(r,a(o,e,I,i),a(o,e,H,i),a(o,e,I,e.notifyWith))):(n!==I&&(u=void 0,s=[r]),(i||e.resolveWith)(u,s))}},l=i?c:function(){try{c()}catch(r){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(r,l.stackTrace),t+1>=o&&(n!==H&&(u=void 0,s=[r]),e.rejectWith(u,s))}};t?l():(T.Deferred.getStackHook&&(l.stackTrace=T.Deferred.getStackHook()),r.setTimeout(l))}}return T.Deferred((function(r){e[0][3].add(a(0,r,y(i)?i:I,r.notifyWith)),e[1][3].add(a(0,r,y(t)?t:I)),e[2][3].add(a(0,r,y(n)?n:H))})).promise()},promise:function(t){return null!=t?T.extend(t,i):i}},o={};return T.each(e,(function(t,r){var a=r[2],u=r[5];i[r[1]]=a.add,u&&a.add((function(){n=u}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=u.call(arguments),o=T.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?u.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(F(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)F(i[n],a(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,e){r.console&&r.console.warn&&t&&B.test(t.name)&&r.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},T.readyException=function(t){r.setTimeout((function(){throw t}))};var U=T.Deferred();function W(){b.removeEventListener("DOMContentLoaded",W),r.removeEventListener("load",W),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(b,[T]))}}),T.ready.then=U.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",W),r.addEventListener("load",W));var z=function(t,e,n,r,i,o,a){var u=0,s=t.length,c=null==n;if("object"===_(n))for(u in i=!0,n)z(t,e,u,n[u],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(T(t),n)})),e))for(;u<s;u++)e(t[u],n,a?r:r.call(t[u],u,e(t[u],n)));return i?t:c?e.call(t):s?e(t[0],n):o},V=/^-ms-/,Y=/-([a-z])/g;function $(t,e){return e.toUpperCase()}function X(t){return t.replace(V,"ms-").replace(Y,$)}var G=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function J(){this.expando=T.expando+J.uid++}J.uid=1,J.prototype={cache:function(t){var e=t[this.expando];return e||(e={},G(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[X(e)]=n;else for(r in e)i[X(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][X(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,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(X):(e=X(e))in r?[e]:e.match(q)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||T.isEmptyObject(r))&&(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 Q=new J,K=new J,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function nt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(n)}catch(t){}K.set(t,e,n)}else n=void 0;return n}T.extend({hasData:function(t){return K.hasData(t)||Q.hasData(t)},data:function(t,e,n){return K.access(t,e,n)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,n){return Q.access(t,e,n)},_removeData:function(t,e){Q.remove(t,e)}}),T.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=K.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),nt(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each((function(){K.set(this,t)})):z(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=K.get(o,t))||void 0!==(n=nt(o,t))?n:void 0;this.each((function(){K.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){K.remove(this,t)}))}}),T.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Q.get(t,e),n&&(!r||Array.isArray(n)?r=Q.access(t,e,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=T.queue(t,e),r=n.length,i=n.shift(),o=T._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,(function(){T.dequeue(t,e)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Q.get(t,n)||Q.access(t,n,{empty:T.Callbacks("once memory").add((function(){Q.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,r=1,i=T.Deferred(),o=this,a=this.length,u=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Q.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(u));return u(),i.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],at=b.documentElement,ut=function(t){return T.contains(t.ownerDocument,t)},st={composed:!0};at.getRootNode&&(ut=function(t){return T.contains(t.ownerDocument,t)||t.getRootNode(st)===t.ownerDocument});var ct=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ut(t)&&"none"===T.css(t,"display")};function lt(t,e,n,r){var i,o,a=20,u=r?function(){return r.cur()}:function(){return T.css(t,e,"")},s=u(),c=n&&n[3]||(T.cssNumber[e]?"":"px"),l=t.nodeType&&(T.cssNumber[e]||"px"!==c&&+s)&&it.exec(T.css(t,e));if(l&&l[3]!==c){for(s/=2,c=c||l[3],l=+s||1;a--;)T.style(t,e,l+c),(1-o)*(1-(o=u()/s||.5))<=0&&(a=0),l/=o;l*=2,T.style(t,e,l+c),n=n||[]}return n&&(l=+l||+s||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}var ft={};function ht(t){var e,n=t.ownerDocument,r=t.nodeName,i=ft[r];return i||(e=n.body.appendChild(n.createElement(r)),i=T.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),ft[r]=i,i)}function dt(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=Q.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ct(r)&&(i[o]=ht(r))):"none"!==n&&(i[o]="none",Q.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}T.fn.extend({show:function(){return dt(this,!0)},hide:function(){return dt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){ct(this)?T(this).show():T(this).hide()}))}});var pt,vt,gt=/^(?:checkbox|radio)$/i,yt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,mt=/^$|^module$|\/(?:java|ecma)script/i;pt=b.createDocumentFragment().appendChild(b.createElement("div")),(vt=b.createElement("input")).setAttribute("type","radio"),vt.setAttribute("checked","checked"),vt.setAttribute("name","t"),pt.appendChild(vt),g.checkClone=pt.cloneNode(!0).cloneNode(!0).lastChild.checked,pt.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!pt.cloneNode(!0).lastChild.defaultValue,pt.innerHTML="<option></option>",g.option=!!pt.lastChild;var bt={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 xt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&N(t,e)?T.merge([t],n):n}function wt(t,e){for(var n=0,r=t.length;n<r;n++)Q.set(t[n],"globalEval",!e||Q.get(e[n],"globalEval"))}bt.tbody=bt.tfoot=bt.colgroup=bt.caption=bt.thead,bt.th=bt.td,g.option||(bt.optgroup=bt.option=[1,"<select multiple='multiple'>","</select>"]);var _t=/<|&#?\w+;/;function kt(t,e,n,r,i){for(var o,a,u,s,c,l,f=e.createDocumentFragment(),h=[],d=0,p=t.length;d<p;d++)if((o=t[d])||0===o)if("object"===_(o))T.merge(h,o.nodeType?[o]:o);else if(_t.test(o)){for(a=a||f.appendChild(e.createElement("div")),u=(yt.exec(o)||["",""])[1].toLowerCase(),s=bt[u]||bt._default,a.innerHTML=s[1]+T.htmlPrefilter(o)+s[2],l=s[0];l--;)a=a.lastChild;T.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(r&&T.inArray(o,r)>-1)i&&i.push(o);else if(c=ut(o),a=xt(f.appendChild(o),"script"),c&&wt(a),n)for(l=0;o=a[l++];)mt.test(o.type||"")&&n.push(o);return f}var Tt=/^([^.]*)(?:\.(.+)|)/;function Mt(){return!0}function At(){return!1}function Ct(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function St(t,e,n,r,i,o){var a,u;if("object"==typeof e){for(u in"string"!=typeof n&&(r=r||n,n=void 0),e)St(t,u,n,r,e[u],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=At;else if(!i)return t;return 1===o&&(a=i,i=function(t){return T().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=T.guid++)),t.each((function(){T.event.add(this,e,i,r,n)}))}function Et(t,e,n){n?(Q.set(t,e,!1),T.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=Q.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(T.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=u.call(arguments),Q.set(this,e,o),r=n(this,e),this[e](),o!==(i=Q.get(this,e))||r?Q.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else o.length&&(Q.set(this,e,{value:T.event.trigger(T.extend(o[0],T.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,e)&&T.event.add(t,e,Mt)}T.event={global:{},add:function(t,e,n,r,i){var o,a,u,s,c,l,f,h,d,p,v,g=Q.get(t);if(G(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&T.find.matchesSelector(at,i),n.guid||(n.guid=T.guid++),(s=g.events)||(s=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(q)||[""]).length;c--;)d=v=(u=Tt.exec(e[c])||[])[1],p=(u[2]||"").split(".").sort(),d&&(f=T.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=T.event.special[d]||{},l=T.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=s[d])||((h=s[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),T.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,a,u,s,c,l,f,h,d,p,v,g=Q.hasData(t)&&Q.get(t);if(g&&(s=g.events)){for(c=(e=(e||"").match(q)||[""]).length;c--;)if(d=v=(u=Tt.exec(e[c])||[])[1],p=(u[2]||"").split(".").sort(),d){for(f=T.event.special[d]||{},h=s[d=(r?f.delegateType:f.bindType)||d]||[],u=u[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)l=h[o],!i&&v!==l.origType||n&&n.guid!==l.guid||u&&!u.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(t,l));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,p,g.handle)||T.removeEvent(t,d,g.handle),delete s[d])}else for(d in s)T.event.remove(t,d+e[c],n,r,!0);T.isEmptyObject(s)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,u=new Array(arguments.length),s=T.event.fix(t),c=(Q.get(this,"events")||Object.create(null))[s.type]||[],l=T.event.special[s.type]||{};for(u[0]=s,e=1;e<arguments.length;e++)u[e]=arguments[e];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=T.event.handlers.call(this,s,c),e=0;(i=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,i,o,a,u=[],s=e.delegateCount,c=t.target;if(s&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],a={},n=0;n<s;n++)void 0===a[i=(r=e[n]).selector+" "]&&(a[i]=r.needsContext?T(i,this).index(c)>-1:T.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&u.push({elem:c,handlers:o})}return c=this,s<e.length&&u.push({elem:c,handlers:e.slice(s)}),u},addProp:function(t,e){Object.defineProperty(T.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(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 gt.test(e.type)&&e.click&&N(e,"input")&&Et(e,"click",Mt),!1},trigger:function(t){var e=this||t;return gt.test(e.type)&&e.click&&N(e,"input")&&Et(e,"click"),!0},_default:function(t){var e=t.target;return gt.test(e.type)&&e.click&&N(e,"input")&&Q.get(e,"click")||N(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?Mt:At,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:At,isPropagationStopped:At,isImmediatePropagationStopped:At,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Mt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Mt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Mt,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:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(t,e){T.event.special[t]={setup:function(){return Et(this,t,Ct),!1},trigger:function(){return Et(this,t),!0},_default:function(){return!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,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||T.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}})),T.fn.extend({on:function(t,e,n,r){return St(this,t,e,n,r)},one:function(t,e,n,r){return St(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,T(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=At),this.each((function(){T.event.remove(this,t,n,e)}))}});var Nt=/<script|<style|<link/i,Ot=/checked\s*(?:[^=]|=\s*.checked.)/i,Dt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Pt(t,e){return N(t,"table")&&N(11!==e.nodeType?e:e.firstChild,"tr")&&T(t).children("tbody")[0]||t}function jt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Zt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Lt(t,e){var n,r,i,o,a,u;if(1===e.nodeType){if(Q.hasData(t)&&(u=Q.get(t).events))for(i in Q.remove(e,"handle events"),u)for(n=0,r=u[i].length;n<r;n++)T.event.add(e,i,u[i][n]);K.hasData(t)&&(o=K.access(t),a=T.extend({},o),K.set(e,a))}}function Rt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&gt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function qt(t,e,n,r){e=s(e);var i,o,a,u,c,l,f=0,h=t.length,d=h-1,p=e[0],v=y(p);if(v||h>1&&"string"==typeof p&&!g.checkClone&&Ot.test(p))return t.each((function(i){var o=t.eq(i);v&&(e[0]=p.call(this,i,o.html())),qt(o,e,n,r)}));if(h&&(o=(i=kt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(a=T.map(xt(i,"script"),jt)).length;f<h;f++)c=i,f!==d&&(c=T.clone(c,!0,!0),u&&T.merge(a,xt(c,"script"))),n.call(t[f],c,f);if(u)for(l=a[a.length-1].ownerDocument,T.map(a,Zt),f=0;f<u;f++)c=a[f],mt.test(c.type||"")&&!Q.access(c,"globalEval")&&T.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?T._evalUrl&&!c.noModule&&T._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},l):w(c.textContent.replace(Dt,""),c,l))}return t}function It(t,e,n){for(var r,i=e?T.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||T.cleanData(xt(r)),r.parentNode&&(n&&ut(r)&&wt(xt(r,"script")),r.parentNode.removeChild(r));return t}T.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,a,u=t.cloneNode(!0),s=ut(t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||T.isXMLDoc(t)))for(a=xt(u),r=0,i=(o=xt(t)).length;r<i;r++)Rt(o[r],a[r]);if(e)if(n)for(o=o||xt(t),a=a||xt(u),r=0,i=o.length;r<i;r++)Lt(o[r],a[r]);else Lt(t,u);return(a=xt(u,"script")).length>0&&wt(a,!s&&xt(t,"script")),u},cleanData:function(t){for(var e,n,r,i=T.event.special,o=0;void 0!==(n=t[o]);o++)if(G(n)){if(e=n[Q.expando]){if(e.events)for(r in e.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,e.handle);n[Q.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),T.fn.extend({detach:function(t){return It(this,t,!0)},remove:function(t){return It(this,t)},text:function(t){return z(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 qt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pt(this,t).appendChild(t)}))},prepend:function(){return qt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Pt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return qt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return qt(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(xt(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 z(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!bt[(yt.exec(t)||["",""])[1].toLowerCase()]){t=T.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(T.cleanData(xt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return qt(this,arguments,(function(e){var n=this.parentNode;T.inArray(this,t)<0&&(T.cleanData(xt(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,r=[],i=T(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),T(i[a])[e](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ht=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),Ft=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=r),e.getComputedStyle(t)},Bt=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in r=n.call(t),e)t.style[i]=o[i];return r},Ut=new RegExp(ot.join("|"),"i");function Wt(t,e,n){var r,i,o,a,u=t.style;return(n=n||Ft(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||ut(t)||(a=T.style(t,e)),!g.pixelBoxStyles()&&Ht.test(a)&&Ut.test(e)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function zt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){c.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%",at.appendChild(c).appendChild(l);var t=r.getComputedStyle(l);n="1%"!==t.top,s=12===e(t.marginLeft),l.style.right="60%",a=36===e(t.right),i=36===e(t.width),l.style.position="absolute",o=12===e(l.offsetWidth/3),at.removeChild(c),l=null}}function e(t){return Math.round(parseFloat(t))}var n,i,o,a,u,s,c=b.createElement("div"),l=b.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,T.extend(g,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,n,i;return null==u&&(t=b.createElement("table"),e=b.createElement("tr"),n=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",at.appendChild(t).appendChild(e).appendChild(n),i=r.getComputedStyle(e),u=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,at.removeChild(t)),u}}))}();var Vt=["Webkit","Moz","ms"],Yt=b.createElement("div").style,$t={};function Xt(t){var e=T.cssProps[t]||$t[t];return e||(t in Yt?t:$t[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Vt.length;n--;)if((t=Vt[n]+e)in Yt)return t}(t)||t)}var Gt=/^(none|table(?!-c[ea]).+)/,Jt=/^--/,Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"};function te(t,e,n){var r=it.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ee(t,e,n,r,i,o){var a="width"===e?1:0,u=0,s=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(s+=T.css(t,n+ot[a],!0,i)),r?("content"===n&&(s-=T.css(t,"padding"+ot[a],!0,i)),"margin"!==n&&(s-=T.css(t,"border"+ot[a]+"Width",!0,i))):(s+=T.css(t,"padding"+ot[a],!0,i),"padding"!==n?s+=T.css(t,"border"+ot[a]+"Width",!0,i):u+=T.css(t,"border"+ot[a]+"Width",!0,i));return!r&&o>=0&&(s+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-s-u-.5))||0),s}function ne(t,e,n){var r=Ft(t),i=(!g.boxSizingReliable()||n)&&"border-box"===T.css(t,"boxSizing",!1,r),o=i,a=Wt(t,e,r),u="offset"+e[0].toUpperCase()+e.slice(1);if(Ht.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&N(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===T.css(t,"boxSizing",!1,r),(o=u in t)&&(a=t[u])),(a=parseFloat(a)||0)+ee(t,e,n||(i?"border":"content"),o,r,a)+"px"}function re(t,e,n,r,i){return new re.prototype.init(t,e,n,r,i)}T.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Wt(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,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,u=X(e),s=Jt.test(e),c=t.style;if(s||(e=Xt(u)),a=T.cssHooks[e]||T.cssHooks[u],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:c[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=lt(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||s||(n+=i&&i[3]||(T.cssNumber[u]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(s?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,r){var i,o,a,u=X(e);return Jt.test(e)||(e=Xt(u)),(a=T.cssHooks[e]||T.cssHooks[u])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=Wt(t,e,r)),"normal"===i&&e in Kt&&(i=Kt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),T.each(["height","width"],(function(t,e){T.cssHooks[e]={get:function(t,n,r){if(n)return!Gt.test(T.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,r):Bt(t,Qt,(function(){return ne(t,e,r)}))},set:function(t,n,r){var i,o=Ft(t),a=!g.scrollboxSize()&&"absolute"===o.position,u=(a||r)&&"border-box"===T.css(t,"boxSizing",!1,o),s=r?ee(t,e,r,u,o):0;return u&&a&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ee(t,e,"border",!1,o)-.5)),s&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=T.css(t,e)),te(0,n,s)}}})),T.cssHooks.marginLeft=zt(g.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Wt(t,"marginLeft"))||t.getBoundingClientRect().left-Bt(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 r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(T.cssHooks[t+e].set=te)})),T.fn.extend({css:function(t,e){return z(this,(function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=Ft(t),i=e.length;a<i;a++)o[e[a]]=T.css(t,e[a],!1,r);return o}return void 0!==n?T.style(t,e,n):T.css(t,e)}),t,e,arguments.length>1)}}),T.Tween=re,re.prototype={constructor:re,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||T.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.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):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.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,""))&&"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[Xt(t.prop)]?t.elem[t.prop]=t.now:T.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.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=re.prototype.init,T.fx.step={};var ie,oe,ae=/^(?:toggle|show|hide)$/,ue=/queueHooks$/;function se(){oe&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(se):r.setTimeout(se,T.fx.interval),T.fx.tick())}function ce(){return r.setTimeout((function(){ie=void 0})),ie=Date.now()}function le(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function fe(t,e,n){for(var r,i=(he.tweeners[e]||[]).concat(he.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function he(t,e,n){var r,i,o=0,a=he.prefilters.length,u=T.Deferred().always((function(){delete s.elem})),s=function(){if(i)return!1;for(var e=ie||ce(),n=Math.max(0,c.startTime+c.duration-e),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return u.notifyWith(t,[c,r,n]),r<1&&a?n:(a||u.notifyWith(t,[c,1,0]),u.resolveWith(t,[c]),!1)},c=u.promise({elem:t,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:e,originalOptions:n,startTime:ie||ce(),duration:n.duration,tweens:[],createTween:function(e,n){var r=T.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return e?(u.notifyWith(t,[c,1,0]),u.resolveWith(t,[c,e])):u.rejectWith(t,[c,e]),this}}),l=c.props;for(!function(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=X(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(l,c.opts.specialEasing);o<a;o++)if(r=he.prefilters[o].call(c,t,l,c.opts))return y(r.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return T.map(l,fe,c),y(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(s,{elem:t,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(he,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return lt(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(q);for(var n,r=0,i=t.length;r<i;r++)n=t[r],he.tweeners[n]=he.tweeners[n]||[],he.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,a,u,s,c,l,f="width"in e||"height"in e,h=this,d={},p=t.style,v=t.nodeType&&ct(t),g=Q.get(t,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always((function(){h.always((function(){a.unqueued--,T.queue(t,"fx").length||a.empty.fire()}))}))),e)if(i=e[r],ae.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}d[r]=g&&g[r]||T.style(t,r)}if((s=!T.isEmptyObject(e))||!T.isEmptyObject(d))for(r in f&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=Q.get(t,"display")),"none"===(l=T.css(t,"display"))&&(c?l=c:(dt([t],!0),c=t.style.display||c,l=T.css(t,"display"),dt([t]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===T.css(t,"float")&&(s||(h.done((function(){p.display=c})),null==c&&(l=p.display,c="none"===l?"":l)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),s=!1,d)s||(g?"hidden"in g&&(v=g.hidden):g=Q.access(t,"fxshow",{display:c}),o&&(g.hidden=!v),v&&dt([t],!0),h.done((function(){for(r in v||dt([t]),Q.remove(t,"fxshow"),d)T.style(t,r,d[r])}))),s=fe(v?g[r]:0,r,h),r in g||(g[r]=s.start,v&&(s.end=s.start,s.start=0))}],prefilter:function(t,e){e?he.prefilters.unshift(t):he.prefilters.push(t)}}),T.speed=function(t,e,n){var r=t&&"object"==typeof t?T.extend({},t):{complete:n||!n&&e||y(t)&&t,duration:t,easing:n&&e||e&&!y(e)&&e};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(t,e,n,r){return this.filter(ct).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=T.isEmptyObject(t),o=T.speed(e,n,r),a=function(){var e=he(this,T.extend({},t),o);(i||Q.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,i=null!=t&&t+"queueHooks",o=T.timers,a=Q.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ue.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||T.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=Q.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,t,[]),i&&i.stop&&i.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<a;e++)r[e]&&r[e].finish&&r[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,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(le(e,!0),t,r,i)}})),T.each({slideDown:le("show"),slideUp:le("hide"),slideToggle:le("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){T.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}})),T.timers=[],T.fx.tick=function(){var t,e=0,n=T.timers;for(ie=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||T.fx.stop(),ie=void 0},T.fx.timer=function(t){T.timers.push(t),T.fx.start()},T.fx.interval=13,T.fx.start=function(){oe||(oe=!0,se())},T.fx.stop=function(){oe=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,n){var i=r.setTimeout(e,t);n.stop=function(){r.clearTimeout(i)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",g.radioValue="t"===t.value}();var de,pe=T.expr.attrHandle;T.fn.extend({attr:function(t,e){return z(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 r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?T.prop(t,e,n):(1===o&&T.isXMLDoc(t)||(i=T.attrHooks[e.toLowerCase()]||(T.expr.match.bool.test(e)?de:void 0)),void 0!==n?null===n?void T.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=T.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&N(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(q);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),de={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=pe[e]||T.find.attr;pe[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=pe[a],pe[a]=i,i=null!=n(t,e,r)?a:null,pe[a]=o),i}}));var ve=/^(?:input|select|textarea|button)$/i,ge=/^(?:a|area)$/i;function ye(t){return(t.match(q)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function be(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(q)||[]}T.fn.extend({prop:function(t,e){return z(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 r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(t)||(e=T.propFix[e]||e,i=T.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=T.find.attr(t,"tabindex");return e?parseInt(e,10):ve.test(t.nodeName)||ge.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.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,r,i,o,a,u,s=0;if(y(t))return this.each((function(e){T(this).addClass(t.call(this,e,me(this)))}));if((e=be(t)).length)for(;n=this[s++];)if(i=me(n),r=1===n.nodeType&&" "+ye(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(u=ye(r))&&n.setAttribute("class",u)}return this},removeClass:function(t){var e,n,r,i,o,a,u,s=0;if(y(t))return this.each((function(e){T(this).removeClass(t.call(this,e,me(this)))}));if(!arguments.length)return this.attr("class","");if((e=be(t)).length)for(;n=this[s++];)if(i=me(n),r=1===n.nodeType&&" "+ye(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(u=ye(r))&&n.setAttribute("class",u)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):y(t)?this.each((function(n){T(this).toggleClass(t.call(this,n,me(this),e),e)})):this.each((function(){var e,i,o,a;if(r)for(i=0,o=T(this),a=be(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=me(this))&&Q.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Q.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ye(me(n))+" ").indexOf(e)>-1)return!0;return!1}});var xe=/\r/g;T.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=y(t),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,T(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,(function(t){return null==t?"":t+""}))),(e=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(xe,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(t){var e=T.find.attr(t,"value");return null!=e?e:ye(T.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,u=a?null:[],s=a?o+1:i.length;for(r=o<0?s:a?o:0;r<s;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(e=T(n).val(),a)return e;u.push(e)}return u},set:function(t,e){for(var n,r,i=t.options,o=T.makeArray(e),a=i.length;a--;)((r=i[a]).selected=T.inArray(T.valHooks.option.get(r),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}},g.checkOn||(T.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),g.focusin="onfocusin"in r;var we=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};T.extend(T.event,{trigger:function(t,e,n,i){var o,a,u,s,c,l,f,h,p=[n||b],v=d.call(t,"type")?t.type:t,g=d.call(t,"namespace")?t.namespace.split("."):[];if(a=h=u=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!we.test(v+T.event.triggered)&&(v.indexOf(".")>-1&&(g=v.split("."),v=g.shift(),g.sort()),c=v.indexOf(":")<0&&"on"+v,(t=t[T.expando]?t:new T.Event(v,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:T.makeArray(e,[t]),f=T.event.special[v]||{},i||!f.trigger||!1!==f.trigger.apply(n,e))){if(!i&&!f.noBubble&&!m(n)){for(s=f.delegateType||v,we.test(s+v)||(a=a.parentNode);a;a=a.parentNode)p.push(a),u=a;u===(n.ownerDocument||b)&&p.push(u.defaultView||u.parentWindow||r)}for(o=0;(a=p[o++])&&!t.isPropagationStopped();)h=a,t.type=o>1?s:f.bindType||v,(l=(Q.get(a,"events")||Object.create(null))[t.type]&&Q.get(a,"handle"))&&l.apply(a,e),(l=c&&a[c])&&l.apply&&G(a)&&(t.result=l.apply(a,e),!1===t.result&&t.preventDefault());return t.type=v,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),e)||!G(n)||c&&y(n[v])&&!m(n)&&((u=n[c])&&(n[c]=null),T.event.triggered=v,t.isPropagationStopped()&&h.addEventListener(v,_e),n[v](),t.isPropagationStopped()&&h.removeEventListener(v,_e),T.event.triggered=void 0,u&&(n[c]=u)),t.result}},simulate:function(t,e,n){var r=T.extend(new T.Event,n,{type:t,isSimulated:!0});T.event.trigger(r,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)}}),g.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 r=this.ownerDocument||this.document||this,i=Q.access(r,e);i||r.addEventListener(t,n,!0),Q.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,e)-1;i?Q.access(r,e,i):(r.removeEventListener(t,n,!0),Q.remove(r,e))}}}));var ke=r.location,Te={guid:Date.now()},Me=/\?/;T.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Ae=/\[\]$/,Ce=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,Ee=/^(?:input|select|textarea|keygen)/i;function Ne(t,e,n,r){var i;if(Array.isArray(e))T.each(e,(function(e,i){n||Ae.test(t)?r(t,i):Ne(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)}));else if(n||"object"!==_(e))r(t,e);else for(i in e)Ne(t+"["+i+"]",e[i],n,r)}T.param=function(t,e){var n,r=[],i=function(t,e){var n=y(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!T.isPlainObject(t))T.each(t,(function(){i(this.name,this.value)}));else for(n in t)Ne(n,t[n],e,i);return r.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")&&Ee.test(this.nodeName)&&!Se.test(t)&&(this.checked||!gt.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(Ce,"\r\n")}})):{name:e.name,value:n.replace(Ce,"\r\n")}})).get()}});var Oe=/%20/g,De=/#.*$/,Pe=/([?&])_=[^&]*/,je=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ze=/^(?:GET|HEAD)$/,Le=/^\/\//,Re={},qe={},Ie="*/".concat("*"),He=b.createElement("a");function Fe(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(q)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Be(t,e,n,r){var i={},o=t===qe;function a(u){var s;return i[u]=!0,T.each(t[u]||[],(function(t,u){var c=u(e,n,r);return"string"!=typeof c||o||i[c]?o?!(s=c):void 0:(e.dataTypes.unshift(c),a(c),!1)})),s}return a(e.dataTypes[0])||!i["*"]&&a("*")}function Ue(t,e){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&T.extend(!0,t,r),t}He.href=ke.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ke.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ie,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?Ue(Ue(t,T.ajaxSettings),e):Ue(T.ajaxSettings,t)},ajaxPrefilter:Fe(Re),ajaxTransport:Fe(qe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i,o,a,u,s,c,l,f,h,d=T.ajaxSetup({},e),p=d.context||d,v=d.context&&(p.nodeType||p.jquery)?T(p):T.event,g=T.Deferred(),y=T.Callbacks("once memory"),m=d.statusCode||{},x={},w={},_="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(c){if(!a)for(a={};e=je.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==c&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)k.always(t[k.status]);else for(e in t)m[e]=[m[e],t[e]];return this},abort:function(t){var e=t||_;return n&&n.abort(e),M(0,e),this}};if(g.promise(k),d.url=((t||d.url||ke.href)+"").replace(Le,ke.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(q)||[""],null==d.crossDomain){s=b.createElement("a");try{s.href=d.url,s.href=s.href,d.crossDomain=He.protocol+"//"+He.host!=s.protocol+"//"+s.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),Be(Re,d,e,k),c)return k;for(f in(l=T.event&&d.global)&&0==T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ze.test(d.type),i=d.url.replace(De,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Oe,"+")):(h=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Me.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Pe,"$1"),h=(Me.test(i)?"&":"?")+"_="+Te.guid+++h),d.url=i+h),d.ifModified&&(T.lastModified[i]&&k.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&k.setRequestHeader("If-None-Match",T.etag[i])),(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]?", "+Ie+"; q=0.01":""):d.accepts["*"]),d.headers)k.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(p,k,d)||c))return k.abort();if(_="abort",y.add(d.complete),k.done(d.success),k.fail(d.error),n=Be(qe,d,e,k)){if(k.readyState=1,l&&v.trigger("ajaxSend",[k,d]),c)return k;d.async&&d.timeout>0&&(u=r.setTimeout((function(){k.abort("timeout")}),d.timeout));try{c=!1,n.send(x,M)}catch(t){if(c)throw t;M(-1,t)}}else M(-1,"No Transport");function M(t,e,a,s){var f,h,b,x,w,_=e;c||(c=!0,u&&r.clearTimeout(u),n=void 0,o=s||"",k.readyState=t>0?4:0,f=t>=200&&t<300||304===t,a&&(x=function(t,e,n){for(var r,i,o,a,u=t.contents,s=t.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in u)if(u[i]&&u[i].test(r)){s.unshift(i);break}if(s[0]in n)o=s[0];else{for(i in n){if(!s[0]||t.converters[i+" "+s[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==s[0]&&s.unshift(o),n[o]}(d,k,a)),!f&&T.inArray("script",d.dataTypes)>-1&&T.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),x=function(t,e,n,r){var i,o,a,u,s,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!s&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),s=o,o=l.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(a=c[s+" "+o]||c["* "+o]))for(i in c)if((u=i.split(" "))[1]===o&&(a=c[s+" "+u[0]]||c["* "+u[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=u[0],l.unshift(u[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+s+" to "+o}}}return{state:"success",data:e}}(d,x,k,f),f?(d.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=w),(w=k.getResponseHeader("etag"))&&(T.etag[i]=w)),204===t||"HEAD"===d.type?_="nocontent":304===t?_="notmodified":(_=x.state,h=x.data,f=!(b=x.error))):(b=_,!t&&_||(_="error",t<0&&(t=0))),k.status=t,k.statusText=(e||_)+"",f?g.resolveWith(p,[h,_,k]):g.rejectWith(p,[k,_,b]),k.statusCode(m),m=void 0,l&&v.trigger(f?"ajaxSuccess":"ajaxError",[k,d,f?h:b]),y.fireWith(p,[k,_]),l&&(v.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,r,i){return y(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:t,type:e,dataType:i,data:n,success:r},T.isPlainObject(t)&&t))}})),T.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),T._evalUrl=function(t,e,n){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,n)}})},T.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(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(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return y(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=y(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 r.XMLHttpRequest}catch(t){}};var We={0:200,1223:204},ze=T.ajaxSettings.xhr();g.cors=!!ze&&"withCredentials"in ze,g.ajax=ze=!!ze,T.ajaxTransport((function(t){var e,n;if(g.cors||ze&&!t.crossDomain)return{send:function(i,o){var a,u=t.xhr();if(u.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)u[a]=t.xhrFields[a];for(a in t.mimeType&&u.overrideMimeType&&u.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=n=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===t?u.abort():"error"===t?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o(We[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=e(),n=u.onerror=u.ontimeout=e("error"),void 0!==u.onabort?u.onabort=n:u.onreadystatechange=function(){4===u.readyState&&r.setTimeout((function(){e&&n()}))},e=e("abort");try{u.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},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(r,i){e=T("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Ve,Ye=[],$e=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||T.expando+"_"+Te.guid++;return this[t]=!0,t}}),T.ajaxPrefilter("json jsonp",(function(t,e,n){var i,o,a,u=!1!==t.jsonp&&($e.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(t.data)&&"data");if(u||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace($e,"$1"+i):!1!==t.jsonp&&(t.url+=(Me.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||T.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?T(r).removeProp(i):r[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),g.createHTMLDocument=((Ve=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ve.childNodes.length),T.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?((r=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(r)):e=b),o=!n&&[],(i=O.exec(t))?[e.createElement(i[1])]:(i=kt([t],e,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var r,i,o},T.fn.load=function(t,e,n){var r,i,o,a=this,u=t.indexOf(" ");return u>-1&&(r=ye(t.slice(u)),t=t.slice(0,u)),y(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&T.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done((function(t){o=arguments,a.html(r?T("<div>").append(T.parseHTML(t)).find(r):t)})).always(n&&function(t,e){a.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},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 r,i,o,a,u,s,c=T.css(t,"position"),l=T(t),f={};"static"===c&&(t.style.position="relative"),u=l.offset(),o=T.css(t,"top"),s=T.css(t,"left"),("absolute"===c||"fixed"===c)&&(o+s).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(s)||0),y(e)&&(e=e.call(t,n,T.extend({},u))),null!=e.top&&(f.top=e.top-u.top+a),null!=e.left&&(f.left=e.left-u.left+i),"using"in e?e.using.call(t,f):l.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,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.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,r=this[0],i={top:0,left:0};if("fixed"===T.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===T.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=T(t).offset()).top+=T.css(t,"borderTopWidth",!0),i.left+=T.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-T.css(r,"marginTop",!0),left:e.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===T.css(t,"position");)t=t.offsetParent;return t||at}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;T.fn[t]=function(r){return z(this,(function(t,r,i){var o;if(m(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i}),t,r,arguments.length)}})),T.each(["top","left"],(function(t,e){T.cssHooks[e]=zt(g.pixelPosition,(function(t,n){if(n)return n=Wt(t,e),Ht.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,r){T.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),u=n||(!0===i||!0===o?"margin":"border");return z(this,(function(e,n,i){var o;return m(e)?0===r.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===i?T.css(e,n,u):T.style(e,n,i,u)}),e,a?i:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){T.fn[e]=function(t){return this.on(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,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),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)}}));var Xe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return r=u.call(arguments,2),i=function(){return t.apply(e||this,r.concat(u.call(arguments)))},i.guid=t.guid=t.guid||T.guid++,i},T.holdReady=function(t){t?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=N,T.isFunction=y,T.isWindow=m,T.camelCase=X,T.type=_,T.now=Date.now,T.isNumeric=function(t){var e=T.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},T.trim=function(t){return null==t?"":(t+"").replace(Xe,"")},void 0===(n=function(){return T}.apply(e,[]))||(t.exports=n);var Ge=r.jQuery,Je=r.$;return T.noConflict=function(t){return r.$===T&&(r.$=Je),t&&r.jQuery===T&&(r.jQuery=Ge),T},void 0===i&&(r.jQuery=r.$=T),T}))},3574:function(t){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";t.exports={Node:n(1),Force:n(2),Distributor:n(3),Renderer:n(10)}},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,r,i){n(this,t),this.idealPos=e,this.currentPos=e,this.width=r,this.data=i,this.layerIndex=0}return r(t,[{key:"distanceFrom",value:function(t){var e=this.width/2,n=t.width/2;return Math.max(this.currentPos-e,t.currentPos-n)-Math.min(this.currentPos+e,t.currentPos+n)}},{key:"moveToIdealPosition",value:function(){return this.currentPos=this.idealPos,this}},{key:"displacement",value:function(){return this.idealPos-this.currentPos}},{key:"overlapWithNode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.distanceFrom(t)-e<0}},{key:"overlapWithPoint",value:function(t){var e=this.width/2;return t>=this.currentPos-e&&t<=this.currentPos+e}},{key:"positionBefore",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.currentLeft()-this.width/2-e}},{key:"positionAfter",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.currentRight()+this.width/2+e}},{key:"currentRight",value:function(){return this.currentPos+this.width/2}},{key:"currentLeft",value:function(){return this.currentPos-this.width/2}},{key:"idealRight",value:function(){return this.idealPos+this.width/2}},{key:"idealLeft",value:function(){return this.idealPos-this.width/2}},{key:"createStub",value:function(e){var n=new t(this.idealPos,e,this.data);return n.currentPos=this.currentPos,n.child=this,this.parent=n,n}},{key:"removeStub",value:function(){return this.parent&&(this.parent.child=null,this.parent=null),this}},{key:"isStub",value:function(){return!!this.child}},{key:"getPathToRoot",value:function(){for(var t=[],e=this;e;)t.push(e),e=e.parent;return t}},{key:"getPathFromRoot",value:function(){return this.getPathToRoot().reverse()}},{key:"getPathToRootLength",value:function(){for(var t=0,e=this;e;){var n=e.parent?e.parent.currentPos:e.idealPos;t+=Math.abs(e.currentPos-n),e=e.parent}return t}},{key:"getRoot",value:function(){for(var t=this,e=this;e;)t=e,e=e.parent;return t}},{key:"getLayerIndex",value:function(){return this.layerIndex}},{key:"clone",value:function(){var e=new t(this.idealPos,this.width,this.data);return e.currentPos=this.currentPos,e.layerIndex=this.layerIndex,e}}]),t}();t.exports=i},function(t,e,n){"use strict";var r=n(3),i=n(4),o=n(8),a={nodeSpacing:3,minPos:0,maxPos:null,algorithm:"overlap",removeOverlap:!0,density:.85,stubWidth:1},u=function(t){var e={},n=i.extend({},a),u=new r,s=[],c=null;return e.nodes=function(t){return arguments.length?(s=t,c=[t.concat()],e):s},e.getLayers=function(){return c},e.options=function(t){if(!arguments.length)return n;n=i.extend(n,t);var o=i.pick(n,Object.keys(r.DEFAULT_OPTIONS));return i.isDefined(n.minPos)&&i.isDefined(n.maxPos)?o.layerWidth=n.maxPos-n.minPos:o.layerWidth=null,u.options(o),e},e.options(t),e.compute=function(){var t=i.pick(n,Object.keys(o.DEFAULT_OPTIONS));return s.forEach((function(t){t.removeStub()})),(c=u.distribute(s)).map((function(e,r){e.forEach((function(t){t.layerIndex=r})),n.removeOverlap&&o(e,t)})),e},e.start=function(){console.log("[warning] force.start() is deprecated. Please use force.compute() instead.")},e};u.DEFAULT_OPTIONS=a,t.exports=u},function(t,e,n){"use strict";var r=n(4),i=n(6),o={algorithm:"overlap",layerWidth:1e3,density:.75,nodeSpacing:3,stubWidth:1},a=function(t){var e={};t=r.extend({},o,t),e.options=function(n){return arguments.length?(t=r.extend(t,n),e):t},e.computeRequiredWidth=function(e){return r.sum(e,(function(e){return e.width+t.nodeSpacing}))-t.nodeSpacing},e.maxWidthPerLayer=function(){return t.density*t.layerWidth},e.needToSplit=function(t){return e.estimateRequiredLayers(t)>1},e.estimateRequiredLayers=function(n){return t.layerWidth?Math.ceil(e.computeRequiredWidth(n)/e.maxWidthPerLayer()):1};var n={simple:function(n){for(var r=e.estimateRequiredLayers(n),i=[],o=0;o<r;o++)i.push([]);return n.forEach((function(e,n){var o=n%r;i[o].push(e);for(var a=e,u=o-1;u>=0;u--)a=a.createStub(t.stubWidth),i[u].push(a)})),i},roundRobin:function(t){return[]},overlap:function(n){for(var r=[],i=e.maxWidthPerLayer(),o=n.concat(),a=e.computeRequiredWidth(o);a>i;){e.countIdealOverlaps(o);var u=o.concat(),s=a;for(o=[];u.length>2&&s>i;){u.sort((function(t,e){return e.overlapCount-t.overlapCount}));var c=u.shift();s-=c.width,s+=t.stubWidth,c.overlaps.forEach((function(t){t.overlapCount--})),o.push(c)}r.push(u),a=e.computeRequiredWidth(o)}o.length>0&&r.push(o);for(var l=r.length-1;l>=1;l--)for(var f=r[l],h=0;h<f.length;h++){var d=f[h];if(!d.isStub())for(var p=d,v=l-1;v>=0;v--)p=p.createStub(t.stubWidth),r[v].push(p)}return r}};return e.countIdealOverlaps=function(e){var n=new i(t.layerWidth/2);return e.forEach((function(t){n.add([t.idealLeft(),t.idealRight(),t])})),e.forEach((function(t){var e=n.search(t.idealLeft(),t.idealRight());t.overlaps=e.map((function(t){return t.data[2]})),t.overlapCount=e.length})),e},e.distribute=function(i){if(!i||0===i.length)return[];if("none"==t.algorithm||!r.isDefined(t.algorithm))return[i];if(!e.needToSplit(i))return[i];var o=i.concat().sort((function(t,e){return t.idealPos-e.idealPos}));if("function"==typeof t.algorithm)return t.algorithm(o,t);if(n.hasOwnProperty(t.algorithm))return n[t.algorithm](o);throw"Unknown algorithm: "+t.algorithm},e};a.DEFAULT_OPTIONS=o,t.exports=a},function(t,e,n){"use strict";var r={isDefined:function(t){return null!=t},last:function(t){return t.length>0?t[t.length-1]:null},pick:function(t,e){return e.reduce((function(e,n){return e[n]=t[n],e}),{})},sum:function(t,e){return t.map(e).reduce((function(t,e){return t+e}),0)}};r.extend=n(5),t.exports=r},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===i.call(t)},a=function(t){if(!t||"[object Object]"!==i.call(t))return!1;var e,n=r.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!o)return!1;for(e in t);return void 0===e||r.call(t,e)};t.exports=function t(){var e,r,i,u,s,c,l=arguments[0],f=1,h=arguments.length,d=!1;for("boolean"==typeof l?(d=l,l=arguments[1]||{},f=2):("object"!==(void 0===l?"undefined":n(l))&&"function"!=typeof l||null==l)&&(l={});f<h;++f)if(null!=(e=arguments[f]))for(r in e)i=l[r],l!==(u=e[r])&&(d&&u&&(a(u)||(s=o(u)))?(s?(s=!1,c=i&&o(i)?i:[]):c=i&&a(i)?i:{},l[r]=t(d,c,u)):void 0!==u&&(l[r]=u));return l}},function(t,e,n){"use strict";function r(t,e){if(e||(e={}),this.startKey=e.startKey||0,this.endKey=e.endKey||1,this.intervalHash={},this.pointTree=new c({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t[0]-e[0];return n>0?1:0==n?0:-1}}),this._autoIncrement=0,!t||"number"!=typeof t)throw new Error("you must specify center index as the 2nd argument.");this.root=new u(t,this)}function i(t,e){return e.end<t.idx?(t.left||(t.left=new u(e.start+e.end>>1,this)),i.call(this,t.left,e)):t.idx<e.start?(t.right||(t.right=new u(e.start+e.end>>1,this)),i.call(this,t.right,e)):t.insert(e)}function o(t,e,n){if(t)return e<t.idx?(t.starts.every((function(t){var r=t.start<=e;return r&&n.push(t.result()),r})),o.call(this,t.left,e,n)):e>t.idx?(t.ends.every((function(t){var r=t.end>=e;return r&&n.push(t.result()),r})),o.call(this,t.right,e,n)):void t.starts.map((function(t){n.push(t.result())}))}function a(t,e,n){if(e-t<=0)throw new Error("end must be greater than start. start: "+t+", end: "+e);var r={},i=[];o.call(this,this.root,t+e>>1,i,!0),i.forEach((function(t){r[t.id]=!0}));for(var a=this.pointTree.bsearch([t,null]),u=this.pointTree;a>=0&&u[a][0]==t;)a--;var s=this.pointTree.bsearch([e,null]);if(s>=0){for(var c=u.length-1;s<=c&&u[s][0]<=e;)s++;u.slice(a+1,s).forEach((function(t){var e=t[1];r[e]=!0}),this),Object.keys(r).forEach((function(r){var i=this.intervalHash[r];n.push(i.result(t,e))}),this)}}function u(t){this.idx=t,this.starts=new c({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t.start-e.start;return n>0?1:0==n?0:-1}}),this.ends=new c({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t.end-e.end;return n<0?1:0==n?0:-1}})}function s(t,e,n,r){if(this.id=e,this.start=t[n],this.end=t[r],this.data=t,"number"!=typeof this.start||"number"!=typeof this.end)throw new Error("start, end must be number. start: "+this.start+", end: "+this.end);if(this.start>=this.end)throw new Error("start must be smaller than end. start: "+this.start+", end: "+this.end)}var c=n(7);r.prototype.add=function(t,e){if(this.intervalHash[e])throw new Error("id "+e+" is already registered.");if(null==e){for(;this.intervalHash[this._autoIncrement];)this._autoIncrement++;e=this._autoIncrement}var n=new s(t,e,this.startKey,this.endKey);this.pointTree.insert([n.start,e]),this.pointTree.insert([n.end,e]),this.intervalHash[e]=n,this._autoIncrement++,i.call(this,this.root,n)},r.prototype.search=function(t,e){var n=[];if("number"!=typeof t)throw new Error(t+": invalid input");if(null==e)o.call(this,this.root,t,n);else{if("number"!=typeof e)throw new Error(t+","+e+": invalid input");a.call(this,t,e,n)}return n},r.prototype.remove=function(t){},u.prototype.insert=function(t){this.starts.insert(t),this.ends.insert(t)},s.prototype.result=function(t,e){var n={id:this.id,data:this.data};if("number"==typeof t&&"number"==typeof e){var r=Math.max(this.start,t),i=Math.min(this.end,e)-r;n.rate1=i/(e-t),n.rate2=i/(this.end-this.start)}return n},t.exports=r},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function t(){var e=null,r={},i=arguments;["0","1"].forEach((function(t){var o=i[t];Array.isArray(o)?e=o:o&&"object"==(void 0===o?"undefined":n(o))&&(r=o)})),"function"==typeof r.filter&&(this._filter=r.filter),"function"==typeof r.compare?this._compare=r.compare:"string"==typeof r.compare&&t.compares[r.compare]&&(this._compare=t.compares[r.compare]),this._unique=!!r.unique,r.resume&&e?e.forEach((function(t,e){this.push(t)}),this):e&&this.insert.apply(this,e)};r.create=function(t,e){return new r(t,e)},r.prototype=new Array,r.prototype.constructor=Array.prototype.constructor,r.prototype.insertOne=function(t){var e=this.bsearch(t);return(!this._unique||null==this.key(t,e))&&!!this._filter(t,e)&&(this.splice(e+1,0,t),e+1)},r.prototype.insert=function(){return Array.prototype.map.call(arguments,(function(t){return this.insertOne(t)}),this)},r.prototype.remove=function(t){return this.splice(t,1),this},r.prototype.bsearch=function(t){if(!this.length)return-1;for(var e,n=0,r=this.length;r-n>1;){var i=this[e=Math.floor((n+r)/2)],o=this._compare(t,i);if(0==o)return e;o>0?n=e:r=e}return 0==n&&this._compare(this[0],t)>0?-1:n},r.prototype.key=function(t,e){null==e&&(e=this.bsearch(t));var n=e;if(-1==n||this._compare(this[n],t)<0)return n+1<this.length&&0==this._compare(this[n+1],t)?n+1:null;for(;n>=1&&0==this._compare(this[n-1],t);)n--;return n},r.prototype.keys=function(t,e){var n=[];null==e&&(e=this.bsearch(t));for(var r=e;r>=0&&0==this._compare(this[r],t);)n.push(r),r--;var i=this.length;for(r=e+1;r<i&&0==this._compare(this[r],t);)n.push(r),r++;return n.length?n:null},r.prototype.unique=function(t){if(t)return this.filter((function(t,e){return 0==e||0!=this._compare(this[e-1],t)}),this);var e=0;return this.map((function(t,n){return 0==n||0!=this._compare(this[n-1],t)?null:n-e++}),this).forEach((function(t){null!=t&&this.remove(t)}),this),this},r.prototype.toArray=function(){return this.slice()},r.prototype._filter=function(t,e){return!0},r.compares={number:function(t,e){var n=t-e;return n>0?1:0==n?0:-1},string:function(t,e){return t>e?1:t==e?0:-1}},r.prototype._compare=r.compares.string,t.exports=r},function(t,e,n){"use strict";function r(t){var e=new a.Variable(t.targetPos);return e.node=t,e}function i(t,e){if(t.length>0){e=o.extend(u,e),t.forEach((function(t,e){t.targetPos=t.parent?t.parent.currentPos:t.idealPos,t.index=e}));for(var n=t.concat().sort((function(t,e){var n=t.targetPos-e.targetPos;if(0!==n)return n;var r=t.isStub()-e.isStub();return 0!==r?r:t.index-e.index})).map(r),i=[],s=1;s<n.length;s++){var c=n[s-1],l=n[s],f=void 0;f=c.node.isStub()&&l.node.isStub()?(c.node.width+l.node.width)/2+e.lineSpacing:(c.node.width+l.node.width)/2+e.nodeSpacing,i.push(new a.Constraint(c,l,f))}if(o.isDefined(e.minPos)){var h=new a.Variable(e.minPos,1e10),d=n[0];i.push(new a.Constraint(h,d,d.node.width/2)),n.unshift(h)}if(o.isDefined(e.maxPos)){var p=new a.Variable(e.maxPos,1e10),v=o.last(n);i.push(new a.Constraint(v,p,v.node.width/2)),n.push(p)}new a.Solver(n,i).solve(),n.filter((function(t){return t.node})).map((function(t){return t.node.currentPos=Math.round(t.position()),t}))}return t}var o=n(4),a=n(9),u={lineSpacing:2,nodeSpacing:3,minPos:0,maxPos:null};i.DEFAULT_OPTIONS=u,t.exports=i},function(t,e){"use strict";var n={},r=function(){function t(t){this.scale=t,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(t){var e=this.scale/t.scale,n=t.offset/t.scale,r=t.weight;this.AB+=r*e*n,this.AD+=r*e*t.desiredPosition,this.A2+=r*e*e},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();n.PositionStats=r;var i=function(){function t(t,e,n,r){void 0===r&&(r=!1),this.left=t,this.right=e,this.gap=n,this.equality=r,this.active=!1,this.unsatisfiable=!1,this.left=t,this.right=e,this.gap=n,this.equality=r}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();n.Constraint=i;var o=function(){function t(t,e,n){void 0===e&&(e=1),void 0===n&&(n=1),this.desiredPosition=t,this.weight=e,this.scale=n,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(t,e){var n=function(n,r){return n.active&&t!==r&&e(n,r)};this.cOut.forEach((function(t){return n(t,t.right)})),this.cIn.forEach((function(t){return n(t,t.left)}))},t}();n.Variable=o;var a=function(){function t(t){this.vars=[],t.offset=0,this.ps=new r(t.scale),this.addVariable(t)}return t.prototype.addVariable=function(t){t.block=this,this.vars.push(t),this.ps.addVariable(t),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var t=0,e=this.vars.length;t<e;++t)this.ps.addVariable(this.vars[t]);this.posn=this.ps.getPosn()},t.prototype.compute_lm=function(t,e,n){var r=this,i=t.dfdv();return t.visitNeighbours(e,(function(e,o){var a=r.compute_lm(o,t,n);o===e.right?(i+=a*e.left.scale,e.lm=a):(i+=a*e.right.scale,e.lm=-a),n(e)})),i/t.scale},t.prototype.populateSplitBlock=function(t,e){var n=this;t.visitNeighbours(e,(function(e,r){r.offset=t.offset+(r===e.right?e.gap:-e.gap),n.addVariable(r),n.populateSplitBlock(r,t)}))},t.prototype.traverse=function(t,e,n,r){var i=this;void 0===n&&(n=this.vars[0]),void 0===r&&(r=null),n.visitNeighbours(r,(function(r,o){e.push(t(r)),i.traverse(t,e,o,n)}))},t.prototype.findMinLM=function(){var t=null;return this.compute_lm(this.vars[0],null,(function(e){!e.equality&&(null===t||e.lm<t.lm)&&(t=e)})),t},t.prototype.findMinLMBetween=function(t,e){this.compute_lm(t,null,(function(){}));var n=null;return this.findPath(t,null,e,(function(t,e){!t.equality&&t.right===e&&(null===n||t.lm<n.lm)&&(n=t)})),n},t.prototype.findPath=function(t,e,n,r){var i=this,o=!1;return t.visitNeighbours(e,(function(e,a){o||a!==n&&!i.findPath(a,t,n,r)||(o=!0,r(e,a))})),o},t.prototype.isActiveDirectedPathBetween=function(t,e){if(t===e)return!0;for(var n=t.cOut.length;n--;){var r=t.cOut[n];if(r.active&&this.isActiveDirectedPathBetween(r.right,e))return!0}return!1},t.split=function(e){return e.active=!1,[t.createSplitBlock(e.left),t.createSplitBlock(e.right)]},t.createSplitBlock=function(e){var n=new t(e);return n.populateSplitBlock(e,null),n},t.prototype.splitBetween=function(e,n){var r=this.findMinLMBetween(e,n);if(null!==r){var i=t.split(r);return{constraint:r,lb:i[0],rb:i[1]}}return null},t.prototype.mergeAcross=function(t,e,n){e.active=!0;for(var r=0,i=t.vars.length;r<i;++r){var o=t.vars[r];o.offset+=n,this.addVariable(o)}this.posn=this.ps.getPosn()},t.prototype.cost=function(){for(var t=0,e=this.vars.length;e--;){var n=this.vars[e],r=n.position()-n.desiredPosition;t+=r*r*n.weight}return t},t}();n.Block=a;var u=function(){function t(t){this.vs=t;var e=t.length;for(this.list=new Array(e);e--;){var n=new a(t[e]);this.list[e]=n,n.blockInd=e}}return t.prototype.cost=function(){for(var t=0,e=this.list.length;e--;)t+=this.list[e].cost();return t},t.prototype.insert=function(t){t.blockInd=this.list.length,this.list.push(t)},t.prototype.remove=function(t){var e=this.list.length-1,n=this.list[e];this.list.length=e,t!==n&&(this.list[t.blockInd]=n,n.blockInd=t.blockInd)},t.prototype.merge=function(t){var e=t.left.block,n=t.right.block,r=t.right.offset-t.left.offset-t.gap;e.vars.length<n.vars.length?(n.mergeAcross(e,t,r),this.remove(e)):(e.mergeAcross(n,t,-r),this.remove(n))},t.prototype.forEach=function(t){this.list.forEach(t)},t.prototype.updateBlockPositions=function(){this.list.forEach((function(t){return t.updateWeightedPosition()}))},t.prototype.split=function(t){var e=this;this.updateBlockPositions(),this.list.forEach((function(n){var r=n.findMinLM();null!==r&&r.lm<s.LAGRANGIAN_TOLERANCE&&(n=r.left.block,a.split(r).forEach((function(t){return e.insert(t)})),e.remove(n),t.push(r))}))},t}();n.Blocks=u;var s=function(){function t(t,e){this.vs=t,this.cs=e,this.vs=t,t.forEach((function(t){t.cIn=[],t.cOut=[]})),this.cs=e,e.forEach((function(t){t.left.cOut.push(t),t.right.cIn.push(t)})),this.inactive=e.map((function(t){return t.active=!1,t})),this.bs=null}return t.prototype.cost=function(){return this.bs.cost()},t.prototype.setStartingPositions=function(t){this.inactive=this.cs.map((function(t){return t.active=!1,t})),this.bs=new u(this.vs),this.bs.forEach((function(e,n){return e.posn=t[n]}))},t.prototype.setDesiredPositions=function(t){this.vs.forEach((function(e,n){return e.desiredPosition=t[n]}))},t.prototype.mostViolated=function(){for(var e=Number.MAX_VALUE,n=null,r=this.inactive,i=r.length,o=i,a=0;a<i;++a){var u=r[a];if(!u.unsatisfiable){var s=u.slack();if((u.equality||s<e)&&(e=s,n=u,o=a,u.equality))break}}return o!==i&&(e<t.ZERO_UPPERBOUND&&!n.active||n.equality)&&(r[o]=r[i-1],r.length=i-1),n},t.prototype.satisfy=function(){null==this.bs&&(this.bs=new u(this.vs)),this.bs.split(this.inactive);for(var e=null;(e=this.mostViolated())&&(e.equality||e.slack()<t.ZERO_UPPERBOUND&&!e.active);){var n=e.left.block;if(n!==e.right.block)this.bs.merge(e);else{if(n.isActiveDirectedPathBetween(e.right,e.left)){e.unsatisfiable=!0;continue}var r=n.splitBetween(e.left,e.right);if(null===r){e.unsatisfiable=!0;continue}this.bs.insert(r.lb),this.bs.insert(r.rb),this.bs.remove(n),this.inactive.push(r.constraint),e.slack()>=0?this.inactive.push(e):this.bs.merge(e)}}},t.prototype.solve=function(){this.satisfy();for(var t=Number.MAX_VALUE,e=this.bs.cost();Math.abs(t-e)>1e-4;)this.satisfy(),t=e,e=this.bs.cost();return e},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();n.Solver=s,t.exports=n},function(t,e,n){"use strict";function r(t){this.options=c.extend({layerGap:60,nodeHeight:10,direction:"down"},t)}function i(t){return"L "+t.join(" ")}function o(t){return"M "+t.join(" ")}function a(t,e,n){return"C "+t.join(" ")+" "+e.join(" ")+" "+n.join(" ")}function u(t,e){var n=(t[1]+e[1])/2;return a([t[0],n],[e[0],n],e)}function s(t,e){var n=(t[0]+e[0])/2;return a([n,t[1]],[n,e[1]],e)}var c=n(4);r.lineTo=i,r.moveTo=o,r.curveTo=a,r.vCurveBetween=u,r.hCurveBetween=s,r.prototype.getWaypoints=function(t){var e=this.options,n=e.direction,r=t.getPathFromRoot(),i=e.nodeHeight+e.layerGap;return"left"===n?[[[0,r[0].idealPos]]].concat(r.map((function(t,n){var r=i*(n+1)*-1;return[[r+e.nodeHeight,t.currentPos],[r,t.currentPos]]}))):"right"===n?[[[0,r[0].idealPos]]].concat(r.map((function(t,n){var r=i*(n+1);return[[r-e.nodeHeight,t.currentPos],[r,t.currentPos]]}))):"up"===n?[[[r[0].idealPos,0]]].concat(r.map((function(t,n){var r=i*(n+1)*-1;return[[t.currentPos,r+e.nodeHeight],[t.currentPos,r]]}))):[[[r[0].idealPos,0]]].concat(r.map((function(t,n){var r=i*(n+1);return[[t.currentPos,r-e.nodeHeight],[t.currentPos,r]]})))},r.prototype.layout=function(t){var e=this.options,n=e.layerGap+e.nodeHeight;switch(e.direction){case"left":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=-r-e.nodeHeight,t.y=t.currentPos,t.dx=e.nodeHeight,t.dy=t.width}));break;case"right":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=r,t.y=t.currentPos,t.dx=e.nodeHeight,t.dy=t.width}));break;case"up":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=t.currentPos,t.y=-r-e.nodeHeight,t.dx=t.width,t.dy=e.nodeHeight}));break;default:t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=t.currentPos,t.y=r,t.dx=t.width,t.dy=e.nodeHeight}))}return t},r.prototype.generatePath=function(t){var e=this.options.direction,n=this.getWaypoints(t,e),r=[o(n[0][0])];return"left"===e||"right"===e?n.reduce((function(t,e,o){return r.push(s(t[t.length-1],e[0])),o<n.length-1&&r.push(i(e[1])),e})):n.reduce((function(t,e,o){return r.push(u(t[t.length-1],e[0])),o<n.length-1&&r.push(i(e[1])),e})),r.join(" ")},t.exports=r}])},5921:function(t,e,n){"use strict";n.d(e,{q:function(){return r}});var r="1.194.15"},6349:function(){"use strict";"function"!=typeof Object.assign&&(Object.assign=function(t){if(console.info("installing Object.assign polyfill"),null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}),String.prototype.includes||(console.info("installing String.includes polyfill"),String.prototype.includes=function(t,e){return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return this.substr(!e||e<0?0:+e,t.length)===t})},138:function(t,e,n){"use strict";n.d(e,{QQ:function(){return u},Vl:function(){return c},dp:function(){return a},oq:function(){return s},w1:function(){return l}});var r=n(4017),i=n(9628),o=n(5109);n(9755);function a(t){return[t.width,t.height]}function u(t,e){(0,r.Z)(t).style("height",e+"px")}function s(t,e){var n=void 0,r=[];return t.each((function(){for(var t=this;"function"==typeof t.parentNode.matches&&!n;)(t=t.parentNode).matches(e)&&(n=t,r.push(n));n=void 0})),(0,i.Z)(r)}function c(t,e,n,i){(0,r.Z)(e).on(t,(function(){try{var t=o.B;("string"==typeof n?(0,r.Z)(e).selectAll(n):n).each((function(){var e=this;(function(t,e){for(;;){if(!t||!e)return!1;if(t.isSameNode(e))return!0;t=t.parentNode}})(t.target,e)&&i.bind(e)((0,r.Z)(e).data()[0])}))}catch(t){throw console.error(t),t}}))}function l(){var t=window.navigator.userAgent;return t.indexOf("MSIE ")>=0||t.indexOf("Edge ")>=0||t.indexOf("Trident")>=0}},9966:function(t,e,n){"use strict";n.d(e,{G:function(){return i}});var r="en"===document.documentElement.lang?"en":"fr"===document.documentElement.lang?"fr":"de";function i(){return r}},5886:function(t,e,n){"use strict";function r(t,e){return Object.assign(t,e),t}n.d(e,{jB:function(){return r}})},495:function(t,e,n){"use strict";function r(t){return t?t.trim():t}function i(t){return t&&(t=encodeURIComponent(t).replace(/%20/g,"+")),t}function o(t){return t.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))}function a(t){var e=[];for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"==typeof r&&(r=JSON.stringify(r)),"string"!=typeof r&&"number"!=typeof r||e.push(i(n)+"="+i(r))}return e.join("&")}n.d(e,{SM:function(){return o},UK:function(){return a},fy:function(){return r}})},6760:function(t,e,n){"use strict";var r;function i(t){if(t){r=document.querySelectorAll("button:not([disabled])");for(var e=0;e<r.length;++e)r[e].disabled=!0}else if(r)for(e=0;e<r.length;++e)r[e].disabled=!1;document.body.classList.toggle("waiting",t)}n.d(e,{p:function(){return i}})},7290:function(t,e,n){"use strict";n.d(e,{u:function(){return kt}});var r=n(5921),i=n(8208),o=n(5109),a=n(6372),u=n(4017),s=n(138),c=n(495),l=n(6002),f=n(5119),h=function(){return h=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},h.apply(this,arguments)},d=function(){var t=[];function e(t){for(var e=[],n={},r=null,i=0,o=t;i<o.length;i++){var a=o[i];e.push(a.options),r=null!=r?r:a.options.apiKey}e.length>0&&(n.options=e,n.origin=document.location.hostname,n.v=document.body.getAttribute("data-version"),function(t,e,n){var r=(window.dataDomain||(0,l._)())+"/data.json",i=h({"Content-Type":"application/json; charset=UTF-8"},t&&{"X-Api-Key":t});(0,f.Z)(r,{headers:i,method:"POST",body:JSON.stringify(e)}).then((function(t){return n(null,t)})).catch((function(t){return n(t,void 0)}))}(r,n,(function(e,n){if(e)for(var r=0,i=t;r<i.length;r++){i[r].error(e.message)}else{var o=n.result;t.forEach((function(t,e){var n=o[e].error;n?t.error(n.message):t.success(o[e])}))}})))}function n(){e(t),t=[]}return{requestData:function(r,i,o){var a={options:r,success:i,error:o};r.immediate?e([a]):(t.push(a),window.setTimeout(n))}}}(),p=n(5066),v=function(){function t(t,e){this.items=[];var n="string"==typeof t?document.getElementById(t):t;if(!n)throw new Error("container node undefined or null");this.container=n,this.options=g(e,this.container);var r=this.stringValue("type")||this.stringValue("layout");if(!r)throw new Error("no widget type specified");this.widgetType=r,this.options.type=r,"graph"!=r&&"contact"!=r||(this.options.immediate=!0);var i=this.load.bind(this);this.data=this.objectValue("data"),this.data?window.setTimeout(i):d.requestData(this.options,i,this.fail.bind(this))}return t.prototype.getType=function(){return this.widgetType},t.prototype.fail=function(t){var e=this.handlerValue("error");e?e(t):console.error(t)},t.prototype.load=function(t){this.data=this.data||t;try{var e=(0,i.Dc)(this.widgetType);if(!e)throw new Error("invalid widget type: "+this.widgetType);this.chart=e(this,this.data),this.container.setAttribute("data-layout",this.widgetType),this.draw()}catch(t){return void this.fail(t)}var n=this.handlerValue("success");n&&n()},t.prototype.showItem=function(t,e){var n=this,r=this.handlerValue("handleItem")||function(t,e){if(!!n.stringValue("subject"))return e;var r=document.createElement("div"),i=document.createElement("h2");return i.textContent=t,r.appendChild(i),r.appendChild(e),r},i=r(t,e);i&&(this.container.appendChild(i),this.items.push(i))},t.prototype.adjustSize=function(t){var e=t.getBoundingClientRect(),n=this.numberValue("width")||e.width,r=this.numberValue("height")||e.height,i=this.numberValue("ratio"),o=this.numberValue("minHeight"),a=this.numberValue("maxHeight"),u=r;i&&(u=n*i),o&&(u=Math.max(u,o)),a&&(u=Math.min(u,a)),r!=u&&(0,s.QQ)(t,u)},t.prototype.draw=function(){this.adjustSize(this.container),this.chart&&(this.chart.draw(),(0,u.Z)(this.container).selectAll("*").each((function(){var t=this.getAttribute("transform");t||(t=getComputedStyle(this).getPropertyValue("transform"))&&"none"!=t&&this.setAttribute("transform",t)})))},t.prototype.markup=function(t){var e=this.handlerValue("companyClick");e&&t.selectAll(".company").attr("data-clickable",!0);var n=this.handlerValue("personClick");n&&t.selectAll(".person").attr("data-clickable",!0);var r=this.handlerValue("addressClick");r&&t.selectAll("address").attr("data-clickable",!0);var i=this.handlerValue("registerClick");i&&t.selectAll(".register").attr("data-clickable",!0);var a=this.handlerValue("filingClick");a&&t.selectAll(".filing").attr("data-clickable",!0),t.on("click",(function(){var t,u=o.B,s=u.target,c=g({},s);e&&s.classList.contains("company")&&(e(c),t=!0),n&&s.classList.contains("person")&&(n(c),t=!0),r&&"ADDRESS"==s.tagName&&(r({query:s.textContent}),t=!0),i&&s.classList.contains("register")&&(i({query:s.textContent}),t=!0),a&&s.classList.contains("filing")&&(a({query:s.textContent}),t=!0),t&&u.preventDefault()}))},t.prototype.invokeClickHandler=function(t,e){var n=this.getClickHandler(e);return!!n&&(n(t),!0)},t.prototype.getClickHandler=function(t){if(t)switch(t.toString().toLowerCase()[0]){case"c":return this.handlerValue("companyClick");case"p":return this.handlerValue("personClick");case"h":return this.handlerValue("publicationClick")}},t.prototype.getLinkifier=function(){return this.handlerValue("linkify")||y},t.prototype.getRootColor=function(){return(0,a.Ym)(this.stringValue("rootColor")||"#00dddd")},t.prototype.isReverseChronology=function(){return"reverse"===this.stringValue("chronology")},t.prototype.getLanguage=function(){return this.stringValue("language")||"de"},t.prototype.i18n=function(){return"de"==this.getLanguage()?p.$8:"fr"==this.getLanguage()?p.fk:p.R0},t.prototype.trilingual=function(t,e,n){return"de"==this.getLanguage()?e:"fr"==this.getLanguage()?n:t},t.prototype.isPrint=function(){return document.documentElement.classList&&document.documentElement.classList.contains("print")},t.prototype.numberValue=function(t){var e=this.options[t];return"function"==typeof e?e():"number"==typeof e?e:"string"==typeof e?Number(e):void 0},t.prototype.stringValue=function(t){var e=this.options[t];return"function"==typeof e?e():"string"==typeof e?e:void 0},t.prototype.nodeValue=function(t){var e=this.options[t];return"object"==typeof e?e:"function"==typeof e?e():"string"==typeof e?(0,u.Z)(this.container).select(e).node():void 0},t.prototype.objectValue=function(t){var e=this.options[t];return"function"==typeof e?e():"object"==typeof e?e:"string"==typeof e?JSON.parse(e):void 0},t.prototype.handlerValue=function(t){var e=this.options[t];if("function"==typeof e)return e.bind(this)},t}();function g(t,e){var n={};Object.assign(n,t);for(var r=0;r<e.attributes.length;++r){var i=e.attributes[r],o=i.name;if(0===o.indexOf("data-")){var a=(0,c.SM)(o.substring(5));n[a]=n[a]||i.value}}return n}var y=function(){return null},m=n(9795),b=n(4065),x=n(8463),w=n(6216);var _=function(t,e){var n=[],r=e.note;if(!(e.item&&0!=e.item.length||r))throw new Error("no data");var i=15,a=10,s=50,c=15,l=function(){var t=(0,u.Z)("body").append("div").attr("class","tooltip ui basic black label").style("position","fixed").style("top",0).style("left",0).style("pointer-events","none").style("visibility","hidden");return{position:function(e,n){var r=document.documentElement.clientWidth,i=t.node().offsetWidth,o=e+i+16<r,a=o?e+16:e-i-16,u=n-t.node().offsetHeight/2;return t.style("transform","translate("+a+"px, "+u+"px)").classed("left right pointing",!1).classed(o?"left":"right",!0).classed("pointing",!0),this},visible:function(e){return t.interrupt().transition().delay(e?0:100).duration(0).style("visibility",(function(){return e?null:"hidden"})),this},content:function(e){return t.html(e),this}}}();for(var f=function(e){var r=e.data;if(!r)return"continue";var f=t.options.colors,h="string"==typeof f?f.split("|"):f;h=null!=h?h:r.colors;for(var d=r.title.substring(0,3),p=[],v=r.colorIndexes,g=0;g<v.length;++g){var y=v[g],_=r.estimate[g]?"url(#diag"+d+y+")":h[y];p.push(_)}var k=(0,m.Z)("svg:defs");k.selectAll("pattern").data(h).join("svg:pattern").attr("id",(function(t,e){return"diag"+d+e})).attr("width",10).attr("height",10).attr("patternTransform","rotate(45 0 0)").attr("patternUnits","userSpaceOnUse").attr("transform","matrix(0.707107, 0.707107, -0.707107, 0.707107, 0, 0)").append("svg:line").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",10).style("stroke",(function(t){return t})).style("stroke-width",15);var T=(0,b.extent)(r.data,(function(t){return t.value0})),M=T[0],A=T[1];A=Math.max(A,1),M=Math.min(M,0);var C=Math.min(5,Math.ceil(A)),S=document.createElement("div");S.setAttribute("data-item",e.item),t.showItem(e.title,S);var E=(0,u.Z)(S).style("height","100%").append("svg").attr("width","100%").attr("height","100%");E.attr("aria-label",e.title),E.append((function(){return k.node()}));var N=(0,x.ti)().domain(r.data.map((function(t){return t.year}))).padding(.2),O=(0,w.axisBottom)(N),D=E.append("g").classed("x-axis",!0),P=(0,x.BY)().domain([M,A]),j=(0,w.axisLeft)(P).tickSizeInner(0).tickSizeOuter(0).ticks(C).tickFormat(t.i18n().createNumberFormatter(r.numberFormat,",.0f")),Z=E.append("g").classed("y-axis",!0),L=E.append("g");n.push((function(){var n=S.getBoundingClientRect(),u=n.width,f=n.height;E.attr("viewBox","0 0 "+u+" "+f),P.range([f-s,i]),Z.call(j).attr("font-size",null).attr("font-family",null).call((function(t){return t.selectAll(".tick").classed("zero",(function(t){return 0===t}))}));var h=45;Z.selectAll(".tick > text").each((function(){h=Math.max(h,this.getBBox().width)}));var d=c+h;Z.attr("transform","translate("+d+",0)").selectAll(".tick > line").attr("x2",u-d-a),N.range([d,u-a]),O.tickSizeInner(-(f-i-s)),D.attr("transform","translate(0,"+(f-s)+")").call(O).call((function(t){return t.select(".domain").remove()})).attr("font-size",null).attr("font-family",null),L.selectAll("rect").data(r.data).join("rect").attr("x",(function(t){return N(t.year)})).attr("y",(function(t){return P(Math.max(t.value0,0))})).attr("height",(function(t){return Math.abs(P(0)-P(t.value0))})).attr("width",N.bandwidth()).attr("fill",(function(t,e){return p[e]})).on("mousemove",(function(){var t=o.B;l.position(t.clientX,t.clientY)})).on("mouseover",(function(n){var r,i,o,a;l.content((r=n,i=e.title,o=r.note?"<span class='note'>"+r.note+"</span>":"",a=r.source&&r.source.publicationTitle?"<span class='source'>"+t.trilingual("Source: ","Quelle: ","Source: ")+r.source.publicationTitle+"</span>":"","<span class='name'>"+i+" "+r.year+"</span><span class='value'>"+r.formattedValue+"</span>"+o+a)).visible(!0)})).on("mouseout",(function(){l.visible(!1)}))}))},h=0,d=e.item;h<d.length;h++){f(d[h])}if(r){var p=document.createElement("div"),v=(0,u.Z)(p).classed("note",!0).html(r);t.markup(v),t.container.appendChild(p)}return{draw:function(){for(var t=0,e=n;t<e.length;t++){(0,e[t])()}}}},k=function(t,e){if(e){var n=t.handlerValue("load");n&&n(e)}return i.O0};function T(t,e){return t.parent===e.parent?1:2}function M(t,e){return t+e.x}function A(t,e){return Math.max(t,e.y)}function C(){var t=T,e=1,n=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(M,0)/t.length}(n),e.y=function(t){return 1+t.reduce(A,0)}(n)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)}));var u=function(t){for(var e;e=t.children;)t=e[0];return t}(i),s=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),c=u.x-t(u,s)/2,l=s.x+t(s,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-c)/(l-c)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function S(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function E(t,e){var n,r,i,o,a,u=new P(t),s=+t.value&&(u.value=t.value),c=[u];for(null==e&&(e=N);n=c.pop();)if(s&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new P(i[o])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(D)}function N(t){return t.children}function O(t){t.data=t.data.data}function D(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function P(t){this.data=t,this.depth=this.height=0,this.parent=null}P.prototype=E.prototype={constructor:P,count:function(){return this.eachAfter(S)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(t){for(var e,n,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n]);for(;i=a.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return E(this).eachBefore(O)}};var j=n(1108),Z=n(5742),L=n(3072),R=n(8260);function q(t){return t.source}function I(t){return t.target}function H(t){var e=q,n=I,r=R.x,i=R.y,o=null;function a(){var a,u=Z.t.call(arguments),s=e.apply(this,u),c=n.apply(this,u);if(o||(o=a=(0,j.Z)()),t(o,+r.apply(this,(u[0]=s,u)),+i.apply(this,u),+r.apply(this,(u[0]=c,u)),+i.apply(this,u)),a)return o=null,a+""||null}return a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(t){return arguments.length?(n=t,a):n},a.x=function(t){return arguments.length?(r="function"==typeof t?t:(0,L.Z)(+t),a):r},a.y=function(t){return arguments.length?(i="function"==typeof t?t:(0,L.Z)(+t),a):i},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a}function F(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}var B=n(5049),U=n(8143),W=20;function z(t){var e=[{x:0,y:0},{x:1,y:.5},{x:1,y:-.5},{x:0,y:0}],n=(0,B.Z)().x((function(e){return t*e.x})).y((function(e){return t*e.y})).curve(U.Z);return n(e)}function V(t,e,n,r,i,o,a){void 0===a&&(a=0),t.each((function(){var t=(0,u.Z)(this),s=t.select(e).node(),c=t.select(n).node();if(s&&c&&s.textContent){var l=s.getBBox(),f=Number(t.attr("data-dx"));if(0!=f){var h=l.x,d=-f+r,p=o-r-l.width-f;h<d?(l.x=d,(0,u.Z)(s).attr("x",d-h)):h>p&&(l.x=p,(0,u.Z)(s).attr("x",p-h))}(0,u.Z)(c).attr("width",l.width+2*r).attr("height",l.height+2*i).attr("x",l.x-r).attr("y",l.y-i).attr("rx",a).attr("ry",a)}}))}function Y(t){t.reverse();for(var e=[],n=0,r=t;n<r.length;n++){var i=r[n];e.indexOf(i)<0&&e.push(i)}e.reverse();var o=e.length;if(o>0&&!s.w1()){for(var a=e[0].parentNode,u=null==a?[]:a.childNodes,c=!0,l=0;l<o;++l)if(u[u.length-o+l]!=e[l]){c=!1;break}if(!c)for(var f=0,h=e;f<h.length;f++){var d=(i=h[f]).parentNode;null==d||d.appendChild(i)}}}function $(t,e,n,r,i){var a,u=t.container.getBoundingClientRect().width;function c(t){return e.select(".node[data-id='"+t+"']")}function l(){var t=[];e.select(".node").each((function(){t.push(this)})),t.push(e.select("[data-root]").node()),Y(t)}var f=e.select("g.nodes");f.empty()&&(f=e.append("g").attr("class","nodes")),f.style("pointer-events","all");var h=f.selectAll(".node").data(n),d=function(t){return t.clickable||!t.root},p=h.enter().append("svg:a").attr("class","node").attr("data-leaf",(function(t){return!t.children||0==t.children.length})).attr("data-id",(function(t){return t.id})).attr("data-root",(function(t){return t.root})).attr("data-old",(function(t){var e;return null!==(e=t.old)&&void 0!==e?e:null})).attr("data-warning",(function(t){var e;return null!==(e=t.warning)&&void 0!==e?e:null})).attr("data-d",(function(t){var e;return null!==(e=t.distance)&&void 0!==e?e:null})).attr("xlink:href",(function(t){return t.url||""})).attr("data-clickable",(function(e){return!(!d(e)||!t.getClickHandler(e.type))||null})).on("click",(function(e){var n=o.B;d(e)&&t.invokeClickHandler(e.query,e.type)&&n.preventDefault()}));return s.Vl("mouseover",f.node(),p,(function(t){var n=t.id,o=n==r?"root":"node",s=c(n).attr("data-highlight",o);s.select(".text").text(t.desc),V(s,".text",".text-bg",i?2:5,2,u);var l=e.selectAll("[data-source-id='"+n+"'],[data-target-id='"+n+"']").attr("data-highlight",o);V(l,".desc",".desc-bg",3,2,u),window.clearTimeout(a);var f=[];l.each((function(t){function e(t){t!=n&&f.push(c(t).node())}f.push(this),e(t.source.id),e(t.target.id)})),f.push(s.node()),Y(f)})),s.Vl("mouseout",f.node(),p,(function(t){e.selectAll("[data-highlight]").attr("data-highlight","false"),e.select(".node[data-id='"+t.id+"']").select(".text").text(t.text).attr("x",0),a=window.setTimeout(l,1e3)})),p.append("circle").attr("r",W),p.append("text").attr("class","icon").text((function(t){return t.icon})),p.append("rect").attr("class","text-bg"),p.append("text").attr("class","text").text((function(t){return t.text})),p.filter("[data-warning]").append("circle").attr("r",7).attr("data-warn",!0).attr("transform","translate(20, -20)"),p.filter("[data-warning]").append("text").attr("r",8).attr("class","icon").text("").attr("data-warn",!0).append("title").text((function(t){var e;return null!==(e=t.warning)&&void 0!==e?e:""})),l(),p}function X(t,e,n){var r,i=t.container.getBoundingClientRect().width;function a(t){var o=t.getAttribute("data-id"),a="true"==t.getAttribute("data-root")?"root":"node";t.setAttribute("data-highlight",a);var s=t.querySelector(".text");s&&(s.textContent=t.getAttribute("data-description")),V((0,u.Z)(t),".text",".text-bg",n?2:5,2,i);var c=e.selectAll(".link[data-source-id='"+o+"'],.link[data-target-id='"+o+"']").attr("data-highlight",a);V(c,".desc",".desc-bg",3,2,i),window.clearTimeout(r);var l=[];c.each((function(t){var n=this;function r(t){t!=o&&l.push(function(t){return e.select(".node[data-id='"+t+"']")}(t).node())}l.push(n),r(n.getAttribute("data-source-id")||""),r(n.getAttribute("data-target-id")||"")})),l.push(t),Y(l)}function s(){var t=[];e.select(".node").each((function(){t.push(this)})),t.push(e.select("[data-root]").node()),Y(t)}var c=e.select("g.nodes");c.selectAll(".node").each((function(){var e=this,n="true"==e.getAttribute("data-root"),r=t.getLinkifier();if(!n){var i=e.getAttribute("data-type")||"",a=e.getAttribute("data-query")||"";console.info(e.getAttribute("data-url")+" -> "+r(e)),(0,u.Z)(e).attr("xlink:href",r(e)).attr("data-clickable",t.getClickHandler(i)?"true":"false").on("click",(function(){var e=o.B;t.invokeClickHandler(a,i)&&e.preventDefault()}))}}));c.selectAll(".node").on("mouseover",(function(){a(this)})).on("mouseout",(function(){!function(t){e.selectAll("[data-highlight]").attr("data-highlight","false");var n=t.getAttribute("data-id");e.select(".node[data-id='"+n+"']").select(".text").text(t.getAttribute("data-text")||"").attr("x",0),r=window.setTimeout(s,1e3)}(this)})),s(),console.info("successfully completed v12")}var G=function(){return G=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},G.apply(this,arguments)},J=function(t,e){var n=t.container;(0,u.Z)(n).selectAll(".shake").style("display","none");var r=e.size>=10,i=e.scope,o=(0,u.Z)(n).append("svg").attr("data-dense",r).attr("aria-label",e.desc);return{draw:function(){for(var a,u=n.getBoundingClientRect().width,c={left:-u/6,right:u/6,top:-20,bottom:38},l={left:-8,right:u/3-8,top:-8,bottom:8},f=r?l:c,h=c,d=r?[l.bottom-l.top,l.right-l.left]:[c.bottom-c.top,c.right-c.left],p=r?7:12,v=C().nodeSize(d).separation((function(t,e){var n=t.parent==e.parent;if(r){if(n)return 1;var i=1*(t.parent.children.length+e.parent.children.length)/2+1.5;return i<5?1.5+(5-i):1.5}return n?1:1.4}))(E(e)),g=function(t){return G(G({},t.data),{x:t.x,y:t.y,depth:t.depth})},y=v.descendants().map(g),m=v.links().map((function(t){return{target:g(t.target),source:g(t.source)}})),w=0,_=0,k=y;_<k.length;_++){var T=k[_];T.root&&(a=T,"publication"===i&&(T.clickable=!0)),w=Math.max(w,T.depth)}o.select("g").remove();var M=o.append("g"),A=M.append("g").selectAll(".link").data(m),S=function(t){return t.target.edge},N=A.enter().append("g").attr("class","link").attr("data-source-id",(function(t){return t.source.id})).attr("data-target-id",(function(t){return t.target.id})).attr("data-old",(function(t){var e,n;return null!==(n=null===(e=S(t))||void 0===e?void 0:e.old)&&void 0!==n?n:null})).attr("data-warn",(function(t){var e,n;return null!==(n=null===(e=S(t))||void 0===e?void 0:e.warn)&&void 0!==n?n:null})).attr("data-head",(function(t){var e,n;return null!==(n=null===(e=S(t))||void 0===e?void 0:e.head)&&void 0!==n?n:null})).attr("data-tail",(function(t){var e,n;return null!==(n=null===(e=S(t))||void 0===e?void 0:e.tail)&&void 0!==n?n:null}));N.append("path").attr("class","line"),N.append("path").attr("class","head").attr("d",z(p)),N.append("path").attr("class","tail").attr("d",z(p));var O=$(t,M,y,a?a.id:void 0,r),D=function(t,e){return"translate("+t+","+e+")"},P=function(t){var e=function(t){return!t.children||0===t.children.length},n=function(t){return e(t)?f:h},i=function(t){return t.y+n(t).left},o=(0,b.min)(y,i),a=(0,b.max)(y,(function(t){return t.y+n(t).right})),u=[o,a],s=(0,b.min)(y,(function(t){return t.x+n(t).top})),c=(0,b.max)(y,(function(t){return t.x+n(t).bottom})),l=(0,b.extent)(y,(function(t){return t.x})),d=l[1]-l[0],p=(0,x.BY)().domain(u).range([0,t]),v=(0,x.BY)().domain(l).range([0,d]),g=function(t){return p(r&&e(t)?i(t):t.y)},m=function(t){return v(t.x)},w=function(t){return D(g(t),m(t))},_=H(F).x((function(t){return g(t)})).y((function(t){return m(t)})),k=Math.max(10,(150-(c-s))/2),T=c-l[1]+k,M=l[0]-s+k;return{height:d+T+M,diagonal:_,nodeTransform:w,headTransform:function(t){return w(t.target)+" "+D(r&&e(t.target)?0:-20,0)+" rotate(180)"},tailTransform:function(t){return w(t.source)+" "+D(W,0)},canvasTransform:D(0,M)}}(u);(0,s.QQ)(n,P.height),o.attr("width","100%").attr("height","100%").attr("viewBox","0 0 "+u+" "+P.height),M.attr("transform",P.canvasTransform),O.attr("transform",P.nodeTransform),N.select(".line").attr("d",P.diagonal),N.select(".head").attr("transform",P.headTransform),N.select(".tail").attr("transform",P.tailTransform)}}},Q=n(9628);function K(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function tt(t,e,n,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(r-e)/t.value;++u<s;)(o=a[u]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*c}function et(t,e,n,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(i-n)/t.value;++u<s;)(o=a[u]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*c}var nt=function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,u,s,c,l,f,h,d,p,v,g,y=[],m=e.children,b=0,x=0,w=m.length,_=e.value;b<w;){s=i-n,c=o-r;do{l=m[x++].value}while(!l&&x<w);for(f=h=l,g=l*l*(v=Math.max(c/s,s/c)/(_*t)),p=Math.max(h/g,g/f);x<w;++x){if(l+=u=m[x].value,u<f&&(f=u),u>h&&(h=u),g=l*l*v,(d=Math.max(h/g,g/f))>p){l-=u;break}p=d}y.push(a={value:l,dice:s<c,children:m.slice(b,x)}),a.dice?tt(a,n,r,i,_?r+=c*l/_:o):et(a,n,r,_?n+=s*l/_:i,o),_-=l,b=x}}(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}((1+Math.sqrt(5))/2);function rt(t){if("function"!=typeof t)throw new Error;return t}function it(){return 0}function ot(t){return function(){return t}}var at=function(t,e){var n,r,i;if(!e.item||0==e.item.length)throw new Error("no data");for(var o=[],a=function(e){var a=e.data,c=document.createElement("div"),l=(0,u.Z)(c).attr("data-item",e.item).attr("class","root"),f=l.append("div").attr("class","box-parent");t.showItem(e.title,c);var h=(0,u.Z)(null!==(n=t.nodeValue("legend1"))&&void 0!==n?n:null);h.empty()&&(h=l.selectAll(".legend1"));var d=(0,u.Z)(null!==(r=t.nodeValue("legend2"))&&void 0!==r?r:null);d.empty()&&(d=l.selectAll(".legend2"));var v=(0,u.Z)(null!==(i=t.nodeValue("legend3"))&&void 0!==i?i:null);if(v.empty()&&(v=l.selectAll(".legend3")),h.empty()||d.empty()||v.empty()){var g=l.selectAll(".legends");g.empty()&&(g=l.append("div").attr("class","legends")),h.empty()&&(h=g.append("span").attr("class","legend1")),d.empty()&&(d=g.append("span").attr("class","legend2")),v.empty()&&(v=g.append("span").attr("class","legend3"))}v.text((0,p.Uv)("As of: ","Stand: ","Date de ")+e.date);var y,m,x=t.i18n().createNumberFormatter(a.numberFormat,",.3r"),w=null,_=function(t,e){e.children||w&&w!=e||(f.classed("highlighting",!0),(0,Q.Z)(".highlighted").classed("highlighted",!1),(0,u.Z)(t).classed("highlighted",!0),T(e))},k=function(){var t;w||(f.classed("highlighting",!1),(0,Q.Z)(".highlighted").classed("highlighted",!1),T(null!==(t=a.default)&&void 0!==t?t:a.root))},T=function(t){h.text(x(t.raw)+" "),d.text(t.name)};k(),y=a.root,m=t.getRootColor(),function t(e,n,r,i){e.color=n.toString();var o=r;if(e.children){var a=e.children.length+1;if(a>0)for(var u=(i-r)/a,s=0,c=e.children;s<c.length;s++){var l=c[s];n.h=o%360,t(l,n,o,o+u),o+=u}}}(y,m,m.h,m.h+360);o.push((function(){var t=f.node().getBoundingClientRect();if(0!=t.width&&0!=t.height){var e=E(a.root).sum((function(t){return t.children?0:Math.abs(t.raw)})).sort((function(t,e){return(0,b.ascending)(t.value,e.value)})),n=function(){var t=nt,e=!1,n=1,r=1,i=[0],o=it,a=it,u=it,s=it,c=it;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(K),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),e.x0=r,e.y0=l,e.x1=f,e.y1=h,e.children&&(n=i[e.depth+1]=o(e)/2,r+=c(e)-n,l+=a(e)-n,(f-=u(e)-n)<r&&(r=f=(r+f)/2),(h-=s(e)-n)<l&&(l=h=(l+h)/2),t(e,r,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(n=+t[0],r=+t[1],l):[n,r]},l.tile=function(e){return arguments.length?(t=rt(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:ot(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:ot(+t),l):a},l.paddingRight=function(t){return arguments.length?(u="function"==typeof t?t:ot(+t),l):u},l.paddingBottom=function(t){return arguments.length?(s="function"==typeof t?t:ot(+t),l):s},l.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:ot(+t),l):c},l}().size((0,s.dp)(t)).round(!0)(e),r=function(t){return t.x1-t.x0},i=function(t){return t.y1-t.y0},o=f.selectAll(".box").data(n.descendants()),u=o.enter().append("div").attr("class","box").on("mouseenter",(function(t){_(this,t.data)})).on("mouseleave",k).on("click",(function(t){!function(t,e){w==e?(w=null,k()):(w=e,_(t,e))}(this,t.data)})).attr("data-neg",(function(t){return!!(t.data.raw<0||(e=t.data.name,e&&e.indexOf("Fehlbetrag")>=0));var e}));u.append("div").attr("class","value").text((function(t){return t.children?null:x(t.value)})),u.append("div").attr("class","desc").text((function(t){return t.children?null:t.data.name})),u.merge(o).attr("data-small",(function(t){return r(t)<40||i(t)<32||null})).style("left",(function(t){return t.x0+"px"})).style("top",(function(t){return t.y0+"px"})).style("width",(function(t){return Math.max(0,r(t)-1)+"px"})).style("height",(function(t){return Math.max(0,i(t)-1)+"px"})).style("background",(function(t){return t.children?"white":t.data.color}))}}))},c=0,l=e.item;c<l.length;c++){a(l[c])}return{draw:function(){for(var t=0,e=o;t<e.length;t++){(0,e[t])()}}}};function ut(t,e){var n=(0,u.Z)("bizq-modal");if(n.empty()){var r=(n=(0,u.Z)("body").append("div").attr("class","bizq-modal").on("click",(function(){o.B.target==n.node()&&n.style("display","none")}))).append("div").attr("class","bizq-modal-content"),i=r.append("div").attr("class","bizq-modal-header");i.append("span").attr("class","close").html("&times;").on("click",(function(){n.style("display","none")})),i.append("h3"),r.append("div").attr("class","bizq-modal-body"),r.append("div").attr("class","bizq-modal-footer")}if(n.style("display","block"),n.select("h2, h3").html(t),"string"==typeof e)n.select(".bizq-modal-body").html(e);else{var a=n.select(".bizq-modal-body").node();a&&a.appendChild(e)}}function st(t,e,n,r,i,a){if(i&&a)t.append("a").attr("href","javascript:void(0);").attr("class","source").text(e).on("click",(function(){var t=o.B,u=[];if(i&&i.length)for(var s=0,c=i;s<c.length;s++){var l=c[s];if("object"==typeof l)l=(l.title?"<strong class='bizq-divider'>"+l.title+"</strong>":"")+l.content;u.push(ct("div",l,"snippet"))}var f=ct("div",u.join(""),"snippets").replace('width="','_width="');a(e+" "+n,f,{publicationId:r}),t.preventDefault()}));else if(r){var u="/?id="+r;t.append("a").attr("href",u).attr("class","source").text(e)}else t.append("span").attr("class","source").text(e)}function ct(t,e,n){return"<"+t+' class="'+n+'">'+e+"</"+t+">"}var lt=function(t,e){var n,r=e&&e.financials&&e.financials.filter((function(t){return t.items.length>0})),o=t.isReverseChronology();if(!(r&&r.length>0&&r[0].items.length>0))throw new Error("no data available");for(var a=(0,u.Z)(t.container).append("table").attr("class","ui bizq very compact celled small unstackable striped selectable table"),s=a.append("thead").append("tr"),c=a.append("tbody"),l=a.append("tfoot").append("tr"),f={},h=0,d=r;h<d.length;h++){var p=d[h];p.itemsById={};for(var v=0,g=p.items;v<g.length;v++){var y=g[v];p.itemsById[y.id]=y,f[y.id]=y}}var m=r[r.length-1];o&&r.reverse(),s.append("th").attr("class","first").text(t.stringValue("title")).append("a").attr("href",e.csvUrl).attr("download","download").attr("title","CSV/Excel Download").classed("screen-only",!0).append("i").attr("class","download icon");for(var b=0,x=r;b<x.length;b++){var w=x[b];s.append("th").text(w.formattedDate)}for(var _ in f){var k=c.append("tr").attr("class","active-on-hover"),T=f[_];k.append("td").text(T.name);for(var M=0,A=r;M<A.length;M++){var C=A[M].itemsById[_],S=k.append("td");if(C){var E=C.value>=0?"pos":"neg",N=C.formattedValue;S.append("span").attr("class",E+" value").text(N),C.estimate&&S.append("a").attr("href","javascript:void()").attr("title",t.trilingual("Unsafe value (estimation or indirect determination)","Indirekte oder unsichere Bestimmungsmethode","Valeur non sûre (estimation ou détermination indirecte)")).html(" *&nbsp;"),C.note&&S.append("span").attr("class","note").text(C.note)}else S.append("span").text("N/A")}}if(m.source){if(m.source.auditorName){(k=c.append("tr").attr("class","active-on-hover")).append("td").text(t.trilingual("Auditor","Prüfer","Auditeur"));for(var O=0,D=r;O<D.length;O++){var P=D[O],j=P.source&&P.source.auditorName;(S=k.append("td")).append("span").attr("class","auditor value").text(j||"N/A")}}if(m.source&&m.source.publicationDate){(k=c.append("tr").attr("class","active-on-hover")).append("td").text(t.trilingual("Publication date","Veröffentlichungs­datum","Date de publication"));for(var Z=0,L=r;Z<L.length;Z++){var R=L[Z],q=R.source&&R.source.publicationDate;(S=k.append("td")).append("span").attr("class","date value").text(q?t.i18n().dateFormatter(new Date(q)):"N/A")}}l.append("th").text(t.trilingual("Source publication","Quelle","Source de publication"));for(var I=0,H=r;I<H.length;I++){var F=H[I];st(l.append("th"),F.source.publicationTitle,t.trilingual("(extract)","(Auszug)","(Extrait)"),F.source.publicationId,F.source.snippets,null!==(n=t.handlerValue("popup"))&&void 0!==n?n:ut)}}return i.O0},ft=function(t,e){if(e.children)return J(t,e);var n,r="orgchart"==e.type,i=t.container;if(e.html)return i.innerHTML=e.html,V((0,u.Z)(i).selectAll(".link"),".desc",".desc-bg",3,3,1e3),X(t,(0,u.Z)(i).select("svg"),!1),{draw:function(){}};if(!e.nodes||e.nodes.length<2)throw new Error("graph empty or single node");for(var o={},a=e.nodes.length,c=!1,l=0,f=e.nodes;l<f.length;l++){var h=f[l];h.root&&(n=h),h.warning&&(c=!0),o[h.id]=h}for(var d=0,v=e.links;d<v.length;d++){var g=v[d];g.source=o[g.source],g.target=o[g.target],g.source&&g.target||console.error("broken link: ",g)}var y=(0,u.Z)(i).append("svg").attr("width","100%").attr("height","100%").attr("aria-label",(0,p.Uv)("Network","Netzwerk","Réseau")),m=y.append("g").attr("class","nodes").selectAll(".link").data(e.links),x=y.append("g").attr("class","legend");r||(x.append("line").attr("data-old",!1),x.append("line").attr("data-old",!0)),c&&x.append("line").attr("data-warn",!0),x.append("text").attr("data-old",!1).text(t.trilingual("currently","aktuell","actuel")),x.append("text").attr("data-old",!0).text(t.trilingual("previously","vormals","auparavant")),c&&x.append("text").attr("data-warn",!0).text(t.trilingual("politically exposed","politisch exponiert","politiquement exposé"));var w=m.enter().append("g").attr("class","link").attr("data-source-id",(function(t){return t.source.id})).attr("data-target-id",(function(t){return t.target.id})).attr("data-head",(function(t){return t.head})).attr("data-tail",(function(t){return t.tail})).attr("data-old",(function(t){return t.old})).attr("data-warn",(function(t){return t.warn})).attr("data-length",(function(t){return t.length})).attr("data-helper",(function(t){return t.helper}));if(r)for(var _=0;_<3;++_)w.append("line").attr("class","line").attr("class","segment"+_).attr("stroke-width",1).attr("stroke","#000000");else w.append("line").attr("class","line").attr("stroke-width",1).attr("stroke","#000000").attr("stroke-dasharray",(function(t){return function(t){return"SameAddress"==t.type?"3, 3":"CommonFiling"==t.type?"6, 6":void 0}(t)}));w.append("rect").attr("class","desc-bg"),w.append("text").attr("class","desc").attr("text-anchor","middle").text((function(t){return t.text})),w.append("path").attr("class","head").attr("d",z(12)),w.append("path").attr("class","tail").attr("d",z(12));var k=$(t,y,e.nodes,n.id,!1),T=0,M=!0,A=function(){if(!M&&T++%3==0){var t=i.getBoundingClientRect(),n=t.width,o=t.height,u=(0,b.extent)(e.nodes,(function(t){return t.x})),c=(0,b.extent)(e.nodes,(function(t){return t.y})),l=[100,n-100],f=r?c:[40,(2==a?120:o)-60],h=F(u),d=F(l),p=F(c),v=F(f),g=H(u,l),m=H(c,f),x=2==a?2:1.1*e.diameter;g=Math.min(g,m*x),2==a&&(m=0,g*=2,(0,s.QQ)(i,120));var _=function(t){return(t-h)*g+d},A=function(t){return(t-p)*m+v},C=function(t){return _(t.source.x)},S=function(t){return _(t.target.x)},E=function(t){return A(t.source.y)},N=function(t){return A(t.target.y)},O=function(t){return S(t)-C(t)},D=function(t){return N(t)-E(t)},P=function(t){return(S(t)-C(t))/2},j=function(t){return(N(t)-E(t))/2},Z=function(t){return 180/Math.PI*Math.atan2(D(t),O(t))};w.attr("transform",(function(t){return"translate("+C(t)+" "+E(t)+")"})),w.select("line").attr("x1",0).attr("y1",0).attr("x2",O).attr("y2",D),w.select(".segment0").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",j),w.select(".segment1").attr("x1",0).attr("y1",j).attr("x2",O).attr("y2",j),w.select(".segment2").attr("x1",O).attr("y1",j).attr("x2",O).attr("y2",D);var L=function(t){return"rotate("+function(t){var e=180/Math.PI*Math.atan2(D(t),O(t));return e>90&&e<270?e-=180:e<-90&&e>-270&&(e+=180),e}(t)+" "+P(t)+" "+j(t)+" ) translate(0 -7)"};if(w.select(".desc").attr("x",P).attr("y",j).attr("transform",L),w.select(".desc-bg").attr("x",P).attr("y",j).attr("transform",L),!r){w.select(".tail").attr("transform",(function(t){return"rotate("+Z(t)+") translate("+"20 0)"})),w.select(".head").attr("transform",(function(t){return"translate("+function(t){return O(t)+0}(t)+" "+function(t){return D(t)+0}(t)+") rotate("+(180+Z(t))+") translate("+"20 0)"}))}var R=f[1]+20,q=R-18,I=R+18;y.selectAll(".legend line").attr("x1",50).attr("x2",90),y.selectAll(".legend line[data-old='false'").attr("y1",q).attr("y2",q),y.selectAll(".legend line[data-old='true'").attr("y1",R).attr("y2",R),y.selectAll(".legend line[data-warn='true'").attr("y1",I).attr("y2",I),y.selectAll(".legend text").attr("x",95);y.selectAll(".legend text[data-old='false'").attr("y",q+3),y.selectAll(".legend text[data-old='true'").attr("y",R+3),y.selectAll(".legend text[data-warn='true'").attr("y",I+3),V(w,".desc",".desc-bg",3,3,1e3),k.attr("data-dx",(function(t){return _(t.x)})).attr("transform",(function(t){return"translate("+_(t.x)+","+A(t.y)+")"}))}function H(t,e){return(e[1]-e[0])/(t[1]-t[0])}function F(t){return(t[1]+t[0])/2}};return{draw:function(){var t=(0,s.dp)(i.getBoundingClientRect()),e=t[0],n=t[1];y.attr("viewBox","0 0 "+e+" "+n),M=!1,A()}}};function ht(t){return{standard:t.toString(),light:t.brighter(1.15).toString(),bright:(0,a.Ym)(t.h,1.3*t.s,.9*t.l).toString()}}var dt=n(3151),pt=n.n(dt),vt=function(t,e){for(var n=t.container,r=(t.getLinkifier(),1),i=0,s=e.event;i<s.length;i++){s[i].id=r++}var c=new Date(e.minDate),l=new Date(e.maxDate);if(!pt())throw new Error("d3kit-timeline not found in global context which is ");var f=function(t,e){for(var n=[],r=360/e+1,i=t.h,o=0;o<e;++o)t.h=(i+o*r)%360,n.push(ht(t));return n}(t.getRootColor(),12),h=ht((0,a.Ym)("#888888"));function d(t){return t.old?h:f[t.cat%12]}var p=function(t){return d(t).standard},v={left:12,right:15,top:5,bottom:35};return{draw:function(){n.innerHTML="";var r=new(pt())(n,{margin:v,offset:[0,0],initialHeight:50,direction:"up",domain:[c,l],dotRadius:5,linkColor:p,dotColor:p,labelBgColor:p,layerGap:20,timeFn:function(t){return new Date(t.date)},textFn:function(t){return t.text},formatAxis:function(e){return e.tickFormat(t.i18n().timeScaleFormatter).tickSizeInner(8).tickSizeOuter(10)}});function i(){r.fit().options({labella:{maxPos:r.width()-(v.left+v.right)}}).updateDimensionNow().resizeToFit().updateDimensionNow();var t=r.layers.get("main/axis").selectAll("g.tick");r.width()/t.size()<=32&&t.each((function(t,e){if(e%2==0){var n=(0,u.Z)(this),r=n.select("text"),i=n.select("line");r.attr("y",Number(r.attr("y"))+10),i.attr("y2",Number(i.attr("y2"))+10)}}))}r.off("data").off("options"),r.chartRoot.style("line-height",null),r.container.style("line-height",null),r.svg.insert("title",":first-child").text(e.title),r.data(e.event),i(),r.layers.get("main/axis").attr("font-family",null).attr("font-size",null),r.layers.get("main/label").selectAll("g.label-g").each((function(){var t=(0,u.Z)(this).selectAll(".label-g > *").remove(),e=(0,u.Z)(this).append("svg:a").attr("class",(function(t){return t.data.class})).attr("xlink:href",(function(t){return t.data.href})).attr("xlink:title",(function(t){return t.data.desc}));e.append("title").text((function(t){return t.data.desc})),t.each((function(){var t=this;e.append((function(){return t}))}))}));var a=t.handlerValue("publicationClick"),s="function"==typeof a;(0,u.Z)(n).selectAll(".label-g").attr("data-clickable",(function(e){return!(!s&&!t.getClickHandler("h"))||null})).on("click",(function(e){t.invokeClickHandler(e.data)?o.B.preventDefault():a&&(a(e.data.query),o.B.preventDefault())})).on("mouseenter touchstart",(function(t){if(o.B.target){var e=d(t.data);(0,u.Z)(o.B.target).select("rect").style("fill",e.bright);var r=t.data.id;(0,u.Z)(n).selectAll(".link-layer path").filter((function(t){return t.data.id===r})).attr("data-highlighted",!0);var i=t.data.query&&t.data.query.id;i&&(0,Q.Z)("[data-publication-id='"+i+"']").style("background-color",e.light)}})).on("mouseleave touchend",(function(t){if(o.B.target){var e=d(t.data);(0,u.Z)(o.B.target).select("rect").style("fill",e.standard),(0,u.Z)(n).selectAll(".link-layer path").attr("data-highlighted",!1);var r=t.data.query&&t.data.query.id;r&&(0,Q.Z)("[data-publication-id='"+r+"']").style("background-color",null)}}));var f=!0;return function(){f||i(),f=!1}}()}},gt=function(t,e){if(e){var n=t.handlerValue("load");n&&n(e)}return i.O0},yt=function(t,e){var n=function(t){var e;return null===(e=function(t){return t?new Date(t):null}(t))||void 0===e?void 0:e.toLocaleDateString()},r=(0,u.Z)(t.container).append("table").attr("class","ui bizq very compact celled small unstackable striped table"),o=r.append("tbody");console.info("data",e);for(var a=0,s=["current","former"];a<s.length;a++){"former"==s[a]&&o.append("tr").append("td").attr("class","first").attr("colspan",2).text("Vormals");for(var c=0,l=e.current;c<l.length;c++){var f=l[c];console.info("group",f);var h=f.name,d=f.entries;o.append("tr").append("td").attr("class","first").attr("colspan",2).text(h);for(var p=0,v=d;p<v.length;p++){var g=v[p];console.info("entry",g);var y=o.append("tr"),m=g.person,b=y.append("td").append("span").text(m.name).attr("class","person");for(var x in m.query)b.attr(x,m.query[x]);for(var w=y.append("td"),_=0,k=g.chunks;_<k.length;_++){var T=k[_],M=void 0;!T.start&&T.end?M="bis "+n(T.end):T.start&&!T.end?M="seit "+n(T.start):T.start&&T.end&&(M=n(T.start)+" – "+n(T.end)),w.append("span").text(M)}}}}return t.markup(r),i.O0},mt=n(6760),bt=function(t,e){t.handlerValue("popup");return s.Vl("click",t.container,"*",(function(){mt.p(!0);var e=new XMLHttpRequest;function n(t){console.error("cannot list pubs",t)}return e.open("POST","/_api/shop/v1/products"),e.setRequestHeader("Content-Type","application/json"),e.onerror=function(t){mt.p(!1),n(t)},e.onload=function(){mt.p(!1),console.info(e.status),e.status>=400&&n(e.responseText||e.statusText),console.info("ok",e.responseText);var t=JSON.parse(e.responseText);console.info("data",t)},e.send(JSON.stringify(t.options)),!1})),i.O0},xt=function(t,e){var n=(0,u.Z)(t.container).selectAll(".publication").data(e.publications).enter().append("div").attr("class","pub").attr("data-publication-id",(function(t){return t.id})),r=n.append("h2");return r.append("span").attr("class","icon").text((function(t){return t.internal.icon})),r.append("span").attr("class","date").text((function(t){return t.internal.formattedDate})),r.append("a").attr("href","#").html((function(t){return t.internal.htmlTitle})).on("click",(function(){var t,e,n,r=o.B,i=r.target;null===(n=null===(e=null===(t=null==i?void 0:i.parentElement)||void 0===t?void 0:t.parentElement)||void 0===e?void 0:e.classList)||void 0===n||n.toggle("expanded"),r.preventDefault()})),n.append("div").attr("class","text").html((function(t){return t.html})),t.markup(n),i.O0},wt=n(5886),_t=function(t,e){var n=(0,u.Z)(t.container),r=n.append("ul").attr("class","search-results"),a=e.cursor;function s(t){var e={},n=t.subject,r=n.name[0].name,i=n.address&&n.address[0],o=i&&i.city,a={query:e,address:i,name:r,details:t.formattedDetails},u=n.tag;switch(u&&u.terminated&&(a.terminated=!0),t.targetType){case"Company":a.type="c",e.address=o,e.name=r;var s=n.register&&n.register[0];s&&s.id&&(s.city&&(e.registerCity=s.city),e.registerId=s.id);break;case"Person":a.type="p";var l=r.split(",");e.lastName=l[0],e.firstName=(0,c.fy)(l[1]),e.birthDate=n.birthDate,e.address=o,e.address&&e.birthDate||(e.id=t.targetId)}return a}var l=n.append("div").attr("class","more"),f=l.append("p"),h=l.append("a").attr("href","#").on("click",(function(){var e=o.B,n=(0,wt.jB)(t.options,{offset:h.attr("data-offset"),position:h.attr("data-position")});d.requestData(n,(function(t){y(t)}),t.fail.bind(t)),e.preventDefault()})),p=0==a.items.length,v=t.handlerValue("noResults"),g=t.handlerValue("oneResult");function y(e){for(var n=e.cursor,i=0,a=n.items;i<a.length;i++){var u=a[i],d=s(u),p=d.query,v=p.address,g=p.name;g||(g=p.lastName+", "+p.firstName),v&&(g+=", "+v);var y=r.append("li").attr("class","search-result");y.append("span").attr("class","icon").text("Company"==u.targetType?"":"");var m=y.append("div").attr("class","body"),b=m.append("a").attr("href",document.location.pathname+"?"+(0,c.UK)(p)).text(g).on("click",(function(){var n=o.B;t.invokeClickHandler(e)&&n.preventDefault()}));if(d.terminated){b.append("sup").attr("title","erloschen").text("✝︎")}m.append("div").attr("class","detail").text(d.detail);for(var x=0,w=u.formattedDetails;x<w.length;x++){var _=w[x];m.append("div").attr("class","detail").text(_)}}l.attr("data-total",n.total);var k=Number(n.offset+n.items.length).toLocaleString();n.total?k+=" Resultate von "+Number(n.total).toLocaleString()+" insgesamt.":k+=" Resultate.",f.text(k),h.text(n.lastPage?"":"Weitere Resultate anzeigen").attr("data-offset",n.offset+n.limit).attr("data-position",e.properties.nextPosition)}return p?v?v():n.append("p").text("Keine Resultate zu dieser Suche."):1==a.items.length&&g?g(s(a.items[0])):y(e),i.O0};var kt,Tt=function(t,e){if(!e.sheet)throw new Error("no data");for(var n=function(e){if(!e){var n=t.stringValue("subject")||"assets";throw new Error("no data for subject '"+n+"'")}var r=e.column,i=e.row,a=t.isReverseChronology(),s=t.numberValue("maxYears")||5;a&&r.reverse();var v=function(t){return a?t<s:t>=r.length-s};if(r.length<=0)return"break";var g,y=r[0].currency,m=1,b=y.unit,x=t.i18n().numberFormatter;if(y){for(var w=0,_=0,k=0,T=0,M=i;T<M.length;T++)for(var A=0,C=M[T].cell;A<C.length;A++){var S=C[A];if(g=S.value,!isNaN(parseFloat(g))&&isFinite(g)){var E=Math.abs(S.value);E>1e5&&(++k,E>1e7&&(++_,E>1e10&&++w))}}var N=w>=5,O=_>=5;if(k<5&&(x=t.i18n().decimalFormatter),O){"EUR"==b&&(b="€"),"USD"==b&&(b="$"),"GBP"==b&&(b="£");var D=(0,p.Uv)("K","Tsd. ","K");if(m=1e3,N){m=1e6;(0,p.Uv)("M","Mio. ","M")}1==D.length&&1==b.length&&(b=" "+b),b=D+b}}var P=document.createElement("table"),j=(0,u.Z)(P).attr("class","ui bizq very compact celled small unstackable selectable table"),Z=j.append("thead").append("tr"),L=Z.append("th").attr("class","first");L.text(b),L.append("a").attr("href",e.info.csvUrl).attr("download","download").attr("title","CSV/Excel Download").classed("screen-only",!0).append("i").attr("class","download icon"),r.forEach((function(e,n){v(n)&&Z.append("th").text(e.date?t.i18n().dateFormatter(e.date):"").attr("data-col",r.length-n).attr("data-source-title",e.info.publication.title).attr("data-source-date",e.info.publication.date)}));var R=function(t,e){return t&&t.semantics&&t.semantics.indexOf(e)>=0},q=j.append("tbody");i.forEach((function(e){var n,i;if(!R(e,"HELPER")){var s=0,p=t.isPrint()?2:1,g=e.level&&e.level.value,y=g<p?"expanded":"closed";g>p&&(y+=" hidden");var b=(0,u.Z)(document.createElement("tr")).attr("class",y+" active-on-hover").attr("data-row",e.info&&e.info.id).attr("data-level",g).attr("data-parent-row",e.info?e.info.parentId:null).attr("data-child-count",(function(){return e.info&&"number"==typeof e.info.childCount&&e.info.childCount>0?e.info.childCount:null})).attr("data-summary",function(t){return R(t,"SUMMARY")}(e)).attr("data-custom",function(t){return R(t,"CUSTOM")}(e)).on("click",(function(){var t=o.B;!function(t){f(t).classed(c)?d(t):function(t){var e=f(t);e.classed(l,!1).classed(c,!0),h(e).classed("hidden",!1)}(t)}(t&&t.target),t.preventDefault()}));b.append("td").attr("class","first").text(null!==(n=e.text)&&void 0!==n?n:e.name),a&&e.cell.reverse(),e.cell.forEach((function(t,e){if(v(e)){var n=void 0===t.value?"":x(t.value/m);n&&s++,b.append("td").attr("data-col",r.length-e).text(n)}})),s>0?q.node().appendChild(b.node()):(null===(i=e.info)||void 0===i?void 0:i.parentId)&&q.select('tr[data-row="'+e.info.parentId+'"][data-child-count]').attr("data-child-count",(function(){var t=parseInt((0,u.Z)(this).attr("data-child-count"))-1;return t>0?t:null}))}}));var I=j.append("tfoot").append("tr");I.append("th").attr("class","first").text(t.trilingual("Source","Quelle","Source")),r.forEach((function(e,n){var i;if(v(n)){var o=I.append("th").attr("data-col",r.length-n),a="string"==typeof e.info.source?[e.info.source]:e.info.source;st(o,e.info.publication.title,t.trilingual("(extract)","(Auszug)","(Extrait)"),e.info.publication.id,a,null!==(i=t.handlerValue("popup"))&&void 0!==i?i:ut)}})),P.setAttribute("data-item",e.info.item),t.showItem(void 0,P)},r=0,a=e.sheet;r<a.length;r++){if("break"===n(a[r]))break}var c="expanded",l="closed";function f(t){var e=(0,u.Z)(t);return t.matches("tr")?e:(0,s.oq)(e,"tr")}function h(t){var e=0==t.size()?"?":t.attr("data-row");return(0,s.oq)(t,"table").selectAll("[data-parent-row='"+e+"']")}function d(t){var e=f(t);e.classed(l,!0).classed(c,!1),h(e).classed("hidden",!0).each((function(){d(this)}))}return i.O0},Mt=function(t,e){var n=t.container,r=t.i18n().timeScaleFormatter,i=12,a=15,s=0,c=18,l=12.78,f=e.lines;if(!f||!f.length)throw new Error("vita empty");var h=f.length,d=s+23*h+5,v=new Date(e.startDate).getTime(),g=new Date(e.endDate).getTime(),y=function(t){return t?new Date(t):null},m=(0,u.Z)(t.container).append("svg");m.append("title").text((0,p.Uv)("History","Historie","Historique"));t.getLinkifier();var b=function(t){return t?t.toLocaleDateString():""};return{draw:function(){m.select("g").remove();var u=m.append("g"),f=n.getBoundingClientRect().width;m.attr("width",f);var h=(0,x.Xf)().domain([v,g]).range([i,f-a]).nice(),p=(0,w.axisBottom)(h).tickFormat(r).tickSizeInner(8).tickSizeOuter(10).ticks(Math.min(f/100,10));u.append("g").attr("class","axis").attr("transform","translate(0,"+d+")").call(p).attr("font-size",null).attr("font-family",null),u.append("g").attr("class","axis grid").attr("transform","translate(0,"+d+")").call(p.tickSizeInner(-d).tickSizeOuter(0)).call((function(t){return t.selectAll(".tick text").remove()}));for(var _=i,k=f-a,T=0,M=0,A=e.lines;M<A.length;M++){var C=A[M],S=s+23*T+5,E=S+13.5-1,N=(S+(S+c))/2;u.append("line").attr("x1",_).attr("x2",k).attr("y1",N).attr("y2",N).attr("class","grid");for(var O=C.bars.length,D=0,P=!1,j=0,Z=0,L=function(e){var n=y(e.assumedStart),r=y(e.end)||new Date,a=n?h(n):i+l,s=!e.start;s&&(a+=l);var f=h(r),d=f-a,p=a+d/2,v=null;!e.start&&e.end?v="bis "+b(r):e.start&&!e.end?v="ab "+b(n):e.start&&e.end&&(v=b(n)+" – "+b(r));var g=(v?v+" ":"")+e.role.name+" "+C.description,m=e.role.abbr;d>250&&(m=e.role.abbr+" "+C.text,P=!0),0==D&&(j=a-_),D==O-1&&(Z=k-f);var x=u.append("svg:a").attr("xlink:href",e.url||"").attr("xlink:title",g).attr("data-old",!!e.end||null).attr("data-clickable",(function(){return!!t.getClickHandler("p")||null})).on("click",(function(){var n=o.B;t.invokeClickHandler(e)&&n.preventDefault()}));if(x.append("title").text(g),x.append("rect").attr("x",a).attr("y",S).attr("width",d).attr("height",c).attr("class","c"+e.role.cat),s){var w=[(N=a)+","+(T=S),N+","+(M=S+c),(A=a-l)+","+(T+M)/2];x.append("polygon").attr("points",w.join(" ")).attr("class","in c"+e.role.cat)}if(!e.end){var T,M,A=a+d,N=Math.min(l+A,k);w=[A+","+(T=S),A+","+(M=S+c),N+","+(T+M)/2];x.append("polygon").attr("points",w.join(" ")).attr("class","out c"+e.role.cat)}x.append("text").attr("x",p).attr("y",E).attr("class","label-text c"+e.role.cat).text(m),++D},R=0,q=C.bars;R<q.length;R++){L(q[R])}P||(j>Z?j>200&&u.append("text").attr("x",_+j).attr("y",E).attr("class","left extra").text(C.text):Z>200&&u.append("text").attr("x",k-Z).attr("y",E).attr("class","right extra").text(C.text)),++T}var I=new Date,H="Heute, "+b(I),F=h(I),B=u.append("svg:a").attr("xlink:title",H);B.append("title").text(H),B.append("line").attr("class","today").attr("x1",F).attr("y1",0).attr("x2",F).attr("y2",d+15),m.attr("height",d+30)}}};!function(t){t.Widget=v,(0,i.Fi)({barChart:_,drillDown:at,graph:ft,dendrogram:J,history:vt,vita:Mt,pubTable:xt,pubShop:bt,personTable:yt,sheet:Tt,financials:lt,contact:k,overview:gt,searchResults:_t}),console.info("started North Data Widget API "+(void 0===r.q?"in debug mode":r.q))}(kt||(kt={}))},6002:function(t,e,n){"use strict";function r(){for(var t=document.scripts,e=0;e<t.length;++e){var n=t[e].src;if(n&&n.indexOf("/viz.")>=0){var r=n.indexOf("/",9);if(r>=0)return n.substring(0,r)}}return""}n.d(e,{_:function(){return r}})},5066:function(t,e,n){"use strict";n.d(e,{R0:function(){return T},fk:function(){return M},$8:function(){return k},Uv:function(){return x}});var r=n(472),i=n(5086),o=n(7197),a=n(2784),u=n(9478),s=n(4584),c=n(2776),l=n(2209),f=n(3363),h=JSON.parse('{"dateTime":"%A, der %e. %B %Y, %X","date":"%d.%m.%Y","time":"%H:%M:%S","periods":["AM","PM"],"days":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"shortDays":["So","Mo","Di","Mi","Do","Fr","Sa"],"months":["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"shortMonths":["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}'),d=JSON.parse('{"dateTime":"%x, %X","date":"%-m/%-d/%Y","time":"%-I:%M:%S %p","periods":["AM","PM"],"days":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"shortDays":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"shortMonths":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}'),p=JSON.parse('{"dateTime":"%A, le %e %B %Y, %X","date":"%d/%m/%Y","time":"%H:%M:%S","periods":["AM","PM"],"days":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"shortDays":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"months":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],"shortMonths":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."]}'),v=JSON.parse('{"decimal":",","thousands":".","grouping":[3],"currency":[""," €"]}'),g=JSON.parse('{"decimal":".","thousands":",","grouping":[3],"currency":["$",""]}'),y=JSON.parse('{"decimal":",","thousands":" ","grouping":[3],"currency":[""," €"],"percent":" %"}'),m=n(9966),b=function(){return b=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},b.apply(this,arguments)};function x(t,e,n){return void 0===n&&(n=""),"de"===(0,m.G)()?e:"fr"===(0,m.G)()?n:t}function w(t){var e=t.format(".%L"),n=t.format(":%S"),r=t.format("%I:%M"),f=t.format("%I %p"),h=t.format("%a %d"),d=t.format("%b %d"),p=t.format("%B"),v=t.format("%Y");return function(t){return((0,i.Z)(t)<t?e:(0,o.Z)(t)<t?n:(0,a.Z)(t)<t?r:(0,u.Z)(t)<t?f:(0,s.Z)(t)<t?(0,c.OM)(t)<t?h:d:(0,l.Z)(t)<t?p:v)(t)}}function _(t,e){var n=(0,r.Z)(t),i=(0,f.Z)(e),o=i.format(",.2f"),a=i.format(",.0f"),u=n.format(t.date);return{timeFormatLocaleDefinition:t,numberFormatLocaleDefinition:e,createNumberFormatter:function(t,e){var n=t.accuracy,r=i.format(e);return function(e){return t.prefix+r(e/n)+t.postfix}},decimalFormatter:function(t){return o(function(t){return Math.round(100*t)/100}(t))},numberFormatter:function(t){return a(Math.round(t))},dateFormatter:function(t){return t?("string"==typeof t&&(t=new Date(t)),u(t)):""},timeScaleFormatter:w(n)}}var k=_(h,b(b({},v),{currency:["€",""]})),T=_(b(b({},d),{date:"%Y-%m-%d"}),b(b({},g),{currency:["€",""]})),M=_(p,b(b({},y),{currency:["€",""]}))},8208:function(t,e,n){"use strict";n.d(e,{Dc:function(){return u},Fi:function(){return a},O0:function(){return i}});var r=n(5886),i={draw:function(){}},o={};function a(t){(0,r.jB)(o,t)}function u(t){return o[t]}},4609:function(){self.fetch||(self.fetch=function(t,e){return e=e||{},new Promise((function(n,r){var i=new XMLHttpRequest,o=[],a=[],u={},s=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:s,headers:{keys:function(){return o},entries:function(){return a},get:function(t){return u[t.toLowerCase()]},has:function(t){return t.toLowerCase()in u}}}};for(var c in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){o.push(e=e.toLowerCase()),a.push([e,n]),u[e]=u[e]?u[e]+","+n:n})),n(s())},i.onerror=r,i.withCredentials="include"==e.credentials,e.headers)i.setRequestHeader(c,e.headers[c]);i.send(e.body||null)}))})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){"use strict";n(6349);var t=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))};var e=function(t){return new this((function(e,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function o(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var a=n.then;if("function"==typeof a)return void a.call(n,(function(e){o(t,e)}),(function(n){r[t]={status:"rejected",reason:n},0==--i&&e(r)}))}r[t]={status:"fulfilled",value:n},0==--i&&e(r)}for(var a=0;a<r.length;a++)o(a,r[a])}))},r=setTimeout;function i(t){return Boolean(t&&void 0!==t.length)}function o(){}function a(t){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],h(t,this)}function u(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,a._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void c(e.promise,t)}s(e.promise,r)}else(1===t._state?s:c)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof a)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void h((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){c(t,e)}var r,i}function c(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&a._immediateFn((function(){t._handled||a._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)u(t,t._deferreds[e]);t._deferreds=null}function f(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function h(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,c(e,t))}))}catch(t){if(n)return;n=!0,c(e,t)}}a.prototype.catch=function(t){return this.then(null,t)},a.prototype.then=function(t,e){var n=new this.constructor(o);return u(this,new f(t,e,n)),n},a.prototype.finally=t,a.all=function(t){return new a((function(e,n){if(!i(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var o=r.length;function a(t,i){try{if(i&&("object"==typeof i||"function"==typeof i)){var u=i.then;if("function"==typeof u)return void u.call(i,(function(e){a(t,e)}),n)}r[t]=i,0==--o&&e(r)}catch(t){n(t)}}for(var u=0;u<r.length;u++)a(u,r[u])}))},a.allSettled=e,a.resolve=function(t){return t&&"object"==typeof t&&t.constructor===a?t:new a((function(e){e(t)}))},a.reject=function(t){return new a((function(e,n){n(t)}))},a.race=function(t){return new a((function(e,n){if(!i(t))return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=t.length;r<o;r++)a.resolve(t[r]).then(e,n)}))},a._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){r(t,0)},a._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var d=a,p=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();"function"!=typeof p.Promise?p.Promise=d:p.Promise.prototype.finally?p.Promise.allSettled||(p.Promise.allSettled=e):p.Promise.prototype.finally=t;n(4609),n(8495);var v=n(7290);window.Bizq=v.u,window.NorthData=v.u}()}();
26//# sourceMappingURL=viz.min.js.map
\No newline at end of file