@devtable/settings-form 13.42.10 → 13.42.12
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/dist/stats.html
CHANGED
|
@@ -136,6 +136,10 @@ main {
|
|
|
136
136
|
.module-filter + .module-filter {
|
|
137
137
|
margin-left: 0.5rem;
|
|
138
138
|
}
|
|
139
|
+
|
|
140
|
+
.node {
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
}
|
|
139
143
|
</style>
|
|
140
144
|
</head>
|
|
141
145
|
<body>
|
|
@@ -145,9 +149,9 @@ main {
|
|
|
145
149
|
var drawChart = (function (exports) {
|
|
146
150
|
'use strict';
|
|
147
151
|
|
|
148
|
-
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+=1)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$1:I,o):n.removeEventListener(l,o?T$1: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$1(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;
|
|
152
|
+
var n,l$1,u$2,i$1,o$1,r$1,f$2,e$1,c$1={},s$1=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h$1=Array.isArray;function v$1(n,l){for(var u in l)n[u]=l[u];return n}function p$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y$1(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return d$1(l,f,i,o,null)}function d$1(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u$2:r,__i:-1,__u:0};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function g$1(n){return n.children}function b$1(n,l){this.props=n,this.context=l;}function m$1(n,l){if(null==l)return n.__?m$1(n.__,n.__i+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?m$1(n):null}function k$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return k$1(n)}}function w$1(n){(!n.__d&&(n.__d=!0)&&i$1.push(n)&&!x.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||r$1)(x);}function x(){var n,u,t,o,r,e,c,s,a;for(i$1.sort(f$2);n=i$1.shift();)n.__d&&(u=i$1.length,o=void 0,e=(r=(t=n).__v).__e,s=[],a=[],(c=t.__P)&&((o=v$1({},r)).__v=r.__v+1,l$1.vnode&&l$1.vnode(o),L(c,o,r,t.__n,void 0!==c.ownerSVGElement,32&r.__u?[e]:null,s,null==e?m$1(r):e,!!(32&r.__u),a),o.__.__k[o.__i]=o,M(s,o,a),o.__e!=e&&k$1(o)),i$1.length>u&&i$1.sort(f$2));x.__r=0;}function C(n,l,u,t,i,o,r,f,e,a,h){var v,p,y,d,_,g=t&&t.__k||s$1,b=l.length;for(u.__d=e,P(u,l,g),e=u.__d,v=0;v<b;v++)null!=(y=u.__k[v])&&"boolean"!=typeof y&&"function"!=typeof y&&(p=-1===y.__i?c$1:g[y.__i]||c$1,y.__i=v,L(n,y,p,i,o,r,f,e,a,h),d=y.__e,y.ref&&p.ref!=y.ref&&(p.ref&&z$1(p.ref,null,y),h.push(y.ref,y.__c||d,y)),null==_&&null!=d&&(_=d),65536&y.__u||p.__k===y.__k?e=S(y,e,n):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=_;}function P(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)null!=(i=n.__k[t]=null==(i=l[t])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?d$1(null,i,null,null,i):h$1(i)?d$1(g$1,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?d$1(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=n,i.__b=n.__b+1,f=H(i,u,r=t+a,s),i.__i=f,o=null,-1!==f&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f===r+1?a++:f>r?s>e-r?a+=f-r:a--:a=f<r&&f==r-1?f-r:0,f!==t+a&&(i.__u|=65536))):(o=u[t])&&null==o.key&&o.__e&&(o.__e==n.__d&&(n.__d=m$1(o)),N(o,o,!1),u[t]=null,s--);if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=m$1(o)),N(o,o));}function S(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=S(t[i],l,u));return l}return n.__e!=l&&(u.insertBefore(n.__e,l||null),l=n.__e),l&&l.nextSibling}function H(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type)return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--;}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++;}}return -1}function I(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function T$1(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||I(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||I(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/,"$1")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=Date.now(),n.addEventListener(l,o?D:A,o)):n.removeEventListener(l,o?D:A,o);else {if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&"rowSpan"!==l&&"colSpan"!==l&&"role"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u));}}function A(n){var u=this.l[n.type+!1];if(n.t){if(n.t<=u.u)return}else n.t=Date.now();return u(l$1.event?l$1.event(n):n)}function D(n){return this.l[n.type+!0](l$1.event?l$1.event(n):n)}function L(n,u,t,i,o,r,f,e,c,s){var a,p,y,d,_,m,k,w,x,P,S,$,H,I,T,A=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l$1.__b)&&a(u);n:if("function"==typeof A)try{if(w=u.props,x=(a=A.contextType)&&i[a.__c],P=a?x?x.props.value:a.__:i,t.__c?k=(p=u.__c=t.__c).__=p.__E:("prototype"in A&&A.prototype.render?u.__c=p=new A(w,P):(u.__c=p=new b$1(w,P),p.constructor=A,p.render=O),x&&x.sub(p),p.props=w,p.state||(p.state={}),p.context=P,p.__n=i,y=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=A.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v$1({},p.__s)),v$1(p.__s,A.getDerivedStateFromProps(w,p.__s))),d=p.props,_=p.state,p.__v=u,y)null==A.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else {if(null==A.getDerivedStateFromProps&&w!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(w,P),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(w,p.__s,P)||u.__v===t.__v)){for(u.__v!==t.__v&&(p.props=w,p.state=p.__s,p.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),S=0;S<p._sb.length;S++)p.__h.push(p._sb[S]);p._sb=[],p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(w,p.__s,P),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(d,_,m);});}if(p.context=P,p.props=w,p.__P=n,p.__e=!1,$=l$1.__r,H=0,"prototype"in A&&A.prototype.render){for(p.state=p.__s,p.__d=!1,$&&$(u),a=p.render(p.props,p.state,p.context),I=0;I<p._sb.length;I++)p.__h.push(p._sb[I]);p._sb=[];}else do{p.__d=!1,$&&$(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(p.__d&&++H<25);p.state=p.__s,null!=p.getChildContext&&(i=v$1(v$1({},i),p.getChildContext())),y||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,_)),C(n,h$1(T=null!=a&&a.type===g$1&&null==a.key?a.props.children:a)?T:[T],u,t,i,o,r,f,e,c,s),p.base=u.__e,u.__u&=-161,p.__h.length&&f.push(p),k&&(p.__E=p.__=null);}catch(n){u.__v=null,c||null!=r?(u.__e=e,u.__u|=c?160:32,r[r.indexOf(e)]=null):(u.__e=t.__e,u.__k=t.__k),l$1.__e(n,u,t);}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j$1(t.__e,u,t,i,o,r,f,c,s);(a=l$1.diffed)&&a(u);}function M(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)z$1(t[i],t[++i],t[++i]);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 j$1(l,u,t,i,o,r,f,e,s){var a,v,y,d,_,g,b,k=t.props,w=u.props,x=u.type;if("svg"===x&&(o=!0),null!=r)for(a=0;a<r.length;a++)if((_=r[a])&&"setAttribute"in _==!!x&&(x?_.localName===x:3===_.nodeType)){l=_,r[a]=null;break}if(null==l){if(null===x)return document.createTextNode(w);l=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,w.is&&w),r=null,e=!1;}if(null===x)k===w||e&&l.data===w||(l.data=w);else {if(r=r&&n.call(l.childNodes),k=t.props||c$1,!e&&null!=r)for(k={},a=0;a<l.attributes.length;a++)k[(_=l.attributes[a]).name]=_.value;for(a in k)_=k[a],"children"==a||("dangerouslySetInnerHTML"==a?y=_:"key"===a||a in w||T$1(l,a,null,_,o));for(a in w)_=w[a],"children"==a?d=_:"dangerouslySetInnerHTML"==a?v=_:"value"==a?g=_:"checked"==a?b=_:"key"===a||e&&"function"!=typeof _||k[a]===_||T$1(l,a,_,k[a],o);if(v)e||y&&(v.__html===y.__html||v.__html===l.innerHTML)||(l.innerHTML=v.__html),u.__k=[];else if(y&&(l.innerHTML=""),C(l,h$1(d)?d:[d],u,t,i,o&&"foreignObject"!==x,r,f,r?r[0]:t.__k&&m$1(t,0),e,s),null!=r)for(a=r.length;a--;)null!=r[a]&&p$1(r[a]);e||(a="value",void 0!==g&&(g!==l[a]||"progress"===x&&!g||"option"===x&&g!==k[a])&&T$1(l,a,g,k[a],!1),a="checked",void 0!==b&&b!==l[a]&&T$1(l,a,b,k[a],!1));}return l}function z$1(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function N(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z$1(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null,n.__c=void 0;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&N(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||p$1(n.__e),n.__=n.__e=n.__d=void 0;}function O(n,l,u){return this.constructor(n,u)}function q$1(u,t,i){var o,r,f,e;l$1.__&&l$1.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],L(t,u=(!o&&i||t).__k=y$1(g$1,null,[u]),r||c$1,c$1,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),M(f,u,e);}function F$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,w$1(n);});},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=s$1.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,b$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v$1({},this.state),"function"==typeof n&&(n=n(v$1({},u),this.props)),n&&v$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),w$1(this));},b$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),w$1(this));},b$1.prototype.render=g$1,i$1=[],r$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f$2=function(n,l){return n.__v.__b-l.__v.__b},x.__r=0,e$1=0;
|
|
149
153
|
|
|
150
|
-
var
|
|
154
|
+
var f$1=0;function u$1(e,t,n,o,i,u){var a,c,p={};for(c in t)"ref"==c?a=t[c]:p[c]=t[c];var l={type:e,props:p,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--f$1,__i:-1,__u:0,__source:i,__self:u};if("function"==typeof e&&(a=e.defaultProps))for(c in a)void 0===p[c]&&(p[c]=a[c]);return l$1.vnode&&l$1.vnode(l),l}
|
|
151
155
|
|
|
152
156
|
function count$1(node) {
|
|
153
157
|
var sum = 0,
|
|
@@ -417,8 +421,6 @@ var drawChart = (function (exports) {
|
|
|
417
421
|
}
|
|
418
422
|
}
|
|
419
423
|
|
|
420
|
-
Object.create(Node$1.prototype);
|
|
421
|
-
|
|
422
424
|
function treemapSlice(parent, x0, y0, x1, y1) {
|
|
423
425
|
var nodes = parent.children,
|
|
424
426
|
node,
|
|
@@ -661,12 +663,12 @@ var drawChart = (function (exports) {
|
|
|
661
663
|
return availableSizeProperties;
|
|
662
664
|
};
|
|
663
665
|
|
|
664
|
-
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
|
|
666
|
+
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 h(n){return o=1,s(B,n)}function s(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):B(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)){var f=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 !c||c.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)&&(!c||c.call(this,n,t,r))};r.u=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u;}e&&e.call(this,n,t,r);},r.shouldComponentUpdate=f;}return o.__N||o.__}function p(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 y(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 T(n,t){return o=8,F(function(){return n},t)}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){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=[],t=0)),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(n,t){return "function"==typeof t?t(n):t}
|
|
665
667
|
|
|
666
|
-
const PLACEHOLDER = "
|
|
668
|
+
const PLACEHOLDER = "*/**/file.js";
|
|
667
669
|
const SideBar = ({ availableSizeProperties, sizeProperty, setSizeProperty, onExcludeChange, onIncludeChange, }) => {
|
|
668
|
-
const [includeValue, setIncludeValue] =
|
|
669
|
-
const [excludeValue, setExcludeValue] =
|
|
670
|
+
const [includeValue, setIncludeValue] = h("");
|
|
671
|
+
const [excludeValue, setExcludeValue] = h("");
|
|
670
672
|
const handleSizePropertyChange = (sizeProp) => () => {
|
|
671
673
|
if (sizeProp !== sizeProperty) {
|
|
672
674
|
setSizeProperty(sizeProp);
|
|
@@ -682,23 +684,17 @@ var drawChart = (function (exports) {
|
|
|
682
684
|
setExcludeValue(value);
|
|
683
685
|
onExcludeChange(value);
|
|
684
686
|
};
|
|
685
|
-
return (
|
|
687
|
+
return (u$1("aside", { className: "sidebar", children: [u$1("div", { className: "size-selectors", children: availableSizeProperties.length > 1 &&
|
|
686
688
|
availableSizeProperties.map((sizeProp) => {
|
|
687
689
|
const id = `selector-${sizeProp}`;
|
|
688
|
-
return (
|
|
689
|
-
}) })
|
|
690
|
+
return (u$1("div", { className: "size-selector", children: [u$1("input", { type: "radio", id: id, checked: sizeProp === sizeProperty, onChange: handleSizePropertyChange(sizeProp) }), u$1("label", { htmlFor: id, children: LABELS[sizeProp] })] }, sizeProp));
|
|
691
|
+
}) }), u$1("div", { className: "module-filters", children: [u$1("div", { className: "module-filter", children: [u$1("label", { htmlFor: "module-filter-exclude", children: "Exclude" }), u$1("input", { type: "text", id: "module-filter-exclude", value: excludeValue, onInput: handleExcludeChange, placeholder: PLACEHOLDER })] }), u$1("div", { className: "module-filter", children: [u$1("label", { htmlFor: "module-filter-include", children: "Include" }), u$1("input", { type: "text", id: "module-filter-include", value: includeValue, onInput: handleIncludeChange, placeholder: PLACEHOLDER })] })] })] }));
|
|
690
692
|
};
|
|
691
693
|
|
|
692
694
|
function getDefaultExportFromCjs (x) {
|
|
693
695
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
694
696
|
}
|
|
695
697
|
|
|
696
|
-
var picomatchBrowserExports = {};
|
|
697
|
-
var picomatchBrowser = {
|
|
698
|
-
get exports(){ return picomatchBrowserExports; },
|
|
699
|
-
set exports(v){ picomatchBrowserExports = v; },
|
|
700
|
-
};
|
|
701
|
-
|
|
702
698
|
var utils$3 = {};
|
|
703
699
|
|
|
704
700
|
const WIN_SLASH = '\\\\/';
|
|
@@ -941,7 +937,7 @@ var drawChart = (function (exports) {
|
|
|
941
937
|
} else {
|
|
942
938
|
return path.replace(/\/$/, '').replace(/.*\//, '');
|
|
943
939
|
}
|
|
944
|
-
};
|
|
940
|
+
};
|
|
945
941
|
} (utils$3));
|
|
946
942
|
|
|
947
943
|
const utils$2 = utils$3;
|
|
@@ -2738,12 +2734,9 @@ var drawChart = (function (exports) {
|
|
|
2738
2734
|
|
|
2739
2735
|
var picomatch_1 = picomatch;
|
|
2740
2736
|
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
module.exports = picomatch_1;
|
|
2744
|
-
} (picomatchBrowser));
|
|
2737
|
+
var picomatchBrowser = picomatch_1;
|
|
2745
2738
|
|
|
2746
|
-
var pm = /*@__PURE__*/getDefaultExportFromCjs(
|
|
2739
|
+
var pm = /*@__PURE__*/getDefaultExportFromCjs(picomatchBrowser);
|
|
2747
2740
|
|
|
2748
2741
|
function isArray(arg) {
|
|
2749
2742
|
return Array.isArray(arg);
|
|
@@ -2834,8 +2827,8 @@ var drawChart = (function (exports) {
|
|
|
2834
2827
|
}));
|
|
2835
2828
|
};
|
|
2836
2829
|
const useFilter = () => {
|
|
2837
|
-
const [includeFilter, setIncludeFilter] =
|
|
2838
|
-
const [excludeFilter, setExcludeFilter] =
|
|
2830
|
+
const [includeFilter, setIncludeFilter] = h("");
|
|
2831
|
+
const [excludeFilter, setExcludeFilter] = h("");
|
|
2839
2832
|
const setIncludeFilterTrottled = F(() => throttleFilter(setIncludeFilter, 200), []);
|
|
2840
2833
|
const setExcludeFilterTrottled = F(() => throttleFilter(setExcludeFilter, 200), []);
|
|
2841
2834
|
const isIncluded = F(() => createFilter(prepareFilter(includeFilter), prepareFilter(excludeFilter)), [includeFilter, excludeFilter]);
|
|
@@ -2924,6 +2917,7 @@ var drawChart = (function (exports) {
|
|
|
2924
2917
|
const ascendingBisect = bisector(ascending);
|
|
2925
2918
|
const bisectRight = ascendingBisect.right;
|
|
2926
2919
|
bisector(number$1).center;
|
|
2920
|
+
var bisect = bisectRight;
|
|
2927
2921
|
|
|
2928
2922
|
class InternMap extends Map {
|
|
2929
2923
|
constructor(entries, key = keyof) {
|
|
@@ -2997,59 +2991,60 @@ var drawChart = (function (exports) {
|
|
|
2997
2991
|
})(values, 0);
|
|
2998
2992
|
}
|
|
2999
2993
|
|
|
3000
|
-
|
|
2994
|
+
const e10 = Math.sqrt(50),
|
|
3001
2995
|
e5 = Math.sqrt(10),
|
|
3002
2996
|
e2 = Math.sqrt(2);
|
|
3003
2997
|
|
|
3004
|
-
function
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
2998
|
+
function tickSpec(start, stop, count) {
|
|
2999
|
+
const step = (stop - start) / Math.max(0, count),
|
|
3000
|
+
power = Math.floor(Math.log10(step)),
|
|
3001
|
+
error = step / Math.pow(10, power),
|
|
3002
|
+
factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1;
|
|
3003
|
+
let i1, i2, inc;
|
|
3004
|
+
if (power < 0) {
|
|
3005
|
+
inc = Math.pow(10, -power) / factor;
|
|
3006
|
+
i1 = Math.round(start * inc);
|
|
3007
|
+
i2 = Math.round(stop * inc);
|
|
3008
|
+
if (i1 / inc < start) ++i1;
|
|
3009
|
+
if (i2 / inc > stop) --i2;
|
|
3010
|
+
inc = -inc;
|
|
3011
|
+
} else {
|
|
3012
|
+
inc = Math.pow(10, power) * factor;
|
|
3013
|
+
i1 = Math.round(start / inc);
|
|
3014
|
+
i2 = Math.round(stop / inc);
|
|
3015
|
+
if (i1 * inc < start) ++i1;
|
|
3016
|
+
if (i2 * inc > stop) --i2;
|
|
3017
|
+
}
|
|
3018
|
+
if (i2 < i1 && 0.5 <= count && count < 2) return tickSpec(start, stop, count * 2);
|
|
3019
|
+
return [i1, i2, inc];
|
|
3020
|
+
}
|
|
3010
3021
|
|
|
3022
|
+
function ticks(start, stop, count) {
|
|
3011
3023
|
stop = +stop, start = +start, count = +count;
|
|
3012
|
-
if (
|
|
3013
|
-
if (
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
if (
|
|
3019
|
-
|
|
3020
|
-
ticks = new Array(n = r1 - r0 + 1);
|
|
3021
|
-
while (++i < n) ticks[i] = (r0 + i) * step;
|
|
3024
|
+
if (!(count > 0)) return [];
|
|
3025
|
+
if (start === stop) return [start];
|
|
3026
|
+
const reverse = stop < start, [i1, i2, inc] = reverse ? tickSpec(stop, start, count) : tickSpec(start, stop, count);
|
|
3027
|
+
if (!(i2 >= i1)) return [];
|
|
3028
|
+
const n = i2 - i1 + 1, ticks = new Array(n);
|
|
3029
|
+
if (reverse) {
|
|
3030
|
+
if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) / -inc;
|
|
3031
|
+
else for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) * inc;
|
|
3022
3032
|
} else {
|
|
3023
|
-
|
|
3024
|
-
let
|
|
3025
|
-
if (r0 / step < start) ++r0;
|
|
3026
|
-
if (r1 / step > stop) --r1;
|
|
3027
|
-
ticks = new Array(n = r1 - r0 + 1);
|
|
3028
|
-
while (++i < n) ticks[i] = (r0 + i) / step;
|
|
3033
|
+
if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) / -inc;
|
|
3034
|
+
else for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) * inc;
|
|
3029
3035
|
}
|
|
3030
|
-
|
|
3031
|
-
if (reverse) ticks.reverse();
|
|
3032
|
-
|
|
3033
3036
|
return ticks;
|
|
3034
3037
|
}
|
|
3035
3038
|
|
|
3036
3039
|
function tickIncrement(start, stop, count) {
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
error = step / Math.pow(10, power);
|
|
3040
|
-
return power >= 0
|
|
3041
|
-
? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)
|
|
3042
|
-
: -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);
|
|
3040
|
+
stop = +stop, start = +start, count = +count;
|
|
3041
|
+
return tickSpec(start, stop, count)[2];
|
|
3043
3042
|
}
|
|
3044
3043
|
|
|
3045
3044
|
function tickStep(start, stop, count) {
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
if (error >= e10) step1 *= 10;
|
|
3050
|
-
else if (error >= e5) step1 *= 5;
|
|
3051
|
-
else if (error >= e2) step1 *= 2;
|
|
3052
|
-
return stop < start ? -step1 : step1;
|
|
3045
|
+
stop = +stop, start = +start, count = +count;
|
|
3046
|
+
const reverse = stop < start, inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count);
|
|
3047
|
+
return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc);
|
|
3053
3048
|
}
|
|
3054
3049
|
|
|
3055
3050
|
const TOP_PADDING = 20;
|
|
@@ -3075,7 +3070,7 @@ var drawChart = (function (exports) {
|
|
|
3075
3070
|
else {
|
|
3076
3071
|
textProps.y = height / 2;
|
|
3077
3072
|
}
|
|
3078
|
-
|
|
3073
|
+
y(() => {
|
|
3079
3074
|
if (width == 0 || height == 0 || !textRef.current) {
|
|
3080
3075
|
return;
|
|
3081
3076
|
}
|
|
@@ -3100,18 +3095,18 @@ var drawChart = (function (exports) {
|
|
|
3100
3095
|
if (width == 0 || height == 0) {
|
|
3101
3096
|
return null;
|
|
3102
3097
|
}
|
|
3103
|
-
return (
|
|
3098
|
+
return (u$1("g", { className: "node", transform: `translate(${x0},${y0})`, onClick: (event) => {
|
|
3104
3099
|
event.stopPropagation();
|
|
3105
3100
|
onClick(node);
|
|
3106
3101
|
}, onMouseOver: (event) => {
|
|
3107
3102
|
event.stopPropagation();
|
|
3108
3103
|
onMouseOver(node);
|
|
3109
|
-
}
|
|
3104
|
+
}, children: [u$1("rect", { fill: backgroundColor, rx: 2, ry: 2, width: x1 - x0, height: y1 - y0, stroke: selected ? "#fff" : undefined, "stroke-width": selected ? 2 : undefined }), u$1("text", Object.assign({ ref: textRef, fill: fontColor, onClick: (event) => {
|
|
3110
3105
|
var _a;
|
|
3111
3106
|
if (((_a = window.getSelection()) === null || _a === void 0 ? void 0 : _a.toString()) !== "") {
|
|
3112
3107
|
event.stopPropagation();
|
|
3113
3108
|
}
|
|
3114
|
-
} }, textProps, { children: data.name }))] }))
|
|
3109
|
+
} }, textProps, { children: data.name }))] }));
|
|
3115
3110
|
};
|
|
3116
3111
|
|
|
3117
3112
|
const TreeMap = ({ root, onNodeHover, selectedNode, onNodeClick, }) => {
|
|
@@ -3128,18 +3123,14 @@ var drawChart = (function (exports) {
|
|
|
3128
3123
|
return nestedData;
|
|
3129
3124
|
}, [root]);
|
|
3130
3125
|
console.timeEnd("layering");
|
|
3131
|
-
return (
|
|
3132
|
-
return (
|
|
3133
|
-
return (
|
|
3134
|
-
}) }
|
|
3135
|
-
}) }))
|
|
3126
|
+
return (u$1("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${width} ${height}`, children: nestedData.map(({ key, values }) => {
|
|
3127
|
+
return (u$1("g", { className: "layer", children: values.map((node) => {
|
|
3128
|
+
return (u$1(Node, { node: node, onMouseOver: onNodeHover, selected: selectedNode === node, onClick: onNodeClick }, getModuleIds(node.data).nodeUid.id));
|
|
3129
|
+
}) }, key));
|
|
3130
|
+
}) }));
|
|
3136
3131
|
};
|
|
3137
3132
|
|
|
3138
|
-
var
|
|
3139
|
-
var bytes$1 = {
|
|
3140
|
-
get exports(){ return bytesExports; },
|
|
3141
|
-
set exports(v){ bytesExports = v; },
|
|
3142
|
-
};
|
|
3133
|
+
var bytes$1 = {exports: {}};
|
|
3143
3134
|
|
|
3144
3135
|
/*!
|
|
3145
3136
|
* bytes
|
|
@@ -3154,8 +3145,8 @@ var drawChart = (function (exports) {
|
|
|
3154
3145
|
*/
|
|
3155
3146
|
|
|
3156
3147
|
bytes$1.exports = bytes;
|
|
3157
|
-
var format_1 =
|
|
3158
|
-
|
|
3148
|
+
var format_1 = bytes$1.exports.format = format$1;
|
|
3149
|
+
bytes$1.exports.parse = parse;
|
|
3159
3150
|
|
|
3160
3151
|
/**
|
|
3161
3152
|
* Module variables.
|
|
@@ -3312,13 +3303,13 @@ var drawChart = (function (exports) {
|
|
|
3312
3303
|
|
|
3313
3304
|
const Tooltip_marginX = 10;
|
|
3314
3305
|
const Tooltip_marginY = 30;
|
|
3315
|
-
const SOURCEMAP_RENDERED = (
|
|
3316
|
-
const RENDRED = (
|
|
3317
|
-
const COMPRESSED = (
|
|
3306
|
+
const SOURCEMAP_RENDERED = (u$1("span", { children: [" ", u$1("b", { children: LABELS.renderedLength }), " is a number of characters in the file after individual and ", u$1("br", {}), " ", "whole bundle transformations according to sourcemap."] }));
|
|
3307
|
+
const RENDRED = (u$1("span", { children: [u$1("b", { children: LABELS.renderedLength }), " is a byte size of individual file after transformations and treeshake."] }));
|
|
3308
|
+
const COMPRESSED = (u$1("span", { children: [u$1("b", { children: LABELS.gzipLength }), " and ", u$1("b", { children: LABELS.brotliLength }), " is a byte size of individual file after individual transformations,", u$1("br", {}), " treeshake and compression."] }));
|
|
3318
3309
|
const Tooltip = ({ node, visible, root, sizeProperty, }) => {
|
|
3319
3310
|
const { availableSizeProperties, getModuleSize, data } = q(StaticContext);
|
|
3320
3311
|
const ref = _(null);
|
|
3321
|
-
const [style, setStyle] =
|
|
3312
|
+
const [style, setStyle] = h({});
|
|
3322
3313
|
const content = F(() => {
|
|
3323
3314
|
if (!node)
|
|
3324
3315
|
return null;
|
|
@@ -3336,17 +3327,17 @@ var drawChart = (function (exports) {
|
|
|
3336
3327
|
const mainUid = data.nodeParts[node.data.uid].metaUid;
|
|
3337
3328
|
dataNode = data.nodeMetas[mainUid];
|
|
3338
3329
|
}
|
|
3339
|
-
return (
|
|
3330
|
+
return (u$1(g$1, { children: [u$1("div", { children: path }), availableSizeProperties.map((sizeProp) => {
|
|
3340
3331
|
if (sizeProp === sizeProperty) {
|
|
3341
|
-
return (
|
|
3332
|
+
return (u$1("div", { children: [u$1("b", { children: [LABELS[sizeProp], ": ", format_1(mainSize)] }), " ", "(", percentageString, ")"] }, sizeProp));
|
|
3342
3333
|
}
|
|
3343
3334
|
else {
|
|
3344
|
-
return (
|
|
3335
|
+
return (u$1("div", { children: [LABELS[sizeProp], ": ", format_1(getModuleSize(node.data, sizeProp))] }, sizeProp));
|
|
3345
3336
|
}
|
|
3346
|
-
}),
|
|
3337
|
+
}), u$1("br", {}), dataNode && dataNode.importedBy.length > 0 && (u$1("div", { children: [u$1("div", { children: [u$1("b", { children: "Imported By" }), ":"] }), dataNode.importedBy.map(({ uid }) => {
|
|
3347
3338
|
const id = data.nodeMetas[uid].id;
|
|
3348
|
-
return
|
|
3349
|
-
})] })),
|
|
3339
|
+
return u$1("div", { children: id }, id);
|
|
3340
|
+
})] })), u$1("br", {}), u$1("small", { children: data.options.sourcemap ? SOURCEMAP_RENDERED : RENDRED }), (data.options.gzip || data.options.brotli) && (u$1(g$1, { children: [u$1("br", {}), u$1("small", { children: COMPRESSED })] }))] }));
|
|
3350
3341
|
}, [availableSizeProperties, data, getModuleSize, node, root.data, sizeProperty]);
|
|
3351
3342
|
const updatePosition = (mouseCoords) => {
|
|
3352
3343
|
if (!ref.current)
|
|
@@ -3366,7 +3357,7 @@ var drawChart = (function (exports) {
|
|
|
3366
3357
|
}
|
|
3367
3358
|
setStyle(pos);
|
|
3368
3359
|
};
|
|
3369
|
-
|
|
3360
|
+
p(() => {
|
|
3370
3361
|
const handleMouseMove = (event) => {
|
|
3371
3362
|
updatePosition({
|
|
3372
3363
|
x: event.pageX,
|
|
@@ -3378,13 +3369,13 @@ var drawChart = (function (exports) {
|
|
|
3378
3369
|
document.removeEventListener("mousemove", handleMouseMove, true);
|
|
3379
3370
|
};
|
|
3380
3371
|
}, []);
|
|
3381
|
-
return (
|
|
3372
|
+
return (u$1("div", { className: `tooltip ${visible ? "" : "tooltip-hidden"}`, ref: ref, style: style, children: content }));
|
|
3382
3373
|
};
|
|
3383
3374
|
|
|
3384
3375
|
const Chart = ({ root, sizeProperty, selectedNode, setSelectedNode, }) => {
|
|
3385
|
-
const [showTooltip, setShowTooltip] =
|
|
3386
|
-
const [tooltipNode, setTooltipNode] =
|
|
3387
|
-
|
|
3376
|
+
const [showTooltip, setShowTooltip] = h(false);
|
|
3377
|
+
const [tooltipNode, setTooltipNode] = h(undefined);
|
|
3378
|
+
p(() => {
|
|
3388
3379
|
const handleMouseOut = () => {
|
|
3389
3380
|
setShowTooltip(false);
|
|
3390
3381
|
};
|
|
@@ -3393,18 +3384,18 @@ var drawChart = (function (exports) {
|
|
|
3393
3384
|
document.removeEventListener("mouseover", handleMouseOut);
|
|
3394
3385
|
};
|
|
3395
3386
|
}, []);
|
|
3396
|
-
return (
|
|
3387
|
+
return (u$1(g$1, { children: [u$1(TreeMap, { root: root, onNodeHover: (node) => {
|
|
3397
3388
|
setTooltipNode(node);
|
|
3398
3389
|
setShowTooltip(true);
|
|
3399
3390
|
}, selectedNode: selectedNode, onNodeClick: (node) => {
|
|
3400
3391
|
setSelectedNode(selectedNode === node ? undefined : node);
|
|
3401
|
-
} }),
|
|
3392
|
+
} }), u$1(Tooltip, { visible: showTooltip, node: tooltipNode, root: root, sizeProperty: sizeProperty })] }));
|
|
3402
3393
|
};
|
|
3403
3394
|
|
|
3404
3395
|
const Main = () => {
|
|
3405
3396
|
const { availableSizeProperties, rawHierarchy, getModuleSize, layout, data } = q(StaticContext);
|
|
3406
|
-
const [sizeProperty, setSizeProperty] =
|
|
3407
|
-
const [selectedNode, setSelectedNode] =
|
|
3397
|
+
const [sizeProperty, setSizeProperty] = h(availableSizeProperties[0]);
|
|
3398
|
+
const [selectedNode, setSelectedNode] = h(undefined);
|
|
3408
3399
|
const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter();
|
|
3409
3400
|
console.time("getNodeSizeMultiplier");
|
|
3410
3401
|
const getNodeSizeMultiplier = F(() => {
|
|
@@ -3459,7 +3450,7 @@ var drawChart = (function (exports) {
|
|
|
3459
3450
|
sizeProperty,
|
|
3460
3451
|
]);
|
|
3461
3452
|
console.timeEnd("root hierarchy compute");
|
|
3462
|
-
return (
|
|
3453
|
+
return (u$1(g$1, { children: [u$1(SideBar, { sizeProperty: sizeProperty, availableSizeProperties: availableSizeProperties, setSizeProperty: setSizeProperty, onExcludeChange: setExcludeFilter, onIncludeChange: setIncludeFilter }), u$1(Chart, { root: root, sizeProperty: sizeProperty, selectedNode: selectedNode, setSelectedNode: setSelectedNode })] }));
|
|
3463
3454
|
};
|
|
3464
3455
|
|
|
3465
3456
|
function initRange(domain, range) {
|
|
@@ -3895,179 +3886,6 @@ var drawChart = (function (exports) {
|
|
|
3895
3886
|
: m1) * 255;
|
|
3896
3887
|
}
|
|
3897
3888
|
|
|
3898
|
-
const radians = Math.PI / 180;
|
|
3899
|
-
const degrees = 180 / Math.PI;
|
|
3900
|
-
|
|
3901
|
-
// https://observablehq.com/@mbostock/lab-and-rgb
|
|
3902
|
-
const K = 18,
|
|
3903
|
-
Xn = 0.96422,
|
|
3904
|
-
Yn = 1,
|
|
3905
|
-
Zn = 0.82521,
|
|
3906
|
-
t0$1 = 4 / 29,
|
|
3907
|
-
t1$1 = 6 / 29,
|
|
3908
|
-
t2 = 3 * t1$1 * t1$1,
|
|
3909
|
-
t3 = t1$1 * t1$1 * t1$1;
|
|
3910
|
-
|
|
3911
|
-
function labConvert(o) {
|
|
3912
|
-
if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);
|
|
3913
|
-
if (o instanceof Hcl) return hcl2lab(o);
|
|
3914
|
-
if (!(o instanceof Rgb)) o = rgbConvert(o);
|
|
3915
|
-
var r = rgb2lrgb(o.r),
|
|
3916
|
-
g = rgb2lrgb(o.g),
|
|
3917
|
-
b = rgb2lrgb(o.b),
|
|
3918
|
-
y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn), x, z;
|
|
3919
|
-
if (r === g && g === b) x = z = y; else {
|
|
3920
|
-
x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);
|
|
3921
|
-
z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);
|
|
3922
|
-
}
|
|
3923
|
-
return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);
|
|
3924
|
-
}
|
|
3925
|
-
|
|
3926
|
-
function lab(l, a, b, opacity) {
|
|
3927
|
-
return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
|
|
3928
|
-
}
|
|
3929
|
-
|
|
3930
|
-
function Lab(l, a, b, opacity) {
|
|
3931
|
-
this.l = +l;
|
|
3932
|
-
this.a = +a;
|
|
3933
|
-
this.b = +b;
|
|
3934
|
-
this.opacity = +opacity;
|
|
3935
|
-
}
|
|
3936
|
-
|
|
3937
|
-
define(Lab, lab, extend(Color, {
|
|
3938
|
-
brighter(k) {
|
|
3939
|
-
return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);
|
|
3940
|
-
},
|
|
3941
|
-
darker(k) {
|
|
3942
|
-
return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);
|
|
3943
|
-
},
|
|
3944
|
-
rgb() {
|
|
3945
|
-
var y = (this.l + 16) / 116,
|
|
3946
|
-
x = isNaN(this.a) ? y : y + this.a / 500,
|
|
3947
|
-
z = isNaN(this.b) ? y : y - this.b / 200;
|
|
3948
|
-
x = Xn * lab2xyz(x);
|
|
3949
|
-
y = Yn * lab2xyz(y);
|
|
3950
|
-
z = Zn * lab2xyz(z);
|
|
3951
|
-
return new Rgb(
|
|
3952
|
-
lrgb2rgb( 3.1338561 * x - 1.6168667 * y - 0.4906146 * z),
|
|
3953
|
-
lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z),
|
|
3954
|
-
lrgb2rgb( 0.0719453 * x - 0.2289914 * y + 1.4052427 * z),
|
|
3955
|
-
this.opacity
|
|
3956
|
-
);
|
|
3957
|
-
}
|
|
3958
|
-
}));
|
|
3959
|
-
|
|
3960
|
-
function xyz2lab(t) {
|
|
3961
|
-
return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0$1;
|
|
3962
|
-
}
|
|
3963
|
-
|
|
3964
|
-
function lab2xyz(t) {
|
|
3965
|
-
return t > t1$1 ? t * t * t : t2 * (t - t0$1);
|
|
3966
|
-
}
|
|
3967
|
-
|
|
3968
|
-
function lrgb2rgb(x) {
|
|
3969
|
-
return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);
|
|
3970
|
-
}
|
|
3971
|
-
|
|
3972
|
-
function rgb2lrgb(x) {
|
|
3973
|
-
return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);
|
|
3974
|
-
}
|
|
3975
|
-
|
|
3976
|
-
function hclConvert(o) {
|
|
3977
|
-
if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);
|
|
3978
|
-
if (!(o instanceof Lab)) o = labConvert(o);
|
|
3979
|
-
if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);
|
|
3980
|
-
var h = Math.atan2(o.b, o.a) * degrees;
|
|
3981
|
-
return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
|
|
3982
|
-
}
|
|
3983
|
-
|
|
3984
|
-
function hcl(h, c, l, opacity) {
|
|
3985
|
-
return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
|
|
3986
|
-
}
|
|
3987
|
-
|
|
3988
|
-
function Hcl(h, c, l, opacity) {
|
|
3989
|
-
this.h = +h;
|
|
3990
|
-
this.c = +c;
|
|
3991
|
-
this.l = +l;
|
|
3992
|
-
this.opacity = +opacity;
|
|
3993
|
-
}
|
|
3994
|
-
|
|
3995
|
-
function hcl2lab(o) {
|
|
3996
|
-
if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);
|
|
3997
|
-
var h = o.h * radians;
|
|
3998
|
-
return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
|
|
3999
|
-
}
|
|
4000
|
-
|
|
4001
|
-
define(Hcl, hcl, extend(Color, {
|
|
4002
|
-
brighter(k) {
|
|
4003
|
-
return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
|
|
4004
|
-
},
|
|
4005
|
-
darker(k) {
|
|
4006
|
-
return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);
|
|
4007
|
-
},
|
|
4008
|
-
rgb() {
|
|
4009
|
-
return hcl2lab(this).rgb();
|
|
4010
|
-
}
|
|
4011
|
-
}));
|
|
4012
|
-
|
|
4013
|
-
var A = -0.14861,
|
|
4014
|
-
B = +1.78277,
|
|
4015
|
-
C = -0.29227,
|
|
4016
|
-
D = -0.90649,
|
|
4017
|
-
E = +1.97294,
|
|
4018
|
-
ED = E * D,
|
|
4019
|
-
EB = E * B,
|
|
4020
|
-
BC_DA = B * C - D * A;
|
|
4021
|
-
|
|
4022
|
-
function cubehelixConvert(o) {
|
|
4023
|
-
if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);
|
|
4024
|
-
if (!(o instanceof Rgb)) o = rgbConvert(o);
|
|
4025
|
-
var r = o.r / 255,
|
|
4026
|
-
g = o.g / 255,
|
|
4027
|
-
b = o.b / 255,
|
|
4028
|
-
l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),
|
|
4029
|
-
bl = b - l,
|
|
4030
|
-
k = (E * (g - l) - C * bl) / D,
|
|
4031
|
-
s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1
|
|
4032
|
-
h = s ? Math.atan2(k, bl) * degrees - 120 : NaN;
|
|
4033
|
-
return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);
|
|
4034
|
-
}
|
|
4035
|
-
|
|
4036
|
-
function cubehelix$1(h, s, l, opacity) {
|
|
4037
|
-
return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);
|
|
4038
|
-
}
|
|
4039
|
-
|
|
4040
|
-
function Cubehelix(h, s, l, opacity) {
|
|
4041
|
-
this.h = +h;
|
|
4042
|
-
this.s = +s;
|
|
4043
|
-
this.l = +l;
|
|
4044
|
-
this.opacity = +opacity;
|
|
4045
|
-
}
|
|
4046
|
-
|
|
4047
|
-
define(Cubehelix, cubehelix$1, extend(Color, {
|
|
4048
|
-
brighter(k) {
|
|
4049
|
-
k = k == null ? brighter : Math.pow(brighter, k);
|
|
4050
|
-
return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
|
|
4051
|
-
},
|
|
4052
|
-
darker(k) {
|
|
4053
|
-
k = k == null ? darker : Math.pow(darker, k);
|
|
4054
|
-
return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
|
|
4055
|
-
},
|
|
4056
|
-
rgb() {
|
|
4057
|
-
var h = isNaN(this.h) ? 0 : (this.h + 120) * radians,
|
|
4058
|
-
l = +this.l,
|
|
4059
|
-
a = isNaN(this.s) ? 0 : this.s * l * (1 - l),
|
|
4060
|
-
cosh = Math.cos(h),
|
|
4061
|
-
sinh = Math.sin(h);
|
|
4062
|
-
return new Rgb(
|
|
4063
|
-
255 * (l + a * (A * cosh + B * sinh)),
|
|
4064
|
-
255 * (l + a * (C * cosh + D * sinh)),
|
|
4065
|
-
255 * (l + a * (E * cosh)),
|
|
4066
|
-
this.opacity
|
|
4067
|
-
);
|
|
4068
|
-
}
|
|
4069
|
-
}));
|
|
4070
|
-
|
|
4071
3889
|
var constant = x => () => x;
|
|
4072
3890
|
|
|
4073
3891
|
function linear$1(a, d) {
|
|
@@ -4082,11 +3900,6 @@ var drawChart = (function (exports) {
|
|
|
4082
3900
|
};
|
|
4083
3901
|
}
|
|
4084
3902
|
|
|
4085
|
-
function hue(a, b) {
|
|
4086
|
-
var d = b - a;
|
|
4087
|
-
return d ? linear$1(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
|
|
4088
|
-
}
|
|
4089
|
-
|
|
4090
3903
|
function gamma(y) {
|
|
4091
3904
|
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
4092
3905
|
return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);
|
|
@@ -4268,105 +4081,6 @@ var drawChart = (function (exports) {
|
|
|
4268
4081
|
};
|
|
4269
4082
|
}
|
|
4270
4083
|
|
|
4271
|
-
var epsilon2 = 1e-12;
|
|
4272
|
-
|
|
4273
|
-
function cosh(x) {
|
|
4274
|
-
return ((x = Math.exp(x)) + 1 / x) / 2;
|
|
4275
|
-
}
|
|
4276
|
-
|
|
4277
|
-
function sinh(x) {
|
|
4278
|
-
return ((x = Math.exp(x)) - 1 / x) / 2;
|
|
4279
|
-
}
|
|
4280
|
-
|
|
4281
|
-
function tanh(x) {
|
|
4282
|
-
return ((x = Math.exp(2 * x)) - 1) / (x + 1);
|
|
4283
|
-
}
|
|
4284
|
-
|
|
4285
|
-
((function zoomRho(rho, rho2, rho4) {
|
|
4286
|
-
|
|
4287
|
-
// p0 = [ux0, uy0, w0]
|
|
4288
|
-
// p1 = [ux1, uy1, w1]
|
|
4289
|
-
function zoom(p0, p1) {
|
|
4290
|
-
var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],
|
|
4291
|
-
ux1 = p1[0], uy1 = p1[1], w1 = p1[2],
|
|
4292
|
-
dx = ux1 - ux0,
|
|
4293
|
-
dy = uy1 - uy0,
|
|
4294
|
-
d2 = dx * dx + dy * dy,
|
|
4295
|
-
i,
|
|
4296
|
-
S;
|
|
4297
|
-
|
|
4298
|
-
// Special case for u0 ≅ u1.
|
|
4299
|
-
if (d2 < epsilon2) {
|
|
4300
|
-
S = Math.log(w1 / w0) / rho;
|
|
4301
|
-
i = function(t) {
|
|
4302
|
-
return [
|
|
4303
|
-
ux0 + t * dx,
|
|
4304
|
-
uy0 + t * dy,
|
|
4305
|
-
w0 * Math.exp(rho * t * S)
|
|
4306
|
-
];
|
|
4307
|
-
};
|
|
4308
|
-
}
|
|
4309
|
-
|
|
4310
|
-
// General case.
|
|
4311
|
-
else {
|
|
4312
|
-
var d1 = Math.sqrt(d2),
|
|
4313
|
-
b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),
|
|
4314
|
-
b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),
|
|
4315
|
-
r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),
|
|
4316
|
-
r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);
|
|
4317
|
-
S = (r1 - r0) / rho;
|
|
4318
|
-
i = function(t) {
|
|
4319
|
-
var s = t * S,
|
|
4320
|
-
coshr0 = cosh(r0),
|
|
4321
|
-
u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));
|
|
4322
|
-
return [
|
|
4323
|
-
ux0 + u * dx,
|
|
4324
|
-
uy0 + u * dy,
|
|
4325
|
-
w0 * coshr0 / cosh(rho * s + r0)
|
|
4326
|
-
];
|
|
4327
|
-
};
|
|
4328
|
-
}
|
|
4329
|
-
|
|
4330
|
-
i.duration = S * 1000 * rho / Math.SQRT2;
|
|
4331
|
-
|
|
4332
|
-
return i;
|
|
4333
|
-
}
|
|
4334
|
-
|
|
4335
|
-
zoom.rho = function(_) {
|
|
4336
|
-
var _1 = Math.max(1e-3, +_), _2 = _1 * _1, _4 = _2 * _2;
|
|
4337
|
-
return zoomRho(_1, _2, _4);
|
|
4338
|
-
};
|
|
4339
|
-
|
|
4340
|
-
return zoom;
|
|
4341
|
-
}))(Math.SQRT2, 2, 4);
|
|
4342
|
-
|
|
4343
|
-
function cubehelix(hue) {
|
|
4344
|
-
return (function cubehelixGamma(y) {
|
|
4345
|
-
y = +y;
|
|
4346
|
-
|
|
4347
|
-
function cubehelix(start, end) {
|
|
4348
|
-
var h = hue((start = cubehelix$1(start)).h, (end = cubehelix$1(end)).h),
|
|
4349
|
-
s = nogamma(start.s, end.s),
|
|
4350
|
-
l = nogamma(start.l, end.l),
|
|
4351
|
-
opacity = nogamma(start.opacity, end.opacity);
|
|
4352
|
-
return function(t) {
|
|
4353
|
-
start.h = h(t);
|
|
4354
|
-
start.s = s(t);
|
|
4355
|
-
start.l = l(Math.pow(t, y));
|
|
4356
|
-
start.opacity = opacity(t);
|
|
4357
|
-
return start + "";
|
|
4358
|
-
};
|
|
4359
|
-
}
|
|
4360
|
-
|
|
4361
|
-
cubehelix.gamma = cubehelixGamma;
|
|
4362
|
-
|
|
4363
|
-
return cubehelix;
|
|
4364
|
-
})(1);
|
|
4365
|
-
}
|
|
4366
|
-
|
|
4367
|
-
cubehelix(hue);
|
|
4368
|
-
cubehelix(nogamma);
|
|
4369
|
-
|
|
4370
4084
|
function constants(x) {
|
|
4371
4085
|
return function() {
|
|
4372
4086
|
return x;
|
|
@@ -4422,7 +4136,7 @@ var drawChart = (function (exports) {
|
|
|
4422
4136
|
}
|
|
4423
4137
|
|
|
4424
4138
|
return function(x) {
|
|
4425
|
-
var i =
|
|
4139
|
+
var i = bisect(domain, x, 1, j) - 1;
|
|
4426
4140
|
return r[i](d[i](x));
|
|
4427
4141
|
};
|
|
4428
4142
|
}
|
|
@@ -4658,7 +4372,7 @@ var drawChart = (function (exports) {
|
|
|
4658
4372
|
var map = Array.prototype.map,
|
|
4659
4373
|
prefixes = ["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];
|
|
4660
4374
|
|
|
4661
|
-
function formatLocale
|
|
4375
|
+
function formatLocale(locale) {
|
|
4662
4376
|
var group = locale.grouping === undefined || locale.thousands === undefined ? identity : formatGroup(map.call(locale.grouping, Number), locale.thousands + ""),
|
|
4663
4377
|
currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
|
|
4664
4378
|
currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
|
|
@@ -4795,21 +4509,21 @@ var drawChart = (function (exports) {
|
|
|
4795
4509
|
};
|
|
4796
4510
|
}
|
|
4797
4511
|
|
|
4798
|
-
var locale
|
|
4512
|
+
var locale;
|
|
4799
4513
|
var format;
|
|
4800
4514
|
var formatPrefix;
|
|
4801
4515
|
|
|
4802
|
-
defaultLocale
|
|
4516
|
+
defaultLocale({
|
|
4803
4517
|
thousands: ",",
|
|
4804
4518
|
grouping: [3],
|
|
4805
4519
|
currency: ["$", ""]
|
|
4806
4520
|
});
|
|
4807
4521
|
|
|
4808
|
-
function defaultLocale
|
|
4809
|
-
locale
|
|
4810
|
-
format = locale
|
|
4811
|
-
formatPrefix = locale
|
|
4812
|
-
return locale
|
|
4522
|
+
function defaultLocale(definition) {
|
|
4523
|
+
locale = formatLocale(definition);
|
|
4524
|
+
format = locale.format;
|
|
4525
|
+
formatPrefix = locale.formatPrefix;
|
|
4526
|
+
return locale;
|
|
4813
4527
|
}
|
|
4814
4528
|
|
|
4815
4529
|
function precisionFixed(step) {
|
|
@@ -4918,1055 +4632,6 @@ var drawChart = (function (exports) {
|
|
|
4918
4632
|
return linearish(scale);
|
|
4919
4633
|
}
|
|
4920
4634
|
|
|
4921
|
-
const t0 = new Date, t1 = new Date;
|
|
4922
|
-
|
|
4923
|
-
function timeInterval(floori, offseti, count, field) {
|
|
4924
|
-
|
|
4925
|
-
function interval(date) {
|
|
4926
|
-
return floori(date = arguments.length === 0 ? new Date : new Date(+date)), date;
|
|
4927
|
-
}
|
|
4928
|
-
|
|
4929
|
-
interval.floor = (date) => {
|
|
4930
|
-
return floori(date = new Date(+date)), date;
|
|
4931
|
-
};
|
|
4932
|
-
|
|
4933
|
-
interval.ceil = (date) => {
|
|
4934
|
-
return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
|
|
4935
|
-
};
|
|
4936
|
-
|
|
4937
|
-
interval.round = (date) => {
|
|
4938
|
-
const d0 = interval(date), d1 = interval.ceil(date);
|
|
4939
|
-
return date - d0 < d1 - date ? d0 : d1;
|
|
4940
|
-
};
|
|
4941
|
-
|
|
4942
|
-
interval.offset = (date, step) => {
|
|
4943
|
-
return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
|
|
4944
|
-
};
|
|
4945
|
-
|
|
4946
|
-
interval.range = (start, stop, step) => {
|
|
4947
|
-
const range = [];
|
|
4948
|
-
start = interval.ceil(start);
|
|
4949
|
-
step = step == null ? 1 : Math.floor(step);
|
|
4950
|
-
if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date
|
|
4951
|
-
let previous;
|
|
4952
|
-
do range.push(previous = new Date(+start)), offseti(start, step), floori(start);
|
|
4953
|
-
while (previous < start && start < stop);
|
|
4954
|
-
return range;
|
|
4955
|
-
};
|
|
4956
|
-
|
|
4957
|
-
interval.filter = (test) => {
|
|
4958
|
-
return timeInterval((date) => {
|
|
4959
|
-
if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);
|
|
4960
|
-
}, (date, step) => {
|
|
4961
|
-
if (date >= date) {
|
|
4962
|
-
if (step < 0) while (++step <= 0) {
|
|
4963
|
-
while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty
|
|
4964
|
-
} else while (--step >= 0) {
|
|
4965
|
-
while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty
|
|
4966
|
-
}
|
|
4967
|
-
}
|
|
4968
|
-
});
|
|
4969
|
-
};
|
|
4970
|
-
|
|
4971
|
-
if (count) {
|
|
4972
|
-
interval.count = (start, end) => {
|
|
4973
|
-
t0.setTime(+start), t1.setTime(+end);
|
|
4974
|
-
floori(t0), floori(t1);
|
|
4975
|
-
return Math.floor(count(t0, t1));
|
|
4976
|
-
};
|
|
4977
|
-
|
|
4978
|
-
interval.every = (step) => {
|
|
4979
|
-
step = Math.floor(step);
|
|
4980
|
-
return !isFinite(step) || !(step > 0) ? null
|
|
4981
|
-
: !(step > 1) ? interval
|
|
4982
|
-
: interval.filter(field
|
|
4983
|
-
? (d) => field(d) % step === 0
|
|
4984
|
-
: (d) => interval.count(0, d) % step === 0);
|
|
4985
|
-
};
|
|
4986
|
-
}
|
|
4987
|
-
|
|
4988
|
-
return interval;
|
|
4989
|
-
}
|
|
4990
|
-
|
|
4991
|
-
const millisecond = timeInterval(() => {
|
|
4992
|
-
// noop
|
|
4993
|
-
}, (date, step) => {
|
|
4994
|
-
date.setTime(+date + step);
|
|
4995
|
-
}, (start, end) => {
|
|
4996
|
-
return end - start;
|
|
4997
|
-
});
|
|
4998
|
-
|
|
4999
|
-
// An optimized implementation for this simple case.
|
|
5000
|
-
millisecond.every = (k) => {
|
|
5001
|
-
k = Math.floor(k);
|
|
5002
|
-
if (!isFinite(k) || !(k > 0)) return null;
|
|
5003
|
-
if (!(k > 1)) return millisecond;
|
|
5004
|
-
return timeInterval((date) => {
|
|
5005
|
-
date.setTime(Math.floor(date / k) * k);
|
|
5006
|
-
}, (date, step) => {
|
|
5007
|
-
date.setTime(+date + step * k);
|
|
5008
|
-
}, (start, end) => {
|
|
5009
|
-
return (end - start) / k;
|
|
5010
|
-
});
|
|
5011
|
-
};
|
|
5012
|
-
|
|
5013
|
-
millisecond.range;
|
|
5014
|
-
|
|
5015
|
-
const durationSecond = 1000;
|
|
5016
|
-
const durationMinute = durationSecond * 60;
|
|
5017
|
-
const durationHour = durationMinute * 60;
|
|
5018
|
-
const durationDay = durationHour * 24;
|
|
5019
|
-
const durationWeek = durationDay * 7;
|
|
5020
|
-
|
|
5021
|
-
const second = timeInterval((date) => {
|
|
5022
|
-
date.setTime(date - date.getMilliseconds());
|
|
5023
|
-
}, (date, step) => {
|
|
5024
|
-
date.setTime(+date + step * durationSecond);
|
|
5025
|
-
}, (start, end) => {
|
|
5026
|
-
return (end - start) / durationSecond;
|
|
5027
|
-
}, (date) => {
|
|
5028
|
-
return date.getUTCSeconds();
|
|
5029
|
-
});
|
|
5030
|
-
|
|
5031
|
-
second.range;
|
|
5032
|
-
|
|
5033
|
-
const timeMinute = timeInterval((date) => {
|
|
5034
|
-
date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond);
|
|
5035
|
-
}, (date, step) => {
|
|
5036
|
-
date.setTime(+date + step * durationMinute);
|
|
5037
|
-
}, (start, end) => {
|
|
5038
|
-
return (end - start) / durationMinute;
|
|
5039
|
-
}, (date) => {
|
|
5040
|
-
return date.getMinutes();
|
|
5041
|
-
});
|
|
5042
|
-
|
|
5043
|
-
timeMinute.range;
|
|
5044
|
-
|
|
5045
|
-
const utcMinute = timeInterval((date) => {
|
|
5046
|
-
date.setUTCSeconds(0, 0);
|
|
5047
|
-
}, (date, step) => {
|
|
5048
|
-
date.setTime(+date + step * durationMinute);
|
|
5049
|
-
}, (start, end) => {
|
|
5050
|
-
return (end - start) / durationMinute;
|
|
5051
|
-
}, (date) => {
|
|
5052
|
-
return date.getUTCMinutes();
|
|
5053
|
-
});
|
|
5054
|
-
|
|
5055
|
-
utcMinute.range;
|
|
5056
|
-
|
|
5057
|
-
const timeHour = timeInterval((date) => {
|
|
5058
|
-
date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond - date.getMinutes() * durationMinute);
|
|
5059
|
-
}, (date, step) => {
|
|
5060
|
-
date.setTime(+date + step * durationHour);
|
|
5061
|
-
}, (start, end) => {
|
|
5062
|
-
return (end - start) / durationHour;
|
|
5063
|
-
}, (date) => {
|
|
5064
|
-
return date.getHours();
|
|
5065
|
-
});
|
|
5066
|
-
|
|
5067
|
-
timeHour.range;
|
|
5068
|
-
|
|
5069
|
-
const utcHour = timeInterval((date) => {
|
|
5070
|
-
date.setUTCMinutes(0, 0, 0);
|
|
5071
|
-
}, (date, step) => {
|
|
5072
|
-
date.setTime(+date + step * durationHour);
|
|
5073
|
-
}, (start, end) => {
|
|
5074
|
-
return (end - start) / durationHour;
|
|
5075
|
-
}, (date) => {
|
|
5076
|
-
return date.getUTCHours();
|
|
5077
|
-
});
|
|
5078
|
-
|
|
5079
|
-
utcHour.range;
|
|
5080
|
-
|
|
5081
|
-
const timeDay = timeInterval(
|
|
5082
|
-
date => date.setHours(0, 0, 0, 0),
|
|
5083
|
-
(date, step) => date.setDate(date.getDate() + step),
|
|
5084
|
-
(start, end) => (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationDay,
|
|
5085
|
-
date => date.getDate() - 1
|
|
5086
|
-
);
|
|
5087
|
-
|
|
5088
|
-
timeDay.range;
|
|
5089
|
-
|
|
5090
|
-
const utcDay = timeInterval((date) => {
|
|
5091
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
5092
|
-
}, (date, step) => {
|
|
5093
|
-
date.setUTCDate(date.getUTCDate() + step);
|
|
5094
|
-
}, (start, end) => {
|
|
5095
|
-
return (end - start) / durationDay;
|
|
5096
|
-
}, (date) => {
|
|
5097
|
-
return date.getUTCDate() - 1;
|
|
5098
|
-
});
|
|
5099
|
-
|
|
5100
|
-
utcDay.range;
|
|
5101
|
-
|
|
5102
|
-
const unixDay = timeInterval((date) => {
|
|
5103
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
5104
|
-
}, (date, step) => {
|
|
5105
|
-
date.setUTCDate(date.getUTCDate() + step);
|
|
5106
|
-
}, (start, end) => {
|
|
5107
|
-
return (end - start) / durationDay;
|
|
5108
|
-
}, (date) => {
|
|
5109
|
-
return Math.floor(date / durationDay);
|
|
5110
|
-
});
|
|
5111
|
-
|
|
5112
|
-
unixDay.range;
|
|
5113
|
-
|
|
5114
|
-
function timeWeekday(i) {
|
|
5115
|
-
return timeInterval((date) => {
|
|
5116
|
-
date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
|
|
5117
|
-
date.setHours(0, 0, 0, 0);
|
|
5118
|
-
}, (date, step) => {
|
|
5119
|
-
date.setDate(date.getDate() + step * 7);
|
|
5120
|
-
}, (start, end) => {
|
|
5121
|
-
return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationWeek;
|
|
5122
|
-
});
|
|
5123
|
-
}
|
|
5124
|
-
|
|
5125
|
-
const timeSunday = timeWeekday(0);
|
|
5126
|
-
const timeMonday = timeWeekday(1);
|
|
5127
|
-
const timeTuesday = timeWeekday(2);
|
|
5128
|
-
const timeWednesday = timeWeekday(3);
|
|
5129
|
-
const timeThursday = timeWeekday(4);
|
|
5130
|
-
const timeFriday = timeWeekday(5);
|
|
5131
|
-
const timeSaturday = timeWeekday(6);
|
|
5132
|
-
|
|
5133
|
-
timeSunday.range;
|
|
5134
|
-
timeMonday.range;
|
|
5135
|
-
timeTuesday.range;
|
|
5136
|
-
timeWednesday.range;
|
|
5137
|
-
timeThursday.range;
|
|
5138
|
-
timeFriday.range;
|
|
5139
|
-
timeSaturday.range;
|
|
5140
|
-
|
|
5141
|
-
function utcWeekday(i) {
|
|
5142
|
-
return timeInterval((date) => {
|
|
5143
|
-
date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
|
|
5144
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
5145
|
-
}, (date, step) => {
|
|
5146
|
-
date.setUTCDate(date.getUTCDate() + step * 7);
|
|
5147
|
-
}, (start, end) => {
|
|
5148
|
-
return (end - start) / durationWeek;
|
|
5149
|
-
});
|
|
5150
|
-
}
|
|
5151
|
-
|
|
5152
|
-
const utcSunday = utcWeekday(0);
|
|
5153
|
-
const utcMonday = utcWeekday(1);
|
|
5154
|
-
const utcTuesday = utcWeekday(2);
|
|
5155
|
-
const utcWednesday = utcWeekday(3);
|
|
5156
|
-
const utcThursday = utcWeekday(4);
|
|
5157
|
-
const utcFriday = utcWeekday(5);
|
|
5158
|
-
const utcSaturday = utcWeekday(6);
|
|
5159
|
-
|
|
5160
|
-
utcSunday.range;
|
|
5161
|
-
utcMonday.range;
|
|
5162
|
-
utcTuesday.range;
|
|
5163
|
-
utcWednesday.range;
|
|
5164
|
-
utcThursday.range;
|
|
5165
|
-
utcFriday.range;
|
|
5166
|
-
utcSaturday.range;
|
|
5167
|
-
|
|
5168
|
-
const timeMonth = timeInterval((date) => {
|
|
5169
|
-
date.setDate(1);
|
|
5170
|
-
date.setHours(0, 0, 0, 0);
|
|
5171
|
-
}, (date, step) => {
|
|
5172
|
-
date.setMonth(date.getMonth() + step);
|
|
5173
|
-
}, (start, end) => {
|
|
5174
|
-
return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
|
|
5175
|
-
}, (date) => {
|
|
5176
|
-
return date.getMonth();
|
|
5177
|
-
});
|
|
5178
|
-
|
|
5179
|
-
timeMonth.range;
|
|
5180
|
-
|
|
5181
|
-
const utcMonth = timeInterval((date) => {
|
|
5182
|
-
date.setUTCDate(1);
|
|
5183
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
5184
|
-
}, (date, step) => {
|
|
5185
|
-
date.setUTCMonth(date.getUTCMonth() + step);
|
|
5186
|
-
}, (start, end) => {
|
|
5187
|
-
return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
|
|
5188
|
-
}, (date) => {
|
|
5189
|
-
return date.getUTCMonth();
|
|
5190
|
-
});
|
|
5191
|
-
|
|
5192
|
-
utcMonth.range;
|
|
5193
|
-
|
|
5194
|
-
const timeYear = timeInterval((date) => {
|
|
5195
|
-
date.setMonth(0, 1);
|
|
5196
|
-
date.setHours(0, 0, 0, 0);
|
|
5197
|
-
}, (date, step) => {
|
|
5198
|
-
date.setFullYear(date.getFullYear() + step);
|
|
5199
|
-
}, (start, end) => {
|
|
5200
|
-
return end.getFullYear() - start.getFullYear();
|
|
5201
|
-
}, (date) => {
|
|
5202
|
-
return date.getFullYear();
|
|
5203
|
-
});
|
|
5204
|
-
|
|
5205
|
-
// An optimized implementation for this simple case.
|
|
5206
|
-
timeYear.every = (k) => {
|
|
5207
|
-
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : timeInterval((date) => {
|
|
5208
|
-
date.setFullYear(Math.floor(date.getFullYear() / k) * k);
|
|
5209
|
-
date.setMonth(0, 1);
|
|
5210
|
-
date.setHours(0, 0, 0, 0);
|
|
5211
|
-
}, (date, step) => {
|
|
5212
|
-
date.setFullYear(date.getFullYear() + step * k);
|
|
5213
|
-
});
|
|
5214
|
-
};
|
|
5215
|
-
|
|
5216
|
-
timeYear.range;
|
|
5217
|
-
|
|
5218
|
-
const utcYear = timeInterval((date) => {
|
|
5219
|
-
date.setUTCMonth(0, 1);
|
|
5220
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
5221
|
-
}, (date, step) => {
|
|
5222
|
-
date.setUTCFullYear(date.getUTCFullYear() + step);
|
|
5223
|
-
}, (start, end) => {
|
|
5224
|
-
return end.getUTCFullYear() - start.getUTCFullYear();
|
|
5225
|
-
}, (date) => {
|
|
5226
|
-
return date.getUTCFullYear();
|
|
5227
|
-
});
|
|
5228
|
-
|
|
5229
|
-
// An optimized implementation for this simple case.
|
|
5230
|
-
utcYear.every = (k) => {
|
|
5231
|
-
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : timeInterval((date) => {
|
|
5232
|
-
date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
|
|
5233
|
-
date.setUTCMonth(0, 1);
|
|
5234
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
5235
|
-
}, (date, step) => {
|
|
5236
|
-
date.setUTCFullYear(date.getUTCFullYear() + step * k);
|
|
5237
|
-
});
|
|
5238
|
-
};
|
|
5239
|
-
|
|
5240
|
-
utcYear.range;
|
|
5241
|
-
|
|
5242
|
-
function localDate(d) {
|
|
5243
|
-
if (0 <= d.y && d.y < 100) {
|
|
5244
|
-
var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);
|
|
5245
|
-
date.setFullYear(d.y);
|
|
5246
|
-
return date;
|
|
5247
|
-
}
|
|
5248
|
-
return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);
|
|
5249
|
-
}
|
|
5250
|
-
|
|
5251
|
-
function utcDate(d) {
|
|
5252
|
-
if (0 <= d.y && d.y < 100) {
|
|
5253
|
-
var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));
|
|
5254
|
-
date.setUTCFullYear(d.y);
|
|
5255
|
-
return date;
|
|
5256
|
-
}
|
|
5257
|
-
return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));
|
|
5258
|
-
}
|
|
5259
|
-
|
|
5260
|
-
function newDate(y, m, d) {
|
|
5261
|
-
return {y: y, m: m, d: d, H: 0, M: 0, S: 0, L: 0};
|
|
5262
|
-
}
|
|
5263
|
-
|
|
5264
|
-
function formatLocale(locale) {
|
|
5265
|
-
var locale_dateTime = locale.dateTime,
|
|
5266
|
-
locale_date = locale.date,
|
|
5267
|
-
locale_time = locale.time,
|
|
5268
|
-
locale_periods = locale.periods,
|
|
5269
|
-
locale_weekdays = locale.days,
|
|
5270
|
-
locale_shortWeekdays = locale.shortDays,
|
|
5271
|
-
locale_months = locale.months,
|
|
5272
|
-
locale_shortMonths = locale.shortMonths;
|
|
5273
|
-
|
|
5274
|
-
var periodRe = formatRe(locale_periods),
|
|
5275
|
-
periodLookup = formatLookup(locale_periods),
|
|
5276
|
-
weekdayRe = formatRe(locale_weekdays),
|
|
5277
|
-
weekdayLookup = formatLookup(locale_weekdays),
|
|
5278
|
-
shortWeekdayRe = formatRe(locale_shortWeekdays),
|
|
5279
|
-
shortWeekdayLookup = formatLookup(locale_shortWeekdays),
|
|
5280
|
-
monthRe = formatRe(locale_months),
|
|
5281
|
-
monthLookup = formatLookup(locale_months),
|
|
5282
|
-
shortMonthRe = formatRe(locale_shortMonths),
|
|
5283
|
-
shortMonthLookup = formatLookup(locale_shortMonths);
|
|
5284
|
-
|
|
5285
|
-
var formats = {
|
|
5286
|
-
"a": formatShortWeekday,
|
|
5287
|
-
"A": formatWeekday,
|
|
5288
|
-
"b": formatShortMonth,
|
|
5289
|
-
"B": formatMonth,
|
|
5290
|
-
"c": null,
|
|
5291
|
-
"d": formatDayOfMonth,
|
|
5292
|
-
"e": formatDayOfMonth,
|
|
5293
|
-
"f": formatMicroseconds,
|
|
5294
|
-
"g": formatYearISO,
|
|
5295
|
-
"G": formatFullYearISO,
|
|
5296
|
-
"H": formatHour24,
|
|
5297
|
-
"I": formatHour12,
|
|
5298
|
-
"j": formatDayOfYear,
|
|
5299
|
-
"L": formatMilliseconds,
|
|
5300
|
-
"m": formatMonthNumber,
|
|
5301
|
-
"M": formatMinutes,
|
|
5302
|
-
"p": formatPeriod,
|
|
5303
|
-
"q": formatQuarter,
|
|
5304
|
-
"Q": formatUnixTimestamp,
|
|
5305
|
-
"s": formatUnixTimestampSeconds,
|
|
5306
|
-
"S": formatSeconds,
|
|
5307
|
-
"u": formatWeekdayNumberMonday,
|
|
5308
|
-
"U": formatWeekNumberSunday,
|
|
5309
|
-
"V": formatWeekNumberISO,
|
|
5310
|
-
"w": formatWeekdayNumberSunday,
|
|
5311
|
-
"W": formatWeekNumberMonday,
|
|
5312
|
-
"x": null,
|
|
5313
|
-
"X": null,
|
|
5314
|
-
"y": formatYear,
|
|
5315
|
-
"Y": formatFullYear,
|
|
5316
|
-
"Z": formatZone,
|
|
5317
|
-
"%": formatLiteralPercent
|
|
5318
|
-
};
|
|
5319
|
-
|
|
5320
|
-
var utcFormats = {
|
|
5321
|
-
"a": formatUTCShortWeekday,
|
|
5322
|
-
"A": formatUTCWeekday,
|
|
5323
|
-
"b": formatUTCShortMonth,
|
|
5324
|
-
"B": formatUTCMonth,
|
|
5325
|
-
"c": null,
|
|
5326
|
-
"d": formatUTCDayOfMonth,
|
|
5327
|
-
"e": formatUTCDayOfMonth,
|
|
5328
|
-
"f": formatUTCMicroseconds,
|
|
5329
|
-
"g": formatUTCYearISO,
|
|
5330
|
-
"G": formatUTCFullYearISO,
|
|
5331
|
-
"H": formatUTCHour24,
|
|
5332
|
-
"I": formatUTCHour12,
|
|
5333
|
-
"j": formatUTCDayOfYear,
|
|
5334
|
-
"L": formatUTCMilliseconds,
|
|
5335
|
-
"m": formatUTCMonthNumber,
|
|
5336
|
-
"M": formatUTCMinutes,
|
|
5337
|
-
"p": formatUTCPeriod,
|
|
5338
|
-
"q": formatUTCQuarter,
|
|
5339
|
-
"Q": formatUnixTimestamp,
|
|
5340
|
-
"s": formatUnixTimestampSeconds,
|
|
5341
|
-
"S": formatUTCSeconds,
|
|
5342
|
-
"u": formatUTCWeekdayNumberMonday,
|
|
5343
|
-
"U": formatUTCWeekNumberSunday,
|
|
5344
|
-
"V": formatUTCWeekNumberISO,
|
|
5345
|
-
"w": formatUTCWeekdayNumberSunday,
|
|
5346
|
-
"W": formatUTCWeekNumberMonday,
|
|
5347
|
-
"x": null,
|
|
5348
|
-
"X": null,
|
|
5349
|
-
"y": formatUTCYear,
|
|
5350
|
-
"Y": formatUTCFullYear,
|
|
5351
|
-
"Z": formatUTCZone,
|
|
5352
|
-
"%": formatLiteralPercent
|
|
5353
|
-
};
|
|
5354
|
-
|
|
5355
|
-
var parses = {
|
|
5356
|
-
"a": parseShortWeekday,
|
|
5357
|
-
"A": parseWeekday,
|
|
5358
|
-
"b": parseShortMonth,
|
|
5359
|
-
"B": parseMonth,
|
|
5360
|
-
"c": parseLocaleDateTime,
|
|
5361
|
-
"d": parseDayOfMonth,
|
|
5362
|
-
"e": parseDayOfMonth,
|
|
5363
|
-
"f": parseMicroseconds,
|
|
5364
|
-
"g": parseYear,
|
|
5365
|
-
"G": parseFullYear,
|
|
5366
|
-
"H": parseHour24,
|
|
5367
|
-
"I": parseHour24,
|
|
5368
|
-
"j": parseDayOfYear,
|
|
5369
|
-
"L": parseMilliseconds,
|
|
5370
|
-
"m": parseMonthNumber,
|
|
5371
|
-
"M": parseMinutes,
|
|
5372
|
-
"p": parsePeriod,
|
|
5373
|
-
"q": parseQuarter,
|
|
5374
|
-
"Q": parseUnixTimestamp,
|
|
5375
|
-
"s": parseUnixTimestampSeconds,
|
|
5376
|
-
"S": parseSeconds,
|
|
5377
|
-
"u": parseWeekdayNumberMonday,
|
|
5378
|
-
"U": parseWeekNumberSunday,
|
|
5379
|
-
"V": parseWeekNumberISO,
|
|
5380
|
-
"w": parseWeekdayNumberSunday,
|
|
5381
|
-
"W": parseWeekNumberMonday,
|
|
5382
|
-
"x": parseLocaleDate,
|
|
5383
|
-
"X": parseLocaleTime,
|
|
5384
|
-
"y": parseYear,
|
|
5385
|
-
"Y": parseFullYear,
|
|
5386
|
-
"Z": parseZone,
|
|
5387
|
-
"%": parseLiteralPercent
|
|
5388
|
-
};
|
|
5389
|
-
|
|
5390
|
-
// These recursive directive definitions must be deferred.
|
|
5391
|
-
formats.x = newFormat(locale_date, formats);
|
|
5392
|
-
formats.X = newFormat(locale_time, formats);
|
|
5393
|
-
formats.c = newFormat(locale_dateTime, formats);
|
|
5394
|
-
utcFormats.x = newFormat(locale_date, utcFormats);
|
|
5395
|
-
utcFormats.X = newFormat(locale_time, utcFormats);
|
|
5396
|
-
utcFormats.c = newFormat(locale_dateTime, utcFormats);
|
|
5397
|
-
|
|
5398
|
-
function newFormat(specifier, formats) {
|
|
5399
|
-
return function(date) {
|
|
5400
|
-
var string = [],
|
|
5401
|
-
i = -1,
|
|
5402
|
-
j = 0,
|
|
5403
|
-
n = specifier.length,
|
|
5404
|
-
c,
|
|
5405
|
-
pad,
|
|
5406
|
-
format;
|
|
5407
|
-
|
|
5408
|
-
if (!(date instanceof Date)) date = new Date(+date);
|
|
5409
|
-
|
|
5410
|
-
while (++i < n) {
|
|
5411
|
-
if (specifier.charCodeAt(i) === 37) {
|
|
5412
|
-
string.push(specifier.slice(j, i));
|
|
5413
|
-
if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);
|
|
5414
|
-
else pad = c === "e" ? " " : "0";
|
|
5415
|
-
if (format = formats[c]) c = format(date, pad);
|
|
5416
|
-
string.push(c);
|
|
5417
|
-
j = i + 1;
|
|
5418
|
-
}
|
|
5419
|
-
}
|
|
5420
|
-
|
|
5421
|
-
string.push(specifier.slice(j, i));
|
|
5422
|
-
return string.join("");
|
|
5423
|
-
};
|
|
5424
|
-
}
|
|
5425
|
-
|
|
5426
|
-
function newParse(specifier, Z) {
|
|
5427
|
-
return function(string) {
|
|
5428
|
-
var d = newDate(1900, undefined, 1),
|
|
5429
|
-
i = parseSpecifier(d, specifier, string += "", 0),
|
|
5430
|
-
week, day;
|
|
5431
|
-
if (i != string.length) return null;
|
|
5432
|
-
|
|
5433
|
-
// If a UNIX timestamp is specified, return it.
|
|
5434
|
-
if ("Q" in d) return new Date(d.Q);
|
|
5435
|
-
if ("s" in d) return new Date(d.s * 1000 + ("L" in d ? d.L : 0));
|
|
5436
|
-
|
|
5437
|
-
// If this is utcParse, never use the local timezone.
|
|
5438
|
-
if (Z && !("Z" in d)) d.Z = 0;
|
|
5439
|
-
|
|
5440
|
-
// The am-pm flag is 0 for AM, and 1 for PM.
|
|
5441
|
-
if ("p" in d) d.H = d.H % 12 + d.p * 12;
|
|
5442
|
-
|
|
5443
|
-
// If the month was not specified, inherit from the quarter.
|
|
5444
|
-
if (d.m === undefined) d.m = "q" in d ? d.q : 0;
|
|
5445
|
-
|
|
5446
|
-
// Convert day-of-week and week-of-year to day-of-year.
|
|
5447
|
-
if ("V" in d) {
|
|
5448
|
-
if (d.V < 1 || d.V > 53) return null;
|
|
5449
|
-
if (!("w" in d)) d.w = 1;
|
|
5450
|
-
if ("Z" in d) {
|
|
5451
|
-
week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
|
|
5452
|
-
week = day > 4 || day === 0 ? utcMonday.ceil(week) : utcMonday(week);
|
|
5453
|
-
week = utcDay.offset(week, (d.V - 1) * 7);
|
|
5454
|
-
d.y = week.getUTCFullYear();
|
|
5455
|
-
d.m = week.getUTCMonth();
|
|
5456
|
-
d.d = week.getUTCDate() + (d.w + 6) % 7;
|
|
5457
|
-
} else {
|
|
5458
|
-
week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
|
|
5459
|
-
week = day > 4 || day === 0 ? timeMonday.ceil(week) : timeMonday(week);
|
|
5460
|
-
week = timeDay.offset(week, (d.V - 1) * 7);
|
|
5461
|
-
d.y = week.getFullYear();
|
|
5462
|
-
d.m = week.getMonth();
|
|
5463
|
-
d.d = week.getDate() + (d.w + 6) % 7;
|
|
5464
|
-
}
|
|
5465
|
-
} else if ("W" in d || "U" in d) {
|
|
5466
|
-
if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
|
|
5467
|
-
day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
|
|
5468
|
-
d.m = 0;
|
|
5469
|
-
d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;
|
|
5470
|
-
}
|
|
5471
|
-
|
|
5472
|
-
// If a time zone is specified, all fields are interpreted as UTC and then
|
|
5473
|
-
// offset according to the specified time zone.
|
|
5474
|
-
if ("Z" in d) {
|
|
5475
|
-
d.H += d.Z / 100 | 0;
|
|
5476
|
-
d.M += d.Z % 100;
|
|
5477
|
-
return utcDate(d);
|
|
5478
|
-
}
|
|
5479
|
-
|
|
5480
|
-
// Otherwise, all fields are in local time.
|
|
5481
|
-
return localDate(d);
|
|
5482
|
-
};
|
|
5483
|
-
}
|
|
5484
|
-
|
|
5485
|
-
function parseSpecifier(d, specifier, string, j) {
|
|
5486
|
-
var i = 0,
|
|
5487
|
-
n = specifier.length,
|
|
5488
|
-
m = string.length,
|
|
5489
|
-
c,
|
|
5490
|
-
parse;
|
|
5491
|
-
|
|
5492
|
-
while (i < n) {
|
|
5493
|
-
if (j >= m) return -1;
|
|
5494
|
-
c = specifier.charCodeAt(i++);
|
|
5495
|
-
if (c === 37) {
|
|
5496
|
-
c = specifier.charAt(i++);
|
|
5497
|
-
parse = parses[c in pads ? specifier.charAt(i++) : c];
|
|
5498
|
-
if (!parse || ((j = parse(d, string, j)) < 0)) return -1;
|
|
5499
|
-
} else if (c != string.charCodeAt(j++)) {
|
|
5500
|
-
return -1;
|
|
5501
|
-
}
|
|
5502
|
-
}
|
|
5503
|
-
|
|
5504
|
-
return j;
|
|
5505
|
-
}
|
|
5506
|
-
|
|
5507
|
-
function parsePeriod(d, string, i) {
|
|
5508
|
-
var n = periodRe.exec(string.slice(i));
|
|
5509
|
-
return n ? (d.p = periodLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5510
|
-
}
|
|
5511
|
-
|
|
5512
|
-
function parseShortWeekday(d, string, i) {
|
|
5513
|
-
var n = shortWeekdayRe.exec(string.slice(i));
|
|
5514
|
-
return n ? (d.w = shortWeekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5515
|
-
}
|
|
5516
|
-
|
|
5517
|
-
function parseWeekday(d, string, i) {
|
|
5518
|
-
var n = weekdayRe.exec(string.slice(i));
|
|
5519
|
-
return n ? (d.w = weekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5520
|
-
}
|
|
5521
|
-
|
|
5522
|
-
function parseShortMonth(d, string, i) {
|
|
5523
|
-
var n = shortMonthRe.exec(string.slice(i));
|
|
5524
|
-
return n ? (d.m = shortMonthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5525
|
-
}
|
|
5526
|
-
|
|
5527
|
-
function parseMonth(d, string, i) {
|
|
5528
|
-
var n = monthRe.exec(string.slice(i));
|
|
5529
|
-
return n ? (d.m = monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5530
|
-
}
|
|
5531
|
-
|
|
5532
|
-
function parseLocaleDateTime(d, string, i) {
|
|
5533
|
-
return parseSpecifier(d, locale_dateTime, string, i);
|
|
5534
|
-
}
|
|
5535
|
-
|
|
5536
|
-
function parseLocaleDate(d, string, i) {
|
|
5537
|
-
return parseSpecifier(d, locale_date, string, i);
|
|
5538
|
-
}
|
|
5539
|
-
|
|
5540
|
-
function parseLocaleTime(d, string, i) {
|
|
5541
|
-
return parseSpecifier(d, locale_time, string, i);
|
|
5542
|
-
}
|
|
5543
|
-
|
|
5544
|
-
function formatShortWeekday(d) {
|
|
5545
|
-
return locale_shortWeekdays[d.getDay()];
|
|
5546
|
-
}
|
|
5547
|
-
|
|
5548
|
-
function formatWeekday(d) {
|
|
5549
|
-
return locale_weekdays[d.getDay()];
|
|
5550
|
-
}
|
|
5551
|
-
|
|
5552
|
-
function formatShortMonth(d) {
|
|
5553
|
-
return locale_shortMonths[d.getMonth()];
|
|
5554
|
-
}
|
|
5555
|
-
|
|
5556
|
-
function formatMonth(d) {
|
|
5557
|
-
return locale_months[d.getMonth()];
|
|
5558
|
-
}
|
|
5559
|
-
|
|
5560
|
-
function formatPeriod(d) {
|
|
5561
|
-
return locale_periods[+(d.getHours() >= 12)];
|
|
5562
|
-
}
|
|
5563
|
-
|
|
5564
|
-
function formatQuarter(d) {
|
|
5565
|
-
return 1 + ~~(d.getMonth() / 3);
|
|
5566
|
-
}
|
|
5567
|
-
|
|
5568
|
-
function formatUTCShortWeekday(d) {
|
|
5569
|
-
return locale_shortWeekdays[d.getUTCDay()];
|
|
5570
|
-
}
|
|
5571
|
-
|
|
5572
|
-
function formatUTCWeekday(d) {
|
|
5573
|
-
return locale_weekdays[d.getUTCDay()];
|
|
5574
|
-
}
|
|
5575
|
-
|
|
5576
|
-
function formatUTCShortMonth(d) {
|
|
5577
|
-
return locale_shortMonths[d.getUTCMonth()];
|
|
5578
|
-
}
|
|
5579
|
-
|
|
5580
|
-
function formatUTCMonth(d) {
|
|
5581
|
-
return locale_months[d.getUTCMonth()];
|
|
5582
|
-
}
|
|
5583
|
-
|
|
5584
|
-
function formatUTCPeriod(d) {
|
|
5585
|
-
return locale_periods[+(d.getUTCHours() >= 12)];
|
|
5586
|
-
}
|
|
5587
|
-
|
|
5588
|
-
function formatUTCQuarter(d) {
|
|
5589
|
-
return 1 + ~~(d.getUTCMonth() / 3);
|
|
5590
|
-
}
|
|
5591
|
-
|
|
5592
|
-
return {
|
|
5593
|
-
format: function(specifier) {
|
|
5594
|
-
var f = newFormat(specifier += "", formats);
|
|
5595
|
-
f.toString = function() { return specifier; };
|
|
5596
|
-
return f;
|
|
5597
|
-
},
|
|
5598
|
-
parse: function(specifier) {
|
|
5599
|
-
var p = newParse(specifier += "", false);
|
|
5600
|
-
p.toString = function() { return specifier; };
|
|
5601
|
-
return p;
|
|
5602
|
-
},
|
|
5603
|
-
utcFormat: function(specifier) {
|
|
5604
|
-
var f = newFormat(specifier += "", utcFormats);
|
|
5605
|
-
f.toString = function() { return specifier; };
|
|
5606
|
-
return f;
|
|
5607
|
-
},
|
|
5608
|
-
utcParse: function(specifier) {
|
|
5609
|
-
var p = newParse(specifier += "", true);
|
|
5610
|
-
p.toString = function() { return specifier; };
|
|
5611
|
-
return p;
|
|
5612
|
-
}
|
|
5613
|
-
};
|
|
5614
|
-
}
|
|
5615
|
-
|
|
5616
|
-
var pads = {"-": "", "_": " ", "0": "0"},
|
|
5617
|
-
numberRe = /^\s*\d+/, // note: ignores next directive
|
|
5618
|
-
percentRe = /^%/,
|
|
5619
|
-
requoteRe = /[\\^$*+?|[\]().{}]/g;
|
|
5620
|
-
|
|
5621
|
-
function pad(value, fill, width) {
|
|
5622
|
-
var sign = value < 0 ? "-" : "",
|
|
5623
|
-
string = (sign ? -value : value) + "",
|
|
5624
|
-
length = string.length;
|
|
5625
|
-
return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);
|
|
5626
|
-
}
|
|
5627
|
-
|
|
5628
|
-
function requote(s) {
|
|
5629
|
-
return s.replace(requoteRe, "\\$&");
|
|
5630
|
-
}
|
|
5631
|
-
|
|
5632
|
-
function formatRe(names) {
|
|
5633
|
-
return new RegExp("^(?:" + names.map(requote).join("|") + ")", "i");
|
|
5634
|
-
}
|
|
5635
|
-
|
|
5636
|
-
function formatLookup(names) {
|
|
5637
|
-
return new Map(names.map((name, i) => [name.toLowerCase(), i]));
|
|
5638
|
-
}
|
|
5639
|
-
|
|
5640
|
-
function parseWeekdayNumberSunday(d, string, i) {
|
|
5641
|
-
var n = numberRe.exec(string.slice(i, i + 1));
|
|
5642
|
-
return n ? (d.w = +n[0], i + n[0].length) : -1;
|
|
5643
|
-
}
|
|
5644
|
-
|
|
5645
|
-
function parseWeekdayNumberMonday(d, string, i) {
|
|
5646
|
-
var n = numberRe.exec(string.slice(i, i + 1));
|
|
5647
|
-
return n ? (d.u = +n[0], i + n[0].length) : -1;
|
|
5648
|
-
}
|
|
5649
|
-
|
|
5650
|
-
function parseWeekNumberSunday(d, string, i) {
|
|
5651
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5652
|
-
return n ? (d.U = +n[0], i + n[0].length) : -1;
|
|
5653
|
-
}
|
|
5654
|
-
|
|
5655
|
-
function parseWeekNumberISO(d, string, i) {
|
|
5656
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5657
|
-
return n ? (d.V = +n[0], i + n[0].length) : -1;
|
|
5658
|
-
}
|
|
5659
|
-
|
|
5660
|
-
function parseWeekNumberMonday(d, string, i) {
|
|
5661
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5662
|
-
return n ? (d.W = +n[0], i + n[0].length) : -1;
|
|
5663
|
-
}
|
|
5664
|
-
|
|
5665
|
-
function parseFullYear(d, string, i) {
|
|
5666
|
-
var n = numberRe.exec(string.slice(i, i + 4));
|
|
5667
|
-
return n ? (d.y = +n[0], i + n[0].length) : -1;
|
|
5668
|
-
}
|
|
5669
|
-
|
|
5670
|
-
function parseYear(d, string, i) {
|
|
5671
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5672
|
-
return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;
|
|
5673
|
-
}
|
|
5674
|
-
|
|
5675
|
-
function parseZone(d, string, i) {
|
|
5676
|
-
var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6));
|
|
5677
|
-
return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1;
|
|
5678
|
-
}
|
|
5679
|
-
|
|
5680
|
-
function parseQuarter(d, string, i) {
|
|
5681
|
-
var n = numberRe.exec(string.slice(i, i + 1));
|
|
5682
|
-
return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;
|
|
5683
|
-
}
|
|
5684
|
-
|
|
5685
|
-
function parseMonthNumber(d, string, i) {
|
|
5686
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5687
|
-
return n ? (d.m = n[0] - 1, i + n[0].length) : -1;
|
|
5688
|
-
}
|
|
5689
|
-
|
|
5690
|
-
function parseDayOfMonth(d, string, i) {
|
|
5691
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5692
|
-
return n ? (d.d = +n[0], i + n[0].length) : -1;
|
|
5693
|
-
}
|
|
5694
|
-
|
|
5695
|
-
function parseDayOfYear(d, string, i) {
|
|
5696
|
-
var n = numberRe.exec(string.slice(i, i + 3));
|
|
5697
|
-
return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;
|
|
5698
|
-
}
|
|
5699
|
-
|
|
5700
|
-
function parseHour24(d, string, i) {
|
|
5701
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5702
|
-
return n ? (d.H = +n[0], i + n[0].length) : -1;
|
|
5703
|
-
}
|
|
5704
|
-
|
|
5705
|
-
function parseMinutes(d, string, i) {
|
|
5706
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5707
|
-
return n ? (d.M = +n[0], i + n[0].length) : -1;
|
|
5708
|
-
}
|
|
5709
|
-
|
|
5710
|
-
function parseSeconds(d, string, i) {
|
|
5711
|
-
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5712
|
-
return n ? (d.S = +n[0], i + n[0].length) : -1;
|
|
5713
|
-
}
|
|
5714
|
-
|
|
5715
|
-
function parseMilliseconds(d, string, i) {
|
|
5716
|
-
var n = numberRe.exec(string.slice(i, i + 3));
|
|
5717
|
-
return n ? (d.L = +n[0], i + n[0].length) : -1;
|
|
5718
|
-
}
|
|
5719
|
-
|
|
5720
|
-
function parseMicroseconds(d, string, i) {
|
|
5721
|
-
var n = numberRe.exec(string.slice(i, i + 6));
|
|
5722
|
-
return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;
|
|
5723
|
-
}
|
|
5724
|
-
|
|
5725
|
-
function parseLiteralPercent(d, string, i) {
|
|
5726
|
-
var n = percentRe.exec(string.slice(i, i + 1));
|
|
5727
|
-
return n ? i + n[0].length : -1;
|
|
5728
|
-
}
|
|
5729
|
-
|
|
5730
|
-
function parseUnixTimestamp(d, string, i) {
|
|
5731
|
-
var n = numberRe.exec(string.slice(i));
|
|
5732
|
-
return n ? (d.Q = +n[0], i + n[0].length) : -1;
|
|
5733
|
-
}
|
|
5734
|
-
|
|
5735
|
-
function parseUnixTimestampSeconds(d, string, i) {
|
|
5736
|
-
var n = numberRe.exec(string.slice(i));
|
|
5737
|
-
return n ? (d.s = +n[0], i + n[0].length) : -1;
|
|
5738
|
-
}
|
|
5739
|
-
|
|
5740
|
-
function formatDayOfMonth(d, p) {
|
|
5741
|
-
return pad(d.getDate(), p, 2);
|
|
5742
|
-
}
|
|
5743
|
-
|
|
5744
|
-
function formatHour24(d, p) {
|
|
5745
|
-
return pad(d.getHours(), p, 2);
|
|
5746
|
-
}
|
|
5747
|
-
|
|
5748
|
-
function formatHour12(d, p) {
|
|
5749
|
-
return pad(d.getHours() % 12 || 12, p, 2);
|
|
5750
|
-
}
|
|
5751
|
-
|
|
5752
|
-
function formatDayOfYear(d, p) {
|
|
5753
|
-
return pad(1 + timeDay.count(timeYear(d), d), p, 3);
|
|
5754
|
-
}
|
|
5755
|
-
|
|
5756
|
-
function formatMilliseconds(d, p) {
|
|
5757
|
-
return pad(d.getMilliseconds(), p, 3);
|
|
5758
|
-
}
|
|
5759
|
-
|
|
5760
|
-
function formatMicroseconds(d, p) {
|
|
5761
|
-
return formatMilliseconds(d, p) + "000";
|
|
5762
|
-
}
|
|
5763
|
-
|
|
5764
|
-
function formatMonthNumber(d, p) {
|
|
5765
|
-
return pad(d.getMonth() + 1, p, 2);
|
|
5766
|
-
}
|
|
5767
|
-
|
|
5768
|
-
function formatMinutes(d, p) {
|
|
5769
|
-
return pad(d.getMinutes(), p, 2);
|
|
5770
|
-
}
|
|
5771
|
-
|
|
5772
|
-
function formatSeconds(d, p) {
|
|
5773
|
-
return pad(d.getSeconds(), p, 2);
|
|
5774
|
-
}
|
|
5775
|
-
|
|
5776
|
-
function formatWeekdayNumberMonday(d) {
|
|
5777
|
-
var day = d.getDay();
|
|
5778
|
-
return day === 0 ? 7 : day;
|
|
5779
|
-
}
|
|
5780
|
-
|
|
5781
|
-
function formatWeekNumberSunday(d, p) {
|
|
5782
|
-
return pad(timeSunday.count(timeYear(d) - 1, d), p, 2);
|
|
5783
|
-
}
|
|
5784
|
-
|
|
5785
|
-
function dISO(d) {
|
|
5786
|
-
var day = d.getDay();
|
|
5787
|
-
return (day >= 4 || day === 0) ? timeThursday(d) : timeThursday.ceil(d);
|
|
5788
|
-
}
|
|
5789
|
-
|
|
5790
|
-
function formatWeekNumberISO(d, p) {
|
|
5791
|
-
d = dISO(d);
|
|
5792
|
-
return pad(timeThursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p, 2);
|
|
5793
|
-
}
|
|
5794
|
-
|
|
5795
|
-
function formatWeekdayNumberSunday(d) {
|
|
5796
|
-
return d.getDay();
|
|
5797
|
-
}
|
|
5798
|
-
|
|
5799
|
-
function formatWeekNumberMonday(d, p) {
|
|
5800
|
-
return pad(timeMonday.count(timeYear(d) - 1, d), p, 2);
|
|
5801
|
-
}
|
|
5802
|
-
|
|
5803
|
-
function formatYear(d, p) {
|
|
5804
|
-
return pad(d.getFullYear() % 100, p, 2);
|
|
5805
|
-
}
|
|
5806
|
-
|
|
5807
|
-
function formatYearISO(d, p) {
|
|
5808
|
-
d = dISO(d);
|
|
5809
|
-
return pad(d.getFullYear() % 100, p, 2);
|
|
5810
|
-
}
|
|
5811
|
-
|
|
5812
|
-
function formatFullYear(d, p) {
|
|
5813
|
-
return pad(d.getFullYear() % 10000, p, 4);
|
|
5814
|
-
}
|
|
5815
|
-
|
|
5816
|
-
function formatFullYearISO(d, p) {
|
|
5817
|
-
var day = d.getDay();
|
|
5818
|
-
d = (day >= 4 || day === 0) ? timeThursday(d) : timeThursday.ceil(d);
|
|
5819
|
-
return pad(d.getFullYear() % 10000, p, 4);
|
|
5820
|
-
}
|
|
5821
|
-
|
|
5822
|
-
function formatZone(d) {
|
|
5823
|
-
var z = d.getTimezoneOffset();
|
|
5824
|
-
return (z > 0 ? "-" : (z *= -1, "+"))
|
|
5825
|
-
+ pad(z / 60 | 0, "0", 2)
|
|
5826
|
-
+ pad(z % 60, "0", 2);
|
|
5827
|
-
}
|
|
5828
|
-
|
|
5829
|
-
function formatUTCDayOfMonth(d, p) {
|
|
5830
|
-
return pad(d.getUTCDate(), p, 2);
|
|
5831
|
-
}
|
|
5832
|
-
|
|
5833
|
-
function formatUTCHour24(d, p) {
|
|
5834
|
-
return pad(d.getUTCHours(), p, 2);
|
|
5835
|
-
}
|
|
5836
|
-
|
|
5837
|
-
function formatUTCHour12(d, p) {
|
|
5838
|
-
return pad(d.getUTCHours() % 12 || 12, p, 2);
|
|
5839
|
-
}
|
|
5840
|
-
|
|
5841
|
-
function formatUTCDayOfYear(d, p) {
|
|
5842
|
-
return pad(1 + utcDay.count(utcYear(d), d), p, 3);
|
|
5843
|
-
}
|
|
5844
|
-
|
|
5845
|
-
function formatUTCMilliseconds(d, p) {
|
|
5846
|
-
return pad(d.getUTCMilliseconds(), p, 3);
|
|
5847
|
-
}
|
|
5848
|
-
|
|
5849
|
-
function formatUTCMicroseconds(d, p) {
|
|
5850
|
-
return formatUTCMilliseconds(d, p) + "000";
|
|
5851
|
-
}
|
|
5852
|
-
|
|
5853
|
-
function formatUTCMonthNumber(d, p) {
|
|
5854
|
-
return pad(d.getUTCMonth() + 1, p, 2);
|
|
5855
|
-
}
|
|
5856
|
-
|
|
5857
|
-
function formatUTCMinutes(d, p) {
|
|
5858
|
-
return pad(d.getUTCMinutes(), p, 2);
|
|
5859
|
-
}
|
|
5860
|
-
|
|
5861
|
-
function formatUTCSeconds(d, p) {
|
|
5862
|
-
return pad(d.getUTCSeconds(), p, 2);
|
|
5863
|
-
}
|
|
5864
|
-
|
|
5865
|
-
function formatUTCWeekdayNumberMonday(d) {
|
|
5866
|
-
var dow = d.getUTCDay();
|
|
5867
|
-
return dow === 0 ? 7 : dow;
|
|
5868
|
-
}
|
|
5869
|
-
|
|
5870
|
-
function formatUTCWeekNumberSunday(d, p) {
|
|
5871
|
-
return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);
|
|
5872
|
-
}
|
|
5873
|
-
|
|
5874
|
-
function UTCdISO(d) {
|
|
5875
|
-
var day = d.getUTCDay();
|
|
5876
|
-
return (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
|
|
5877
|
-
}
|
|
5878
|
-
|
|
5879
|
-
function formatUTCWeekNumberISO(d, p) {
|
|
5880
|
-
d = UTCdISO(d);
|
|
5881
|
-
return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
|
|
5882
|
-
}
|
|
5883
|
-
|
|
5884
|
-
function formatUTCWeekdayNumberSunday(d) {
|
|
5885
|
-
return d.getUTCDay();
|
|
5886
|
-
}
|
|
5887
|
-
|
|
5888
|
-
function formatUTCWeekNumberMonday(d, p) {
|
|
5889
|
-
return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);
|
|
5890
|
-
}
|
|
5891
|
-
|
|
5892
|
-
function formatUTCYear(d, p) {
|
|
5893
|
-
return pad(d.getUTCFullYear() % 100, p, 2);
|
|
5894
|
-
}
|
|
5895
|
-
|
|
5896
|
-
function formatUTCYearISO(d, p) {
|
|
5897
|
-
d = UTCdISO(d);
|
|
5898
|
-
return pad(d.getUTCFullYear() % 100, p, 2);
|
|
5899
|
-
}
|
|
5900
|
-
|
|
5901
|
-
function formatUTCFullYear(d, p) {
|
|
5902
|
-
return pad(d.getUTCFullYear() % 10000, p, 4);
|
|
5903
|
-
}
|
|
5904
|
-
|
|
5905
|
-
function formatUTCFullYearISO(d, p) {
|
|
5906
|
-
var day = d.getUTCDay();
|
|
5907
|
-
d = (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
|
|
5908
|
-
return pad(d.getUTCFullYear() % 10000, p, 4);
|
|
5909
|
-
}
|
|
5910
|
-
|
|
5911
|
-
function formatUTCZone() {
|
|
5912
|
-
return "+0000";
|
|
5913
|
-
}
|
|
5914
|
-
|
|
5915
|
-
function formatLiteralPercent() {
|
|
5916
|
-
return "%";
|
|
5917
|
-
}
|
|
5918
|
-
|
|
5919
|
-
function formatUnixTimestamp(d) {
|
|
5920
|
-
return +d;
|
|
5921
|
-
}
|
|
5922
|
-
|
|
5923
|
-
function formatUnixTimestampSeconds(d) {
|
|
5924
|
-
return Math.floor(+d / 1000);
|
|
5925
|
-
}
|
|
5926
|
-
|
|
5927
|
-
var locale;
|
|
5928
|
-
var utcFormat;
|
|
5929
|
-
var utcParse;
|
|
5930
|
-
|
|
5931
|
-
defaultLocale({
|
|
5932
|
-
dateTime: "%x, %X",
|
|
5933
|
-
date: "%-m/%-d/%Y",
|
|
5934
|
-
time: "%-I:%M:%S %p",
|
|
5935
|
-
periods: ["AM", "PM"],
|
|
5936
|
-
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
5937
|
-
shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
5938
|
-
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
|
5939
|
-
shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
|
5940
|
-
});
|
|
5941
|
-
|
|
5942
|
-
function defaultLocale(definition) {
|
|
5943
|
-
locale = formatLocale(definition);
|
|
5944
|
-
locale.format;
|
|
5945
|
-
locale.parse;
|
|
5946
|
-
utcFormat = locale.utcFormat;
|
|
5947
|
-
utcParse = locale.utcParse;
|
|
5948
|
-
return locale;
|
|
5949
|
-
}
|
|
5950
|
-
|
|
5951
|
-
var isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ";
|
|
5952
|
-
|
|
5953
|
-
function formatIsoNative(date) {
|
|
5954
|
-
return date.toISOString();
|
|
5955
|
-
}
|
|
5956
|
-
|
|
5957
|
-
Date.prototype.toISOString
|
|
5958
|
-
? formatIsoNative
|
|
5959
|
-
: utcFormat(isoSpecifier);
|
|
5960
|
-
|
|
5961
|
-
function parseIsoNative(string) {
|
|
5962
|
-
var date = new Date(string);
|
|
5963
|
-
return isNaN(date) ? null : date;
|
|
5964
|
-
}
|
|
5965
|
-
|
|
5966
|
-
+new Date("2000-01-01T00:00:00.000Z")
|
|
5967
|
-
? parseIsoNative
|
|
5968
|
-
: utcParse(isoSpecifier);
|
|
5969
|
-
|
|
5970
4635
|
function transformer() {
|
|
5971
4636
|
var x0 = 0,
|
|
5972
4637
|
x1 = 1,
|
|
@@ -6087,7 +4752,7 @@ var drawChart = (function (exports) {
|
|
|
6087
4752
|
};
|
|
6088
4753
|
};
|
|
6089
4754
|
|
|
6090
|
-
const StaticContext =
|
|
4755
|
+
const StaticContext = F$1({});
|
|
6091
4756
|
const drawChart = (parentNode, data, width, height) => {
|
|
6092
4757
|
const availableSizeProperties = getAvailableSizeOptions(data.options);
|
|
6093
4758
|
console.time("layout create");
|
|
@@ -6131,7 +4796,7 @@ var drawChart = (function (exports) {
|
|
|
6131
4796
|
console.time("color");
|
|
6132
4797
|
const getModuleColor = createRainbowColor(rawHierarchy);
|
|
6133
4798
|
console.timeEnd("color");
|
|
6134
|
-
|
|
4799
|
+
q$1(u$1(StaticContext.Provider, { value: {
|
|
6135
4800
|
data,
|
|
6136
4801
|
availableSizeProperties,
|
|
6137
4802
|
width,
|
|
@@ -6141,7 +4806,7 @@ var drawChart = (function (exports) {
|
|
|
6141
4806
|
getModuleColor,
|
|
6142
4807
|
rawHierarchy,
|
|
6143
4808
|
layout,
|
|
6144
|
-
}
|
|
4809
|
+
}, children: u$1(Main, {}) }), parentNode);
|
|
6145
4810
|
};
|
|
6146
4811
|
|
|
6147
4812
|
exports.StaticContext = StaticContext;
|
|
@@ -6157,7 +4822,7 @@ var drawChart = (function (exports) {
|
|
|
6157
4822
|
</script>
|
|
6158
4823
|
<script>
|
|
6159
4824
|
/*<!--*/
|
|
6160
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"settings-form.umd.js","children":[{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules/react","children":[{"uid":"57fd-170","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"57fd-172","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"57fd-176","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"Users/leto/github/merico-dev/table","children":[{"name":"node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"57fd-174","name":"react-jsx-runtime.production.min.js"},{"uid":"57fd-178","name":"react-jsx-runtime.development.js"}]},{"uid":"57fd-180","name":"jsx-runtime.js"}]},{"name":"dayjs/esm","children":[{"uid":"57fd-198","name":"constant.js"},{"name":"locale/en.js","uid":"57fd-200"},{"uid":"57fd-202","name":"utils.js"},{"uid":"57fd-204","name":"index.js"}]},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"57fd-280"},{"name":"themes/duotoneDark/index.js","uid":"57fd-282"},{"name":"dist/index.js","uid":"57fd-284"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"57fd-286","name":"CopyIcon.js"},{"uid":"57fd-288","name":"prism-theme.js"},{"uid":"57fd-290","name":"Prism.styles.js"},{"uid":"57fd-292","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"57fd-294","name":"PrismTabs.styles.js"},{"uid":"57fd-296","name":"PrismTabs.js"}]},{"uid":"57fd-298","name":"index.js"}]}]},{"name":"shared/src/api-client","children":[{"uid":"57fd-182","name":"utils.ts"},{"uid":"57fd-184","name":"default-api-client.ts"},{"uid":"57fd-186","name":"facade-api-client.ts"}]}]},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"57fd-188","name":"request.ts"},{"uid":"57fd-190","name":"account.ts"},{"uid":"57fd-192","name":"api-key.ts"},{"uid":"57fd-194","name":"datasource.ts"},{"uid":"57fd-196","name":"role.ts"},{"uid":"57fd-206","name":"sql_snippet.ts"},{"uid":"57fd-208","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"57fd-210","name":"styles.ts"},{"name":"add-data-source","children":[{"uid":"57fd-212","name":"db-permission-tips.tsx"},{"name":"forms","children":[{"uid":"57fd-230","name":"database.tsx"},{"uid":"57fd-236","name":"http.tsx"}]},{"uid":"57fd-238","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"57fd-232","name":"function-string-editor.tsx"},{"uid":"57fd-234","name":"index.tsx"}]},{"uid":"57fd-240","name":"data-source-icon.tsx"}]},{"uid":"57fd-242","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"57fd-244"},{"uid":"57fd-246","name":"index.tsx"}]},{"uid":"57fd-248","name":"data-source-list.tsx"}]},{"name":"components","children":[{"uid":"57fd-214","name":"minimal-mocaco-editor.tsx"},{"uid":"57fd-216","name":"submit-form-button.tsx"},{"uid":"57fd-228","name":"with-entry.tsx"}]},{"name":"i18n","children":[{"uid":"57fd-218","name":"en.ts"},{"uid":"57fd-220","name":"zh.ts"},{"uid":"57fd-222","name":"i18n.ts"},{"uid":"57fd-224","name":"i18next-context.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"57fd-226"},{"name":"account","children":[{"uid":"57fd-250","name":"role-selector.tsx"},{"uid":"57fd-252","name":"styles.ts"},{"uid":"57fd-254","name":"add-account.tsx"},{"uid":"57fd-256","name":"delete-account.tsx"},{"uid":"57fd-258","name":"edit-account.tsx"},{"uid":"57fd-260","name":"account-list.tsx"},{"name":"login","children":[{"uid":"57fd-262","name":"form.tsx"},{"uid":"57fd-264","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"57fd-266","name":"styles.ts"},{"uid":"57fd-268","name":"add-api-key.tsx"},{"uid":"57fd-270","name":"delete-api-key.tsx"},{"uid":"57fd-272","name":"api-key-list.tsx"}]},{"name":"sql_snippet","children":[{"uid":"57fd-274","name":"styles.ts"},{"uid":"57fd-276","name":"add-sql_snippet.tsx"},{"uid":"57fd-278","name":"update-sql_snippet.tsx"},{"uid":"57fd-300","name":"delete-sql_snippet.tsx"},{"uid":"57fd-302","name":"sql_snippet-list.tsx"}]},{"uid":"57fd-304","name":"index.ts"}]},{"uid":"57fd-306","name":"package.json"}]}],"isRoot":true},"nodeParts":{"57fd-170":{"renderedLength":33,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-169"},"57fd-172":{"renderedLength":42,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-171"},"57fd-174":{"renderedLength":1217,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-173"},"57fd-176":{"renderedLength":39,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-175"},"57fd-178":{"renderedLength":45245,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-177"},"57fd-180":{"renderedLength":237,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-179"},"57fd-182":{"renderedLength":949,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-181"},"57fd-184":{"renderedLength":2229,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-183"},"57fd-186":{"renderedLength":422,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-185"},"57fd-188":{"renderedLength":426,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-187"},"57fd-190":{"renderedLength":1913,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-189"},"57fd-192":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-191"},"57fd-194":{"renderedLength":730,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-193"},"57fd-196":{"renderedLength":132,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-195"},"57fd-198":{"renderedLength":1011,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-197"},"57fd-200":{"renderedLength":496,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-199"},"57fd-202":{"renderedLength":1623,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-201"},"57fd-204":{"renderedLength":14006,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-203"},"57fd-206":{"renderedLength":1079,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-205"},"57fd-208":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-207"},"57fd-210":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-209"},"57fd-212":{"renderedLength":570,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-211"},"57fd-214":{"renderedLength":682,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-213"},"57fd-216":{"renderedLength":367,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-215"},"57fd-218":{"renderedLength":4266,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-217"},"57fd-220":{"renderedLength":4276,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-219"},"57fd-222":{"renderedLength":253,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-221"},"57fd-224":{"renderedLength":246,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-223"},"57fd-226":{"renderedLength":551,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-225"},"57fd-228":{"renderedLength":625,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-227"},"57fd-230":{"renderedLength":3180,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-229"},"57fd-232":{"renderedLength":502,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-231"},"57fd-234":{"renderedLength":2380,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-233"},"57fd-236":{"renderedLength":2892,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-235"},"57fd-238":{"renderedLength":3065,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-237"},"57fd-240":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-239"},"57fd-242":{"renderedLength":2211,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-241"},"57fd-244":{"renderedLength":2512,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-243"},"57fd-246":{"renderedLength":3542,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-245"},"57fd-248":{"renderedLength":2550,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-247"},"57fd-250":{"renderedLength":1458,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-249"},"57fd-252":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-251"},"57fd-254":{"renderedLength":3799,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-253"},"57fd-256":{"renderedLength":1775,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-255"},"57fd-258":{"renderedLength":4911,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-257"},"57fd-260":{"renderedLength":3049,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-259"},"57fd-262":{"renderedLength":2208,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-261"},"57fd-264":{"renderedLength":397,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-263"},"57fd-266":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-265"},"57fd-268":{"renderedLength":4194,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-267"},"57fd-270":{"renderedLength":1796,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-269"},"57fd-272":{"renderedLength":2907,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-271"},"57fd-274":{"renderedLength":102,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-273"},"57fd-276":{"renderedLength":3369,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-275"},"57fd-278":{"renderedLength":3408,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-277"},"57fd-280":{"renderedLength":148464,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-279"},"57fd-282":{"renderedLength":1767,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-281"},"57fd-284":{"renderedLength":9562,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-283"},"57fd-286":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-285"},"57fd-288":{"renderedLength":3572,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-287"},"57fd-290":{"renderedLength":1430,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-289"},"57fd-292":{"renderedLength":6332,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-291"},"57fd-294":{"renderedLength":1639,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-293"},"57fd-296":{"renderedLength":2707,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-295"},"57fd-298":{"renderedLength":170,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-297"},"57fd-300":{"renderedLength":1805,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-299"},"57fd-302":{"renderedLength":3690,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-301"},"57fd-304":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-303"},"57fd-306":{"renderedLength":29,"gzipLength":0,"brotliLength":0,"metaUid":"57fd-305"}},"nodeMetas":{"57fd-169":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"57fd-170"},"imported":[],"importedBy":[{"uid":"57fd-179"}]},"57fd-171":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"57fd-172"},"imported":[],"importedBy":[{"uid":"57fd-173"}]},"57fd-173":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"57fd-174"},"imported":[{"uid":"57fd-327"},{"uid":"57fd-171"},{"uid":"57fd-330"}],"importedBy":[{"uid":"57fd-179"}]},"57fd-175":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"57fd-176"},"imported":[],"importedBy":[{"uid":"57fd-177"}]},"57fd-177":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"57fd-178"},"imported":[{"uid":"57fd-327"},{"uid":"57fd-175"},{"uid":"57fd-330"}],"importedBy":[{"uid":"57fd-179"}]},"57fd-179":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"57fd-180"},"imported":[{"uid":"57fd-327"},{"uid":"57fd-169"},{"uid":"57fd-173"},{"uid":"57fd-177"}],"importedBy":[{"uid":"57fd-237"},{"uid":"57fd-247"},{"uid":"57fd-241"},{"uid":"57fd-253"},{"uid":"57fd-259"},{"uid":"57fd-255"},{"uid":"57fd-263"},{"uid":"57fd-267"},{"uid":"57fd-271"},{"uid":"57fd-269"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-301"},{"uid":"57fd-299"},{"uid":"57fd-211"},{"uid":"57fd-229"},{"uid":"57fd-235"},{"uid":"57fd-239"},{"uid":"57fd-245"},{"uid":"57fd-249"},{"uid":"57fd-257"},{"uid":"57fd-261"},{"uid":"57fd-213"},{"uid":"57fd-233"},{"uid":"57fd-215"},{"uid":"57fd-227"},{"uid":"57fd-243"},{"uid":"57fd-231"},{"uid":"57fd-223"}]},"57fd-181":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/utils.ts","moduleParts":{"settings-form.umd.js":"57fd-182"},"imported":[{"uid":"57fd-332"}],"importedBy":[{"uid":"57fd-326"},{"uid":"57fd-183"}]},"57fd-183":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/default-api-client.ts","moduleParts":{"settings-form.umd.js":"57fd-184"},"imported":[{"uid":"57fd-333"},{"uid":"57fd-181"},{"uid":"57fd-334"}],"importedBy":[{"uid":"57fd-326"}]},"57fd-185":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/facade-api-client.ts","moduleParts":{"settings-form.umd.js":"57fd-186"},"imported":[],"importedBy":[{"uid":"57fd-326"}]},"57fd-187":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"57fd-188"},"imported":[{"uid":"57fd-316"}],"importedBy":[{"uid":"57fd-303"},{"uid":"57fd-189"},{"uid":"57fd-191"},{"uid":"57fd-193"},{"uid":"57fd-195"},{"uid":"57fd-205"},{"uid":"57fd-227"}]},"57fd-189":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"57fd-190"},"imported":[{"uid":"57fd-187"}],"importedBy":[{"uid":"57fd-207"}]},"57fd-191":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"57fd-192"},"imported":[{"uid":"57fd-187"}],"importedBy":[{"uid":"57fd-207"}]},"57fd-193":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"57fd-194"},"imported":[{"uid":"57fd-187"}],"importedBy":[{"uid":"57fd-207"}]},"57fd-195":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"57fd-196"},"imported":[{"uid":"57fd-187"}],"importedBy":[{"uid":"57fd-207"}]},"57fd-197":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/constant.js","moduleParts":{"settings-form.umd.js":"57fd-198"},"imported":[],"importedBy":[{"uid":"57fd-203"},{"uid":"57fd-201"}]},"57fd-199":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/locale/en.js","moduleParts":{"settings-form.umd.js":"57fd-200"},"imported":[],"importedBy":[{"uid":"57fd-203"}]},"57fd-201":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/utils.js","moduleParts":{"settings-form.umd.js":"57fd-202"},"imported":[{"uid":"57fd-197"}],"importedBy":[{"uid":"57fd-203"}]},"57fd-203":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/index.js","moduleParts":{"settings-form.umd.js":"57fd-204"},"imported":[{"uid":"57fd-197"},{"uid":"57fd-199"},{"uid":"57fd-201"}],"importedBy":[{"uid":"57fd-205"}]},"57fd-205":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"57fd-206"},"imported":[{"uid":"57fd-203"},{"uid":"57fd-187"}],"importedBy":[{"uid":"57fd-207"}]},"57fd-207":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"57fd-208"},"imported":[{"uid":"57fd-189"},{"uid":"57fd-191"},{"uid":"57fd-193"},{"uid":"57fd-195"},{"uid":"57fd-205"}],"importedBy":[{"uid":"57fd-237"},{"uid":"57fd-247"},{"uid":"57fd-241"},{"uid":"57fd-253"},{"uid":"57fd-259"},{"uid":"57fd-255"},{"uid":"57fd-267"},{"uid":"57fd-271"},{"uid":"57fd-269"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-301"},{"uid":"57fd-299"},{"uid":"57fd-245"},{"uid":"57fd-249"},{"uid":"57fd-257"},{"uid":"57fd-261"}]},"57fd-209":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"57fd-210"},"imported":[],"importedBy":[{"uid":"57fd-237"},{"uid":"57fd-247"},{"uid":"57fd-241"},{"uid":"57fd-211"},{"uid":"57fd-229"},{"uid":"57fd-235"},{"uid":"57fd-245"},{"uid":"57fd-243"}]},"57fd-211":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"57fd-212"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-319"},{"uid":"57fd-321"},{"uid":"57fd-209"}],"importedBy":[{"uid":"57fd-237"}]},"57fd-213":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"57fd-214"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-328"}],"importedBy":[{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-323"}]},"57fd-215":{"id":"/src/components/submit-form-button.tsx","moduleParts":{"settings-form.umd.js":"57fd-216"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-319"},{"uid":"57fd-321"}],"importedBy":[{"uid":"57fd-323"}]},"57fd-217":{"id":"/src/i18n/en.ts","moduleParts":{"settings-form.umd.js":"57fd-218"},"imported":[],"importedBy":[{"uid":"57fd-221"}]},"57fd-219":{"id":"/src/i18n/zh.ts","moduleParts":{"settings-form.umd.js":"57fd-220"},"imported":[],"importedBy":[{"uid":"57fd-221"}]},"57fd-221":{"id":"/src/i18n/i18n.ts","moduleParts":{"settings-form.umd.js":"57fd-222"},"imported":[{"uid":"57fd-335"},{"uid":"57fd-321"},{"uid":"57fd-336"},{"uid":"57fd-337"},{"uid":"57fd-217"},{"uid":"57fd-219"}],"importedBy":[{"uid":"57fd-223"}]},"57fd-223":{"id":"/src/i18n/i18next-context.tsx","moduleParts":{"settings-form.umd.js":"57fd-224"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-320"},{"uid":"57fd-321"},{"uid":"57fd-221"}],"importedBy":[{"uid":"57fd-227"}]},"57fd-225":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"57fd-226"},"imported":[{"uid":"57fd-328"},{"uid":"57fd-320"}],"importedBy":[{"uid":"57fd-227"}]},"57fd-227":{"id":"/src/components/with-entry.tsx","moduleParts":{"settings-form.umd.js":"57fd-228"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-320"},{"uid":"57fd-187"},{"uid":"57fd-223"},{"uid":"57fd-225"},{"uid":"57fd-317"}],"importedBy":[{"uid":"57fd-323"}]},"57fd-229":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"57fd-230"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-320"},{"uid":"57fd-325"},{"uid":"57fd-323"},{"uid":"57fd-209"},{"uid":"57fd-321"}],"importedBy":[{"uid":"57fd-237"}]},"57fd-231":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"57fd-232"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-328"}],"importedBy":[{"uid":"57fd-233"}]},"57fd-233":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"57fd-234"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-319"},{"uid":"57fd-322"},{"uid":"57fd-320"},{"uid":"57fd-321"},{"uid":"57fd-231"}],"importedBy":[{"uid":"57fd-235"},{"uid":"57fd-243"}]},"57fd-235":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"57fd-236"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-325"},{"uid":"57fd-209"},{"uid":"57fd-233"},{"uid":"57fd-323"},{"uid":"57fd-321"}],"importedBy":[{"uid":"57fd-237"}]},"57fd-237":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"57fd-238"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-320"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-209"},{"uid":"57fd-211"},{"uid":"57fd-229"},{"uid":"57fd-235"}],"importedBy":[{"uid":"57fd-307"},{"uid":"57fd-247"}]},"57fd-239":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"57fd-240"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-319"},{"uid":"57fd-317"}],"importedBy":[{"uid":"57fd-247"}]},"57fd-241":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"57fd-242"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-324"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-209"}],"importedBy":[{"uid":"57fd-307"},{"uid":"57fd-247"}]},"57fd-243":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"57fd-244"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-325"},{"uid":"57fd-321"},{"uid":"57fd-323"},{"uid":"57fd-233"},{"uid":"57fd-209"}],"importedBy":[{"uid":"57fd-245"}]},"57fd-245":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"57fd-246"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-320"},{"uid":"57fd-207"},{"uid":"57fd-209"},{"uid":"57fd-243"},{"uid":"57fd-321"}],"importedBy":[{"uid":"57fd-247"}]},"57fd-247":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"57fd-248"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-322"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-323"},{"uid":"57fd-237"},{"uid":"57fd-239"},{"uid":"57fd-241"},{"uid":"57fd-245"},{"uid":"57fd-209"}],"importedBy":[{"uid":"57fd-307"}]},"57fd-249":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"57fd-250"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-322"},{"uid":"57fd-320"},{"uid":"57fd-207"},{"uid":"57fd-321"}],"importedBy":[{"uid":"57fd-253"},{"uid":"57fd-267"},{"uid":"57fd-257"}]},"57fd-251":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"57fd-252"},"imported":[],"importedBy":[{"uid":"57fd-253"},{"uid":"57fd-259"},{"uid":"57fd-255"},{"uid":"57fd-263"},{"uid":"57fd-257"},{"uid":"57fd-261"}]},"57fd-253":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"57fd-254"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-318"},{"uid":"57fd-320"},{"uid":"57fd-325"},{"uid":"57fd-319"},{"uid":"57fd-207"},{"uid":"57fd-323"},{"uid":"57fd-249"},{"uid":"57fd-251"},{"uid":"57fd-321"}],"importedBy":[{"uid":"57fd-308"},{"uid":"57fd-259"}]},"57fd-255":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"57fd-256"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-324"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-251"}],"importedBy":[{"uid":"57fd-308"},{"uid":"57fd-259"}]},"57fd-257":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"57fd-258"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-320"},{"uid":"57fd-325"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-323"},{"uid":"57fd-249"},{"uid":"57fd-251"}],"importedBy":[{"uid":"57fd-259"}]},"57fd-259":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"57fd-260"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-322"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-323"},{"uid":"57fd-253"},{"uid":"57fd-255"},{"uid":"57fd-257"},{"uid":"57fd-251"}],"importedBy":[{"uid":"57fd-308"}]},"57fd-261":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"57fd-262"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-318"},{"uid":"57fd-325"},{"uid":"57fd-207"},{"uid":"57fd-251"},{"uid":"57fd-323"},{"uid":"57fd-321"}],"importedBy":[{"uid":"57fd-263"}]},"57fd-263":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"57fd-264"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-323"},{"uid":"57fd-251"},{"uid":"57fd-261"}],"importedBy":[{"uid":"57fd-308"}]},"57fd-265":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"57fd-266"},"imported":[],"importedBy":[{"uid":"57fd-267"},{"uid":"57fd-271"},{"uid":"57fd-269"}]},"57fd-267":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"57fd-268"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-324"},{"uid":"57fd-318"},{"uid":"57fd-320"},{"uid":"57fd-325"},{"uid":"57fd-249"},{"uid":"57fd-207"},{"uid":"57fd-323"},{"uid":"57fd-265"},{"uid":"57fd-321"},{"uid":"57fd-319"}],"importedBy":[{"uid":"57fd-309"},{"uid":"57fd-271"}]},"57fd-269":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"57fd-270"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-324"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-265"}],"importedBy":[{"uid":"57fd-309"},{"uid":"57fd-271"}]},"57fd-271":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"57fd-272"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-322"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-323"},{"uid":"57fd-267"},{"uid":"57fd-269"},{"uid":"57fd-265"}],"importedBy":[{"uid":"57fd-309"}]},"57fd-273":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"57fd-274"},"imported":[],"importedBy":[{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-301"},{"uid":"57fd-299"}]},"57fd-275":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"57fd-276"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-320"},{"uid":"57fd-325"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-323"},{"uid":"57fd-213"},{"uid":"57fd-273"}],"importedBy":[{"uid":"57fd-310"},{"uid":"57fd-301"}]},"57fd-277":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"57fd-278"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-320"},{"uid":"57fd-325"},{"uid":"57fd-207"},{"uid":"57fd-213"},{"uid":"57fd-273"},{"uid":"57fd-323"},{"uid":"57fd-321"}],"importedBy":[{"uid":"57fd-310"},{"uid":"57fd-301"}]},"57fd-279":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"57fd-280"},"imported":[],"importedBy":[{"uid":"57fd-283"}]},"57fd-281":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"57fd-282"},"imported":[],"importedBy":[{"uid":"57fd-283"}]},"57fd-283":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"57fd-284"},"imported":[{"uid":"57fd-279"},{"uid":"57fd-281"},{"uid":"57fd-320"}],"importedBy":[{"uid":"57fd-291"}]},"57fd-285":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"57fd-286"},"imported":[{"uid":"57fd-320"}],"importedBy":[{"uid":"57fd-291"}]},"57fd-287":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"57fd-288"},"imported":[],"importedBy":[{"uid":"57fd-291"}]},"57fd-289":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"57fd-290"},"imported":[{"uid":"57fd-317"}],"importedBy":[{"uid":"57fd-291"}]},"57fd-291":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"57fd-292"},"imported":[{"uid":"57fd-320"},{"uid":"57fd-283"},{"uid":"57fd-317"},{"uid":"57fd-331"},{"uid":"57fd-285"},{"uid":"57fd-287"},{"uid":"57fd-289"}],"importedBy":[{"uid":"57fd-297"},{"uid":"57fd-295"}]},"57fd-293":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"57fd-294"},"imported":[{"uid":"57fd-317"}],"importedBy":[{"uid":"57fd-295"}]},"57fd-295":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"57fd-296"},"imported":[{"uid":"57fd-320"},{"uid":"57fd-317"},{"uid":"57fd-291"},{"uid":"57fd-293"}],"importedBy":[{"uid":"57fd-297"}]},"57fd-297":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"57fd-298"},"imported":[{"uid":"57fd-317"},{"uid":"57fd-295"},{"uid":"57fd-291"}],"importedBy":[{"uid":"57fd-301"}]},"57fd-299":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"57fd-300"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-324"},{"uid":"57fd-318"},{"uid":"57fd-319"},{"uid":"57fd-321"},{"uid":"57fd-207"},{"uid":"57fd-273"}],"importedBy":[{"uid":"57fd-310"},{"uid":"57fd-301"}]},"57fd-301":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"57fd-302"},"imported":[{"uid":"57fd-179"},{"uid":"57fd-317"},{"uid":"57fd-297"},{"uid":"57fd-322"},{"uid":"57fd-207"},{"uid":"57fd-275"},{"uid":"57fd-299"},{"uid":"57fd-273"},{"uid":"57fd-319"},{"uid":"57fd-321"},{"uid":"57fd-323"},{"uid":"57fd-277"}],"importedBy":[{"uid":"57fd-310"}]},"57fd-303":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"57fd-304"},"imported":[{"uid":"57fd-307"},{"uid":"57fd-308"},{"uid":"57fd-309"},{"uid":"57fd-310"},{"uid":"57fd-187"},{"uid":"57fd-311"},{"uid":"57fd-312"},{"uid":"57fd-313"},{"uid":"57fd-314"},{"uid":"57fd-315"},{"uid":"57fd-305","dynamic":true}],"importedBy":[],"isEntry":true},"57fd-305":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"57fd-306"},"imported":[],"importedBy":[{"uid":"57fd-303"}]},"57fd-307":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"57fd-237"},{"uid":"57fd-247"},{"uid":"57fd-241"}],"importedBy":[{"uid":"57fd-303"}]},"57fd-308":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"57fd-253"},{"uid":"57fd-259"},{"uid":"57fd-255"},{"uid":"57fd-263"}],"importedBy":[{"uid":"57fd-303"}]},"57fd-309":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"57fd-267"},{"uid":"57fd-271"},{"uid":"57fd-269"}],"importedBy":[{"uid":"57fd-303"}]},"57fd-310":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-301"},{"uid":"57fd-299"}],"importedBy":[{"uid":"57fd-303"}]},"57fd-311":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-303"}]},"57fd-312":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-303"}]},"57fd-313":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-303"}]},"57fd-314":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-303"}]},"57fd-315":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-303"}]},"57fd-316":{"id":"/Users/leto/github/merico-dev/table/shared/src/index.ts","moduleParts":{},"imported":[{"uid":"57fd-326"}],"importedBy":[{"uid":"57fd-187"}]},"57fd-317":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-237"},{"uid":"57fd-247"},{"uid":"57fd-241"},{"uid":"57fd-253"},{"uid":"57fd-259"},{"uid":"57fd-255"},{"uid":"57fd-263"},{"uid":"57fd-267"},{"uid":"57fd-271"},{"uid":"57fd-269"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-301"},{"uid":"57fd-299"},{"uid":"57fd-211"},{"uid":"57fd-229"},{"uid":"57fd-235"},{"uid":"57fd-239"},{"uid":"57fd-245"},{"uid":"57fd-249"},{"uid":"57fd-257"},{"uid":"57fd-261"},{"uid":"57fd-297"},{"uid":"57fd-233"},{"uid":"57fd-215"},{"uid":"57fd-227"},{"uid":"57fd-243"},{"uid":"57fd-295"},{"uid":"57fd-291"},{"uid":"57fd-231"},{"uid":"57fd-293"},{"uid":"57fd-289"}],"isExternal":true},"57fd-318":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-237"},{"uid":"57fd-241"},{"uid":"57fd-253"},{"uid":"57fd-255"},{"uid":"57fd-267"},{"uid":"57fd-269"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-299"},{"uid":"57fd-245"},{"uid":"57fd-257"},{"uid":"57fd-261"}],"isExternal":true},"57fd-319":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-237"},{"uid":"57fd-241"},{"uid":"57fd-253"},{"uid":"57fd-255"},{"uid":"57fd-267"},{"uid":"57fd-269"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-301"},{"uid":"57fd-299"},{"uid":"57fd-211"},{"uid":"57fd-239"},{"uid":"57fd-245"},{"uid":"57fd-257"},{"uid":"57fd-233"},{"uid":"57fd-215"}],"isExternal":true},"57fd-320":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-237"},{"uid":"57fd-253"},{"uid":"57fd-267"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-229"},{"uid":"57fd-245"},{"uid":"57fd-249"},{"uid":"57fd-257"},{"uid":"57fd-233"},{"uid":"57fd-227"},{"uid":"57fd-295"},{"uid":"57fd-291"},{"uid":"57fd-330"},{"uid":"57fd-223"},{"uid":"57fd-225"},{"uid":"57fd-283"},{"uid":"57fd-285"}],"isExternal":true},"57fd-321":{"id":"react-i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-237"},{"uid":"57fd-247"},{"uid":"57fd-241"},{"uid":"57fd-253"},{"uid":"57fd-259"},{"uid":"57fd-255"},{"uid":"57fd-267"},{"uid":"57fd-271"},{"uid":"57fd-269"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-301"},{"uid":"57fd-299"},{"uid":"57fd-211"},{"uid":"57fd-229"},{"uid":"57fd-235"},{"uid":"57fd-245"},{"uid":"57fd-249"},{"uid":"57fd-257"},{"uid":"57fd-261"},{"uid":"57fd-233"},{"uid":"57fd-215"},{"uid":"57fd-243"},{"uid":"57fd-223"},{"uid":"57fd-221"}],"isExternal":true},"57fd-322":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-247"},{"uid":"57fd-259"},{"uid":"57fd-271"},{"uid":"57fd-301"},{"uid":"57fd-249"},{"uid":"57fd-233"}],"isExternal":true},"57fd-323":{"id":"/src/components/index.ts","moduleParts":{},"imported":[{"uid":"57fd-213"},{"uid":"57fd-215"},{"uid":"57fd-227"}],"importedBy":[{"uid":"57fd-247"},{"uid":"57fd-253"},{"uid":"57fd-259"},{"uid":"57fd-263"},{"uid":"57fd-267"},{"uid":"57fd-271"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-301"},{"uid":"57fd-229"},{"uid":"57fd-235"},{"uid":"57fd-257"},{"uid":"57fd-261"},{"uid":"57fd-243"}]},"57fd-324":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-241"},{"uid":"57fd-255"},{"uid":"57fd-267"},{"uid":"57fd-269"},{"uid":"57fd-299"}],"isExternal":true},"57fd-325":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-253"},{"uid":"57fd-267"},{"uid":"57fd-275"},{"uid":"57fd-277"},{"uid":"57fd-229"},{"uid":"57fd-235"},{"uid":"57fd-257"},{"uid":"57fd-261"},{"uid":"57fd-243"}],"isExternal":true},"57fd-326":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/index.ts","moduleParts":{},"imported":[{"uid":"57fd-329"},{"uid":"57fd-181"},{"uid":"57fd-183"},{"uid":"57fd-185"}],"importedBy":[{"uid":"57fd-316"}]},"57fd-327":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-179"},{"uid":"57fd-173"},{"uid":"57fd-177"}]},"57fd-328":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-213"},{"uid":"57fd-231"},{"uid":"57fd-225"}],"isExternal":true},"57fd-329":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-326"}]},"57fd-330":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"57fd-320"}],"importedBy":[{"uid":"57fd-173"},{"uid":"57fd-177"}]},"57fd-331":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-291"}],"isExternal":true},"57fd-332":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-181"}],"isExternal":true},"57fd-333":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-183"}],"isExternal":true},"57fd-334":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-183"}],"isExternal":true},"57fd-335":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-221"}],"isExternal":true},"57fd-336":{"id":"i18next-browser-languagedetector","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-221"}],"isExternal":true},"57fd-337":{"id":"intl-pluralrules","moduleParts":{},"imported":[],"importedBy":[{"uid":"57fd-221"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
4825
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"settings-form.umd.js","children":[{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules/react","children":[{"uid":"1233c861-1","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"1233c861-3","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"1233c861-7","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"Users/leto/github/merico-dev/table","children":[{"name":"node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"1233c861-5","name":"react-jsx-runtime.production.min.js"},{"uid":"1233c861-9","name":"react-jsx-runtime.development.js"}]},{"uid":"1233c861-11","name":"jsx-runtime.js"}]},{"name":"dayjs/esm","children":[{"uid":"1233c861-29","name":"constant.js"},{"name":"locale/en.js","uid":"1233c861-31"},{"uid":"1233c861-33","name":"utils.js"},{"uid":"1233c861-35","name":"index.js"}]},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"1233c861-111"},{"name":"themes/duotoneDark/index.js","uid":"1233c861-113"},{"name":"dist/index.js","uid":"1233c861-115"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"1233c861-117","name":"CopyIcon.js"},{"uid":"1233c861-119","name":"prism-theme.js"},{"uid":"1233c861-121","name":"Prism.styles.js"},{"uid":"1233c861-123","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"1233c861-125","name":"PrismTabs.styles.js"},{"uid":"1233c861-127","name":"PrismTabs.js"}]},{"uid":"1233c861-129","name":"index.js"}]}]},{"name":"shared/src/api-client","children":[{"uid":"1233c861-13","name":"utils.ts"},{"uid":"1233c861-15","name":"default-api-client.ts"},{"uid":"1233c861-17","name":"facade-api-client.ts"}]}]},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"1233c861-19","name":"request.ts"},{"uid":"1233c861-21","name":"account.ts"},{"uid":"1233c861-23","name":"api-key.ts"},{"uid":"1233c861-25","name":"datasource.ts"},{"uid":"1233c861-27","name":"role.ts"},{"uid":"1233c861-37","name":"sql_snippet.ts"},{"uid":"1233c861-39","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"1233c861-41","name":"styles.ts"},{"name":"add-data-source","children":[{"uid":"1233c861-43","name":"db-permission-tips.tsx"},{"name":"forms","children":[{"uid":"1233c861-61","name":"database.tsx"},{"uid":"1233c861-67","name":"http.tsx"}]},{"uid":"1233c861-69","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"1233c861-63","name":"function-string-editor.tsx"},{"uid":"1233c861-65","name":"index.tsx"}]},{"uid":"1233c861-71","name":"data-source-icon.tsx"}]},{"uid":"1233c861-73","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"1233c861-75"},{"uid":"1233c861-77","name":"index.tsx"}]},{"uid":"1233c861-79","name":"data-source-list.tsx"}]},{"name":"components","children":[{"uid":"1233c861-45","name":"minimal-mocaco-editor.tsx"},{"uid":"1233c861-47","name":"submit-form-button.tsx"},{"uid":"1233c861-59","name":"with-entry.tsx"}]},{"name":"i18n","children":[{"uid":"1233c861-49","name":"en.ts"},{"uid":"1233c861-51","name":"zh.ts"},{"uid":"1233c861-53","name":"i18n.ts"},{"uid":"1233c861-55","name":"i18next-context.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"1233c861-57"},{"name":"account","children":[{"uid":"1233c861-81","name":"role-selector.tsx"},{"uid":"1233c861-83","name":"styles.ts"},{"uid":"1233c861-85","name":"add-account.tsx"},{"uid":"1233c861-87","name":"delete-account.tsx"},{"uid":"1233c861-89","name":"edit-account.tsx"},{"uid":"1233c861-91","name":"account-list.tsx"},{"name":"login","children":[{"uid":"1233c861-93","name":"form.tsx"},{"uid":"1233c861-95","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"1233c861-97","name":"styles.ts"},{"uid":"1233c861-99","name":"add-api-key.tsx"},{"uid":"1233c861-101","name":"delete-api-key.tsx"},{"uid":"1233c861-103","name":"api-key-list.tsx"}]},{"name":"sql_snippet","children":[{"uid":"1233c861-105","name":"styles.ts"},{"uid":"1233c861-107","name":"add-sql_snippet.tsx"},{"uid":"1233c861-109","name":"update-sql_snippet.tsx"},{"uid":"1233c861-131","name":"delete-sql_snippet.tsx"},{"uid":"1233c861-133","name":"sql_snippet-list.tsx"}]},{"uid":"1233c861-135","name":"index.ts"}]},{"uid":"1233c861-137","name":"package.json"}]}],"isRoot":true},"nodeParts":{"1233c861-1":{"renderedLength":33,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-0"},"1233c861-3":{"renderedLength":42,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-2"},"1233c861-5":{"renderedLength":1217,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-4"},"1233c861-7":{"renderedLength":39,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-6"},"1233c861-9":{"renderedLength":45245,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-8"},"1233c861-11":{"renderedLength":237,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-10"},"1233c861-13":{"renderedLength":949,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-12"},"1233c861-15":{"renderedLength":2229,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-14"},"1233c861-17":{"renderedLength":422,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-16"},"1233c861-19":{"renderedLength":426,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-18"},"1233c861-21":{"renderedLength":1913,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-20"},"1233c861-23":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-22"},"1233c861-25":{"renderedLength":730,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-24"},"1233c861-27":{"renderedLength":132,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-26"},"1233c861-29":{"renderedLength":1011,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-28"},"1233c861-31":{"renderedLength":496,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-30"},"1233c861-33":{"renderedLength":1623,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-32"},"1233c861-35":{"renderedLength":14006,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-34"},"1233c861-37":{"renderedLength":1079,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-36"},"1233c861-39":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-38"},"1233c861-41":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-40"},"1233c861-43":{"renderedLength":570,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-42"},"1233c861-45":{"renderedLength":682,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-44"},"1233c861-47":{"renderedLength":367,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-46"},"1233c861-49":{"renderedLength":4266,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-48"},"1233c861-51":{"renderedLength":4276,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-50"},"1233c861-53":{"renderedLength":253,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-52"},"1233c861-55":{"renderedLength":246,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-54"},"1233c861-57":{"renderedLength":551,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-56"},"1233c861-59":{"renderedLength":625,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-58"},"1233c861-61":{"renderedLength":3107,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-60"},"1233c861-63":{"renderedLength":502,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-62"},"1233c861-65":{"renderedLength":2380,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-64"},"1233c861-67":{"renderedLength":2892,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-66"},"1233c861-69":{"renderedLength":3065,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-68"},"1233c861-71":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-70"},"1233c861-73":{"renderedLength":2211,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-72"},"1233c861-75":{"renderedLength":2512,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-74"},"1233c861-77":{"renderedLength":3542,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-76"},"1233c861-79":{"renderedLength":2550,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-78"},"1233c861-81":{"renderedLength":1458,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-80"},"1233c861-83":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-82"},"1233c861-85":{"renderedLength":3799,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-84"},"1233c861-87":{"renderedLength":1775,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-86"},"1233c861-89":{"renderedLength":4911,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-88"},"1233c861-91":{"renderedLength":3049,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-90"},"1233c861-93":{"renderedLength":2208,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-92"},"1233c861-95":{"renderedLength":397,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-94"},"1233c861-97":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-96"},"1233c861-99":{"renderedLength":4194,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-98"},"1233c861-101":{"renderedLength":1796,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-100"},"1233c861-103":{"renderedLength":2907,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-102"},"1233c861-105":{"renderedLength":102,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-104"},"1233c861-107":{"renderedLength":3369,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-106"},"1233c861-109":{"renderedLength":3408,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-108"},"1233c861-111":{"renderedLength":148464,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-110"},"1233c861-113":{"renderedLength":1767,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-112"},"1233c861-115":{"renderedLength":9562,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-114"},"1233c861-117":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-116"},"1233c861-119":{"renderedLength":3572,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-118"},"1233c861-121":{"renderedLength":1430,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-120"},"1233c861-123":{"renderedLength":6332,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-122"},"1233c861-125":{"renderedLength":1639,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-124"},"1233c861-127":{"renderedLength":2707,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-126"},"1233c861-129":{"renderedLength":170,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-128"},"1233c861-131":{"renderedLength":1805,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-130"},"1233c861-133":{"renderedLength":3690,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-132"},"1233c861-135":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-134"},"1233c861-137":{"renderedLength":29,"gzipLength":0,"brotliLength":0,"metaUid":"1233c861-136"}},"nodeMetas":{"1233c861-0":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"1233c861-1"},"imported":[],"importedBy":[{"uid":"1233c861-10"}]},"1233c861-2":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"1233c861-3"},"imported":[],"importedBy":[{"uid":"1233c861-4"}]},"1233c861-4":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"1233c861-5"},"imported":[{"uid":"1233c861-158"},{"uid":"1233c861-2"},{"uid":"1233c861-161"}],"importedBy":[{"uid":"1233c861-10"}]},"1233c861-6":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"1233c861-7"},"imported":[],"importedBy":[{"uid":"1233c861-8"}]},"1233c861-8":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"1233c861-9"},"imported":[{"uid":"1233c861-158"},{"uid":"1233c861-6"},{"uid":"1233c861-161"}],"importedBy":[{"uid":"1233c861-10"}]},"1233c861-10":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"1233c861-11"},"imported":[{"uid":"1233c861-158"},{"uid":"1233c861-0"},{"uid":"1233c861-4"},{"uid":"1233c861-8"}],"importedBy":[{"uid":"1233c861-68"},{"uid":"1233c861-78"},{"uid":"1233c861-72"},{"uid":"1233c861-84"},{"uid":"1233c861-90"},{"uid":"1233c861-86"},{"uid":"1233c861-94"},{"uid":"1233c861-98"},{"uid":"1233c861-102"},{"uid":"1233c861-100"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-132"},{"uid":"1233c861-130"},{"uid":"1233c861-42"},{"uid":"1233c861-60"},{"uid":"1233c861-66"},{"uid":"1233c861-70"},{"uid":"1233c861-76"},{"uid":"1233c861-80"},{"uid":"1233c861-88"},{"uid":"1233c861-92"},{"uid":"1233c861-44"},{"uid":"1233c861-64"},{"uid":"1233c861-46"},{"uid":"1233c861-58"},{"uid":"1233c861-74"},{"uid":"1233c861-62"},{"uid":"1233c861-54"}]},"1233c861-12":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/utils.ts","moduleParts":{"settings-form.umd.js":"1233c861-13"},"imported":[{"uid":"1233c861-163"}],"importedBy":[{"uid":"1233c861-157"},{"uid":"1233c861-14"}]},"1233c861-14":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/default-api-client.ts","moduleParts":{"settings-form.umd.js":"1233c861-15"},"imported":[{"uid":"1233c861-164"},{"uid":"1233c861-12"},{"uid":"1233c861-165"}],"importedBy":[{"uid":"1233c861-157"}]},"1233c861-16":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/facade-api-client.ts","moduleParts":{"settings-form.umd.js":"1233c861-17"},"imported":[],"importedBy":[{"uid":"1233c861-157"}]},"1233c861-18":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"1233c861-19"},"imported":[{"uid":"1233c861-147"}],"importedBy":[{"uid":"1233c861-134"},{"uid":"1233c861-20"},{"uid":"1233c861-22"},{"uid":"1233c861-24"},{"uid":"1233c861-26"},{"uid":"1233c861-36"},{"uid":"1233c861-58"}]},"1233c861-20":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"1233c861-21"},"imported":[{"uid":"1233c861-18"}],"importedBy":[{"uid":"1233c861-38"}]},"1233c861-22":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"1233c861-23"},"imported":[{"uid":"1233c861-18"}],"importedBy":[{"uid":"1233c861-38"}]},"1233c861-24":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"1233c861-25"},"imported":[{"uid":"1233c861-18"}],"importedBy":[{"uid":"1233c861-38"}]},"1233c861-26":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"1233c861-27"},"imported":[{"uid":"1233c861-18"}],"importedBy":[{"uid":"1233c861-38"}]},"1233c861-28":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/constant.js","moduleParts":{"settings-form.umd.js":"1233c861-29"},"imported":[],"importedBy":[{"uid":"1233c861-34"},{"uid":"1233c861-32"}]},"1233c861-30":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/locale/en.js","moduleParts":{"settings-form.umd.js":"1233c861-31"},"imported":[],"importedBy":[{"uid":"1233c861-34"}]},"1233c861-32":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/utils.js","moduleParts":{"settings-form.umd.js":"1233c861-33"},"imported":[{"uid":"1233c861-28"}],"importedBy":[{"uid":"1233c861-34"}]},"1233c861-34":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/index.js","moduleParts":{"settings-form.umd.js":"1233c861-35"},"imported":[{"uid":"1233c861-28"},{"uid":"1233c861-30"},{"uid":"1233c861-32"}],"importedBy":[{"uid":"1233c861-36"}]},"1233c861-36":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"1233c861-37"},"imported":[{"uid":"1233c861-34"},{"uid":"1233c861-18"}],"importedBy":[{"uid":"1233c861-38"}]},"1233c861-38":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"1233c861-39"},"imported":[{"uid":"1233c861-20"},{"uid":"1233c861-22"},{"uid":"1233c861-24"},{"uid":"1233c861-26"},{"uid":"1233c861-36"}],"importedBy":[{"uid":"1233c861-68"},{"uid":"1233c861-78"},{"uid":"1233c861-72"},{"uid":"1233c861-84"},{"uid":"1233c861-90"},{"uid":"1233c861-86"},{"uid":"1233c861-98"},{"uid":"1233c861-102"},{"uid":"1233c861-100"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-132"},{"uid":"1233c861-130"},{"uid":"1233c861-76"},{"uid":"1233c861-80"},{"uid":"1233c861-88"},{"uid":"1233c861-92"}]},"1233c861-40":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"1233c861-41"},"imported":[],"importedBy":[{"uid":"1233c861-68"},{"uid":"1233c861-78"},{"uid":"1233c861-72"},{"uid":"1233c861-42"},{"uid":"1233c861-60"},{"uid":"1233c861-66"},{"uid":"1233c861-76"},{"uid":"1233c861-74"}]},"1233c861-42":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"1233c861-43"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-150"},{"uid":"1233c861-152"},{"uid":"1233c861-40"}],"importedBy":[{"uid":"1233c861-68"}]},"1233c861-44":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"1233c861-45"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-159"}],"importedBy":[{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-154"}]},"1233c861-46":{"id":"/src/components/submit-form-button.tsx","moduleParts":{"settings-form.umd.js":"1233c861-47"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-150"},{"uid":"1233c861-152"}],"importedBy":[{"uid":"1233c861-154"}]},"1233c861-48":{"id":"/src/i18n/en.ts","moduleParts":{"settings-form.umd.js":"1233c861-49"},"imported":[],"importedBy":[{"uid":"1233c861-52"}]},"1233c861-50":{"id":"/src/i18n/zh.ts","moduleParts":{"settings-form.umd.js":"1233c861-51"},"imported":[],"importedBy":[{"uid":"1233c861-52"}]},"1233c861-52":{"id":"/src/i18n/i18n.ts","moduleParts":{"settings-form.umd.js":"1233c861-53"},"imported":[{"uid":"1233c861-166"},{"uid":"1233c861-152"},{"uid":"1233c861-167"},{"uid":"1233c861-168"},{"uid":"1233c861-48"},{"uid":"1233c861-50"}],"importedBy":[{"uid":"1233c861-54"}]},"1233c861-54":{"id":"/src/i18n/i18next-context.tsx","moduleParts":{"settings-form.umd.js":"1233c861-55"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-151"},{"uid":"1233c861-152"},{"uid":"1233c861-52"}],"importedBy":[{"uid":"1233c861-58"}]},"1233c861-56":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"1233c861-57"},"imported":[{"uid":"1233c861-159"},{"uid":"1233c861-151"}],"importedBy":[{"uid":"1233c861-58"}]},"1233c861-58":{"id":"/src/components/with-entry.tsx","moduleParts":{"settings-form.umd.js":"1233c861-59"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-151"},{"uid":"1233c861-18"},{"uid":"1233c861-54"},{"uid":"1233c861-56"},{"uid":"1233c861-148"}],"importedBy":[{"uid":"1233c861-154"}]},"1233c861-60":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"1233c861-61"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-151"},{"uid":"1233c861-156"},{"uid":"1233c861-154"},{"uid":"1233c861-40"},{"uid":"1233c861-152"}],"importedBy":[{"uid":"1233c861-68"}]},"1233c861-62":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"1233c861-63"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-159"}],"importedBy":[{"uid":"1233c861-64"}]},"1233c861-64":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"1233c861-65"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-150"},{"uid":"1233c861-153"},{"uid":"1233c861-151"},{"uid":"1233c861-152"},{"uid":"1233c861-62"}],"importedBy":[{"uid":"1233c861-66"},{"uid":"1233c861-74"}]},"1233c861-66":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"1233c861-67"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-156"},{"uid":"1233c861-40"},{"uid":"1233c861-64"},{"uid":"1233c861-154"},{"uid":"1233c861-152"}],"importedBy":[{"uid":"1233c861-68"}]},"1233c861-68":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"1233c861-69"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-151"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-40"},{"uid":"1233c861-42"},{"uid":"1233c861-60"},{"uid":"1233c861-66"}],"importedBy":[{"uid":"1233c861-138"},{"uid":"1233c861-78"}]},"1233c861-70":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"1233c861-71"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-150"},{"uid":"1233c861-148"}],"importedBy":[{"uid":"1233c861-78"}]},"1233c861-72":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"1233c861-73"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-155"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-40"}],"importedBy":[{"uid":"1233c861-138"},{"uid":"1233c861-78"}]},"1233c861-74":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"1233c861-75"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-156"},{"uid":"1233c861-152"},{"uid":"1233c861-154"},{"uid":"1233c861-64"},{"uid":"1233c861-40"}],"importedBy":[{"uid":"1233c861-76"}]},"1233c861-76":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"1233c861-77"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-151"},{"uid":"1233c861-38"},{"uid":"1233c861-40"},{"uid":"1233c861-74"},{"uid":"1233c861-152"}],"importedBy":[{"uid":"1233c861-78"}]},"1233c861-78":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"1233c861-79"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-153"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-154"},{"uid":"1233c861-68"},{"uid":"1233c861-70"},{"uid":"1233c861-72"},{"uid":"1233c861-76"},{"uid":"1233c861-40"}],"importedBy":[{"uid":"1233c861-138"}]},"1233c861-80":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"1233c861-81"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-153"},{"uid":"1233c861-151"},{"uid":"1233c861-38"},{"uid":"1233c861-152"}],"importedBy":[{"uid":"1233c861-84"},{"uid":"1233c861-98"},{"uid":"1233c861-88"}]},"1233c861-82":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"1233c861-83"},"imported":[],"importedBy":[{"uid":"1233c861-84"},{"uid":"1233c861-90"},{"uid":"1233c861-86"},{"uid":"1233c861-94"},{"uid":"1233c861-88"},{"uid":"1233c861-92"}]},"1233c861-84":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"1233c861-85"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-149"},{"uid":"1233c861-151"},{"uid":"1233c861-156"},{"uid":"1233c861-150"},{"uid":"1233c861-38"},{"uid":"1233c861-154"},{"uid":"1233c861-80"},{"uid":"1233c861-82"},{"uid":"1233c861-152"}],"importedBy":[{"uid":"1233c861-139"},{"uid":"1233c861-90"}]},"1233c861-86":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"1233c861-87"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-155"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-82"}],"importedBy":[{"uid":"1233c861-139"},{"uid":"1233c861-90"}]},"1233c861-88":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"1233c861-89"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-151"},{"uid":"1233c861-156"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-154"},{"uid":"1233c861-80"},{"uid":"1233c861-82"}],"importedBy":[{"uid":"1233c861-90"}]},"1233c861-90":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"1233c861-91"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-153"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-154"},{"uid":"1233c861-84"},{"uid":"1233c861-86"},{"uid":"1233c861-88"},{"uid":"1233c861-82"}],"importedBy":[{"uid":"1233c861-139"}]},"1233c861-92":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"1233c861-93"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-149"},{"uid":"1233c861-156"},{"uid":"1233c861-38"},{"uid":"1233c861-82"},{"uid":"1233c861-154"},{"uid":"1233c861-152"}],"importedBy":[{"uid":"1233c861-94"}]},"1233c861-94":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"1233c861-95"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-154"},{"uid":"1233c861-82"},{"uid":"1233c861-92"}],"importedBy":[{"uid":"1233c861-139"}]},"1233c861-96":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"1233c861-97"},"imported":[],"importedBy":[{"uid":"1233c861-98"},{"uid":"1233c861-102"},{"uid":"1233c861-100"}]},"1233c861-98":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"1233c861-99"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-155"},{"uid":"1233c861-149"},{"uid":"1233c861-151"},{"uid":"1233c861-156"},{"uid":"1233c861-80"},{"uid":"1233c861-38"},{"uid":"1233c861-154"},{"uid":"1233c861-96"},{"uid":"1233c861-152"},{"uid":"1233c861-150"}],"importedBy":[{"uid":"1233c861-140"},{"uid":"1233c861-102"}]},"1233c861-100":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"1233c861-101"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-155"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-96"}],"importedBy":[{"uid":"1233c861-140"},{"uid":"1233c861-102"}]},"1233c861-102":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"1233c861-103"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-153"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-154"},{"uid":"1233c861-98"},{"uid":"1233c861-100"},{"uid":"1233c861-96"}],"importedBy":[{"uid":"1233c861-140"}]},"1233c861-104":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"1233c861-105"},"imported":[],"importedBy":[{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-132"},{"uid":"1233c861-130"}]},"1233c861-106":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"1233c861-107"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-151"},{"uid":"1233c861-156"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-154"},{"uid":"1233c861-44"},{"uid":"1233c861-104"}],"importedBy":[{"uid":"1233c861-141"},{"uid":"1233c861-132"}]},"1233c861-108":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"1233c861-109"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-151"},{"uid":"1233c861-156"},{"uid":"1233c861-38"},{"uid":"1233c861-44"},{"uid":"1233c861-104"},{"uid":"1233c861-154"},{"uid":"1233c861-152"}],"importedBy":[{"uid":"1233c861-141"},{"uid":"1233c861-132"}]},"1233c861-110":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"1233c861-111"},"imported":[],"importedBy":[{"uid":"1233c861-114"}]},"1233c861-112":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"1233c861-113"},"imported":[],"importedBy":[{"uid":"1233c861-114"}]},"1233c861-114":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"1233c861-115"},"imported":[{"uid":"1233c861-110"},{"uid":"1233c861-112"},{"uid":"1233c861-151"}],"importedBy":[{"uid":"1233c861-122"}]},"1233c861-116":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"1233c861-117"},"imported":[{"uid":"1233c861-151"}],"importedBy":[{"uid":"1233c861-122"}]},"1233c861-118":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"1233c861-119"},"imported":[],"importedBy":[{"uid":"1233c861-122"}]},"1233c861-120":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"1233c861-121"},"imported":[{"uid":"1233c861-148"}],"importedBy":[{"uid":"1233c861-122"}]},"1233c861-122":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"1233c861-123"},"imported":[{"uid":"1233c861-151"},{"uid":"1233c861-114"},{"uid":"1233c861-148"},{"uid":"1233c861-162"},{"uid":"1233c861-116"},{"uid":"1233c861-118"},{"uid":"1233c861-120"}],"importedBy":[{"uid":"1233c861-128"},{"uid":"1233c861-126"}]},"1233c861-124":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"1233c861-125"},"imported":[{"uid":"1233c861-148"}],"importedBy":[{"uid":"1233c861-126"}]},"1233c861-126":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"1233c861-127"},"imported":[{"uid":"1233c861-151"},{"uid":"1233c861-148"},{"uid":"1233c861-122"},{"uid":"1233c861-124"}],"importedBy":[{"uid":"1233c861-128"}]},"1233c861-128":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"1233c861-129"},"imported":[{"uid":"1233c861-148"},{"uid":"1233c861-126"},{"uid":"1233c861-122"}],"importedBy":[{"uid":"1233c861-132"}]},"1233c861-130":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"1233c861-131"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-155"},{"uid":"1233c861-149"},{"uid":"1233c861-150"},{"uid":"1233c861-152"},{"uid":"1233c861-38"},{"uid":"1233c861-104"}],"importedBy":[{"uid":"1233c861-141"},{"uid":"1233c861-132"}]},"1233c861-132":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"1233c861-133"},"imported":[{"uid":"1233c861-10"},{"uid":"1233c861-148"},{"uid":"1233c861-128"},{"uid":"1233c861-153"},{"uid":"1233c861-38"},{"uid":"1233c861-106"},{"uid":"1233c861-130"},{"uid":"1233c861-104"},{"uid":"1233c861-150"},{"uid":"1233c861-152"},{"uid":"1233c861-154"},{"uid":"1233c861-108"}],"importedBy":[{"uid":"1233c861-141"}]},"1233c861-134":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"1233c861-135"},"imported":[{"uid":"1233c861-138"},{"uid":"1233c861-139"},{"uid":"1233c861-140"},{"uid":"1233c861-141"},{"uid":"1233c861-18"},{"uid":"1233c861-142"},{"uid":"1233c861-143"},{"uid":"1233c861-144"},{"uid":"1233c861-145"},{"uid":"1233c861-146"},{"uid":"1233c861-136","dynamic":true}],"importedBy":[],"isEntry":true},"1233c861-136":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"1233c861-137"},"imported":[],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-138":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"1233c861-68"},{"uid":"1233c861-78"},{"uid":"1233c861-72"}],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-139":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"1233c861-84"},{"uid":"1233c861-90"},{"uid":"1233c861-86"},{"uid":"1233c861-94"}],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-140":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"1233c861-98"},{"uid":"1233c861-102"},{"uid":"1233c861-100"}],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-141":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-132"},{"uid":"1233c861-130"}],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-142":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-143":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-144":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-145":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-146":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-134"}]},"1233c861-147":{"id":"/Users/leto/github/merico-dev/table/shared/src/index.ts","moduleParts":{},"imported":[{"uid":"1233c861-157"}],"importedBy":[{"uid":"1233c861-18"}]},"1233c861-148":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-68"},{"uid":"1233c861-78"},{"uid":"1233c861-72"},{"uid":"1233c861-84"},{"uid":"1233c861-90"},{"uid":"1233c861-86"},{"uid":"1233c861-94"},{"uid":"1233c861-98"},{"uid":"1233c861-102"},{"uid":"1233c861-100"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-132"},{"uid":"1233c861-130"},{"uid":"1233c861-42"},{"uid":"1233c861-60"},{"uid":"1233c861-66"},{"uid":"1233c861-70"},{"uid":"1233c861-76"},{"uid":"1233c861-80"},{"uid":"1233c861-88"},{"uid":"1233c861-92"},{"uid":"1233c861-128"},{"uid":"1233c861-64"},{"uid":"1233c861-46"},{"uid":"1233c861-58"},{"uid":"1233c861-74"},{"uid":"1233c861-126"},{"uid":"1233c861-122"},{"uid":"1233c861-62"},{"uid":"1233c861-124"},{"uid":"1233c861-120"}],"isExternal":true},"1233c861-149":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-68"},{"uid":"1233c861-72"},{"uid":"1233c861-84"},{"uid":"1233c861-86"},{"uid":"1233c861-98"},{"uid":"1233c861-100"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-130"},{"uid":"1233c861-76"},{"uid":"1233c861-88"},{"uid":"1233c861-92"}],"isExternal":true},"1233c861-150":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-68"},{"uid":"1233c861-72"},{"uid":"1233c861-84"},{"uid":"1233c861-86"},{"uid":"1233c861-98"},{"uid":"1233c861-100"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-132"},{"uid":"1233c861-130"},{"uid":"1233c861-42"},{"uid":"1233c861-70"},{"uid":"1233c861-76"},{"uid":"1233c861-88"},{"uid":"1233c861-64"},{"uid":"1233c861-46"}],"isExternal":true},"1233c861-151":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-68"},{"uid":"1233c861-84"},{"uid":"1233c861-98"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-60"},{"uid":"1233c861-76"},{"uid":"1233c861-80"},{"uid":"1233c861-88"},{"uid":"1233c861-64"},{"uid":"1233c861-58"},{"uid":"1233c861-126"},{"uid":"1233c861-122"},{"uid":"1233c861-161"},{"uid":"1233c861-54"},{"uid":"1233c861-56"},{"uid":"1233c861-114"},{"uid":"1233c861-116"}],"isExternal":true},"1233c861-152":{"id":"react-i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-68"},{"uid":"1233c861-78"},{"uid":"1233c861-72"},{"uid":"1233c861-84"},{"uid":"1233c861-90"},{"uid":"1233c861-86"},{"uid":"1233c861-98"},{"uid":"1233c861-102"},{"uid":"1233c861-100"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-132"},{"uid":"1233c861-130"},{"uid":"1233c861-42"},{"uid":"1233c861-60"},{"uid":"1233c861-66"},{"uid":"1233c861-76"},{"uid":"1233c861-80"},{"uid":"1233c861-88"},{"uid":"1233c861-92"},{"uid":"1233c861-64"},{"uid":"1233c861-46"},{"uid":"1233c861-74"},{"uid":"1233c861-54"},{"uid":"1233c861-52"}],"isExternal":true},"1233c861-153":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-78"},{"uid":"1233c861-90"},{"uid":"1233c861-102"},{"uid":"1233c861-132"},{"uid":"1233c861-80"},{"uid":"1233c861-64"}],"isExternal":true},"1233c861-154":{"id":"/src/components/index.ts","moduleParts":{},"imported":[{"uid":"1233c861-44"},{"uid":"1233c861-46"},{"uid":"1233c861-58"}],"importedBy":[{"uid":"1233c861-78"},{"uid":"1233c861-84"},{"uid":"1233c861-90"},{"uid":"1233c861-94"},{"uid":"1233c861-98"},{"uid":"1233c861-102"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-132"},{"uid":"1233c861-60"},{"uid":"1233c861-66"},{"uid":"1233c861-88"},{"uid":"1233c861-92"},{"uid":"1233c861-74"}]},"1233c861-155":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-72"},{"uid":"1233c861-86"},{"uid":"1233c861-98"},{"uid":"1233c861-100"},{"uid":"1233c861-130"}],"isExternal":true},"1233c861-156":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-84"},{"uid":"1233c861-98"},{"uid":"1233c861-106"},{"uid":"1233c861-108"},{"uid":"1233c861-60"},{"uid":"1233c861-66"},{"uid":"1233c861-88"},{"uid":"1233c861-92"},{"uid":"1233c861-74"}],"isExternal":true},"1233c861-157":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/index.ts","moduleParts":{},"imported":[{"uid":"1233c861-160"},{"uid":"1233c861-12"},{"uid":"1233c861-14"},{"uid":"1233c861-16"}],"importedBy":[{"uid":"1233c861-147"}]},"1233c861-158":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-10"},{"uid":"1233c861-4"},{"uid":"1233c861-8"}]},"1233c861-159":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-44"},{"uid":"1233c861-62"},{"uid":"1233c861-56"}],"isExternal":true},"1233c861-160":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-157"}]},"1233c861-161":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"1233c861-151"}],"importedBy":[{"uid":"1233c861-4"},{"uid":"1233c861-8"}]},"1233c861-162":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-122"}],"isExternal":true},"1233c861-163":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-12"}],"isExternal":true},"1233c861-164":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-14"}],"isExternal":true},"1233c861-165":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-14"}],"isExternal":true},"1233c861-166":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-52"}],"isExternal":true},"1233c861-167":{"id":"i18next-browser-languagedetector","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-52"}],"isExternal":true},"1233c861-168":{"id":"intl-pluralrules","moduleParts":{},"imported":[],"importedBy":[{"uid":"1233c861-52"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
6161
4826
|
|
|
6162
4827
|
const run = () => {
|
|
6163
4828
|
const width = window.innerWidth;
|