-
Notifications
You must be signed in to change notification settings - Fork 0
/
proto-app-about.min.js
3 lines (3 loc) · 65.6 KB
/
proto-app-about.min.js
1
2
3
!function(e){function n(r){if(t[r])return t[r].exports;var a=t[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=t(1);r(a)},function(e,n,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=t(2),i=r(a);$(document).ready(function(){var e=window.innerWidth<=500?"mobile":"laptop";document.getElementById("facebook-share-link").href="http://www.facebook.com/sharer/sharer.php?u="+window.location.href,document.getElementById("twitter-share-link").href="http://twitter.com/share?url="+window.location.href,"laptop"===e&&($("#sticker").sticky({topSpacing:0,bottomSpacing:400}),$(".related-articles-link").sticky({topSpacing:20,bottomSpacing:400}),$("#cont-button").on("click",function(e){$("#cont-button").css("display","none"),document.getElementById("article").className="article-area",$(".single-index-value").addClass("activate-click"),$("body").scrollspy({target:"#myNavbar",offset:70})}),i.default.getJSON("https://cdn.protograph.pykih.com/e0a2f448867aece1242dd088/index.json",function(e,n){if(null!=e)alert("Something went wrong: "+e);else{var t=document.getElementById("more_articles_container");if(n.length>0)for(var r=function(e){var r=document.createElement("div");r.id="ProtoCard-more-articles"+e,r.className="ProtoCard-more-articles",t.appendChild(r),document.createElement("div"),setTimeout(function(){new ProtoEmbed.initFrame(document.getElementById("ProtoCard-more-articles"+e),n[e].iframe_url,"col4")},0)},a=0;a<4;a++)r(a);else $(t).siblings(".column-title").hide()}})),"mobile"==e&&($("#cont-button").on("click",function(e){$("#cont-button").css("display","none"),document.getElementById("article").className="article-area",$(".single-index-value").addClass("activate-click"),$("body").scrollspy({target:"#myNavbar",offset:70}),$(".single-index-value").on("click",function(e){setTimeout(function(){$(".navigation-links").removeClass("navigation-links-slide-up"),setTimeout(function(e){$(".navigation-links").css("display","none")},500),$("#protograph_filter_icon").css("display","block"),$("#protograph_filter_close_icon").css("display","none")},250)})}),$(".hamburger-icon").on("click",function(e){$(".mobile-navigations-screen").addClass("mobile-navigations-screen-slide-in")}),$(".close-icon").on("click",function(e){$(".mobile-navigations-screen").removeClass("mobile-navigations-screen-slide-in")}),$("#protograph_filter_icon").on("click",function(e){$(".protograph-app-filter-icon").addClass("block-events"),$(".navigation-links").css("display","block"),setTimeout(function(e){$(".navigation-links").addClass("navigation-links-slide-up")},0),$("#protograph_filter_icon").css("display","none"),$("#protograph_filter_close_icon").css("display","block"),setTimeout(function(e){$(".protograph-app-filter-icon").removeClass("block-events")},500)}),$("#protograph_filter_close_icon").on("click",function(e){$(".protograph-app-filter-icon").addClass("block-events"),$(".navigation-links").removeClass("navigation-links-slide-up"),setTimeout(function(e){$(".navigation-links").css("display","none"),$(".protograph-app-filter-icon").removeClass("block-events")},500),$("#protograph_filter_icon").css("display","block"),$("#protograph_filter_close_icon").css("display","none")}))}),i.default.getJSON("https://cdn.protograph.pykih.com/123d40db45ec0988391bd2dd/index.json",function(e,n){if(null!=e)alert("Something went wrong: "+e);else{var t=document.getElementById("related_container");n.length>0?n.map(function(e,r){var a=document.createElement("div");a.id="ProtoCard-originals"+r,t.appendChild(a);var i=document.createElement("div");i.style.marginBottom="20px",t.appendChild(i),setTimeout(function(){new ProtoEmbed.initFrame(document.getElementById("ProtoCard-originals"+r),n[r].iframe_url,"col4")},0)}):$(t).siblings(".column-title").hide()}})},function(e,n,t){"use strict";function r(e,n,t){var r=(0,d.scaleOrdinal)().domain(n).range(t);return r(e)}function a(e,n){for(var t=document.getElementsByClassName("circle-"+e),r=document.getElementsByClassName("map-circles"),a=0;a<r.length;a++)r[a].r.baseVal.value=3;for(var i=0;i<t.length;i++)t[i].r.baseVal.value=5}function i(e){var n=(0,h.timeFormat)("%B '%Y");return n(new Date(e))}function u(e,n){var t={},r=void 0;switch("undefined"==typeof n?"undefined":s(n)){case"string":e.forEach(function(e){r=e[n]?e[n]:void 0,t[r]?t[r].push(e):t[r]=[e]});break;case"function":e.forEach(function(e){var r=n(e);t[r]?t[r].push(e):t[r]=[e]})}return t}function o(){return null}function c(e,n){var t=new XMLHttpRequest;t.open("GET",e,!0),t.responseType="json",t.onload=function(){var e=t.status;200==e?n(null,t.response):n(e)},t.send()}function f(){var e=window,n=document,t=n.documentElement,r=n.getElementsByTagName("body")[0],a=e.innerWidth||t.clientWidth||r.clientWidth,i=e.innerHeight||t.clientHeight||r.clientHeight;return{width:a,height:i}}function l(e,n){var t=Date.now();return function(){t+n-Date.now()<0&&(e(),t=Date.now())}}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=t(3),h=t(10);e.exports={getJSON:c,empty:o,getScreenSize:f,groupBy:u,setColorScale:r,highlightCircle:a,formatDate:i,throttle:l}},function(e,n,t){!function(e,r){r(n,t(4),t(5),t(6),t(8),t(9),t(10),t(7))}(this,function(e,n,t,r,a,i,u,o){"use strict";function c(e){function n(n){var t=n+"",u=r.get(t);if(!u){if(i!==W)return i;r.set(t,u=a.push(n))}return e[(u-1)%e.length]}var r=t.map(),a=[],i=W;return e=null==e?[]:q.call(e),n.domain=function(e){if(!arguments.length)return a.slice();a=[],r=t.map();for(var i,u,o=-1,c=e.length;++o<c;)r.has(u=(i=e[o])+"")||r.set(u,a.push(i));return n},n.range=function(t){return arguments.length?(e=q.call(t),n):e.slice()},n.unknown=function(e){return arguments.length?(i=e,n):i},n.copy=function(){return c().domain(a).range(e).unknown(i)},n}function f(){function e(){var e=i().length,a=o[1]<o[0],c=o[a-0],f=o[1-a];t=(f-c)/Math.max(1,e-s+2*d),l&&(t=Math.floor(t)),c+=(f-c-t*(e-s))*h,r=t*(1-s),l&&(c=Math.round(c),r=Math.round(r));var g=n.range(e).map(function(e){return c+t*e});return u(a?g.reverse():g)}var t,r,a=c().unknown(void 0),i=a.domain,u=a.range,o=[0,1],l=!1,s=0,d=0,h=.5;return delete a.unknown,a.domain=function(n){return arguments.length?(i(n),e()):i()},a.range=function(n){return arguments.length?(o=[+n[0],+n[1]],e()):o.slice()},a.rangeRound=function(n){return o=[+n[0],+n[1]],l=!0,e()},a.bandwidth=function(){return r},a.step=function(){return t},a.round=function(n){return arguments.length?(l=!!n,e()):l},a.padding=function(n){return arguments.length?(s=d=Math.max(0,Math.min(1,n)),e()):s},a.paddingInner=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),e()):s},a.paddingOuter=function(n){return arguments.length?(d=Math.max(0,Math.min(1,n)),e()):d},a.align=function(n){return arguments.length?(h=Math.max(0,Math.min(1,n)),e()):h},a.copy=function(){return f().domain(i()).range(o).round(l).paddingInner(s).paddingOuter(d).align(h)},e()}function l(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return l(n())},e}function s(){return l(f().paddingInner(1))}function d(e,n){return(n-=e=+e)?function(t){return(t-e)/n}:B(n)}function h(e){return function(n,t){var r=e(n=+n,t=+t);return function(e){return e<=n?0:e>=t?1:r(e)}}}function g(e){return function(n,t){var r=e(n=+n,t=+t);return function(e){return e<=0?n:e>=1?t:r(e)}}}function b(e,n,t,r){var a=e[0],i=e[1],u=n[0],o=n[1];return i<a?(a=t(i,a),u=r(o,u)):(a=t(a,i),u=r(u,o)),function(e){return u(a(e))}}function p(e,t,r,a){var i=Math.min(e.length,t.length)-1,u=new Array(i),o=new Array(i),c=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++c<i;)u[c]=r(e[c],e[c+1]),o[c]=a(t[c],t[c+1]);return function(t){var r=n.bisect(e,t,1,i)-1;return o[r](u[r](t))}}function m(e,n){return n.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function y(e,n){function t(){return i=Math.min(c.length,f.length)>2?p:b,u=o=null,a}function a(n){return(u||(u=i(c,f,s?h(e):e,l)))(+n)}var i,u,o,c=R,f=R,l=r.interpolate,s=!1;return a.invert=function(e){return(o||(o=i(f,c,d,s?g(n):n)))(+e)},a.domain=function(e){return arguments.length?(c=j.call(e,X),t()):c.slice()},a.range=function(e){return arguments.length?(f=q.call(e),t()):f.slice()},a.rangeRound=function(e){return f=q.call(e),l=r.interpolateRound,t()},a.clamp=function(e){return arguments.length?(s=!!e,t()):s},a.interpolate=function(e){return arguments.length?(l=e,t()):l},t()}function v(e){var t=e.domain;return e.ticks=function(e){var r=t();return n.ticks(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,n){return z(t(),e,n)},e.nice=function(r){null==r&&(r=10);var a,i=t(),u=0,o=i.length-1,c=i[u],f=i[o];return f<c&&(a=c,c=f,f=a,a=u,u=o,o=a),a=n.tickIncrement(c,f,r),a>0?(c=Math.floor(c/a)*a,f=Math.ceil(f/a)*a,a=n.tickIncrement(c,f,r)):a<0&&(c=Math.ceil(c*a)/a,f=Math.floor(f*a)/a,a=n.tickIncrement(c,f,r)),a>0?(i[u]=Math.floor(c/a)*a,i[o]=Math.ceil(f/a)*a,t(i)):a<0&&(i[u]=Math.ceil(c*a)/a,i[o]=Math.floor(f*a)/a,t(i)),e},e}function M(){var e=y(d,r.interpolateNumber);return e.copy=function(){return m(e,M())},v(e)}function w(){function e(e){return+e}var n=[0,1];return e.invert=e,e.domain=e.range=function(t){return arguments.length?(n=j.call(t,X),e):n.slice()},e.copy=function(){return w().domain(n)},v(e)}function x(e,n){return(n=Math.log(n/e))?function(t){return Math.log(t/e)/n}:B(n)}function k(e,n){return e<0?function(t){return-Math.pow(-n,t)*Math.pow(-e,1-t)}:function(t){return Math.pow(n,t)*Math.pow(e,1-t)}}function T(e){return isFinite(e)?+("1e"+e):e<0?0:e}function C(e){return 10===e?T:e===Math.E?Math.exp:function(n){return Math.pow(e,n)}}function N(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(n){return Math.log(n)/e})}function D(e){return function(n){return-e(-n)}}function S(){function e(){return u=N(i),o=C(i),r()[0]<0&&(u=D(u),o=D(o)),t}var t=y(x,k).domain([1,10]),r=t.domain,i=10,u=N(10),o=C(10);return t.base=function(n){return arguments.length?(i=+n,e()):i},t.domain=function(n){return arguments.length?(r(n),e()):r()},t.ticks=function(e){var t,a=r(),c=a[0],f=a[a.length-1];(t=f<c)&&(h=c,c=f,f=h);var l,s,d,h=u(c),g=u(f),b=null==e?10:+e,p=[];if(!(i%1)&&g-h<b){if(h=Math.round(h)-1,g=Math.round(g)+1,c>0){for(;h<g;++h)for(s=1,l=o(h);s<i;++s)if(d=l*s,!(d<c)){if(d>f)break;p.push(d)}}else for(;h<g;++h)for(s=i-1,l=o(h);s>=1;--s)if(d=l*s,!(d<c)){if(d>f)break;p.push(d)}}else p=n.ticks(h,g,Math.min(g-h,b)).map(o);return t?p.reverse():p},t.tickFormat=function(e,n){if(null==n&&(n=10===i?".0e":","),"function"!=typeof n&&(n=a.format(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,i*e/t.ticks().length);return function(e){var t=e/o(Math.round(u(e)));return t*i<i-.5&&(t*=i),t<=r?n(e):""}},t.nice=function(){return r(V(r(),{floor:function(e){return o(Math.floor(u(e)))},ceil:function(e){return o(Math.ceil(u(e)))}}))},t.copy=function(){return m(t,S().base(i))},t}function U(e,n){return e<0?-Math.pow(-e,n):Math.pow(e,n)}function F(){function e(e,n){return(n=U(n,t)-(e=U(e,t)))?function(r){return(U(r,t)-e)/n}:B(n)}function n(e,n){return n=U(n,t)-(e=U(e,t)),function(r){return U(e+n*r,1/t)}}var t=1,r=y(e,n),a=r.domain;return r.exponent=function(e){return arguments.length?(t=+e,a(a())):t},r.copy=function(){return m(r,F().exponent(t))},v(r)}function Y(){return F().exponent(.5)}function A(){function e(){var e=0,u=Math.max(1,a.length);for(i=new Array(u-1);++e<u;)i[e-1]=n.quantile(r,e/u);return t}function t(e){if(!isNaN(e=+e))return a[n.bisect(i,e)]}var r=[],a=[],i=[];return t.invertExtent=function(e){var n=a.indexOf(e);return n<0?[NaN,NaN]:[n>0?i[n-1]:r[0],n<i.length?i[n]:r[r.length-1]]},t.domain=function(t){if(!arguments.length)return r.slice();r=[];for(var a,i=0,u=t.length;i<u;++i)a=t[i],null==a||isNaN(a=+a)||r.push(a);return r.sort(n.ascending),e()},t.range=function(n){return arguments.length?(a=q.call(n),e()):a.slice()},t.quantiles=function(){return i.slice()},t.copy=function(){return A().domain(r).range(a)},t}function $(){function e(e){if(e<=e)return o[n.bisect(u,e,0,i)]}function t(){var n=-1;for(u=new Array(i);++n<i;)u[n]=((n+1)*a-(n-i)*r)/(i+1);return e}var r=0,a=1,i=1,u=[.5],o=[0,1];return e.domain=function(e){return arguments.length?(r=+e[0],a=+e[1],t()):[r,a]},e.range=function(e){return arguments.length?(i=(o=q.call(e)).length-1,t()):o.slice()},e.invertExtent=function(e){var n=o.indexOf(e);return n<0?[NaN,NaN]:n<1?[r,u[0]]:n>=i?[u[i-1],a]:[u[n-1],u[n]]},e.copy=function(){return $().domain([r,a]).range(o)},v(e)}function _(){function e(e){if(e<=e)return r[n.bisect(t,e,0,a)]}var t=[.5],r=[0,1],a=1;return e.domain=function(n){return arguments.length?(t=q.call(n),a=Math.min(t.length,r.length-1),e):t.slice()},e.range=function(n){return arguments.length?(r=q.call(n),a=Math.min(t.length,r.length-1),e):r.slice()},e.invertExtent=function(e){var n=r.indexOf(e);return[t[n-1],t[n]]},e.copy=function(){return _().domain(t).range(r)},e}function E(e){return new Date(e)}function H(e){return e instanceof Date?+e:+new Date(+e)}function P(e,t,a,i,u,o,c,f,l){function s(n){return(c(n)<n?v:o(n)<n?M:u(n)<n?w:i(n)<n?x:t(n)<n?a(n)<n?k:T:e(n)<n?C:N)(n)}function h(t,r,a,i){if(null==t&&(t=10),"number"==typeof t){var u=Math.abs(a-r)/t,o=n.bisector(function(e){return e[2]}).right(D,u);o===D.length?(i=n.tickStep(r/ne,a/ne,t),t=e):o?(o=D[u/D[o-1][2]<D[o][2]/u?o-1:o],i=o[1],t=o[0]):(i=Math.max(n.tickStep(r,a,t),1),t=f)}return null==i?t:t.every(i)}var g=y(d,r.interpolateNumber),b=g.invert,p=g.domain,v=l(".%L"),M=l(":%S"),w=l("%I:%M"),x=l("%I %p"),k=l("%a %d"),T=l("%b %d"),C=l("%B"),N=l("%Y"),D=[[c,1,Z],[c,5,5*Z],[c,15,15*Z],[c,30,30*Z],[o,1,Q],[o,5,5*Q],[o,15,15*Q],[o,30,30*Q],[u,1,J],[u,3,3*J],[u,6,6*J],[u,12,12*J],[i,1,G],[i,2,2*G],[a,1,K],[t,1,ee],[t,3,3*ee],[e,1,ne]];return g.invert=function(e){return new Date(b(e))},g.domain=function(e){return arguments.length?p(j.call(e,H)):p().map(E)},g.ticks=function(e,n){var t,r=p(),a=r[0],i=r[r.length-1],u=i<a;return u&&(t=a,a=i,i=t),t=h(e,a,i,n),t=t?t.range(a,i+1):[],u?t.reverse():t},g.tickFormat=function(e,n){return null==n?s:l(n)},g.nice=function(e,n){var t=p();return(e=h(e,t[0],t[t.length-1],n))?p(V(t,e)):g},g.copy=function(){return m(g,P(e,t,a,i,u,o,c,f,l))},g}function L(e){var n=e.length;return function(t){return e[Math.max(0,Math.min(n-1,Math.floor(t*n)))]}}function I(e){function n(n){var i=(n-t)/(r-t);return e(a?Math.max(0,Math.min(1,i)):i)}var t=0,r=1,a=!1;return n.domain=function(e){return arguments.length?(t=+e[0],r=+e[1],n):[t,r]},n.clamp=function(e){return arguments.length?(a=!!e,n):a},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return I(e).domain([t,r]).clamp(a)},v(n)}var O=Array.prototype,j=O.map,q=O.slice,W={name:"implicit"},B=function(e){return function(){return e}},X=function(e){return+e},R=[0,1],z=function(e,t,r){var i,u=e[0],o=e[e.length-1],c=n.tickStep(u,o,null==t?10:t);switch(r=a.formatSpecifier(null==r?",f":r),r.type){case"s":var f=Math.max(Math.abs(u),Math.abs(o));return null!=r.precision||isNaN(i=a.precisionPrefix(c,f))||(r.precision=i),a.formatPrefix(r,f);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=a.precisionRound(c,Math.max(Math.abs(u),Math.abs(o))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=a.precisionFixed(c))||(r.precision=i-2*("%"===r.type))}return a.format(r)},V=function(e,n){e=e.slice();var t,r=0,a=e.length-1,i=e[r],u=e[a];return u<i&&(t=r,r=a,a=t,t=i,i=u,u=t),e[r]=n.floor(i),e[a]=n.ceil(u),e},Z=1e3,Q=60*Z,J=60*Q,G=24*J,K=7*G,ee=30*G,ne=365*G,te=function(){return P(i.timeYear,i.timeMonth,i.timeWeek,i.timeDay,i.timeHour,i.timeMinute,i.timeSecond,i.timeMillisecond,u.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},re=function(){return P(i.utcYear,i.utcMonth,i.utcWeek,i.utcDay,i.utcHour,i.utcMinute,i.utcSecond,i.utcMillisecond,u.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},ae=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})},ie=ae("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),ue=ae("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),oe=ae("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),ce=ae("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),fe=r.interpolateCubehelixLong(o.cubehelix(300,.5,0),o.cubehelix(-240,.5,1)),le=r.interpolateCubehelixLong(o.cubehelix(-100,.75,.35),o.cubehelix(80,1.5,.8)),se=r.interpolateCubehelixLong(o.cubehelix(260,.75,.35),o.cubehelix(80,1.5,.8)),de=o.cubehelix(),he=function(e){(e<0||e>1)&&(e-=Math.floor(e));var n=Math.abs(e-.5);return de.h=360*e-100,de.s=1.5-1.5*n,de.l=.8-.9*n,de+""},ge=L(ae("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),be=L(ae("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),pe=L(ae("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),me=L(ae("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));e.scaleBand=f,e.scalePoint=s,e.scaleIdentity=w,e.scaleLinear=M,e.scaleLog=S,e.scaleOrdinal=c,e.scaleImplicit=W,e.scalePow=F,e.scaleSqrt=Y,e.scaleQuantile=A,e.scaleQuantize=$,e.scaleThreshold=_,e.scaleTime=te,e.scaleUtc=re,e.schemeCategory10=ie,e.schemeCategory20b=ue,e.schemeCategory20c=oe,e.schemeCategory20=ce,e.interpolateCubehelixDefault=fe,e.interpolateRainbow=he,e.interpolateWarm=le,e.interpolateCool=se,e.interpolateViridis=ge,e.interpolateMagma=be,e.interpolateInferno=pe,e.interpolatePlasma=me,e.scaleSequential=I,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,n,t){!function(e,t){t(n)}(this,function(e){"use strict";function n(e){return function(n,t){return u(e(n),t)}}function t(e,n){return[e,n]}function r(e,n,t){var r=(n-e)/Math.max(0,t),a=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,a);return a>=0?(i>=T?10:i>=C?5:i>=N?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(i>=T?10:i>=C?5:i>=N?2:1)}function a(e,n,t){var r=Math.abs(n-e)/Math.max(0,t),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/a;return i>=T?a*=10:i>=C?a*=5:i>=N&&(a*=2),n<e?-a:a}function i(e){return e.length}var u=function(e,n){return e<n?-1:e>n?1:e>=n?0:NaN},o=function(e){return 1===e.length&&(e=n(e)),{left:function(n,t,r,a){for(null==r&&(r=0),null==a&&(a=n.length);r<a;){var i=r+a>>>1;e(n[i],t)<0?r=i+1:a=i}return r},right:function(n,t,r,a){for(null==r&&(r=0),null==a&&(a=n.length);r<a;){var i=r+a>>>1;e(n[i],t)>0?a=i:r=i+1}return r}}},c=o(u),f=c.right,l=c.left,s=function(e,n){null==n&&(n=t);for(var r=0,a=e.length-1,i=e[0],u=new Array(a<0?0:a);r<a;)u[r]=n(i,i=e[++r]);return u},d=function(e,n,r){var a,i,u,o,c=e.length,f=n.length,l=new Array(c*f);for(null==r&&(r=t),a=u=0;a<c;++a)for(o=e[a],i=0;i<f;++i,++u)l[u]=r(o,n[i]);return l},h=function(e,n){return n<e?-1:n>e?1:n>=e?0:NaN},g=function(e){return null===e?NaN:+e},b=function(e,n){var t,r,a=e.length,i=0,u=-1,o=0,c=0;if(null==n)for(;++u<a;)isNaN(t=g(e[u]))||(r=t-o,o+=r/++i,c+=r*(t-o));else for(;++u<a;)isNaN(t=g(n(e[u],u,e)))||(r=t-o,o+=r/++i,c+=r*(t-o));if(i>1)return c/(i-1)},p=function(e,n){var t=b(e,n);return t?Math.sqrt(t):t},m=function(e,n){var t,r,a,i=e.length,u=-1;if(null==n){for(;++u<i;)if(null!=(t=e[u])&&t>=t)for(r=a=t;++u<i;)null!=(t=e[u])&&(r>t&&(r=t),a<t&&(a=t))}else for(;++u<i;)if(null!=(t=n(e[u],u,e))&&t>=t)for(r=a=t;++u<i;)null!=(t=n(e[u],u,e))&&(r>t&&(r=t),a<t&&(a=t));return[r,a]},y=Array.prototype,v=y.slice,M=y.map,w=function(e){return function(){return e}},x=function(e){return e},k=function(e,n,t){e=+e,n=+n,t=(a=arguments.length)<2?(n=e,e=0,1):a<3?1:+t;for(var r=-1,a=0|Math.max(0,Math.ceil((n-e)/t)),i=new Array(a);++r<a;)i[r]=e+r*t;return i},T=Math.sqrt(50),C=Math.sqrt(10),N=Math.sqrt(2),D=function(e,n,t){var a,i,u,o,c=-1;if(n=+n,e=+e,t=+t,e===n&&t>0)return[e];if((a=n<e)&&(i=e,e=n,n=i),0===(o=r(e,n,t))||!isFinite(o))return[];if(o>0)for(e=Math.ceil(e/o),n=Math.floor(n/o),u=new Array(i=Math.ceil(n-e+1));++c<i;)u[c]=(e+c)*o;else for(e=Math.floor(e*o),n=Math.ceil(n*o),u=new Array(i=Math.ceil(e-n+1));++c<i;)u[c]=(e-c)/o;return a&&u.reverse(),u},S=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1},U=function(){function e(e){var i,u,o=e.length,c=new Array(o);for(i=0;i<o;++i)c[i]=n(e[i],i,e);var l=t(c),s=l[0],d=l[1],h=r(c,s,d);Array.isArray(h)||(h=a(s,d,h),h=k(Math.ceil(s/h)*h,Math.floor(d/h)*h,h));for(var g=h.length;h[0]<=s;)h.shift(),--g;for(;h[g-1]>d;)h.pop(),--g;var b,p=new Array(g+1);for(i=0;i<=g;++i)b=p[i]=[],b.x0=i>0?h[i-1]:s,b.x1=i<g?h[i]:d;for(i=0;i<o;++i)u=c[i],s<=u&&u<=d&&p[f(h,u,0,g)].push(e[i]);return p}var n=x,t=m,r=S;return e.value=function(t){return arguments.length?(n="function"==typeof t?t:w(t),e):n},e.domain=function(n){return arguments.length?(t="function"==typeof n?n:w([n[0],n[1]]),e):t},e.thresholds=function(n){return arguments.length?(r="function"==typeof n?n:w(Array.isArray(n)?v.call(n):n),e):r},e},F=function(e,n,t){if(null==t&&(t=g),r=e.length){if((n=+n)<=0||r<2)return+t(e[0],0,e);if(n>=1)return+t(e[r-1],r-1,e);var r,a=(r-1)*n,i=Math.floor(a),u=+t(e[i],i,e),o=+t(e[i+1],i+1,e);return u+(o-u)*(a-i)}},Y=function(e,n,t){return e=M.call(e,g).sort(u),Math.ceil((t-n)/(2*(F(e,.75)-F(e,.25))*Math.pow(e.length,-1/3)))},A=function(e,n,t){return Math.ceil((t-n)/(3.5*p(e)*Math.pow(e.length,-1/3)))},$=function(e,n){var t,r,a=e.length,i=-1;if(null==n){for(;++i<a;)if(null!=(t=e[i])&&t>=t)for(r=t;++i<a;)null!=(t=e[i])&&t>r&&(r=t)}else for(;++i<a;)if(null!=(t=n(e[i],i,e))&&t>=t)for(r=t;++i<a;)null!=(t=n(e[i],i,e))&&t>r&&(r=t);return r},_=function(e,n){var t,r=e.length,a=r,i=-1,u=0;if(null==n)for(;++i<r;)isNaN(t=g(e[i]))?--a:u+=t;else for(;++i<r;)isNaN(t=g(n(e[i],i,e)))?--a:u+=t;if(a)return u/a},E=function(e,n){var t,r=e.length,a=-1,i=[];if(null==n)for(;++a<r;)isNaN(t=g(e[a]))||i.push(t);else for(;++a<r;)isNaN(t=g(n(e[a],a,e)))||i.push(t);return F(i.sort(u),.5)},H=function(e){for(var n,t,r,a=e.length,i=-1,u=0;++i<a;)u+=e[i].length;for(t=new Array(u);--a>=0;)for(r=e[a],n=r.length;--n>=0;)t[--u]=r[n];return t},P=function(e,n){var t,r,a=e.length,i=-1;if(null==n){for(;++i<a;)if(null!=(t=e[i])&&t>=t)for(r=t;++i<a;)null!=(t=e[i])&&r>t&&(r=t)}else for(;++i<a;)if(null!=(t=n(e[i],i,e))&&t>=t)for(r=t;++i<a;)null!=(t=n(e[i],i,e))&&r>t&&(r=t);return r},L=function(e,n){for(var t=n.length,r=new Array(t);t--;)r[t]=e[n[t]];return r},I=function(e,n){if(t=e.length){var t,r,a=0,i=0,o=e[i];for(null==n&&(n=u);++a<t;)(n(r=e[a],o)<0||0!==n(o,o))&&(o=r,i=a);return 0===n(o,o)?i:void 0}},O=function(e,n,t){for(var r,a,i=(null==t?e.length:t)-(n=null==n?0:+n);i;)a=Math.random()*i--|0,r=e[i+n],e[i+n]=e[a+n],e[a+n]=r;return e},j=function(e,n){var t,r=e.length,a=-1,i=0;if(null==n)for(;++a<r;)(t=+e[a])&&(i+=t);else for(;++a<r;)(t=+n(e[a],a,e))&&(i+=t);return i},q=function(e){if(!(a=e.length))return[];for(var n=-1,t=P(e,i),r=new Array(t);++n<t;)for(var a,u=-1,o=r[n]=new Array(a);++u<a;)o[u]=e[u][n];return r},W=function(){return q(arguments)};e.bisect=f,e.bisectRight=f,e.bisectLeft=l,e.ascending=u,e.bisector=o,e.cross=d,e.descending=h,e.deviation=p,e.extent=m,e.histogram=U,e.thresholdFreedmanDiaconis=Y,e.thresholdScott=A,e.thresholdSturges=S,e.max=$,e.mean=_,e.median=E,e.merge=H,e.min=P,e.pairs=s,e.permute=L,e.quantile=F,e.range=k,e.scan=I,e.shuffle=O,e.sum=j,e.ticks=D,e.tickIncrement=r,e.tickStep=a,e.transpose=q,e.variance=b,e.zip=W,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,n,t){!function(e,t){t(n)}(this,function(e){"use strict";function n(){}function t(e,t){var r=new n;if(e instanceof n)e.each(function(e,n){r.set(n,e)});else if(Array.isArray(e)){var a,i=-1,u=e.length;if(null==t)for(;++i<u;)r.set(i,e[i]);else for(;++i<u;)r.set(t(a=e[i],i,e),a)}else if(e)for(var o in e)r.set(o,e[o]);return r}function r(){return{}}function a(e,n,t){e[n]=t}function i(){return t()}function u(e,n,t){e.set(n,t)}function o(){}function c(e,n){var t=new o;if(e instanceof o)e.each(function(e){t.add(e)});else if(e){var r=-1,a=e.length;if(null==n)for(;++r<a;)t.add(e[r]);else for(;++r<a;)t.add(n(e[r],r,e))}return t}var f="$";n.prototype=t.prototype={constructor:n,has:function(e){return f+e in this},get:function(e){return this[f+e]},set:function(e,n){return this[f+e]=n,this},remove:function(e){var n=f+e;return n in this&&delete this[n]},clear:function(){for(var e in this)e[0]===f&&delete this[e]},keys:function(){var e=[];for(var n in this)n[0]===f&&e.push(n.slice(1));return e},values:function(){var e=[];for(var n in this)n[0]===f&&e.push(this[n]);return e},entries:function(){var e=[];for(var n in this)n[0]===f&&e.push({key:n.slice(1),value:this[n]});return e},size:function(){var e=0;for(var n in this)n[0]===f&&++e;return e},empty:function(){for(var e in this)if(e[0]===f)return!1;return!0},each:function(e){for(var n in this)n[0]===f&&e(this[n],n.slice(1),this)}};var l=function(){function e(n,r,a,i){if(r>=l.length)return null!=o&&n.sort(o),null!=c?c(n):n;for(var u,f,s,d=-1,h=n.length,g=l[r++],b=t(),p=a();++d<h;)(s=b.get(u=g(f=n[d])+""))?s.push(f):b.set(u,[f]);return b.each(function(n,t){i(p,t,e(n,r,a,i))}),p}function n(e,t){if(++t>l.length)return e;var r,a=s[t-1];return null!=c&&t>=l.length?r=e.entries():(r=[],e.each(function(e,a){r.push({key:a,values:n(e,t)})})),null!=a?r.sort(function(e,n){return a(e.key,n.key)}):r}var o,c,f,l=[],s=[];return f={object:function(n){return e(n,0,r,a)},map:function(n){return e(n,0,i,u)},entries:function(t){return n(e(t,0,i,u),0)},key:function(e){return l.push(e),f},sortKeys:function(e){return s[l.length-1]=e,f},sortValues:function(e){return o=e,f},rollup:function(e){return c=e,f}}},s=t.prototype;o.prototype=c.prototype={constructor:o,has:s.has,add:function(e){return e+="",this[f+e]=e,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each};var d=function(e){var n=[];for(var t in e)n.push(t);return n},h=function(e){var n=[];
for(var t in e)n.push(e[t]);return n},g=function(e){var n=[];for(var t in e)n.push({key:t,value:e[t]});return n};e.nest=l,e.set=c,e.map=t,e.keys=d,e.values=h,e.entries=g,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,n,t){!function(e,r){r(n,t(7))}(this,function(e,n){"use strict";function t(e,n,t,r,a){var i=e*e,u=i*e;return((1-3*e+3*i-u)*n+(4-6*i+3*u)*t+(1+3*e+3*i-3*u)*r+u*a)/6}function r(e,n){return function(t){return e+t*n}}function a(e,n,t){return e=Math.pow(e,t),n=Math.pow(n,t)-e,t=1/t,function(r){return Math.pow(e+r*n,t)}}function i(e,n){var t=n-e;return t?r(e,t>180||t<-180?t-360*Math.round(t/360):t):D(isNaN(e)?n:e)}function u(e){return 1===(e=+e)?o:function(n,t){return t-n?a(n,t,e):D(isNaN(n)?t:n)}}function o(e,n){var t=n-e;return t?r(e,t):D(isNaN(e)?n:e)}function c(e){return function(t){var r,a,i=t.length,u=new Array(i),o=new Array(i),c=new Array(i);for(r=0;r<i;++r)a=n.rgb(t[r]),u[r]=a.r||0,o[r]=a.g||0,c[r]=a.b||0;return u=e(u),o=e(o),c=e(c),a.opacity=1,function(e){return a.r=u(e),a.g=o(e),a.b=c(e),a+""}}}function f(e){return function(){return e}}function l(e){return function(n){return e(n)+""}}function s(e){return"none"===e?j:(w||(w=document.createElement("DIV"),x=document.documentElement,k=document.defaultView),w.style.transform=e,e=k.getComputedStyle(x.appendChild(w),null).getPropertyValue("transform"),x.removeChild(w),e=e.slice(7,-1).split(","),q(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function d(e){return null==e?j:(T||(T=document.createElementNS("http://www.w3.org/2000/svg","g")),T.setAttribute("transform",e),(e=T.transform.baseVal.consolidate())?(e=e.matrix,q(e.a,e.b,e.c,e.d,e.e,e.f)):j)}function h(e,n,t,r){function a(e){return e.length?e.pop()+" ":""}function i(e,r,a,i,u,o){if(e!==a||r!==i){var c=u.push("translate(",null,n,null,t);o.push({i:c-4,x:$(e,a)},{i:c-2,x:$(r,i)})}else(a||i)&&u.push("translate("+a+n+i+t)}function u(e,n,t,i){e!==n?(e-n>180?n+=360:n-e>180&&(e+=360),i.push({i:t.push(a(t)+"rotate(",null,r)-2,x:$(e,n)})):n&&t.push(a(t)+"rotate("+n+r)}function o(e,n,t,i){e!==n?i.push({i:t.push(a(t)+"skewX(",null,r)-2,x:$(e,n)}):n&&t.push(a(t)+"skewX("+n+r)}function c(e,n,t,r,i,u){if(e!==t||n!==r){var o=i.push(a(i)+"scale(",null,",",null,")");u.push({i:o-4,x:$(e,t)},{i:o-2,x:$(n,r)})}else 1===t&&1===r||i.push(a(i)+"scale("+t+","+r+")")}return function(n,t){var r=[],a=[];return n=e(n),t=e(t),i(n.translateX,n.translateY,t.translateX,t.translateY,r,a),u(n.rotate,t.rotate,r,a),o(n.skewX,t.skewX,r,a),c(n.scaleX,n.scaleY,t.scaleX,t.scaleY,r,a),n=t=null,function(e){for(var n,t=-1,i=a.length;++t<i;)r[(n=a[t]).i]=n.x(e);return r.join("")}}}function g(e){return((e=Math.exp(e))+1/e)/2}function b(e){return((e=Math.exp(e))-1/e)/2}function p(e){return((e=Math.exp(2*e))-1)/(e+1)}function m(e){return function(t,r){var a=e((t=n.hsl(t)).h,(r=n.hsl(r)).h),i=o(t.s,r.s),u=o(t.l,r.l),c=o(t.opacity,r.opacity);return function(e){return t.h=a(e),t.s=i(e),t.l=u(e),t.opacity=c(e),t+""}}}function y(e,t){var r=o((e=n.lab(e)).l,(t=n.lab(t)).l),a=o(e.a,t.a),i=o(e.b,t.b),u=o(e.opacity,t.opacity);return function(n){return e.l=r(n),e.a=a(n),e.b=i(n),e.opacity=u(n),e+""}}function v(e){return function(t,r){var a=e((t=n.hcl(t)).h,(r=n.hcl(r)).h),i=o(t.c,r.c),u=o(t.l,r.l),c=o(t.opacity,r.opacity);return function(e){return t.h=a(e),t.c=i(e),t.l=u(e),t.opacity=c(e),t+""}}}function M(e){return function t(r){function a(t,a){var i=e((t=n.cubehelix(t)).h,(a=n.cubehelix(a)).h),u=o(t.s,a.s),c=o(t.l,a.l),f=o(t.opacity,a.opacity);return function(e){return t.h=i(e),t.s=u(e),t.l=c(Math.pow(e,r)),t.opacity=f(e),t+""}}return r=+r,a.gamma=t,a}(1)}var w,x,k,T,C=function(e){var n=e.length-1;return function(r){var a=r<=0?r=0:r>=1?(r=1,n-1):Math.floor(r*n),i=e[a],u=e[a+1],o=a>0?e[a-1]:2*i-u,c=a<n-1?e[a+2]:2*u-i;return t((r-a/n)*n,o,i,u,c)}},N=function(e){var n=e.length;return function(r){var a=Math.floor(((r%=1)<0?++r:r)*n),i=e[(a+n-1)%n],u=e[a%n],o=e[(a+1)%n],c=e[(a+2)%n];return t((r-a/n)*n,i,u,o,c)}},D=function(e){return function(){return e}},S=function e(t){function r(e,t){var r=a((e=n.rgb(e)).r,(t=n.rgb(t)).r),i=a(e.g,t.g),u=a(e.b,t.b),c=o(e.opacity,t.opacity);return function(n){return e.r=r(n),e.g=i(n),e.b=u(n),e.opacity=c(n),e+""}}var a=u(t);return r.gamma=e,r}(1),U=c(C),F=c(N),Y=function(e,n){var t,r=n?n.length:0,a=e?Math.min(r,e.length):0,i=new Array(a),u=new Array(r);for(t=0;t<a;++t)i[t]=L(e[t],n[t]);for(;t<r;++t)u[t]=n[t];return function(e){for(t=0;t<a;++t)u[t]=i[t](e);return u}},A=function(e,n){var t=new Date;return e=+e,n-=e,function(r){return t.setTime(e+n*r),t}},$=function(e,n){return e=+e,n-=e,function(t){return e+n*t}},_=function(e,n){var t,r={},a={};null!==e&&"object"==typeof e||(e={}),null!==n&&"object"==typeof n||(n={});for(t in n)t in e?r[t]=L(e[t],n[t]):a[t]=n[t];return function(e){for(t in r)a[t]=r[t](e);return a}},E=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,H=new RegExp(E.source,"g"),P=function(e,n){var t,r,a,i=E.lastIndex=H.lastIndex=0,u=-1,o=[],c=[];for(e+="",n+="";(t=E.exec(e))&&(r=H.exec(n));)(a=r.index)>i&&(a=n.slice(i,a),o[u]?o[u]+=a:o[++u]=a),(t=t[0])===(r=r[0])?o[u]?o[u]+=r:o[++u]=r:(o[++u]=null,c.push({i:u,x:$(t,r)})),i=H.lastIndex;return i<n.length&&(a=n.slice(i),o[u]?o[u]+=a:o[++u]=a),o.length<2?c[0]?l(c[0].x):f(n):(n=c.length,function(e){for(var t,r=0;r<n;++r)o[(t=c[r]).i]=t.x(e);return o.join("")})},L=function(e,t){var r,a=typeof t;return null==t||"boolean"===a?D(t):("number"===a?$:"string"===a?(r=n.color(t))?(t=r,S):P:t instanceof n.color?S:t instanceof Date?A:Array.isArray(t)?Y:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?_:$)(e,t)},I=function(e,n){return e=+e,n-=e,function(t){return Math.round(e+n*t)}},O=180/Math.PI,j={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},q=function(e,n,t,r,a,i){var u,o,c;return(u=Math.sqrt(e*e+n*n))&&(e/=u,n/=u),(c=e*t+n*r)&&(t-=e*c,r-=n*c),(o=Math.sqrt(t*t+r*r))&&(t/=o,r/=o,c/=o),e*r<n*t&&(e=-e,n=-n,c=-c,u=-u),{translateX:a,translateY:i,rotate:Math.atan2(n,e)*O,skewX:Math.atan(c)*O,scaleX:u,scaleY:o}},W=h(s,"px, ","px)","deg)"),B=h(d,", ",")",")"),X=Math.SQRT2,R=2,z=4,V=1e-12,Z=function(e,n){var t,r,a=e[0],i=e[1],u=e[2],o=n[0],c=n[1],f=n[2],l=o-a,s=c-i,d=l*l+s*s;if(d<V)r=Math.log(f/u)/X,t=function(e){return[a+e*l,i+e*s,u*Math.exp(X*e*r)]};else{var h=Math.sqrt(d),m=(f*f-u*u+z*d)/(2*u*R*h),y=(f*f-u*u-z*d)/(2*f*R*h),v=Math.log(Math.sqrt(m*m+1)-m),M=Math.log(Math.sqrt(y*y+1)-y);r=(M-v)/X,t=function(e){var n=e*r,t=g(v),o=u/(R*h)*(t*p(X*n+v)-b(v));return[a+o*l,i+o*s,u*t/g(X*n+v)]}}return t.duration=1e3*r,t},Q=m(i),J=m(o),G=v(i),K=v(o),ee=M(i),ne=M(o),te=function(e,n){for(var t=new Array(n),r=0;r<n;++r)t[r]=e(r/(n-1));return t};e.interpolate=L,e.interpolateArray=Y,e.interpolateBasis=C,e.interpolateBasisClosed=N,e.interpolateDate=A,e.interpolateNumber=$,e.interpolateObject=_,e.interpolateRound=I,e.interpolateString=P,e.interpolateTransformCss=W,e.interpolateTransformSvg=B,e.interpolateZoom=Z,e.interpolateRgb=S,e.interpolateRgbBasis=U,e.interpolateRgbBasisClosed=F,e.interpolateHsl=Q,e.interpolateHslLong=J,e.interpolateLab=y,e.interpolateHcl=G,e.interpolateHclLong=K,e.interpolateCubehelix=ee,e.interpolateCubehelixLong=ne,e.quantize=te,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,n,t){!function(e,t){t(n)}(this,function(e){"use strict";function n(e,n){var t=Object.create(e.prototype);for(var r in n)t[r]=n[r];return t}function t(){}function r(e){var n;return e=(e+"").trim().toLowerCase(),(n=$.exec(e))?(n=parseInt(n[1],16),new c(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=_.exec(e))?a(parseInt(n[1],16)):(n=E.exec(e))?new c(n[1],n[2],n[3],1):(n=H.exec(e))?new c(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=P.exec(e))?i(n[1],n[2],n[3],n[4]):(n=L.exec(e))?i(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=I.exec(e))?f(n[1],n[2]/100,n[3]/100,1):(n=O.exec(e))?f(n[1],n[2]/100,n[3]/100,n[4]):j.hasOwnProperty(e)?a(j[e]):"transparent"===e?new c(NaN,NaN,NaN,0):null}function a(e){return new c(e>>16&255,e>>8&255,255&e,1)}function i(e,n,t,r){return r<=0&&(e=n=t=NaN),new c(e,n,t,r)}function u(e){return e instanceof t||(e=r(e)),e?(e=e.rgb(),new c(e.r,e.g,e.b,e.opacity)):new c}function o(e,n,t,r){return 1===arguments.length?u(e):new c(e,n,t,null==r?1:r)}function c(e,n,t,r){this.r=+e,this.g=+n,this.b=+t,this.opacity=+r}function f(e,n,t,r){return r<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new d(e,n,t,r)}function l(e){if(e instanceof d)return new d(e.h,e.s,e.l,e.opacity);if(e instanceof t||(e=r(e)),!e)return new d;if(e instanceof d)return e;e=e.rgb();var n=e.r/255,a=e.g/255,i=e.b/255,u=Math.min(n,a,i),o=Math.max(n,a,i),c=NaN,f=o-u,l=(o+u)/2;return f?(c=n===o?(a-i)/f+6*(a<i):a===o?(i-n)/f+2:(n-a)/f+4,f/=l<.5?o+u:2-o-u,c*=60):f=l>0&&l<1?0:c,new d(c,f,l,e.opacity)}function s(e,n,t,r){return 1===arguments.length?l(e):new d(e,n,t,null==r?1:r)}function d(e,n,t,r){this.h=+e,this.s=+n,this.l=+t,this.opacity=+r}function h(e,n,t){return 255*(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)}function g(e){if(e instanceof p)return new p(e.l,e.a,e.b,e.opacity);if(e instanceof k){var n=e.h*q;return new p(e.l,Math.cos(n)*e.c,Math.sin(n)*e.c,e.opacity)}e instanceof c||(e=u(e));var t=M(e.r),r=M(e.g),a=M(e.b),i=m((.4124564*t+.3575761*r+.1804375*a)/X),o=m((.2126729*t+.7151522*r+.072175*a)/R),f=m((.0193339*t+.119192*r+.9503041*a)/z);return new p(116*o-16,500*(i-o),200*(o-f),e.opacity)}function b(e,n,t,r){return 1===arguments.length?g(e):new p(e,n,t,null==r?1:r)}function p(e,n,t,r){this.l=+e,this.a=+n,this.b=+t,this.opacity=+r}function m(e){return e>J?Math.pow(e,1/3):e/Q+V}function y(e){return e>Z?e*e*e:Q*(e-V)}function v(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function M(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function w(e){if(e instanceof k)return new k(e.h,e.c,e.l,e.opacity);e instanceof p||(e=g(e));var n=Math.atan2(e.b,e.a)*W;return new k(n<0?n+360:n,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function x(e,n,t,r){return 1===arguments.length?w(e):new k(e,n,t,null==r?1:r)}function k(e,n,t,r){this.h=+e,this.c=+n,this.l=+t,this.opacity=+r}function T(e){if(e instanceof N)return new N(e.h,e.s,e.l,e.opacity);e instanceof c||(e=u(e));var n=e.r/255,t=e.g/255,r=e.b/255,a=(ie*r+re*n-ae*t)/(ie+re-ae),i=r-a,o=(te*(t-a)-ee*i)/ne,f=Math.sqrt(o*o+i*i)/(te*a*(1-a)),l=f?Math.atan2(o,i)*W-120:NaN;return new N(l<0?l+360:l,f,a,e.opacity)}function C(e,n,t,r){return 1===arguments.length?T(e):new N(e,n,t,null==r?1:r)}function N(e,n,t,r){this.h=+e,this.s=+n,this.l=+t,this.opacity=+r}var D=function(e,n,t){e.prototype=n.prototype=t,t.constructor=e},S=.7,U=1/S,F="\\s*([+-]?\\d+)\\s*",Y="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",A="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",$=/^#([0-9a-f]{3})$/,_=/^#([0-9a-f]{6})$/,E=new RegExp("^rgb\\("+[F,F,F]+"\\)$"),H=new RegExp("^rgb\\("+[A,A,A]+"\\)$"),P=new RegExp("^rgba\\("+[F,F,F,Y]+"\\)$"),L=new RegExp("^rgba\\("+[A,A,A,Y]+"\\)$"),I=new RegExp("^hsl\\("+[Y,A,A]+"\\)$"),O=new RegExp("^hsla\\("+[Y,A,A,Y]+"\\)$"),j={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};D(t,r,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),D(c,o,n(t,{brighter:function(e){return e=null==e?U:Math.pow(U,e),new c(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?S:Math.pow(S,e),new c(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"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===e?")":", "+e+")")}})),D(d,s,n(t,{brighter:function(e){return e=null==e?U:Math.pow(U,e),new d(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?S:Math.pow(S,e),new d(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),n=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,r=t+(t<.5?t:1-t)*n,a=2*t-r;return new c(h(e>=240?e-240:e+120,a,r),h(e,a,r),h(e<120?e+240:e-120,a,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}}));var q=Math.PI/180,W=180/Math.PI,B=18,X=.95047,R=1,z=1.08883,V=4/29,Z=6/29,Q=3*Z*Z,J=Z*Z*Z;D(p,b,n(t,{brighter:function(e){return new p(this.l+B*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new p(this.l-B*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,n=isNaN(this.a)?e:e+this.a/500,t=isNaN(this.b)?e:e-this.b/200;return e=R*y(e),n=X*y(n),t=z*y(t),new c(v(3.2404542*n-1.5371385*e-.4985314*t),v(-.969266*n+1.8760108*e+.041556*t),v(.0556434*n-.2040259*e+1.0572252*t),this.opacity)}})),D(k,x,n(t,{brighter:function(e){return new k(this.h,this.c,this.l+B*(null==e?1:e),this.opacity)},darker:function(e){return new k(this.h,this.c,this.l-B*(null==e?1:e),this.opacity)},rgb:function(){return g(this).rgb()}}));var G=-.14861,K=1.78277,ee=-.29227,ne=-.90649,te=1.97294,re=te*ne,ae=te*K,ie=K*ee-ne*G;D(N,C,n(t,{brighter:function(e){return e=null==e?U:Math.pow(U,e),new N(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?S:Math.pow(S,e),new N(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*q,n=+this.l,t=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(e),a=Math.sin(e);return new c(255*(n+t*(G*r+K*a)),255*(n+t*(ee*r+ne*a)),255*(n+t*(te*r)),this.opacity)}})),e.color=r,e.rgb=o,e.hsl=s,e.lab=b,e.hcl=x,e.cubehelix=C,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,n,t){!function(e,t){t(n)}(this,function(e){"use strict";function n(e){return new t(e)}function t(e){if(!(n=h.exec(e)))throw new Error("invalid format: "+e);var n,t=n[1]||" ",r=n[2]||">",a=n[3]||"-",i=n[4]||"",u=!!n[5],o=n[6]&&+n[6],c=!!n[7],f=n[8]&&+n[8].slice(1),l=n[9]||"";"n"===l?(c=!0,l="g"):d[l]||(l=""),(u||"0"===t&&"="===r)&&(u=!0,t="0",r="="),this.fill=t,this.align=r,this.sign=a,this.symbol=i,this.zero=u,this.width=o,this.comma=c,this.precision=f,this.type=l}function r(n){return g=m(n),e.format=g.format,e.formatPrefix=g.formatPrefix,g}var a,i=function(e,n){if((t=(e=n?e.toExponential(n-1):e.toExponential()).indexOf("e"))<0)return null;var t,r=e.slice(0,t);return[r.length>1?r[0]+r.slice(2):r,+e.slice(t+1)]},u=function(e){return e=i(Math.abs(e)),e?e[1]:NaN},o=function(e,n){return function(t,r){for(var a=t.length,i=[],u=0,o=e[0],c=0;a>0&&o>0&&(c+o+1>r&&(o=Math.max(1,r-c)),i.push(t.substring(a-=o,a+o)),!((c+=o+1)>r));)o=e[u=(u+1)%e.length];return i.reverse().join(n)}},c=function(e){return function(n){return n.replace(/[0-9]/g,function(n){return e[+n]})}},f=function(e,n){e=e.toPrecision(n);e:for(var t,r=e.length,a=1,i=-1;a<r;++a)switch(e[a]){case".":i=t=a;break;case"0":0===i&&(i=a),t=a;break;case"e":break e;default:i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e},l=function(e,n){var t=i(e,n);if(!t)return e+"";var r=t[0],u=t[1],o=u-(a=3*Math.max(-8,Math.min(8,Math.floor(u/3))))+1,c=r.length;return o===c?r:o>c?r+new Array(o-c+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+i(e,Math.max(0,n+o-1))[0]},s=function(e,n){var t=i(e,n);if(!t)return e+"";var r=t[0],a=t[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")},d={"":f,"%":function(e,n){return(100*e).toFixed(n)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,n){return e.toExponential(n)},f:function(e,n){return e.toFixed(n)},g:function(e,n){return e.toPrecision(n)},o:function(e){return Math.round(e).toString(8)},p:function(e,n){return s(100*e,n)},r:s,s:l,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},h=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;n.prototype=t.prototype,t.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var g,b=function(e){return e},p=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],m=function(e){function t(e){function t(e){var n,t,c,f=M,d=w;if("c"===v)d=x(e)+d,e="";else{e=+e;var h=e<0;if(e=x(Math.abs(e),y),h&&0===+e&&(h=!1),f=(h?"("===o?o:"-":"-"===o||"("===o?"":o)+f,d=("s"===v?p[8+a/3]:"")+d+(h&&"("===o?")":""),k)for(n=-1,t=e.length;++n<t;)if(c=e.charCodeAt(n),48>c||c>57){d=(46===c?l+e.slice(n+1):e.slice(n))+d,e=e.slice(0,n);break}}m&&!g&&(e=i(e,1/0));var T=f.length+e.length+d.length,C=T<b?new Array(b-T+1).join(r):"";switch(m&&g&&(e=i(C+e,C.length?b-d.length:1/0),C=""),u){case"<":e=f+e+d+C;break;case"=":e=f+C+e+d;break;case"^":e=C.slice(0,T=C.length>>1)+f+e+d+C.slice(T);break;default:e=C+f+e+d}return s(e)}e=n(e);var r=e.fill,u=e.align,o=e.sign,c=e.symbol,g=e.zero,b=e.width,m=e.comma,y=e.precision,v=e.type,M="$"===c?f[0]:"#"===c&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",w="$"===c?f[1]:/[%p]/.test(v)?h:"",x=d[v],k=!v||/[defgprs%]/.test(v);return y=null==y?v?6:12:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),t.toString=function(){return e+""},t}function r(e,r){var a=t((e=n(e),e.type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(u(r)/3))),o=Math.pow(10,-i),c=p[8+i/3];return function(e){return a(o*e)+c}}var i=e.grouping&&e.thousands?o(e.grouping,e.thousands):b,f=e.currency,l=e.decimal,s=e.numerals?c(e.numerals):b,h=e.percent||"%";return{format:t,formatPrefix:r}};r({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var y=function(e){return Math.max(0,-u(Math.abs(e)))},v=function(e,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(u(n)/3)))-u(Math.abs(e)))},M=function(e,n){return e=Math.abs(e),n=Math.abs(n)-e,Math.max(0,u(n)-u(e))+1};e.formatDefaultLocale=r,e.formatLocale=m,e.formatSpecifier=n,e.precisionFixed=y,e.precisionPrefix=v,e.precisionRound=M,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,n,t){!function(e,t){t(n)}(this,function(e){"use strict";function n(e,t,r,u){function o(n){return e(n=new Date(+n)),n}return o.floor=o,o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var n=o(e),t=o.ceil(e);return e-n<t-e?n:t},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,a){var i,u=[];if(n=o.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return u;do u.push(i=new Date(+n)),t(n,a),e(n);while(i<n&&n<r);return u},o.filter=function(r){return n(function(n){if(n>=n)for(;e(n),!r(n);)n.setTime(n-1)},function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););})},r&&(o.count=function(n,t){return a.setTime(+n),i.setTime(+t),e(a),e(i),Math.floor(r(a,i))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(u?function(n){return u(n)%e===0}:function(n){return o.count(0,n)%e===0}):o:null}),o}function t(e){return n(function(n){n.setDate(n.getDate()-(n.getDay()+7-e)%7),n.setHours(0,0,0,0)},function(e,n){e.setDate(e.getDate()+7*n)},function(e,n){return(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*f)/d})}function r(e){return n(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-e)%7),n.setUTCHours(0,0,0,0)},function(e,n){e.setUTCDate(e.getUTCDate()+7*n)},function(e,n){return(n-e)/d})}var a=new Date,i=new Date,u=n(function(){},function(e,n){e.setTime(+e+n)},function(e,n){return n-e});u.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?n(function(n){n.setTime(Math.floor(n/e)*e)},function(n,t){n.setTime(+n+t*e)},function(n,t){return(t-n)/e}):u:null};var o=u.range,c=1e3,f=6e4,l=36e5,s=864e5,d=6048e5,h=n(function(e){e.setTime(Math.floor(e/c)*c)},function(e,n){e.setTime(+e+n*c)},function(e,n){return(n-e)/c},function(e){return e.getUTCSeconds()}),g=h.range,b=n(function(e){e.setTime(Math.floor(e/f)*f)},function(e,n){e.setTime(+e+n*f)},function(e,n){return(n-e)/f},function(e){return e.getMinutes()}),p=b.range,m=n(function(e){var n=e.getTimezoneOffset()*f%l;n<0&&(n+=l),e.setTime(Math.floor((+e-n)/l)*l+n)},function(e,n){e.setTime(+e+n*l)},function(e,n){return(n-e)/l},function(e){return e.getHours()}),y=m.range,v=n(function(e){e.setHours(0,0,0,0)},function(e,n){e.setDate(e.getDate()+n)},function(e,n){return(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*f)/s},function(e){return e.getDate()-1}),M=v.range,w=t(0),x=t(1),k=t(2),T=t(3),C=t(4),N=t(5),D=t(6),S=w.range,U=x.range,F=k.range,Y=T.range,A=C.range,$=N.range,_=D.range,E=n(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,n){e.setMonth(e.getMonth()+n)},function(e,n){return n.getMonth()-e.getMonth()+12*(n.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),H=E.range,P=n(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n)},function(e,n){return n.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});P.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n(function(n){n.setFullYear(Math.floor(n.getFullYear()/e)*e),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,t){n.setFullYear(n.getFullYear()+t*e)}):null};var L=P.range,I=n(function(e){e.setUTCSeconds(0,0)},function(e,n){e.setTime(+e+n*f)},function(e,n){return(n-e)/f},function(e){return e.getUTCMinutes()}),O=I.range,j=n(function(e){e.setUTCMinutes(0,0,0)},function(e,n){e.setTime(+e+n*l)},function(e,n){return(n-e)/l},function(e){return e.getUTCHours()}),q=j.range,W=n(function(e){e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCDate(e.getUTCDate()+n)},function(e,n){return(n-e)/s},function(e){return e.getUTCDate()-1}),B=W.range,X=r(0),R=r(1),z=r(2),V=r(3),Z=r(4),Q=r(5),J=r(6),G=X.range,K=R.range,ee=z.range,ne=V.range,te=Z.range,re=Q.range,ae=J.range,ie=n(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCMonth(e.getUTCMonth()+n)},function(e,n){return n.getUTCMonth()-e.getUTCMonth()+12*(n.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),ue=ie.range,oe=n(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n)},function(e,n){return n.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});oe.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/e)*e),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,t){n.setUTCFullYear(n.getUTCFullYear()+t*e)}):null};var ce=oe.range;e.timeInterval=n,e.timeMillisecond=u,e.timeMilliseconds=o,e.utcMillisecond=u,e.utcMilliseconds=o,e.timeSecond=h,e.timeSeconds=g,e.utcSecond=h,e.utcSeconds=g,e.timeMinute=b,e.timeMinutes=p,e.timeHour=m,e.timeHours=y,e.timeDay=v,e.timeDays=M,e.timeWeek=w,e.timeWeeks=S,e.timeSunday=w,e.timeSundays=S,e.timeMonday=x,e.timeMondays=U,e.timeTuesday=k,e.timeTuesdays=F,e.timeWednesday=T,e.timeWednesdays=Y,e.timeThursday=C,e.timeThursdays=A,e.timeFriday=N,e.timeFridays=$,e.timeSaturday=D,e.timeSaturdays=_,e.timeMonth=E,e.timeMonths=H,e.timeYear=P,e.timeYears=L,e.utcMinute=I,e.utcMinutes=O,e.utcHour=j,e.utcHours=q,e.utcDay=W,e.utcDays=B,e.utcWeek=X,e.utcWeeks=G,e.utcSunday=X,e.utcSundays=G,e.utcMonday=R,e.utcMondays=K,e.utcTuesday=z,e.utcTuesdays=ee,e.utcWednesday=V,e.utcWednesdays=ne,e.utcThursday=Z,e.utcThursdays=te,e.utcFriday=Q,e.utcFridays=re,e.utcSaturday=J,e.utcSaturdays=ae,e.utcMonth=ie,e.utcMonths=ue,e.utcYear=oe,e.utcYears=ce,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,n,t){!function(e,r){r(n,t(9))}(this,function(e,n){"use strict";function t(e){if(0<=e.y&&e.y<100){var n=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return n.setFullYear(e.y),n}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function r(e){if(0<=e.y&&e.y<100){var n=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return n.setUTCFullYear(e.y),n}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function a(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function i(e){function i(e,n){return function(t){var r,a,i,u=[],o=-1,c=0,f=e.length;for(t instanceof Date||(t=new Date(+t));++o<f;)37===e.charCodeAt(o)&&(u.push(e.slice(c,o)),null!=(a=pe[r=e.charAt(++o)])?r=e.charAt(++o):a="e"===r?" ":"0",(i=n[r])&&(r=i(t,a)),u.push(r),c=o+1);return u.push(e.slice(c,o)),u.join("")}}function u(e,t){return function(i){var u,c,f=a(1900),l=o(f,e,i+="",0);if(l!=i.length)return null;if("Q"in f)return new Date(f.Q);if("p"in f&&(f.H=f.H%12+12*f.p),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?(u=r(a(f.y)),c=u.getUTCDay(),u=c>4||0===c?n.utcMonday.ceil(u):n.utcMonday(u),u=n.utcDay.offset(u,7*(f.V-1)),f.y=u.getUTCFullYear(),f.m=u.getUTCMonth(),f.d=u.getUTCDate()+(f.w+6)%7):(u=t(a(f.y)),c=u.getDay(),u=c>4||0===c?n.timeMonday.ceil(u):n.timeMonday(u),u=n.timeDay.offset(u,7*(f.V-1)),f.y=u.getFullYear(),f.m=u.getMonth(),f.d=u.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),c="Z"in f?r(a(f.y)).getUTCDay():t(a(f.y)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+7*f.W-(c+5)%7:f.w+7*f.U-(c+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,r(f)):t(f)}}function o(e,n,t,r){for(var a,i,u=0,o=n.length,c=t.length;u<o;){if(r>=c)return-1;if(a=n.charCodeAt(u++),37===a){if(a=n.charAt(u++),i=Je[a in pe?n.charAt(u++):a],!i||(r=i(e,t,r))<0)return-1}else if(a!=t.charCodeAt(r++))return-1}return r}function de(e,n,t){var r=Ie.exec(n.slice(t));return r?(e.p=Oe[r[0].toLowerCase()],t+r[0].length):-1}function he(e,n,t){var r=We.exec(n.slice(t));return r?(e.w=Be[r[0].toLowerCase()],t+r[0].length):-1}function ge(e,n,t){var r=je.exec(n.slice(t));return r?(e.w=qe[r[0].toLowerCase()],t+r[0].length):-1}function be(e,n,t){var r=ze.exec(n.slice(t));return r?(e.m=Ve[r[0].toLowerCase()],t+r[0].length):-1}function me(e,n,t){var r=Xe.exec(n.slice(t));return r?(e.m=Re[r[0].toLowerCase()],t+r[0].length):-1}function ye(e,n,t){return o(e,Ye,n,t)}function ve(e,n,t){return o(e,Ae,n,t)}function Me(e,n,t){return o(e,$e,n,t)}function we(e){return He[e.getDay()]}function xe(e){return Ee[e.getDay()]}function ke(e){return Le[e.getMonth()]}function Te(e){return Pe[e.getMonth()]}function Ce(e){return _e[+(e.getHours()>=12)]}function Ne(e){return He[e.getUTCDay()]}function De(e){return Ee[e.getUTCDay()]}function Se(e){return Le[e.getUTCMonth()]}function Ue(e){return Pe[e.getUTCMonth()]}function Fe(e){return _e[+(e.getUTCHours()>=12)]}var Ye=e.dateTime,Ae=e.date,$e=e.time,_e=e.periods,Ee=e.days,He=e.shortDays,Pe=e.months,Le=e.shortMonths,Ie=c(_e),Oe=f(_e),je=c(Ee),qe=f(Ee),We=c(He),Be=f(He),Xe=c(Pe),Re=f(Pe),ze=c(Le),Ve=f(Le),Ze={a:we,A:xe,b:ke,B:Te,c:null,d:U,e:U,f:_,H:F,I:Y,j:A,L:$,m:E,M:H,p:Ce,Q:le,s:se,S:P,u:L,U:I,V:O,w:j,W:q,x:null,X:null,y:W,Y:B,Z:X,"%":fe},Qe={a:Ne,A:De,b:Se,B:Ue,c:null,d:R,e:R,f:J,H:z,I:V,j:Z,L:Q,m:G,M:K,p:Fe,Q:le,s:se,S:ee,u:ne,U:te,V:re,w:ae,W:ie,x:null,X:null,y:ue,Y:oe,Z:ce,"%":fe},Je={a:he,A:ge,b:be,B:me,c:ye,d:v,e:v,f:C,H:w,I:w,j:M,L:T,m:y,M:x,p:de,Q:D,s:S,S:k,u:s,U:d,V:h,w:l,W:g,x:ve,X:Me,y:p,Y:b,Z:m,"%":N};return Ze.x=i(Ae,Ze),Ze.X=i($e,Ze),Ze.c=i(Ye,Ze),Qe.x=i(Ae,Qe),Qe.X=i($e,Qe),Qe.c=i(Ye,Qe),{format:function(e){var n=i(e+="",Ze);return n.toString=function(){return e},n},parse:function(e){var n=u(e+="",t);return n.toString=function(){return e},n},utcFormat:function(e){var n=i(e+="",Qe);return n.toString=function(){return e},n},utcParse:function(e){var n=u(e,r);return n.toString=function(){return e},n}}}function u(e,n,t){var r=e<0?"-":"",a=(r?-e:e)+"",i=a.length;return r+(i<t?new Array(t-i+1).join(n)+a:a)}function o(e){return e.replace(ve,"\\$&")}function c(e){return new RegExp("^(?:"+e.map(o).join("|")+")","i")}function f(e){for(var n={},t=-1,r=e.length;++t<r;)n[e[t].toLowerCase()]=t;return n}function l(e,n,t){var r=me.exec(n.slice(t,t+1));return r?(e.w=+r[0],t+r[0].length):-1}function s(e,n,t){var r=me.exec(n.slice(t,t+1));return r?(e.u=+r[0],t+r[0].length):-1}function d(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.U=+r[0],t+r[0].length):-1}function h(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.V=+r[0],t+r[0].length):-1}function g(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.W=+r[0],t+r[0].length):-1}function b(e,n,t){var r=me.exec(n.slice(t,t+4));return r?(e.y=+r[0],t+r[0].length):-1}function p(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),t+r[0].length):-1}function m(e,n,t){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(t,t+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),t+r[0].length):-1}function y(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.m=r[0]-1,t+r[0].length):-1}function v(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.d=+r[0],t+r[0].length):-1}function M(e,n,t){var r=me.exec(n.slice(t,t+3));return r?(e.m=0,e.d=+r[0],t+r[0].length):-1}function w(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.H=+r[0],t+r[0].length):-1}function x(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.M=+r[0],t+r[0].length):-1}function k(e,n,t){var r=me.exec(n.slice(t,t+2));return r?(e.S=+r[0],t+r[0].length):-1}function T(e,n,t){var r=me.exec(n.slice(t,t+3));return r?(e.L=+r[0],t+r[0].length):-1}function C(e,n,t){var r=me.exec(n.slice(t,t+6));return r?(e.L=Math.floor(r[0]/1e3),t+r[0].length):-1}function N(e,n,t){var r=ye.exec(n.slice(t,t+1));return r?t+r[0].length:-1}function D(e,n,t){var r=me.exec(n.slice(t));return r?(e.Q=+r[0],
t+r[0].length):-1}function S(e,n,t){var r=me.exec(n.slice(t));return r?(e.Q=1e3*+r[0],t+r[0].length):-1}function U(e,n){return u(e.getDate(),n,2)}function F(e,n){return u(e.getHours(),n,2)}function Y(e,n){return u(e.getHours()%12||12,n,2)}function A(e,t){return u(1+n.timeDay.count(n.timeYear(e),e),t,3)}function $(e,n){return u(e.getMilliseconds(),n,3)}function _(e,n){return $(e,n)+"000"}function E(e,n){return u(e.getMonth()+1,n,2)}function H(e,n){return u(e.getMinutes(),n,2)}function P(e,n){return u(e.getSeconds(),n,2)}function L(e){var n=e.getDay();return 0===n?7:n}function I(e,t){return u(n.timeSunday.count(n.timeYear(e),e),t,2)}function O(e,t){var r=e.getDay();return e=r>=4||0===r?n.timeThursday(e):n.timeThursday.ceil(e),u(n.timeThursday.count(n.timeYear(e),e)+(4===n.timeYear(e).getDay()),t,2)}function j(e){return e.getDay()}function q(e,t){return u(n.timeMonday.count(n.timeYear(e),e),t,2)}function W(e,n){return u(e.getFullYear()%100,n,2)}function B(e,n){return u(e.getFullYear()%1e4,n,4)}function X(e){var n=e.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+u(n/60|0,"0",2)+u(n%60,"0",2)}function R(e,n){return u(e.getUTCDate(),n,2)}function z(e,n){return u(e.getUTCHours(),n,2)}function V(e,n){return u(e.getUTCHours()%12||12,n,2)}function Z(e,t){return u(1+n.utcDay.count(n.utcYear(e),e),t,3)}function Q(e,n){return u(e.getUTCMilliseconds(),n,3)}function J(e,n){return Q(e,n)+"000"}function G(e,n){return u(e.getUTCMonth()+1,n,2)}function K(e,n){return u(e.getUTCMinutes(),n,2)}function ee(e,n){return u(e.getUTCSeconds(),n,2)}function ne(e){var n=e.getUTCDay();return 0===n?7:n}function te(e,t){return u(n.utcSunday.count(n.utcYear(e),e),t,2)}function re(e,t){var r=e.getUTCDay();return e=r>=4||0===r?n.utcThursday(e):n.utcThursday.ceil(e),u(n.utcThursday.count(n.utcYear(e),e)+(4===n.utcYear(e).getUTCDay()),t,2)}function ae(e){return e.getUTCDay()}function ie(e,t){return u(n.utcMonday.count(n.utcYear(e),e),t,2)}function ue(e,n){return u(e.getUTCFullYear()%100,n,2)}function oe(e,n){return u(e.getUTCFullYear()%1e4,n,4)}function ce(){return"+0000"}function fe(){return"%"}function le(e){return+e}function se(e){return Math.floor(+e/1e3)}function de(n){return be=i(n),e.timeFormat=be.format,e.timeParse=be.parse,e.utcFormat=be.utcFormat,e.utcParse=be.utcParse,be}function he(e){return e.toISOString()}function ge(e){var n=new Date(e);return isNaN(n)?null:n}var be,pe={"-":"",_:" ",0:"0"},me=/^\s*\d+/,ye=/^%/,ve=/[\\^$*+?|[\]().{}]/g;de({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"]});var Me="%Y-%m-%dT%H:%M:%S.%LZ",we=Date.prototype.toISOString?he:e.utcFormat(Me),xe=+new Date("2000-01-01T00:00:00.000Z")?ge:e.utcParse(Me);e.timeFormatDefaultLocale=de,e.timeFormatLocale=i,e.isoFormat=we,e.isoParse=xe,Object.defineProperty(e,"__esModule",{value:!0})})}]);