@tanstack/react-router-devtools 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +3 -0
  2. package/build/cjs/_virtual/_rollupPluginBabelHelpers.js +49 -0
  3. package/build/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
  4. package/build/cjs/packages/react-router-devtools/src/Explorer.js +245 -0
  5. package/build/cjs/packages/react-router-devtools/src/Explorer.js.map +1 -0
  6. package/build/cjs/packages/react-router-devtools/src/Logo.js +73 -0
  7. package/build/cjs/packages/react-router-devtools/src/Logo.js.map +1 -0
  8. package/build/cjs/packages/react-router-devtools/src/devtools.js +654 -0
  9. package/build/cjs/packages/react-router-devtools/src/devtools.js.map +1 -0
  10. package/build/cjs/packages/react-router-devtools/src/index.js +21 -0
  11. package/build/cjs/packages/react-router-devtools/src/index.js.map +1 -0
  12. package/build/cjs/packages/react-router-devtools/src/styledComponents.js +107 -0
  13. package/build/cjs/packages/react-router-devtools/src/styledComponents.js.map +1 -0
  14. package/build/cjs/packages/react-router-devtools/src/theme.js +54 -0
  15. package/build/cjs/packages/react-router-devtools/src/theme.js.map +1 -0
  16. package/build/cjs/packages/react-router-devtools/src/useLocalStorage.js +65 -0
  17. package/build/cjs/packages/react-router-devtools/src/useLocalStorage.js.map +1 -0
  18. package/build/cjs/packages/react-router-devtools/src/useMediaQuery.js +57 -0
  19. package/build/cjs/packages/react-router-devtools/src/useMediaQuery.js.map +1 -0
  20. package/build/cjs/packages/react-router-devtools/src/utils.js +117 -0
  21. package/build/cjs/packages/react-router-devtools/src/utils.js.map +1 -0
  22. package/build/esm/index.js +2013 -0
  23. package/build/esm/index.js.map +1 -0
  24. package/build/stats-html.html +4034 -0
  25. package/build/stats-react.json +9681 -0
  26. package/build/types/index.d.ts +76 -0
  27. package/build/umd/index.development.js +2043 -0
  28. package/build/umd/index.development.js.map +1 -0
  29. package/build/umd/index.production.js +12 -0
  30. package/build/umd/index.production.js.map +1 -0
  31. package/package.json +49 -0
  32. package/src/Explorer.tsx +288 -0
  33. package/src/Logo.tsx +37 -0
  34. package/src/devtools.tsx +960 -0
  35. package/src/index.tsx +1 -0
  36. package/src/styledComponents.ts +106 -0
  37. package/src/theme.tsx +31 -0
  38. package/src/useLocalStorage.ts +52 -0
  39. package/src/useMediaQuery.ts +36 -0
  40. package/src/utils.ts +151 -0
