@jsonforms/examples 3.0.0 → 3.1.0-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.
package/stats.html CHANGED
@@ -8,19 +8,12 @@
8
8
  <title>RollUp Visualizer</title>
9
9
  <style>
10
10
  :root {
11
- --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
12
- "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
13
- "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
14
- --background-color: #f7eedf;
15
- --text-color: #333;
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;
16
15
  }
17
16
 
18
- @media (prefers-color-scheme: dark) {
19
- :root {
20
- --background-color: #2b2d42;
21
- --text-color: #edf2f4;
22
- }
23
- }
24
17
  html {
25
18
  box-sizing: border-box;
26
19
  }
@@ -151,9 +144,9 @@ main {
151
144
  var drawChart = (function (exports) {
152
145
  'use strict';
153
146
 
154
- var n,u$1,i$1,t$1,o$2,r$1={},f$1=[],e$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function c$1(n,l){for(var u in l)n[u]=l[u];return n}function s$1(n){var l=n.parentNode;l&&l.removeChild(n);}function a$1(n,l,u){var i,t,o,r=arguments,f={};for(o in l)"key"==o?i=l[o]:"ref"==o?t=l[o]:f[o]=l[o];if(arguments.length>3)for(u=[u],o=3;o<arguments.length;o++)u.push(r[o]);if(null!=u&&(f.children=u),"function"==typeof n&&null!=n.defaultProps)for(o in n.defaultProps)void 0===f[o]&&(f[o]=n.defaultProps[o]);return v$1(n,f,i,t,null)}function v$1(l,u,i,t,o){var r={type:l,props:u,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++n.__v:o};return null!=n.vnode&&n.vnode(r),r}function y$1(n){return n.children}function p$1(n,l){this.props=n,this.context=l;}function d$1(n,l){if(null==l)return n.__?d$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?d$1(n):null}function _(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 _(n)}}function k$1(l){(!l.__d&&(l.__d=!0)&&u$1.push(l)&&!b$1.__r++||t$1!==n.debounceRendering)&&((t$1=n.debounceRendering)||i$1)(b$1);}function b$1(){for(var n;b$1.__r=u$1.length;)n=u$1.sort(function(n,l){return n.__v.__b-l.__v.__b}),u$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=c$1({},t)).__v=t.__v+1,I(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?d$1(t):o,t.__h),T(u,t),t.__e!=o&&_(t)));});}function m$1(n,l,u,i,t,o,e,c,s,a){var h,p,_,k,b,m,w,A=i&&i.__k||f$1,P=A.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(y$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===(_=A[h])||_&&k.key==_.key&&k.type===_.type)A[h]=void 0;else for(p=0;p<P;p++){if((_=A[p])&&k.key==_.key&&k.type===_.type){A[p]=void 0;break}_=null;}I(n,k,_=_||r$1,t,o,e,c,s,a),b=k.__e,(p=k.ref)&&_.ref!=p&&(w||(w=[]),_.ref&&w.push(_.ref,null,k),w.push(p,k.__c||b,k)),null!=b?(null==m&&(m=b),"function"==typeof k.type&&null!=k.__k&&k.__k===_.__k?k.__d=s=g$1(k,s,n):s=x$1(n,k,_,A,b,s),a||"option"!==u.type?"function"==typeof u.type&&(u.__d=s):n.value=""):s&&_.__e==s&&s.parentNode!=n&&(s=d$1(_));}for(u.__e=m,h=P;h--;)null!=A[h]&&("function"==typeof u.type&&null!=A[h].__e&&A[h].__e==u.__d&&(u.__d=d$1(i,h+1)),L(A[h],A[h]));if(w)for(h=0;h<w.length;h++)z(w[h],w[++h],w[++h]);}function g$1(n,l,u){var i,t;for(i=0;i<n.__k.length;i++)(t=n.__k[i])&&(t.__=n,l="function"==typeof t.type?g$1(t,l,u):x$1(u,t,t,n.__k,t.__e,l));return l}function x$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 A$1(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||C$1(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]||C$1(n,o,l[o],u[o],i);}function P(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||e$1.test(l)?u:u+"px";}function C$1(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||P(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||P(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?H:$,o):n.removeEventListener(l,o?H:$,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 $(l){this.l[l.type+!1](n.event?n.event(l):l);}function H(l){this.l[l.type+!0](n.event?n.event(l):l);}function I(l,u,i,t,o,r,f,e,s){var a,v,h,d,_,k,b,g,w,x,A,P=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(s=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=n.__b)&&a(u);try{n:if("function"==typeof P){if(g=u.props,w=(a=P.contextType)&&t[a.__c],x=a?w?w.props.value:a.__:t,i.__c?b=(v=u.__c=i.__c).__=v.__E:("prototype"in P&&P.prototype.render?u.__c=v=new P(g,x):(u.__c=v=new p$1(g,x),v.constructor=P,v.render=M),w&&w.sub(v),v.props=g,v.state||(v.state={}),v.context=x,v.__n=t,h=v.__d=!0,v.__h=[]),null==v.__s&&(v.__s=v.state),null!=P.getDerivedStateFromProps&&(v.__s==v.state&&(v.__s=c$1({},v.__s)),c$1(v.__s,P.getDerivedStateFromProps(g,v.__s))),d=v.props,_=v.state,h)null==P.getDerivedStateFromProps&&null!=v.componentWillMount&&v.componentWillMount(),null!=v.componentDidMount&&v.__h.push(v.componentDidMount);else {if(null==P.getDerivedStateFromProps&&g!==d&&null!=v.componentWillReceiveProps&&v.componentWillReceiveProps(g,x),!v.__e&&null!=v.shouldComponentUpdate&&!1===v.shouldComponentUpdate(g,v.__s,x)||u.__v===i.__v){v.props=g,v.state=v.__s,u.__v!==i.__v&&(v.__d=!1),v.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),v.__h.length&&f.push(v);break n}null!=v.componentWillUpdate&&v.componentWillUpdate(g,v.__s,x),null!=v.componentDidUpdate&&v.__h.push(function(){v.componentDidUpdate(d,_,k);});}v.context=x,v.props=g,v.state=v.__s,(a=n.__r)&&a(u),v.__d=!1,v.__v=u,v.__P=l,a=v.render(v.props,v.state,v.context),v.state=v.__s,null!=v.getChildContext&&(t=c$1(c$1({},t),v.getChildContext())),h||null==v.getSnapshotBeforeUpdate||(k=v.getSnapshotBeforeUpdate(d,_)),A=null!=a&&a.type===y$1&&null==a.key?a.props.children:a,m$1(l,Array.isArray(A)?A:[A],u,i,t,o,r,f,e,s),v.base=u.__e,u.__h=null,v.__h.length&&f.push(v),b&&(v.__E=v.__=null),v.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=j$1(i.__e,u,i,t,o,r,f,s);(a=n.diffed)&&a(u);}catch(l){u.__v=null,(s||null!=r)&&(u.__e=e,u.__h=!!s,r[r.indexOf(e)]=null),n.__e(l,u,i);}}function T(l,u){n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function j$1(n,l,u,i,t,o,e,c){var a,v,h,y,p=u.props,d=l.props,_=l.type,k=0;if("svg"===_&&(t=!0),null!=o)for(;k<o.length;k++)if((a=o[k])&&(a===n||(_?a.localName==_:3==a.nodeType))){n=a,o[k]=null;break}if(null==n){if(null===_)return document.createTextNode(d);n=t?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,d.is&&d),o=null,c=!1;}if(null===_)p===d||c&&n.data===d||(n.data=d);else {if(o=o&&f$1.slice.call(n.childNodes),v=(p=u.props||r$1).dangerouslySetInnerHTML,h=d.dangerouslySetInnerHTML,!c){if(null!=o)for(p={},y=0;y<n.attributes.length;y++)p[n.attributes[y].name]=n.attributes[y].value;(h||v)&&(h&&(v&&h.__html==v.__html||h.__html===n.innerHTML)||(n.innerHTML=h&&h.__html||""));}if(A$1(n,d,p,t,c),h)l.__k=[];else if(k=l.props.children,m$1(n,Array.isArray(k)?k:[k],l,u,i,t&&"foreignObject"!==_,o,e,n.firstChild,c),null!=o)for(k=o.length;k--;)null!=o[k]&&s$1(o[k]);c||("value"in d&&void 0!==(k=d.value)&&(k!==n.value||"progress"===_&&!k)&&C$1(n,"value",k,p.value,!1),"checked"in d&&void 0!==(k=d.checked)&&k!==n.checked&&C$1(n,"checked",k,p.checked,!1));}return n}function z(l,u,i){try{"function"==typeof l?l(u):l.current=u;}catch(l){n.__e(l,i);}}function L(l,u,i){var t,o,r;if(n.unmount&&n.unmount(l),(t=l.ref)&&(t.current&&t.current!==l.__e||z(t,null,u)),i||"function"==typeof l.type||(i=null!=(o=l.__e)),l.__e=l.__d=void 0,null!=(t=l.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(l){n.__e(l,u);}t.base=t.__P=null;}if(t=l.__k)for(r=0;r<t.length;r++)t[r]&&L(t[r],u,i);null!=o&&s$1(o);}function M(n,l,u){return this.constructor(n,u)}function N(l,u,i){var t,o,e;n.__&&n.__(l,u),o=(t="function"==typeof i)?null:i&&i.__k||u.__k,e=[],I(u,l=(!t&&i||u).__k=a$1(y$1,null,[l]),o||r$1,r$1,void 0!==u.ownerSVGElement,!t&&i?[i]:o?null:u.firstChild?f$1.slice.call(u.childNodes):null,e,!t&&i?i:o?o.__e:u.firstChild,t),T(e,l);}function q(n,l){var u={__c:l="__cC"+o$2++,__: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(k$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:function(n,l){for(var u,i,t;l=l.__;)if((u=l.__c)&&!u.__)try{if((i=u.constructor)&&null!=i.getDerivedStateFromError&&(u.setState(i.getDerivedStateFromError(n)),t=u.__d),null!=u.componentDidCatch&&(u.componentDidCatch(n),t=u.__d),t)return u.__E=u}catch(l){n=l;}throw n},__v:0},p$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=c$1({},this.state),"function"==typeof n&&(n=n(c$1({},u),this.props)),n&&c$1(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k$1(this));},p$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k$1(this));},p$1.prototype.render=y$1,u$1=[],i$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,b$1.__r=0,o$2=0;
147
+ var n,l$1,u$1,t$1,o$2,r$1,f$1={},e$1=[],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 _$2(n,l){if(null==l)return n.__?_$2(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?_$2(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?_$2(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$1,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,k.ref?k.ref: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=_$2(d));}for(u.__e=g,h=C;h--;)null!=x[h]&&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&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}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,I,T=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 T){if(g=u.props,m=(a=T.contextType)&&t[a.__c],x=a?m?m.props.value:a.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in T&&T.prototype.render?u.__c=h=new T(g,x):(u.__c=h=new d$1(g,x),h.constructor=T,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=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s$1({},h.__s)),s$1(h.__s,T.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state,v)null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==T.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){for(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);}),A=0;A<h._sb.length;A++)h.__h.push(h._sb[A]);h._sb=[],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,C=l$1.__r,$=0,"prototype"in T&&T.prototype.render){for(h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[];}else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++$<25);h.state=h.__s,null!=h.getChildContext&&(t=s$1(s$1({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,_)),I=null!=a&&a.type===p$1&&null==a.key?a.props.children:a,w$1(n,Array.isArray(I)?I:[I],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&&_$2(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,n.__c=void 0;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,i||"function"!=typeof n.type);i||null==n.__e||a$1(n.__e),n.__=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$2(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$1.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._sb.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;
155
148
 
156
- function o$1(_,o,e,n$1,t){var f={};for(var l in o)"ref"!=l&&(f[l]=o[l]);var s,u,a={type:_,props:f,key:e,ref:o&&o.ref,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:++n.__v,__source:n$1,__self:t};if("function"==typeof _&&(s=_.defaultProps))for(u in s)void 0===f[u]&&(f[u]=s[u]);return n.vnode&&n.vnode(a),a}
149
+ var _$1=0;function o$1(o,e,n,t,f){var l,s,u={};for(s in e)"ref"==s?l=e[s]:u[s]=e[s];var a={type:o,props:u,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--_$1,__source:f,__self:t};if("function"==typeof o&&(l=o.defaultProps))for(s in l)void 0===u[s]&&(u[s]=l[s]);return l$1.vnode&&l$1.vnode(a),a}
157
150
 
158
151
  function count$1(node) {
159
152
  var sum = 0,
@@ -397,7 +390,7 @@ var drawChart = (function (exports) {
397
390
  return 0;
398
391
  }
399
392
 
400
- function constant(x) {
393
+ function constant$1(x) {
401
394
  return function() {
402
395
  return x;
403
396
  };
@@ -423,6 +416,8 @@ var drawChart = (function (exports) {
423
416
  }
424
417
  }
425
418
 
419
+ Object.create(Node$1.prototype);
420
+
426
421
  function treemapSlice(parent, x0, y0, x1, y1) {
427
422
  var nodes = parent.children,
428
423
  node,
@@ -564,7 +559,7 @@ var drawChart = (function (exports) {
564
559
  };
565
560
 
566
561
  treemap.paddingInner = function(x) {
567
- return arguments.length ? (paddingInner = typeof x === "function" ? x : constant(+x), treemap) : paddingInner;
562
+ return arguments.length ? (paddingInner = typeof x === "function" ? x : constant$1(+x), treemap) : paddingInner;
568
563
  };
569
564
 
570
565
  treemap.paddingOuter = function(x) {
@@ -572,19 +567,19 @@ var drawChart = (function (exports) {
572
567
  };
573
568
 
574
569
  treemap.paddingTop = function(x) {
575
- return arguments.length ? (paddingTop = typeof x === "function" ? x : constant(+x), treemap) : paddingTop;
570
+ return arguments.length ? (paddingTop = typeof x === "function" ? x : constant$1(+x), treemap) : paddingTop;
576
571
  };
577
572
 
578
573
  treemap.paddingRight = function(x) {
579
- return arguments.length ? (paddingRight = typeof x === "function" ? x : constant(+x), treemap) : paddingRight;
574
+ return arguments.length ? (paddingRight = typeof x === "function" ? x : constant$1(+x), treemap) : paddingRight;
580
575
  };
581
576
 
582
577
  treemap.paddingBottom = function(x) {
583
- return arguments.length ? (paddingBottom = typeof x === "function" ? x : constant(+x), treemap) : paddingBottom;
578
+ return arguments.length ? (paddingBottom = typeof x === "function" ? x : constant$1(+x), treemap) : paddingBottom;
584
579
  };
585
580
 
586
581
  treemap.paddingLeft = function(x) {
587
- return arguments.length ? (paddingLeft = typeof x === "function" ? x : constant(+x), treemap) : paddingLeft;
582
+ return arguments.length ? (paddingLeft = typeof x === "function" ? x : constant$1(+x), treemap) : paddingLeft;
588
583
  };
589
584
 
590
585
  return treemap;
@@ -665,11 +660,11 @@ var drawChart = (function (exports) {
665
660
  return availableSizeProperties;
666
661
  };
667
662
 
668
- var t,u,r,o=0,i=[],c=n.__b,f=n.__r,e=n.diffed,a=n.__c,v=n.unmount;function m(t,r){n.__h&&n.__h(u,t,o||r),o=0;var i=u.__H||(u.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function l(n){return o=1,p(w,n)}function p(n,r,o){var i=m(t++,2);return i.t=n,i.__c||(i.__=[o?o(r):w(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 y(r,o){var i=m(t++,3);!n.__s&&k(i.__H,o)&&(i.__=r,i.__H=o,u.__H.__h.push(i));}function h(r,o){var i=m(t++,4);!n.__s&&k(i.__H,o)&&(i.__=r,i.__H=o,u.__h.push(i));}function s(n){return o=5,d(function(){return {current:n}},[])}function d(n,u){var r=m(t++,7);return k(r.__H,u)&&(r.__=n(),r.__H=u,r.__h=n),r.__}function F(n){var r=u.context[n.__c],o=m(t++,9);return o.__c=n,r?(null==o.__&&(o.__=!0,r.sub(u)),r.props.value):n.__}function x(){i.forEach(function(t){if(t.__P)try{t.__H.__h.forEach(g),t.__H.__h.forEach(j),t.__H.__h=[];}catch(u){t.__H.__h=[],n.__e(u,t.__v);}}),i=[];}n.__b=function(n){u=null,c&&c(n);},n.__r=function(n){f&&f(n),t=0;var r=(u=n.__c).__H;r&&(r.__h.forEach(g),r.__h.forEach(j),r.__h=[]);},n.diffed=function(t){e&&e(t);var o=t.__c;o&&o.__H&&o.__H.__h.length&&(1!==i.push(o)&&r===n.requestAnimationFrame||((r=n.requestAnimationFrame)||function(n){var t,u=function(){clearTimeout(r),b&&cancelAnimationFrame(t),setTimeout(n);},r=setTimeout(u,100);b&&(t=requestAnimationFrame(u));})(x)),u=void 0;},n.__c=function(t,u){u.some(function(t){try{t.__h.forEach(g),t.__h=t.__h.filter(function(n){return !n.__||j(n)});}catch(r){u.some(function(n){n.__h&&(n.__h=[]);}),u=[],n.__e(r,t.__v);}}),a&&a(t,u);},n.unmount=function(t){v&&v(t);var u=t.__c;if(u&&u.__H)try{u.__H.__.forEach(g);}catch(t){n.__e(t,u.__v);}};var b="function"==typeof requestAnimationFrame;function g(n){var t=u;"function"==typeof n.__c&&n.__c(),u=t;}function j(n){var t=u;n.__c=n.__(),u=t;}function k(n,t){return !n||n.length!==t.length||t.some(function(t,u){return t!==n[u]})}function w(n,t){return "function"==typeof t?t(n):t}
663
+ var t,r,u,i,o=0,f=[],c=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function d(t,u){l$1.__h&&l$1.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:c}),i.__[t]}function p(n){return o=1,y(B$1,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):B$1(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){r.u=!0;var f=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return !n.__N}))return !f||f.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),!(!i&&o.__c.props===n)&&(!f||f.call(this,n,t,r))};}return o.__N||o.__}function h(u,i){var o=d(t++,3);!l$1.__s&&z(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o));}function s(u,i){var o=d(t++,4);!l$1.__s&&z(o.__H,i)&&(o.__=u,o.i=i,r.__h.push(o));}function _(n){return o=5,F(function(){return {current:n}},[])}function F(n,r){var u=d(t++,7);return z(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function q(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){"function"!=typeof n.type||n.__m||null===n.__?n.__m||(n.__m=n.__&&n.__.__m?n.__.__m:""):n.__m=(n.__&&n.__.__m?n.__.__m:"")+(n.__&&n.__.__k?n.__.__k.indexOf(n):0),r=null,e&&e(n);},l$1.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0;})):(i.__h.forEach(k),i.__h.forEach(w),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||j)(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(k),t.__h=t.__h.filter(function(n){return !n.__||w(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{k(n);}catch(n){r=n;}}),u.__H=void 0,r&&l$1.__e(r,u.__v));};var g="function"==typeof requestAnimationFrame;function j(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r));}function k(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function w(n){var t=r;n.__c=n.__(),r=t;}function z(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function B$1(n,t){return "function"==typeof t?t(n):t}
669
664
 
670
665
  const SideBar = ({ availableSizeProperties, sizeProperty, setSizeProperty, onExcludeChange, onIncludeChange, }) => {
671
- const [includeValue, setIncludeValue] = l("");
672
- const [excludeValue, setExcludeValue] = l("");
666
+ const [includeValue, setIncludeValue] = p("");
667
+ const [excludeValue, setExcludeValue] = p("");
673
668
  const handleSizePropertyChange = (sizeProp) => () => {
674
669
  if (sizeProp !== sizeProperty) {
675
670
  setSizeProperty(sizeProp);
@@ -688,13 +683,8 @@ var drawChart = (function (exports) {
688
683
  return (o$1("aside", Object.assign({ className: "sidebar" }, { children: [o$1("div", Object.assign({ className: "size-selectors" }, { children: availableSizeProperties.length > 1 &&
689
684
  availableSizeProperties.map((sizeProp) => {
690
685
  const id = `selector-${sizeProp}`;
691
- return (o$1("div", Object.assign({ className: "size-selector" }, { children: [o$1("input", { type: "radio", id: id, checked: sizeProp === sizeProperty, onChange: handleSizePropertyChange(sizeProp) }, void 0),
692
- o$1("label", Object.assign({ htmlFor: id }, { children: LABELS[sizeProp] }), void 0)] }), sizeProp));
693
- }) }), void 0),
694
- o$1("div", Object.assign({ className: "module-filters" }, { children: [o$1("div", Object.assign({ className: "module-filter" }, { children: [o$1("label", Object.assign({ htmlFor: "module-filter-exclude" }, { children: "Exclude" }), void 0),
695
- o$1("input", { type: "text", id: "module-filter-exclude", value: excludeValue, onInput: handleExcludeChange }, void 0)] }), void 0),
696
- o$1("div", Object.assign({ className: "module-filter" }, { children: [o$1("label", Object.assign({ htmlFor: "module-filter-include" }, { children: "Include" }), void 0),
697
- o$1("input", { type: "text", id: "module-filter-include", value: includeValue, onInput: handleIncludeChange }, void 0)] }), void 0)] }), void 0)] }), void 0));
686
+ return (o$1("div", Object.assign({ className: "size-selector" }, { children: [o$1("input", { type: "radio", id: id, checked: sizeProp === sizeProperty, onChange: handleSizePropertyChange(sizeProp) }), o$1("label", Object.assign({ htmlFor: id }, { children: LABELS[sizeProp] }))] }), sizeProp));
687
+ }) })), o$1("div", Object.assign({ className: "module-filters" }, { children: [o$1("div", Object.assign({ className: "module-filter" }, { children: [o$1("label", Object.assign({ htmlFor: "module-filter-exclude" }, { children: "Exclude" })), o$1("input", { type: "text", id: "module-filter-exclude", value: excludeValue, onInput: handleExcludeChange, placeholder: "RegExp" })] })), o$1("div", Object.assign({ className: "module-filter" }, { children: [o$1("label", Object.assign({ htmlFor: "module-filter-include" }, { children: "Include" })), o$1("input", { type: "text", id: "module-filter-include", value: includeValue, onInput: handleIncludeChange, placeholder: "RegExp" })] }))] }))] })));
698
688
  };
699
689
 
700
690
  const throttleFilter = (callback, limit) => {
@@ -710,11 +700,11 @@ var drawChart = (function (exports) {
710
700
  };
711
701
  };
712
702
  const useFilter = () => {
713
- const [includeFilter, setIncludeFilter] = l("");
714
- const [excludeFilter, setExcludeFilter] = l("");
715
- const setIncludeFilterTrottled = d(() => throttleFilter(setIncludeFilter, 200), []);
716
- const setExcludeFilterTrottled = d(() => throttleFilter(setExcludeFilter, 200), []);
717
- const isModuleIncluded = d(() => {
703
+ const [includeFilter, setIncludeFilter] = p("");
704
+ const [excludeFilter, setExcludeFilter] = p("");
705
+ const setIncludeFilterTrottled = F(() => throttleFilter(setIncludeFilter, 200), []);
706
+ const setExcludeFilterTrottled = F(() => throttleFilter(setExcludeFilter, 200), []);
707
+ const isModuleIncluded = F(() => {
718
708
  if (includeFilter === "") {
719
709
  return () => true;
720
710
  }
@@ -726,7 +716,7 @@ var drawChart = (function (exports) {
726
716
  return () => false;
727
717
  }
728
718
  }, [includeFilter]);
729
- const isModuleExcluded = d(() => {
719
+ const isModuleExcluded = F(() => {
730
720
  if (excludeFilter === "") {
731
721
  return () => false;
732
722
  }
@@ -739,7 +729,7 @@ var drawChart = (function (exports) {
739
729
  }
740
730
  }, [excludeFilter]);
741
731
  const isDefaultInclude = includeFilter === "";
742
- const getModuleFilterMultiplier = d(() => {
732
+ const getModuleFilterMultiplier = F(() => {
743
733
  return (data) => {
744
734
  if (isDefaultInclude) {
745
735
  return isModuleExcluded(data) ? 0 : 1;
@@ -757,43 +747,60 @@ var drawChart = (function (exports) {
757
747
  };
758
748
 
759
749
  function ascending(a, b) {
760
- return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
750
+ return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
761
751
  }
762
752
 
763
- function bisector(f) {
764
- let delta = f;
765
- let compare = f;
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
+ }
766
760
 
767
- if (f.length === 1) {
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);
768
772
  delta = (d, x) => f(d) - x;
769
- compare = ascendingComparator(f);
770
- }
771
-
772
- function left(a, x, lo, hi) {
773
- if (lo == null) lo = 0;
774
- if (hi == null) hi = a.length;
775
- while (lo < hi) {
776
- const mid = (lo + hi) >>> 1;
777
- if (compare(a[mid], x) < 0) lo = mid + 1;
778
- else hi = mid;
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);
779
787
  }
780
788
  return lo;
781
789
  }
782
790
 
783
- function right(a, x, lo, hi) {
784
- if (lo == null) lo = 0;
785
- if (hi == null) hi = a.length;
786
- while (lo < hi) {
787
- const mid = (lo + hi) >>> 1;
788
- if (compare(a[mid], x) > 0) hi = mid;
789
- else lo = mid + 1;
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);
790
799
  }
791
800
  return lo;
792
801
  }
793
802
 
794
- function center(a, x, lo, hi) {
795
- if (lo == null) lo = 0;
796
- if (hi == null) hi = a.length;
803
+ function center(a, x, lo = 0, hi = a.length) {
797
804
  const i = left(a, x, lo, hi - 1);
798
805
  return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
799
806
  }
@@ -801,8 +808,8 @@ var drawChart = (function (exports) {
801
808
  return {left, center, right};
802
809
  }
803
810
 
804
- function ascendingComparator(f) {
805
- return (d, x) => ascending(f(d), x);
811
+ function zero$1() {
812
+ return 0;
806
813
  }
807
814
 
808
815
  function number$1(x) {
@@ -813,31 +820,6 @@ var drawChart = (function (exports) {
813
820
  const bisectRight = ascendingBisect.right;
814
821
  bisector(number$1).center;
815
822
 
816
- function getAugmentedNamespace(n) {
817
- if (n.__esModule) return n;
818
- var a = Object.defineProperty({}, '__esModule', {value: true});
819
- Object.keys(n).forEach(function (k) {
820
- var d = Object.getOwnPropertyDescriptor(n, k);
821
- Object.defineProperty(a, k, d.get ? d : {
822
- enumerable: true,
823
- get: function () {
824
- return n[k];
825
- }
826
- });
827
- });
828
- return a;
829
- }
830
-
831
- function createCommonjsModule(fn) {
832
- var module = { exports: {} };
833
- return fn(module, module.exports), module.exports;
834
- }
835
-
836
- var internmap = createCommonjsModule(function (module, exports) {
837
- // https://github.com/mbostock/internmap/ v1.0.1 Copyright 2021 Mike Bostock
838
- (function (global, factory) {
839
- factory(exports) ;
840
- }(this, (function (exports) {
841
823
  class InternMap extends Map {
842
824
  constructor(entries, key = keyof) {
843
825
  super();
@@ -858,23 +840,6 @@ var drawChart = (function (exports) {
858
840
  }
859
841
  }
860
842
 
861
- class InternSet extends Set {
862
- constructor(values, key = keyof) {
863
- super();
864
- Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}});
865
- if (values != null) for (const value of values) this.add(value);
866
- }
867
- has(value) {
868
- return super.has(intern_get(this, value));
869
- }
870
- add(value) {
871
- return super.add(intern_set(this, value));
872
- }
873
- delete(value) {
874
- return super.delete(intern_delete(this, value));
875
- }
876
- }
877
-
878
843
  function intern_get({_intern, _key}, value) {
879
844
  const key = _key(value);
880
845
  return _intern.has(key) ? _intern.get(key) : value;
@@ -890,7 +855,7 @@ var drawChart = (function (exports) {
890
855
  function intern_delete({_intern, _key}, value) {
891
856
  const key = _key(value);
892
857
  if (_intern.has(key)) {
893
- value = _intern.get(value);
858
+ value = _intern.get(key);
894
859
  _intern.delete(key);
895
860
  }
896
861
  return value;
@@ -900,26 +865,18 @@ var drawChart = (function (exports) {
900
865
  return value !== null && typeof value === "object" ? value.valueOf() : value;
901
866
  }
902
867
 
903
- exports.InternMap = InternMap;
904
- exports.InternSet = InternSet;
905
-
906
- Object.defineProperty(exports, '__esModule', { value: true });
907
-
908
- })));
909
- });
910
-
911
- function identity$1(x) {
868
+ function identity$2(x) {
912
869
  return x;
913
870
  }
914
871
 
915
872
  function group(values, ...keys) {
916
- return nest(values, identity$1, identity$1, keys);
873
+ return nest(values, identity$2, identity$2, keys);
917
874
  }
918
875
 
919
876
  function nest(values, map, reduce, keys) {
920
877
  return (function regroup(values, i) {
921
878
  if (i >= keys.length) return reduce(values);
922
- const groups = new internmap.InternMap();
879
+ const groups = new InternMap();
923
880
  const keyof = keys[i++];
924
881
  let index = -1;
925
882
  for (const value of values) {
@@ -994,11 +951,11 @@ var drawChart = (function (exports) {
994
951
  const PADDING = 2;
995
952
 
996
953
  const Node = ({ node, onMouseOver, onClick, selected }) => {
997
- const { getModuleColor } = F(StaticContext);
954
+ const { getModuleColor } = q(StaticContext);
998
955
  const { backgroundColor, fontColor } = getModuleColor(node);
999
956
  const { x0, x1, y1, y0, data, children = null } = node;
1000
- const textRef = s();
1001
- const textRectRef = s();
957
+ const textRef = _(null);
958
+ const textRectRef = _();
1002
959
  const width = x1 - x0;
1003
960
  const height = y1 - y0;
1004
961
  const textProps = {
@@ -1013,8 +970,8 @@ var drawChart = (function (exports) {
1013
970
  else {
1014
971
  textProps.y = height / 2;
1015
972
  }
1016
- h(() => {
1017
- if (width == 0 || height == 0) {
973
+ s(() => {
974
+ if (width == 0 || height == 0 || !textRef.current) {
1018
975
  return;
1019
976
  }
1020
977
  if (textRectRef.current == null) {
@@ -1044,20 +1001,19 @@ var drawChart = (function (exports) {
1044
1001
  }, onMouseOver: (event) => {
1045
1002
  event.stopPropagation();
1046
1003
  onMouseOver(node);
1047
- } }, { children: [o$1("rect", { fill: backgroundColor, rx: 2, ry: 2, width: x1 - x0, height: y1 - y0, stroke: selected ? "#fff" : undefined, "stroke-width": selected ? 2 : undefined }, void 0),
1048
- o$1("text", Object.assign({ ref: textRef, fill: fontColor, onClick: (event) => {
1004
+ } }, { children: [o$1("rect", { fill: backgroundColor, rx: 2, ry: 2, width: x1 - x0, height: y1 - y0, stroke: selected ? "#fff" : undefined, "stroke-width": selected ? 2 : undefined }), o$1("text", Object.assign({ ref: textRef, fill: fontColor, onClick: (event) => {
1049
1005
  var _a;
1050
1006
  if (((_a = window.getSelection()) === null || _a === void 0 ? void 0 : _a.toString()) !== "") {
1051
1007
  event.stopPropagation();
1052
1008
  }
1053
- } }, textProps, { children: data.name }), void 0)] }), void 0));
1009
+ } }, textProps, { children: data.name }))] })));
1054
1010
  };
1055
1011
 
1056
- const TreeMap = ({ root, onNodeHover, selectedNode, onNodeClick }) => {
1057
- const { width, height, getModuleIds } = F(StaticContext);
1012
+ const TreeMap = ({ root, onNodeHover, selectedNode, onNodeClick, }) => {
1013
+ const { width, height, getModuleIds } = q(StaticContext);
1058
1014
  console.time("layering");
1059
1015
  // this will make groups by height
1060
- const nestedData = d(() => {
1016
+ const nestedData = F(() => {
1061
1017
  const nestedDataMap = group(root.descendants(), (d) => d.height);
1062
1018
  const nestedData = Array.from(nestedDataMap, ([key, values]) => ({
1063
1019
  key,
@@ -1071,16 +1027,26 @@ var drawChart = (function (exports) {
1071
1027
  return (o$1("g", Object.assign({ className: "layer" }, { children: values.map((node) => {
1072
1028
  return (o$1(Node, { node: node, onMouseOver: onNodeHover, selected: selectedNode === node, onClick: onNodeClick }, getModuleIds(node.data).nodeUid.id));
1073
1029
  }) }), key));
1074
- }) }), void 0));
1030
+ }) })));
1075
1031
  };
1076
1032
 
1033
+ var bytes$1 = {exports: {}};
1034
+
1077
1035
  /*!
1078
1036
  * bytes
1079
1037
  * Copyright(c) 2012-2014 TJ Holowaychuk
1080
1038
  * Copyright(c) 2015 Jed Watson
1081
1039
  * MIT Licensed
1082
1040
  */
1083
- var format_1 = format;
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;
1084
1050
 
1085
1051
  /**
1086
1052
  * Module variables.
@@ -1091,7 +1057,7 @@ var drawChart = (function (exports) {
1091
1057
 
1092
1058
  var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
1093
1059
 
1094
- var map = {
1060
+ var map$1 = {
1095
1061
  b: 1,
1096
1062
  kb: 1 << 10,
1097
1063
  mb: 1 << 20,
@@ -1100,6 +1066,35 @@ var drawChart = (function (exports) {
1100
1066
  pb: Math.pow(1024, 5),
1101
1067
  };
1102
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
+
1103
1098
  /**
1104
1099
  * Format the given value in bytes into a string.
1105
1100
  *
@@ -1118,7 +1113,7 @@ var drawChart = (function (exports) {
1118
1113
  * @public
1119
1114
  */
1120
1115
 
1121
- function format(value, options) {
1116
+ function format$1(value, options) {
1122
1117
  if (!Number.isFinite(value)) {
1123
1118
  return null;
1124
1119
  }
@@ -1130,23 +1125,23 @@ var drawChart = (function (exports) {
1130
1125
  var fixedDecimals = Boolean(options && options.fixedDecimals);
1131
1126
  var unit = (options && options.unit) || '';
1132
1127
 
1133
- if (!unit || !map[unit.toLowerCase()]) {
1134
- if (mag >= map.pb) {
1128
+ if (!unit || !map$1[unit.toLowerCase()]) {
1129
+ if (mag >= map$1.pb) {
1135
1130
  unit = 'PB';
1136
- } else if (mag >= map.tb) {
1131
+ } else if (mag >= map$1.tb) {
1137
1132
  unit = 'TB';
1138
- } else if (mag >= map.gb) {
1133
+ } else if (mag >= map$1.gb) {
1139
1134
  unit = 'GB';
1140
- } else if (mag >= map.mb) {
1135
+ } else if (mag >= map$1.mb) {
1141
1136
  unit = 'MB';
1142
- } else if (mag >= map.kb) {
1137
+ } else if (mag >= map$1.kb) {
1143
1138
  unit = 'KB';
1144
1139
  } else {
1145
1140
  unit = 'B';
1146
1141
  }
1147
1142
  }
1148
1143
 
1149
- var val = value / map[unit.toLowerCase()];
1144
+ var val = value / map$1[unit.toLowerCase()];
1150
1145
  var str = val.toFixed(decimalPlaces);
1151
1146
 
1152
1147
  if (!fixedDecimals) {
@@ -1154,22 +1149,68 @@ var drawChart = (function (exports) {
1154
1149
  }
1155
1150
 
1156
1151
  if (thousandsSeparator) {
1157
- str = str.replace(formatThousandsRegExp, thousandsSeparator);
1152
+ str = str.split('.').map(function (s, i) {
1153
+ return i === 0
1154
+ ? s.replace(formatThousandsRegExp, thousandsSeparator)
1155
+ : s
1156
+ }).join('.');
1158
1157
  }
1159
1158
 
1160
1159
  return str + unitSeparator + unit;
1161
1160
  }
1162
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
+
1163
1204
  const Tooltip_marginX = 10;
1164
1205
  const Tooltip_marginY = 30;
1165
- const SOURCEMAP_RENDERED = (o$1("span", { children: [" ", o$1("b", { children: LABELS.renderedLength }, void 0), " is a number of characters in the file after individual and ", o$1("br", {}, void 0), " whole bundle transformations according to sourcemap."] }, void 0));
1166
- const RENDRED = (o$1("span", { children: [o$1("b", { children: LABELS.renderedLength }, void 0), " is a byte size of individual file after transformations and treeshake."] }, void 0));
1167
- const COMPRESSED = (o$1("span", { children: [o$1("b", { children: LABELS.gzipLength }, void 0), " and ", o$1("b", { children: LABELS.brotliLength }, void 0), " is a byte size of individual file after individual", " ", "transformations,", o$1("br", {}, void 0), " treeshake and compression."] }, void 0));
1168
- const Tooltip = ({ node, visible, root, sizeProperty }) => {
1169
- const { availableSizeProperties, getModuleSize, data } = F(StaticContext);
1170
- const ref = s();
1171
- const [style, setStyle] = l({});
1172
- const content = d(() => {
1206
+ const SOURCEMAP_RENDERED = (o$1("span", { children: [" ", o$1("b", { children: LABELS.renderedLength }), " is a number of characters in the file after individual and ", o$1("br", {}), " ", "whole bundle transformations according to sourcemap."] }));
1207
+ const RENDRED = (o$1("span", { children: [o$1("b", { children: LABELS.renderedLength }), " is a byte size of individual file after transformations and treeshake."] }));
1208
+ const COMPRESSED = (o$1("span", { children: [o$1("b", { children: LABELS.gzipLength }), " and ", o$1("b", { children: LABELS.brotliLength }), " is a byte size of individual file after individual transformations,", o$1("br", {}), " treeshake and compression."] }));
1209
+ const Tooltip = ({ node, visible, root, sizeProperty, }) => {
1210
+ const { availableSizeProperties, getModuleSize, data } = q(StaticContext);
1211
+ const ref = _(null);
1212
+ const [style, setStyle] = p({});
1213
+ const content = F(() => {
1173
1214
  if (!node)
1174
1215
  return null;
1175
1216
  const mainSize = getModuleSize(node.data, sizeProperty);
@@ -1186,27 +1227,21 @@ var drawChart = (function (exports) {
1186
1227
  const mainUid = data.nodeParts[node.data.uid].mainUid;
1187
1228
  dataNode = data.nodeMetas[mainUid];
1188
1229
  }
1189
- return (o$1(y$1, { children: [o$1("div", { children: path }, void 0),
1190
- availableSizeProperties.map((sizeProp) => {
1230
+ return (o$1(p$1, { children: [o$1("div", { children: path }), availableSizeProperties.map((sizeProp) => {
1191
1231
  if (sizeProp === sizeProperty) {
1192
- return (o$1("div", { children: [o$1("b", { children: [LABELS[sizeProp], ": ", format_1(mainSize)] }, void 0), " ", "(", percentageString, ")"] }, void 0));
1232
+ return (o$1("div", { children: [o$1("b", { children: [LABELS[sizeProp], ": ", format_1(mainSize)] }), " ", "(", percentageString, ")"] }, sizeProp));
1193
1233
  }
1194
1234
  else {
1195
- return (o$1("div", { children: [LABELS[sizeProp], ": ", format_1(getModuleSize(node.data, sizeProp))] }, void 0));
1235
+ return (o$1("div", { children: [LABELS[sizeProp], ": ", format_1(getModuleSize(node.data, sizeProp))] }, sizeProp));
1196
1236
  }
1197
- }),
1198
- o$1("br", {}, void 0),
1199
- dataNode && dataNode.importedBy.length > 0 && (o$1("div", { children: [o$1("div", { children: [o$1("b", { children: "Imported By" }, void 0), ":"] }, void 0),
1200
- dataNode.importedBy.map(({ uid }) => {
1237
+ }), o$1("br", {}), dataNode && dataNode.importedBy.length > 0 && (o$1("div", { children: [o$1("div", { children: [o$1("b", { children: "Imported By" }), ":"] }), dataNode.importedBy.map(({ uid }) => {
1201
1238
  const id = data.nodeMetas[uid].id;
1202
1239
  return o$1("div", { children: id }, id);
1203
- })] }, void 0)),
1204
- o$1("br", {}, void 0),
1205
- o$1("small", { children: data.options.sourcemap ? SOURCEMAP_RENDERED : RENDRED }, void 0),
1206
- (data.options.gzip || data.options.brotli) && (o$1(y$1, { children: [o$1("br", {}, void 0),
1207
- o$1("small", { children: COMPRESSED }, void 0)] }, void 0))] }, void 0));
1240
+ })] })), o$1("br", {}), o$1("small", { children: data.options.sourcemap ? SOURCEMAP_RENDERED : RENDRED }), (data.options.gzip || data.options.brotli) && (o$1(p$1, { children: [o$1("br", {}), o$1("small", { children: COMPRESSED })] }))] }));
1208
1241
  }, [availableSizeProperties, data, getModuleSize, node, root.data, sizeProperty]);
1209
1242
  const updatePosition = (mouseCoords) => {
1243
+ if (!ref.current)
1244
+ return;
1210
1245
  const pos = {
1211
1246
  left: mouseCoords.x + Tooltip_marginX,
1212
1247
  top: mouseCoords.y + Tooltip_marginY,
@@ -1222,7 +1257,7 @@ var drawChart = (function (exports) {
1222
1257
  }
1223
1258
  setStyle(pos);
1224
1259
  };
1225
- y(() => {
1260
+ h(() => {
1226
1261
  const handleMouseMove = (event) => {
1227
1262
  updatePosition({
1228
1263
  x: event.pageX,
@@ -1234,13 +1269,13 @@ var drawChart = (function (exports) {
1234
1269
  document.removeEventListener("mousemove", handleMouseMove, true);
1235
1270
  };
1236
1271
  }, []);
1237
- return (o$1("div", Object.assign({ className: `tooltip ${visible ? "" : "tooltip-hidden"}`, ref: ref, style: style }, { children: content }), void 0));
1272
+ return (o$1("div", Object.assign({ className: `tooltip ${visible ? "" : "tooltip-hidden"}`, ref: ref, style: style }, { children: content })));
1238
1273
  };
1239
1274
 
1240
- const Chart = ({ root, sizeProperty, selectedNode, setSelectedNode }) => {
1241
- const [showTooltip, setShowTooltip] = l(false);
1242
- const [tooltipNode, setTooltipNode] = l(undefined);
1243
- y(() => {
1275
+ const Chart = ({ root, sizeProperty, selectedNode, setSelectedNode, }) => {
1276
+ const [showTooltip, setShowTooltip] = p(false);
1277
+ const [tooltipNode, setTooltipNode] = p(undefined);
1278
+ h(() => {
1244
1279
  const handleMouseOut = () => {
1245
1280
  setShowTooltip(false);
1246
1281
  };
@@ -1249,22 +1284,21 @@ var drawChart = (function (exports) {
1249
1284
  document.removeEventListener("mouseover", handleMouseOut);
1250
1285
  };
1251
1286
  }, []);
1252
- return (o$1(y$1, { children: [o$1(TreeMap, { root: root, onNodeHover: (node) => {
1287
+ return (o$1(p$1, { children: [o$1(TreeMap, { root: root, onNodeHover: (node) => {
1253
1288
  setTooltipNode(node);
1254
1289
  setShowTooltip(true);
1255
1290
  }, selectedNode: selectedNode, onNodeClick: (node) => {
1256
1291
  setSelectedNode(selectedNode === node ? undefined : node);
1257
- } }, void 0),
1258
- o$1(Tooltip, { visible: showTooltip, node: tooltipNode, root: root, sizeProperty: sizeProperty }, void 0)] }, void 0));
1292
+ } }), o$1(Tooltip, { visible: showTooltip, node: tooltipNode, root: root, sizeProperty: sizeProperty })] }));
1259
1293
  };
1260
1294
 
1261
1295
  const Main = () => {
1262
- const { availableSizeProperties, rawHierarchy, getModuleSize, layout, data } = F(StaticContext);
1263
- const [sizeProperty, setSizeProperty] = l(availableSizeProperties[0]);
1264
- const [selectedNode, setSelectedNode] = l(undefined);
1296
+ const { availableSizeProperties, rawHierarchy, getModuleSize, layout, data } = q(StaticContext);
1297
+ const [sizeProperty, setSizeProperty] = p(availableSizeProperties[0]);
1298
+ const [selectedNode, setSelectedNode] = p(undefined);
1265
1299
  const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter();
1266
1300
  console.time("getNodeSizeMultiplier");
1267
- const getNodeSizeMultiplier = d(() => {
1301
+ const getNodeSizeMultiplier = F(() => {
1268
1302
  const rootSize = getModuleSize(rawHierarchy.data, sizeProperty);
1269
1303
  const selectedSize = selectedNode ? getModuleSize(selectedNode.data, sizeProperty) : 1;
1270
1304
  const multiplier = rootSize * 0.2 > selectedSize ? (rootSize * 0.2) / selectedSize : 3;
@@ -1292,7 +1326,7 @@ var drawChart = (function (exports) {
1292
1326
  console.timeEnd("getNodeSizeMultiplier");
1293
1327
  console.time("root hierarchy compute");
1294
1328
  // root here always be the same as rawHierarchy even after layouting
1295
- const root = d(() => {
1329
+ const root = F(() => {
1296
1330
  const rootWithSizesAndSorted = rawHierarchy
1297
1331
  .sum((node) => {
1298
1332
  if (isModuleTree(node))
@@ -1304,10 +1338,17 @@ var drawChart = (function (exports) {
1304
1338
  })
1305
1339
  .sort((a, b) => getModuleSize(a.data, sizeProperty) - getModuleSize(b.data, sizeProperty));
1306
1340
  return layout(rootWithSizesAndSorted);
1307
- }, [data, getModuleFilterMultiplier, getModuleSize, getNodeSizeMultiplier, layout, rawHierarchy, sizeProperty]);
1341
+ }, [
1342
+ data,
1343
+ getModuleFilterMultiplier,
1344
+ getModuleSize,
1345
+ getNodeSizeMultiplier,
1346
+ layout,
1347
+ rawHierarchy,
1348
+ sizeProperty,
1349
+ ]);
1308
1350
  console.timeEnd("root hierarchy compute");
1309
- return (o$1(y$1, { children: [o$1(SideBar, { sizeProperty: sizeProperty, availableSizeProperties: availableSizeProperties, setSizeProperty: setSizeProperty, onExcludeChange: setExcludeFilter, onIncludeChange: setIncludeFilter }, void 0),
1310
- o$1(Chart, { root: root, sizeProperty: sizeProperty, selectedNode: selectedNode, setSelectedNode: setSelectedNode }, void 0)] }, void 0));
1351
+ return (o$1(p$1, { children: [o$1(SideBar, { sizeProperty: sizeProperty, availableSizeProperties: availableSizeProperties, setSizeProperty: setSizeProperty, onExcludeChange: setExcludeFilter, onIncludeChange: setIncludeFilter }), o$1(Chart, { root: root, sizeProperty: sizeProperty, selectedNode: selectedNode, setSelectedNode: setSelectedNode })] }));
1311
1352
  };
1312
1353
 
1313
1354
  function initRange(domain, range) {
@@ -1354,15 +1395,15 @@ var drawChart = (function (exports) {
1354
1395
  var brighter = 1 / darker;
1355
1396
 
1356
1397
  var reI = "\\s*([+-]?\\d+)\\s*",
1357
- reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
1358
- reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
1398
+ reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
1399
+ reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
1359
1400
  reHex = /^#([0-9a-f]{3,8})$/,
1360
- reRgbInteger = new RegExp("^rgb\\(" + [reI, reI, reI] + "\\)$"),
1361
- reRgbPercent = new RegExp("^rgb\\(" + [reP, reP, reP] + "\\)$"),
1362
- reRgbaInteger = new RegExp("^rgba\\(" + [reI, reI, reI, reN] + "\\)$"),
1363
- reRgbaPercent = new RegExp("^rgba\\(" + [reP, reP, reP, reN] + "\\)$"),
1364
- reHslPercent = new RegExp("^hsl\\(" + [reN, reP, reP] + "\\)$"),
1365
- reHslaPercent = new RegExp("^hsla\\(" + [reN, reP, reP, reN] + "\\)$");
1401
+ reRgbInteger = new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),
1402
+ reRgbPercent = new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),
1403
+ reRgbaInteger = new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),
1404
+ reRgbaPercent = new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),
1405
+ reHslPercent = new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),
1406
+ reHslaPercent = new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`);
1366
1407
 
1367
1408
  var named = {
1368
1409
  aliceblue: 0xf0f8ff,
@@ -1516,14 +1557,15 @@ var drawChart = (function (exports) {
1516
1557
  };
1517
1558
 
1518
1559
  define(Color, color, {
1519
- copy: function(channels) {
1560
+ copy(channels) {
1520
1561
  return Object.assign(new this.constructor, this, channels);
1521
1562
  },
1522
- displayable: function() {
1563
+ displayable() {
1523
1564
  return this.rgb().displayable();
1524
1565
  },
1525
1566
  hex: color_formatHex, // Deprecated! Use color.formatHex.
1526
1567
  formatHex: color_formatHex,
1568
+ formatHex8: color_formatHex8,
1527
1569
  formatHsl: color_formatHsl,
1528
1570
  formatRgb: color_formatRgb,
1529
1571
  toString: color_formatRgb
@@ -1533,6 +1575,10 @@ var drawChart = (function (exports) {
1533
1575
  return this.rgb().formatHex();
1534
1576
  }
1535
1577
 
1578
+ function color_formatHex8() {
1579
+ return this.rgb().formatHex8();
1580
+ }
1581
+
1536
1582
  function color_formatHsl() {
1537
1583
  return hslConvert(this).formatHsl();
1538
1584
  }
@@ -1576,7 +1622,7 @@ var drawChart = (function (exports) {
1576
1622
  return new Rgb(o.r, o.g, o.b, o.opacity);
1577
1623
  }
1578
1624
 
1579
- function rgb(r, g, b, opacity) {
1625
+ function rgb$1(r, g, b, opacity) {
1580
1626
  return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
1581
1627
  }
1582
1628
 
@@ -1587,19 +1633,22 @@ var drawChart = (function (exports) {
1587
1633
  this.opacity = +opacity;
1588
1634
  }
1589
1635
 
1590
- define(Rgb, rgb, extend(Color, {
1591
- brighter: function(k) {
1636
+ define(Rgb, rgb$1, extend(Color, {
1637
+ brighter(k) {
1592
1638
  k = k == null ? brighter : Math.pow(brighter, k);
1593
1639
  return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1594
1640
  },
1595
- darker: function(k) {
1641
+ darker(k) {
1596
1642
  k = k == null ? darker : Math.pow(darker, k);
1597
1643
  return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1598
1644
  },
1599
- rgb: function() {
1645
+ rgb() {
1600
1646
  return this;
1601
1647
  },
1602
- displayable: function() {
1648
+ clamp() {
1649
+ return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity));
1650
+ },
1651
+ displayable() {
1603
1652
  return (-0.5 <= this.r && this.r < 255.5)
1604
1653
  && (-0.5 <= this.g && this.g < 255.5)
1605
1654
  && (-0.5 <= this.b && this.b < 255.5)
@@ -1607,25 +1656,34 @@ var drawChart = (function (exports) {
1607
1656
  },
1608
1657
  hex: rgb_formatHex, // Deprecated! Use color.formatHex.
1609
1658
  formatHex: rgb_formatHex,
1659
+ formatHex8: rgb_formatHex8,
1610
1660
  formatRgb: rgb_formatRgb,
1611
1661
  toString: rgb_formatRgb
1612
1662
  }));
1613
1663
 
1614
1664
  function rgb_formatHex() {
1615
- return "#" + hex(this.r) + hex(this.g) + hex(this.b);
1665
+ return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}`;
1666
+ }
1667
+
1668
+ function rgb_formatHex8() {
1669
+ return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
1616
1670
  }
1617
1671
 
1618
1672
  function rgb_formatRgb() {
1619
- var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
1620
- return (a === 1 ? "rgb(" : "rgba(")
1621
- + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", "
1622
- + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", "
1623
- + Math.max(0, Math.min(255, Math.round(this.b) || 0))
1624
- + (a === 1 ? ")" : ", " + a + ")");
1673
+ const a = clampa(this.opacity);
1674
+ return `${a === 1 ? "rgb(" : "rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${a === 1 ? ")" : `, ${a})`}`;
1675
+ }
1676
+
1677
+ function clampa(opacity) {
1678
+ return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity));
1679
+ }
1680
+
1681
+ function clampi(value) {
1682
+ return Math.max(0, Math.min(255, Math.round(value) || 0));
1625
1683
  }
1626
1684
 
1627
1685
  function hex(value) {
1628
- value = Math.max(0, Math.min(255, Math.round(value) || 0));
1686
+ value = clampi(value);
1629
1687
  return (value < 16 ? "0" : "") + value.toString(16);
1630
1688
  }
1631
1689
 
@@ -1674,15 +1732,15 @@ var drawChart = (function (exports) {
1674
1732
  }
1675
1733
 
1676
1734
  define(Hsl, hsl, extend(Color, {
1677
- brighter: function(k) {
1735
+ brighter(k) {
1678
1736
  k = k == null ? brighter : Math.pow(brighter, k);
1679
1737
  return new Hsl(this.h, this.s, this.l * k, this.opacity);
1680
1738
  },
1681
- darker: function(k) {
1739
+ darker(k) {
1682
1740
  k = k == null ? darker : Math.pow(darker, k);
1683
1741
  return new Hsl(this.h, this.s, this.l * k, this.opacity);
1684
1742
  },
1685
- rgb: function() {
1743
+ rgb() {
1686
1744
  var h = this.h % 360 + (this.h < 0) * 360,
1687
1745
  s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
1688
1746
  l = this.l,
@@ -1695,21 +1753,29 @@ var drawChart = (function (exports) {
1695
1753
  this.opacity
1696
1754
  );
1697
1755
  },
1698
- displayable: function() {
1756
+ clamp() {
1757
+ return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity));
1758
+ },
1759
+ displayable() {
1699
1760
  return (0 <= this.s && this.s <= 1 || isNaN(this.s))
1700
1761
  && (0 <= this.l && this.l <= 1)
1701
1762
  && (0 <= this.opacity && this.opacity <= 1);
1702
1763
  },
1703
- formatHsl: function() {
1704
- var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
1705
- return (a === 1 ? "hsl(" : "hsla(")
1706
- + (this.h || 0) + ", "
1707
- + (this.s || 0) * 100 + "%, "
1708
- + (this.l || 0) * 100 + "%"
1709
- + (a === 1 ? ")" : ", " + a + ")");
1764
+ formatHsl() {
1765
+ const a = clampa(this.opacity);
1766
+ return `${a === 1 ? "hsl(" : "hsla("}${clamph(this.h)}, ${clampt(this.s) * 100}%, ${clampt(this.l) * 100}%${a === 1 ? ")" : `, ${a})`}`;
1710
1767
  }
1711
1768
  }));
1712
1769
 
1770
+ function clamph(value) {
1771
+ value = (value || 0) % 360;
1772
+ return value < 0 ? value + 360 : value;
1773
+ }
1774
+
1775
+ function clampt(value) {
1776
+ return Math.max(0, Math.min(1, value || 0));
1777
+ }
1778
+
1713
1779
  /* From FvD 13.37, CSS Color Module Level 3 */
1714
1780
  function hsl2rgb(h, m1, m2) {
1715
1781
  return (h < 60 ? m1 + (m2 - m1) * h / 60
@@ -1726,10 +1792,10 @@ var drawChart = (function (exports) {
1726
1792
  Xn = 0.96422,
1727
1793
  Yn = 1,
1728
1794
  Zn = 0.82521,
1729
- t0 = 4 / 29,
1730
- t1 = 6 / 29,
1731
- t2 = 3 * t1 * t1,
1732
- t3 = t1 * t1 * t1;
1795
+ t0$1 = 4 / 29,
1796
+ t1$1 = 6 / 29,
1797
+ t2 = 3 * t1$1 * t1$1,
1798
+ t3 = t1$1 * t1$1 * t1$1;
1733
1799
 
1734
1800
  function labConvert(o) {
1735
1801
  if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);
@@ -1746,10 +1812,6 @@ var drawChart = (function (exports) {
1746
1812
  return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);
1747
1813
  }
1748
1814
 
1749
- function gray(l, opacity) {
1750
- return new Lab(l, 0, 0, opacity == null ? 1 : opacity);
1751
- }
1752
-
1753
1815
  function lab(l, a, b, opacity) {
1754
1816
  return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
1755
1817
  }
@@ -1762,13 +1824,13 @@ var drawChart = (function (exports) {
1762
1824
  }
1763
1825
 
1764
1826
  define(Lab, lab, extend(Color, {
1765
- brighter: function(k) {
1827
+ brighter(k) {
1766
1828
  return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);
1767
1829
  },
1768
- darker: function(k) {
1830
+ darker(k) {
1769
1831
  return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);
1770
1832
  },
1771
- rgb: function() {
1833
+ rgb() {
1772
1834
  var y = (this.l + 16) / 116,
1773
1835
  x = isNaN(this.a) ? y : y + this.a / 500,
1774
1836
  z = isNaN(this.b) ? y : y - this.b / 200;
@@ -1785,11 +1847,11 @@ var drawChart = (function (exports) {
1785
1847
  }));
1786
1848
 
1787
1849
  function xyz2lab(t) {
1788
- return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;
1850
+ return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0$1;
1789
1851
  }
1790
1852
 
1791
1853
  function lab2xyz(t) {
1792
- return t > t1 ? t * t * t : t2 * (t - t0);
1854
+ return t > t1$1 ? t * t * t : t2 * (t - t0$1);
1793
1855
  }
1794
1856
 
1795
1857
  function lrgb2rgb(x) {
@@ -1808,10 +1870,6 @@ var drawChart = (function (exports) {
1808
1870
  return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
1809
1871
  }
1810
1872
 
1811
- function lch(l, c, h, opacity) {
1812
- return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
1813
- }
1814
-
1815
1873
  function hcl(h, c, l, opacity) {
1816
1874
  return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
1817
1875
  }
@@ -1830,13 +1888,13 @@ var drawChart = (function (exports) {
1830
1888
  }
1831
1889
 
1832
1890
  define(Hcl, hcl, extend(Color, {
1833
- brighter: function(k) {
1891
+ brighter(k) {
1834
1892
  return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
1835
1893
  },
1836
- darker: function(k) {
1894
+ darker(k) {
1837
1895
  return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);
1838
1896
  },
1839
- rgb: function() {
1897
+ rgb() {
1840
1898
  return hcl2lab(this).rgb();
1841
1899
  }
1842
1900
  }));
@@ -1864,7 +1922,7 @@ var drawChart = (function (exports) {
1864
1922
  return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);
1865
1923
  }
1866
1924
 
1867
- function cubehelix(h, s, l, opacity) {
1925
+ function cubehelix$1(h, s, l, opacity) {
1868
1926
  return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);
1869
1927
  }
1870
1928
 
@@ -1875,16 +1933,16 @@ var drawChart = (function (exports) {
1875
1933
  this.opacity = +opacity;
1876
1934
  }
1877
1935
 
1878
- define(Cubehelix, cubehelix, extend(Color, {
1879
- brighter: function(k) {
1936
+ define(Cubehelix, cubehelix$1, extend(Color, {
1937
+ brighter(k) {
1880
1938
  k = k == null ? brighter : Math.pow(brighter, k);
1881
1939
  return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
1882
1940
  },
1883
- darker: function(k) {
1941
+ darker(k) {
1884
1942
  k = k == null ? darker : Math.pow(darker, k);
1885
1943
  return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
1886
1944
  },
1887
- rgb: function() {
1945
+ rgb() {
1888
1946
  var h = isNaN(this.h) ? 0 : (this.h + 120) * radians,
1889
1947
  l = +this.l,
1890
1948
  a = isNaN(this.s) ? 0 : this.s * l * (1 - l),
@@ -1899,60 +1957,9 @@ var drawChart = (function (exports) {
1899
1957
  }
1900
1958
  }));
1901
1959
 
1902
- var src = /*#__PURE__*/Object.freeze({
1903
- __proto__: null,
1904
- color: color,
1905
- rgb: rgb,
1906
- hsl: hsl,
1907
- lab: lab,
1908
- hcl: hcl,
1909
- lch: lch,
1910
- gray: gray,
1911
- cubehelix: cubehelix
1912
- });
1913
-
1914
- var require$$0 = /*@__PURE__*/getAugmentedNamespace(src);
1915
-
1916
- var d3Interpolate = createCommonjsModule(function (module, exports) {
1917
- // https://d3js.org/d3-interpolate/ v2.0.1 Copyright 2020 Mike Bostock
1918
- (function (global, factory) {
1919
- factory(exports, require$$0) ;
1920
- }(this, function (exports, d3Color) {
1921
- function basis(t1, v0, v1, v2, v3) {
1922
- var t2 = t1 * t1, t3 = t2 * t1;
1923
- return ((1 - 3 * t1 + 3 * t2 - t3) * v0
1924
- + (4 - 6 * t2 + 3 * t3) * v1
1925
- + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2
1926
- + t3 * v3) / 6;
1927
- }
1928
-
1929
- function basis$1(values) {
1930
- var n = values.length - 1;
1931
- return function(t) {
1932
- var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),
1933
- v1 = values[i],
1934
- v2 = values[i + 1],
1935
- v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,
1936
- v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;
1937
- return basis((t - i / n) * n, v0, v1, v2, v3);
1938
- };
1939
- }
1940
-
1941
- function basisClosed(values) {
1942
- var n = values.length;
1943
- return function(t) {
1944
- var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),
1945
- v0 = values[(i + n - 1) % n],
1946
- v1 = values[i % n],
1947
- v2 = values[(i + 1) % n],
1948
- v3 = values[(i + 2) % n];
1949
- return basis((t - i / n) * n, v0, v1, v2, v3);
1950
- };
1951
- }
1952
-
1953
1960
  var constant = x => () => x;
1954
1961
 
1955
- function linear(a, d) {
1962
+ function linear$1(a, d) {
1956
1963
  return function(t) {
1957
1964
  return a + t * d;
1958
1965
  };
@@ -1966,7 +1973,7 @@ var drawChart = (function (exports) {
1966
1973
 
1967
1974
  function hue(a, b) {
1968
1975
  var d = b - a;
1969
- return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
1976
+ return d ? linear$1(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
1970
1977
  }
1971
1978
 
1972
1979
  function gamma(y) {
@@ -1977,14 +1984,14 @@ var drawChart = (function (exports) {
1977
1984
 
1978
1985
  function nogamma(a, b) {
1979
1986
  var d = b - a;
1980
- return d ? linear(a, d) : constant(isNaN(a) ? b : a);
1987
+ return d ? linear$1(a, d) : constant(isNaN(a) ? b : a);
1981
1988
  }
1982
1989
 
1983
1990
  var rgb = (function rgbGamma(y) {
1984
1991
  var color = gamma(y);
1985
1992
 
1986
1993
  function rgb(start, end) {
1987
- var r = color((start = d3Color.rgb(start)).r, (end = d3Color.rgb(end)).r),
1994
+ var r = color((start = rgb$1(start)).r, (end = rgb$1(end)).r),
1988
1995
  g = color(start.g, end.g),
1989
1996
  b = color(start.b, end.b),
1990
1997
  opacity = nogamma(start.opacity, end.opacity);
@@ -2002,35 +2009,6 @@ var drawChart = (function (exports) {
2002
2009
  return rgb;
2003
2010
  })(1);
2004
2011
 
2005
- function rgbSpline(spline) {
2006
- return function(colors) {
2007
- var n = colors.length,
2008
- r = new Array(n),
2009
- g = new Array(n),
2010
- b = new Array(n),
2011
- i, color;
2012
- for (i = 0; i < n; ++i) {
2013
- color = d3Color.rgb(colors[i]);
2014
- r[i] = color.r || 0;
2015
- g[i] = color.g || 0;
2016
- b[i] = color.b || 0;
2017
- }
2018
- r = spline(r);
2019
- g = spline(g);
2020
- b = spline(b);
2021
- color.opacity = 1;
2022
- return function(t) {
2023
- color.r = r(t);
2024
- color.g = g(t);
2025
- color.b = b(t);
2026
- return color + "";
2027
- };
2028
- };
2029
- }
2030
-
2031
- var rgbBasis = rgbSpline(basis$1);
2032
- var rgbBasisClosed = rgbSpline(basisClosed);
2033
-
2034
2012
  function numberArray(a, b) {
2035
2013
  if (!b) b = [];
2036
2014
  var n = a ? Math.min(b.length, a.length) : 0,
@@ -2046,10 +2024,6 @@ var drawChart = (function (exports) {
2046
2024
  return ArrayBuffer.isView(x) && !(x instanceof DataView);
2047
2025
  }
2048
2026
 
2049
- function array(a, b) {
2050
- return (isNumberArray(b) ? numberArray : genericArray)(a, b);
2051
- }
2052
-
2053
2027
  function genericArray(a, b) {
2054
2028
  var nb = b ? b.length : 0,
2055
2029
  na = a ? Math.min(nb, a.length) : 0,
@@ -2057,7 +2031,7 @@ var drawChart = (function (exports) {
2057
2031
  c = new Array(nb),
2058
2032
  i;
2059
2033
 
2060
- for (i = 0; i < na; ++i) x[i] = value(a[i], b[i]);
2034
+ for (i = 0; i < na; ++i) x[i] = interpolate(a[i], b[i]);
2061
2035
  for (; i < nb; ++i) c[i] = b[i];
2062
2036
 
2063
2037
  return function(t) {
@@ -2073,7 +2047,7 @@ var drawChart = (function (exports) {
2073
2047
  };
2074
2048
  }
2075
2049
 
2076
- function number(a, b) {
2050
+ function interpolateNumber(a, b) {
2077
2051
  return a = +a, b = +b, function(t) {
2078
2052
  return a * (1 - t) + b * t;
2079
2053
  };
@@ -2089,7 +2063,7 @@ var drawChart = (function (exports) {
2089
2063
 
2090
2064
  for (k in b) {
2091
2065
  if (k in a) {
2092
- i[k] = value(a[k], b[k]);
2066
+ i[k] = interpolate(a[k], b[k]);
2093
2067
  } else {
2094
2068
  c[k] = b[k];
2095
2069
  }
@@ -2141,7 +2115,7 @@ var drawChart = (function (exports) {
2141
2115
  else s[++i] = bm;
2142
2116
  } else { // interpolate non-matching numbers
2143
2117
  s[++i] = null;
2144
- q.push({i: i, x: number(am, bm)});
2118
+ q.push({i: i, x: interpolateNumber(am, bm)});
2145
2119
  }
2146
2120
  bi = reB.lastIndex;
2147
2121
  }
@@ -2164,145 +2138,25 @@ var drawChart = (function (exports) {
2164
2138
  });
2165
2139
  }
2166
2140
 
2167
- function value(a, b) {
2141
+ function interpolate(a, b) {
2168
2142
  var t = typeof b, c;
2169
2143
  return b == null || t === "boolean" ? constant(b)
2170
- : (t === "number" ? number
2171
- : t === "string" ? ((c = d3Color.color(b)) ? (b = c, rgb) : string)
2172
- : b instanceof d3Color.color ? rgb
2144
+ : (t === "number" ? interpolateNumber
2145
+ : t === "string" ? ((c = color(b)) ? (b = c, rgb) : string)
2146
+ : b instanceof color ? rgb
2173
2147
  : b instanceof Date ? date
2174
2148
  : isNumberArray(b) ? numberArray
2175
2149
  : Array.isArray(b) ? genericArray
2176
2150
  : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object
2177
- : number)(a, b);
2178
- }
2179
-
2180
- function discrete(range) {
2181
- var n = range.length;
2182
- return function(t) {
2183
- return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];
2184
- };
2151
+ : interpolateNumber)(a, b);
2185
2152
  }
2186
2153
 
2187
- function hue$1(a, b) {
2188
- var i = hue(+a, +b);
2189
- return function(t) {
2190
- var x = i(t);
2191
- return x - 360 * Math.floor(x / 360);
2192
- };
2193
- }
2194
-
2195
- function round(a, b) {
2154
+ function interpolateRound(a, b) {
2196
2155
  return a = +a, b = +b, function(t) {
2197
2156
  return Math.round(a * (1 - t) + b * t);
2198
2157
  };
2199
2158
  }
2200
2159
 
2201
- var degrees = 180 / Math.PI;
2202
-
2203
- var identity = {
2204
- translateX: 0,
2205
- translateY: 0,
2206
- rotate: 0,
2207
- skewX: 0,
2208
- scaleX: 1,
2209
- scaleY: 1
2210
- };
2211
-
2212
- function decompose(a, b, c, d, e, f) {
2213
- var scaleX, scaleY, skewX;
2214
- if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;
2215
- if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;
2216
- if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;
2217
- if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;
2218
- return {
2219
- translateX: e,
2220
- translateY: f,
2221
- rotate: Math.atan2(b, a) * degrees,
2222
- skewX: Math.atan(skewX) * degrees,
2223
- scaleX: scaleX,
2224
- scaleY: scaleY
2225
- };
2226
- }
2227
-
2228
- var svgNode;
2229
-
2230
- /* eslint-disable no-undef */
2231
- function parseCss(value) {
2232
- const m = new (typeof DOMMatrix === "function" ? DOMMatrix : WebKitCSSMatrix)(value + "");
2233
- return m.isIdentity ? identity : decompose(m.a, m.b, m.c, m.d, m.e, m.f);
2234
- }
2235
-
2236
- function parseSvg(value) {
2237
- if (value == null) return identity;
2238
- if (!svgNode) svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g");
2239
- svgNode.setAttribute("transform", value);
2240
- if (!(value = svgNode.transform.baseVal.consolidate())) return identity;
2241
- value = value.matrix;
2242
- return decompose(value.a, value.b, value.c, value.d, value.e, value.f);
2243
- }
2244
-
2245
- function interpolateTransform(parse, pxComma, pxParen, degParen) {
2246
-
2247
- function pop(s) {
2248
- return s.length ? s.pop() + " " : "";
2249
- }
2250
-
2251
- function translate(xa, ya, xb, yb, s, q) {
2252
- if (xa !== xb || ya !== yb) {
2253
- var i = s.push("translate(", null, pxComma, null, pxParen);
2254
- q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});
2255
- } else if (xb || yb) {
2256
- s.push("translate(" + xb + pxComma + yb + pxParen);
2257
- }
2258
- }
2259
-
2260
- function rotate(a, b, s, q) {
2261
- if (a !== b) {
2262
- if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path
2263
- q.push({i: s.push(pop(s) + "rotate(", null, degParen) - 2, x: number(a, b)});
2264
- } else if (b) {
2265
- s.push(pop(s) + "rotate(" + b + degParen);
2266
- }
2267
- }
2268
-
2269
- function skewX(a, b, s, q) {
2270
- if (a !== b) {
2271
- q.push({i: s.push(pop(s) + "skewX(", null, degParen) - 2, x: number(a, b)});
2272
- } else if (b) {
2273
- s.push(pop(s) + "skewX(" + b + degParen);
2274
- }
2275
- }
2276
-
2277
- function scale(xa, ya, xb, yb, s, q) {
2278
- if (xa !== xb || ya !== yb) {
2279
- var i = s.push(pop(s) + "scale(", null, ",", null, ")");
2280
- q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});
2281
- } else if (xb !== 1 || yb !== 1) {
2282
- s.push(pop(s) + "scale(" + xb + "," + yb + ")");
2283
- }
2284
- }
2285
-
2286
- return function(a, b) {
2287
- var s = [], // string constants and placeholders
2288
- q = []; // number interpolators
2289
- a = parse(a), b = parse(b);
2290
- translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);
2291
- rotate(a.rotate, b.rotate, s, q);
2292
- skewX(a.skewX, b.skewX, s, q);
2293
- scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);
2294
- a = b = null; // gc
2295
- return function(t) {
2296
- var i = -1, n = q.length, o;
2297
- while (++i < n) s[(o = q[i]).i] = o.x(t);
2298
- return s.join("");
2299
- };
2300
- };
2301
- }
2302
-
2303
- var interpolateTransformCss = interpolateTransform(parseCss, "px, ", "px)", "deg)");
2304
- var interpolateTransformSvg = interpolateTransform(parseSvg, ", ", ")", ")");
2305
-
2306
2160
  var epsilon2 = 1e-12;
2307
2161
 
2308
2162
  function cosh(x) {
@@ -2317,7 +2171,7 @@ var drawChart = (function (exports) {
2317
2171
  return ((x = Math.exp(2 * x)) - 1) / (x + 1);
2318
2172
  }
2319
2173
 
2320
- var zoom = (function zoomRho(rho, rho2, rho4) {
2174
+ ((function zoomRho(rho, rho2, rho4) {
2321
2175
 
2322
2176
  // p0 = [ux0, uy0, w0]
2323
2177
  // p1 = [ux1, uy1, w1]
@@ -2373,66 +2227,14 @@ var drawChart = (function (exports) {
2373
2227
  };
2374
2228
 
2375
2229
  return zoom;
2376
- })(Math.SQRT2, 2, 4);
2377
-
2378
- function hsl(hue) {
2379
- return function(start, end) {
2380
- var h = hue((start = d3Color.hsl(start)).h, (end = d3Color.hsl(end)).h),
2381
- s = nogamma(start.s, end.s),
2382
- l = nogamma(start.l, end.l),
2383
- opacity = nogamma(start.opacity, end.opacity);
2384
- return function(t) {
2385
- start.h = h(t);
2386
- start.s = s(t);
2387
- start.l = l(t);
2388
- start.opacity = opacity(t);
2389
- return start + "";
2390
- };
2391
- }
2392
- }
2393
-
2394
- var hsl$1 = hsl(hue);
2395
- var hslLong = hsl(nogamma);
2396
-
2397
- function lab(start, end) {
2398
- var l = nogamma((start = d3Color.lab(start)).l, (end = d3Color.lab(end)).l),
2399
- a = nogamma(start.a, end.a),
2400
- b = nogamma(start.b, end.b),
2401
- opacity = nogamma(start.opacity, end.opacity);
2402
- return function(t) {
2403
- start.l = l(t);
2404
- start.a = a(t);
2405
- start.b = b(t);
2406
- start.opacity = opacity(t);
2407
- return start + "";
2408
- };
2409
- }
2410
-
2411
- function hcl(hue) {
2412
- return function(start, end) {
2413
- var h = hue((start = d3Color.hcl(start)).h, (end = d3Color.hcl(end)).h),
2414
- c = nogamma(start.c, end.c),
2415
- l = nogamma(start.l, end.l),
2416
- opacity = nogamma(start.opacity, end.opacity);
2417
- return function(t) {
2418
- start.h = h(t);
2419
- start.c = c(t);
2420
- start.l = l(t);
2421
- start.opacity = opacity(t);
2422
- return start + "";
2423
- };
2424
- }
2425
- }
2426
-
2427
- var hcl$1 = hcl(hue);
2428
- var hclLong = hcl(nogamma);
2230
+ }))(Math.SQRT2, 2, 4);
2429
2231
 
2430
2232
  function cubehelix(hue) {
2431
2233
  return (function cubehelixGamma(y) {
2432
2234
  y = +y;
2433
2235
 
2434
2236
  function cubehelix(start, end) {
2435
- var h = hue((start = d3Color.cubehelix(start)).h, (end = d3Color.cubehelix(end)).h),
2237
+ var h = hue((start = cubehelix$1(start)).h, (end = cubehelix$1(end)).h),
2436
2238
  s = nogamma(start.s, end.s),
2437
2239
  l = nogamma(start.l, end.l),
2438
2240
  opacity = nogamma(start.opacity, end.opacity);
@@ -2451,57 +2253,8 @@ var drawChart = (function (exports) {
2451
2253
  })(1);
2452
2254
  }
2453
2255
 
2454
- var cubehelix$1 = cubehelix(hue);
2455
- var cubehelixLong = cubehelix(nogamma);
2456
-
2457
- function piecewise(interpolate, values) {
2458
- if (values === undefined) values = interpolate, interpolate = value;
2459
- var i = 0, n = values.length - 1, v = values[0], I = new Array(n < 0 ? 0 : n);
2460
- while (i < n) I[i] = interpolate(v, v = values[++i]);
2461
- return function(t) {
2462
- var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n)));
2463
- return I[i](t - i);
2464
- };
2465
- }
2466
-
2467
- function quantize(interpolator, n) {
2468
- var samples = new Array(n);
2469
- for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));
2470
- return samples;
2471
- }
2472
-
2473
- exports.interpolate = value;
2474
- exports.interpolateArray = array;
2475
- exports.interpolateBasis = basis$1;
2476
- exports.interpolateBasisClosed = basisClosed;
2477
- exports.interpolateCubehelix = cubehelix$1;
2478
- exports.interpolateCubehelixLong = cubehelixLong;
2479
- exports.interpolateDate = date;
2480
- exports.interpolateDiscrete = discrete;
2481
- exports.interpolateHcl = hcl$1;
2482
- exports.interpolateHclLong = hclLong;
2483
- exports.interpolateHsl = hsl$1;
2484
- exports.interpolateHslLong = hslLong;
2485
- exports.interpolateHue = hue$1;
2486
- exports.interpolateLab = lab;
2487
- exports.interpolateNumber = number;
2488
- exports.interpolateNumberArray = numberArray;
2489
- exports.interpolateObject = object;
2490
- exports.interpolateRgb = rgb;
2491
- exports.interpolateRgbBasis = rgbBasis;
2492
- exports.interpolateRgbBasisClosed = rgbBasisClosed;
2493
- exports.interpolateRound = round;
2494
- exports.interpolateString = string;
2495
- exports.interpolateTransformCss = interpolateTransformCss;
2496
- exports.interpolateTransformSvg = interpolateTransformSvg;
2497
- exports.interpolateZoom = zoom;
2498
- exports.piecewise = piecewise;
2499
- exports.quantize = quantize;
2500
-
2501
- Object.defineProperty(exports, '__esModule', { value: true });
2502
-
2503
- }));
2504
- });
2256
+ cubehelix(hue);
2257
+ cubehelix(nogamma);
2505
2258
 
2506
2259
  function constants(x) {
2507
2260
  return function() {
@@ -2515,7 +2268,7 @@ var drawChart = (function (exports) {
2515
2268
 
2516
2269
  var unit = [0, 1];
2517
2270
 
2518
- function identity(x) {
2271
+ function identity$1(x) {
2519
2272
  return x;
2520
2273
  }
2521
2274
 
@@ -2575,29 +2328,29 @@ var drawChart = (function (exports) {
2575
2328
  function transformer$1() {
2576
2329
  var domain = unit,
2577
2330
  range = unit,
2578
- interpolate = d3Interpolate.interpolate,
2331
+ interpolate$1 = interpolate,
2579
2332
  transform,
2580
2333
  untransform,
2581
2334
  unknown,
2582
- clamp = identity,
2335
+ clamp = identity$1,
2583
2336
  piecewise,
2584
2337
  output,
2585
2338
  input;
2586
2339
 
2587
2340
  function rescale() {
2588
2341
  var n = Math.min(domain.length, range.length);
2589
- if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]);
2342
+ if (clamp !== identity$1) clamp = clamper(domain[0], domain[n - 1]);
2590
2343
  piecewise = n > 2 ? polymap : bimap;
2591
2344
  output = input = null;
2592
2345
  return scale;
2593
2346
  }
2594
2347
 
2595
2348
  function scale(x) {
2596
- return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));
2349
+ return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate$1)))(transform(clamp(x)));
2597
2350
  }
2598
2351
 
2599
2352
  scale.invert = function(y) {
2600
- return clamp(untransform((input || (input = piecewise(range, domain.map(transform), d3Interpolate.interpolateNumber)))(y)));
2353
+ return clamp(untransform((input || (input = piecewise(range, domain.map(transform), interpolateNumber)))(y)));
2601
2354
  };
2602
2355
 
2603
2356
  scale.domain = function(_) {
@@ -2609,15 +2362,15 @@ var drawChart = (function (exports) {
2609
2362
  };
2610
2363
 
2611
2364
  scale.rangeRound = function(_) {
2612
- return range = Array.from(_), interpolate = d3Interpolate.interpolateRound, rescale();
2365
+ return range = Array.from(_), interpolate$1 = interpolateRound, rescale();
2613
2366
  };
2614
2367
 
2615
2368
  scale.clamp = function(_) {
2616
- return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity;
2369
+ return arguments.length ? (clamp = _ ? true : identity$1, rescale()) : clamp !== identity$1;
2617
2370
  };
2618
2371
 
2619
2372
  scale.interpolate = function(_) {
2620
- return arguments.length ? (interpolate = _, rescale()) : interpolate;
2373
+ return arguments.length ? (interpolate$1 = _, rescale()) : interpolate$1;
2621
2374
  };
2622
2375
 
2623
2376
  scale.unknown = function(_) {
@@ -2631,14 +2384,9 @@ var drawChart = (function (exports) {
2631
2384
  }
2632
2385
 
2633
2386
  function continuous() {
2634
- return transformer$1()(identity, identity);
2387
+ return transformer$1()(identity$1, identity$1);
2635
2388
  }
2636
2389
 
2637
- var d3Format = createCommonjsModule(function (module, exports) {
2638
- // https://d3js.org/d3-format/ v2.0.0 Copyright 2020 Mike Bostock
2639
- (function (global, factory) {
2640
- factory(exports) ;
2641
- }(this, (function (exports) {
2642
2390
  function formatDecimal(x) {
2643
2391
  return Math.abs(x = Math.round(x)) >= 1e21
2644
2392
  ? x.toLocaleString("en").replace(/,/g, "")
@@ -2799,7 +2547,7 @@ var drawChart = (function (exports) {
2799
2547
  var map = Array.prototype.map,
2800
2548
  prefixes = ["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];
2801
2549
 
2802
- function formatLocale(locale) {
2550
+ function formatLocale$1(locale) {
2803
2551
  var group = locale.grouping === undefined || locale.thousands === undefined ? identity : formatGroup(map.call(locale.grouping, Number), locale.thousands + ""),
2804
2552
  currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
2805
2553
  currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
@@ -2936,19 +2684,21 @@ var drawChart = (function (exports) {
2936
2684
  };
2937
2685
  }
2938
2686
 
2939
- var locale;
2687
+ var locale$1;
2688
+ var format;
2689
+ var formatPrefix;
2940
2690
 
2941
- defaultLocale({
2691
+ defaultLocale$1({
2942
2692
  thousands: ",",
2943
2693
  grouping: [3],
2944
2694
  currency: ["$", ""]
2945
2695
  });
2946
2696
 
2947
- function defaultLocale(definition) {
2948
- locale = formatLocale(definition);
2949
- exports.format = locale.format;
2950
- exports.formatPrefix = locale.formatPrefix;
2951
- return locale;
2697
+ function defaultLocale$1(definition) {
2698
+ locale$1 = formatLocale$1(definition);
2699
+ format = locale$1.format;
2700
+ formatPrefix = locale$1.formatPrefix;
2701
+ return locale$1;
2952
2702
  }
2953
2703
 
2954
2704
  function precisionFixed(step) {
@@ -2964,44 +2714,31 @@ var drawChart = (function (exports) {
2964
2714
  return Math.max(0, exponent(max) - exponent(step)) + 1;
2965
2715
  }
2966
2716
 
2967
- exports.FormatSpecifier = FormatSpecifier;
2968
- exports.formatDefaultLocale = defaultLocale;
2969
- exports.formatLocale = formatLocale;
2970
- exports.formatSpecifier = formatSpecifier;
2971
- exports.precisionFixed = precisionFixed;
2972
- exports.precisionPrefix = precisionPrefix;
2973
- exports.precisionRound = precisionRound;
2974
-
2975
- Object.defineProperty(exports, '__esModule', { value: true });
2976
-
2977
- })));
2978
- });
2979
-
2980
2717
  function tickFormat(start, stop, count, specifier) {
2981
2718
  var step = tickStep(start, stop, count),
2982
2719
  precision;
2983
- specifier = d3Format.formatSpecifier(specifier == null ? ",f" : specifier);
2720
+ specifier = formatSpecifier(specifier == null ? ",f" : specifier);
2984
2721
  switch (specifier.type) {
2985
2722
  case "s": {
2986
2723
  var value = Math.max(Math.abs(start), Math.abs(stop));
2987
- if (specifier.precision == null && !isNaN(precision = d3Format.precisionPrefix(step, value))) specifier.precision = precision;
2988
- return d3Format.formatPrefix(specifier, value);
2724
+ if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;
2725
+ return formatPrefix(specifier, value);
2989
2726
  }
2990
2727
  case "":
2991
2728
  case "e":
2992
2729
  case "g":
2993
2730
  case "p":
2994
2731
  case "r": {
2995
- if (specifier.precision == null && !isNaN(precision = d3Format.precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
2732
+ if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
2996
2733
  break;
2997
2734
  }
2998
2735
  case "f":
2999
2736
  case "%": {
3000
- if (specifier.precision == null && !isNaN(precision = d3Format.precisionFixed(step))) specifier.precision = precision - (specifier.type === "%") * 2;
2737
+ if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === "%") * 2;
3001
2738
  break;
3002
2739
  }
3003
2740
  }
3004
- return d3Format.format(specifier);
2741
+ return format(specifier);
3005
2742
  }
3006
2743
 
3007
2744
  function linearish(scale) {
@@ -3070,6 +2807,1032 @@ var drawChart = (function (exports) {
3070
2807
  return linearish(scale);
3071
2808
  }
3072
2809
 
2810
+ var t0 = new Date,
2811
+ t1 = new Date;
2812
+
2813
+ function newInterval(floori, offseti, count, field) {
2814
+
2815
+ function interval(date) {
2816
+ return floori(date = arguments.length === 0 ? new Date : new Date(+date)), date;
2817
+ }
2818
+
2819
+ interval.floor = function(date) {
2820
+ return floori(date = new Date(+date)), date;
2821
+ };
2822
+
2823
+ interval.ceil = function(date) {
2824
+ return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
2825
+ };
2826
+
2827
+ interval.round = function(date) {
2828
+ var d0 = interval(date),
2829
+ d1 = interval.ceil(date);
2830
+ return date - d0 < d1 - date ? d0 : d1;
2831
+ };
2832
+
2833
+ interval.offset = function(date, step) {
2834
+ return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
2835
+ };
2836
+
2837
+ interval.range = function(start, stop, step) {
2838
+ var range = [], previous;
2839
+ start = interval.ceil(start);
2840
+ step = step == null ? 1 : Math.floor(step);
2841
+ if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date
2842
+ do range.push(previous = new Date(+start)), offseti(start, step), floori(start);
2843
+ while (previous < start && start < stop);
2844
+ return range;
2845
+ };
2846
+
2847
+ interval.filter = function(test) {
2848
+ return newInterval(function(date) {
2849
+ if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);
2850
+ }, function(date, step) {
2851
+ if (date >= date) {
2852
+ if (step < 0) while (++step <= 0) {
2853
+ while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty
2854
+ } else while (--step >= 0) {
2855
+ while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty
2856
+ }
2857
+ }
2858
+ });
2859
+ };
2860
+
2861
+ if (count) {
2862
+ interval.count = function(start, end) {
2863
+ t0.setTime(+start), t1.setTime(+end);
2864
+ floori(t0), floori(t1);
2865
+ return Math.floor(count(t0, t1));
2866
+ };
2867
+
2868
+ interval.every = function(step) {
2869
+ step = Math.floor(step);
2870
+ return !isFinite(step) || !(step > 0) ? null
2871
+ : !(step > 1) ? interval
2872
+ : interval.filter(field
2873
+ ? function(d) { return field(d) % step === 0; }
2874
+ : function(d) { return interval.count(0, d) % step === 0; });
2875
+ };
2876
+ }
2877
+
2878
+ return interval;
2879
+ }
2880
+
2881
+ var millisecond = newInterval(function() {
2882
+ // noop
2883
+ }, function(date, step) {
2884
+ date.setTime(+date + step);
2885
+ }, function(start, end) {
2886
+ return end - start;
2887
+ });
2888
+
2889
+ // An optimized implementation for this simple case.
2890
+ millisecond.every = function(k) {
2891
+ k = Math.floor(k);
2892
+ if (!isFinite(k) || !(k > 0)) return null;
2893
+ if (!(k > 1)) return millisecond;
2894
+ return newInterval(function(date) {
2895
+ date.setTime(Math.floor(date / k) * k);
2896
+ }, function(date, step) {
2897
+ date.setTime(+date + step * k);
2898
+ }, function(start, end) {
2899
+ return (end - start) / k;
2900
+ });
2901
+ };
2902
+ millisecond.range;
2903
+
2904
+ const durationSecond = 1000;
2905
+ const durationMinute = durationSecond * 60;
2906
+ const durationHour = durationMinute * 60;
2907
+ const durationDay = durationHour * 24;
2908
+ const durationWeek = durationDay * 7;
2909
+
2910
+ var second = newInterval(function(date) {
2911
+ date.setTime(date - date.getMilliseconds());
2912
+ }, function(date, step) {
2913
+ date.setTime(+date + step * durationSecond);
2914
+ }, function(start, end) {
2915
+ return (end - start) / durationSecond;
2916
+ }, function(date) {
2917
+ return date.getUTCSeconds();
2918
+ });
2919
+ second.range;
2920
+
2921
+ var minute = newInterval(function(date) {
2922
+ date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond);
2923
+ }, function(date, step) {
2924
+ date.setTime(+date + step * durationMinute);
2925
+ }, function(start, end) {
2926
+ return (end - start) / durationMinute;
2927
+ }, function(date) {
2928
+ return date.getMinutes();
2929
+ });
2930
+ minute.range;
2931
+
2932
+ var hour = newInterval(function(date) {
2933
+ date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond - date.getMinutes() * durationMinute);
2934
+ }, function(date, step) {
2935
+ date.setTime(+date + step * durationHour);
2936
+ }, function(start, end) {
2937
+ return (end - start) / durationHour;
2938
+ }, function(date) {
2939
+ return date.getHours();
2940
+ });
2941
+ hour.range;
2942
+
2943
+ var day = newInterval(
2944
+ date => date.setHours(0, 0, 0, 0),
2945
+ (date, step) => date.setDate(date.getDate() + step),
2946
+ (start, end) => (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationDay,
2947
+ date => date.getDate() - 1
2948
+ );
2949
+ day.range;
2950
+
2951
+ function weekday(i) {
2952
+ return newInterval(function(date) {
2953
+ date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
2954
+ date.setHours(0, 0, 0, 0);
2955
+ }, function(date, step) {
2956
+ date.setDate(date.getDate() + step * 7);
2957
+ }, function(start, end) {
2958
+ return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationWeek;
2959
+ });
2960
+ }
2961
+
2962
+ var sunday = weekday(0);
2963
+ var monday = weekday(1);
2964
+ var tuesday = weekday(2);
2965
+ var wednesday = weekday(3);
2966
+ var thursday = weekday(4);
2967
+ var friday = weekday(5);
2968
+ var saturday = weekday(6);
2969
+
2970
+ sunday.range;
2971
+ monday.range;
2972
+ tuesday.range;
2973
+ wednesday.range;
2974
+ thursday.range;
2975
+ friday.range;
2976
+ saturday.range;
2977
+
2978
+ var month = newInterval(function(date) {
2979
+ date.setDate(1);
2980
+ date.setHours(0, 0, 0, 0);
2981
+ }, function(date, step) {
2982
+ date.setMonth(date.getMonth() + step);
2983
+ }, function(start, end) {
2984
+ return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
2985
+ }, function(date) {
2986
+ return date.getMonth();
2987
+ });
2988
+ month.range;
2989
+
2990
+ var year = newInterval(function(date) {
2991
+ date.setMonth(0, 1);
2992
+ date.setHours(0, 0, 0, 0);
2993
+ }, function(date, step) {
2994
+ date.setFullYear(date.getFullYear() + step);
2995
+ }, function(start, end) {
2996
+ return end.getFullYear() - start.getFullYear();
2997
+ }, function(date) {
2998
+ return date.getFullYear();
2999
+ });
3000
+
3001
+ // An optimized implementation for this simple case.
3002
+ year.every = function(k) {
3003
+ return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) {
3004
+ date.setFullYear(Math.floor(date.getFullYear() / k) * k);
3005
+ date.setMonth(0, 1);
3006
+ date.setHours(0, 0, 0, 0);
3007
+ }, function(date, step) {
3008
+ date.setFullYear(date.getFullYear() + step * k);
3009
+ });
3010
+ };
3011
+ year.range;
3012
+
3013
+ var utcMinute = newInterval(function(date) {
3014
+ date.setUTCSeconds(0, 0);
3015
+ }, function(date, step) {
3016
+ date.setTime(+date + step * durationMinute);
3017
+ }, function(start, end) {
3018
+ return (end - start) / durationMinute;
3019
+ }, function(date) {
3020
+ return date.getUTCMinutes();
3021
+ });
3022
+ utcMinute.range;
3023
+
3024
+ var utcHour = newInterval(function(date) {
3025
+ date.setUTCMinutes(0, 0, 0);
3026
+ }, function(date, step) {
3027
+ date.setTime(+date + step * durationHour);
3028
+ }, function(start, end) {
3029
+ return (end - start) / durationHour;
3030
+ }, function(date) {
3031
+ return date.getUTCHours();
3032
+ });
3033
+ utcHour.range;
3034
+
3035
+ var utcDay = newInterval(function(date) {
3036
+ date.setUTCHours(0, 0, 0, 0);
3037
+ }, function(date, step) {
3038
+ date.setUTCDate(date.getUTCDate() + step);
3039
+ }, function(start, end) {
3040
+ return (end - start) / durationDay;
3041
+ }, function(date) {
3042
+ return date.getUTCDate() - 1;
3043
+ });
3044
+ utcDay.range;
3045
+
3046
+ function utcWeekday(i) {
3047
+ return newInterval(function(date) {
3048
+ date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
3049
+ date.setUTCHours(0, 0, 0, 0);
3050
+ }, function(date, step) {
3051
+ date.setUTCDate(date.getUTCDate() + step * 7);
3052
+ }, function(start, end) {
3053
+ return (end - start) / durationWeek;
3054
+ });
3055
+ }
3056
+
3057
+ var utcSunday = utcWeekday(0);
3058
+ var utcMonday = utcWeekday(1);
3059
+ var utcTuesday = utcWeekday(2);
3060
+ var utcWednesday = utcWeekday(3);
3061
+ var utcThursday = utcWeekday(4);
3062
+ var utcFriday = utcWeekday(5);
3063
+ var utcSaturday = utcWeekday(6);
3064
+
3065
+ utcSunday.range;
3066
+ utcMonday.range;
3067
+ utcTuesday.range;
3068
+ utcWednesday.range;
3069
+ utcThursday.range;
3070
+ utcFriday.range;
3071
+ utcSaturday.range;
3072
+
3073
+ var utcMonth = newInterval(function(date) {
3074
+ date.setUTCDate(1);
3075
+ date.setUTCHours(0, 0, 0, 0);
3076
+ }, function(date, step) {
3077
+ date.setUTCMonth(date.getUTCMonth() + step);
3078
+ }, function(start, end) {
3079
+ return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
3080
+ }, function(date) {
3081
+ return date.getUTCMonth();
3082
+ });
3083
+ utcMonth.range;
3084
+
3085
+ var utcYear = newInterval(function(date) {
3086
+ date.setUTCMonth(0, 1);
3087
+ date.setUTCHours(0, 0, 0, 0);
3088
+ }, function(date, step) {
3089
+ date.setUTCFullYear(date.getUTCFullYear() + step);
3090
+ }, function(start, end) {
3091
+ return end.getUTCFullYear() - start.getUTCFullYear();
3092
+ }, function(date) {
3093
+ return date.getUTCFullYear();
3094
+ });
3095
+
3096
+ // An optimized implementation for this simple case.
3097
+ utcYear.every = function(k) {
3098
+ return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) {
3099
+ date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
3100
+ date.setUTCMonth(0, 1);
3101
+ date.setUTCHours(0, 0, 0, 0);
3102
+ }, function(date, step) {
3103
+ date.setUTCFullYear(date.getUTCFullYear() + step * k);
3104
+ });
3105
+ };
3106
+ utcYear.range;
3107
+
3108
+ function localDate(d) {
3109
+ if (0 <= d.y && d.y < 100) {
3110
+ var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);
3111
+ date.setFullYear(d.y);
3112
+ return date;
3113
+ }
3114
+ return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);
3115
+ }
3116
+
3117
+ function utcDate(d) {
3118
+ if (0 <= d.y && d.y < 100) {
3119
+ var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));
3120
+ date.setUTCFullYear(d.y);
3121
+ return date;
3122
+ }
3123
+ return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));
3124
+ }
3125
+
3126
+ function newDate(y, m, d) {
3127
+ return {y: y, m: m, d: d, H: 0, M: 0, S: 0, L: 0};
3128
+ }
3129
+
3130
+ function formatLocale(locale) {
3131
+ var locale_dateTime = locale.dateTime,
3132
+ locale_date = locale.date,
3133
+ locale_time = locale.time,
3134
+ locale_periods = locale.periods,
3135
+ locale_weekdays = locale.days,
3136
+ locale_shortWeekdays = locale.shortDays,
3137
+ locale_months = locale.months,
3138
+ locale_shortMonths = locale.shortMonths;
3139
+
3140
+ var periodRe = formatRe(locale_periods),
3141
+ periodLookup = formatLookup(locale_periods),
3142
+ weekdayRe = formatRe(locale_weekdays),
3143
+ weekdayLookup = formatLookup(locale_weekdays),
3144
+ shortWeekdayRe = formatRe(locale_shortWeekdays),
3145
+ shortWeekdayLookup = formatLookup(locale_shortWeekdays),
3146
+ monthRe = formatRe(locale_months),
3147
+ monthLookup = formatLookup(locale_months),
3148
+ shortMonthRe = formatRe(locale_shortMonths),
3149
+ shortMonthLookup = formatLookup(locale_shortMonths);
3150
+
3151
+ var formats = {
3152
+ "a": formatShortWeekday,
3153
+ "A": formatWeekday,
3154
+ "b": formatShortMonth,
3155
+ "B": formatMonth,
3156
+ "c": null,
3157
+ "d": formatDayOfMonth,
3158
+ "e": formatDayOfMonth,
3159
+ "f": formatMicroseconds,
3160
+ "g": formatYearISO,
3161
+ "G": formatFullYearISO,
3162
+ "H": formatHour24,
3163
+ "I": formatHour12,
3164
+ "j": formatDayOfYear,
3165
+ "L": formatMilliseconds,
3166
+ "m": formatMonthNumber,
3167
+ "M": formatMinutes,
3168
+ "p": formatPeriod,
3169
+ "q": formatQuarter,
3170
+ "Q": formatUnixTimestamp,
3171
+ "s": formatUnixTimestampSeconds,
3172
+ "S": formatSeconds,
3173
+ "u": formatWeekdayNumberMonday,
3174
+ "U": formatWeekNumberSunday,
3175
+ "V": formatWeekNumberISO,
3176
+ "w": formatWeekdayNumberSunday,
3177
+ "W": formatWeekNumberMonday,
3178
+ "x": null,
3179
+ "X": null,
3180
+ "y": formatYear,
3181
+ "Y": formatFullYear,
3182
+ "Z": formatZone,
3183
+ "%": formatLiteralPercent
3184
+ };
3185
+
3186
+ var utcFormats = {
3187
+ "a": formatUTCShortWeekday,
3188
+ "A": formatUTCWeekday,
3189
+ "b": formatUTCShortMonth,
3190
+ "B": formatUTCMonth,
3191
+ "c": null,
3192
+ "d": formatUTCDayOfMonth,
3193
+ "e": formatUTCDayOfMonth,
3194
+ "f": formatUTCMicroseconds,
3195
+ "g": formatUTCYearISO,
3196
+ "G": formatUTCFullYearISO,
3197
+ "H": formatUTCHour24,
3198
+ "I": formatUTCHour12,
3199
+ "j": formatUTCDayOfYear,
3200
+ "L": formatUTCMilliseconds,
3201
+ "m": formatUTCMonthNumber,
3202
+ "M": formatUTCMinutes,
3203
+ "p": formatUTCPeriod,
3204
+ "q": formatUTCQuarter,
3205
+ "Q": formatUnixTimestamp,
3206
+ "s": formatUnixTimestampSeconds,
3207
+ "S": formatUTCSeconds,
3208
+ "u": formatUTCWeekdayNumberMonday,
3209
+ "U": formatUTCWeekNumberSunday,
3210
+ "V": formatUTCWeekNumberISO,
3211
+ "w": formatUTCWeekdayNumberSunday,
3212
+ "W": formatUTCWeekNumberMonday,
3213
+ "x": null,
3214
+ "X": null,
3215
+ "y": formatUTCYear,
3216
+ "Y": formatUTCFullYear,
3217
+ "Z": formatUTCZone,
3218
+ "%": formatLiteralPercent
3219
+ };
3220
+
3221
+ var parses = {
3222
+ "a": parseShortWeekday,
3223
+ "A": parseWeekday,
3224
+ "b": parseShortMonth,
3225
+ "B": parseMonth,
3226
+ "c": parseLocaleDateTime,
3227
+ "d": parseDayOfMonth,
3228
+ "e": parseDayOfMonth,
3229
+ "f": parseMicroseconds,
3230
+ "g": parseYear,
3231
+ "G": parseFullYear,
3232
+ "H": parseHour24,
3233
+ "I": parseHour24,
3234
+ "j": parseDayOfYear,
3235
+ "L": parseMilliseconds,
3236
+ "m": parseMonthNumber,
3237
+ "M": parseMinutes,
3238
+ "p": parsePeriod,
3239
+ "q": parseQuarter,
3240
+ "Q": parseUnixTimestamp,
3241
+ "s": parseUnixTimestampSeconds,
3242
+ "S": parseSeconds,
3243
+ "u": parseWeekdayNumberMonday,
3244
+ "U": parseWeekNumberSunday,
3245
+ "V": parseWeekNumberISO,
3246
+ "w": parseWeekdayNumberSunday,
3247
+ "W": parseWeekNumberMonday,
3248
+ "x": parseLocaleDate,
3249
+ "X": parseLocaleTime,
3250
+ "y": parseYear,
3251
+ "Y": parseFullYear,
3252
+ "Z": parseZone,
3253
+ "%": parseLiteralPercent
3254
+ };
3255
+
3256
+ // These recursive directive definitions must be deferred.
3257
+ formats.x = newFormat(locale_date, formats);
3258
+ formats.X = newFormat(locale_time, formats);
3259
+ formats.c = newFormat(locale_dateTime, formats);
3260
+ utcFormats.x = newFormat(locale_date, utcFormats);
3261
+ utcFormats.X = newFormat(locale_time, utcFormats);
3262
+ utcFormats.c = newFormat(locale_dateTime, utcFormats);
3263
+
3264
+ function newFormat(specifier, formats) {
3265
+ return function(date) {
3266
+ var string = [],
3267
+ i = -1,
3268
+ j = 0,
3269
+ n = specifier.length,
3270
+ c,
3271
+ pad,
3272
+ format;
3273
+
3274
+ if (!(date instanceof Date)) date = new Date(+date);
3275
+
3276
+ while (++i < n) {
3277
+ if (specifier.charCodeAt(i) === 37) {
3278
+ string.push(specifier.slice(j, i));
3279
+ if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);
3280
+ else pad = c === "e" ? " " : "0";
3281
+ if (format = formats[c]) c = format(date, pad);
3282
+ string.push(c);
3283
+ j = i + 1;
3284
+ }
3285
+ }
3286
+
3287
+ string.push(specifier.slice(j, i));
3288
+ return string.join("");
3289
+ };
3290
+ }
3291
+
3292
+ function newParse(specifier, Z) {
3293
+ return function(string) {
3294
+ var d = newDate(1900, undefined, 1),
3295
+ i = parseSpecifier(d, specifier, string += "", 0),
3296
+ week, day$1;
3297
+ if (i != string.length) return null;
3298
+
3299
+ // If a UNIX timestamp is specified, return it.
3300
+ if ("Q" in d) return new Date(d.Q);
3301
+ if ("s" in d) return new Date(d.s * 1000 + ("L" in d ? d.L : 0));
3302
+
3303
+ // If this is utcParse, never use the local timezone.
3304
+ if (Z && !("Z" in d)) d.Z = 0;
3305
+
3306
+ // The am-pm flag is 0 for AM, and 1 for PM.
3307
+ if ("p" in d) d.H = d.H % 12 + d.p * 12;
3308
+
3309
+ // If the month was not specified, inherit from the quarter.
3310
+ if (d.m === undefined) d.m = "q" in d ? d.q : 0;
3311
+
3312
+ // Convert day-of-week and week-of-year to day-of-year.
3313
+ if ("V" in d) {
3314
+ if (d.V < 1 || d.V > 53) return null;
3315
+ if (!("w" in d)) d.w = 1;
3316
+ if ("Z" in d) {
3317
+ week = utcDate(newDate(d.y, 0, 1)), day$1 = week.getUTCDay();
3318
+ week = day$1 > 4 || day$1 === 0 ? utcMonday.ceil(week) : utcMonday(week);
3319
+ week = utcDay.offset(week, (d.V - 1) * 7);
3320
+ d.y = week.getUTCFullYear();
3321
+ d.m = week.getUTCMonth();
3322
+ d.d = week.getUTCDate() + (d.w + 6) % 7;
3323
+ } else {
3324
+ week = localDate(newDate(d.y, 0, 1)), day$1 = week.getDay();
3325
+ week = day$1 > 4 || day$1 === 0 ? monday.ceil(week) : monday(week);
3326
+ week = day.offset(week, (d.V - 1) * 7);
3327
+ d.y = week.getFullYear();
3328
+ d.m = week.getMonth();
3329
+ d.d = week.getDate() + (d.w + 6) % 7;
3330
+ }
3331
+ } else if ("W" in d || "U" in d) {
3332
+ if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
3333
+ day$1 = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
3334
+ d.m = 0;
3335
+ 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;
3336
+ }
3337
+
3338
+ // If a time zone is specified, all fields are interpreted as UTC and then
3339
+ // offset according to the specified time zone.
3340
+ if ("Z" in d) {
3341
+ d.H += d.Z / 100 | 0;
3342
+ d.M += d.Z % 100;
3343
+ return utcDate(d);
3344
+ }
3345
+
3346
+ // Otherwise, all fields are in local time.
3347
+ return localDate(d);
3348
+ };
3349
+ }
3350
+
3351
+ function parseSpecifier(d, specifier, string, j) {
3352
+ var i = 0,
3353
+ n = specifier.length,
3354
+ m = string.length,
3355
+ c,
3356
+ parse;
3357
+
3358
+ while (i < n) {
3359
+ if (j >= m) return -1;
3360
+ c = specifier.charCodeAt(i++);
3361
+ if (c === 37) {
3362
+ c = specifier.charAt(i++);
3363
+ parse = parses[c in pads ? specifier.charAt(i++) : c];
3364
+ if (!parse || ((j = parse(d, string, j)) < 0)) return -1;
3365
+ } else if (c != string.charCodeAt(j++)) {
3366
+ return -1;
3367
+ }
3368
+ }
3369
+
3370
+ return j;
3371
+ }
3372
+
3373
+ function parsePeriod(d, string, i) {
3374
+ var n = periodRe.exec(string.slice(i));
3375
+ return n ? (d.p = periodLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3376
+ }
3377
+
3378
+ function parseShortWeekday(d, string, i) {
3379
+ var n = shortWeekdayRe.exec(string.slice(i));
3380
+ return n ? (d.w = shortWeekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3381
+ }
3382
+
3383
+ function parseWeekday(d, string, i) {
3384
+ var n = weekdayRe.exec(string.slice(i));
3385
+ return n ? (d.w = weekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3386
+ }
3387
+
3388
+ function parseShortMonth(d, string, i) {
3389
+ var n = shortMonthRe.exec(string.slice(i));
3390
+ return n ? (d.m = shortMonthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3391
+ }
3392
+
3393
+ function parseMonth(d, string, i) {
3394
+ var n = monthRe.exec(string.slice(i));
3395
+ return n ? (d.m = monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
3396
+ }
3397
+
3398
+ function parseLocaleDateTime(d, string, i) {
3399
+ return parseSpecifier(d, locale_dateTime, string, i);
3400
+ }
3401
+
3402
+ function parseLocaleDate(d, string, i) {
3403
+ return parseSpecifier(d, locale_date, string, i);
3404
+ }
3405
+
3406
+ function parseLocaleTime(d, string, i) {
3407
+ return parseSpecifier(d, locale_time, string, i);
3408
+ }
3409
+
3410
+ function formatShortWeekday(d) {
3411
+ return locale_shortWeekdays[d.getDay()];
3412
+ }
3413
+
3414
+ function formatWeekday(d) {
3415
+ return locale_weekdays[d.getDay()];
3416
+ }
3417
+
3418
+ function formatShortMonth(d) {
3419
+ return locale_shortMonths[d.getMonth()];
3420
+ }
3421
+
3422
+ function formatMonth(d) {
3423
+ return locale_months[d.getMonth()];
3424
+ }
3425
+
3426
+ function formatPeriod(d) {
3427
+ return locale_periods[+(d.getHours() >= 12)];
3428
+ }
3429
+
3430
+ function formatQuarter(d) {
3431
+ return 1 + ~~(d.getMonth() / 3);
3432
+ }
3433
+
3434
+ function formatUTCShortWeekday(d) {
3435
+ return locale_shortWeekdays[d.getUTCDay()];
3436
+ }
3437
+
3438
+ function formatUTCWeekday(d) {
3439
+ return locale_weekdays[d.getUTCDay()];
3440
+ }
3441
+
3442
+ function formatUTCShortMonth(d) {
3443
+ return locale_shortMonths[d.getUTCMonth()];
3444
+ }
3445
+
3446
+ function formatUTCMonth(d) {
3447
+ return locale_months[d.getUTCMonth()];
3448
+ }
3449
+
3450
+ function formatUTCPeriod(d) {
3451
+ return locale_periods[+(d.getUTCHours() >= 12)];
3452
+ }
3453
+
3454
+ function formatUTCQuarter(d) {
3455
+ return 1 + ~~(d.getUTCMonth() / 3);
3456
+ }
3457
+
3458
+ return {
3459
+ format: function(specifier) {
3460
+ var f = newFormat(specifier += "", formats);
3461
+ f.toString = function() { return specifier; };
3462
+ return f;
3463
+ },
3464
+ parse: function(specifier) {
3465
+ var p = newParse(specifier += "", false);
3466
+ p.toString = function() { return specifier; };
3467
+ return p;
3468
+ },
3469
+ utcFormat: function(specifier) {
3470
+ var f = newFormat(specifier += "", utcFormats);
3471
+ f.toString = function() { return specifier; };
3472
+ return f;
3473
+ },
3474
+ utcParse: function(specifier) {
3475
+ var p = newParse(specifier += "", true);
3476
+ p.toString = function() { return specifier; };
3477
+ return p;
3478
+ }
3479
+ };
3480
+ }
3481
+
3482
+ var pads = {"-": "", "_": " ", "0": "0"},
3483
+ numberRe = /^\s*\d+/, // note: ignores next directive
3484
+ percentRe = /^%/,
3485
+ requoteRe = /[\\^$*+?|[\]().{}]/g;
3486
+
3487
+ function pad(value, fill, width) {
3488
+ var sign = value < 0 ? "-" : "",
3489
+ string = (sign ? -value : value) + "",
3490
+ length = string.length;
3491
+ return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);
3492
+ }
3493
+
3494
+ function requote(s) {
3495
+ return s.replace(requoteRe, "\\$&");
3496
+ }
3497
+
3498
+ function formatRe(names) {
3499
+ return new RegExp("^(?:" + names.map(requote).join("|") + ")", "i");
3500
+ }
3501
+
3502
+ function formatLookup(names) {
3503
+ return new Map(names.map((name, i) => [name.toLowerCase(), i]));
3504
+ }
3505
+
3506
+ function parseWeekdayNumberSunday(d, string, i) {
3507
+ var n = numberRe.exec(string.slice(i, i + 1));
3508
+ return n ? (d.w = +n[0], i + n[0].length) : -1;
3509
+ }
3510
+
3511
+ function parseWeekdayNumberMonday(d, string, i) {
3512
+ var n = numberRe.exec(string.slice(i, i + 1));
3513
+ return n ? (d.u = +n[0], i + n[0].length) : -1;
3514
+ }
3515
+
3516
+ function parseWeekNumberSunday(d, string, i) {
3517
+ var n = numberRe.exec(string.slice(i, i + 2));
3518
+ return n ? (d.U = +n[0], i + n[0].length) : -1;
3519
+ }
3520
+
3521
+ function parseWeekNumberISO(d, string, i) {
3522
+ var n = numberRe.exec(string.slice(i, i + 2));
3523
+ return n ? (d.V = +n[0], i + n[0].length) : -1;
3524
+ }
3525
+
3526
+ function parseWeekNumberMonday(d, string, i) {
3527
+ var n = numberRe.exec(string.slice(i, i + 2));
3528
+ return n ? (d.W = +n[0], i + n[0].length) : -1;
3529
+ }
3530
+
3531
+ function parseFullYear(d, string, i) {
3532
+ var n = numberRe.exec(string.slice(i, i + 4));
3533
+ return n ? (d.y = +n[0], i + n[0].length) : -1;
3534
+ }
3535
+
3536
+ function parseYear(d, string, i) {
3537
+ var n = numberRe.exec(string.slice(i, i + 2));
3538
+ return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;
3539
+ }
3540
+
3541
+ function parseZone(d, string, i) {
3542
+ var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6));
3543
+ return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1;
3544
+ }
3545
+
3546
+ function parseQuarter(d, string, i) {
3547
+ var n = numberRe.exec(string.slice(i, i + 1));
3548
+ return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;
3549
+ }
3550
+
3551
+ function parseMonthNumber(d, string, i) {
3552
+ var n = numberRe.exec(string.slice(i, i + 2));
3553
+ return n ? (d.m = n[0] - 1, i + n[0].length) : -1;
3554
+ }
3555
+
3556
+ function parseDayOfMonth(d, string, i) {
3557
+ var n = numberRe.exec(string.slice(i, i + 2));
3558
+ return n ? (d.d = +n[0], i + n[0].length) : -1;
3559
+ }
3560
+
3561
+ function parseDayOfYear(d, string, i) {
3562
+ var n = numberRe.exec(string.slice(i, i + 3));
3563
+ return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;
3564
+ }
3565
+
3566
+ function parseHour24(d, string, i) {
3567
+ var n = numberRe.exec(string.slice(i, i + 2));
3568
+ return n ? (d.H = +n[0], i + n[0].length) : -1;
3569
+ }
3570
+
3571
+ function parseMinutes(d, string, i) {
3572
+ var n = numberRe.exec(string.slice(i, i + 2));
3573
+ return n ? (d.M = +n[0], i + n[0].length) : -1;
3574
+ }
3575
+
3576
+ function parseSeconds(d, string, i) {
3577
+ var n = numberRe.exec(string.slice(i, i + 2));
3578
+ return n ? (d.S = +n[0], i + n[0].length) : -1;
3579
+ }
3580
+
3581
+ function parseMilliseconds(d, string, i) {
3582
+ var n = numberRe.exec(string.slice(i, i + 3));
3583
+ return n ? (d.L = +n[0], i + n[0].length) : -1;
3584
+ }
3585
+
3586
+ function parseMicroseconds(d, string, i) {
3587
+ var n = numberRe.exec(string.slice(i, i + 6));
3588
+ return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;
3589
+ }
3590
+
3591
+ function parseLiteralPercent(d, string, i) {
3592
+ var n = percentRe.exec(string.slice(i, i + 1));
3593
+ return n ? i + n[0].length : -1;
3594
+ }
3595
+
3596
+ function parseUnixTimestamp(d, string, i) {
3597
+ var n = numberRe.exec(string.slice(i));
3598
+ return n ? (d.Q = +n[0], i + n[0].length) : -1;
3599
+ }
3600
+
3601
+ function parseUnixTimestampSeconds(d, string, i) {
3602
+ var n = numberRe.exec(string.slice(i));
3603
+ return n ? (d.s = +n[0], i + n[0].length) : -1;
3604
+ }
3605
+
3606
+ function formatDayOfMonth(d, p) {
3607
+ return pad(d.getDate(), p, 2);
3608
+ }
3609
+
3610
+ function formatHour24(d, p) {
3611
+ return pad(d.getHours(), p, 2);
3612
+ }
3613
+
3614
+ function formatHour12(d, p) {
3615
+ return pad(d.getHours() % 12 || 12, p, 2);
3616
+ }
3617
+
3618
+ function formatDayOfYear(d, p) {
3619
+ return pad(1 + day.count(year(d), d), p, 3);
3620
+ }
3621
+
3622
+ function formatMilliseconds(d, p) {
3623
+ return pad(d.getMilliseconds(), p, 3);
3624
+ }
3625
+
3626
+ function formatMicroseconds(d, p) {
3627
+ return formatMilliseconds(d, p) + "000";
3628
+ }
3629
+
3630
+ function formatMonthNumber(d, p) {
3631
+ return pad(d.getMonth() + 1, p, 2);
3632
+ }
3633
+
3634
+ function formatMinutes(d, p) {
3635
+ return pad(d.getMinutes(), p, 2);
3636
+ }
3637
+
3638
+ function formatSeconds(d, p) {
3639
+ return pad(d.getSeconds(), p, 2);
3640
+ }
3641
+
3642
+ function formatWeekdayNumberMonday(d) {
3643
+ var day = d.getDay();
3644
+ return day === 0 ? 7 : day;
3645
+ }
3646
+
3647
+ function formatWeekNumberSunday(d, p) {
3648
+ return pad(sunday.count(year(d) - 1, d), p, 2);
3649
+ }
3650
+
3651
+ function dISO(d) {
3652
+ var day = d.getDay();
3653
+ return (day >= 4 || day === 0) ? thursday(d) : thursday.ceil(d);
3654
+ }
3655
+
3656
+ function formatWeekNumberISO(d, p) {
3657
+ d = dISO(d);
3658
+ return pad(thursday.count(year(d), d) + (year(d).getDay() === 4), p, 2);
3659
+ }
3660
+
3661
+ function formatWeekdayNumberSunday(d) {
3662
+ return d.getDay();
3663
+ }
3664
+
3665
+ function formatWeekNumberMonday(d, p) {
3666
+ return pad(monday.count(year(d) - 1, d), p, 2);
3667
+ }
3668
+
3669
+ function formatYear(d, p) {
3670
+ return pad(d.getFullYear() % 100, p, 2);
3671
+ }
3672
+
3673
+ function formatYearISO(d, p) {
3674
+ d = dISO(d);
3675
+ return pad(d.getFullYear() % 100, p, 2);
3676
+ }
3677
+
3678
+ function formatFullYear(d, p) {
3679
+ return pad(d.getFullYear() % 10000, p, 4);
3680
+ }
3681
+
3682
+ function formatFullYearISO(d, p) {
3683
+ var day = d.getDay();
3684
+ d = (day >= 4 || day === 0) ? thursday(d) : thursday.ceil(d);
3685
+ return pad(d.getFullYear() % 10000, p, 4);
3686
+ }
3687
+
3688
+ function formatZone(d) {
3689
+ var z = d.getTimezoneOffset();
3690
+ return (z > 0 ? "-" : (z *= -1, "+"))
3691
+ + pad(z / 60 | 0, "0", 2)
3692
+ + pad(z % 60, "0", 2);
3693
+ }
3694
+
3695
+ function formatUTCDayOfMonth(d, p) {
3696
+ return pad(d.getUTCDate(), p, 2);
3697
+ }
3698
+
3699
+ function formatUTCHour24(d, p) {
3700
+ return pad(d.getUTCHours(), p, 2);
3701
+ }
3702
+
3703
+ function formatUTCHour12(d, p) {
3704
+ return pad(d.getUTCHours() % 12 || 12, p, 2);
3705
+ }
3706
+
3707
+ function formatUTCDayOfYear(d, p) {
3708
+ return pad(1 + utcDay.count(utcYear(d), d), p, 3);
3709
+ }
3710
+
3711
+ function formatUTCMilliseconds(d, p) {
3712
+ return pad(d.getUTCMilliseconds(), p, 3);
3713
+ }
3714
+
3715
+ function formatUTCMicroseconds(d, p) {
3716
+ return formatUTCMilliseconds(d, p) + "000";
3717
+ }
3718
+
3719
+ function formatUTCMonthNumber(d, p) {
3720
+ return pad(d.getUTCMonth() + 1, p, 2);
3721
+ }
3722
+
3723
+ function formatUTCMinutes(d, p) {
3724
+ return pad(d.getUTCMinutes(), p, 2);
3725
+ }
3726
+
3727
+ function formatUTCSeconds(d, p) {
3728
+ return pad(d.getUTCSeconds(), p, 2);
3729
+ }
3730
+
3731
+ function formatUTCWeekdayNumberMonday(d) {
3732
+ var dow = d.getUTCDay();
3733
+ return dow === 0 ? 7 : dow;
3734
+ }
3735
+
3736
+ function formatUTCWeekNumberSunday(d, p) {
3737
+ return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);
3738
+ }
3739
+
3740
+ function UTCdISO(d) {
3741
+ var day = d.getUTCDay();
3742
+ return (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
3743
+ }
3744
+
3745
+ function formatUTCWeekNumberISO(d, p) {
3746
+ d = UTCdISO(d);
3747
+ return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
3748
+ }
3749
+
3750
+ function formatUTCWeekdayNumberSunday(d) {
3751
+ return d.getUTCDay();
3752
+ }
3753
+
3754
+ function formatUTCWeekNumberMonday(d, p) {
3755
+ return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);
3756
+ }
3757
+
3758
+ function formatUTCYear(d, p) {
3759
+ return pad(d.getUTCFullYear() % 100, p, 2);
3760
+ }
3761
+
3762
+ function formatUTCYearISO(d, p) {
3763
+ d = UTCdISO(d);
3764
+ return pad(d.getUTCFullYear() % 100, p, 2);
3765
+ }
3766
+
3767
+ function formatUTCFullYear(d, p) {
3768
+ return pad(d.getUTCFullYear() % 10000, p, 4);
3769
+ }
3770
+
3771
+ function formatUTCFullYearISO(d, p) {
3772
+ var day = d.getUTCDay();
3773
+ d = (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
3774
+ return pad(d.getUTCFullYear() % 10000, p, 4);
3775
+ }
3776
+
3777
+ function formatUTCZone() {
3778
+ return "+0000";
3779
+ }
3780
+
3781
+ function formatLiteralPercent() {
3782
+ return "%";
3783
+ }
3784
+
3785
+ function formatUnixTimestamp(d) {
3786
+ return +d;
3787
+ }
3788
+
3789
+ function formatUnixTimestampSeconds(d) {
3790
+ return Math.floor(+d / 1000);
3791
+ }
3792
+
3793
+ var locale;
3794
+ var utcFormat;
3795
+ var utcParse;
3796
+
3797
+ defaultLocale({
3798
+ dateTime: "%x, %X",
3799
+ date: "%-m/%-d/%Y",
3800
+ time: "%-I:%M:%S %p",
3801
+ periods: ["AM", "PM"],
3802
+ days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
3803
+ shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
3804
+ months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
3805
+ shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
3806
+ });
3807
+
3808
+ function defaultLocale(definition) {
3809
+ locale = formatLocale(definition);
3810
+ locale.format;
3811
+ locale.parse;
3812
+ utcFormat = locale.utcFormat;
3813
+ utcParse = locale.utcParse;
3814
+ return locale;
3815
+ }
3816
+
3817
+ var isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ";
3818
+
3819
+ function formatIsoNative(date) {
3820
+ return date.toISOString();
3821
+ }
3822
+
3823
+ Date.prototype.toISOString
3824
+ ? formatIsoNative
3825
+ : utcFormat(isoSpecifier);
3826
+
3827
+ function parseIsoNative(string) {
3828
+ var date = new Date(string);
3829
+ return isNaN(date) ? null : date;
3830
+ }
3831
+
3832
+ +new Date("2000-01-01T00:00:00.000Z")
3833
+ ? parseIsoNative
3834
+ : utcParse(isoSpecifier);
3835
+
3073
3836
  function transformer() {
3074
3837
  var x0 = 0,
3075
3838
  x1 = 1,
@@ -3077,7 +3840,7 @@ var drawChart = (function (exports) {
3077
3840
  t1,
3078
3841
  k10,
3079
3842
  transform,
3080
- interpolator = identity,
3843
+ interpolator = identity$1,
3081
3844
  clamp = false,
3082
3845
  unknown;
3083
3846
 
@@ -3104,9 +3867,9 @@ var drawChart = (function (exports) {
3104
3867
  };
3105
3868
  }
3106
3869
 
3107
- scale.range = range(d3Interpolate.interpolate);
3870
+ scale.range = range(interpolate);
3108
3871
 
3109
- scale.rangeRound = range(d3Interpolate.interpolateRound);
3872
+ scale.rangeRound = range(interpolateRound);
3110
3873
 
3111
3874
  scale.unknown = function(_) {
3112
3875
  return arguments.length ? (unknown = _, scale) : unknown;
@@ -3127,7 +3890,7 @@ var drawChart = (function (exports) {
3127
3890
  }
3128
3891
 
3129
3892
  function sequential() {
3130
- var scale = linearish(transformer()(identity));
3893
+ var scale = linearish(transformer()(identity$1));
3131
3894
 
3132
3895
  scale.copy = function() {
3133
3896
  return copy(scale, sequential());
@@ -3160,7 +3923,7 @@ var drawChart = (function (exports) {
3160
3923
  const colorParentMap = new Map();
3161
3924
  colorParentMap.set(root, COLOR_BASE);
3162
3925
  if (root.children != null) {
3163
- const colorScale = sequential([0, root.children.length], (n) => hsl(360 * n, 0.6, 0.85));
3926
+ const colorScale = sequential([0, root.children.length], (n) => hsl(360 * n, 0.3, 0.85));
3164
3927
  root.children.forEach((c, id) => {
3165
3928
  colorParentMap.set(c, colorScale(id).toString());
3166
3929
  });
@@ -3169,7 +3932,9 @@ var drawChart = (function (exports) {
3169
3932
  const lightScale = linear().domain([0, root.height]).range([0.9, 0.3]);
3170
3933
  const getBackgroundColor = (node) => {
3171
3934
  const parents = node.ancestors();
3172
- const colorStr = parents.length === 1 ? colorParentMap.get(parents[0]) : colorParentMap.get(parents[parents.length - 2]);
3935
+ const colorStr = parents.length === 1
3936
+ ? colorParentMap.get(parents[0])
3937
+ : colorParentMap.get(parents[parents.length - 2]);
3173
3938
  const hslColor = hsl(colorStr);
3174
3939
  hslColor.l = lightScale(node.depth);
3175
3940
  return hslColor;
@@ -3178,7 +3943,7 @@ var drawChart = (function (exports) {
3178
3943
  if (!colorMap.has(node)) {
3179
3944
  const backgroundColor = getBackgroundColor(node);
3180
3945
  const l = relativeLuminance(backgroundColor.rgb());
3181
- const fontColor = l > 0.179 ? "#000" : "#fff";
3946
+ const fontColor = l > 0.19 ? "#000" : "#fff";
3182
3947
  colorMap.set(node, {
3183
3948
  backgroundColor: backgroundColor.toString(),
3184
3949
  fontColor,
@@ -3188,7 +3953,7 @@ var drawChart = (function (exports) {
3188
3953
  };
3189
3954
  };
3190
3955
 
3191
- const StaticContext = q({});
3956
+ const StaticContext = B$2({});
3192
3957
  const drawChart = (parentNode, data, width, height) => {
3193
3958
  const availableSizeProperties = getAvailableSizeOptions(data.options);
3194
3959
  console.time("layout create");
@@ -3232,7 +3997,7 @@ var drawChart = (function (exports) {
3232
3997
  console.time("color");
3233
3998
  const getModuleColor = createRainbowColor(rawHierarchy);
3234
3999
  console.timeEnd("color");
3235
- N(o$1(StaticContext.Provider, Object.assign({ value: {
4000
+ P(o$1(StaticContext.Provider, Object.assign({ value: {
3236
4001
  data,
3237
4002
  availableSizeProperties,
3238
4003
  width,
@@ -3242,7 +4007,7 @@ var drawChart = (function (exports) {
3242
4007
  getModuleColor,
3243
4008
  rawHierarchy,
3244
4009
  layout,
3245
- } }, { children: o$1(Main, {}, void 0) }), void 0), parentNode);
4010
+ } }, { children: o$1(Main, {}) })), parentNode);
3246
4011
  };
3247
4012
 
3248
4013
  exports.StaticContext = StaticContext;
@@ -3252,14 +4017,14 @@ var drawChart = (function (exports) {
3252
4017
 
3253
4018
  return exports;
3254
4019
 
3255
- }({}));
4020
+ })({});
3256
4021
  //# sourceMappingURL=treemap.js.map
3257
4022
 
3258
4023
  /*-->*/
3259
4024
  </script>
3260
4025
  <script>
3261
4026
  /*<!--*/
3262
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"jsonforms-examples.esm.js","children":[{"name":"src","children":[{"uid":"3e0b-1","name":"register.ts"},{"name":"examples","children":[{"uid":"3e0b-3","name":"allOf.ts"},{"uid":"3e0b-5","name":"anyOf.ts"},{"uid":"3e0b-7","name":"oneOf.ts"},{"uid":"3e0b-9","name":"oneOfArray.ts"},{"uid":"3e0b-11","name":"anyOf-oneOf-allOf-resolve.ts"},{"uid":"3e0b-13","name":"arrays.ts"},{"uid":"3e0b-15","name":"nestedArrays.ts"},{"uid":"3e0b-17","name":"person.ts"},{"uid":"3e0b-19","name":"arrays-with-detail.ts"},{"uid":"3e0b-21","name":"arrays-with-detail-and-rule.ts"},{"uid":"3e0b-23","name":"arrays-with-custom-element-label.ts"},{"uid":"3e0b-25","name":"stringArray.ts"},{"uid":"3e0b-27","name":"categorization.ts"},{"uid":"3e0b-29","name":"stepper.ts"},{"uid":"3e0b-31","name":"steppershownav.ts"},{"uid":"3e0b-33","name":"control-options.ts"},{"uid":"3e0b-35","name":"day1.ts"},{"uid":"3e0b-37","name":"day2.ts"},{"uid":"3e0b-39","name":"day3.ts"},{"uid":"3e0b-41","name":"day4.ts"},{"uid":"3e0b-43","name":"day5.ts"},{"uid":"3e0b-45","name":"day6.ts"},{"uid":"3e0b-47","name":"dates.ts"},{"uid":"3e0b-49","name":"dynamic.ts"},{"uid":"3e0b-51","name":"generate.ts"},{"uid":"3e0b-53","name":"generateUI.ts"},{"uid":"3e0b-55","name":"layout.ts"},{"uid":"3e0b-57","name":"1884.ts"},{"uid":"3e0b-59","name":"rule.ts"},{"uid":"3e0b-61","name":"ruleInheritance.ts"},{"uid":"3e0b-63","name":"config.ts"},{"uid":"3e0b-65","name":"text.ts"},{"uid":"3e0b-67","name":"numbers.ts"},{"uid":"3e0b-69","name":"scope.ts"},{"uid":"3e0b-71","name":"list-with-detail.ts"},{"uid":"3e0b-73","name":"list-with-detail-registered.ts"},{"uid":"3e0b-75","name":"object.ts"},{"uid":"3e0b-77","name":"i18n.ts"},{"uid":"3e0b-79","name":"1948.ts"},{"uid":"3e0b-81","name":"1996.ts"},{"uid":"3e0b-83","name":"1169.ts"},{"uid":"3e0b-85","name":"1220.ts"},{"uid":"3e0b-87","name":"1253.ts"},{"uid":"3e0b-89","name":"1254.ts"},{"uid":"3e0b-91","name":"oneOf-recursive.ts"},{"uid":"3e0b-93","name":"huge.ts"},{"uid":"3e0b-95","name":"default.ts"},{"uid":"3e0b-97","name":"onChange.ts"},{"uid":"3e0b-99","name":"enum.ts"},{"uid":"3e0b-101","name":"radioGroup.ts"},{"uid":"3e0b-103","name":"booleanToggle.ts"},{"uid":"3e0b-105","name":"multi-enum.ts"},{"uid":"3e0b-107","name":"enumInArray.ts"},{"uid":"3e0b-109","name":"readonly.ts"},{"uid":"3e0b-111","name":"1779.ts"},{"uid":"3e0b-113","name":"1645.ts"},{"uid":"3e0b-115","name":"conditional-schema-compositions.ts"},{"uid":"3e0b-117","name":"additional-errors.ts"},{"uid":"3e0b-119","name":"if_then_else.ts"}]},{"uid":"3e0b-121","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"3e0b-1":{"renderedLength":228,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-0"},"3e0b-3":{"renderedLength":1578,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-2"},"3e0b-5":{"renderedLength":2077,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-4"},"3e0b-7":{"renderedLength":7366,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-6"},"3e0b-9":{"renderedLength":1568,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-8"},"3e0b-11":{"renderedLength":1421,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-10"},"3e0b-13":{"renderedLength":2221,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-12"},"3e0b-15":{"renderedLength":2094,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-14"},"3e0b-17":{"renderedLength":3333,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-16"},"3e0b-19":{"renderedLength":1803,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-18"},"3e0b-21":{"renderedLength":2617,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-20"},"3e0b-23":{"renderedLength":1656,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-22"},"3e0b-25":{"renderedLength":624,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-24"},"3e0b-27":{"renderedLength":8817,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-26"},"3e0b-29":{"renderedLength":334,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-28"},"3e0b-31":{"renderedLength":388,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-30"},"3e0b-33":{"renderedLength":5110,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-32"},"3e0b-35":{"renderedLength":612,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-34"},"3e0b-37":{"renderedLength":646,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-36"},"3e0b-39":{"renderedLength":781,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-38"},"3e0b-41":{"renderedLength":1071,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-40"},"3e0b-43":{"renderedLength":3830,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-42"},"3e0b-45":{"renderedLength":238,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-44"},"3e0b-47":{"renderedLength":3655,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-46"},"3e0b-49":{"renderedLength":412,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-48"},"3e0b-51":{"renderedLength":258,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-50"},"3e0b-53":{"renderedLength":265,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-52"},"3e0b-55":{"renderedLength":2960,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-54"},"3e0b-57":{"renderedLength":4096,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-56"},"3e0b-59":{"renderedLength":2399,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-58"},"3e0b-61":{"renderedLength":2364,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-60"},"3e0b-63":{"renderedLength":1393,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-62"},"3e0b-65":{"renderedLength":1760,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-64"},"3e0b-67":{"renderedLength":1381,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-66"},"3e0b-69":{"renderedLength":1923,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-68"},"3e0b-71":{"renderedLength":9588,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-70"},"3e0b-73":{"renderedLength":1789,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-72"},"3e0b-75":{"renderedLength":2104,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-74"},"3e0b-77":{"renderedLength":1829,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-76"},"3e0b-79":{"renderedLength":1227,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-78"},"3e0b-81":{"renderedLength":1572,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-80"},"3e0b-83":{"renderedLength":718,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-82"},"3e0b-85":{"renderedLength":2745,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-84"},"3e0b-87":{"renderedLength":3832,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-86"},"3e0b-89":{"renderedLength":750,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-88"},"3e0b-91":{"renderedLength":1215,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-90"},"3e0b-93":{"renderedLength":51511,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-92"},"3e0b-95":{"renderedLength":1920,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-94"},"3e0b-97":{"renderedLength":917,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-96"},"3e0b-99":{"renderedLength":2683,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-98"},"3e0b-101":{"renderedLength":1389,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-100"},"3e0b-103":{"renderedLength":760,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-102"},"3e0b-105":{"renderedLength":1110,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-104"},"3e0b-107":{"renderedLength":847,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-106"},"3e0b-109":{"renderedLength":1159,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-108"},"3e0b-111":{"renderedLength":1156,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-110"},"3e0b-113":{"renderedLength":1077,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-112"},"3e0b-115":{"renderedLength":2365,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-114"},"3e0b-117":{"renderedLength":711,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-116"},"3e0b-119":{"renderedLength":406,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-118"},"3e0b-121":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"3e0b-120"}},"nodeMetas":{"3e0b-0":{"id":"/src/register.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-1"},"imported":[],"importedBy":[{"uid":"3e0b-120"},{"uid":"3e0b-2"},{"uid":"3e0b-4"},{"uid":"3e0b-6"},{"uid":"3e0b-8"},{"uid":"3e0b-10"},{"uid":"3e0b-12"},{"uid":"3e0b-14"},{"uid":"3e0b-18"},{"uid":"3e0b-20"},{"uid":"3e0b-22"},{"uid":"3e0b-24"},{"uid":"3e0b-26"},{"uid":"3e0b-28"},{"uid":"3e0b-30"},{"uid":"3e0b-32"},{"uid":"3e0b-34"},{"uid":"3e0b-36"},{"uid":"3e0b-38"},{"uid":"3e0b-40"},{"uid":"3e0b-42"},{"uid":"3e0b-44"},{"uid":"3e0b-46"},{"uid":"3e0b-48"},{"uid":"3e0b-50"},{"uid":"3e0b-52"},{"uid":"3e0b-54"},{"uid":"3e0b-16"},{"uid":"3e0b-56"},{"uid":"3e0b-58"},{"uid":"3e0b-60"},{"uid":"3e0b-62"},{"uid":"3e0b-64"},{"uid":"3e0b-66"},{"uid":"3e0b-68"},{"uid":"3e0b-70"},{"uid":"3e0b-72"},{"uid":"3e0b-74"},{"uid":"3e0b-76"},{"uid":"3e0b-78"},{"uid":"3e0b-80"},{"uid":"3e0b-82"},{"uid":"3e0b-84"},{"uid":"3e0b-86"},{"uid":"3e0b-88"},{"uid":"3e0b-90"},{"uid":"3e0b-92"},{"uid":"3e0b-94"},{"uid":"3e0b-96"},{"uid":"3e0b-98"},{"uid":"3e0b-100"},{"uid":"3e0b-102"},{"uid":"3e0b-104"},{"uid":"3e0b-106"},{"uid":"3e0b-108"},{"uid":"3e0b-110"},{"uid":"3e0b-112"},{"uid":"3e0b-114"},{"uid":"3e0b-116"},{"uid":"3e0b-118"}]},"3e0b-2":{"id":"/src/examples/allOf.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-3"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-4":{"id":"/src/examples/anyOf.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-5"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-6":{"id":"/src/examples/oneOf.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-7"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-8":{"id":"/src/examples/oneOfArray.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-9"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-10":{"id":"/src/examples/anyOf-oneOf-allOf-resolve.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-11"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-12":{"id":"/src/examples/arrays.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-13"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-14":{"id":"/src/examples/nestedArrays.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-15"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-123"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-16":{"id":"/src/examples/person.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-17"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"},{"uid":"3e0b-18"},{"uid":"3e0b-20"},{"uid":"3e0b-50"},{"uid":"3e0b-52"},{"uid":"3e0b-54"},{"uid":"3e0b-76"},{"uid":"3e0b-116"}]},"3e0b-18":{"id":"/src/examples/arrays-with-detail.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-19"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-16"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-20":{"id":"/src/examples/arrays-with-detail-and-rule.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-21"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-16"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-22":{"id":"/src/examples/arrays-with-custom-element-label.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-23"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-24":{"id":"/src/examples/stringArray.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-25"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-26":{"id":"/src/examples/categorization.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-27"},"imported":[{"uid":"3e0b-124"},{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"},{"uid":"3e0b-28"},{"uid":"3e0b-30"}]},"3e0b-28":{"id":"/src/examples/stepper.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-29"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-26"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-30":{"id":"/src/examples/steppershownav.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-31"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-26"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-32":{"id":"/src/examples/control-options.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-33"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-34":{"id":"/src/examples/day1.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-35"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"},{"uid":"3e0b-36"}]},"3e0b-36":{"id":"/src/examples/day2.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-37"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-34"}],"importedBy":[{"uid":"3e0b-120"},{"uid":"3e0b-38"}]},"3e0b-38":{"id":"/src/examples/day3.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-39"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-36"}],"importedBy":[{"uid":"3e0b-120"},{"uid":"3e0b-40"}]},"3e0b-40":{"id":"/src/examples/day4.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-41"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-38"}],"importedBy":[{"uid":"3e0b-120"},{"uid":"3e0b-42"}]},"3e0b-42":{"id":"/src/examples/day5.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-43"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-40"}],"importedBy":[{"uid":"3e0b-120"},{"uid":"3e0b-44"}]},"3e0b-44":{"id":"/src/examples/day6.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-45"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-42"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-46":{"id":"/src/examples/dates.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-47"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-48":{"id":"/src/examples/dynamic.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-49"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-50":{"id":"/src/examples/generate.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-51"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-16"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-52":{"id":"/src/examples/generateUI.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-53"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-16"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-54":{"id":"/src/examples/layout.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-55"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-16"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-56":{"id":"/src/examples/1884.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-57"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-58":{"id":"/src/examples/rule.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-59"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-60":{"id":"/src/examples/ruleInheritance.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-61"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-62":{"id":"/src/examples/config.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-63"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-64":{"id":"/src/examples/text.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-65"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-66":{"id":"/src/examples/numbers.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-67"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-68":{"id":"/src/examples/scope.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-69"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-70":{"id":"/src/examples/list-with-detail.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-71"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-72":{"id":"/src/examples/list-with-detail-registered.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-73"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-74":{"id":"/src/examples/object.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-75"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-76":{"id":"/src/examples/i18n.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-77"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-16"},{"uid":"3e0b-123"},{"uid":"3e0b-124"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-78":{"id":"/src/examples/1948.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-79"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-80":{"id":"/src/examples/1996.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-81"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-82":{"id":"/src/examples/1169.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-83"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-84":{"id":"/src/examples/1220.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-85"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-123"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-86":{"id":"/src/examples/1253.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-87"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-88":{"id":"/src/examples/1254.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-89"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-90":{"id":"/src/examples/oneOf-recursive.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-91"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-92":{"id":"/src/examples/huge.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-93"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-94":{"id":"/src/examples/default.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-95"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-96":{"id":"/src/examples/onChange.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-97"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-123"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-98":{"id":"/src/examples/enum.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-99"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-100":{"id":"/src/examples/radioGroup.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-101"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-102":{"id":"/src/examples/booleanToggle.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-103"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-104":{"id":"/src/examples/multi-enum.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-105"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-106":{"id":"/src/examples/enumInArray.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-107"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-108":{"id":"/src/examples/readonly.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-109"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-110":{"id":"/src/examples/1779.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-111"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-112":{"id":"/src/examples/1645.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-113"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-114":{"id":"/src/examples/conditional-schema-compositions.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-115"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-116":{"id":"/src/examples/additional-errors.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-117"},"imported":[{"uid":"3e0b-0"},{"uid":"3e0b-16"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-118":{"id":"/src/examples/if_then_else.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-119"},"imported":[{"uid":"3e0b-0"}],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-120":{"id":"/src/index.ts","moduleParts":{"jsonforms-examples.esm.js":"3e0b-121"},"imported":[{"uid":"3e0b-2"},{"uid":"3e0b-4"},{"uid":"3e0b-6"},{"uid":"3e0b-8"},{"uid":"3e0b-10"},{"uid":"3e0b-12"},{"uid":"3e0b-14"},{"uid":"3e0b-18"},{"uid":"3e0b-20"},{"uid":"3e0b-22"},{"uid":"3e0b-24"},{"uid":"3e0b-26"},{"uid":"3e0b-28"},{"uid":"3e0b-30"},{"uid":"3e0b-32"},{"uid":"3e0b-34"},{"uid":"3e0b-36"},{"uid":"3e0b-38"},{"uid":"3e0b-40"},{"uid":"3e0b-42"},{"uid":"3e0b-44"},{"uid":"3e0b-46"},{"uid":"3e0b-48"},{"uid":"3e0b-50"},{"uid":"3e0b-52"},{"uid":"3e0b-54"},{"uid":"3e0b-16"},{"uid":"3e0b-56"},{"uid":"3e0b-58"},{"uid":"3e0b-60"},{"uid":"3e0b-62"},{"uid":"3e0b-64"},{"uid":"3e0b-66"},{"uid":"3e0b-68"},{"uid":"3e0b-70"},{"uid":"3e0b-72"},{"uid":"3e0b-74"},{"uid":"3e0b-76"},{"uid":"3e0b-78"},{"uid":"3e0b-80"},{"uid":"3e0b-82"},{"uid":"3e0b-84"},{"uid":"3e0b-86"},{"uid":"3e0b-88"},{"uid":"3e0b-90"},{"uid":"3e0b-92"},{"uid":"3e0b-94"},{"uid":"3e0b-96"},{"uid":"3e0b-98"},{"uid":"3e0b-100"},{"uid":"3e0b-102"},{"uid":"3e0b-104"},{"uid":"3e0b-106"},{"uid":"3e0b-108"},{"uid":"3e0b-110"},{"uid":"3e0b-112"},{"uid":"3e0b-114"},{"uid":"3e0b-116"},{"uid":"3e0b-0"},{"uid":"3e0b-122"},{"uid":"3e0b-118"}],"importedBy":[],"isEntry":true},"3e0b-122":{"id":"/src/example.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3e0b-120"}]},"3e0b-123":{"id":"@jsonforms/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"3e0b-14"},{"uid":"3e0b-76"},{"uid":"3e0b-84"},{"uid":"3e0b-96"}],"isExternal":true},"3e0b-124":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"3e0b-26"},{"uid":"3e0b-76"}],"isExternal":true}},"env":{"rollup":"2.61.1"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
4027
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"jsonforms-examples.esm.js","children":[{"name":"src","children":[{"uid":"24cf-1","name":"register.ts"},{"name":"examples","children":[{"uid":"24cf-3","name":"allOf.ts"},{"uid":"24cf-5","name":"anyOf.ts"},{"uid":"24cf-7","name":"oneOf.ts"},{"uid":"24cf-9","name":"oneOfArray.ts"},{"uid":"24cf-11","name":"anyOf-oneOf-allOf-resolve.ts"},{"uid":"24cf-13","name":"arrays.ts"},{"uid":"24cf-15","name":"nestedArrays.ts"},{"uid":"24cf-17","name":"person.ts"},{"uid":"24cf-19","name":"arrays-with-detail.ts"},{"uid":"24cf-21","name":"arrays-with-detail-and-rule.ts"},{"uid":"24cf-23","name":"arrays-with-custom-element-label.ts"},{"uid":"24cf-25","name":"arrays-with-sorting.ts"},{"uid":"24cf-27","name":"stringArray.ts"},{"uid":"24cf-29","name":"categorization.ts"},{"uid":"24cf-31","name":"stepper.ts"},{"uid":"24cf-33","name":"steppershownav.ts"},{"uid":"24cf-35","name":"control-options.ts"},{"uid":"24cf-37","name":"day1.ts"},{"uid":"24cf-39","name":"day2.ts"},{"uid":"24cf-41","name":"day3.ts"},{"uid":"24cf-43","name":"day4.ts"},{"uid":"24cf-45","name":"day5.ts"},{"uid":"24cf-47","name":"day6.ts"},{"uid":"24cf-49","name":"dates.ts"},{"uid":"24cf-51","name":"dynamic.ts"},{"uid":"24cf-53","name":"generate.ts"},{"uid":"24cf-55","name":"generateUI.ts"},{"uid":"24cf-57","name":"layout.ts"},{"uid":"24cf-59","name":"1884.ts"},{"uid":"24cf-61","name":"rule.ts"},{"uid":"24cf-63","name":"ruleInheritance.ts"},{"uid":"24cf-65","name":"config.ts"},{"uid":"24cf-67","name":"text.ts"},{"uid":"24cf-69","name":"numbers.ts"},{"uid":"24cf-71","name":"scope.ts"},{"uid":"24cf-73","name":"list-with-detail.ts"},{"uid":"24cf-75","name":"list-with-detail-registered.ts"},{"uid":"24cf-77","name":"object.ts"},{"uid":"24cf-79","name":"i18n.ts"},{"uid":"24cf-81","name":"1948.ts"},{"uid":"24cf-83","name":"1996.ts"},{"uid":"24cf-85","name":"1169.ts"},{"uid":"24cf-87","name":"1220.ts"},{"uid":"24cf-89","name":"1253.ts"},{"uid":"24cf-91","name":"1254.ts"},{"uid":"24cf-93","name":"oneOf-recursive.ts"},{"uid":"24cf-95","name":"huge.ts"},{"uid":"24cf-97","name":"default.ts"},{"uid":"24cf-99","name":"onChange.ts"},{"uid":"24cf-101","name":"enum.ts"},{"uid":"24cf-103","name":"radioGroup.ts"},{"uid":"24cf-105","name":"booleanToggle.ts"},{"uid":"24cf-107","name":"multi-enum.ts"},{"uid":"24cf-109","name":"enumInArray.ts"},{"uid":"24cf-111","name":"readonly.ts"},{"uid":"24cf-113","name":"1779.ts"},{"uid":"24cf-115","name":"1645.ts"},{"uid":"24cf-117","name":"conditional-schema-compositions.ts"},{"uid":"24cf-119","name":"additional-errors.ts"},{"uid":"24cf-121","name":"if_then_else.ts"}]},{"uid":"24cf-123","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"24cf-1":{"renderedLength":228,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-0"},"24cf-3":{"renderedLength":1578,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-2"},"24cf-5":{"renderedLength":2077,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-4"},"24cf-7":{"renderedLength":7366,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-6"},"24cf-9":{"renderedLength":1568,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-8"},"24cf-11":{"renderedLength":1421,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-10"},"24cf-13":{"renderedLength":2305,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-12"},"24cf-15":{"renderedLength":2094,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-14"},"24cf-17":{"renderedLength":3333,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-16"},"24cf-19":{"renderedLength":1803,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-18"},"24cf-21":{"renderedLength":2617,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-20"},"24cf-23":{"renderedLength":1656,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-22"},"24cf-25":{"renderedLength":2336,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-24"},"24cf-27":{"renderedLength":624,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-26"},"24cf-29":{"renderedLength":8817,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-28"},"24cf-31":{"renderedLength":334,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-30"},"24cf-33":{"renderedLength":388,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-32"},"24cf-35":{"renderedLength":5171,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-34"},"24cf-37":{"renderedLength":612,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-36"},"24cf-39":{"renderedLength":646,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-38"},"24cf-41":{"renderedLength":781,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-40"},"24cf-43":{"renderedLength":1071,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-42"},"24cf-45":{"renderedLength":3830,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-44"},"24cf-47":{"renderedLength":238,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-46"},"24cf-49":{"renderedLength":3655,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-48"},"24cf-51":{"renderedLength":412,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-50"},"24cf-53":{"renderedLength":258,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-52"},"24cf-55":{"renderedLength":265,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-54"},"24cf-57":{"renderedLength":2960,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-56"},"24cf-59":{"renderedLength":4096,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-58"},"24cf-61":{"renderedLength":2399,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-60"},"24cf-63":{"renderedLength":2364,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-62"},"24cf-65":{"renderedLength":1393,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-64"},"24cf-67":{"renderedLength":1760,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-66"},"24cf-69":{"renderedLength":1381,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-68"},"24cf-71":{"renderedLength":1923,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-70"},"24cf-73":{"renderedLength":9588,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-72"},"24cf-75":{"renderedLength":1789,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-74"},"24cf-77":{"renderedLength":2104,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-76"},"24cf-79":{"renderedLength":1829,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-78"},"24cf-81":{"renderedLength":1227,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-80"},"24cf-83":{"renderedLength":1572,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-82"},"24cf-85":{"renderedLength":718,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-84"},"24cf-87":{"renderedLength":2745,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-86"},"24cf-89":{"renderedLength":3832,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-88"},"24cf-91":{"renderedLength":750,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-90"},"24cf-93":{"renderedLength":1215,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-92"},"24cf-95":{"renderedLength":51511,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-94"},"24cf-97":{"renderedLength":1920,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-96"},"24cf-99":{"renderedLength":917,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-98"},"24cf-101":{"renderedLength":2683,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-100"},"24cf-103":{"renderedLength":1389,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-102"},"24cf-105":{"renderedLength":760,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-104"},"24cf-107":{"renderedLength":1110,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-106"},"24cf-109":{"renderedLength":847,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-108"},"24cf-111":{"renderedLength":1159,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-110"},"24cf-113":{"renderedLength":1156,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-112"},"24cf-115":{"renderedLength":1077,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-114"},"24cf-117":{"renderedLength":2365,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-116"},"24cf-119":{"renderedLength":711,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-118"},"24cf-121":{"renderedLength":406,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-120"},"24cf-123":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"24cf-122"}},"nodeMetas":{"24cf-0":{"id":"/src/register.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-1"},"imported":[],"importedBy":[{"uid":"24cf-122"},{"uid":"24cf-2"},{"uid":"24cf-4"},{"uid":"24cf-6"},{"uid":"24cf-8"},{"uid":"24cf-10"},{"uid":"24cf-12"},{"uid":"24cf-14"},{"uid":"24cf-18"},{"uid":"24cf-20"},{"uid":"24cf-22"},{"uid":"24cf-24"},{"uid":"24cf-26"},{"uid":"24cf-28"},{"uid":"24cf-30"},{"uid":"24cf-32"},{"uid":"24cf-34"},{"uid":"24cf-36"},{"uid":"24cf-38"},{"uid":"24cf-40"},{"uid":"24cf-42"},{"uid":"24cf-44"},{"uid":"24cf-46"},{"uid":"24cf-48"},{"uid":"24cf-50"},{"uid":"24cf-52"},{"uid":"24cf-54"},{"uid":"24cf-56"},{"uid":"24cf-16"},{"uid":"24cf-58"},{"uid":"24cf-60"},{"uid":"24cf-62"},{"uid":"24cf-64"},{"uid":"24cf-66"},{"uid":"24cf-68"},{"uid":"24cf-70"},{"uid":"24cf-72"},{"uid":"24cf-74"},{"uid":"24cf-76"},{"uid":"24cf-78"},{"uid":"24cf-80"},{"uid":"24cf-82"},{"uid":"24cf-84"},{"uid":"24cf-86"},{"uid":"24cf-88"},{"uid":"24cf-90"},{"uid":"24cf-92"},{"uid":"24cf-94"},{"uid":"24cf-96"},{"uid":"24cf-98"},{"uid":"24cf-100"},{"uid":"24cf-102"},{"uid":"24cf-104"},{"uid":"24cf-106"},{"uid":"24cf-108"},{"uid":"24cf-110"},{"uid":"24cf-112"},{"uid":"24cf-114"},{"uid":"24cf-116"},{"uid":"24cf-118"},{"uid":"24cf-120"}]},"24cf-2":{"id":"/src/examples/allOf.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-3"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-4":{"id":"/src/examples/anyOf.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-5"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-6":{"id":"/src/examples/oneOf.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-7"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-8":{"id":"/src/examples/oneOfArray.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-9"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-10":{"id":"/src/examples/anyOf-oneOf-allOf-resolve.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-11"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-12":{"id":"/src/examples/arrays.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-13"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-14":{"id":"/src/examples/nestedArrays.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-15"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-125"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-16":{"id":"/src/examples/person.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-17"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"},{"uid":"24cf-18"},{"uid":"24cf-20"},{"uid":"24cf-52"},{"uid":"24cf-54"},{"uid":"24cf-56"},{"uid":"24cf-78"},{"uid":"24cf-118"}]},"24cf-18":{"id":"/src/examples/arrays-with-detail.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-19"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-16"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-20":{"id":"/src/examples/arrays-with-detail-and-rule.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-21"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-16"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-22":{"id":"/src/examples/arrays-with-custom-element-label.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-23"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-24":{"id":"/src/examples/arrays-with-sorting.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-25"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-26":{"id":"/src/examples/stringArray.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-27"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-28":{"id":"/src/examples/categorization.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-29"},"imported":[{"uid":"24cf-126"},{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"},{"uid":"24cf-30"},{"uid":"24cf-32"}]},"24cf-30":{"id":"/src/examples/stepper.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-31"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-28"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-32":{"id":"/src/examples/steppershownav.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-33"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-28"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-34":{"id":"/src/examples/control-options.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-35"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-36":{"id":"/src/examples/day1.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-37"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"},{"uid":"24cf-38"}]},"24cf-38":{"id":"/src/examples/day2.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-39"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-36"}],"importedBy":[{"uid":"24cf-122"},{"uid":"24cf-40"}]},"24cf-40":{"id":"/src/examples/day3.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-41"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-38"}],"importedBy":[{"uid":"24cf-122"},{"uid":"24cf-42"}]},"24cf-42":{"id":"/src/examples/day4.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-43"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-40"}],"importedBy":[{"uid":"24cf-122"},{"uid":"24cf-44"}]},"24cf-44":{"id":"/src/examples/day5.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-45"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-42"}],"importedBy":[{"uid":"24cf-122"},{"uid":"24cf-46"}]},"24cf-46":{"id":"/src/examples/day6.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-47"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-44"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-48":{"id":"/src/examples/dates.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-49"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-50":{"id":"/src/examples/dynamic.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-51"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-52":{"id":"/src/examples/generate.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-53"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-16"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-54":{"id":"/src/examples/generateUI.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-55"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-16"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-56":{"id":"/src/examples/layout.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-57"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-16"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-58":{"id":"/src/examples/1884.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-59"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-60":{"id":"/src/examples/rule.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-61"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-62":{"id":"/src/examples/ruleInheritance.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-63"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-64":{"id":"/src/examples/config.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-65"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-66":{"id":"/src/examples/text.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-67"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-68":{"id":"/src/examples/numbers.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-69"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-70":{"id":"/src/examples/scope.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-71"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-72":{"id":"/src/examples/list-with-detail.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-73"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-74":{"id":"/src/examples/list-with-detail-registered.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-75"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-76":{"id":"/src/examples/object.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-77"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-78":{"id":"/src/examples/i18n.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-79"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-16"},{"uid":"24cf-125"},{"uid":"24cf-126"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-80":{"id":"/src/examples/1948.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-81"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-82":{"id":"/src/examples/1996.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-83"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-84":{"id":"/src/examples/1169.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-85"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-86":{"id":"/src/examples/1220.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-87"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-125"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-88":{"id":"/src/examples/1253.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-89"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-90":{"id":"/src/examples/1254.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-91"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-92":{"id":"/src/examples/oneOf-recursive.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-93"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-94":{"id":"/src/examples/huge.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-95"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-96":{"id":"/src/examples/default.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-97"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-98":{"id":"/src/examples/onChange.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-99"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-125"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-100":{"id":"/src/examples/enum.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-101"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-102":{"id":"/src/examples/radioGroup.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-103"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-104":{"id":"/src/examples/booleanToggle.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-105"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-106":{"id":"/src/examples/multi-enum.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-107"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-108":{"id":"/src/examples/enumInArray.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-109"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-110":{"id":"/src/examples/readonly.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-111"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-112":{"id":"/src/examples/1779.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-113"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-114":{"id":"/src/examples/1645.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-115"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-116":{"id":"/src/examples/conditional-schema-compositions.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-117"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-118":{"id":"/src/examples/additional-errors.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-119"},"imported":[{"uid":"24cf-0"},{"uid":"24cf-16"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-120":{"id":"/src/examples/if_then_else.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-121"},"imported":[{"uid":"24cf-0"}],"importedBy":[{"uid":"24cf-122"}]},"24cf-122":{"id":"/src/index.ts","moduleParts":{"jsonforms-examples.esm.js":"24cf-123"},"imported":[{"uid":"24cf-2"},{"uid":"24cf-4"},{"uid":"24cf-6"},{"uid":"24cf-8"},{"uid":"24cf-10"},{"uid":"24cf-12"},{"uid":"24cf-14"},{"uid":"24cf-18"},{"uid":"24cf-20"},{"uid":"24cf-22"},{"uid":"24cf-24"},{"uid":"24cf-26"},{"uid":"24cf-28"},{"uid":"24cf-30"},{"uid":"24cf-32"},{"uid":"24cf-34"},{"uid":"24cf-36"},{"uid":"24cf-38"},{"uid":"24cf-40"},{"uid":"24cf-42"},{"uid":"24cf-44"},{"uid":"24cf-46"},{"uid":"24cf-48"},{"uid":"24cf-50"},{"uid":"24cf-52"},{"uid":"24cf-54"},{"uid":"24cf-56"},{"uid":"24cf-16"},{"uid":"24cf-58"},{"uid":"24cf-60"},{"uid":"24cf-62"},{"uid":"24cf-64"},{"uid":"24cf-66"},{"uid":"24cf-68"},{"uid":"24cf-70"},{"uid":"24cf-72"},{"uid":"24cf-74"},{"uid":"24cf-76"},{"uid":"24cf-78"},{"uid":"24cf-80"},{"uid":"24cf-82"},{"uid":"24cf-84"},{"uid":"24cf-86"},{"uid":"24cf-88"},{"uid":"24cf-90"},{"uid":"24cf-92"},{"uid":"24cf-94"},{"uid":"24cf-96"},{"uid":"24cf-98"},{"uid":"24cf-100"},{"uid":"24cf-102"},{"uid":"24cf-104"},{"uid":"24cf-106"},{"uid":"24cf-108"},{"uid":"24cf-110"},{"uid":"24cf-112"},{"uid":"24cf-114"},{"uid":"24cf-116"},{"uid":"24cf-118"},{"uid":"24cf-0"},{"uid":"24cf-124"},{"uid":"24cf-120"}],"importedBy":[],"isEntry":true},"24cf-124":{"id":"/src/example.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"24cf-122"}]},"24cf-125":{"id":"@jsonforms/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"24cf-14"},{"uid":"24cf-78"},{"uid":"24cf-86"},{"uid":"24cf-98"}],"isExternal":true},"24cf-126":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"24cf-28"},{"uid":"24cf-78"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
3263
4028
 
3264
4029
  const run = () => {
3265
4030
  const width = window.innerWidth;