@@ -0,0 +1,4034 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <meta http-equiv="X-UA-Compatible" content="ie=edge" />
8
+ <title>RollUp Visualizer</title>
9
+ <style>
10
+ :root {
11
+ --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
12
+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
13
+ --background-color: #2b2d42;
14
+ --text-color: #edf2f4;
15
+ }
16
+
17
+ html {
18
+ box-sizing: border-box;
19
+ }
20
+
21
+ *,
22
+ *:before,
23
+ *:after {
24
+ box-sizing: inherit;
25
+ }
26
+
27
+ html {
28
+ background-color: var(--background-color);
29
+ color: var(--text-color);
30
+ font-family: var(--font-family);
31
+ }
32
+
33
+ body {
34
+ padding: 0;
35
+ margin: 0;
36
+ }
37
+
38
+ html,
39
+ body {
40
+ height: 100%;
41
+ width: 100%;
42
+ overflow: hidden;
43
+ }
44
+
45
+ body {
46
+ display: flex;
47
+ flex-direction: column;
48
+ }
49
+
50
+ svg {
51
+ vertical-align: middle;
52
+ width: 100%;
53
+ height: 100%;
54
+ max-height: 100vh;
55
+ }
56
+
57
+ main {
58
+ flex-grow: 1;
59
+ height: 100vh;
60
+ padding: 20px;
61
+ }
62
+
63
+ .tooltip {
64
+ position: absolute;
65
+ z-index: 1070;
66
+ border: 2px solid;
67
+ border-radius: 5px;
68
+ padding: 5px;
69
+ white-space: nowrap;
70
+ font-size: 0.875rem;
71
+ background-color: var(--background-color);
72
+ color: var(--text-color);
73
+ }
74
+
75
+ .tooltip-hidden {
76
+ visibility: hidden;
77
+ opacity: 0;
78
+ }
79
+
80
+ .sidebar {
81
+ position: fixed;
82
+ top: 0;
83
+ left: 0;
84
+ right: 0;
85
+ display: flex;
86
+ flex-direction: row;
87
+ font-size: 0.7rem;
88
+ align-items: center;
89
+ margin: 0 50px;
90
+ height: 20px;
91
+ }
92
+
93
+ .size-selectors {
94
+ display: flex;
95
+ flex-direction: row;
96
+ align-items: center;
97
+ }
98
+
99
+ .size-selector {
100
+ display: flex;
101
+ flex-direction: row;
102
+ align-items: center;
103
+ justify-content: center;
104
+ margin-right: 1rem;
105
+ }
106
+ .size-selector input {
107
+ margin: 0 0.3rem 0 0;
108
+ }
109
+
110
+ .filters {
111
+ flex: 1;
112
+ display: flex;
113
+ flex-direction: row;
114
+ align-items: center;
115
+ }
116
+
117
+ .module-filters {
118
+ display: flex;
119
+ }
120
+
121
+ .module-filter {
122
+ display: flex;
123
+ flex-direction: row;
124
+ align-items: center;
125
+ justify-content: center;
126
+ flex: 1;
127
+ }
128
+ .module-filter input {
129
+ flex: 1;
130
+ height: 1rem;
131
+ padding: 0.01rem;
132
+ font-size: 0.7rem;
133
+ margin-left: 0.3rem;
134
+ }
135
+ .module-filter + .module-filter {
136
+ margin-left: 0.5rem;
137
+ }
138
+ </style>
139
+ </head>
140
+ <body>
141
+ <main></main>
142
+ <script>
143
+ /*<!--*/
144
+ var drawChart = (function (exports) {
145
+ 'use strict';
146
+
147
+ var n,l$1,u$1,t$1,o$2,r$1,f$1={},e$2=[],c$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s$1(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function h$1(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$1(l,f,t,o,null)}function v$1(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$1:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function p$1(n){return n.children}function d$1(n,l){this.props=n,this.context=l;}function _$1(n,l){if(null==l)return n.__?_$1(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?_$1(n):null}function k$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return k$1(n)}}function b$1(n){(!n.__d&&(n.__d=!0)&&t$1.push(n)&&!g$1.__r++||o$2!==l$1.debounceRendering)&&((o$2=l$1.debounceRendering)||setTimeout)(g$1);}function g$1(){for(var n;g$1.__r=t$1.length;)n=t$1.sort(function(n,l){return n.__v.__b-l.__v.__b}),t$1=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=s$1({},t)).__v=t.__v+1,j$1(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_$1(t):o,t.__h),z$1(u,t),t.__e!=o&&k$1(t)));});}function w$1(n,l,u,i,t,o,r,c,s,a){var h,y,d,k,b,g,w,x=i&&i.__k||e$2,C=x.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(k=u.__k[h]=null==(k=l[h])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$1(null,k,null,null,k):Array.isArray(k)?v$1(p$1,{children:k},null,null,null):k.__b>0?v$1(k.type,k.props,k.key,null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(d=x[h])||d&&k.key==d.key&&k.type===d.type)x[h]=void 0;else for(y=0;y<C;y++){if((d=x[y])&&k.key==d.key&&k.type===d.type){x[y]=void 0;break}d=null;}j$1(n,k,d=d||f$1,t,o,r,c,s,a),b=k.__e,(y=k.ref)&&d.ref!=y&&(w||(w=[]),d.ref&&w.push(d.ref,null,k),w.push(y,k.__c||b,k)),null!=b?(null==g&&(g=b),"function"==typeof k.type&&k.__k===d.__k?k.__d=s=m$1(k,s,n):s=A$1(n,k,d,x,b,s),"function"==typeof u.type&&(u.__d=s)):s&&d.__e==s&&s.parentNode!=n&&(s=_$1(d));}for(u.__e=g,h=C;h--;)null!=x[h]&&("function"==typeof u.type&&null!=x[h].__e&&x[h].__e==u.__d&&(u.__d=_$1(i,h+1)),N(x[h],x[h]));if(w)for(h=0;h<w.length;h++)M(w[h],w[++h],w[++h]);}function m$1(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?m$1(i,l,u):A$1(u,i,i,t,i.__e,l));return l}function A$1(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=2)if(f==t)break n;n.insertBefore(t,o),r=o;}return void 0!==r?r:t.nextSibling}function C$1(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H(n,o,l[o],u[o],i);}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$1.test(l)?u:u+"px";}function H(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T:I,o):n.removeEventListener(l,o?T:I,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function I(n){this.l[n.type+!1](l$1.event?l$1.event(n):n);}function T(n){this.l[n.type+!0](l$1.event?l$1.event(n):n);}function j$1(n,u,i,t,o,r,f,e,c){var a,h,v,y,_,k,b,g,m,x,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=l$1.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,m=(a=H.contextType)&&t[a.__c],x=a?m?m.props.value:a.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in H&&H.prototype.render?u.__c=h=new H(g,x):(u.__c=h=new d$1(g,x),h.constructor=H,h.render=O),m&&m.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=H.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s$1({},h.__s)),s$1(h.__s,H.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state,v)null==H.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==H.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||u.__v===i.__v){h.props=g,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,k);});}if(h.context=x,h.props=g,h.__v=u,h.__P=n,A=l$1.__r,C=0,"prototype"in H&&H.prototype.render)h.state=h.__s,h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++C<25);h.state=h.__s,null!=h.getChildContext&&(t=s$1(s$1({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,_)),$=null!=a&&a.type===p$1&&null==a.key?a.props.children:a,w$1(n,Array.isArray($)?$:[$],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L(i.__e,u,i,t,o,r,f,c);(a=l$1.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$1.__e(n,u,i);}}function z$1(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function L(l,u,i,t,o,r,e,c){var s,h,v,y=i.props,p=u.props,d=u.type,k=0;if("svg"===d&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1;}if(null===d)y===p||c&&l.data===p||(l.data=p);else {if(r=r&&n.call(l.childNodes),h=(y=i.props||f$1).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},k=0;k<l.attributes.length;k++)y[l.attributes[k].name]=l.attributes[k].value;(v||h)&&(v&&(h&&v.__html==h.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(C$1(l,p,y,o,c),v)u.__k=[];else if(k=u.props.children,w$1(l,Array.isArray(k)?k:[k],u,i,t,o&&"foreignObject"!==d,r,e,r?r[0]:i.__k&&_$1(i,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$1(r[k]);c||("value"in p&&void 0!==(k=p.value)&&(k!==l.value||"progress"===d&&!k||"option"===d&&k!==y.value)&&H(l,"value",k,y.value,!1),"checked"in p&&void 0!==(k=p.checked)&&k!==l.checked&&H(l,"checked",k,y.checked,!1));}return l}function M(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function N(n,u,i){var t,o;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,"function"!=typeof n.type);i||null==n.__e||a$1(n.__e),n.__e=n.__d=void 0;}function O(n,l,u){return this.constructor(n,u)}function P(u,i,t){var o,r,e;l$1.__&&l$1.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,e=[],j$1(i,u=(!o&&t||i).__k=h$1(p$1,null,[u]),r||f$1,f$1,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,e,!o&&t?t:r?r.__e:i.firstChild,o),z$1(e,u);}function B$1(n,l){var u={__c:l="__cC"+r$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(b$1);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=e$2.slice,l$1={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,d$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s$1({},this.state),"function"==typeof n&&(n=n(s$1({},u),this.props)),n&&s$1(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),b$1(this));},d$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),b$1(this));},d$1.prototype.render=p$1,t$1=[],g$1.__r=0,r$1=0;
148
+
149
+ var o$1=0;function e$1(_,e,n,t,f){var l,s,u={};for(s in e)"ref"==s?l=e[s]:u[s]=e[s];var a={type:_,props:u,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--o$1,__source:f,__self:t};if("function"==typeof _&&(l=_.defaultProps))for(s in l)void 0===u[s]&&(u[s]=l[s]);return l$1.vnode&&l$1.vnode(a),a}
150
+
151
+ function count$1(node) {
152
+ var sum = 0,
153
+ children = node.children,
154
+ i = children && children.length;
155
+ if (!i) sum = 1;
156
+ else while (--i >= 0) sum += children[i].value;
157
+ node.value = sum;
158
+ }
159
+
160
+ function node_count() {
161
+ return this.eachAfter(count$1);
162
+ }
163
+
164
+ function node_each(callback, that) {
165
+ let index = -1;
166
+ for (const node of this) {
167
+ callback.call(that, node, ++index, this);
168
+ }
169
+ return this;
170
+ }
171
+
172
+ function node_eachBefore(callback, that) {
173
+ var node = this, nodes = [node], children, i, index = -1;
174
+ while (node = nodes.pop()) {
175
+ callback.call(that, node, ++index, this);
176
+ if (children = node.children) {
177
+ for (i = children.length - 1; i >= 0; --i) {
178
+ nodes.push(children[i]);
179
+ }
180
+ }
181
+ }
182
+ return this;
183
+ }
184
+
185
+ function node_eachAfter(callback, that) {
186
+ var node = this, nodes = [node], next = [], children, i, n, index = -1;
187
+ while (node = nodes.pop()) {
188
+ next.push(node);
189
+ if (children = node.children) {
190
+ for (i = 0, n = children.length; i < n; ++i) {
191
+ nodes.push(children[i]);
192
+ }
193
+ }
194
+ }
195
+ while (node = next.pop()) {
196
+ callback.call(that, node, ++index, this);
197
+ }
198
+ return this;
199
+ }
200
+
201
+ function node_find(callback, that) {
202
+ let index = -1;
203
+ for (const node of this) {
204
+ if (callback.call(that, node, ++index, this)) {
205
+ return node;
206
+ }
207
+ }
208
+ }
209
+
210
+ function node_sum(value) {
211
+ return this.eachAfter(function(node) {
212
+ var sum = +value(node.data) || 0,
213
+ children = node.children,
214
+ i = children && children.length;
215
+ while (--i >= 0) sum += children[i].value;
216
+ node.value = sum;
217
+ });
218
+ }
219
+
220
+ function node_sort(compare) {
221
+ return this.eachBefore(function(node) {
222
+ if (node.children) {
223
+ node.children.sort(compare);
224
+ }
225
+ });
226
+ }
227
+
228
+ function node_path(end) {
229
+ var start = this,
230
+ ancestor = leastCommonAncestor(start, end),
231
+ nodes = [start];
232
+ while (start !== ancestor) {
233
+ start = start.parent;
234
+ nodes.push(start);
235
+ }
236
+ var k = nodes.length;
237
+ while (end !== ancestor) {
238
+ nodes.splice(k, 0, end);
239
+ end = end.parent;
240
+ }
241
+ return nodes;
242
+ }
243
+
244
+ function leastCommonAncestor(a, b) {
245
+ if (a === b) return a;
246
+ var aNodes = a.ancestors(),
247
+ bNodes = b.ancestors(),
248
+ c = null;
249
+ a = aNodes.pop();
250
+ b = bNodes.pop();
251
+ while (a === b) {
252
+ c = a;
253
+ a = aNodes.pop();
254
+ b = bNodes.pop();
255
+ }
256
+ return c;
257
+ }
258
+
259
+ function node_ancestors() {
260
+ var node = this, nodes = [node];
261
+ while (node = node.parent) {
262
+ nodes.push(node);
263
+ }
264
+ return nodes;
265
+ }
266
+
267
+ function node_descendants() {
268
+ return Array.from(this);
269
+ }
270
+
271
+ function node_leaves() {
272
+ var leaves = [];
273
+ this.eachBefore(function(node) {
274
+ if (!node.children) {
275
+ leaves.push(node);
276
+ }
277
+ });
278
+ return leaves;
279
+ }
280
+
281
+ function node_links() {
282
+ var root = this, links = [];
283
+ root.each(function(node) {
284
+ if (node !== root) { // Don’t include the root’s parent, if any.
285
+ links.push({source: node.parent, target: node});
286
+ }
287
+ });
288
+ return links;
289
+ }
290
+
291
+ function* node_iterator() {
292
+ var node = this, current, next = [node], children, i, n;
293
+ do {
294
+ current = next.reverse(), next = [];
295
+ while (node = current.pop()) {
296
+ yield node;
297
+ if (children = node.children) {
298
+ for (i = 0, n = children.length; i < n; ++i) {
299
+ next.push(children[i]);
300
+ }
301
+ }
302
+ }
303
+ } while (next.length);
304
+ }
305
+
306
+ function hierarchy(data, children) {
307
+ if (data instanceof Map) {
308
+ data = [undefined, data];
309
+ if (children === undefined) children = mapChildren;
310
+ } else if (children === undefined) {
311
+ children = objectChildren;
312
+ }
313
+
314
+ var root = new Node$1(data),
315
+ node,
316
+ nodes = [root],
317
+ child,
318
+ childs,
319
+ i,
320
+ n;
321
+
322
+ while (node = nodes.pop()) {
323
+ if ((childs = children(node.data)) && (n = (childs = Array.from(childs)).length)) {
324
+ node.children = childs;
325
+ for (i = n - 1; i >= 0; --i) {
326
+ nodes.push(child = childs[i] = new Node$1(childs[i]));
327
+ child.parent = node;
328
+ child.depth = node.depth + 1;
329
+ }
330
+ }
331
+ }
332
+
333
+ return root.eachBefore(computeHeight);
334
+ }
335
+
336
+ function node_copy() {
337
+ return hierarchy(this).eachBefore(copyData);
338
+ }
339
+
340
+ function objectChildren(d) {
341
+ return d.children;
342
+ }
343
+
344
+ function mapChildren(d) {
345
+ return Array.isArray(d) ? d[1] : null;
346
+ }
347
+
348
+ function copyData(node) {
349
+ if (node.data.value !== undefined) node.value = node.data.value;
350
+ node.data = node.data.data;
351
+ }
352
+
353
+ function computeHeight(node) {
354
+ var height = 0;
355
+ do node.height = height;
356
+ while ((node = node.parent) && (node.height < ++height));
357
+ }
358
+
359
+ function Node$1(data) {
360
+ this.data = data;
361
+ this.depth =
362
+ this.height = 0;
363
+ this.parent = null;
364
+ }
365
+
366
+ Node$1.prototype = hierarchy.prototype = {
367
+ constructor: Node$1,
368
+ count: node_count,
369
+ each: node_each,
370
+ eachAfter: node_eachAfter,
371
+ eachBefore: node_eachBefore,
372
+ find: node_find,
373
+ sum: node_sum,
374
+ sort: node_sort,
375
+ path: node_path,
376
+ ancestors: node_ancestors,
377
+ descendants: node_descendants,
378
+ leaves: node_leaves,
379
+ links: node_links,
380
+ copy: node_copy,
381
+ [Symbol.iterator]: node_iterator
382
+ };
383
+
384
+ function required(f) {
385
+ if (typeof f !== "function") throw new Error;
386
+ return f;
387
+ }
388
+
389
+ function constantZero() {
390
+ return 0;
391
+ }
392
+
393
+ function constant$1(x) {
394
+ return function() {
395
+ return x;
396
+ };
397
+ }
398
+
399
+ function roundNode(node) {
400
+ node.x0 = Math.round(node.x0);
401
+ node.y0 = Math.round(node.y0);
402
+ node.x1 = Math.round(node.x1);
403
+ node.y1 = Math.round(node.y1);
404
+ }
405
+
406
+ function treemapDice(parent, x0, y0, x1, y1) {
407
+ var nodes = parent.children,
408
+ node,
409
+ i = -1,
410
+ n = nodes.length,
411
+ k = parent.value && (x1 - x0) / parent.value;
412
+
413
+ while (++i < n) {
414
+ node = nodes[i], node.y0 = y0, node.y1 = y1;
415
+ node.x0 = x0, node.x1 = x0 += node.value * k;
416
+ }
417
+ }
418
+
419
+ Object.create(Node$1.prototype);
420
+
421
+ function treemapSlice(parent, x0, y0, x1, y1) {
422
+ var nodes = parent.children,
423
+ node,
424
+ i = -1,
425
+ n = nodes.length,
426
+ k = parent.value && (y1 - y0) / parent.value;
427
+
428
+ while (++i < n) {
429
+ node = nodes[i], node.x0 = x0, node.x1 = x1;
430
+ node.y0 = y0, node.y1 = y0 += node.value * k;
431
+ }
432
+ }
433
+
434
+ var phi = (1 + Math.sqrt(5)) / 2;
435
+
436
+ function squarifyRatio(ratio, parent, x0, y0, x1, y1) {
437
+ var rows = [],
438
+ nodes = parent.children,
439
+ row,
440
+ nodeValue,
441
+ i0 = 0,
442
+ i1 = 0,
443
+ n = nodes.length,
444
+ dx, dy,
445
+ value = parent.value,
446
+ sumValue,
447
+ minValue,
448
+ maxValue,
449
+ newRatio,
450
+ minRatio,
451
+ alpha,
452
+ beta;
453
+
454
+ while (i0 < n) {
455
+ dx = x1 - x0, dy = y1 - y0;
456
+
457
+ // Find the next non-empty node.
458
+ do sumValue = nodes[i1++].value; while (!sumValue && i1 < n);
459
+ minValue = maxValue = sumValue;
460
+ alpha = Math.max(dy / dx, dx / dy) / (value * ratio);
461
+ beta = sumValue * sumValue * alpha;
462
+ minRatio = Math.max(maxValue / beta, beta / minValue);
463
+
464
+ // Keep adding nodes while the aspect ratio maintains or improves.
465
+ for (; i1 < n; ++i1) {
466
+ sumValue += nodeValue = nodes[i1].value;
467
+ if (nodeValue < minValue) minValue = nodeValue;
468
+ if (nodeValue > maxValue) maxValue = nodeValue;
469
+ beta = sumValue * sumValue * alpha;
470
+ newRatio = Math.max(maxValue / beta, beta / minValue);
471
+ if (newRatio > minRatio) { sumValue -= nodeValue; break; }
472
+ minRatio = newRatio;
473
+ }
474
+
475
+ // Position and record the row orientation.
476
+ rows.push(row = {value: sumValue, dice: dx < dy, children: nodes.slice(i0, i1)});
477
+ if (row.dice) treemapDice(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1);
478
+ else treemapSlice(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1);
479
+ value -= sumValue, i0 = i1;
480
+ }
481
+
482
+ return rows;
483
+ }
484
+
485
+ var squarify = (function custom(ratio) {
486
+
487
+ function squarify(parent, x0, y0, x1, y1) {
488
+ squarifyRatio(ratio, parent, x0, y0, x1, y1);
489
+ }
490
+
491
+ squarify.ratio = function(x) {
492
+ return custom((x = +x) > 1 ? x : 1);
493
+ };
494
+
495
+ return squarify;
496
+ })(phi);
497
+
498
+ function treemap() {
499
+ var tile = squarify,
500
+ round = false,
501
+ dx = 1,
502
+ dy = 1,
503
+ paddingStack = [0],
504
+ paddingInner = constantZero,
505
+ paddingTop = constantZero,
506
+ paddingRight = constantZero,
507
+ paddingBottom = constantZero,
508
+ paddingLeft = constantZero;
509
+
510
+ function treemap(root) {
511
+ root.x0 =
512
+ root.y0 = 0;
513
+ root.x1 = dx;
514
+ root.y1 = dy;
515
+ root.eachBefore(positionNode);
516
+ paddingStack = [0];
517
+ if (round) root.eachBefore(roundNode);
518
+ return root;
519
+ }
520
+
521
+ function positionNode(node) {
522
+ var p = paddingStack[node.depth],
523
+ x0 = node.x0 + p,
524
+ y0 = node.y0 + p,
525
+ x1 = node.x1 - p,
526
+ y1 = node.y1 - p;
527
+ if (x1 < x0) x0 = x1 = (x0 + x1) / 2;
528
+ if (y1 < y0) y0 = y1 = (y0 + y1) / 2;
529
+ node.x0 = x0;
530
+ node.y0 = y0;
531
+ node.x1 = x1;
532
+ node.y1 = y1;
533
+ if (node.children) {
534
+ p = paddingStack[node.depth + 1] = paddingInner(node) / 2;
535
+ x0 += paddingLeft(node) - p;
536
+ y0 += paddingTop(node) - p;
537
+ x1 -= paddingRight(node) - p;
538
+ y1 -= paddingBottom(node) - p;
539
+ if (x1 < x0) x0 = x1 = (x0 + x1) / 2;
540
+ if (y1 < y0) y0 = y1 = (y0 + y1) / 2;
541
+ tile(node, x0, y0, x1, y1);
542
+ }
543
+ }
544
+
545
+ treemap.round = function(x) {
546
+ return arguments.length ? (round = !!x, treemap) : round;
547
+ };
548
+
549
+ treemap.size = function(x) {
550
+ return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy];
551
+ };
552
+
553
+ treemap.tile = function(x) {
554
+ return arguments.length ? (tile = required(x), treemap) : tile;
555
+ };
556
+
557
+ treemap.padding = function(x) {
558
+ return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner();
559
+ };
560
+
561
+ treemap.paddingInner = function(x) {
562
+ return arguments.length ? (paddingInner = typeof x === "function" ? x : constant$1(+x), treemap) : paddingInner;
563
+ };
564
+
565
+ treemap.paddingOuter = function(x) {
566
+ return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop();
567
+ };
568
+
569
+ treemap.paddingTop = function(x) {
570
+ return arguments.length ? (paddingTop = typeof x === "function" ? x : constant$1(+x), treemap) : paddingTop;
571
+ };
572
+
573
+ treemap.paddingRight = function(x) {
574
+ return arguments.length ? (paddingRight = typeof x === "function" ? x : constant$1(+x), treemap) : paddingRight;
575
+ };
576
+
577
+ treemap.paddingBottom = function(x) {
578
+ return arguments.length ? (paddingBottom = typeof x === "function" ? x : constant$1(+x), treemap) : paddingBottom;
579
+ };
580
+
581
+ treemap.paddingLeft = function(x) {
582
+ return arguments.length ? (paddingLeft = typeof x === "function" ? x : constant$1(+x), treemap) : paddingLeft;
583
+ };
584
+
585
+ return treemap;
586
+ }
587
+
588
+ var treemapResquarify = (function custom(ratio) {
589
+
590
+ function resquarify(parent, x0, y0, x1, y1) {
591
+ if ((rows = parent._squarify) && (rows.ratio === ratio)) {
592
+ var rows,
593
+ row,
594
+ nodes,
595
+ i,
596
+ j = -1,
597
+ n,
598
+ m = rows.length,
599
+ value = parent.value;
600
+
601
+ while (++j < m) {
602
+ row = rows[j], nodes = row.children;
603
+ for (i = row.value = 0, n = nodes.length; i < n; ++i) row.value += nodes[i].value;
604
+ if (row.dice) treemapDice(row, x0, y0, x1, value ? y0 += (y1 - y0) * row.value / value : y1);
605
+ else treemapSlice(row, x0, y0, value ? x0 += (x1 - x0) * row.value / value : x1, y1);
606
+ value -= row.value;
607
+ }
608
+ } else {
609
+ parent._squarify = rows = squarifyRatio(ratio, parent, x0, y0, x1, y1);
610
+ rows.ratio = ratio;
611
+ }
612
+ }
613
+
614
+ resquarify.ratio = function(x) {
615
+ return custom((x = +x) > 1 ? x : 1);
616
+ };
617
+
618
+ return resquarify;
619
+ })(phi);
620
+
621
+ const isModuleTree = (mod) => "children" in mod;
622
+
623
+ let count = 0;
624
+ class Id {
625
+ constructor(id) {
626
+ this._id = id;
627
+ const url = new URL(window.location.href);
628
+ url.hash = id;
629
+ this._href = url.toString();
630
+ }
631
+ get id() {
632
+ return this._id;
633
+ }
634
+ get href() {
635
+ return this._href;
636
+ }
637
+ toString() {
638
+ return `url(${this.href})`;
639
+ }
640
+ }
641
+ function generateUniqueId(name) {
642
+ count += 1;
643
+ const id = ["O", name, count].filter(Boolean).join("-");
644
+ return new Id(id);
645
+ }
646
+
647
+ const LABELS = {
648
+ renderedLength: "Rendered",
649
+ gzipLength: "Gzip",
650
+ brotliLength: "Brotli",
651
+ };
652
+ const getAvailableSizeOptions = (options) => {
653
+ const availableSizeProperties = ["renderedLength"];
654
+ if (options.gzip) {
655
+ availableSizeProperties.push("gzipLength");
656
+ }
657
+ if (options.brotli) {
658
+ availableSizeProperties.push("brotliLength");
659
+ }
660
+ return availableSizeProperties;
661
+ };
662
+
663
+ var t,u,r,o,i=0,c=[],f=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function p(t,r){l$1.__h&&l$1.__h(u,t,i||r),i=0;var o=u.__H||(u.__H={__:[],__h:[]});return t>=o.__.length&&o.__.push({__V:f}),o.__[t]}function y(n){return i=1,d(z,n)}function d(n,r,o){var i=p(t++,2);return i.t=n,i.__c||(i.__=[o?o(r):z(void 0,r),function(n){var t=i.t(i.__[0],n);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}));}],i.__c=u),i.__}function _(r,o){var i=p(t++,3);!l$1.__s&&w(i.__H,o)&&(i.__=r,i.u=o,u.__H.__h.push(i));}function h(r,o){var i=p(t++,4);!l$1.__s&&w(i.__H,o)&&(i.__=r,i.u=o,u.__h.push(i));}function s(n){return i=5,F(function(){return {current:n}},[])}function F(n,u){var r=p(t++,7);return w(r.__H,u)?(r.__V=n(),r.u=u,r.__h=n,r.__V):r.__}function q(n){var r=u.context[n.__c],o=p(t++,9);return o.c=n,r?(null==o.__&&(o.__=!0,r.sub(u)),r.props.value):n.__}function b(){for(var t;t=c.shift();)if(t.__P)try{t.__H.__h.forEach(j),t.__H.__h.forEach(k),t.__H.__h=[];}catch(u){t.__H.__h=[],l$1.__e(u,t.__v);}}l$1.__b=function(n){u=null,e&&e(n);},l$1.__r=function(n){a&&a(n),t=0;var o=(u=n.__c).__H;o&&(r===u?(o.__h=[],u.__h=[],o.__.forEach(function(n){n.__V=f,n.u=void 0;})):(o.__h.forEach(j),o.__h.forEach(k),o.__h=[])),r=u;},l$1.diffed=function(t){v&&v(t);var i=t.__c;i&&i.__H&&(i.__H.__h.length&&(1!==c.push(i)&&o===l$1.requestAnimationFrame||((o=l$1.requestAnimationFrame)||function(n){var t,u=function(){clearTimeout(r),g&&cancelAnimationFrame(t),setTimeout(n);},r=setTimeout(u,100);g&&(t=requestAnimationFrame(u));})(b)),i.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.__V!==f&&(n.__=n.__V),n.u=void 0,n.__V=f;})),r=u=null;},l$1.__c=function(t,u){u.some(function(t){try{t.__h.forEach(j),t.__h=t.__h.filter(function(n){return !n.__||k(n)});}catch(r){u.some(function(n){n.__h&&(n.__h=[]);}),u=[],l$1.__e(r,t.__v);}}),l&&l(t,u);},l$1.unmount=function(t){m&&m(t);var u,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{j(n);}catch(n){u=n;}}),u&&l$1.__e(u,r.__v));};var g="function"==typeof requestAnimationFrame;function j(n){var t=u,r=n.__c;"function"==typeof r&&(n.__c=void 0,r()),u=t;}function k(n){var t=u;n.__c=n.__(),u=t;}function w(n,t){return !n||n.length!==t.length||t.some(function(t,u){return t!==n[u]})}function z(n,t){return "function"==typeof t?t(n):t}
664
+
665
+ const SideBar = ({ availableSizeProperties, sizeProperty, setSizeProperty, onExcludeChange, onIncludeChange, }) => {
666
+ const [includeValue, setIncludeValue] = y("");
667
+ const [excludeValue, setExcludeValue] = y("");
668
+ const handleSizePropertyChange = (sizeProp) => () => {
669
+ if (sizeProp !== sizeProperty) {
670
+ setSizeProperty(sizeProp);
671
+ }
672
+ };
673
+ const handleIncludeChange = (event) => {
674
+ const value = event.currentTarget.value;
675
+ setIncludeValue(value);
676
+ onIncludeChange(value);
677
+ };
678
+ const handleExcludeChange = (event) => {
679
+ const value = event.currentTarget.value;
680
+ setExcludeValue(value);
681
+ onExcludeChange(value);
682
+ };
683
+ return (e$1("aside", Object.assign({ className: "sidebar" }, { children: [e$1("div", Object.assign({ className: "size-selectors" }, { children: availableSizeProperties.length > 1 &&
684
+ availableSizeProperties.map((sizeProp) => {
685
+ const id = `selector-${sizeProp}`;
686
+ return (e$1("div", Object.assign({ className: "size-selector" }, { children: [e$1("input", { type: "radio", id: id, checked: sizeProp === sizeProperty, onChange: handleSizePropertyChange(sizeProp) }), e$1("label", Object.assign({ htmlFor: id }, { children: LABELS[sizeProp] }))] }), sizeProp));
687
+ }) })), e$1("div", Object.assign({ className: "module-filters" }, { children: [e$1("div", Object.assign({ className: "module-filter" }, { children: [e$1("label", Object.assign({ htmlFor: "module-filter-exclude" }, { children: "Exclude" })), e$1("input", { type: "text", id: "module-filter-exclude", value: excludeValue, onInput: handleExcludeChange, placeholder: "RegExp" })] })), e$1("div", Object.assign({ className: "module-filter" }, { children: [e$1("label", Object.assign({ htmlFor: "module-filter-include" }, { children: "Include" })), e$1("input", { type: "text", id: "module-filter-include", value: includeValue, onInput: handleIncludeChange, placeholder: "RegExp" })] }))] }))] })));
688
+ };
689
+
690
+ const throttleFilter = (callback, limit) => {
691
+ let waiting = false;
692
+ return (val) => {
693
+ if (!waiting) {
694
+ callback(val);
695
+ waiting = true;
696
+ setTimeout(() => {
697
+ waiting = false;
698
+ }, limit);
699
+ }
700
+ };
701
+ };
702
+ const useFilter = () => {
703
+ const [includeFilter, setIncludeFilter] = y("");
704
+ const [excludeFilter, setExcludeFilter] = y("");
705
+ const setIncludeFilterTrottled = F(() => throttleFilter(setIncludeFilter, 200), []);
706
+ const setExcludeFilterTrottled = F(() => throttleFilter(setExcludeFilter, 200), []);
707
+ const isModuleIncluded = F(() => {
708
+ if (includeFilter === "") {
709
+ return () => true;
710
+ }
711
+ try {
712
+ const re = new RegExp(includeFilter);
713
+ return ({ id }) => re.test(id);
714
+ }
715
+ catch (err) {
716
+ return () => false;
717
+ }
718
+ }, [includeFilter]);
719
+ const isModuleExcluded = F(() => {
720
+ if (excludeFilter === "") {
721
+ return () => false;
722
+ }
723
+ try {
724
+ const re = new RegExp(excludeFilter);
725
+ return ({ id }) => re.test(id);
726
+ }
727
+ catch (err) {
728
+ return () => false;
729
+ }
730
+ }, [excludeFilter]);
731
+ const isDefaultInclude = includeFilter === "";
732
+ const getModuleFilterMultiplier = F(() => {
733
+ return (data) => {
734
+ if (isDefaultInclude) {
735
+ return isModuleExcluded(data) ? 0 : 1;
736
+ }
737
+ return isModuleExcluded(data) && !isModuleIncluded(data) ? 0 : 1;
738
+ };
739
+ }, [isDefaultInclude, isModuleExcluded, isModuleIncluded]);
740
+ return {
741
+ getModuleFilterMultiplier,
742
+ includeFilter,
743
+ excludeFilter,
744
+ setExcludeFilter: setExcludeFilterTrottled,
745
+ setIncludeFilter: setIncludeFilterTrottled,
746
+ };
747
+ };
748
+
749
+ function ascending(a, b) {
750
+ return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
751
+ }
752
+
753
+ function descending(a, b) {
754
+ return a == null || b == null ? NaN
755
+ : b < a ? -1
756
+ : b > a ? 1
757
+ : b >= a ? 0
758
+ : NaN;
759
+ }
760
+
761
+ function bisector(f) {
762
+ let compare1, compare2, delta;
763
+
764
+ // If an accessor is specified, promote it to a comparator. In this case we
765
+ // can test whether the search value is (self-) comparable. We can’t do this
766
+ // for a comparator (except for specific, known comparators) because we can’t
767
+ // tell if the comparator is symmetric, and an asymmetric comparator can’t be
768
+ // used to test whether a single value is comparable.
769
+ if (f.length !== 2) {
770
+ compare1 = ascending;
771
+ compare2 = (d, x) => ascending(f(d), x);
772
+ delta = (d, x) => f(d) - x;
773
+ } else {
774
+ compare1 = f === ascending || f === descending ? f : zero$1;
775
+ compare2 = f;
776
+ delta = f;
777
+ }
778
+
779
+ function left(a, x, lo = 0, hi = a.length) {
780
+ if (lo < hi) {
781
+ if (compare1(x, x) !== 0) return hi;
782
+ do {
783
+ const mid = (lo + hi) >>> 1;
784
+ if (compare2(a[mid], x) < 0) lo = mid + 1;
785
+ else hi = mid;
786
+ } while (lo < hi);
787
+ }
788
+ return lo;
789
+ }
790
+
791
+ function right(a, x, lo = 0, hi = a.length) {
792
+ if (lo < hi) {
793
+ if (compare1(x, x) !== 0) return hi;
794
+ do {
795
+ const mid = (lo + hi) >>> 1;
796
+ if (compare2(a[mid], x) <= 0) lo = mid + 1;
797
+ else hi = mid;
798
+ } while (lo < hi);
799
+ }
800
+ return lo;
801
+ }
802
+
803
+ function center(a, x, lo = 0, hi = a.length) {
804
+ const i = left(a, x, lo, hi - 1);
805
+ return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
806
+ }
807
+
808
+ return {left, center, right};
809
+ }
810
+
811
+ function zero$1() {
812
+ return 0;
813
+ }
814
+
815
+ function number$1(x) {
816
+ return x === null ? NaN : +x;
817
+ }
818
+
819
+ const ascendingBisect = bisector(ascending);
820
+ const bisectRight = ascendingBisect.right;
821
+ bisector(number$1).center;
822
+
823
+ class InternMap extends Map {
824
+ constructor(entries, key = keyof) {
825
+ super();
826
+ Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}});
827
+ if (entries != null) for (const [key, value] of entries) this.set(key, value);
828
+ }
829
+ get(key) {
830
+ return super.get(intern_get(this, key));
831
+ }
832
+ has(key) {
833
+ return super.has(intern_get(this, key));
834
+ }
835
+ set(key, value) {
836
+ return super.set(intern_set(this, key), value);
837
+ }
838
+ delete(key) {
839
+ return super.delete(intern_delete(this, key));
840
+ }
841
+ }
842
+
843
+ function intern_get({_intern, _key}, value) {
844
+ const key = _key(value);
845
+ return _intern.has(key) ? _intern.get(key) : value;
846
+ }
847
+
848
+ function intern_set({_intern, _key}, value) {
849
+ const key = _key(value);
850
+ if (_intern.has(key)) return _intern.get(key);
851
+ _intern.set(key, value);
852
+ return value;
853
+ }
854
+
855
+ function intern_delete({_intern, _key}, value) {
856
+ const key = _key(value);
857
+ if (_intern.has(key)) {
858
+ value = _intern.get(key);
859
+ _intern.delete(key);
860
+ }
861
+ return value;
862
+ }
863
+
864
+ function keyof(value) {
865
+ return value !== null && typeof value === "object" ? value.valueOf() : value;
866
+ }
867
+
868
+ function identity$2(x) {
869
+ return x;
870
+ }
871
+
872
+ function group(values, ...keys) {
873
+ return nest(values, identity$2, identity$2, keys);
874
+ }
875
+
876
+ function nest(values, map, reduce, keys) {
877
+ return (function regroup(values, i) {
878
+ if (i >= keys.length) return reduce(values);
879
+ const groups = new InternMap();
880
+ const keyof = keys[i++];
881
+ let index = -1;
882
+ for (const value of values) {
883
+ const key = keyof(value, ++index, values);
884
+ const group = groups.get(key);
885
+ if (group) group.push(value);
886
+ else groups.set(key, [value]);
887
+ }
888
+ for (const [key, values] of groups) {
889
+ groups.set(key, regroup(values, i));
890
+ }
891
+ return map(groups);
892
+ })(values, 0);
893
+ }
894
+
895
+ var e10 = Math.sqrt(50),
896
+ e5 = Math.sqrt(10),
897
+ e2 = Math.sqrt(2);
898
+
899
+ function ticks(start, stop, count) {
900
+ var reverse,
901
+ i = -1,
902
+ n,
903
+ ticks,
904
+ step;
905
+
906
+ stop = +stop, start = +start, count = +count;
907
+ if (start === stop && count > 0) return [start];
908
+ if (reverse = stop < start) n = start, start = stop, stop = n;
909
+ if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];
910
+
911
+ if (step > 0) {
912
+ let r0 = Math.round(start / step), r1 = Math.round(stop / step);
913
+ if (r0 * step < start) ++r0;
914
+ if (r1 * step > stop) --r1;
915
+ ticks = new Array(n = r1 - r0 + 1);
916
+ while (++i < n) ticks[i] = (r0 + i) * step;
917
+ } else {
918
+ step = -step;
919
+ let r0 = Math.round(start * step), r1 = Math.round(stop * step);
920
+ if (r0 / step < start) ++r0;
921
+ if (r1 / step > stop) --r1;
922
+ ticks = new Array(n = r1 - r0 + 1);
923
+ while (++i < n) ticks[i] = (r0 + i) / step;
924
+ }
925
+
926
+ if (reverse) ticks.reverse();
927
+
928
+ return ticks;
929
+ }
930
+
931
+ function tickIncrement(start, stop, count) {
932
+ var step = (stop - start) / Math.max(0, count),
933
+ power = Math.floor(Math.log(step) / Math.LN10),
934
+ error = step / Math.pow(10, power);
935
+ return power >= 0
936
+ ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)
937
+ : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);
938
+ }
939
+
940
+ function tickStep(start, stop, count) {
941
+ var step0 = Math.abs(stop - start) / Math.max(0, count),
942
+ step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),
943
+ error = step0 / step1;
944
+ if (error >= e10) step1 *= 10;
945
+ else if (error >= e5) step1 *= 5;
946
+ else if (error >= e2) step1 *= 2;
947
+ return stop < start ? -step1 : step1;
948
+ }
949
+
950
+ const TOP_PADDING = 20;
951
+ const PADDING = 2;
952
+
953
+ const Node = ({ node, onMouseOver, onClick, selected }) => {
954
+ const { getModuleColor } = q(StaticContext);
955
+ const { backgroundColor, fontColor } = getModuleColor(node);
956
+ const { x0, x1, y1, y0, data, children = null } = node;
957
+ const textRef = s(null);
958
+ const textRectRef = s();
959
+ const width = x1 - x0;
960
+ const height = y1 - y0;
961
+ const textProps = {
962
+ "font-size": "0.7em",
963
+ "dominant-baseline": "middle",
964
+ "text-anchor": "middle",
965
+ x: width / 2,
966
+ };
967
+ if (children != null) {
968
+ textProps.y = (TOP_PADDING + PADDING) / 2;
969
+ }
970
+ else {
971
+ textProps.y = height / 2;
972
+ }
973
+ h(() => {
974
+ if (width == 0 || height == 0 || !textRef.current) {
975
+ return;
976
+ }
977
+ if (textRectRef.current == null) {
978
+ textRectRef.current = textRef.current.getBoundingClientRect();
979
+ }
980
+ let scale = 1;
981
+ if (children != null) {
982
+ scale = Math.min((width * 0.9) / textRectRef.current.width, Math.min(height, TOP_PADDING + PADDING) / textRectRef.current.height);
983
+ scale = Math.min(1, scale);
984
+ textRef.current.setAttribute("y", String(Math.min(TOP_PADDING + PADDING, height) / 2 / scale));
985
+ textRef.current.setAttribute("x", String(width / 2 / scale));
986
+ }
987
+ else {
988
+ scale = Math.min((width * 0.9) / textRectRef.current.width, (height * 0.9) / textRectRef.current.height);
989
+ scale = Math.min(1, scale);
990
+ textRef.current.setAttribute("y", String(height / 2 / scale));
991
+ textRef.current.setAttribute("x", String(width / 2 / scale));
992
+ }
993
+ textRef.current.setAttribute("transform", `scale(${scale.toFixed(2)})`);
994
+ }, [children, height, width]);
995
+ if (width == 0 || height == 0) {
996
+ return null;
997
+ }
998
+ return (e$1("g", Object.assign({ className: "node", transform: `translate(${x0},${y0})`, onClick: (event) => {
999
+ event.stopPropagation();
1000
+ onClick(node);
1001
+ }, onMouseOver: (event) => {
1002
+ event.stopPropagation();
1003
+ onMouseOver(node);
1004
+ } }, { children: [e$1("rect", { fill: backgroundColor, rx: 2, ry: 2, width: x1 - x0, height: y1 - y0, stroke: selected ? "#fff" : undefined, "stroke-width": selected ? 2 : undefined }), e$1("text", Object.assign({ ref: textRef, fill: fontColor, onClick: (event) => {
1005
+ var _a;
1006
+ if (((_a = window.getSelection()) === null || _a === void 0 ? void 0 : _a.toString()) !== "") {
1007
+ event.stopPropagation();
1008
+ }
1009
+ } }, textProps, { children: data.name }))] })));
1010
+ };
1011
+
1012
+ const TreeMap = ({ root, onNodeHover, selectedNode, onNodeClick }) => {
1013
+ const { width, height, getModuleIds } = q(StaticContext);
1014
+ console.time("layering");
1015
+ // this will make groups by height
1016
+ const nestedData = F(() => {
1017
+ const nestedDataMap = group(root.descendants(), (d) => d.height);
1018
+ const nestedData = Array.from(nestedDataMap, ([key, values]) => ({
1019
+ key,
1020
+ values,
1021
+ }));
1022
+ nestedData.sort((a, b) => b.key - a.key);
1023
+ return nestedData;
1024
+ }, [root]);
1025
+ console.timeEnd("layering");
1026
+ return (e$1("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${width} ${height}` }, { children: nestedData.map(({ key, values }) => {
1027
+ return (e$1("g", Object.assign({ className: "layer" }, { children: values.map((node) => {
1028
+ return (e$1(Node, { node: node, onMouseOver: onNodeHover, selected: selectedNode === node, onClick: onNodeClick }, getModuleIds(node.data).nodeUid.id));
1029
+ }) }), key));
1030
+ }) })));
1031
+ };
1032
+
1033
+ var bytes$1 = {exports: {}};
1034
+
1035
+ /*!
1036
+ * bytes
1037
+ * Copyright(c) 2012-2014 TJ Holowaychuk
1038
+ * Copyright(c) 2015 Jed Watson
1039
+ * MIT Licensed
1040
+ */
1041
+
1042
+ /**
1043
+ * Module exports.
1044
+ * @public
1045
+ */
1046
+
1047
+ bytes$1.exports = bytes;
1048
+ var format_1 = bytes$1.exports.format = format$1;
1049
+ bytes$1.exports.parse = parse;
1050
+
1051
+ /**
1052
+ * Module variables.
1053
+ * @private
1054
+ */
1055
+
1056
+ var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g;
1057
+
1058
+ var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
1059
+
1060
+ var map$1 = {
1061
+ b: 1,
1062
+ kb: 1 << 10,
1063
+ mb: 1 << 20,
1064
+ gb: 1 << 30,
1065
+ tb: Math.pow(1024, 4),
1066
+ pb: Math.pow(1024, 5),
1067
+ };
1068
+
1069
+ var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
1070
+
1071
+ /**
1072
+ * Convert the given value in bytes into a string or parse to string to an integer in bytes.
1073
+ *
1074
+ * @param {string|number} value
1075
+ * @param {{
1076
+ * case: [string],
1077
+ * decimalPlaces: [number]
1078
+ * fixedDecimals: [boolean]
1079
+ * thousandsSeparator: [string]
1080
+ * unitSeparator: [string]
1081
+ * }} [options] bytes options.
1082
+ *
1083
+ * @returns {string|number|null}
1084
+ */
1085
+
1086
+ function bytes(value, options) {
1087
+ if (typeof value === 'string') {
1088
+ return parse(value);
1089
+ }
1090
+
1091
+ if (typeof value === 'number') {
1092
+ return format$1(value, options);
1093
+ }
1094
+
1095
+ return null;
1096
+ }
1097
+
1098
+ /**
1099
+ * Format the given value in bytes into a string.
1100
+ *
1101
+ * If the value is negative, it is kept as such. If it is a float,
1102
+ * it is rounded.
1103
+ *
1104
+ * @param {number} value
1105
+ * @param {object} [options]
1106
+ * @param {number} [options.decimalPlaces=2]
1107
+ * @param {number} [options.fixedDecimals=false]
1108
+ * @param {string} [options.thousandsSeparator=]
1109
+ * @param {string} [options.unit=]
1110
+ * @param {string} [options.unitSeparator=]
1111
+ *
1112
+ * @returns {string|null}
1113
+ * @public
1114
+ */
1115
+
1116
+ function format$1(value, options) {
1117
+ if (!Number.isFinite(value)) {
1118
+ return null;
1119
+ }
1120
+
1121
+ var mag = Math.abs(value);
1122
+ var thousandsSeparator = (options && options.thousandsSeparator) || '';
1123
+ var unitSeparator = (options && options.unitSeparator) || '';
1124
+ var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2;
1125
+ var fixedDecimals = Boolean(options && options.fixedDecimals);
1126
+ var unit = (options && options.unit) || '';
1127
+
1128
+ if (!unit || !map$1[unit.toLowerCase()]) {
1129
+ if (mag >= map$1.pb) {
1130
+ unit = 'PB';
1131
+ } else if (mag >= map$1.tb) {
1132
+ unit = 'TB';
1133
+ } else if (mag >= map$1.gb) {
1134
+ unit = 'GB';
1135
+ } else if (mag >= map$1.mb) {
1136
+ unit = 'MB';
1137
+ } else if (mag >= map$1.kb) {
1138
+ unit = 'KB';
1139
+ } else {
1140
+ unit = 'B';
1141
+ }
1142
+ }
1143
+
1144
+ var val = value / map$1[unit.toLowerCase()];
1145
+ var str = val.toFixed(decimalPlaces);
1146
+
1147
+ if (!fixedDecimals) {
1148
+ str = str.replace(formatDecimalsRegExp, '$1');
1149
+ }
1150
+
1151
+ if (thousandsSeparator) {
1152
+ str = str.split('.').map(function (s, i) {
1153
+ return i === 0
1154
+ ? s.replace(formatThousandsRegExp, thousandsSeparator)
1155
+ : s
1156
+ }).join('.');
1157
+ }
1158
+
1159
+ return str + unitSeparator + unit;
1160
+ }
1161
+
1162
+ /**
1163
+ * Parse the string value into an integer in bytes.
1164
+ *
1165
+ * If no unit is given, it is assumed the value is in bytes.
1166
+ *
1167
+ * @param {number|string} val
1168
+ *
1169
+ * @returns {number|null}
1170
+ * @public
1171
+ */
1172
+
1173
+ function parse(val) {
1174
+ if (typeof val === 'number' && !isNaN(val)) {
1175
+ return val;
1176
+ }
1177
+
1178
+ if (typeof val !== 'string') {
1179
+ return null;
1180
+ }
1181
+
1182
+ // Test if the string passed is valid
1183
+ var results = parseRegExp.exec(val);
1184
+ var floatValue;
1185
+ var unit = 'b';
1186
+
1187
+ if (!results) {
1188
+ // Nothing could be extracted from the given string
1189
+ floatValue = parseInt(val, 10);
1190
+ unit = 'b';
1191
+ } else {
1192
+ // Retrieve the value and the unit
1193
+ floatValue = parseFloat(results[1]);
1194
+ unit = results[4].toLowerCase();
1195
+ }
1196
+
1197
+ if (isNaN(floatValue)) {
1198
+ return null;
1199
+ }
1200
+
1201
+ return Math.floor(map$1[unit] * floatValue);
1202
+ }
1203
+
1204
+ const Tooltip_marginX = 10;
1205
+ const Tooltip_marginY = 30;
1206
+ const SOURCEMAP_RENDERED = (e$1("span", { children: [" ", e$1("b", { children: LABELS.renderedLength }), " is a number of characters in the file after individual and ", e$1("br", {}), " whole bundle transformations according to sourcemap."] }));
1207
+ const RENDRED = (e$1("span", { children: [e$1("b", { children: LABELS.renderedLength }), " is a byte size of individual file after transformations and treeshake."] }));
1208
+ const COMPRESSED = (e$1("span", { children: [e$1("b", { children: LABELS.gzipLength }), " and ", e$1("b", { children: LABELS.brotliLength }), " is a byte size of individual file after individual", " ", "transformations,", e$1("br", {}), " treeshake and compression."] }));
1209
+ const Tooltip = ({ node, visible, root, sizeProperty }) => {
1210
+ const { availableSizeProperties, getModuleSize, data } = q(StaticContext);
1211
+ const ref = s(null);
1212
+ const [style, setStyle] = y({});
1213
+ const content = F(() => {
1214
+ if (!node)
1215
+ return null;
1216
+ const mainSize = getModuleSize(node.data, sizeProperty);
1217
+ const percentageNum = (100 * mainSize) / getModuleSize(root.data, sizeProperty);
1218
+ const percentage = percentageNum.toFixed(2);
1219
+ const percentageString = percentage + "%";
1220
+ const path = node
1221
+ .ancestors()
1222
+ .reverse()
1223
+ .map((d) => d.data.name)
1224
+ .join("/");
1225
+ let dataNode = null;
1226
+ if (!isModuleTree(node.data)) {
1227
+ const mainUid = data.nodeParts[node.data.uid].mainUid;
1228
+ dataNode = data.nodeMetas[mainUid];
1229
+ }
1230
+ return (e$1(p$1, { children: [e$1("div", { children: path }), availableSizeProperties.map((sizeProp) => {
1231
+ if (sizeProp === sizeProperty) {
1232
+ return (e$1("div", { children: [e$1("b", { children: [LABELS[sizeProp], ": ", format_1(mainSize)] }), " ", "(", percentageString, ")"] }));
1233
+ }
1234
+ else {
1235
+ return (e$1("div", { children: [LABELS[sizeProp], ": ", format_1(getModuleSize(node.data, sizeProp))] }));
1236
+ }
1237
+ }), e$1("br", {}), dataNode && dataNode.importedBy.length > 0 && (e$1("div", { children: [e$1("div", { children: [e$1("b", { children: "Imported By" }), ":"] }), dataNode.importedBy.map(({ uid }) => {
1238
+ const id = data.nodeMetas[uid].id;
1239
+ return e$1("div", { children: id }, id);
1240
+ })] })), e$1("br", {}), e$1("small", { children: data.options.sourcemap ? SOURCEMAP_RENDERED : RENDRED }), (data.options.gzip || data.options.brotli) && (e$1(p$1, { children: [e$1("br", {}), e$1("small", { children: COMPRESSED })] }))] }));
1241
+ }, [availableSizeProperties, data, getModuleSize, node, root.data, sizeProperty]);
1242
+ const updatePosition = (mouseCoords) => {
1243
+ if (!ref.current)
1244
+ return;
1245
+ const pos = {
1246
+ left: mouseCoords.x + Tooltip_marginX,
1247
+ top: mouseCoords.y + Tooltip_marginY,
1248
+ };
1249
+ const boundingRect = ref.current.getBoundingClientRect();
1250
+ if (pos.left + boundingRect.width > window.innerWidth) {
1251
+ // Shifting horizontally
1252
+ pos.left = window.innerWidth - boundingRect.width;
1253
+ }
1254
+ if (pos.top + boundingRect.height > window.innerHeight) {
1255
+ // Flipping vertically
1256
+ pos.top = mouseCoords.y - Tooltip_marginY - boundingRect.height;
1257
+ }
1258
+ setStyle(pos);
1259
+ };
1260
+ _(() => {
1261
+ const handleMouseMove = (event) => {
1262
+ updatePosition({
1263
+ x: event.pageX,
1264
+ y: event.pageY,
1265
+ });
1266
+ };
1267
+ document.addEventListener("mousemove", handleMouseMove, true);
1268
+ return () => {
1269
+ document.removeEventListener("mousemove", handleMouseMove, true);
1270
+ };
1271
+ }, []);
1272
+ return (e$1("div", Object.assign({ className: `tooltip ${visible ? "" : "tooltip-hidden"}`, ref: ref, style: style }, { children: content })));
1273
+ };
1274
+
1275
+ const Chart = ({ root, sizeProperty, selectedNode, setSelectedNode }) => {
1276
+ const [showTooltip, setShowTooltip] = y(false);
1277
+ const [tooltipNode, setTooltipNode] = y(undefined);
1278
+ _(() => {
1279
+ const handleMouseOut = () => {
1280
+ setShowTooltip(false);
1281
+ };
1282
+ document.addEventListener("mouseover", handleMouseOut);
1283
+ return () => {
1284
+ document.removeEventListener("mouseover", handleMouseOut);
1285
+ };
1286
+ }, []);
1287
+ return (e$1(p$1, { children: [e$1(TreeMap, { root: root, onNodeHover: (node) => {
1288
+ setTooltipNode(node);
1289
+ setShowTooltip(true);
1290
+ }, selectedNode: selectedNode, onNodeClick: (node) => {
1291
+ setSelectedNode(selectedNode === node ? undefined : node);
1292
+ } }), e$1(Tooltip, { visible: showTooltip, node: tooltipNode, root: root, sizeProperty: sizeProperty })] }));
1293
+ };
1294
+
1295
+ const Main = () => {
1296
+ const { availableSizeProperties, rawHierarchy, getModuleSize, layout, data } = q(StaticContext);
1297
+ const [sizeProperty, setSizeProperty] = y(availableSizeProperties[0]);
1298
+ const [selectedNode, setSelectedNode] = y(undefined);
1299
+ const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter();
1300
+ console.time("getNodeSizeMultiplier");
1301
+ const getNodeSizeMultiplier = F(() => {
1302
+ const rootSize = getModuleSize(rawHierarchy.data, sizeProperty);
1303
+ const selectedSize = selectedNode ? getModuleSize(selectedNode.data, sizeProperty) : 1;
1304
+ const multiplier = rootSize * 0.2 > selectedSize ? (rootSize * 0.2) / selectedSize : 3;
1305
+ if (selectedNode === undefined) {
1306
+ return () => 1;
1307
+ }
1308
+ else if (isModuleTree(selectedNode.data)) {
1309
+ const leaves = new Set(selectedNode.leaves().map((d) => d.data));
1310
+ return (node) => {
1311
+ if (leaves.has(node)) {
1312
+ return multiplier;
1313
+ }
1314
+ return 1;
1315
+ };
1316
+ }
1317
+ else {
1318
+ return (node) => {
1319
+ if (node === selectedNode.data) {
1320
+ return multiplier;
1321
+ }
1322
+ return 1;
1323
+ };
1324
+ }
1325
+ }, [getModuleSize, rawHierarchy.data, selectedNode, sizeProperty]);
1326
+ console.timeEnd("getNodeSizeMultiplier");
1327
+ console.time("root hierarchy compute");
1328
+ // root here always be the same as rawHierarchy even after layouting
1329
+ const root = F(() => {
1330
+ const rootWithSizesAndSorted = rawHierarchy
1331
+ .sum((node) => {
1332
+ if (isModuleTree(node))
1333
+ return 0;
1334
+ const ownSize = getModuleSize(node, sizeProperty);
1335
+ const zoomMultiplier = getNodeSizeMultiplier(node);
1336
+ const filterMultiplier = getModuleFilterMultiplier(data.nodeMetas[data.nodeParts[node.uid].mainUid]);
1337
+ return ownSize * zoomMultiplier * filterMultiplier;
1338
+ })
1339
+ .sort((a, b) => getModuleSize(a.data, sizeProperty) - getModuleSize(b.data, sizeProperty));
1340
+ return layout(rootWithSizesAndSorted);
1341
+ }, [data, getModuleFilterMultiplier, getModuleSize, getNodeSizeMultiplier, layout, rawHierarchy, sizeProperty]);
1342
+ console.timeEnd("root hierarchy compute");
1343
+ return (e$1(p$1, { children: [e$1(SideBar, { sizeProperty: sizeProperty, availableSizeProperties: availableSizeProperties, setSizeProperty: setSizeProperty, onExcludeChange: setExcludeFilter, onIncludeChange: setIncludeFilter }), e$1(Chart, { root: root, sizeProperty: sizeProperty, selectedNode: selectedNode, setSelectedNode: setSelectedNode })] }));
1344
+ };
1345
+
1346
+ function initRange(domain, range) {
1347
+ switch (arguments.length) {
1348
+ case 0: break;
1349
+ case 1: this.range(domain); break;
1350
+ default: this.range(range).domain(domain); break;
1351
+ }
1352
+ return this;
1353
+ }
1354
+
1355
+ function initInterpolator(domain, interpolator) {
1356
+ switch (arguments.length) {
1357
+ case 0: break;
1358
+ case 1: {
1359
+ if (typeof domain === "function") this.interpolator(domain);
1360
+ else this.range(domain);
1361
+ break;
1362
+ }
1363
+ default: {
1364
+ this.domain(domain);
1365
+ if (typeof interpolator === "function") this.interpolator(interpolator);
1366
+ else this.range(interpolator);
1367
+ break;
1368
+ }
1369
+ }
1370
+ return this;
1371
+ }
1372
+
1373
+ function define(constructor, factory, prototype) {
1374
+ constructor.prototype = factory.prototype = prototype;
1375
+ prototype.constructor = constructor;
1376
+ }
1377
+
1378
+ function extend(parent, definition) {
1379
+ var prototype = Object.create(parent.prototype);
1380
+ for (var key in definition) prototype[key] = definition[key];
1381
+ return prototype;
1382
+ }
1383
+
1384
+ function Color() {}
1385
+
1386
+ var darker = 0.7;
1387
+ var brighter = 1 / darker;
1388
+
1389
+ var reI = "\\s*([+-]?\\d+)\\s*",
1390
+ reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
1391
+ reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
1392
+ reHex = /^#([0-9a-f]{3,8})$/,
1393
+ reRgbInteger = new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),
1394
+ reRgbPercent = new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),
1395
+ reRgbaInteger = new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),
1396
+ reRgbaPercent = new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),
1397
+ reHslPercent = new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),
1398
+ reHslaPercent = new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`);
1399
+
1400
+ var named = {
1401
+ aliceblue: 0xf0f8ff,
1402
+ antiquewhite: 0xfaebd7,
1403
+ aqua: 0x00ffff,
1404
+ aquamarine: 0x7fffd4,
1405
+ azure: 0xf0ffff,
1406
+ beige: 0xf5f5dc,
1407
+ bisque: 0xffe4c4,
1408
+ black: 0x000000,
1409
+ blanchedalmond: 0xffebcd,
1410
+ blue: 0x0000ff,
1411
+ blueviolet: 0x8a2be2,
1412
+ brown: 0xa52a2a,
1413
+ burlywood: 0xdeb887,
1414
+ cadetblue: 0x5f9ea0,
1415
+ chartreuse: 0x7fff00,
1416
+ chocolate: 0xd2691e,
1417
+ coral: 0xff7f50,
1418
+ cornflowerblue: 0x6495ed,
1419
+ cornsilk: 0xfff8dc,
1420
+ crimson: 0xdc143c,
1421
+ cyan: 0x00ffff,
1422
+ darkblue: 0x00008b,
1423
+ darkcyan: 0x008b8b,
1424
+ darkgoldenrod: 0xb8860b,
1425
+ darkgray: 0xa9a9a9,
1426
+ darkgreen: 0x006400,
1427
+ darkgrey: 0xa9a9a9,
1428
+ darkkhaki: 0xbdb76b,
1429
+ darkmagenta: 0x8b008b,
1430
+ darkolivegreen: 0x556b2f,
1431
+ darkorange: 0xff8c00,
1432
+ darkorchid: 0x9932cc,
1433
+ darkred: 0x8b0000,
1434
+ darksalmon: 0xe9967a,
1435
+ darkseagreen: 0x8fbc8f,
1436
+ darkslateblue: 0x483d8b,
1437
+ darkslategray: 0x2f4f4f,
1438
+ darkslategrey: 0x2f4f4f,
1439
+ darkturquoise: 0x00ced1,
1440
+ darkviolet: 0x9400d3,
1441
+ deeppink: 0xff1493,
1442
+ deepskyblue: 0x00bfff,
1443
+ dimgray: 0x696969,
1444
+ dimgrey: 0x696969,
1445
+ dodgerblue: 0x1e90ff,
1446
+ firebrick: 0xb22222,
1447
+ floralwhite: 0xfffaf0,
1448
+ forestgreen: 0x228b22,
1449
+ fuchsia: 0xff00ff,
1450
+ gainsboro: 0xdcdcdc,
1451
+ ghostwhite: 0xf8f8ff,
1452
+ gold: 0xffd700,
1453
+ goldenrod: 0xdaa520,
1454
+ gray: 0x808080,
1455
+ green: 0x008000,
1456
+ greenyellow: 0xadff2f,
1457
+ grey: 0x808080,
1458
+ honeydew: 0xf0fff0,
1459
+ hotpink: 0xff69b4,
1460
+ indianred: 0xcd5c5c,
1461
+ indigo: 0x4b0082,
1462
+ ivory: 0xfffff0,
1463
+ khaki: 0xf0e68c,
1464
+ lavender: 0xe6e6fa,
1465
+ lavenderblush: 0xfff0f5,
1466
+ lawngreen: 0x7cfc00,
1467
+ lemonchiffon: 0xfffacd,
1468
+ lightblue: 0xadd8e6,
1469
+ lightcoral: 0xf08080,
1470
+ lightcyan: 0xe0ffff,
1471
+ lightgoldenrodyellow: 0xfafad2,
1472
+ lightgray: 0xd3d3d3,
1473
+ lightgreen: 0x90ee90,
1474
+ lightgrey: 0xd3d3d3,
1475
+ lightpink: 0xffb6c1,
1476
+ lightsalmon: 0xffa07a,
1477
+ lightseagreen: 0x20b2aa,
1478
+ lightskyblue: 0x87cefa,
1479
+ lightslategray: 0x778899,
1480
+ lightslategrey: 0x778899,
1481
+ lightsteelblue: 0xb0c4de,
1482
+ lightyellow: 0xffffe0,
1483
+ lime: 0x00ff00,
1484
+ limegreen: 0x32cd32,
1485
+ linen: 0xfaf0e6,
1486
+ magenta: 0xff00ff,
1487
+ maroon: 0x800000,
1488
+ mediumaquamarine: 0x66cdaa,
1489
+ mediumblue: 0x0000cd,
1490
+ mediumorchid: 0xba55d3,
1491
+ mediumpurple: 0x9370db,
1492
+ mediumseagreen: 0x3cb371,
1493
+ mediumslateblue: 0x7b68ee,
1494
+ mediumspringgreen: 0x00fa9a,
1495
+ mediumturquoise: 0x48d1cc,
1496
+ mediumvioletred: 0xc71585,
1497
+ midnightblue: 0x191970,
1498
+ mintcream: 0xf5fffa,
1499
+ mistyrose: 0xffe4e1,
1500
+ moccasin: 0xffe4b5,
1501
+ navajowhite: 0xffdead,
1502
+ navy: 0x000080,
1503
+ oldlace: 0xfdf5e6,
1504
+ olive: 0x808000,
1505
+ olivedrab: 0x6b8e23,
1506
+ orange: 0xffa500,
1507
+ orangered: 0xff4500,
1508
+ orchid: 0xda70d6,
1509
+ palegoldenrod: 0xeee8aa,
1510
+ palegreen: 0x98fb98,
1511
+ paleturquoise: 0xafeeee,
1512
+ palevioletred: 0xdb7093,
1513
+ papayawhip: 0xffefd5,
1514
+ peachpuff: 0xffdab9,
1515
+ peru: 0xcd853f,
1516
+ pink: 0xffc0cb,
1517
+ plum: 0xdda0dd,
1518
+ powderblue: 0xb0e0e6,
1519
+ purple: 0x800080,
1520
+ rebeccapurple: 0x663399,
1521
+ red: 0xff0000,
1522
+ rosybrown: 0xbc8f8f,
1523
+ royalblue: 0x4169e1,
1524
+ saddlebrown: 0x8b4513,
1525
+ salmon: 0xfa8072,
1526
+ sandybrown: 0xf4a460,
1527
+ seagreen: 0x2e8b57,
1528
+ seashell: 0xfff5ee,
1529
+ sienna: 0xa0522d,
1530
+ silver: 0xc0c0c0,
1531
+ skyblue: 0x87ceeb,
1532
+ slateblue: 0x6a5acd,
1533
+ slategray: 0x708090,
1534
+ slategrey: 0x708090,
1535
+ snow: 0xfffafa,
1536
+ springgreen: 0x00ff7f,
1537
+ steelblue: 0x4682b4,
1538
+ tan: 0xd2b48c,
1539
+ teal: 0x008080,
1540
+ thistle: 0xd8bfd8,
1541
+ tomato: 0xff6347,
1542
+ turquoise: 0x40e0d0,
1543
+ violet: 0xee82ee,
1544
+ wheat: 0xf5deb3,
1545
+ white: 0xffffff,
1546
+ whitesmoke: 0xf5f5f5,
1547
+ yellow: 0xffff00,
1548
+ yellowgreen: 0x9acd32
1549
+ };
1550
+
1551
+ define(Color, color, {
1552
+ copy(channels) {
1553
+ return Object.assign(new this.constructor, this, channels);
1554
+ },
1555
+ displayable() {
1556
+ return this.rgb().displayable();
1557
+ },
1558
+ hex: color_formatHex, // Deprecated! Use color.formatHex.
1559
+ formatHex: color_formatHex,
1560
+ formatHex8: color_formatHex8,
1561
+ formatHsl: color_formatHsl,
1562
+ formatRgb: color_formatRgb,
1563
+ toString: color_formatRgb
1564
+ });
1565
+
1566
+ function color_formatHex() {
1567
+ return this.rgb().formatHex();
1568
+ }
1569
+
1570
+ function color_formatHex8() {
1571
+ return this.rgb().formatHex8();
1572
+ }
1573
+
1574
+ function color_formatHsl() {
1575
+ return hslConvert(this).formatHsl();
1576
+ }
1577
+
1578
+ function color_formatRgb() {
1579
+ return this.rgb().formatRgb();
1580
+ }
1581
+
1582
+ function color(format) {
1583
+ var m, l;
1584
+ format = (format + "").trim().toLowerCase();
1585
+ return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
1586
+ : l === 3 ? new Rgb((m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1) // #f00
1587
+ : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
1588
+ : l === 4 ? rgba((m >> 12 & 0xf) | (m >> 8 & 0xf0), (m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), (((m & 0xf) << 4) | (m & 0xf)) / 0xff) // #f000
1589
+ : null) // invalid hex
1590
+ : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
1591
+ : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
1592
+ : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
1593
+ : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
1594
+ : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
1595
+ : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
1596
+ : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
1597
+ : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0)
1598
+ : null;
1599
+ }
1600
+
1601
+ function rgbn(n) {
1602
+ return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
1603
+ }
1604
+
1605
+ function rgba(r, g, b, a) {
1606
+ if (a <= 0) r = g = b = NaN;
1607
+ return new Rgb(r, g, b, a);
1608
+ }
1609
+
1610
+ function rgbConvert(o) {
1611
+ if (!(o instanceof Color)) o = color(o);
1612
+ if (!o) return new Rgb;
1613
+ o = o.rgb();
1614
+ return new Rgb(o.r, o.g, o.b, o.opacity);
1615
+ }
1616
+
1617
+ function rgb$1(r, g, b, opacity) {
1618
+ return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
1619
+ }
1620
+
1621
+ function Rgb(r, g, b, opacity) {
1622
+ this.r = +r;
1623
+ this.g = +g;
1624
+ this.b = +b;
1625
+ this.opacity = +opacity;
1626
+ }
1627
+
1628
+ define(Rgb, rgb$1, extend(Color, {
1629
+ brighter(k) {
1630
+ k = k == null ? brighter : Math.pow(brighter, k);
1631
+ return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1632
+ },
1633
+ darker(k) {
1634
+ k = k == null ? darker : Math.pow(darker, k);
1635
+ return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1636
+ },
1637
+ rgb() {
1638
+ return this;
1639
+ },
1640
+ clamp() {
1641
+ return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity));
1642
+ },
1643
+ displayable() {
1644
+ return (-0.5 <= this.r && this.r < 255.5)
1645
+ && (-0.5 <= this.g && this.g < 255.5)
1646
+ && (-0.5 <= this.b && this.b < 255.5)
1647
+ && (0 <= this.opacity && this.opacity <= 1);
1648
+ },
1649
+ hex: rgb_formatHex, // Deprecated! Use color.formatHex.
1650
+ formatHex: rgb_formatHex,
1651
+ formatHex8: rgb_formatHex8,
1652
+ formatRgb: rgb_formatRgb,
1653
+ toString: rgb_formatRgb
1654
+ }));
1655
+
1656
+ function rgb_formatHex() {
1657
+ return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}`;
1658
+ }
1659
+
1660
+ function rgb_formatHex8() {
1661
+ return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
1662
+ }
1663
+
1664
+ function rgb_formatRgb() {
1665
+ const a = clampa(this.opacity);
1666
+ return `${a === 1 ? "rgb(" : "rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${a === 1 ? ")" : `, ${a})`}`;
1667
+ }
1668
+
1669
+ function clampa(opacity) {
1670
+ return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity));
1671
+ }
1672
+
1673
+ function clampi(value) {
1674
+ return Math.max(0, Math.min(255, Math.round(value) || 0));
1675
+ }
1676
+
1677
+ function hex(value) {
1678
+ value = clampi(value);
1679
+ return (value < 16 ? "0" : "") + value.toString(16);
1680
+ }
1681
+
1682
+ function hsla(h, s, l, a) {
1683
+ if (a <= 0) h = s = l = NaN;
1684
+ else if (l <= 0 || l >= 1) h = s = NaN;
1685
+ else if (s <= 0) h = NaN;
1686
+ return new Hsl(h, s, l, a);
1687
+ }
1688
+
1689
+ function hslConvert(o) {
1690
+ if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
1691
+ if (!(o instanceof Color)) o = color(o);
1692
+ if (!o) return new Hsl;
1693
+ if (o instanceof Hsl) return o;
1694
+ o = o.rgb();
1695
+ var r = o.r / 255,
1696
+ g = o.g / 255,
1697
+ b = o.b / 255,
1698
+ min = Math.min(r, g, b),
1699
+ max = Math.max(r, g, b),
1700
+ h = NaN,
1701
+ s = max - min,
1702
+ l = (max + min) / 2;
1703
+ if (s) {
1704
+ if (r === max) h = (g - b) / s + (g < b) * 6;
1705
+ else if (g === max) h = (b - r) / s + 2;
1706
+ else h = (r - g) / s + 4;
1707
+ s /= l < 0.5 ? max + min : 2 - max - min;
1708
+ h *= 60;
1709
+ } else {
1710
+ s = l > 0 && l < 1 ? 0 : h;
1711
+ }
1712
+ return new Hsl(h, s, l, o.opacity);
1713
+ }
1714
+
1715
+ function hsl(h, s, l, opacity) {
1716
+ return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
1717
+ }
1718
+
1719
+ function Hsl(h, s, l, opacity) {
1720
+ this.h = +h;
1721
+ this.s = +s;
1722
+ this.l = +l;
1723
+ this.opacity = +opacity;
1724
+ }
1725
+
1726
+ define(Hsl, hsl, extend(Color, {
1727
+ brighter(k) {
1728
+ k = k == null ? brighter : Math.pow(brighter, k);
1729
+ return new Hsl(this.h, this.s, this.l * k, this.opacity);
1730
+ },
1731
+ darker(k) {
1732
+ k = k == null ? darker : Math.pow(darker, k);
1733
+ return new Hsl(this.h, this.s, this.l * k, this.opacity);
1734
+ },
1735
+ rgb() {
1736
+ var h = this.h % 360 + (this.h < 0) * 360,
1737
+ s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
1738
+ l = this.l,
1739
+ m2 = l + (l < 0.5 ? l : 1 - l) * s,
1740
+ m1 = 2 * l - m2;
1741
+ return new Rgb(
1742
+ hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),
1743
+ hsl2rgb(h, m1, m2),
1744
+ hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),
1745
+ this.opacity
1746
+ );
1747
+ },
1748
+ clamp() {
1749
+ return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity));
1750
+ },
1751
+ displayable() {
1752
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s))
1753
+ && (0 <= this.l && this.l <= 1)
1754
+ && (0 <= this.opacity && this.opacity <= 1);
1755
+ },
1756
+ formatHsl() {
1757
+ const a = clampa(this.opacity);
1758
+ return `${a === 1 ? "hsl(" : "hsla("}${clamph(this.h)}, ${clampt(this.s) * 100}%, ${clampt(this.l) * 100}%${a === 1 ? ")" : `, ${a})`}`;
1759
+ }
1760
+ }));
1761
+
1762
+ function clamph(value) {
1763
+ value = (value || 0) % 360;
1764
+ return value < 0 ? value + 360 : value;
1765
+ }
1766
+
1767
+ function clampt(value) {
1768
+ return Math.max(0, Math.min(1, value || 0));
1769
+ }
1770
+
1771
+ /* From FvD 13.37, CSS Color Module Level 3 */
1772
+ function hsl2rgb(h, m1, m2) {
1773
+ return (h < 60 ? m1 + (m2 - m1) * h / 60
1774
+ : h < 180 ? m2
1775
+ : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60
1776
+ : m1) * 255;
1777
+ }
1778
+
1779
+ const radians = Math.PI / 180;
1780
+ const degrees = 180 / Math.PI;
1781
+
1782
+ // https://observablehq.com/@mbostock/lab-and-rgb
1783
+ const K = 18,
1784
+ Xn = 0.96422,
1785
+ Yn = 1,
1786
+ Zn = 0.82521,
1787
+ t0$1 = 4 / 29,
1788
+ t1$1 = 6 / 29,
1789
+ t2 = 3 * t1$1 * t1$1,
1790
+ t3 = t1$1 * t1$1 * t1$1;
1791
+
1792
+ function labConvert(o) {
1793
+ if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);
1794
+ if (o instanceof Hcl) return hcl2lab(o);
1795
+ if (!(o instanceof Rgb)) o = rgbConvert(o);
1796
+ var r = rgb2lrgb(o.r),
1797
+ g = rgb2lrgb(o.g),
1798
+ b = rgb2lrgb(o.b),
1799
+ y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn), x, z;
1800
+ if (r === g && g === b) x = z = y; else {
1801
+ x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);
1802
+ z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);
1803
+ }
1804
+ return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);
1805
+ }
1806
+
1807
+ function lab(l, a, b, opacity) {
1808
+ return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
1809
+ }
1810
+
1811
+ function Lab(l, a, b, opacity) {
1812
+ this.l = +l;
1813
+ this.a = +a;
1814
+ this.b = +b;
1815
+ this.opacity = +opacity;
1816
+ }
1817
+
1818
+ define(Lab, lab, extend(Color, {
1819
+ brighter(k) {
1820
+ return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);
1821
+ },
1822
+ darker(k) {
1823
+ return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);
1824
+ },
1825
+ rgb() {
1826
+ var y = (this.l + 16) / 116,
1827
+ x = isNaN(this.a) ? y : y + this.a / 500,
1828
+ z = isNaN(this.b) ? y : y - this.b / 200;
1829
+ x = Xn * lab2xyz(x);
1830
+ y = Yn * lab2xyz(y);
1831
+ z = Zn * lab2xyz(z);
1832
+ return new Rgb(
1833
+ lrgb2rgb( 3.1338561 * x - 1.6168667 * y - 0.4906146 * z),
1834
+ lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z),
1835
+ lrgb2rgb( 0.0719453 * x - 0.2289914 * y + 1.4052427 * z),
1836
+ this.opacity
1837
+ );
1838
+ }
1839
+ }));
1840
+
1841
+ function xyz2lab(t) {
1842
+ return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0$1;
1843
+ }
1844
+
1845
+ function lab2xyz(t) {
1846
+ return t > t1$1 ? t * t * t : t2 * (t - t0$1);
1847
+ }
1848
+
1849
+ function lrgb2rgb(x) {
1850
+ return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);
1851
+ }
1852
+
1853
+ function rgb2lrgb(x) {
1854
+ return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);
1855
+ }
1856
+
1857
+ function hclConvert(o) {
1858
+ if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);
1859
+ if (!(o instanceof Lab)) o = labConvert(o);
1860
+ if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);
1861
+ var h = Math.atan2(o.b, o.a) * degrees;
1862
+ return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
1863
+ }
1864
+
1865
+ function hcl(h, c, l, opacity) {
1866
+ return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
1867
+ }
1868
+
1869
+ function Hcl(h, c, l, opacity) {
1870
+ this.h = +h;
1871
+ this.c = +c;
1872
+ this.l = +l;
1873
+ this.opacity = +opacity;
1874
+ }
1875
+
1876
+ function hcl2lab(o) {
1877
+ if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);
1878
+ var h = o.h * radians;
1879
+ return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
1880
+ }
1881
+
1882
+ define(Hcl, hcl, extend(Color, {
1883
+ brighter(k) {
1884
+ return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
1885
+ },
1886
+ darker(k) {
1887
+ return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);
1888
+ },
1889
+ rgb() {
1890
+ return hcl2lab(this).rgb();
1891
+ }
1892
+ }));
1893
+
1894
+ var A = -0.14861,
1895
+ B = +1.78277,
1896
+ C = -0.29227,
1897
+ D = -0.90649,
1898
+ E = +1.97294,
1899
+ ED = E * D,
1900
+ EB = E * B,
1901
+ BC_DA = B * C - D * A;
1902
+
1903
+ function cubehelixConvert(o) {
1904
+ if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);
1905
+ if (!(o instanceof Rgb)) o = rgbConvert(o);
1906
+ var r = o.r / 255,
1907
+ g = o.g / 255,
1908
+ b = o.b / 255,
1909
+ l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),
1910
+ bl = b - l,
1911
+ k = (E * (g - l) - C * bl) / D,
1912
+ s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1
1913
+ h = s ? Math.atan2(k, bl) * degrees - 120 : NaN;
1914
+ return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);
1915
+ }
1916
+
1917
+ function cubehelix$1(h, s, l, opacity) {
1918
+ return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);
1919
+ }
1920
+
1921
+ function Cubehelix(h, s, l, opacity) {
1922
+ this.h = +h;
1923
+ this.s = +s;
1924
+ this.l = +l;
1925
+ this.opacity = +opacity;
1926
+ }
1927
+
1928
+ define(Cubehelix, cubehelix$1, extend(Color, {
1929
+ brighter(k) {
1930
+ k = k == null ? brighter : Math.pow(brighter, k);
1931
+ return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
1932
+ },
1933
+ darker(k) {
1934
+ k = k == null ? darker : Math.pow(darker, k);
1935
+ return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
1936
+ },
1937
+ rgb() {
1938
+ var h = isNaN(this.h) ? 0 : (this.h + 120) * radians,
1939
+ l = +this.l,
1940
+ a = isNaN(this.s) ? 0 : this.s * l * (1 - l),
1941
+ cosh = Math.cos(h),
1942
+ sinh = Math.sin(h);
1943
+ return new Rgb(
1944
+ 255 * (l + a * (A * cosh + B * sinh)),
1945
+ 255 * (l + a * (C * cosh + D * sinh)),
1946
+ 255 * (l + a * (E * cosh)),
1947
+ this.opacity
1948
+ );
1949
+ }
1950
+ }));
1951
+
1952
+ var constant = x => () => x;
1953
+
1954
+ function linear$1(a, d) {
1955
+ return function(t) {
1956
+ return a + t * d;
1957
+ };
1958
+ }
1959
+
1960
+ function exponential(a, b, y) {
1961
+ return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {
1962
+ return Math.pow(a + t * b, y);
1963
+ };
1964
+ }
1965
+
1966
+ function hue(a, b) {
1967
+ var d = b - a;
1968
+ return d ? linear$1(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
1969
+ }
1970
+
1971
+ function gamma(y) {
1972
+ return (y = +y) === 1 ? nogamma : function(a, b) {
1973
+ return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);
1974
+ };
1975
+ }
1976
+
1977
+ function nogamma(a, b) {
1978
+ var d = b - a;
1979
+ return d ? linear$1(a, d) : constant(isNaN(a) ? b : a);
1980
+ }
1981
+
1982
+ var rgb = (function rgbGamma(y) {
1983
+ var color = gamma(y);
1984
+
1985
+ function rgb(start, end) {
1986
+ var r = color((start = rgb$1(start)).r, (end = rgb$1(end)).r),
1987
+ g = color(start.g, end.g),
1988
+ b = color(start.b, end.b),
1989
+ opacity = nogamma(start.opacity, end.opacity);
1990
+ return function(t) {
1991
+ start.r = r(t);
1992
+ start.g = g(t);
1993
+ start.b = b(t);
1994
+ start.opacity = opacity(t);
1995
+ return start + "";
1996
+ };
1997
+ }
1998
+
1999
+ rgb.gamma = rgbGamma;
2000
+
2001
+ return rgb;
2002
+ })(1);
2003
+
2004
+ function numberArray(a, b) {
2005
+ if (!b) b = [];
2006
+ var n = a ? Math.min(b.length, a.length) : 0,
2007
+ c = b.slice(),
2008
+ i;
2009
+ return function(t) {
2010
+ for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;
2011
+ return c;
2012
+ };
2013
+ }
2014
+
2015
+ function isNumberArray(x) {
2016
+ return ArrayBuffer.isView(x) && !(x instanceof DataView);
2017
+ }
2018
+
2019
+ function genericArray(a, b) {
2020
+ var nb = b ? b.length : 0,
2021
+ na = a ? Math.min(nb, a.length) : 0,
2022
+ x = new Array(na),
2023
+ c = new Array(nb),
2024
+ i;
2025
+
2026
+ for (i = 0; i < na; ++i) x[i] = interpolate(a[i], b[i]);
2027
+ for (; i < nb; ++i) c[i] = b[i];
2028
+
2029
+ return function(t) {
2030
+ for (i = 0; i < na; ++i) c[i] = x[i](t);
2031
+ return c;
2032
+ };
2033
+ }
2034
+
2035
+ function date(a, b) {
2036
+ var d = new Date;
2037
+ return a = +a, b = +b, function(t) {
2038
+ return d.setTime(a * (1 - t) + b * t), d;
2039
+ };
2040
+ }
2041
+
2042
+ function interpolateNumber(a, b) {
2043
+ return a = +a, b = +b, function(t) {
2044
+ return a * (1 - t) + b * t;
2045
+ };
2046
+ }
2047
+
2048
+ function object(a, b) {
2049
+ var i = {},
2050
+ c = {},
2051
+ k;
2052
+
2053
+ if (a === null || typeof a !== "object") a = {};
2054
+ if (b === null || typeof b !== "object") b = {};
2055
+
2056
+ for (k in b) {
2057
+ if (k in a) {
2058
+ i[k] = interpolate(a[k], b[k]);
2059
+ } else {
2060
+ c[k] = b[k];
2061
+ }
2062
+ }
2063
+
2064
+ return function(t) {
2065
+ for (k in i) c[k] = i[k](t);
2066
+ return c;
2067
+ };
2068
+ }
2069
+
2070
+ var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,
2071
+ reB = new RegExp(reA.source, "g");
2072
+
2073
+ function zero(b) {
2074
+ return function() {
2075
+ return b;
2076
+ };
2077
+ }
2078
+
2079
+ function one(b) {
2080
+ return function(t) {
2081
+ return b(t) + "";
2082
+ };
2083
+ }
2084
+
2085
+ function string(a, b) {
2086
+ var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b
2087
+ am, // current match in a
2088
+ bm, // current match in b
2089
+ bs, // string preceding current number in b, if any
2090
+ i = -1, // index in s
2091
+ s = [], // string constants and placeholders
2092
+ q = []; // number interpolators
2093
+
2094
+ // Coerce inputs to strings.
2095
+ a = a + "", b = b + "";
2096
+
2097
+ // Interpolate pairs of numbers in a & b.
2098
+ while ((am = reA.exec(a))
2099
+ && (bm = reB.exec(b))) {
2100
+ if ((bs = bm.index) > bi) { // a string precedes the next number in b
2101
+ bs = b.slice(bi, bs);
2102
+ if (s[i]) s[i] += bs; // coalesce with previous string
2103
+ else s[++i] = bs;
2104
+ }
2105
+ if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match
2106
+ if (s[i]) s[i] += bm; // coalesce with previous string
2107
+ else s[++i] = bm;
2108
+ } else { // interpolate non-matching numbers
2109
+ s[++i] = null;
2110
+ q.push({i: i, x: interpolateNumber(am, bm)});
2111
+ }
2112
+ bi = reB.lastIndex;
2113
+ }
2114
+
2115
+ // Add remains of b.
2116
+ if (bi < b.length) {
2117
+ bs = b.slice(bi);
2118
+ if (s[i]) s[i] += bs; // coalesce with previous string
2119
+ else s[++i] = bs;
2120
+ }
2121
+
2122
+ // Special optimization for only a single match.
2123
+ // Otherwise, interpolate each of the numbers and rejoin the string.
2124
+ return s.length < 2 ? (q[0]
2125
+ ? one(q[0].x)
2126
+ : zero(b))
2127
+ : (b = q.length, function(t) {
2128
+ for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);
2129
+ return s.join("");
2130
+ });
2131
+ }
2132
+
2133
+ function interpolate(a, b) {
2134
+ var t = typeof b, c;
2135
+ return b == null || t === "boolean" ? constant(b)
2136
+ : (t === "number" ? interpolateNumber
2137
+ : t === "string" ? ((c = color(b)) ? (b = c, rgb) : string)
2138
+ : b instanceof color ? rgb
2139
+ : b instanceof Date ? date
2140
+ : isNumberArray(b) ? numberArray
2141
+ : Array.isArray(b) ? genericArray
2142
+ : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object
2143
+ : interpolateNumber)(a, b);
2144
+ }
2145
+
2146
+ function interpolateRound(a, b) {
2147
+ return a = +a, b = +b, function(t) {
2148
+ return Math.round(a * (1 - t) + b * t);
2149
+ };
2150
+ }
2151
+
2152
+ var epsilon2 = 1e-12;
2153
+
2154
+ function cosh(x) {
2155
+ return ((x = Math.exp(x)) + 1 / x) / 2;
2156
+ }
2157
+
2158
+ function sinh(x) {
2159
+ return ((x = Math.exp(x)) - 1 / x) / 2;
2160
+ }
2161
+
2162
+ function tanh(x) {
2163
+ return ((x = Math.exp(2 * x)) - 1) / (x + 1);
2164
+ }
2165
+
2166
+ ((function zoomRho(rho, rho2, rho4) {
2167
+
2168
+ // p0 = [ux0, uy0, w0]
2169
+ // p1 = [ux1, uy1, w1]
2170
+ function zoom(p0, p1) {
2171
+ var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],
2172
+ ux1 = p1[0], uy1 = p1[1], w1 = p1[2],
2173
+ dx = ux1 - ux0,
2174
+ dy = uy1 - uy0,
2175
+ d2 = dx * dx + dy * dy,
2176
+ i,
2177
+ S;
2178
+
2179
+ // Special case for u0 ≅ u1.
2180
+ if (d2 < epsilon2) {
2181
+ S = Math.log(w1 / w0) / rho;
2182
+ i = function(t) {
2183
+ return [
2184
+ ux0 + t * dx,
2185
+ uy0 + t * dy,
2186
+ w0 * Math.exp(rho * t * S)
2187
+ ];
2188
+ };
2189
+ }
2190
+
2191
+ // General case.
2192
+ else {
2193
+ var d1 = Math.sqrt(d2),
2194
+ b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),
2195
+ b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),
2196
+ r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),
2197
+ r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);
2198
+ S = (r1 - r0) / rho;
2199
+ i = function(t) {
2200
+ var s = t * S,
2201
+ coshr0 = cosh(r0),
2202
+ u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));
2203
+ return [
2204
+ ux0 + u * dx,
2205
+ uy0 + u * dy,
2206
+ w0 * coshr0 / cosh(rho * s + r0)
2207
+ ];
2208
+ };
2209
+ }
2210
+
2211
+ i.duration = S * 1000 * rho / Math.SQRT2;
2212
+
2213
+ return i;
2214
+ }
2215
+
2216
+ zoom.rho = function(_) {
2217
+ var _1 = Math.max(1e-3, +_), _2 = _1 * _1, _4 = _2 * _2;
2218
+ return zoomRho(_1, _2, _4);
2219
+ };
2220
+
2221
+ return zoom;
2222
+ }))(Math.SQRT2, 2, 4);
2223
+
2224
+ function cubehelix(hue) {
2225
+ return (function cubehelixGamma(y) {
2226
+ y = +y;
2227
+
2228
+ function cubehelix(start, end) {
2229
+ var h = hue((start = cubehelix$1(start)).h, (end = cubehelix$1(end)).h),
2230
+ s = nogamma(start.s, end.s),
2231
+ l = nogamma(start.l, end.l),
2232
+ opacity = nogamma(start.opacity, end.opacity);
2233
+ return function(t) {
2234
+ start.h = h(t);
2235
+ start.s = s(t);
2236
+ start.l = l(Math.pow(t, y));
2237
+ start.opacity = opacity(t);
2238
+ return start + "";
2239
+ };
2240
+ }
2241
+
2242
+ cubehelix.gamma = cubehelixGamma;
2243
+
2244
+ return cubehelix;
2245
+ })(1);
2246
+ }
2247
+
2248
+ cubehelix(hue);
2249
+ cubehelix(nogamma);
2250
+
2251
+ function constants(x) {
2252
+ return function() {
2253
+ return x;
2254
+ };
2255
+ }
2256
+
2257
+ function number(x) {
2258
+ return +x;
2259
+ }
2260
+
2261
+ var unit = [0, 1];
2262
+
2263
+ function identity$1(x) {
2264
+ return x;
2265
+ }
2266
+
2267
+ function normalize(a, b) {
2268
+ return (b -= (a = +a))
2269
+ ? function(x) { return (x - a) / b; }
2270
+ : constants(isNaN(b) ? NaN : 0.5);
2271
+ }
2272
+
2273
+ function clamper(a, b) {
2274
+ var t;
2275
+ if (a > b) t = a, a = b, b = t;
2276
+ return function(x) { return Math.max(a, Math.min(b, x)); };
2277
+ }
2278
+
2279
+ // normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].
2280
+ // interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b].
2281
+ function bimap(domain, range, interpolate) {
2282
+ var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1];
2283
+ if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);
2284
+ else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);
2285
+ return function(x) { return r0(d0(x)); };
2286
+ }
2287
+
2288
+ function polymap(domain, range, interpolate) {
2289
+ var j = Math.min(domain.length, range.length) - 1,
2290
+ d = new Array(j),
2291
+ r = new Array(j),
2292
+ i = -1;
2293
+
2294
+ // Reverse descending domains.
2295
+ if (domain[j] < domain[0]) {
2296
+ domain = domain.slice().reverse();
2297
+ range = range.slice().reverse();
2298
+ }
2299
+
2300
+ while (++i < j) {
2301
+ d[i] = normalize(domain[i], domain[i + 1]);
2302
+ r[i] = interpolate(range[i], range[i + 1]);
2303
+ }
2304
+
2305
+ return function(x) {
2306
+ var i = bisectRight(domain, x, 1, j) - 1;
2307
+ return r[i](d[i](x));
2308
+ };
2309
+ }
2310
+
2311
+ function copy$1(source, target) {
2312
+ return target
2313
+ .domain(source.domain())
2314
+ .range(source.range())
2315
+ .interpolate(source.interpolate())
2316
+ .clamp(source.clamp())
2317
+ .unknown(source.unknown());
2318
+ }
2319
+
2320
+ function transformer$1() {
2321
+ var domain = unit,
2322
+ range = unit,
2323
+ interpolate$1 = interpolate,
2324
+ transform,
2325
+ untransform,
2326
+ unknown,
2327
+ clamp = identity$1,
2328
+ piecewise,
2329
+ output,
2330
+ input;
2331
+
2332
+ function rescale() {
2333
+ var n = Math.min(domain.length, range.length);
2334
+ if (clamp !== identity$1) clamp = clamper(domain[0], domain[n - 1]);
2335
+ piecewise = n > 2 ? polymap : bimap;
2336
+ output = input = null;
2337
+ return scale;
2338
+ }
2339
+
2340
+ function scale(x) {
2341
+ return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate$1)))(transform(clamp(x)));
2342
+ }
2343
+
2344
+ scale.invert = function(y) {
2345
+ return clamp(untransform((input || (input = piecewise(range, domain.map(transform), interpolateNumber)))(y)));
2346
+ };
2347
+
2348
+ scale.domain = function(_) {
2349
+ return arguments.length ? (domain = Array.from(_, number), rescale()) : domain.slice();
2350
+ };
2351
+
2352
+ scale.range = function(_) {
2353
+ return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
2354
+ };
2355
+
2356
+ scale.rangeRound = function(_) {
2357
+ return range = Array.from(_), interpolate$1 = interpolateRound, rescale();
2358
+ };
2359
+
2360
+ scale.clamp = function(_) {
2361
+ return arguments.length ? (clamp = _ ? true : identity$1, rescale()) : clamp !== identity$1;
2362
+ };
2363
+
2364
+ scale.interpolate = function(_) {
2365
+ return arguments.length ? (interpolate$1 = _, rescale()) : interpolate$1;
2366
+ };
2367
+
2368
+ scale.unknown = function(_) {
2369
+ return arguments.length ? (unknown = _, scale) : unknown;
2370
+ };
2371
+
2372
+ return function(t, u) {
2373
+ transform = t, untransform = u;
2374
+ return rescale();
2375
+ };
2376
+ }
2377
+
2378
+ function continuous() {
2379
+ return transformer$1()(identity$1, identity$1);
2380
+ }
2381
+
2382
+ function formatDecimal(x) {
2383
+ return Math.abs(x = Math.round(x)) >= 1e21
2384
+ ? x.toLocaleString("en").replace(/,/g, "")
2385
+ : x.toString(10);
2386
+ }
2387
+
2388
+ // Computes the decimal coefficient and exponent of the specified number x with
2389
+ // significant digits p, where x is positive and p is in [1, 21] or undefined.
2390
+ // For example, formatDecimalParts(1.23) returns ["123", 0].
2391
+ function formatDecimalParts(x, p) {
2392
+ if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; // NaN, ±Infinity
2393
+ var i, coefficient = x.slice(0, i);
2394
+
2395
+ // The string returned by toExponential either has the form \d\.\d+e[-+]\d+
2396
+ // (e.g., 1.2e+3) or the form \de[-+]\d+ (e.g., 1e+3).
2397
+ return [
2398
+ coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient,
2399
+ +x.slice(i + 1)
2400
+ ];
2401
+ }
2402
+
2403
+ function exponent(x) {
2404
+ return x = formatDecimalParts(Math.abs(x)), x ? x[1] : NaN;
2405
+ }
2406
+
2407
+ function formatGroup(grouping, thousands) {
2408
+ return function(value, width) {
2409
+ var i = value.length,
2410
+ t = [],
2411
+ j = 0,
2412
+ g = grouping[0],
2413
+ length = 0;
2414
+
2415
+ while (i > 0 && g > 0) {
2416
+ if (length + g + 1 > width) g = Math.max(1, width - length);
2417
+ t.push(value.substring(i -= g, i + g));
2418
+ if ((length += g + 1) > width) break;
2419
+ g = grouping[j = (j + 1) % grouping.length];
2420
+ }
2421
+
2422
+ return t.reverse().join(thousands);
2423
+ };
2424
+ }
2425
+
2426
+ function formatNumerals(numerals) {
2427
+ return function(value) {
2428
+ return value.replace(/[0-9]/g, function(i) {
2429
+ return numerals[+i];
2430
+ });
2431
+ };
2432
+ }
2433
+
2434
+ // [[fill]align][sign][symbol][0][width][,][.precision][~][type]
2435
+ var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
2436
+
2437
+ function formatSpecifier(specifier) {
2438
+ if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier);
2439
+ var match;
2440
+ return new FormatSpecifier({
2441
+ fill: match[1],
2442
+ align: match[2],
2443
+ sign: match[3],
2444
+ symbol: match[4],
2445
+ zero: match[5],
2446
+ width: match[6],
2447
+ comma: match[7],
2448
+ precision: match[8] && match[8].slice(1),
2449
+ trim: match[9],
2450
+ type: match[10]
2451
+ });
2452
+ }
2453
+
2454
+ formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof
2455
+
2456
+ function FormatSpecifier(specifier) {
2457
+ this.fill = specifier.fill === undefined ? " " : specifier.fill + "";
2458
+ this.align = specifier.align === undefined ? ">" : specifier.align + "";
2459
+ this.sign = specifier.sign === undefined ? "-" : specifier.sign + "";
2460
+ this.symbol = specifier.symbol === undefined ? "" : specifier.symbol + "";
2461
+ this.zero = !!specifier.zero;
2462
+ this.width = specifier.width === undefined ? undefined : +specifier.width;
2463
+ this.comma = !!specifier.comma;
2464
+ this.precision = specifier.precision === undefined ? undefined : +specifier.precision;
2465
+ this.trim = !!specifier.trim;
2466
+ this.type = specifier.type === undefined ? "" : specifier.type + "";
2467
+ }
2468
+
2469
+ FormatSpecifier.prototype.toString = function() {
2470
+ return this.fill
2471
+ + this.align
2472
+ + this.sign
2473
+ + this.symbol
2474
+ + (this.zero ? "0" : "")
2475
+ + (this.width === undefined ? "" : Math.max(1, this.width | 0))
2476
+ + (this.comma ? "," : "")
2477
+ + (this.precision === undefined ? "" : "." + Math.max(0, this.precision | 0))
2478
+ + (this.trim ? "~" : "")
2479
+ + this.type;
2480
+ };
2481
+
2482
+ // Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.
2483
+ function formatTrim(s) {
2484
+ out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {
2485
+ switch (s[i]) {
2486
+ case ".": i0 = i1 = i; break;
2487
+ case "0": if (i0 === 0) i0 = i; i1 = i; break;
2488
+ default: if (!+s[i]) break out; if (i0 > 0) i0 = 0; break;
2489
+ }
2490
+ }
2491
+ return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
2492
+ }
2493
+
2494
+ var prefixExponent;
2495
+
2496
+ function formatPrefixAuto(x, p) {
2497
+ var d = formatDecimalParts(x, p);
2498
+ if (!d) return x + "";
2499
+ var coefficient = d[0],
2500
+ exponent = d[1],
2501
+ i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,
2502
+ n = coefficient.length;
2503
+ return i === n ? coefficient
2504
+ : i > n ? coefficient + new Array(i - n + 1).join("0")
2505
+ : i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i)
2506
+ : "0." + new Array(1 - i).join("0") + formatDecimalParts(x, Math.max(0, p + i - 1))[0]; // less than 1y!
2507
+ }
2508
+
2509
+ function formatRounded(x, p) {
2510
+ var d = formatDecimalParts(x, p);
2511
+ if (!d) return x + "";
2512
+ var coefficient = d[0],
2513
+ exponent = d[1];
2514
+ return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient
2515
+ : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1)
2516
+ : coefficient + new Array(exponent - coefficient.length + 2).join("0");
2517
+ }
2518
+
2519
+ var formatTypes = {
2520
+ "%": (x, p) => (x * 100).toFixed(p),
2521
+ "b": (x) => Math.round(x).toString(2),
2522
+ "c": (x) => x + "",
2523
+ "d": formatDecimal,
2524
+ "e": (x, p) => x.toExponential(p),
2525
+ "f": (x, p) => x.toFixed(p),
2526
+ "g": (x, p) => x.toPrecision(p),
2527
+ "o": (x) => Math.round(x).toString(8),
2528
+ "p": (x, p) => formatRounded(x * 100, p),
2529
+ "r": formatRounded,
2530
+ "s": formatPrefixAuto,
2531
+ "X": (x) => Math.round(x).toString(16).toUpperCase(),
2532
+ "x": (x) => Math.round(x).toString(16)
2533
+ };
2534
+
2535
+ function identity(x) {
2536
+ return x;
2537
+ }
2538
+
2539
+ var map = Array.prototype.map,
2540
+ prefixes = ["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];
2541
+
2542
+ function formatLocale$1(locale) {
2543
+ var group = locale.grouping === undefined || locale.thousands === undefined ? identity : formatGroup(map.call(locale.grouping, Number), locale.thousands + ""),
2544
+ currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
2545
+ currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
2546
+ decimal = locale.decimal === undefined ? "." : locale.decimal + "",
2547
+ numerals = locale.numerals === undefined ? identity : formatNumerals(map.call(locale.numerals, String)),
2548
+ percent = locale.percent === undefined ? "%" : locale.percent + "",
2549
+ minus = locale.minus === undefined ? "−" : locale.minus + "",
2550
+ nan = locale.nan === undefined ? "NaN" : locale.nan + "";
2551
+
2552
+ function newFormat(specifier) {
2553
+ specifier = formatSpecifier(specifier);
2554
+
2555
+ var fill = specifier.fill,
2556
+ align = specifier.align,
2557
+ sign = specifier.sign,
2558
+ symbol = specifier.symbol,
2559
+ zero = specifier.zero,
2560
+ width = specifier.width,
2561
+ comma = specifier.comma,
2562
+ precision = specifier.precision,
2563
+ trim = specifier.trim,
2564
+ type = specifier.type;
2565
+
2566
+ // The "n" type is an alias for ",g".
2567
+ if (type === "n") comma = true, type = "g";
2568
+
2569
+ // The "" type, and any invalid type, is an alias for ".12~g".
2570
+ else if (!formatTypes[type]) precision === undefined && (precision = 12), trim = true, type = "g";
2571
+
2572
+ // If zero fill is specified, padding goes after sign and before digits.
2573
+ if (zero || (fill === "0" && align === "=")) zero = true, fill = "0", align = "=";
2574
+
2575
+ // Compute the prefix and suffix.
2576
+ // For SI-prefix, the suffix is lazily computed.
2577
+ var prefix = symbol === "$" ? currencyPrefix : symbol === "#" && /[boxX]/.test(type) ? "0" + type.toLowerCase() : "",
2578
+ suffix = symbol === "$" ? currencySuffix : /[%p]/.test(type) ? percent : "";
2579
+
2580
+ // What format function should we use?
2581
+ // Is this an integer type?
2582
+ // Can this type generate exponential notation?
2583
+ var formatType = formatTypes[type],
2584
+ maybeSuffix = /[defgprs%]/.test(type);
2585
+
2586
+ // Set the default precision if not specified,
2587
+ // or clamp the specified precision to the supported range.
2588
+ // For significant precision, it must be in [1, 21].
2589
+ // For fixed precision, it must be in [0, 20].
2590
+ precision = precision === undefined ? 6
2591
+ : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision))
2592
+ : Math.max(0, Math.min(20, precision));
2593
+
2594
+ function format(value) {
2595
+ var valuePrefix = prefix,
2596
+ valueSuffix = suffix,
2597
+ i, n, c;
2598
+
2599
+ if (type === "c") {
2600
+ valueSuffix = formatType(value) + valueSuffix;
2601
+ value = "";
2602
+ } else {
2603
+ value = +value;
2604
+
2605
+ // Determine the sign. -0 is not less than 0, but 1 / -0 is!
2606
+ var valueNegative = value < 0 || 1 / value < 0;
2607
+
2608
+ // Perform the initial formatting.
2609
+ value = isNaN(value) ? nan : formatType(Math.abs(value), precision);
2610
+
2611
+ // Trim insignificant zeros.
2612
+ if (trim) value = formatTrim(value);
2613
+
2614
+ // If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign.
2615
+ if (valueNegative && +value === 0 && sign !== "+") valueNegative = false;
2616
+
2617
+ // Compute the prefix and suffix.
2618
+ valuePrefix = (valueNegative ? (sign === "(" ? sign : minus) : sign === "-" || sign === "(" ? "" : sign) + valuePrefix;
2619
+ valueSuffix = (type === "s" ? prefixes[8 + prefixExponent / 3] : "") + valueSuffix + (valueNegative && sign === "(" ? ")" : "");
2620
+
2621
+ // Break the formatted value into the integer “value” part that can be
2622
+ // grouped, and fractional or exponential “suffix” part that is not.
2623
+ if (maybeSuffix) {
2624
+ i = -1, n = value.length;
2625
+ while (++i < n) {
2626
+ if (c = value.charCodeAt(i), 48 > c || c > 57) {
2627
+ valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;
2628
+ value = value.slice(0, i);
2629
+ break;
2630
+ }
2631
+ }
2632
+ }
2633
+ }
2634
+
2635
+ // If the fill character is not "0", grouping is applied before padding.
2636
+ if (comma && !zero) value = group(value, Infinity);
2637
+
2638
+ // Compute the padding.
2639
+ var length = valuePrefix.length + value.length + valueSuffix.length,
2640
+ padding = length < width ? new Array(width - length + 1).join(fill) : "";
2641
+
2642
+ // If the fill character is "0", grouping is applied after padding.
2643
+ if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = "";
2644
+
2645
+ // Reconstruct the final output based on the desired alignment.
2646
+ switch (align) {
2647
+ case "<": value = valuePrefix + value + valueSuffix + padding; break;
2648
+ case "=": value = valuePrefix + padding + value + valueSuffix; break;
2649
+ case "^": value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length); break;
2650
+ default: value = padding + valuePrefix + value + valueSuffix; break;
2651
+ }
2652
+
2653
+ return numerals(value);
2654
+ }
2655
+
2656
+ format.toString = function() {
2657
+ return specifier + "";
2658
+ };
2659
+
2660
+ return format;
2661
+ }
2662
+
2663
+ function formatPrefix(specifier, value) {
2664
+ var f = newFormat((specifier = formatSpecifier(specifier), specifier.type = "f", specifier)),
2665
+ e = Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3,
2666
+ k = Math.pow(10, -e),
2667
+ prefix = prefixes[8 + e / 3];
2668
+ return function(value) {
2669
+ return f(k * value) + prefix;
2670
+ };
2671
+ }
2672
+
2673
+ return {
2674
+ format: newFormat,
2675
+ formatPrefix: formatPrefix
2676
+ };
2677
+ }
2678
+
2679
+ var locale$1;
2680
+ var format;
2681
+ var formatPrefix;
2682
+
2683
+ defaultLocale$1({
2684
+ thousands: ",",
2685
+ grouping: [3],
2686
+ currency: ["$", ""]
2687
+ });
2688
+
2689
+ function defaultLocale$1(definition) {
2690
+ locale$1 = formatLocale$1(definition);
2691
+ format = locale$1.format;
2692
+ formatPrefix = locale$1.formatPrefix;
2693
+ return locale$1;
2694
+ }
2695
+
2696
+ function precisionFixed(step) {
2697
+ return Math.max(0, -exponent(Math.abs(step)));
2698
+ }
2699
+
2700
+ function precisionPrefix(step, value) {
2701
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));
2702
+ }
2703
+
2704
+ function precisionRound(step, max) {
2705
+ step = Math.abs(step), max = Math.abs(max) - step;
2706
+ return Math.max(0, exponent(max) - exponent(step)) + 1;
2707
+ }
2708
+
2709
+ function tickFormat(start, stop, count, specifier) {
2710
+ var step = tickStep(start, stop, count),
2711
+ precision;
2712
+ specifier = formatSpecifier(specifier == null ? ",f" : specifier);
2713
+ switch (specifier.type) {
2714
+ case "s": {
2715
+ var value = Math.max(Math.abs(start), Math.abs(stop));
2716
+ if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;
2717
+ return formatPrefix(specifier, value);
2718
+ }
2719
+ case "":
2720
+ case "e":
2721
+ case "g":
2722
+ case "p":
2723
+ case "r": {
2724
+ if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
2725
+ break;
2726
+ }
2727
+ case "f":
2728
+ case "%": {
2729
+ if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === "%") * 2;
2730
+ break;
2731
+ }
2732
+ }
2733
+ return format(specifier);
2734
+ }
2735
+
2736
+ function linearish(scale) {
2737
+ var domain = scale.domain;
2738
+
2739
+ scale.ticks = function(count) {
2740
+ var d = domain();
2741
+ return ticks(d[0], d[d.length - 1], count == null ? 10 : count);
2742
+ };
2743
+
2744
+ scale.tickFormat = function(count, specifier) {
2745
+ var d = domain();
2746
+ return tickFormat(d[0], d[d.length - 1], count == null ? 10 : count, specifier);
2747
+ };
2748
+
2749
+ scale.nice = function(count) {
2750
+ if (count == null) count = 10;
2751
+
2752
+ var d = domain();
2753
+ var i0 = 0;
2754
+ var i1 = d.length - 1;
2755
+ var start = d[i0];
2756
+ var stop = d[i1];
2757
+ var prestep;
2758
+ var step;
2759
+ var maxIter = 10;
2760
+
2761
+ if (stop < start) {
2762
+ step = start, start = stop, stop = step;
2763
+ step = i0, i0 = i1, i1 = step;
2764
+ }
2765
+
2766
+ while (maxIter-- > 0) {
2767
+ step = tickIncrement(start, stop, count);
2768
+ if (step === prestep) {
2769
+ d[i0] = start;
2770
+ d[i1] = stop;
2771
+ return domain(d);
2772
+ } else if (step > 0) {
2773
+ start = Math.floor(start / step) * step;
2774
+ stop = Math.ceil(stop / step) * step;
2775
+ } else if (step < 0) {
2776
+ start = Math.ceil(start * step) / step;
2777
+ stop = Math.floor(stop * step) / step;
2778
+ } else {
2779
+ break;
2780
+ }
2781
+ prestep = step;
2782
+ }
2783
+
2784
+ return scale;
2785
+ };
2786
+
2787
+ return scale;
2788
+ }
2789
+
2790
+ function linear() {
2791
+ var scale = continuous();
2792
+
2793
+ scale.copy = function() {
2794
+ return copy$1(scale, linear());
2795
+ };
2796
+
2797
+ initRange.apply(scale, arguments);
2798
+
2799
+ return linearish(scale);
2800
+ }
2801
+
2802
+ var t0 = new Date,
2803
+ t1 = new Date;
2804
+
2805
+ function newInterval(floori, offseti, count, field) {
2806
+
2807
+ function interval(date) {
2808
+ return floori(date = arguments.length === 0 ? new Date : new Date(+date)), date;
2809
+ }
2810
+
2811
+ interval.floor = function(date) {
2812
+ return floori(date = new Date(+date)), date;
2813
+ };
2814
+
2815
+ interval.ceil = function(date) {
2816
+ return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
2817
+ };
2818
+
2819
+ interval.round = function(date) {
2820
+ var d0 = interval(date),
2821
+ d1 = interval.ceil(date);
2822
+ return date - d0 < d1 - date ? d0 : d1;
2823
+ };
2824
+
2825
+ interval.offset = function(date, step) {
2826
+ return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
2827
+ };
2828
+
2829
+ interval.range = function(start, stop, step) {
2830
+ var range = [], previous;
2831
+ start = interval.ceil(start);
2832
+ step = step == null ? 1 : Math.floor(step);
2833
+ if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date
2834
+ do range.push(previous = new Date(+start)), offseti(start, step), floori(start);
2835
+ while (previous < start && start < stop);
2836
+ return range;
2837
+ };
2838
+
2839
+ interval.filter = function(test) {
2840
+ return newInterval(function(date) {
2841
+ if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);
2842
+ }, function(date, step) {
2843
+ if (date >= date) {
2844
+ if (step < 0) while (++step <= 0) {
2845
+ while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty
2846
+ } else while (--step >= 0) {
2847
+ while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty
2848
+ }
2849
+ }
2850
+ });
2851
+ };
2852
+
2853
+ if (count) {
2854
+ interval.count = function(start, end) {
2855
+ t0.setTime(+start), t1.setTime(+end);
2856
+ floori(t0), floori(t1);
2857
+ return Math.floor(count(t0, t1));
2858
+ };
2859
+
2860
+ interval.every = function(step) {
2861
+ step = Math.floor(step);
2862
+ return !isFinite(step) || !(step > 0) ? null
2863
+ : !(step > 1) ? interval
2864
+ : interval.filter(field
2865
+ ? function(d) { return field(d) % step === 0; }
2866
+ : function(d) { return interval.count(0, d) % step === 0; });
2867
+ };
2868
+ }
2869
+
2870
+ return interval;
2871
+ }
2872
+
2873
+ var millisecond = newInterval(function() {
2874
+ // noop
2875
+ }, function(date, step) {
2876
+ date.setTime(+date + step);
2877
+ }, function(start, end) {
2878
+ return end - start;
2879
+ });
2880
+
2881
+ // An optimized implementation for this simple case.
2882
+ millisecond.every = function(k) {
2883
+ k = Math.floor(k);
2884
+ if (!isFinite(k) || !(k > 0)) return null;
2885
+ if (!(k > 1)) return millisecond;
2886
+ return newInterval(function(date) {
2887
+ date.setTime(Math.floor(date / k) * k);
2888
+ }, function(date, step) {
2889
+ date.setTime(+date + step * k);
2890
+ }, function(start, end) {
2891
+ return (end - start) / k;
2892
+ });
2893
+ };
2894
+ millisecond.range;
2895
+
2896
+ const durationSecond = 1000;
2897
+ const durationMinute = durationSecond * 60;
2898
+ const durationHour = durationMinute * 60;
2899
+ const durationDay = durationHour * 24;
2900
+ const durationWeek = durationDay * 7;
2901
+
2902
+ var second = newInterval(function(date) {
2903
+ date.setTime(date - date.getMilliseconds());
2904
+ }, function(date, step) {
2905
+ date.setTime(+date + step * durationSecond);
2906
+ }, function(start, end) {
2907
+ return (end - start) / durationSecond;
2908
+ }, function(date) {
2909
+ return date.getUTCSeconds();
2910
+ });
2911
+ second.range;
2912
+
2913
+ var minute = newInterval(function(date) {
2914
+ date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond);
2915
+ }, function(date, step) {
2916
+ date.setTime(+date + step * durationMinute);
2917
+ }, function(start, end) {
2918
+ return (end - start) / durationMinute;
2919
+ }, function(date) {
2920
+ return date.getMinutes();
2921
+ });
2922
+ minute.range;
2923
+
2924
+ var hour = newInterval(function(date) {
2925
+ date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond - date.getMinutes() * durationMinute);
2926
+ }, function(date, step) {
2927
+ date.setTime(+date + step * durationHour);
2928
+ }, function(start, end) {
2929
+ return (end - start) / durationHour;
2930
+ }, function(date) {
2931
+ return date.getHours();
2932
+ });
2933
+ hour.range;
2934
+
2935
+ var day = newInterval(
2936
+ date => date.setHours(0, 0, 0, 0),
2937
+ (date, step) => date.setDate(date.getDate() + step),
2938
+ (start, end) => (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationDay,
2939
+ date => date.getDate() - 1
2940
+ );
2941
+ day.range;
2942
+
2943
+ function weekday(i) {
2944
+ return newInterval(function(date) {
2945
+ date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
2946
+ date.setHours(0, 0, 0, 0);
2947
+ }, function(date, step) {
2948
+ date.setDate(date.getDate() + step * 7);
2949
+ }, function(start, end) {
2950
+ return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationWeek;
2951
+ });
2952
+ }
2953
+
2954
+ var sunday = weekday(0);
2955
+ var monday = weekday(1);
2956
+ var tuesday = weekday(2);
2957
+ var wednesday = weekday(3);
2958
+ var thursday = weekday(4);
2959
+ var friday = weekday(5);
2960
+ var saturday = weekday(6);
2961
+
2962
+ sunday.range;
2963
+ monday.range;
2964
+ tuesday.range;
2965
+ wednesday.range;
2966
+ thursday.range;
2967
+ friday.range;
2968
+ saturday.range;
2969
+
2970
+ var month = newInterval(function(date) {
2971
+ date.setDate(1);
2972
+ date.setHours(0, 0, 0, 0);
2973
+ }, function(date, step) {
2974
+ date.setMonth(date.getMonth() + step);
2975
+ }, function(start, end) {
2976
+ return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
2977
+ }, function(date) {
2978
+ return date.getMonth();
2979
+ });
2980
+ month.range;
2981
+
2982
+ var year = newInterval(function(date) {
2983
+ date.setMonth(0, 1);
2984
+ date.setHours(0, 0, 0, 0);
2985
+ }, function(date, step) {
2986
+ date.setFullYear(date.getFullYear() + step);
2987
+ }, function(start, end) {
2988
+ return end.getFullYear() - start.getFullYear();
2989
+ }, function(date) {
2990
+ return date.getFullYear();
2991
+ });
2992
+
2993
+ // An optimized implementation for this simple case.
2994
+ year.every = function(k) {
2995
+ return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) {
2996
+ date.setFullYear(Math.floor(date.getFullYear() / k) * k);
2997
+ date.setMonth(0, 1);
2998
+ date.setHours(0, 0, 0, 0);
2999
+ }, function(date, step) {
3000
+ date.setFullYear(date.getFullYear() + step * k);
3001
+ });
3002
+ };
3003
+ year.range;
3004
+
3005
+ var utcMinute = newInterval(function(date) {
3006
+ date.setUTCSeconds(0, 0);
3007
+ }, function(date, step) {
3008
+ date.setTime(+date + step * durationMinute);
3009
+ }, function(start, end) {
3010
+ return (end - start) / durationMinute;
3011
+ }, function(date) {
3012
+ return date.getUTCMinutes();
3013
+ });
3014
+ utcMinute.range;
3015
+
3016
+ var utcHour = newInterval(function(date) {
3017
+ date.setUTCMinutes(0, 0, 0);
3018
+ }, function(date, step) {
3019
+ date.setTime(+date + step * durationHour);
3020
+ }, function(start, end) {
3021
+ return (end - start) / durationHour;
3022
+ }, function(date) {
3023
+ return date.getUTCHours();
3024
+ });
3025
+ utcHour.range;
3026
+
3027
+ var utcDay = newInterval(function(date) {
3028
+ date.setUTCHours(0, 0, 0, 0);
3029
+ }, function(date, step) {
3030
+ date.setUTCDate(date.getUTCDate() + step);
3031
+ }, function(start, end) {
3032
+ return (end - start) / durationDay;
3033
+ }, function(date) {
3034
+ return date.getUTCDate() - 1;
3035
+ });
3036
+ utcDay.range;
3037
+
3038
+ function utcWeekday(i) {
3039
+ return newInterval(function(date) {
3040
+ date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
3041
+ date.setUTCHours(0, 0, 0, 0);
3042
+ }, function(date, step) {
3043
+ date.setUTCDate(date.getUTCDate() + step * 7);
3044
+ }, function(start, end) {
3045
+ return (end - start) / durationWeek;
3046
+ });
3047
+ }
3048
+
3049
+ var utcSunday = utcWeekday(0);
3050
+ var utcMonday = utcWeekday(1);
3051
+ var utcTuesday = utcWeekday(2);
3052
+ var utcWednesday = utcWeekday(3);
3053
+ var utcThursday = utcWeekday(4);
3054
+ var utcFriday = utcWeekday(5);
3055
+ var utcSaturday = utcWeekday(6);
3056
+
3057
+ utcSunday.range;
3058
+ utcMonday.range;
3059
+ utcTuesday.range;
3060
+ utcWednesday.range;
3061
+ utcThursday.range;
3062
+ utcFriday.range;
3063
+ utcSaturday.range;
3064
+
3065
+ var utcMonth = newInterval(function(date) {
3066
+ date.setUTCDate(1);
3067
+ date.setUTCHours(0, 0, 0, 0);
3068
+ }, function(date, step) {
3069
+ date.setUTCMonth(date.getUTCMonth() + step);
3070
+ }, function(start, end) {
3071
+ return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
3072
+ }, function(date) {
3073
+ return date.getUTCMonth();
3074
+ });
3075
+ utcMonth.range;
3076
+
3077
+ var utcYear = newInterval(function(date) {
3078
+ date.setUTCMonth(0, 1);
3079
+ date.setUTCHours(0, 0, 0, 0);
3080
+ }, function(date, step) {
3081
+ date.setUTCFullYear(date.getUTCFullYear() + step);
3082
+ }, function(start, end) {
3083
+ return end.getUTCFullYear() - start.getUTCFullYear();
3084
+ }, function(date) {
3085
+ return date.getUTCFullYear();
3086
+ });
3087
+
3088
+ // An optimized implementation for this simple case.
3089
+ utcYear.every = function(k) {
3090
+ return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) {
3091
+ date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
3092
+ date.setUTCMonth(0, 1);
3093
+ date.setUTCHours(0, 0, 0, 0);
3094
+ }, function(date, step) {
3095
+ date.setUTCFullYear(date.getUTCFullYear() + step * k);
3096
+ });
3097
+ };
3098
+ utcYear.range;
3099
+
3100
+ function localDate(d) {
3101
+ if (0 <= d.y && d.y < 100) {
3102
+ var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);
3103
+ date.setFullYear(d.y);
3104
+ return date;
3105
+ }
3106
+ return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);
3107
+ }
3108
+
3109
+ function utcDate(d) {
3110
+ if (0 <= d.y && d.y < 100) {
3111
+ var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));
3112
+ date.setUTCFullYear(d.y);
3113
+ return date;
3114
+ }
3115
+ return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));
3116
+ }
3117
+
3118
+ function newDate(y, m, d) {
3119
+ return {y: y, m: m, d: d, H: 0, M: 0, S: 0, L: 0};
3120
+ }
3121
+
3122
+ function formatLocale(locale) {
3123
+ var locale_dateTime = locale.dateTime,
3124
+ locale_date = locale.date,
3125
+ locale_time = locale.time,
3126
+ locale_periods = locale.periods,
3127
+ locale_weekdays = locale.days,
3128
+ locale_shortWeekdays = locale.shortDays,
3129
+ locale_months = locale.months,
3130
+ locale_shortMonths = locale.shortMonths;
3131
+
3132
+ var periodRe = formatRe(locale_periods),
3133
+ periodLookup = formatLookup(locale_periods),
3134
+ weekdayRe = formatRe(locale_weekdays),
3135
+ weekdayLookup = formatLookup(locale_weekdays),
3136
+ shortWeekdayRe = formatRe(locale_shortWeekdays),
3137
+ shortWeekdayLookup = formatLookup(locale_shortWeekdays),
3138
+ monthRe = formatRe(locale_months),
3139
+ monthLookup = formatLookup(locale_months),
3140
+ shortMonthRe = formatRe(locale_shortMonths),
3141
+ shortMonthLookup = formatLookup(locale_shortMonths);
3142
+
3143
+ var formats = {
3144
+ "a": formatShortWeekday,
3145
+ "A": formatWeekday,
3146
+ "b": formatShortMonth,
3147
+ "B": formatMonth,
3148
+ "c": null,
3149
+ "d": formatDayOfMonth,
3150
+ "e": formatDayOfMonth,
3151
+ "f": formatMicroseconds,
3152
+ "g": formatYearISO,
3153
+ "G": formatFullYearISO,
3154
+ "H": formatHour24,
3155
+ "I": formatHour12,
3156
+ "j": formatDayOfYear,
3157
+ "L": formatMilliseconds,
3158
+ "m": formatMonthNumber,
3159
+ "M": formatMinutes,
3160
+ "p": formatPeriod,
3161
+ "q": formatQuarter,
3162
+ "Q": formatUnixTimestamp,
3163
+ "s": formatUnixTimestampSeconds,
3164
+ "S": formatSeconds,
3165
+ "u": formatWeekdayNumberMonday,
3166
+ "U": formatWeekNumberSunday,
3167
+ "V": formatWeekNumberISO,
3168
+ "w": formatWeekdayNumberSunday,
3169
+ "W": formatWeekNumberMonday,
3170
+ "x": null,
3171
+ "X": null,
3172
+ "y": formatYear,
3173
+ "Y": formatFullYear,
3174
+ "Z": formatZone,
3175
+ "%": formatLiteralPercent
3176
+ };
3177
+
3178
+ var utcFormats = {
3179
+ "a": formatUTCShortWeekday,
3180
+ "A": formatUTCWeekday,
3181
+ "b": formatUTCShortMonth,
3182
+ "B": formatUTCMonth,
3183
+ "c": null,
3184
+ "d": formatUTCDayOfMonth,
3185
+ "e": formatUTCDayOfMonth,
3186
+ "f": formatUTCMicroseconds,
3187
+ "g": formatUTCYearISO,
3188
+ "G": formatUTCFullYearISO,
3189
+ "H": formatUTCHour24,
3190
+ "I": formatUTCHour12,
3191
+ "j": formatUTCDayOfYear,
3192
+ "L": formatUTCMilliseconds,
3193
+ "m": formatUTCMonthNumber,
3194
+ "M": formatUTCMinutes,
3195
+ "p": formatUTCPeriod,
3196
+ "q": formatUTCQuarter,
3197
+ "Q": formatUnixTimestamp,
3198
+ "s": formatUnixTimestampSeconds,
3199
+ "S": formatUTCSeconds,
3200
+ "u": formatUTCWeekdayNumberMonday,
3201
+ "U": formatUTCWeekNumberSunday,
3202
+ "V": formatUTCWeekNumberISO,
3203
+ "w": formatUTCWeekdayNumberSunday,
3204
+ "W": formatUTCWeekNumberMonday,
3205
+ "x": null,
3206
+ "X": null,
3207
+ "y": formatUTCYear,
3208
+ "Y": formatUTCFullYear,
3209
+ "Z": formatUTCZone,
3210
+ "%": formatLiteralPercent
3211
+ };
3212
+
3213
+ var parses = {
3214
+ "a": parseShortWeekday,
3215
+ "A": parseWeekday,
3216
+ "b": parseShortMonth,
3217
+ "B": parseMonth,
3218
+ "c": parseLocaleDateTime,
3219
+ "d": parseDayOfMonth,
3220
+ "e": parseDayOfMonth,
3221
+ "f": parseMicroseconds,
3222
+ "g": parseYear,
3223
+ "G": parseFullYear,
3224
+ "H": parseHour24,
3225
+ "I": parseHour24,
3226
+ "j": parseDayOfYear,
3227
+ "L": parseMilliseconds,
3228
+ "m": parseMonthNumber,
3229
+ "M": parseMinutes,
3230
+ "p": parsePeriod,
3231
+ "q": parseQuarter,
3232
+ "Q": parseUnixTimestamp,
3233
+ "s": parseUnixTimestampSeconds,
3234
+ "S": parseSeconds,
3235
+ "u": parseWeekdayNumberMonday,
3236
+ "U": parseWeekNumberSunday,
3237
+ "V": parseWeekNumberISO,
3238
+ "w": parseWeekdayNumberSunday,
3239
+ "W": parseWeekNumberMonday,
3240
+ "x": parseLocaleDate,
3241
+ "X": parseLocaleTime,
3242
+ "y": parseYear,
3243
+ "Y": parseFullYear,
3244
+ "Z": parseZone,
3245
+ "%": parseLiteralPercent
3246
+ };
3247
+
3248
+ // These recursive directive definitions must be deferred.
3249
+ formats.x = newFormat(locale_date, formats);
3250
+ formats.X = newFormat(locale_time, formats);
3251
+ formats.c = newFormat(locale_dateTime, formats);
3252
+ utcFormats.x = newFormat(locale_date, utcFormats);
3253
+ utcFormats.X = newFormat(locale_time, utcFormats);
3254
+ utcFormats.c = newFormat(locale_dateTime, utcFormats);
3255
+
3256
+ function newFormat(specifier, formats) {
3257
+ return function(date) {
3258
+ var string = [],
3259
+ i = -1,
3260
+ j = 0,
3261
+ n = specifier.length,
3262
+ c,
3263
+ pad,
3264
+ format;
3265
+
3266
+ if (!(date instanceof Date)) date = new Date(+date);
3267
+
3268
+ while (++i < n) {
3269
+ if (specifier.charCodeAt(i) === 37) {
3270
+ string.push(specifier.slice(j, i));
3271
+ if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);
3272
+ else pad = c === "e" ? " " : "0";
3273
+ if (format = formats[c]) c = format(date, pad);
3274
+ string.push(c);
3275
+ j = i + 1;
3276
+ }
3277
+ }
3278
+
3279
+ string.push(specifier.slice(j, i));
3280
+ return string.join("");
3281
+ };
3282
+ }
3283
+
3284
+ function newParse(specifier, Z) {
3285
+ return function(string) {
3286
+ var d = newDate(1900, undefined, 1),
3287
+ i = parseSpecifier(d, specifier, string += "", 0),
3288
+ week, day$1;
3289
+ if (i != string.length) return null;
3290
+
3291
+ // If a UNIX timestamp is specified, return it.
3292
+ if ("Q" in d) return new Date(d.Q);
3293
+ if ("s" in d) return new Date(d.s * 1000 + ("L" in d ? d.L : 0));
3294
+
3295
+ // If this is utcParse, never use the local timezone.
3296
+ if (Z && !("Z" in d)) d.Z = 0;
3297
+
3298
+ // The am-pm flag is 0 for AM, and 1 for PM.
3299
+ if ("p" in d) d.H = d.H % 12 + d.p * 12;
3300
+
3301
+ // If the month was not specified, inherit from the quarter.
3302
+ if (d.m === undefined) d.m = "q" in d ? d.q : 0;
3303
+
3304
+ // Convert day-of-week and week-of-year to day-of-year.
3305
+ if ("V" in d) {
3306
+ if (d.V < 1 || d.V > 53) return null;
3307
+ if (!("w" in d)) d.w = 1;
3308
+ if ("Z" in d) {
3309
+ week = utcDate(newDate(d.y, 0, 1)), day$1 = week.getUTCDay();
3310
+ week = day$1 > 4 || day$1 === 0 ? utcMonday.ceil(week) : utcMonday(week);
3311
+ week = utcDay.offset(week, (d.V - 1) * 7);
3312
+ d.y = week.getUTCFullYear();
3313
+ d.m = week.getUTCMonth();
3314
+ d.d = week.getUTCDate() + (d.w + 6) % 7;
3315
+ } else {
3316
+ week = localDate(newDate(d.y, 0, 1)), day$1 = week.getDay();
3317
+ week = day$1 > 4 || day$1 === 0 ? monday.ceil(week) : monday(week);
3318
+ week = day.offset(week, (d.V - 1) * 7);
3319
+ d.y = week.getFullYear();
3320
+ d.m = week.getMonth();
3321
+ d.d = week.getDate() + (d.w + 6) % 7;
3322
+ }
3323
+ } else if ("W" in d || "U" in d) {
3324
+ if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
3325
+ day$1 = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
3326
+ d.m = 0;
3327
+ d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day$1 + 5) % 7 : d.w + d.U * 7 - (day$1 + 6) % 7;
3328
+ }
3329
+
3330
+ // If a time zone is specified, all fields are interpreted as UTC and then
3331
+ // offset according to the specified time zone.
3332
+ if ("Z" in d) {
3333
+ d.H += d.Z / 100 | 0;
3334
+ d.M += d.Z % 100;
3335
+ return utcDate(d);
3336
+ }
3337
+
3338
+ // Otherwise, all fields are in local time.
3339
+ return localDate(d);
3340
+ };
3341
+ }
3342
+
3343
+ function parseSpecifier(d, specifier, string, j) {
3344
+ var i = 0,
3345
+ n = specifier.length,
3346
+ m = string.length,
3347
+ c,
3348
+ parse;
3349
+
3350
+ while (i < n) {
3351
+ if (j >= m) return -1;
3352
+ c = specifier.charCodeAt(i++);
3353
+ if (c === 37) {
3354
+ c = specifier.charAt(i++);
3355
+ parse = parses[c in pads ? specifier.charAt(i++) : c];
3356
+ if (!parse || ((j = parse(d, string, j)) < 0)) return -1;
3357
+ } else if (c != string.charCodeAt(j++)) {
3358
+ return -1;
3359
+ }
3360
+ }
3361
+
3362
+ return j;
3363
+ }
3364
+
3365
+ function parsePeriod(d, string, i) {
3366
+ var n = periodRe.exec(string.slice(i));
3367
+ return n ? (d.p = periodLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3368
+ }
3369
+
3370
+ function parseShortWeekday(d, string, i) {
3371
+ var n = shortWeekdayRe.exec(string.slice(i));
3372
+ return n ? (d.w = shortWeekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3373
+ }
3374
+
3375
+ function parseWeekday(d, string, i) {
3376
+ var n = weekdayRe.exec(string.slice(i));
3377
+ return n ? (d.w = weekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3378
+ }
3379
+
3380
+ function parseShortMonth(d, string, i) {
3381
+ var n = shortMonthRe.exec(string.slice(i));
3382
+ return n ? (d.m = shortMonthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3383
+ }
3384
+
3385
+ function parseMonth(d, string, i) {
3386
+ var n = monthRe.exec(string.slice(i));
3387
+ return n ? (d.m = monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3388
+ }
3389
+
3390
+ function parseLocaleDateTime(d, string, i) {
3391
+ return parseSpecifier(d, locale_dateTime, string, i);
3392
+ }
3393
+
3394
+ function parseLocaleDate(d, string, i) {
3395
+ return parseSpecifier(d, locale_date, string, i);
3396
+ }
3397
+
3398
+ function parseLocaleTime(d, string, i) {
3399
+ return parseSpecifier(d, locale_time, string, i);
3400
+ }
3401
+
3402
+ function formatShortWeekday(d) {
3403
+ return locale_shortWeekdays[d.getDay()];
3404
+ }
3405
+
3406
+ function formatWeekday(d) {
3407
+ return locale_weekdays[d.getDay()];
3408
+ }
3409
+
3410
+ function formatShortMonth(d) {
3411
+ return locale_shortMonths[d.getMonth()];
3412
+ }
3413
+
3414
+ function formatMonth(d) {
3415
+ return locale_months[d.getMonth()];
3416
+ }
3417
+
3418
+ function formatPeriod(d) {
3419
+ return locale_periods[+(d.getHours() >= 12)];
3420
+ }
3421
+
3422
+ function formatQuarter(d) {
3423
+ return 1 + ~~(d.getMonth() / 3);
3424
+ }
3425
+
3426
+ function formatUTCShortWeekday(d) {
3427
+ return locale_shortWeekdays[d.getUTCDay()];
3428
+ }
3429
+
3430
+ function formatUTCWeekday(d) {
3431
+ return locale_weekdays[d.getUTCDay()];
3432
+ }
3433
+
3434
+ function formatUTCShortMonth(d) {
3435
+ return locale_shortMonths[d.getUTCMonth()];
3436
+ }
3437
+
3438
+ function formatUTCMonth(d) {
3439
+ return locale_months[d.getUTCMonth()];
3440
+ }
3441
+
3442
+ function formatUTCPeriod(d) {
3443
+ return locale_periods[+(d.getUTCHours() >= 12)];
3444
+ }
3445
+
3446
+ function formatUTCQuarter(d) {
3447
+ return 1 + ~~(d.getUTCMonth() / 3);
3448
+ }
3449
+
3450
+ return {
3451
+ format: function(specifier) {
3452
+ var f = newFormat(specifier += "", formats);
3453
+ f.toString = function() { return specifier; };
3454
+ return f;
3455
+ },
3456
+ parse: function(specifier) {
3457
+ var p = newParse(specifier += "", false);
3458
+ p.toString = function() { return specifier; };
3459
+ return p;
3460
+ },
3461
+ utcFormat: function(specifier) {
3462
+ var f = newFormat(specifier += "", utcFormats);
3463
+ f.toString = function() { return specifier; };
3464
+ return f;
3465
+ },
3466
+ utcParse: function(specifier) {
3467
+ var p = newParse(specifier += "", true);
3468
+ p.toString = function() { return specifier; };
3469
+ return p;
3470
+ }
3471
+ };
3472
+ }
3473
+
3474
+ var pads = {"-": "", "_": " ", "0": "0"},
3475
+ numberRe = /^\s*\d+/, // note: ignores next directive
3476
+ percentRe = /^%/,
3477
+ requoteRe = /[\\^$*+?|[\]().{}]/g;
3478
+
3479
+ function pad(value, fill, width) {
3480
+ var sign = value < 0 ? "-" : "",
3481
+ string = (sign ? -value : value) + "",
3482
+ length = string.length;
3483
+ return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);
3484
+ }
3485
+
3486
+ function requote(s) {
3487
+ return s.replace(requoteRe, "\\$&");
3488
+ }
3489
+
3490
+ function formatRe(names) {
3491
+ return new RegExp("^(?:" + names.map(requote).join("|") + ")", "i");
3492
+ }
3493
+
3494
+ function formatLookup(names) {
3495
+ return new Map(names.map((name, i) => [name.toLowerCase(), i]));
3496
+ }
3497
+
3498
+ function parseWeekdayNumberSunday(d, string, i) {
3499
+ var n = numberRe.exec(string.slice(i, i + 1));
3500
+ return n ? (d.w = +n[0], i + n[0].length) : -1;
3501
+ }
3502
+
3503
+ function parseWeekdayNumberMonday(d, string, i) {
3504
+ var n = numberRe.exec(string.slice(i, i + 1));
3505
+ return n ? (d.u = +n[0], i + n[0].length) : -1;
3506
+ }
3507
+
3508
+ function parseWeekNumberSunday(d, string, i) {
3509
+ var n = numberRe.exec(string.slice(i, i + 2));
3510
+ return n ? (d.U = +n[0], i + n[0].length) : -1;
3511
+ }
3512
+
3513
+ function parseWeekNumberISO(d, string, i) {
3514
+ var n = numberRe.exec(string.slice(i, i + 2));
3515
+ return n ? (d.V = +n[0], i + n[0].length) : -1;
3516
+ }
3517
+
3518
+ function parseWeekNumberMonday(d, string, i) {
3519
+ var n = numberRe.exec(string.slice(i, i + 2));
3520
+ return n ? (d.W = +n[0], i + n[0].length) : -1;
3521
+ }
3522
+
3523
+ function parseFullYear(d, string, i) {
3524
+ var n = numberRe.exec(string.slice(i, i + 4));
3525
+ return n ? (d.y = +n[0], i + n[0].length) : -1;
3526
+ }
3527
+
3528
+ function parseYear(d, string, i) {
3529
+ var n = numberRe.exec(string.slice(i, i + 2));
3530
+ return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;
3531
+ }
3532
+
3533
+ function parseZone(d, string, i) {
3534
+ var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6));
3535
+ return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1;
3536
+ }
3537
+
3538
+ function parseQuarter(d, string, i) {
3539
+ var n = numberRe.exec(string.slice(i, i + 1));
3540
+ return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;
3541
+ }
3542
+
3543
+ function parseMonthNumber(d, string, i) {
3544
+ var n = numberRe.exec(string.slice(i, i + 2));
3545
+ return n ? (d.m = n[0] - 1, i + n[0].length) : -1;
3546
+ }
3547
+
3548
+ function parseDayOfMonth(d, string, i) {
3549
+ var n = numberRe.exec(string.slice(i, i + 2));
3550
+ return n ? (d.d = +n[0], i + n[0].length) : -1;
3551
+ }
3552
+
3553
+ function parseDayOfYear(d, string, i) {
3554
+ var n = numberRe.exec(string.slice(i, i + 3));
3555
+ return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;
3556
+ }
3557
+
3558
+ function parseHour24(d, string, i) {
3559
+ var n = numberRe.exec(string.slice(i, i + 2));
3560
+ return n ? (d.H = +n[0], i + n[0].length) : -1;
3561
+ }
3562
+
3563
+ function parseMinutes(d, string, i) {
3564
+ var n = numberRe.exec(string.slice(i, i + 2));
3565
+ return n ? (d.M = +n[0], i + n[0].length) : -1;
3566
+ }
3567
+
3568
+ function parseSeconds(d, string, i) {
3569
+ var n = numberRe.exec(string.slice(i, i + 2));
3570
+ return n ? (d.S = +n[0], i + n[0].length) : -1;
3571
+ }
3572
+
3573
+ function parseMilliseconds(d, string, i) {
3574
+ var n = numberRe.exec(string.slice(i, i + 3));
3575
+ return n ? (d.L = +n[0], i + n[0].length) : -1;
3576
+ }
3577
+
3578
+ function parseMicroseconds(d, string, i) {
3579
+ var n = numberRe.exec(string.slice(i, i + 6));
3580
+ return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;
3581
+ }
3582
+
3583
+ function parseLiteralPercent(d, string, i) {
3584
+ var n = percentRe.exec(string.slice(i, i + 1));
3585
+ return n ? i + n[0].length : -1;
3586
+ }
3587
+
3588
+ function parseUnixTimestamp(d, string, i) {
3589
+ var n = numberRe.exec(string.slice(i));
3590
+ return n ? (d.Q = +n[0], i + n[0].length) : -1;
3591
+ }
3592
+
3593
+ function parseUnixTimestampSeconds(d, string, i) {
3594
+ var n = numberRe.exec(string.slice(i));
3595
+ return n ? (d.s = +n[0], i + n[0].length) : -1;
3596
+ }
3597
+
3598
+ function formatDayOfMonth(d, p) {
3599
+ return pad(d.getDate(), p, 2);
3600
+ }
3601
+
3602
+ function formatHour24(d, p) {
3603
+ return pad(d.getHours(), p, 2);
3604
+ }
3605
+
3606
+ function formatHour12(d, p) {
3607
+ return pad(d.getHours() % 12 || 12, p, 2);
3608
+ }
3609
+
3610
+ function formatDayOfYear(d, p) {
3611
+ return pad(1 + day.count(year(d), d), p, 3);
3612
+ }
3613
+
3614
+ function formatMilliseconds(d, p) {
3615
+ return pad(d.getMilliseconds(), p, 3);
3616
+ }
3617
+
3618
+ function formatMicroseconds(d, p) {
3619
+ return formatMilliseconds(d, p) + "000";
3620
+ }
3621
+
3622
+ function formatMonthNumber(d, p) {
3623
+ return pad(d.getMonth() + 1, p, 2);
3624
+ }
3625
+
3626
+ function formatMinutes(d, p) {
3627
+ return pad(d.getMinutes(), p, 2);
3628
+ }
3629
+
3630
+ function formatSeconds(d, p) {
3631
+ return pad(d.getSeconds(), p, 2);
3632
+ }
3633
+
3634
+ function formatWeekdayNumberMonday(d) {
3635
+ var day = d.getDay();
3636
+ return day === 0 ? 7 : day;
3637
+ }
3638
+
3639
+ function formatWeekNumberSunday(d, p) {
3640
+ return pad(sunday.count(year(d) - 1, d), p, 2);
3641
+ }
3642
+
3643
+ function dISO(d) {
3644
+ var day = d.getDay();
3645
+ return (day >= 4 || day === 0) ? thursday(d) : thursday.ceil(d);
3646
+ }
3647
+
3648
+ function formatWeekNumberISO(d, p) {
3649
+ d = dISO(d);
3650
+ return pad(thursday.count(year(d), d) + (year(d).getDay() === 4), p, 2);
3651
+ }
3652
+
3653
+ function formatWeekdayNumberSunday(d) {
3654
+ return d.getDay();
3655
+ }
3656
+
3657
+ function formatWeekNumberMonday(d, p) {
3658
+ return pad(monday.count(year(d) - 1, d), p, 2);
3659
+ }
3660
+
3661
+ function formatYear(d, p) {
3662
+ return pad(d.getFullYear() % 100, p, 2);
3663
+ }
3664
+
3665
+ function formatYearISO(d, p) {
3666
+ d = dISO(d);
3667
+ return pad(d.getFullYear() % 100, p, 2);
3668
+ }
3669
+
3670
+ function formatFullYear(d, p) {
3671
+ return pad(d.getFullYear() % 10000, p, 4);
3672
+ }
3673
+
3674
+ function formatFullYearISO(d, p) {
3675
+ var day = d.getDay();
3676
+ d = (day >= 4 || day === 0) ? thursday(d) : thursday.ceil(d);
3677
+ return pad(d.getFullYear() % 10000, p, 4);
3678
+ }
3679
+
3680
+ function formatZone(d) {
3681
+ var z = d.getTimezoneOffset();
3682
+ return (z > 0 ? "-" : (z *= -1, "+"))
3683
+ + pad(z / 60 | 0, "0", 2)
3684
+ + pad(z % 60, "0", 2);
3685
+ }
3686
+
3687
+ function formatUTCDayOfMonth(d, p) {
3688
+ return pad(d.getUTCDate(), p, 2);
3689
+ }
3690
+
3691
+ function formatUTCHour24(d, p) {
3692
+ return pad(d.getUTCHours(), p, 2);
3693
+ }
3694
+
3695
+ function formatUTCHour12(d, p) {
3696
+ return pad(d.getUTCHours() % 12 || 12, p, 2);
3697
+ }
3698
+
3699
+ function formatUTCDayOfYear(d, p) {
3700
+ return pad(1 + utcDay.count(utcYear(d), d), p, 3);
3701
+ }
3702
+
3703
+ function formatUTCMilliseconds(d, p) {
3704
+ return pad(d.getUTCMilliseconds(), p, 3);
3705
+ }
3706
+
3707
+ function formatUTCMicroseconds(d, p) {
3708
+ return formatUTCMilliseconds(d, p) + "000";
3709
+ }
3710
+
3711
+ function formatUTCMonthNumber(d, p) {
3712
+ return pad(d.getUTCMonth() + 1, p, 2);
3713
+ }
3714
+
3715
+ function formatUTCMinutes(d, p) {
3716
+ return pad(d.getUTCMinutes(), p, 2);
3717
+ }
3718
+
3719
+ function formatUTCSeconds(d, p) {
3720
+ return pad(d.getUTCSeconds(), p, 2);
3721
+ }
3722
+
3723
+ function formatUTCWeekdayNumberMonday(d) {
3724
+ var dow = d.getUTCDay();
3725
+ return dow === 0 ? 7 : dow;
3726
+ }
3727
+
3728
+ function formatUTCWeekNumberSunday(d, p) {
3729
+ return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);
3730
+ }
3731
+
3732
+ function UTCdISO(d) {
3733
+ var day = d.getUTCDay();
3734
+ return (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
3735
+ }
3736
+
3737
+ function formatUTCWeekNumberISO(d, p) {
3738
+ d = UTCdISO(d);
3739
+ return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
3740
+ }
3741
+
3742
+ function formatUTCWeekdayNumberSunday(d) {
3743
+ return d.getUTCDay();
3744
+ }
3745
+
3746
+ function formatUTCWeekNumberMonday(d, p) {
3747
+ return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);
3748
+ }
3749
+
3750
+ function formatUTCYear(d, p) {
3751
+ return pad(d.getUTCFullYear() % 100, p, 2);
3752
+ }
3753
+
3754
+ function formatUTCYearISO(d, p) {
3755
+ d = UTCdISO(d);
3756
+ return pad(d.getUTCFullYear() % 100, p, 2);
3757
+ }
3758
+
3759
+ function formatUTCFullYear(d, p) {
3760
+ return pad(d.getUTCFullYear() % 10000, p, 4);
3761
+ }
3762
+
3763
+ function formatUTCFullYearISO(d, p) {
3764
+ var day = d.getUTCDay();
3765
+ d = (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
3766
+ return pad(d.getUTCFullYear() % 10000, p, 4);
3767
+ }
3768
+
3769
+ function formatUTCZone() {
3770
+ return "+0000";
3771
+ }
3772
+
3773
+ function formatLiteralPercent() {
3774
+ return "%";
3775
+ }
3776
+
3777
+ function formatUnixTimestamp(d) {
3778
+ return +d;
3779
+ }
3780
+
3781
+ function formatUnixTimestampSeconds(d) {
3782
+ return Math.floor(+d / 1000);
3783
+ }
3784
+
3785
+ var locale;
3786
+ var utcFormat;
3787
+ var utcParse;
3788
+
3789
+ defaultLocale({
3790
+ dateTime: "%x, %X",
3791
+ date: "%-m/%-d/%Y",
3792
+ time: "%-I:%M:%S %p",
3793
+ periods: ["AM", "PM"],
3794
+ days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
3795
+ shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
3796
+ months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
3797
+ shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
3798
+ });
3799
+
3800
+ function defaultLocale(definition) {
3801
+ locale = formatLocale(definition);
3802
+ locale.format;
3803
+ locale.parse;
3804
+ utcFormat = locale.utcFormat;
3805
+ utcParse = locale.utcParse;
3806
+ return locale;
3807
+ }
3808
+
3809
+ var isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ";
3810
+
3811
+ function formatIsoNative(date) {
3812
+ return date.toISOString();
3813
+ }
3814
+
3815
+ Date.prototype.toISOString
3816
+ ? formatIsoNative
3817
+ : utcFormat(isoSpecifier);
3818
+
3819
+ function parseIsoNative(string) {
3820
+ var date = new Date(string);
3821
+ return isNaN(date) ? null : date;
3822
+ }
3823
+
3824
+ +new Date("2000-01-01T00:00:00.000Z")
3825
+ ? parseIsoNative
3826
+ : utcParse(isoSpecifier);
3827
+
3828
+ function transformer() {
3829
+ var x0 = 0,
3830
+ x1 = 1,
3831
+ t0,
3832
+ t1,
3833
+ k10,
3834
+ transform,
3835
+ interpolator = identity$1,
3836
+ clamp = false,
3837
+ unknown;
3838
+
3839
+ function scale(x) {
3840
+ return x == null || isNaN(x = +x) ? unknown : interpolator(k10 === 0 ? 0.5 : (x = (transform(x) - t0) * k10, clamp ? Math.max(0, Math.min(1, x)) : x));
3841
+ }
3842
+
3843
+ scale.domain = function(_) {
3844
+ return arguments.length ? ([x0, x1] = _, t0 = transform(x0 = +x0), t1 = transform(x1 = +x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0), scale) : [x0, x1];
3845
+ };
3846
+
3847
+ scale.clamp = function(_) {
3848
+ return arguments.length ? (clamp = !!_, scale) : clamp;
3849
+ };
3850
+
3851
+ scale.interpolator = function(_) {
3852
+ return arguments.length ? (interpolator = _, scale) : interpolator;
3853
+ };
3854
+
3855
+ function range(interpolate) {
3856
+ return function(_) {
3857
+ var r0, r1;
3858
+ return arguments.length ? ([r0, r1] = _, interpolator = interpolate(r0, r1), scale) : [interpolator(0), interpolator(1)];
3859
+ };
3860
+ }
3861
+
3862
+ scale.range = range(interpolate);
3863
+
3864
+ scale.rangeRound = range(interpolateRound);
3865
+
3866
+ scale.unknown = function(_) {
3867
+ return arguments.length ? (unknown = _, scale) : unknown;
3868
+ };
3869
+
3870
+ return function(t) {
3871
+ transform = t, t0 = t(x0), t1 = t(x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0);
3872
+ return scale;
3873
+ };
3874
+ }
3875
+
3876
+ function copy(source, target) {
3877
+ return target
3878
+ .domain(source.domain())
3879
+ .interpolator(source.interpolator())
3880
+ .clamp(source.clamp())
3881
+ .unknown(source.unknown());
3882
+ }
3883
+
3884
+ function sequential() {
3885
+ var scale = linearish(transformer()(identity$1));
3886
+
3887
+ scale.copy = function() {
3888
+ return copy(scale, sequential());
3889
+ };
3890
+
3891
+ return initInterpolator.apply(scale, arguments);
3892
+ }
3893
+
3894
+ const COLOR_BASE = "#cecece";
3895
+
3896
+ // https://www.w3.org/TR/WCAG20/#relativeluminancedef
3897
+ const rc = 0.2126;
3898
+ const gc = 0.7152;
3899
+ const bc = 0.0722;
3900
+ // low-gamma adjust coefficient
3901
+ const lowc = 1 / 12.92;
3902
+ function adjustGamma(p) {
3903
+ return Math.pow((p + 0.055) / 1.055, 2.4);
3904
+ }
3905
+ function relativeLuminance(o) {
3906
+ const rsrgb = o.r / 255;
3907
+ const gsrgb = o.g / 255;
3908
+ const bsrgb = o.b / 255;
3909
+ const r = rsrgb <= 0.03928 ? rsrgb * lowc : adjustGamma(rsrgb);
3910
+ const g = gsrgb <= 0.03928 ? gsrgb * lowc : adjustGamma(gsrgb);
3911
+ const b = bsrgb <= 0.03928 ? bsrgb * lowc : adjustGamma(bsrgb);
3912
+ return r * rc + g * gc + b * bc;
3913
+ }
3914
+ const createRainbowColor = (root) => {
3915
+ const colorParentMap = new Map();
3916
+ colorParentMap.set(root, COLOR_BASE);
3917
+ if (root.children != null) {
3918
+ const colorScale = sequential([0, root.children.length], (n) => hsl(360 * n, 0.3, 0.85));
3919
+ root.children.forEach((c, id) => {
3920
+ colorParentMap.set(c, colorScale(id).toString());
3921
+ });
3922
+ }
3923
+ const colorMap = new Map();
3924
+ const lightScale = linear().domain([0, root.height]).range([0.9, 0.3]);
3925
+ const getBackgroundColor = (node) => {
3926
+ const parents = node.ancestors();
3927
+ const colorStr = parents.length === 1 ? colorParentMap.get(parents[0]) : colorParentMap.get(parents[parents.length - 2]);
3928
+ const hslColor = hsl(colorStr);
3929
+ hslColor.l = lightScale(node.depth);
3930
+ return hslColor;
3931
+ };
3932
+ return (node) => {
3933
+ if (!colorMap.has(node)) {
3934
+ const backgroundColor = getBackgroundColor(node);
3935
+ const l = relativeLuminance(backgroundColor.rgb());
3936
+ const fontColor = l > 0.19 ? "#000" : "#fff";
3937
+ colorMap.set(node, {
3938
+ backgroundColor: backgroundColor.toString(),
3939
+ fontColor,
3940
+ });
3941
+ }
3942
+ return colorMap.get(node);
3943
+ };
3944
+ };
3945
+
3946
+ const StaticContext = B$1({});
3947
+ const drawChart = (parentNode, data, width, height) => {
3948
+ const availableSizeProperties = getAvailableSizeOptions(data.options);
3949
+ console.time("layout create");
3950
+ const layout = treemap()
3951
+ .size([width, height])
3952
+ .paddingOuter(PADDING)
3953
+ .paddingTop(TOP_PADDING)
3954
+ .paddingInner(PADDING)
3955
+ .round(true)
3956
+ .tile(treemapResquarify);
3957
+ console.timeEnd("layout create");
3958
+ console.time("rawHierarchy create");
3959
+ const rawHierarchy = hierarchy(data.tree);
3960
+ console.timeEnd("rawHierarchy create");
3961
+ const nodeSizesCache = new Map();
3962
+ const nodeIdsCache = new Map();
3963
+ const getModuleSize = (node, sizeKey) => { var _a, _b; return (_b = (_a = nodeSizesCache.get(node)) === null || _a === void 0 ? void 0 : _a[sizeKey]) !== null && _b !== void 0 ? _b : 0; };
3964
+ console.time("rawHierarchy eachAfter cache");
3965
+ rawHierarchy.eachAfter((node) => {
3966
+ var _a;
3967
+ const nodeData = node.data;
3968
+ nodeIdsCache.set(nodeData, {
3969
+ nodeUid: generateUniqueId("node"),
3970
+ clipUid: generateUniqueId("clip"),
3971
+ });
3972
+ const sizes = { renderedLength: 0, gzipLength: 0, brotliLength: 0 };
3973
+ if (isModuleTree(nodeData)) {
3974
+ for (const sizeKey of availableSizeProperties) {
3975
+ sizes[sizeKey] = nodeData.children.reduce((acc, child) => getModuleSize(child, sizeKey) + acc, 0);
3976
+ }
3977
+ }
3978
+ else {
3979
+ for (const sizeKey of availableSizeProperties) {
3980
+ sizes[sizeKey] = (_a = data.nodeParts[nodeData.uid][sizeKey]) !== null && _a !== void 0 ? _a : 0;
3981
+ }
3982
+ }
3983
+ nodeSizesCache.set(nodeData, sizes);
3984
+ });
3985
+ console.timeEnd("rawHierarchy eachAfter cache");
3986
+ const getModuleIds = (node) => nodeIdsCache.get(node);
3987
+ console.time("color");
3988
+ const getModuleColor = createRainbowColor(rawHierarchy);
3989
+ console.timeEnd("color");
3990
+ P(e$1(StaticContext.Provider, Object.assign({ value: {
3991
+ data,
3992
+ availableSizeProperties,
3993
+ width,
3994
+ height,
3995
+ getModuleSize,
3996
+ getModuleIds,
3997
+ getModuleColor,
3998
+ rawHierarchy,
3999
+ layout,
4000
+ } }, { children: e$1(Main, {}) })), parentNode);
4001
+ };
4002
+
4003
+ exports.StaticContext = StaticContext;
4004
+ exports["default"] = drawChart;
4005
+
4006
+ Object.defineProperty(exports, '__esModule', { value: true });
4007
+
4008
+ return exports;
4009
+
4010
+ })({});
4011
+ //# sourceMappingURL=treemap.js.map
4012
+
4013
+ /*-->*/
4014
+ </script>
4015
+ <script>
4016
+ /*<!--*/
4017
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"uid":"3b6c-37","name":"\u0000rollupPluginBabelHelpers.js"},{"name":"node_modules/date-fns/esm","children":[{"name":"_lib","children":[{"name":"requiredArgs/index.js","uid":"3b6c-39"},{"name":"defaultOptions/index.js","uid":"3b6c-43"},{"name":"getTimezoneOffsetInMilliseconds/index.js","uid":"3b6c-45"},{"name":"assign/index.js","uid":"3b6c-69"},{"name":"cloneObject/index.js","uid":"3b6c-71"}]},{"name":"toDate/index.js","uid":"3b6c-41"},{"name":"compareAsc/index.js","uid":"3b6c-47"},{"name":"locale","children":[{"name":"en-US","children":[{"name":"_lib","children":[{"name":"formatDistance/index.js","uid":"3b6c-49"},{"name":"formatLong/index.js","uid":"3b6c-53"},{"name":"formatRelative/index.js","uid":"3b6c-55"},{"name":"localize/index.js","uid":"3b6c-59"},{"name":"match/index.js","uid":"3b6c-65"}]},{"uid":"3b6c-67","name":"index.js"}]},{"name":"_lib","children":[{"name":"buildFormatLongFn/index.js","uid":"3b6c-51"},{"name":"buildLocalizeFn/index.js","uid":"3b6c-57"},{"name":"buildMatchFn/index.js","uid":"3b6c-61"},{"name":"buildMatchPatternFn/index.js","uid":"3b6c-63"}]}]},{"name":"formatDistanceStrict/index.js","uid":"3b6c-73"}]},{"name":"packages/react-router-devtools/src","children":[{"uid":"3b6c-75","name":"useLocalStorage.ts"},{"uid":"3b6c-77","name":"theme.tsx"},{"uid":"3b6c-79","name":"useMediaQuery.ts"},{"uid":"3b6c-81","name":"utils.ts"},{"uid":"3b6c-83","name":"styledComponents.ts"},{"uid":"3b6c-85","name":"Explorer.tsx"},{"uid":"3b6c-87","name":"Logo.tsx"},{"uid":"3b6c-89","name":"devtools.tsx"},{"uid":"3b6c-91","name":"index.tsx"}]}]}],"isRoot":true},"nodeParts":{"3b6c-37":{"renderedLength":792,"gzipLength":362,"brotliLength":0,"mainUid":"3b6c-36"},"3b6c-39":{"renderedLength":216,"gzipLength":155,"brotliLength":0,"mainUid":"3b6c-38"},"3b6c-41":{"renderedLength":1994,"gzipLength":830,"brotliLength":0,"mainUid":"3b6c-40"},"3b6c-43":{"renderedLength":90,"gzipLength":81,"brotliLength":0,"mainUid":"3b6c-42"},"3b6c-45":{"renderedLength":896,"gzipLength":459,"brotliLength":0,"mainUid":"3b6c-44"},"3b6c-47":{"renderedLength":1408,"gzipLength":582,"brotliLength":0,"mainUid":"3b6c-46"},"3b6c-49":{"renderedLength":1984,"gzipLength":522,"brotliLength":0,"mainUid":"3b6c-48"},"3b6c-51":{"renderedLength":368,"gzipLength":217,"brotliLength":0,"mainUid":"3b6c-50"},"3b6c-53":{"renderedLength":767,"gzipLength":258,"brotliLength":0,"mainUid":"3b6c-52"},"3b6c-55":{"renderedLength":368,"gzipLength":198,"brotliLength":0,"mainUid":"3b6c-54"},"3b6c-57":{"renderedLength":1107,"gzipLength":426,"brotliLength":0,"mainUid":"3b6c-56"},"3b6c-59":{"renderedLength":4023,"gzipLength":1159,"brotliLength":0,"mainUid":"3b6c-58"},"3b6c-61":{"renderedLength":1474,"gzipLength":504,"brotliLength":0,"mainUid":"3b6c-60"},"3b6c-63":{"renderedLength":688,"gzipLength":291,"brotliLength":0,"mainUid":"3b6c-62"},"3b6c-65":{"renderedLength":3112,"gzipLength":871,"brotliLength":0,"mainUid":"3b6c-64"},"3b6c-67":{"renderedLength":615,"gzipLength":336,"brotliLength":0,"mainUid":"3b6c-66"},"3b6c-69":{"renderedLength":346,"gzipLength":217,"brotliLength":0,"mainUid":"3b6c-68"},"3b6c-71":{"renderedLength":67,"gzipLength":76,"brotliLength":0,"mainUid":"3b6c-70"},"3b6c-73":{"renderedLength":7725,"gzipLength":2103,"brotliLength":0,"mainUid":"3b6c-72"},"3b6c-75":{"renderedLength":1111,"gzipLength":424,"brotliLength":0,"mainUid":"3b6c-74"},"3b6c-77":{"renderedLength":797,"gzipLength":398,"brotliLength":0,"mainUid":"3b6c-76"},"3b6c-79":{"renderedLength":975,"gzipLength":402,"brotliLength":0,"mainUid":"3b6c-78"},"3b6c-81":{"renderedLength":3077,"gzipLength":1222,"brotliLength":0,"mainUid":"3b6c-80"},"3b6c-83":{"renderedLength":2386,"gzipLength":871,"brotliLength":0,"mainUid":"3b6c-82"},"3b6c-85":{"renderedLength":6719,"gzipLength":1967,"brotliLength":0,"mainUid":"3b6c-84"},"3b6c-87":{"renderedLength":7966,"gzipLength":3790,"brotliLength":0,"mainUid":"3b6c-86"},"3b6c-89":{"renderedLength":25020,"gzipLength":4314,"brotliLength":0,"mainUid":"3b6c-88"},"3b6c-91":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"3b6c-90"}},"nodeMetas":{"3b6c-36":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"3b6c-37"},"imported":[],"importedBy":[{"uid":"3b6c-88"},{"uid":"3b6c-80"},{"uid":"3b6c-76"},{"uid":"3b6c-84"},{"uid":"3b6c-86"}]},"3b6c-38":{"id":"/node_modules/date-fns/esm/_lib/requiredArgs/index.js","moduleParts":{"index.production.js":"3b6c-39"},"imported":[],"importedBy":[{"uid":"3b6c-95"},{"uid":"3b6c-96"},{"uid":"3b6c-97"},{"uid":"3b6c-98"},{"uid":"3b6c-99"},{"uid":"3b6c-100"},{"uid":"3b6c-101"},{"uid":"3b6c-102"},{"uid":"3b6c-103"},{"uid":"3b6c-104"},{"uid":"3b6c-105"},{"uid":"3b6c-106"},{"uid":"3b6c-107"},{"uid":"3b6c-108"},{"uid":"3b6c-109"},{"uid":"3b6c-110"},{"uid":"3b6c-46"},{"uid":"3b6c-111"},{"uid":"3b6c-112"},{"uid":"3b6c-113"},{"uid":"3b6c-114"},{"uid":"3b6c-115"},{"uid":"3b6c-116"},{"uid":"3b6c-117"},{"uid":"3b6c-118"},{"uid":"3b6c-119"},{"uid":"3b6c-120"},{"uid":"3b6c-121"},{"uid":"3b6c-122"},{"uid":"3b6c-123"},{"uid":"3b6c-124"},{"uid":"3b6c-125"},{"uid":"3b6c-126"},{"uid":"3b6c-127"},{"uid":"3b6c-128"},{"uid":"3b6c-129"},{"uid":"3b6c-130"},{"uid":"3b6c-131"},{"uid":"3b6c-132"},{"uid":"3b6c-133"},{"uid":"3b6c-134"},{"uid":"3b6c-135"},{"uid":"3b6c-136"},{"uid":"3b6c-137"},{"uid":"3b6c-138"},{"uid":"3b6c-139"},{"uid":"3b6c-140"},{"uid":"3b6c-141"},{"uid":"3b6c-142"},{"uid":"3b6c-143"},{"uid":"3b6c-144"},{"uid":"3b6c-145"},{"uid":"3b6c-146"},{"uid":"3b6c-147"},{"uid":"3b6c-148"},{"uid":"3b6c-149"},{"uid":"3b6c-152"},{"uid":"3b6c-153"},{"uid":"3b6c-155"},{"uid":"3b6c-156"},{"uid":"3b6c-72"},{"uid":"3b6c-157"},{"uid":"3b6c-158"},{"uid":"3b6c-160"},{"uid":"3b6c-162"},{"uid":"3b6c-165"},{"uid":"3b6c-166"},{"uid":"3b6c-167"},{"uid":"3b6c-168"},{"uid":"3b6c-169"},{"uid":"3b6c-170"},{"uid":"3b6c-171"},{"uid":"3b6c-172"},{"uid":"3b6c-174"},{"uid":"3b6c-175"},{"uid":"3b6c-176"},{"uid":"3b6c-177"},{"uid":"3b6c-178"},{"uid":"3b6c-179"},{"uid":"3b6c-180"},{"uid":"3b6c-181"},{"uid":"3b6c-182"},{"uid":"3b6c-183"},{"uid":"3b6c-184"},{"uid":"3b6c-185"},{"uid":"3b6c-186"},{"uid":"3b6c-187"},{"uid":"3b6c-188"},{"uid":"3b6c-189"},{"uid":"3b6c-190"},{"uid":"3b6c-191"},{"uid":"3b6c-192"},{"uid":"3b6c-193"},{"uid":"3b6c-194"},{"uid":"3b6c-195"},{"uid":"3b6c-196"},{"uid":"3b6c-197"},{"uid":"3b6c-198"},{"uid":"3b6c-199"},{"uid":"3b6c-200"},{"uid":"3b6c-201"},{"uid":"3b6c-203"},{"uid":"3b6c-204"},{"uid":"3b6c-205"},{"uid":"3b6c-206"},{"uid":"3b6c-207"},{"uid":"3b6c-208"},{"uid":"3b6c-209"},{"uid":"3b6c-210"},{"uid":"3b6c-211"},{"uid":"3b6c-212"},{"uid":"3b6c-213"},{"uid":"3b6c-214"},{"uid":"3b6c-215"},{"uid":"3b6c-216"},{"uid":"3b6c-217"},{"uid":"3b6c-218"},{"uid":"3b6c-219"},{"uid":"3b6c-220"},{"uid":"3b6c-221"},{"uid":"3b6c-222"},{"uid":"3b6c-223"},{"uid":"3b6c-224"},{"uid":"3b6c-225"},{"uid":"3b6c-226"},{"uid":"3b6c-227"},{"uid":"3b6c-228"},{"uid":"3b6c-229"},{"uid":"3b6c-230"},{"uid":"3b6c-231"},{"uid":"3b6c-232"},{"uid":"3b6c-233"},{"uid":"3b6c-234"},{"uid":"3b6c-235"},{"uid":"3b6c-236"},{"uid":"3b6c-237"},{"uid":"3b6c-238"},{"uid":"3b6c-239"},{"uid":"3b6c-240"},{"uid":"3b6c-241"},{"uid":"3b6c-242"},{"uid":"3b6c-243"},{"uid":"3b6c-244"},{"uid":"3b6c-245"},{"uid":"3b6c-246"},{"uid":"3b6c-247"},{"uid":"3b6c-248"},{"uid":"3b6c-249"},{"uid":"3b6c-250"},{"uid":"3b6c-251"},{"uid":"3b6c-252"},{"uid":"3b6c-253"},{"uid":"3b6c-254"},{"uid":"3b6c-255"},{"uid":"3b6c-256"},{"uid":"3b6c-257"},{"uid":"3b6c-258"},{"uid":"3b6c-259"},{"uid":"3b6c-260"},{"uid":"3b6c-261"},{"uid":"3b6c-262"},{"uid":"3b6c-263"},{"uid":"3b6c-264"},{"uid":"3b6c-265"},{"uid":"3b6c-266"},{"uid":"3b6c-267"},{"uid":"3b6c-268"},{"uid":"3b6c-269"},{"uid":"3b6c-270"},{"uid":"3b6c-271"},{"uid":"3b6c-272"},{"uid":"3b6c-273"},{"uid":"3b6c-274"},{"uid":"3b6c-275"},{"uid":"3b6c-276"},{"uid":"3b6c-277"},{"uid":"3b6c-278"},{"uid":"3b6c-279"},{"uid":"3b6c-281"},{"uid":"3b6c-282"},{"uid":"3b6c-283"},{"uid":"3b6c-284"},{"uid":"3b6c-285"},{"uid":"3b6c-286"},{"uid":"3b6c-287"},{"uid":"3b6c-288"},{"uid":"3b6c-289"},{"uid":"3b6c-290"},{"uid":"3b6c-291"},{"uid":"3b6c-292"},{"uid":"3b6c-293"},{"uid":"3b6c-294"},{"uid":"3b6c-295"},{"uid":"3b6c-296"},{"uid":"3b6c-297"},{"uid":"3b6c-298"},{"uid":"3b6c-299"},{"uid":"3b6c-300"},{"uid":"3b6c-301"},{"uid":"3b6c-302"},{"uid":"3b6c-303"},{"uid":"3b6c-304"},{"uid":"3b6c-305"},{"uid":"3b6c-306"},{"uid":"3b6c-307"},{"uid":"3b6c-308"},{"uid":"3b6c-309"},{"uid":"3b6c-312"},{"uid":"3b6c-313"},{"uid":"3b6c-314"},{"uid":"3b6c-316"},{"uid":"3b6c-317"},{"uid":"3b6c-318"},{"uid":"3b6c-319"},{"uid":"3b6c-320"},{"uid":"3b6c-321"},{"uid":"3b6c-322"},{"uid":"3b6c-323"},{"uid":"3b6c-324"},{"uid":"3b6c-325"},{"uid":"3b6c-326"},{"uid":"3b6c-327"},{"uid":"3b6c-40"},{"uid":"3b6c-328"},{"uid":"3b6c-329"},{"uid":"3b6c-330"},{"uid":"3b6c-342"},{"uid":"3b6c-343"},{"uid":"3b6c-344"},{"uid":"3b6c-345"},{"uid":"3b6c-346"},{"uid":"3b6c-378"},{"uid":"3b6c-379"},{"uid":"3b6c-380"},{"uid":"3b6c-381"},{"uid":"3b6c-385"},{"uid":"3b6c-386"},{"uid":"3b6c-387"},{"uid":"3b6c-388"}]},"3b6c-40":{"id":"/node_modules/date-fns/esm/toDate/index.js","moduleParts":{"index.production.js":"3b6c-41"},"imported":[{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-95"},{"uid":"3b6c-96"},{"uid":"3b6c-97"},{"uid":"3b6c-100"},{"uid":"3b6c-102"},{"uid":"3b6c-107"},{"uid":"3b6c-109"},{"uid":"3b6c-110"},{"uid":"3b6c-46"},{"uid":"3b6c-111"},{"uid":"3b6c-113"},{"uid":"3b6c-117"},{"uid":"3b6c-118"},{"uid":"3b6c-120"},{"uid":"3b6c-121"},{"uid":"3b6c-123"},{"uid":"3b6c-124"},{"uid":"3b6c-126"},{"uid":"3b6c-130"},{"uid":"3b6c-131"},{"uid":"3b6c-132"},{"uid":"3b6c-133"},{"uid":"3b6c-134"},{"uid":"3b6c-135"},{"uid":"3b6c-136"},{"uid":"3b6c-140"},{"uid":"3b6c-141"},{"uid":"3b6c-142"},{"uid":"3b6c-143"},{"uid":"3b6c-146"},{"uid":"3b6c-147"},{"uid":"3b6c-148"},{"uid":"3b6c-149"},{"uid":"3b6c-152"},{"uid":"3b6c-153"},{"uid":"3b6c-155"},{"uid":"3b6c-156"},{"uid":"3b6c-72"},{"uid":"3b6c-160"},{"uid":"3b6c-161"},{"uid":"3b6c-163"},{"uid":"3b6c-164"},{"uid":"3b6c-165"},{"uid":"3b6c-166"},{"uid":"3b6c-167"},{"uid":"3b6c-168"},{"uid":"3b6c-169"},{"uid":"3b6c-170"},{"uid":"3b6c-171"},{"uid":"3b6c-172"},{"uid":"3b6c-174"},{"uid":"3b6c-175"},{"uid":"3b6c-176"},{"uid":"3b6c-177"},{"uid":"3b6c-179"},{"uid":"3b6c-180"},{"uid":"3b6c-181"},{"uid":"3b6c-182"},{"uid":"3b6c-183"},{"uid":"3b6c-184"},{"uid":"3b6c-185"},{"uid":"3b6c-187"},{"uid":"3b6c-189"},{"uid":"3b6c-191"},{"uid":"3b6c-195"},{"uid":"3b6c-197"},{"uid":"3b6c-198"},{"uid":"3b6c-199"},{"uid":"3b6c-201"},{"uid":"3b6c-203"},{"uid":"3b6c-204"},{"uid":"3b6c-205"},{"uid":"3b6c-206"},{"uid":"3b6c-207"},{"uid":"3b6c-209"},{"uid":"3b6c-210"},{"uid":"3b6c-216"},{"uid":"3b6c-220"},{"uid":"3b6c-221"},{"uid":"3b6c-222"},{"uid":"3b6c-231"},{"uid":"3b6c-234"},{"uid":"3b6c-235"},{"uid":"3b6c-236"},{"uid":"3b6c-237"},{"uid":"3b6c-238"},{"uid":"3b6c-240"},{"uid":"3b6c-243"},{"uid":"3b6c-244"},{"uid":"3b6c-245"},{"uid":"3b6c-246"},{"uid":"3b6c-247"},{"uid":"3b6c-248"},{"uid":"3b6c-253"},{"uid":"3b6c-267"},{"uid":"3b6c-269"},{"uid":"3b6c-280"},{"uid":"3b6c-284"},{"uid":"3b6c-285"},{"uid":"3b6c-286"},{"uid":"3b6c-287"},{"uid":"3b6c-289"},{"uid":"3b6c-290"},{"uid":"3b6c-291"},{"uid":"3b6c-292"},{"uid":"3b6c-293"},{"uid":"3b6c-294"},{"uid":"3b6c-295"},{"uid":"3b6c-296"},{"uid":"3b6c-297"},{"uid":"3b6c-298"},{"uid":"3b6c-299"},{"uid":"3b6c-300"},{"uid":"3b6c-301"},{"uid":"3b6c-302"},{"uid":"3b6c-303"},{"uid":"3b6c-306"},{"uid":"3b6c-307"},{"uid":"3b6c-308"},{"uid":"3b6c-309"},{"uid":"3b6c-312"},{"uid":"3b6c-314"},{"uid":"3b6c-342"},{"uid":"3b6c-343"},{"uid":"3b6c-344"},{"uid":"3b6c-345"},{"uid":"3b6c-346"},{"uid":"3b6c-378"},{"uid":"3b6c-380"},{"uid":"3b6c-385"},{"uid":"3b6c-386"},{"uid":"3b6c-387"},{"uid":"3b6c-388"}]},"3b6c-42":{"id":"/node_modules/date-fns/esm/_lib/defaultOptions/index.js","moduleParts":{"index.production.js":"3b6c-43"},"imported":[],"importedBy":[{"uid":"3b6c-152"},{"uid":"3b6c-155"},{"uid":"3b6c-156"},{"uid":"3b6c-72"},{"uid":"3b6c-159"},{"uid":"3b6c-165"},{"uid":"3b6c-173"},{"uid":"3b6c-188"},{"uid":"3b6c-189"},{"uid":"3b6c-245"},{"uid":"3b6c-267"},{"uid":"3b6c-286"},{"uid":"3b6c-288"},{"uid":"3b6c-299"},{"uid":"3b6c-312"},{"uid":"3b6c-313"},{"uid":"3b6c-346"},{"uid":"3b6c-380"},{"uid":"3b6c-381"},{"uid":"3b6c-387"}]},"3b6c-44":{"id":"/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","moduleParts":{"index.production.js":"3b6c-45"},"imported":[],"importedBy":[{"uid":"3b6c-114"},{"uid":"3b6c-116"},{"uid":"3b6c-119"},{"uid":"3b6c-155"},{"uid":"3b6c-156"},{"uid":"3b6c-72"},{"uid":"3b6c-165"},{"uid":"3b6c-247"},{"uid":"3b6c-267"}]},"3b6c-46":{"id":"/node_modules/date-fns/esm/compareAsc/index.js","moduleParts":{"index.production.js":"3b6c-47"},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-123"},{"uid":"3b6c-126"},{"uid":"3b6c-130"},{"uid":"3b6c-156"},{"uid":"3b6c-72"}]},"3b6c-48":{"id":"/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","moduleParts":{"index.production.js":"3b6c-49"},"imported":[],"importedBy":[{"uid":"3b6c-66"}]},"3b6c-50":{"id":"/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","moduleParts":{"index.production.js":"3b6c-51"},"imported":[],"importedBy":[{"uid":"3b6c-52"}]},"3b6c-52":{"id":"/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","moduleParts":{"index.production.js":"3b6c-53"},"imported":[{"uid":"3b6c-50"}],"importedBy":[{"uid":"3b6c-66"}]},"3b6c-54":{"id":"/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","moduleParts":{"index.production.js":"3b6c-55"},"imported":[],"importedBy":[{"uid":"3b6c-66"}]},"3b6c-56":{"id":"/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","moduleParts":{"index.production.js":"3b6c-57"},"imported":[],"importedBy":[{"uid":"3b6c-58"}]},"3b6c-58":{"id":"/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","moduleParts":{"index.production.js":"3b6c-59"},"imported":[{"uid":"3b6c-56"}],"importedBy":[{"uid":"3b6c-66"}]},"3b6c-60":{"id":"/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","moduleParts":{"index.production.js":"3b6c-61"},"imported":[],"importedBy":[{"uid":"3b6c-64"}]},"3b6c-62":{"id":"/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","moduleParts":{"index.production.js":"3b6c-63"},"imported":[],"importedBy":[{"uid":"3b6c-64"}]},"3b6c-64":{"id":"/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","moduleParts":{"index.production.js":"3b6c-65"},"imported":[{"uid":"3b6c-60"},{"uid":"3b6c-62"}],"importedBy":[{"uid":"3b6c-66"}]},"3b6c-66":{"id":"/node_modules/date-fns/esm/locale/en-US/index.js","moduleParts":{"index.production.js":"3b6c-67"},"imported":[{"uid":"3b6c-48"},{"uid":"3b6c-52"},{"uid":"3b6c-54"},{"uid":"3b6c-58"},{"uid":"3b6c-64"}],"importedBy":[{"uid":"3b6c-337"}]},"3b6c-68":{"id":"/node_modules/date-fns/esm/_lib/assign/index.js","moduleParts":{"index.production.js":"3b6c-69"},"imported":[],"importedBy":[{"uid":"3b6c-156"},{"uid":"3b6c-72"},{"uid":"3b6c-173"},{"uid":"3b6c-267"},{"uid":"3b6c-70"}]},"3b6c-70":{"id":"/node_modules/date-fns/esm/_lib/cloneObject/index.js","moduleParts":{"index.production.js":"3b6c-71"},"imported":[{"uid":"3b6c-68"}],"importedBy":[{"uid":"3b6c-156"},{"uid":"3b6c-72"}]},"3b6c-72":{"id":"/node_modules/date-fns/esm/formatDistanceStrict/index.js","moduleParts":{"index.production.js":"3b6c-73"},"imported":[{"uid":"3b6c-42"},{"uid":"3b6c-44"},{"uid":"3b6c-46"},{"uid":"3b6c-40"},{"uid":"3b6c-70"},{"uid":"3b6c-68"},{"uid":"3b6c-337"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-158"}]},"3b6c-74":{"id":"/packages/react-router-devtools/src/useLocalStorage.ts","moduleParts":{"index.production.js":"3b6c-75"},"imported":[{"uid":"3b6c-92"}],"importedBy":[{"uid":"3b6c-88"}]},"3b6c-76":{"id":"/packages/react-router-devtools/src/theme.tsx","moduleParts":{"index.production.js":"3b6c-77"},"imported":[{"uid":"3b6c-36"},{"uid":"3b6c-92"}],"importedBy":[{"uid":"3b6c-88"},{"uid":"3b6c-80"}]},"3b6c-78":{"id":"/packages/react-router-devtools/src/useMediaQuery.ts","moduleParts":{"index.production.js":"3b6c-79"},"imported":[{"uid":"3b6c-92"}],"importedBy":[{"uid":"3b6c-80"}]},"3b6c-80":{"id":"/packages/react-router-devtools/src/utils.ts","moduleParts":{"index.production.js":"3b6c-81"},"imported":[{"uid":"3b6c-36"},{"uid":"3b6c-92"},{"uid":"3b6c-76"},{"uid":"3b6c-78"}],"importedBy":[{"uid":"3b6c-88"},{"uid":"3b6c-82"},{"uid":"3b6c-84"}]},"3b6c-82":{"id":"/packages/react-router-devtools/src/styledComponents.ts","moduleParts":{"index.production.js":"3b6c-83"},"imported":[{"uid":"3b6c-80"}],"importedBy":[{"uid":"3b6c-88"}]},"3b6c-84":{"id":"/packages/react-router-devtools/src/Explorer.tsx","moduleParts":{"index.production.js":"3b6c-85"},"imported":[{"uid":"3b6c-36"},{"uid":"3b6c-92"},{"uid":"3b6c-80"}],"importedBy":[{"uid":"3b6c-88"}]},"3b6c-86":{"id":"/packages/react-router-devtools/src/Logo.tsx","moduleParts":{"index.production.js":"3b6c-87"},"imported":[{"uid":"3b6c-36"},{"uid":"3b6c-92"}],"importedBy":[{"uid":"3b6c-88"}]},"3b6c-88":{"id":"/packages/react-router-devtools/src/devtools.tsx","moduleParts":{"index.production.js":"3b6c-89"},"imported":[{"uid":"3b6c-36"},{"uid":"3b6c-92"},{"uid":"3b6c-93"},{"uid":"3b6c-94"},{"uid":"3b6c-74"},{"uid":"3b6c-80"},{"uid":"3b6c-82"},{"uid":"3b6c-76"},{"uid":"3b6c-84"},{"uid":"3b6c-86"}],"importedBy":[{"uid":"3b6c-90"}]},"3b6c-90":{"id":"/packages/react-router-devtools/src/index.tsx","moduleParts":{"index.production.js":"3b6c-91"},"imported":[{"uid":"3b6c-88"}],"importedBy":[],"isEntry":true},"3b6c-92":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-88"},{"uid":"3b6c-74"},{"uid":"3b6c-80"},{"uid":"3b6c-76"},{"uid":"3b6c-84"},{"uid":"3b6c-86"},{"uid":"3b6c-78"}],"isExternal":true},"3b6c-93":{"id":"@tanstack/react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-88"}],"isExternal":true},"3b6c-94":{"id":"/node_modules/date-fns/esm/index.js","moduleParts":{},"imported":[{"uid":"3b6c-95"},{"uid":"3b6c-96"},{"uid":"3b6c-97"},{"uid":"3b6c-98"},{"uid":"3b6c-99"},{"uid":"3b6c-100"},{"uid":"3b6c-101"},{"uid":"3b6c-102"},{"uid":"3b6c-103"},{"uid":"3b6c-104"},{"uid":"3b6c-105"},{"uid":"3b6c-106"},{"uid":"3b6c-107"},{"uid":"3b6c-108"},{"uid":"3b6c-109"},{"uid":"3b6c-110"},{"uid":"3b6c-46"},{"uid":"3b6c-111"},{"uid":"3b6c-112"},{"uid":"3b6c-113"},{"uid":"3b6c-114"},{"uid":"3b6c-115"},{"uid":"3b6c-116"},{"uid":"3b6c-117"},{"uid":"3b6c-118"},{"uid":"3b6c-119"},{"uid":"3b6c-120"},{"uid":"3b6c-121"},{"uid":"3b6c-122"},{"uid":"3b6c-123"},{"uid":"3b6c-124"},{"uid":"3b6c-125"},{"uid":"3b6c-126"},{"uid":"3b6c-127"},{"uid":"3b6c-128"},{"uid":"3b6c-129"},{"uid":"3b6c-130"},{"uid":"3b6c-131"},{"uid":"3b6c-132"},{"uid":"3b6c-133"},{"uid":"3b6c-134"},{"uid":"3b6c-135"},{"uid":"3b6c-136"},{"uid":"3b6c-137"},{"uid":"3b6c-138"},{"uid":"3b6c-139"},{"uid":"3b6c-140"},{"uid":"3b6c-141"},{"uid":"3b6c-142"},{"uid":"3b6c-143"},{"uid":"3b6c-144"},{"uid":"3b6c-145"},{"uid":"3b6c-146"},{"uid":"3b6c-147"},{"uid":"3b6c-148"},{"uid":"3b6c-149"},{"uid":"3b6c-150"},{"uid":"3b6c-151"},{"uid":"3b6c-152"},{"uid":"3b6c-153"},{"uid":"3b6c-154"},{"uid":"3b6c-155"},{"uid":"3b6c-156"},{"uid":"3b6c-72"},{"uid":"3b6c-157"},{"uid":"3b6c-158"},{"uid":"3b6c-159"},{"uid":"3b6c-160"},{"uid":"3b6c-161"},{"uid":"3b6c-162"},{"uid":"3b6c-163"},{"uid":"3b6c-164"},{"uid":"3b6c-165"},{"uid":"3b6c-166"},{"uid":"3b6c-167"},{"uid":"3b6c-168"},{"uid":"3b6c-169"},{"uid":"3b6c-170"},{"uid":"3b6c-171"},{"uid":"3b6c-172"},{"uid":"3b6c-173"},{"uid":"3b6c-174"},{"uid":"3b6c-175"},{"uid":"3b6c-176"},{"uid":"3b6c-177"},{"uid":"3b6c-178"},{"uid":"3b6c-179"},{"uid":"3b6c-180"},{"uid":"3b6c-181"},{"uid":"3b6c-182"},{"uid":"3b6c-183"},{"uid":"3b6c-184"},{"uid":"3b6c-185"},{"uid":"3b6c-186"},{"uid":"3b6c-187"},{"uid":"3b6c-188"},{"uid":"3b6c-189"},{"uid":"3b6c-190"},{"uid":"3b6c-191"},{"uid":"3b6c-192"},{"uid":"3b6c-193"},{"uid":"3b6c-194"},{"uid":"3b6c-195"},{"uid":"3b6c-196"},{"uid":"3b6c-197"},{"uid":"3b6c-198"},{"uid":"3b6c-199"},{"uid":"3b6c-200"},{"uid":"3b6c-201"},{"uid":"3b6c-202"},{"uid":"3b6c-203"},{"uid":"3b6c-204"},{"uid":"3b6c-205"},{"uid":"3b6c-206"},{"uid":"3b6c-207"},{"uid":"3b6c-208"},{"uid":"3b6c-209"},{"uid":"3b6c-210"},{"uid":"3b6c-211"},{"uid":"3b6c-212"},{"uid":"3b6c-213"},{"uid":"3b6c-214"},{"uid":"3b6c-215"},{"uid":"3b6c-216"},{"uid":"3b6c-217"},{"uid":"3b6c-218"},{"uid":"3b6c-219"},{"uid":"3b6c-220"},{"uid":"3b6c-221"},{"uid":"3b6c-222"},{"uid":"3b6c-223"},{"uid":"3b6c-224"},{"uid":"3b6c-225"},{"uid":"3b6c-226"},{"uid":"3b6c-227"},{"uid":"3b6c-228"},{"uid":"3b6c-229"},{"uid":"3b6c-230"},{"uid":"3b6c-231"},{"uid":"3b6c-232"},{"uid":"3b6c-233"},{"uid":"3b6c-234"},{"uid":"3b6c-235"},{"uid":"3b6c-236"},{"uid":"3b6c-237"},{"uid":"3b6c-238"},{"uid":"3b6c-239"},{"uid":"3b6c-240"},{"uid":"3b6c-241"},{"uid":"3b6c-242"},{"uid":"3b6c-243"},{"uid":"3b6c-244"},{"uid":"3b6c-245"},{"uid":"3b6c-246"},{"uid":"3b6c-247"},{"uid":"3b6c-248"},{"uid":"3b6c-249"},{"uid":"3b6c-250"},{"uid":"3b6c-251"},{"uid":"3b6c-252"},{"uid":"3b6c-253"},{"uid":"3b6c-254"},{"uid":"3b6c-255"},{"uid":"3b6c-256"},{"uid":"3b6c-257"},{"uid":"3b6c-258"},{"uid":"3b6c-259"},{"uid":"3b6c-260"},{"uid":"3b6c-261"},{"uid":"3b6c-262"},{"uid":"3b6c-263"},{"uid":"3b6c-264"},{"uid":"3b6c-265"},{"uid":"3b6c-266"},{"uid":"3b6c-267"},{"uid":"3b6c-268"},{"uid":"3b6c-269"},{"uid":"3b6c-270"},{"uid":"3b6c-271"},{"uid":"3b6c-272"},{"uid":"3b6c-273"},{"uid":"3b6c-274"},{"uid":"3b6c-275"},{"uid":"3b6c-276"},{"uid":"3b6c-277"},{"uid":"3b6c-278"},{"uid":"3b6c-279"},{"uid":"3b6c-280"},{"uid":"3b6c-281"},{"uid":"3b6c-282"},{"uid":"3b6c-283"},{"uid":"3b6c-284"},{"uid":"3b6c-285"},{"uid":"3b6c-286"},{"uid":"3b6c-287"},{"uid":"3b6c-288"},{"uid":"3b6c-289"},{"uid":"3b6c-290"},{"uid":"3b6c-291"},{"uid":"3b6c-292"},{"uid":"3b6c-293"},{"uid":"3b6c-294"},{"uid":"3b6c-295"},{"uid":"3b6c-296"},{"uid":"3b6c-297"},{"uid":"3b6c-298"},{"uid":"3b6c-299"},{"uid":"3b6c-300"},{"uid":"3b6c-301"},{"uid":"3b6c-302"},{"uid":"3b6c-303"},{"uid":"3b6c-304"},{"uid":"3b6c-305"},{"uid":"3b6c-306"},{"uid":"3b6c-307"},{"uid":"3b6c-308"},{"uid":"3b6c-309"},{"uid":"3b6c-310"},{"uid":"3b6c-311"},{"uid":"3b6c-312"},{"uid":"3b6c-313"},{"uid":"3b6c-314"},{"uid":"3b6c-315"},{"uid":"3b6c-316"},{"uid":"3b6c-317"},{"uid":"3b6c-318"},{"uid":"3b6c-319"},{"uid":"3b6c-320"},{"uid":"3b6c-321"},{"uid":"3b6c-322"},{"uid":"3b6c-323"},{"uid":"3b6c-324"},{"uid":"3b6c-325"},{"uid":"3b6c-326"},{"uid":"3b6c-327"},{"uid":"3b6c-40"},{"uid":"3b6c-328"},{"uid":"3b6c-329"},{"uid":"3b6c-330"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-88"}]},"3b6c-95":{"id":"/node_modules/date-fns/esm/add/index.js","moduleParts":{},"imported":[{"uid":"3b6c-97"},{"uid":"3b6c-102"},{"uid":"3b6c-40"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-195"}]},"3b6c-96":{"id":"/node_modules/date-fns/esm/addBusinessDays/index.js","moduleParts":{},"imported":[{"uid":"3b6c-237"},{"uid":"3b6c-40"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-222"},{"uid":"3b6c-221"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-317"}]},"3b6c-97":{"id":"/node_modules/date-fns/esm/addDays/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-95"},{"uid":"3b6c-105"},{"uid":"3b6c-113"},{"uid":"3b6c-233"},{"uid":"3b6c-259"},{"uid":"3b6c-286"},{"uid":"3b6c-290"},{"uid":"3b6c-318"}]},"3b6c-98":{"id":"/node_modules/date-fns/esm/addHours/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-100"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-132"},{"uid":"3b6c-319"}]},"3b6c-99":{"id":"/node_modules/date-fns/esm/addISOWeekYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-177"},{"uid":"3b6c-292"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-320"}]},"3b6c-100":{"id":"/node_modules/date-fns/esm/addMilliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-98"},{"uid":"3b6c-101"},{"uid":"3b6c-104"},{"uid":"3b6c-321"}]},"3b6c-101":{"id":"/node_modules/date-fns/esm/addMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-100"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-133"},{"uid":"3b6c-322"}]},"3b6c-102":{"id":"/node_modules/date-fns/esm/addMonths/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-95"},{"uid":"3b6c-103"},{"uid":"3b6c-106"},{"uid":"3b6c-323"}]},"3b6c-103":{"id":"/node_modules/date-fns/esm/addQuarters/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-102"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-135"},{"uid":"3b6c-324"}]},"3b6c-104":{"id":"/node_modules/date-fns/esm/addSeconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-100"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-325"}]},"3b6c-105":{"id":"/node_modules/date-fns/esm/addWeeks/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-97"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-136"},{"uid":"3b6c-178"},{"uid":"3b6c-326"}]},"3b6c-106":{"id":"/node_modules/date-fns/esm/addYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-102"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-327"}]},"3b6c-107":{"id":"/node_modules/date-fns/esm/areIntervalsOverlapping/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-108":{"id":"/node_modules/date-fns/esm/clamp/index.js","moduleParts":{},"imported":[{"uid":"3b6c-248"},{"uid":"3b6c-253"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-109":{"id":"/node_modules/date-fns/esm/closestIndexTo/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-110":{"id":"/node_modules/date-fns/esm/closestTo/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-111":{"id":"/node_modules/date-fns/esm/compareDesc/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-112":{"id":"/node_modules/date-fns/esm/daysToWeeks/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-113":{"id":"/node_modules/date-fns/esm/differenceInBusinessDays/index.js","moduleParts":{},"imported":[{"uid":"3b6c-97"},{"uid":"3b6c-114"},{"uid":"3b6c-211"},{"uid":"3b6c-235"},{"uid":"3b6c-237"},{"uid":"3b6c-40"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-114":{"id":"/node_modules/date-fns/esm/differenceInCalendarDays/index.js","moduleParts":{},"imported":[{"uid":"3b6c-44"},{"uid":"3b6c-301"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-113"},{"uid":"3b6c-121"},{"uid":"3b6c-165"},{"uid":"3b6c-169"},{"uid":"3b6c-197"},{"uid":"3b6c-292"},{"uid":"3b6c-299"}]},"3b6c-115":{"id":"/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-177"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-123"}]},"3b6c-116":{"id":"/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.js","moduleParts":{},"imported":[{"uid":"3b6c-44"},{"uid":"3b6c-304"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-117":{"id":"/node_modules/date-fns/esm/differenceInCalendarMonths/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-126"},{"uid":"3b6c-197"}]},"3b6c-118":{"id":"/node_modules/date-fns/esm/differenceInCalendarQuarters/index.js","moduleParts":{},"imported":[{"uid":"3b6c-183"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-197"}]},"3b6c-119":{"id":"/node_modules/date-fns/esm/differenceInCalendarWeeks/index.js","moduleParts":{},"imported":[{"uid":"3b6c-312"},{"uid":"3b6c-44"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-190"},{"uid":"3b6c-197"}]},"3b6c-120":{"id":"/node_modules/date-fns/esm/differenceInCalendarYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-130"},{"uid":"3b6c-197"}]},"3b6c-121":{"id":"/node_modules/date-fns/esm/differenceInDays/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-114"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-129"},{"uid":"3b6c-195"}]},"3b6c-122":{"id":"/node_modules/date-fns/esm/differenceInHours/index.js","moduleParts":{},"imported":[{"uid":"3b6c-331"},{"uid":"3b6c-124"},{"uid":"3b6c-38"},{"uid":"3b6c-333"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-195"},{"uid":"3b6c-197"}]},"3b6c-123":{"id":"/node_modules/date-fns/esm/differenceInISOWeekYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-115"},{"uid":"3b6c-46"},{"uid":"3b6c-320"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-124":{"id":"/node_modules/date-fns/esm/differenceInMilliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-122"},{"uid":"3b6c-125"},{"uid":"3b6c-128"}]},"3b6c-125":{"id":"/node_modules/date-fns/esm/differenceInMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-331"},{"uid":"3b6c-124"},{"uid":"3b6c-38"},{"uid":"3b6c-333"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-195"},{"uid":"3b6c-197"}]},"3b6c-126":{"id":"/node_modules/date-fns/esm/differenceInMonths/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-117"},{"uid":"3b6c-46"},{"uid":"3b6c-38"},{"uid":"3b6c-206"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-127"},{"uid":"3b6c-156"},{"uid":"3b6c-195"}]},"3b6c-127":{"id":"/node_modules/date-fns/esm/differenceInQuarters/index.js","moduleParts":{},"imported":[{"uid":"3b6c-126"},{"uid":"3b6c-38"},{"uid":"3b6c-333"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-128":{"id":"/node_modules/date-fns/esm/differenceInSeconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-124"},{"uid":"3b6c-38"},{"uid":"3b6c-333"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-156"},{"uid":"3b6c-195"},{"uid":"3b6c-197"}]},"3b6c-129":{"id":"/node_modules/date-fns/esm/differenceInWeeks/index.js","moduleParts":{},"imported":[{"uid":"3b6c-121"},{"uid":"3b6c-38"},{"uid":"3b6c-333"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-130":{"id":"/node_modules/date-fns/esm/differenceInYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-120"},{"uid":"3b6c-46"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-195"}]},"3b6c-131":{"id":"/node_modules/date-fns/esm/eachDayOfInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-137"}]},"3b6c-132":{"id":"/node_modules/date-fns/esm/eachHourOfInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-98"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-133":{"id":"/node_modules/date-fns/esm/eachMinuteOfInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-101"},{"uid":"3b6c-40"},{"uid":"3b6c-306"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-134":{"id":"/node_modules/date-fns/esm/eachMonthOfInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-135":{"id":"/node_modules/date-fns/esm/eachQuarterOfInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-103"},{"uid":"3b6c-308"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-136":{"id":"/node_modules/date-fns/esm/eachWeekOfInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-105"},{"uid":"3b6c-312"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-137":{"id":"/node_modules/date-fns/esm/eachWeekendOfInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-131"},{"uid":"3b6c-222"},{"uid":"3b6c-237"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-138"},{"uid":"3b6c-139"}]},"3b6c-138":{"id":"/node_modules/date-fns/esm/eachWeekendOfMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-137"},{"uid":"3b6c-307"},{"uid":"3b6c-147"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-139":{"id":"/node_modules/date-fns/esm/eachWeekendOfYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-137"},{"uid":"3b6c-153"},{"uid":"3b6c-314"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-140":{"id":"/node_modules/date-fns/esm/eachYearOfInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-141":{"id":"/node_modules/date-fns/esm/endOfDay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-150"},{"uid":"3b6c-206"}]},"3b6c-142":{"id":"/node_modules/date-fns/esm/endOfDecade/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-143":{"id":"/node_modules/date-fns/esm/endOfHour/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-144":{"id":"/node_modules/date-fns/esm/endOfISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-152"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-145":{"id":"/node_modules/date-fns/esm/endOfISOWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-177"},{"uid":"3b6c-304"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-146":{"id":"/node_modules/date-fns/esm/endOfMinute/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-147":{"id":"/node_modules/date-fns/esm/endOfMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-138"},{"uid":"3b6c-206"}]},"3b6c-148":{"id":"/node_modules/date-fns/esm/endOfQuarter/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-149":{"id":"/node_modules/date-fns/esm/endOfSecond/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-150":{"id":"/node_modules/date-fns/esm/endOfToday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-141"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-151":{"id":"/node_modules/date-fns/esm/endOfTomorrow/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-152":{"id":"/node_modules/date-fns/esm/endOfWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-42"},{"uid":"3b6c-40"},{"uid":"3b6c-332"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-144"}]},"3b6c-153":{"id":"/node_modules/date-fns/esm/endOfYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-139"}]},"3b6c-154":{"id":"/node_modules/date-fns/esm/endOfYesterday/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-155":{"id":"/node_modules/date-fns/esm/format/index.js","moduleParts":{},"imported":[{"uid":"3b6c-235"},{"uid":"3b6c-321"},{"uid":"3b6c-40"},{"uid":"3b6c-334"},{"uid":"3b6c-335"},{"uid":"3b6c-44"},{"uid":"3b6c-336"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-42"},{"uid":"3b6c-337"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-165"}]},"3b6c-156":{"id":"/node_modules/date-fns/esm/formatDistance/index.js","moduleParts":{},"imported":[{"uid":"3b6c-42"},{"uid":"3b6c-46"},{"uid":"3b6c-126"},{"uid":"3b6c-128"},{"uid":"3b6c-337"},{"uid":"3b6c-40"},{"uid":"3b6c-70"},{"uid":"3b6c-68"},{"uid":"3b6c-44"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-157"}]},"3b6c-157":{"id":"/node_modules/date-fns/esm/formatDistanceToNow/index.js","moduleParts":{},"imported":[{"uid":"3b6c-156"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-158":{"id":"/node_modules/date-fns/esm/formatDistanceToNowStrict/index.js","moduleParts":{},"imported":[{"uid":"3b6c-72"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-159":{"id":"/node_modules/date-fns/esm/formatDuration/index.js","moduleParts":{},"imported":[{"uid":"3b6c-42"},{"uid":"3b6c-337"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-160":{"id":"/node_modules/date-fns/esm/formatISO/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-338"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-161":{"id":"/node_modules/date-fns/esm/formatISO9075/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-235"},{"uid":"3b6c-338"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-162":{"id":"/node_modules/date-fns/esm/formatISODuration/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-163":{"id":"/node_modules/date-fns/esm/formatRFC3339/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-235"},{"uid":"3b6c-338"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-164":{"id":"/node_modules/date-fns/esm/formatRFC7231/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-235"},{"uid":"3b6c-338"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-165":{"id":"/node_modules/date-fns/esm/formatRelative/index.js","moduleParts":{},"imported":[{"uid":"3b6c-42"},{"uid":"3b6c-114"},{"uid":"3b6c-155"},{"uid":"3b6c-337"},{"uid":"3b6c-321"},{"uid":"3b6c-40"},{"uid":"3b6c-44"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-166":{"id":"/node_modules/date-fns/esm/fromUnixTime/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-332"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-167":{"id":"/node_modules/date-fns/esm/getDate/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-188"}]},"3b6c-168":{"id":"/node_modules/date-fns/esm/getDay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-188"},{"uid":"3b6c-259"},{"uid":"3b6c-270"}]},"3b6c-169":{"id":"/node_modules/date-fns/esm/getDayOfYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-314"},{"uid":"3b6c-114"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-170":{"id":"/node_modules/date-fns/esm/getDaysInMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-295"}]},"3b6c-171":{"id":"/node_modules/date-fns/esm/getDaysInYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-207"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-172":{"id":"/node_modules/date-fns/esm/getDecade/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-173":{"id":"/node_modules/date-fns/esm/getDefaultOptions/index.js","moduleParts":{},"imported":[{"uid":"3b6c-42"},{"uid":"3b6c-68"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-174":{"id":"/node_modules/date-fns/esm/getHours/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-175":{"id":"/node_modules/date-fns/esm/getISODay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-290"}]},"3b6c-176":{"id":"/node_modules/date-fns/esm/getISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-304"},{"uid":"3b6c-305"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-291"}]},"3b6c-177":{"id":"/node_modules/date-fns/esm/getISOWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-304"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-99"},{"uid":"3b6c-115"},{"uid":"3b6c-145"},{"uid":"3b6c-242"},{"uid":"3b6c-305"}]},"3b6c-178":{"id":"/node_modules/date-fns/esm/getISOWeeksInYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-305"},{"uid":"3b6c-105"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-179":{"id":"/node_modules/date-fns/esm/getMilliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-180":{"id":"/node_modules/date-fns/esm/getMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-181":{"id":"/node_modules/date-fns/esm/getMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-182":{"id":"/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-183":{"id":"/node_modules/date-fns/esm/getQuarter/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-118"}]},"3b6c-184":{"id":"/node_modules/date-fns/esm/getSeconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-185":{"id":"/node_modules/date-fns/esm/getTime/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-186"}]},"3b6c-186":{"id":"/node_modules/date-fns/esm/getUnixTime/index.js","moduleParts":{},"imported":[{"uid":"3b6c-185"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-187":{"id":"/node_modules/date-fns/esm/getWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-312"},{"uid":"3b6c-313"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-298"}]},"3b6c-188":{"id":"/node_modules/date-fns/esm/getWeekOfMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-42"},{"uid":"3b6c-167"},{"uid":"3b6c-168"},{"uid":"3b6c-307"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-189":{"id":"/node_modules/date-fns/esm/getWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-312"},{"uid":"3b6c-40"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-313"}]},"3b6c-190":{"id":"/node_modules/date-fns/esm/getWeeksInMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-119"},{"uid":"3b6c-243"},{"uid":"3b6c-307"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-191":{"id":"/node_modules/date-fns/esm/getYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-192":{"id":"/node_modules/date-fns/esm/hoursToMilliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-193":{"id":"/node_modules/date-fns/esm/hoursToMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-194":{"id":"/node_modules/date-fns/esm/hoursToSeconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-195":{"id":"/node_modules/date-fns/esm/intervalToDuration/index.js","moduleParts":{},"imported":[{"uid":"3b6c-95"},{"uid":"3b6c-121"},{"uid":"3b6c-122"},{"uid":"3b6c-125"},{"uid":"3b6c-126"},{"uid":"3b6c-128"},{"uid":"3b6c-130"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-196":{"id":"/node_modules/date-fns/esm/intlFormat/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-197":{"id":"/node_modules/date-fns/esm/intlFormatDistance/index.js","moduleParts":{},"imported":[{"uid":"3b6c-331"},{"uid":"3b6c-114"},{"uid":"3b6c-117"},{"uid":"3b6c-118"},{"uid":"3b6c-119"},{"uid":"3b6c-120"},{"uid":"3b6c-122"},{"uid":"3b6c-125"},{"uid":"3b6c-128"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-198":{"id":"/node_modules/date-fns/esm/isAfter/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-199":{"id":"/node_modules/date-fns/esm/isBefore/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-200":{"id":"/node_modules/date-fns/esm/isDate/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-235"}]},"3b6c-201":{"id":"/node_modules/date-fns/esm/isEqual/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-202":{"id":"/node_modules/date-fns/esm/isExists/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-203":{"id":"/node_modules/date-fns/esm/isFirstDayOfMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-204":{"id":"/node_modules/date-fns/esm/isFriday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-205":{"id":"/node_modules/date-fns/esm/isFuture/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-206":{"id":"/node_modules/date-fns/esm/isLastDayOfMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-141"},{"uid":"3b6c-147"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-126"}]},"3b6c-207":{"id":"/node_modules/date-fns/esm/isLeapYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-171"}]},"3b6c-208":{"id":"/node_modules/date-fns/esm/isMatch/index.js","moduleParts":{},"imported":[{"uid":"3b6c-267"},{"uid":"3b6c-235"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-209":{"id":"/node_modules/date-fns/esm/isMonday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-210":{"id":"/node_modules/date-fns/esm/isPast/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-211":{"id":"/node_modules/date-fns/esm/isSameDay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-301"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-113"},{"uid":"3b6c-232"},{"uid":"3b6c-233"},{"uid":"3b6c-239"}]},"3b6c-212":{"id":"/node_modules/date-fns/esm/isSameHour/index.js","moduleParts":{},"imported":[{"uid":"3b6c-303"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-223"}]},"3b6c-213":{"id":"/node_modules/date-fns/esm/isSameISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-219"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-224"}]},"3b6c-214":{"id":"/node_modules/date-fns/esm/isSameISOWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-305"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-215":{"id":"/node_modules/date-fns/esm/isSameMinute/index.js","moduleParts":{},"imported":[{"uid":"3b6c-306"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-225"}]},"3b6c-216":{"id":"/node_modules/date-fns/esm/isSameMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-226"}]},"3b6c-217":{"id":"/node_modules/date-fns/esm/isSameQuarter/index.js","moduleParts":{},"imported":[{"uid":"3b6c-308"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-227"}]},"3b6c-218":{"id":"/node_modules/date-fns/esm/isSameSecond/index.js","moduleParts":{},"imported":[{"uid":"3b6c-309"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-228"}]},"3b6c-219":{"id":"/node_modules/date-fns/esm/isSameWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-312"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-213"},{"uid":"3b6c-229"}]},"3b6c-220":{"id":"/node_modules/date-fns/esm/isSameYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-230"}]},"3b6c-221":{"id":"/node_modules/date-fns/esm/isSaturday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-96"}]},"3b6c-222":{"id":"/node_modules/date-fns/esm/isSunday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-96"},{"uid":"3b6c-137"}]},"3b6c-223":{"id":"/node_modules/date-fns/esm/isThisHour/index.js","moduleParts":{},"imported":[{"uid":"3b6c-212"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-224":{"id":"/node_modules/date-fns/esm/isThisISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-213"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-225":{"id":"/node_modules/date-fns/esm/isThisMinute/index.js","moduleParts":{},"imported":[{"uid":"3b6c-215"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-226":{"id":"/node_modules/date-fns/esm/isThisMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-216"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-227":{"id":"/node_modules/date-fns/esm/isThisQuarter/index.js","moduleParts":{},"imported":[{"uid":"3b6c-217"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-228":{"id":"/node_modules/date-fns/esm/isThisSecond/index.js","moduleParts":{},"imported":[{"uid":"3b6c-218"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-229":{"id":"/node_modules/date-fns/esm/isThisWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-219"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-230":{"id":"/node_modules/date-fns/esm/isThisYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-220"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-231":{"id":"/node_modules/date-fns/esm/isThursday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-232":{"id":"/node_modules/date-fns/esm/isToday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-211"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-233":{"id":"/node_modules/date-fns/esm/isTomorrow/index.js","moduleParts":{},"imported":[{"uid":"3b6c-97"},{"uid":"3b6c-211"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-234":{"id":"/node_modules/date-fns/esm/isTuesday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-235":{"id":"/node_modules/date-fns/esm/isValid/index.js","moduleParts":{},"imported":[{"uid":"3b6c-200"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-113"},{"uid":"3b6c-155"},{"uid":"3b6c-161"},{"uid":"3b6c-163"},{"uid":"3b6c-164"},{"uid":"3b6c-208"},{"uid":"3b6c-247"}]},"3b6c-236":{"id":"/node_modules/date-fns/esm/isWednesday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-237":{"id":"/node_modules/date-fns/esm/isWeekend/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-96"},{"uid":"3b6c-113"},{"uid":"3b6c-137"}]},"3b6c-238":{"id":"/node_modules/date-fns/esm/isWithinInterval/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-239":{"id":"/node_modules/date-fns/esm/isYesterday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-211"},{"uid":"3b6c-318"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-240":{"id":"/node_modules/date-fns/esm/lastDayOfDecade/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-241":{"id":"/node_modules/date-fns/esm/lastDayOfISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-245"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-242":{"id":"/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-177"},{"uid":"3b6c-304"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-243":{"id":"/node_modules/date-fns/esm/lastDayOfMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-190"}]},"3b6c-244":{"id":"/node_modules/date-fns/esm/lastDayOfQuarter/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-245":{"id":"/node_modules/date-fns/esm/lastDayOfWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-241"}]},"3b6c-246":{"id":"/node_modules/date-fns/esm/lastDayOfYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-247":{"id":"/node_modules/date-fns/esm/lightFormat/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-339"},{"uid":"3b6c-44"},{"uid":"3b6c-235"},{"uid":"3b6c-321"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-248":{"id":"/node_modules/date-fns/esm/max/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-108"}]},"3b6c-249":{"id":"/node_modules/date-fns/esm/milliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-250":{"id":"/node_modules/date-fns/esm/millisecondsToHours/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-251":{"id":"/node_modules/date-fns/esm/millisecondsToMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-252":{"id":"/node_modules/date-fns/esm/millisecondsToSeconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-253":{"id":"/node_modules/date-fns/esm/min/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-108"}]},"3b6c-254":{"id":"/node_modules/date-fns/esm/minutesToHours/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-255":{"id":"/node_modules/date-fns/esm/minutesToMilliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-256":{"id":"/node_modules/date-fns/esm/minutesToSeconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-257":{"id":"/node_modules/date-fns/esm/monthsToQuarters/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-258":{"id":"/node_modules/date-fns/esm/monthsToYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-259":{"id":"/node_modules/date-fns/esm/nextDay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-97"},{"uid":"3b6c-168"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-260"},{"uid":"3b6c-261"},{"uid":"3b6c-262"},{"uid":"3b6c-263"},{"uid":"3b6c-264"},{"uid":"3b6c-265"},{"uid":"3b6c-266"}]},"3b6c-260":{"id":"/node_modules/date-fns/esm/nextFriday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-259"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-261":{"id":"/node_modules/date-fns/esm/nextMonday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-259"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-262":{"id":"/node_modules/date-fns/esm/nextSaturday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-259"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-263":{"id":"/node_modules/date-fns/esm/nextSunday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-259"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-264":{"id":"/node_modules/date-fns/esm/nextThursday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-259"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-265":{"id":"/node_modules/date-fns/esm/nextTuesday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-259"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-266":{"id":"/node_modules/date-fns/esm/nextWednesday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-259"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-267":{"id":"/node_modules/date-fns/esm/parse/index.js","moduleParts":{},"imported":[{"uid":"3b6c-337"},{"uid":"3b6c-321"},{"uid":"3b6c-40"},{"uid":"3b6c-68"},{"uid":"3b6c-335"},{"uid":"3b6c-44"},{"uid":"3b6c-336"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-340"},{"uid":"3b6c-341"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-208"}]},"3b6c-268":{"id":"/node_modules/date-fns/esm/parseISO/index.js","moduleParts":{},"imported":[{"uid":"3b6c-331"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-269":{"id":"/node_modules/date-fns/esm/parseJSON/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-270":{"id":"/node_modules/date-fns/esm/previousDay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-168"},{"uid":"3b6c-318"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-271"},{"uid":"3b6c-272"},{"uid":"3b6c-273"},{"uid":"3b6c-274"},{"uid":"3b6c-275"},{"uid":"3b6c-276"},{"uid":"3b6c-277"}]},"3b6c-271":{"id":"/node_modules/date-fns/esm/previousFriday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-270"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-272":{"id":"/node_modules/date-fns/esm/previousMonday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-270"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-273":{"id":"/node_modules/date-fns/esm/previousSaturday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-270"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-274":{"id":"/node_modules/date-fns/esm/previousSunday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-270"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-275":{"id":"/node_modules/date-fns/esm/previousThursday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-270"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-276":{"id":"/node_modules/date-fns/esm/previousTuesday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-270"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-277":{"id":"/node_modules/date-fns/esm/previousWednesday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-270"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-278":{"id":"/node_modules/date-fns/esm/quartersToMonths/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-279":{"id":"/node_modules/date-fns/esm/quartersToYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-280":{"id":"/node_modules/date-fns/esm/roundToNearestMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-333"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-281":{"id":"/node_modules/date-fns/esm/secondsToHours/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-282":{"id":"/node_modules/date-fns/esm/secondsToMilliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-283":{"id":"/node_modules/date-fns/esm/secondsToMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-284":{"id":"/node_modules/date-fns/esm/set/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-295"},{"uid":"3b6c-332"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-285":{"id":"/node_modules/date-fns/esm/setDate/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-286":{"id":"/node_modules/date-fns/esm/setDay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-97"},{"uid":"3b6c-40"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-287":{"id":"/node_modules/date-fns/esm/setDayOfYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-288":{"id":"/node_modules/date-fns/esm/setDefaultOptions/index.js","moduleParts":{},"imported":[{"uid":"3b6c-42"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-289":{"id":"/node_modules/date-fns/esm/setHours/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-290":{"id":"/node_modules/date-fns/esm/setISODay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-97"},{"uid":"3b6c-175"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-291":{"id":"/node_modules/date-fns/esm/setISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-176"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-292":{"id":"/node_modules/date-fns/esm/setISOWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-305"},{"uid":"3b6c-114"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-99"}]},"3b6c-293":{"id":"/node_modules/date-fns/esm/setMilliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-294":{"id":"/node_modules/date-fns/esm/setMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-295":{"id":"/node_modules/date-fns/esm/setMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-170"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-284"},{"uid":"3b6c-296"}]},"3b6c-296":{"id":"/node_modules/date-fns/esm/setQuarter/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-295"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-297":{"id":"/node_modules/date-fns/esm/setSeconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-298":{"id":"/node_modules/date-fns/esm/setWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-187"},{"uid":"3b6c-40"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-299":{"id":"/node_modules/date-fns/esm/setWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-114"},{"uid":"3b6c-313"},{"uid":"3b6c-40"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-300":{"id":"/node_modules/date-fns/esm/setYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-301":{"id":"/node_modules/date-fns/esm/startOfDay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-114"},{"uid":"3b6c-211"},{"uid":"3b6c-310"}]},"3b6c-302":{"id":"/node_modules/date-fns/esm/startOfDecade/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-303":{"id":"/node_modules/date-fns/esm/startOfHour/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-212"}]},"3b6c-304":{"id":"/node_modules/date-fns/esm/startOfISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-312"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-116"},{"uid":"3b6c-145"},{"uid":"3b6c-176"},{"uid":"3b6c-177"},{"uid":"3b6c-242"},{"uid":"3b6c-305"}]},"3b6c-305":{"id":"/node_modules/date-fns/esm/startOfISOWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-177"},{"uid":"3b6c-304"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-176"},{"uid":"3b6c-178"},{"uid":"3b6c-214"},{"uid":"3b6c-292"}]},"3b6c-306":{"id":"/node_modules/date-fns/esm/startOfMinute/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-133"},{"uid":"3b6c-215"}]},"3b6c-307":{"id":"/node_modules/date-fns/esm/startOfMonth/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-138"},{"uid":"3b6c-188"},{"uid":"3b6c-190"}]},"3b6c-308":{"id":"/node_modules/date-fns/esm/startOfQuarter/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-135"},{"uid":"3b6c-217"}]},"3b6c-309":{"id":"/node_modules/date-fns/esm/startOfSecond/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-218"}]},"3b6c-310":{"id":"/node_modules/date-fns/esm/startOfToday/index.js","moduleParts":{},"imported":[{"uid":"3b6c-301"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-311":{"id":"/node_modules/date-fns/esm/startOfTomorrow/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-312":{"id":"/node_modules/date-fns/esm/startOfWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-119"},{"uid":"3b6c-136"},{"uid":"3b6c-187"},{"uid":"3b6c-189"},{"uid":"3b6c-219"},{"uid":"3b6c-304"},{"uid":"3b6c-313"}]},"3b6c-313":{"id":"/node_modules/date-fns/esm/startOfWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-189"},{"uid":"3b6c-312"},{"uid":"3b6c-332"},{"uid":"3b6c-38"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-187"},{"uid":"3b6c-299"}]},"3b6c-314":{"id":"/node_modules/date-fns/esm/startOfYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-139"},{"uid":"3b6c-169"}]},"3b6c-315":{"id":"/node_modules/date-fns/esm/startOfYesterday/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-316":{"id":"/node_modules/date-fns/esm/sub/index.js","moduleParts":{},"imported":[{"uid":"3b6c-318"},{"uid":"3b6c-323"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-317":{"id":"/node_modules/date-fns/esm/subBusinessDays/index.js","moduleParts":{},"imported":[{"uid":"3b6c-96"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-318":{"id":"/node_modules/date-fns/esm/subDays/index.js","moduleParts":{},"imported":[{"uid":"3b6c-97"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-239"},{"uid":"3b6c-270"},{"uid":"3b6c-316"}]},"3b6c-319":{"id":"/node_modules/date-fns/esm/subHours/index.js","moduleParts":{},"imported":[{"uid":"3b6c-98"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-320":{"id":"/node_modules/date-fns/esm/subISOWeekYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-99"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-123"}]},"3b6c-321":{"id":"/node_modules/date-fns/esm/subMilliseconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-100"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-155"},{"uid":"3b6c-165"},{"uid":"3b6c-247"},{"uid":"3b6c-267"}]},"3b6c-322":{"id":"/node_modules/date-fns/esm/subMinutes/index.js","moduleParts":{},"imported":[{"uid":"3b6c-101"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-323":{"id":"/node_modules/date-fns/esm/subMonths/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-102"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-316"}]},"3b6c-324":{"id":"/node_modules/date-fns/esm/subQuarters/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-103"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-325":{"id":"/node_modules/date-fns/esm/subSeconds/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-104"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-326":{"id":"/node_modules/date-fns/esm/subWeeks/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-105"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-327":{"id":"/node_modules/date-fns/esm/subYears/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-106"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-328":{"id":"/node_modules/date-fns/esm/weeksToDays/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-329":{"id":"/node_modules/date-fns/esm/yearsToMonths/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-330":{"id":"/node_modules/date-fns/esm/yearsToQuarters/index.js","moduleParts":{},"imported":[{"uid":"3b6c-38"},{"uid":"3b6c-331"}],"importedBy":[{"uid":"3b6c-94"}]},"3b6c-331":{"id":"/node_modules/date-fns/esm/constants/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-94"},{"uid":"3b6c-112"},{"uid":"3b6c-122"},{"uid":"3b6c-125"},{"uid":"3b6c-192"},{"uid":"3b6c-193"},{"uid":"3b6c-194"},{"uid":"3b6c-197"},{"uid":"3b6c-250"},{"uid":"3b6c-251"},{"uid":"3b6c-252"},{"uid":"3b6c-254"},{"uid":"3b6c-255"},{"uid":"3b6c-256"},{"uid":"3b6c-257"},{"uid":"3b6c-258"},{"uid":"3b6c-268"},{"uid":"3b6c-278"},{"uid":"3b6c-279"},{"uid":"3b6c-281"},{"uid":"3b6c-282"},{"uid":"3b6c-283"},{"uid":"3b6c-328"},{"uid":"3b6c-329"},{"uid":"3b6c-330"},{"uid":"3b6c-383"}]},"3b6c-332":{"id":"/node_modules/date-fns/esm/_lib/toInteger/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-95"},{"uid":"3b6c-96"},{"uid":"3b6c-97"},{"uid":"3b6c-98"},{"uid":"3b6c-99"},{"uid":"3b6c-100"},{"uid":"3b6c-101"},{"uid":"3b6c-102"},{"uid":"3b6c-103"},{"uid":"3b6c-104"},{"uid":"3b6c-105"},{"uid":"3b6c-106"},{"uid":"3b6c-113"},{"uid":"3b6c-152"},{"uid":"3b6c-155"},{"uid":"3b6c-163"},{"uid":"3b6c-165"},{"uid":"3b6c-166"},{"uid":"3b6c-188"},{"uid":"3b6c-189"},{"uid":"3b6c-245"},{"uid":"3b6c-267"},{"uid":"3b6c-268"},{"uid":"3b6c-280"},{"uid":"3b6c-284"},{"uid":"3b6c-285"},{"uid":"3b6c-286"},{"uid":"3b6c-287"},{"uid":"3b6c-289"},{"uid":"3b6c-290"},{"uid":"3b6c-291"},{"uid":"3b6c-292"},{"uid":"3b6c-293"},{"uid":"3b6c-294"},{"uid":"3b6c-295"},{"uid":"3b6c-296"},{"uid":"3b6c-297"},{"uid":"3b6c-298"},{"uid":"3b6c-299"},{"uid":"3b6c-300"},{"uid":"3b6c-312"},{"uid":"3b6c-313"},{"uid":"3b6c-316"},{"uid":"3b6c-317"},{"uid":"3b6c-318"},{"uid":"3b6c-319"},{"uid":"3b6c-320"},{"uid":"3b6c-321"},{"uid":"3b6c-322"},{"uid":"3b6c-323"},{"uid":"3b6c-324"},{"uid":"3b6c-325"},{"uid":"3b6c-326"},{"uid":"3b6c-327"},{"uid":"3b6c-346"},{"uid":"3b6c-380"},{"uid":"3b6c-381"},{"uid":"3b6c-385"},{"uid":"3b6c-386"},{"uid":"3b6c-387"},{"uid":"3b6c-388"}]},"3b6c-333":{"id":"/node_modules/date-fns/esm/_lib/roundingMethods/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-122"},{"uid":"3b6c-125"},{"uid":"3b6c-127"},{"uid":"3b6c-128"},{"uid":"3b6c-129"},{"uid":"3b6c-280"}]},"3b6c-334":{"id":"/node_modules/date-fns/esm/_lib/format/formatters/index.js","moduleParts":{},"imported":[{"uid":"3b6c-342"},{"uid":"3b6c-343"},{"uid":"3b6c-344"},{"uid":"3b6c-345"},{"uid":"3b6c-346"},{"uid":"3b6c-338"},{"uid":"3b6c-339"}],"importedBy":[{"uid":"3b6c-155"}]},"3b6c-335":{"id":"/node_modules/date-fns/esm/_lib/format/longFormatters/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-155"},{"uid":"3b6c-267"}]},"3b6c-336":{"id":"/node_modules/date-fns/esm/_lib/protectedTokens/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-155"},{"uid":"3b6c-267"}]},"3b6c-337":{"id":"/node_modules/date-fns/esm/_lib/defaultLocale/index.js","moduleParts":{},"imported":[{"uid":"3b6c-66"}],"importedBy":[{"uid":"3b6c-155"},{"uid":"3b6c-156"},{"uid":"3b6c-72"},{"uid":"3b6c-159"},{"uid":"3b6c-165"},{"uid":"3b6c-267"}]},"3b6c-338":{"id":"/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-160"},{"uid":"3b6c-161"},{"uid":"3b6c-163"},{"uid":"3b6c-164"},{"uid":"3b6c-334"},{"uid":"3b6c-339"}]},"3b6c-339":{"id":"/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","moduleParts":{},"imported":[{"uid":"3b6c-338"}],"importedBy":[{"uid":"3b6c-247"},{"uid":"3b6c-334"}]},"3b6c-340":{"id":"/node_modules/date-fns/esm/parse/_lib/Setter.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-267"},{"uid":"3b6c-382"}]},"3b6c-341":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/index.js","moduleParts":{},"imported":[{"uid":"3b6c-347"},{"uid":"3b6c-348"},{"uid":"3b6c-349"},{"uid":"3b6c-350"},{"uid":"3b6c-351"},{"uid":"3b6c-352"},{"uid":"3b6c-353"},{"uid":"3b6c-354"},{"uid":"3b6c-355"},{"uid":"3b6c-356"},{"uid":"3b6c-357"},{"uid":"3b6c-358"},{"uid":"3b6c-359"},{"uid":"3b6c-360"},{"uid":"3b6c-361"},{"uid":"3b6c-362"},{"uid":"3b6c-363"},{"uid":"3b6c-364"},{"uid":"3b6c-365"},{"uid":"3b6c-366"},{"uid":"3b6c-367"},{"uid":"3b6c-368"},{"uid":"3b6c-369"},{"uid":"3b6c-370"},{"uid":"3b6c-371"},{"uid":"3b6c-372"},{"uid":"3b6c-373"},{"uid":"3b6c-374"},{"uid":"3b6c-375"},{"uid":"3b6c-376"},{"uid":"3b6c-377"}],"importedBy":[{"uid":"3b6c-267"}]},"3b6c-342":{"id":"/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-334"}]},"3b6c-343":{"id":"/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-378"},{"uid":"3b6c-379"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-334"},{"uid":"3b6c-386"}]},"3b6c-344":{"id":"/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"},{"uid":"3b6c-378"}],"importedBy":[{"uid":"3b6c-334"},{"uid":"3b6c-379"}]},"3b6c-345":{"id":"/node_modules/date-fns/esm/_lib/getUTCWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-380"},{"uid":"3b6c-381"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-334"},{"uid":"3b6c-385"}]},"3b6c-346":{"id":"/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"},{"uid":"3b6c-380"},{"uid":"3b6c-332"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-334"},{"uid":"3b6c-349"},{"uid":"3b6c-381"}]},"3b6c-347":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-348":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-349":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"},{"uid":"3b6c-346"},{"uid":"3b6c-380"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-350":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"},{"uid":"3b6c-378"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-351":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-352":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-353":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-354":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js","moduleParts":{},"imported":[{"uid":"3b6c-383"},{"uid":"3b6c-382"},{"uid":"3b6c-384"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-355":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-356":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"},{"uid":"3b6c-385"},{"uid":"3b6c-380"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-357":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"},{"uid":"3b6c-386"},{"uid":"3b6c-378"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-358":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js","moduleParts":{},"imported":[{"uid":"3b6c-383"},{"uid":"3b6c-382"},{"uid":"3b6c-384"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-359":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-360":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-387"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-361":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"},{"uid":"3b6c-387"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-362":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"},{"uid":"3b6c-387"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-363":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"},{"uid":"3b6c-388"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-364":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-365":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-366":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-367":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-368":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-369":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-370":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-371":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-372":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-373":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-374":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-375":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-384"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-376":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-377":{"id":"/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js","moduleParts":{},"imported":[{"uid":"3b6c-382"},{"uid":"3b6c-383"}],"importedBy":[{"uid":"3b6c-341"}]},"3b6c-378":{"id":"/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-343"},{"uid":"3b6c-344"},{"uid":"3b6c-350"},{"uid":"3b6c-357"},{"uid":"3b6c-379"}]},"3b6c-379":{"id":"/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-344"},{"uid":"3b6c-378"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-343"}]},"3b6c-380":{"id":"/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"},{"uid":"3b6c-332"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-345"},{"uid":"3b6c-346"},{"uid":"3b6c-349"},{"uid":"3b6c-356"},{"uid":"3b6c-381"}]},"3b6c-381":{"id":"/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","moduleParts":{},"imported":[{"uid":"3b6c-346"},{"uid":"3b6c-38"},{"uid":"3b6c-380"},{"uid":"3b6c-332"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-345"}]},"3b6c-382":{"id":"/node_modules/date-fns/esm/parse/_lib/Parser.js","moduleParts":{},"imported":[{"uid":"3b6c-340"}],"importedBy":[{"uid":"3b6c-347"},{"uid":"3b6c-348"},{"uid":"3b6c-349"},{"uid":"3b6c-350"},{"uid":"3b6c-351"},{"uid":"3b6c-352"},{"uid":"3b6c-353"},{"uid":"3b6c-354"},{"uid":"3b6c-355"},{"uid":"3b6c-356"},{"uid":"3b6c-357"},{"uid":"3b6c-358"},{"uid":"3b6c-359"},{"uid":"3b6c-360"},{"uid":"3b6c-361"},{"uid":"3b6c-362"},{"uid":"3b6c-363"},{"uid":"3b6c-364"},{"uid":"3b6c-365"},{"uid":"3b6c-366"},{"uid":"3b6c-367"},{"uid":"3b6c-368"},{"uid":"3b6c-369"},{"uid":"3b6c-370"},{"uid":"3b6c-371"},{"uid":"3b6c-372"},{"uid":"3b6c-373"},{"uid":"3b6c-374"},{"uid":"3b6c-375"},{"uid":"3b6c-376"},{"uid":"3b6c-377"}]},"3b6c-383":{"id":"/node_modules/date-fns/esm/parse/_lib/utils.js","moduleParts":{},"imported":[{"uid":"3b6c-331"},{"uid":"3b6c-384"}],"importedBy":[{"uid":"3b6c-348"},{"uid":"3b6c-349"},{"uid":"3b6c-350"},{"uid":"3b6c-351"},{"uid":"3b6c-352"},{"uid":"3b6c-353"},{"uid":"3b6c-354"},{"uid":"3b6c-355"},{"uid":"3b6c-356"},{"uid":"3b6c-357"},{"uid":"3b6c-358"},{"uid":"3b6c-359"},{"uid":"3b6c-361"},{"uid":"3b6c-362"},{"uid":"3b6c-363"},{"uid":"3b6c-364"},{"uid":"3b6c-365"},{"uid":"3b6c-366"},{"uid":"3b6c-367"},{"uid":"3b6c-368"},{"uid":"3b6c-369"},{"uid":"3b6c-370"},{"uid":"3b6c-371"},{"uid":"3b6c-372"},{"uid":"3b6c-373"},{"uid":"3b6c-374"},{"uid":"3b6c-375"},{"uid":"3b6c-376"},{"uid":"3b6c-377"}]},"3b6c-384":{"id":"/node_modules/date-fns/esm/parse/_lib/constants.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"3b6c-354"},{"uid":"3b6c-355"},{"uid":"3b6c-356"},{"uid":"3b6c-357"},{"uid":"3b6c-358"},{"uid":"3b6c-359"},{"uid":"3b6c-367"},{"uid":"3b6c-368"},{"uid":"3b6c-369"},{"uid":"3b6c-370"},{"uid":"3b6c-371"},{"uid":"3b6c-372"},{"uid":"3b6c-374"},{"uid":"3b6c-375"},{"uid":"3b6c-383"}]},"3b6c-385":{"id":"/node_modules/date-fns/esm/_lib/setUTCWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-345"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-356"}]},"3b6c-386":{"id":"/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js","moduleParts":{},"imported":[{"uid":"3b6c-332"},{"uid":"3b6c-40"},{"uid":"3b6c-343"},{"uid":"3b6c-38"}],"importedBy":[{"uid":"3b6c-357"}]},"3b6c-387":{"id":"/node_modules/date-fns/esm/_lib/setUTCDay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"},{"uid":"3b6c-332"},{"uid":"3b6c-42"}],"importedBy":[{"uid":"3b6c-360"},{"uid":"3b6c-361"},{"uid":"3b6c-362"}]},"3b6c-388":{"id":"/node_modules/date-fns/esm/_lib/setUTCISODay/index.js","moduleParts":{},"imported":[{"uid":"3b6c-40"},{"uid":"3b6c-38"},{"uid":"3b6c-332"}],"importedBy":[{"uid":"3b6c-363"}]}},"env":{"rollup":"2.77.2"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4018
+
4019
+ const run = () => {
4020
+ const width = window.innerWidth;
4021
+ const height = window.innerHeight;
4022
+
4023
+ const chartNode = document.querySelector("main");
4024
+ drawChart.default(chartNode, data, width, height);
4025
+ };
4026
+
4027
+ window.addEventListener('resize', run);
4028
+
4029
+ document.addEventListener('DOMContentLoaded', run);
4030
+ /*-->*/
4031
+ </script>
4032
+ </body>
4033
+ </html>
4034
+