@templmf/temp-solf-lmf 0.0.92 → 0.0.94
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/@antv/algorithm@0.1.26/es2022/algorithm.mjs +3 -0
- package/@antv/component@2.1.7/es2022/component.mjs +15 -0
- package/@antv/event-emitter@0.1.3/es2022/event-emitter.mjs +3 -0
- package/@antv/g-canvas@2.0.48/es2022/g-canvas.mjs +18 -0
- package/@antv/g-plugin-dragndrop@2.0.38/es2022/g-plugin-dragndrop.mjs +18 -0
- package/@antv/g6 +13 -0
- package/@antv/g6@5.1.1/es2022/g6.mjs +125 -0
- package/@antv/g@6.1.28/es2022/g.mjs +15 -0
- package/@antv/graphlib@2.0.4/es2022/graphlib.mjs +3 -0
- package/@antv/hierarchy@0.7.1/es2022/hierarchy.mjs +3 -0
- package/@antv/layout@2.0.0/es2022/layout.mjs +20 -0
- package/@antv/util@3.3.11/es2022/util.mjs +3 -0
- package/bubblesets-js@2.3.4/es2022/bubblesets-js.mjs +4 -0
- package/echarts +8 -0
- package/echarts@6.0.0/es2022/echarts.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/installPictorialBar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/custom/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/gauge/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/scatter/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/charts.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/components.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/core.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/features.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/renderers.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/extension.mjs +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - @antv/util@3.3.11 */
|
|
2
|
+
function Cr(r){return[parseInt(r.substr(1,2),16),parseInt(r.substr(3,2),16),parseInt(r.substr(5,2),16)]}function Sr(r){var t=Math.round(r).toString(16);return t.length===1?"0".concat(t):t}function lr(r){return"#".concat(Sr(r[0])).concat(Sr(r[1])).concat(Sr(r[2]))}var re=function(r){return r!==null&&typeof r!="function"&&isFinite(r.length)},L=re;var te=function(r,t){return L(r)?r.indexOf(t)>-1:!1},rr=te;var ee=function(r,t){if(!L(r))return r;for(var e=[],n=0;n<r.length;n++){var a=r[n];t(a,n)&&e.push(a)}return e},Or=ee;var ne=function(r,t){return t===void 0&&(t=[]),Or(r,function(e){return!rr(t,e)})},ae=ne;function N(r){return typeof r=="function"}function F(r){return r==null}function w(r){return Array.isArray(r)}var Y=(function(r){var t=typeof r;return r!==null&&t==="object"||t==="function"});function oe(r,t){if(r){var e;if(w(r))for(var n=0,a=r.length;n<a&&(e=t(r[n],n),e!==!1);n++);else if(Y(r)){for(var o in r)if(r.hasOwnProperty(o)&&(e=t(r[o],o),e===!1))break}}}var z=oe;var ie=Object.keys?function(r){return Object.keys(r)}:function(r){var t=[];return z(r,function(e,n){N(r)&&n==="prototype"||t.push(n)}),t},Lr=ie;function fe(r,t){var e=Lr(t),n=e.length;if(F(r))return!n;for(var a=0;a<n;a+=1){var o=e[a];if(t[o]!==r[o]||!(o in r))return!1}return!0}var Tr=fe;var ue=function(r){return typeof r=="object"&&r!==null},tr=ue;var me={}.toString,le=function(r,t){return me.call(r)==="[object "+t+"]"},B=le;var pe=function(r){if(!tr(r)||!B(r,"Object"))return!1;if(Object.getPrototypeOf(r)===null)return!0;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t},_=pe;function ce(r,t){if(!w(r))return null;var e;if(N(t)&&(e=t),_(t)&&(e=function(a){return Tr(a,t)}),e){for(var n=0;n<r.length;n+=1)if(e(r[n]))return r[n]}return null}var se=ce;function xe(r,t,e){e===void 0&&(e=0);for(var n=e;n<r.length;n++)if(t(r[n],n))return n;return-1}var ve=xe;var he=function(r,t){for(var e=null,n=0;n<r.length;n++){var a=r[n],o=a[t];if(!F(o)){w(o)?e=o[0]:e=o;break}}return e},de=he;var ge=function(r){if(!w(r))return[];for(var t=[],e=0;e<r.length;e++)t=t.concat(r[e]);return t},ye=ge;var ot=function(r,t){if(t===void 0&&(t=[]),!w(r))t.push(r);else for(var e=0;e<r.length;e+=1)ot(r[e],t);return t},Me=ot;function pr(r){if(!Array.isArray(r))return-1/0;var t=r.length;if(!t)return-1/0;for(var e=r[0],n=1;n<t;n++)e=Math.max(e,r[n]);return e}var Nr=(function(r){if(w(r))return r.reduce(function(t,e){return Math.min(t,e)},r[0])});var Ae=function(r){var t=r.filter(function(i){return!isNaN(i)});if(!t.length)return{min:0,max:0};if(w(r[0])){for(var e=[],n=0;n<r.length;n++)e=e.concat(r[n]);t=e}var a=pr(t),o=Nr(t);return{min:o,max:a}},be=Ae;var it=Array.prototype,we=it.splice,Pe=it.indexOf,Ce=function(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];for(var n=0;n<t.length;n++)for(var a=t[n],o=-1;(o=Pe.call(r,a))>-1;)we.call(r,o,1);return r},Se=Ce;var Oe=Array.prototype.splice,Le=function(t,e){if(!L(t))return[];for(var n=t?e.length:0,a=n-1;n--;){var o=void 0,i=e[n];(n===a||i!==o)&&(o=i,Oe.call(t,i,1))}return t},Ir=Le;var Te=function(r,t,e){if(!w(r)&&!_(r))return r;var n=e;return z(r,function(a,o){n=t(n,a,o)}),n},qr=Te;var Ne=function(r,t){var e=[];if(!L(r))return e;for(var n=-1,a=[],o=r.length;++n<o;){var i=r[n];t(i,n,r)&&(e.push(i),a.push(n))}return Ir(r,a),e},Ie=Ne;function R(r){return typeof r=="string"}function qe(r,t){var e;if(N(t))e=function(a,o){return t(a)-t(o)};else{var n=[];R(t)?n.push(t):w(t)&&(n=t),e=function(a,o){for(var i=0;i<n.length;i+=1){var f=n[i];if(a[f]>o[f])return 1;if(a[f]<o[f])return-1}return 0}}return r.sort(e),r}var Ee=qe;function cr(r,t){t===void 0&&(t=new Map);var e=[];if(Array.isArray(r))for(var n=0,a=r.length;n<a;n++){var o=r[n];t.has(o)||(e.push(o),t.set(o,!0))}return e}var Fe=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return cr([].concat.apply([],r))},Re=Fe;var ze=(function(r,t){for(var e=[],n={},a=0;a<r.length;a++){var o=r[a],i=o[t];if(!F(i)){w(i)||(i=[i]);for(var f=0;f<i.length;f++){var u=i[f];n[u]||(e.push(u),n[u]=!0)}}}return e});function ft(r){if(L(r))return r[0]}function ut(r){if(L(r)){var t=r;return t[t.length-1]}}function Be(r,t){return w(r)||R(r)?r[0]===t:!1}var De=Be;function Ve(r,t){return w(r)||R(r)?r[r.length-1]===t:!1}var _e=Ve;var ke=function(r,t){for(var e=0;e<r.length;e++)if(!t(r[e],e))return!1;return!0},Ge=ke;var He=function(r,t){for(var e=0;e<r.length;e++)if(t(r[e],e))return!0;return!1},Qe=He;var Xe=Object.prototype.hasOwnProperty;function We(r,t){if(!t||!w(r))return{};for(var e={},n=N(t)?t:function(f){return f[t]},a,o=0;o<r.length;o++){var i=r[o];a=n(i),Xe.call(e,a)?e[a].push(i):e[a]=[i]}return e}var Er=We;function sr(r,t){if(!t)return{0:r};if(!N(t)){var e=w(t)?t:t.replace(/\s+/g,"").split("*");t=function(n){for(var a="_",o=0,i=e.length;o<i;o++)a+=n[e[o]]&&n[e[o]].toString();return a}}return Er(r,t)}var Ue=(function(r,t){if(!t)return[r];var e=sr(r,t),n=[];for(var a in e)n.push(e[a]);return n});function Ye(r,t){return r["_wrap_"+t]}var je=Ye;function Ze(r,t){if(r["_wrap_"+t])return r["_wrap_"+t];var e=function(n){r[t](n)};return r["_wrap_"+t]=e,e}var Ke=Ze;var mt={};function $e(r){var t=mt[r];if(!t){for(var e=r.toString(16),n=e.length;n<6;n++)e="0"+e;t="#"+e,mt[r]=t}return t}var Je=$e;function rn(r){var t=0,e=0,n=0,a=0;return w(r)?r.length===1?t=e=n=a=r[0]:r.length===2?(t=n=r[0],e=a=r[1]):r.length===3?(t=r[0],e=a=r[1],n=r[2]):(t=r[0],e=r[1],n=r[2],a=r[3]):t=e=n=a=r,{r1:t,r2:e,r3:n,r4:a}}var tn=rn;var en=function(r,t,e){return r<t?t:r>e?e:r},nn=en;var an=function(r,t){var e=t.toString(),n=e.indexOf(".");if(n===-1)return Math.round(r);var a=e.substr(n+1).length;return a>20&&(a=20),parseFloat(r.toFixed(a))},on=an;function E(r){return typeof r=="number"}function lt(r){return E(r)&&r%1!==0}function pt(r){return E(r)&&r%2===0}function ct(r){return E(r)&&r%1===0}function st(r){return E(r)&&r<0}var fn=1e-5;function xt(r,t,e){return e===void 0&&(e=fn),r===t||Math.abs(r-t)<e}function vt(r){return E(r)&&r%2!==0}var un=function(r){return E(r)&&r>0},mn=un;var ln=(function(r,t){if(w(r)){for(var e,n=-1/0,a=0;a<r.length;a++){var o=r[a],i=N(t)?t(o):o[t];i>n&&(e=o,n=i)}return e}});var pn=(function(r,t){if(w(r)){for(var e,n=1/0,a=0;a<r.length;a++){var o=r[a],i=N(t)?t(o):o[t];i<n&&(e=o,n=i)}return e}});var cn=function(r,t){return(r%t+t)%t},sn=cn;var xn=180/Math.PI,vn=function(r){return xn*r},hn=vn;var dn=parseInt;var gn=Math.PI/180,yn=function(r){return gn*r},Mn=yn;var An=z;var Fr=(function(r,t){return r.hasOwnProperty(t)});var bn=Fr;var wn=Object.values?function(r){return Object.values(r)}:function(r){var t=[];return z(r,function(e,n){N(r)&&n==="prototype"||t.push(e)}),t},Rr=wn;var Pn=(function(r,t){return rr(Rr(r),t)});var k=(function(r){return F(r)?"":r.toString()});var Cn=function(r){return k(r).toLowerCase()},Sn=Cn;var On=function(r){var t=k(r);return t.charAt(0).toLowerCase()+t.substring(1)},Ln=On;function Tn(r,t){return!r||!t?r:r.replace(/\\?\{([^{}]+)\}/g,function(e,n){return e.charAt(0)==="\\"?e.slice(1):t[n]===void 0?"":t[n]})}var Nn=Tn;var In=function(r){return k(r).toUpperCase()},qn=In;var En=function(r){var t=k(r);return t.charAt(0).toUpperCase()+t.substring(1)},Fn=En;var Rn={}.toString,zn=function(r){return Rn.call(r).replace(/^\[object /,"").replace(/]$/,"")},zr=zn;var Bn=function(r){return B(r,"Arguments")},Dn=Bn;var Vn=function(r){return B(r,"Boolean")},_n=Vn;function ht(r){return r instanceof Date}var kn=function(r){return B(r,"Error")},Gn=kn;function Hn(r){return E(r)&&isFinite(r)}function dt(r){return r===null}var Qn=Object.prototype,Xn=function(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||Qn;return r===e},Br=Xn;var Wn=function(r){return B(r,"RegExp")},Un=Wn;var Yn=function(r){return r===void 0},jn=Yn;function gt(r){return r instanceof Element||r instanceof Document}function yt(r){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)};return t(r)}function Mt(r){var t=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;t(r)}function Dr(r,t){for(var e in t)t.hasOwnProperty(e)&&e!=="constructor"&&t[e]!==void 0&&(r[e]=t[e])}function G(r,t,e,n){return t&&Dr(r,t),e&&Dr(r,e),n&&Dr(r,n),r}var Zn=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var e=r[0],n=1;n<r.length;n++){var a=r[n];N(a)&&(a=a.prototype),G(e.prototype,a)}},Kn=Zn;var Vr=function(r){if(typeof r!="object"||r===null)return r;var t;if(w(r)){t=[];for(var e=0,n=r.length;e<n;e++)typeof r[e]=="object"&&r[e]!=null?t[e]=Vr(r[e]):t[e]=r[e]}else{t={};for(var a in r)typeof r[a]=="object"&&r[a]!=null?t[a]=Vr(r[a]):t[a]=r[a]}return t},$n=Vr;function Jn(r,t,e){var n;return function(){var a=this,o=arguments,i=function(){n=null,e||r.apply(a,o)},f=e&&!n;clearTimeout(n),n=setTimeout(i,t),f&&r.apply(a,o)}}var ra=Jn;function ta(r){var t,e,n,a=r||1;function o(f,u){++t>a&&(n=e,i(1),++t),e[f]=u}function i(f){t=0,e=Object.create(null),f||(n=Object.create(null))}return i(),{clear:i,has:function(f){return e[f]!==void 0||n[f]!==void 0},get:function(f){var u=e[f];if(u!==void 0)return u;if((u=n[f])!==void 0)return o(f,u),u},set:function(f,u){e[f]!==void 0?e[f]=u:o(f,u)}}}var _r=new Map;function xr(r,t,e){e===void 0&&(e=128);var n=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];var i=t?t.apply(this,a):a[0];_r.has(r)||_r.set(r,ta(e));var f=_r.get(r);if(f.has(i))return f.get(i);var u=r.apply(this,a);return f.set(i,u),u};return n}var ea=5;function na(r,t){if(Object.hasOwn)return Object.hasOwn(r,t);if(r==null)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(r),t)}function At(r,t,e,n){e=e||0,n=n||ea;for(var a in t)if(na(t,a)){var o=t[a];o!==null&&_(o)?(_(r[a])||(r[a]={}),e<n?At(r[a],o,e+1,n):r[a]=t[a]):w(o)?(r[a]=[],r[a]=r[a].concat(o)):o!==void 0&&(r[a]=o)}}var aa=function(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];for(var n=0;n<t.length;n+=1)At(r,t[n]);return r},oa=aa;var ia=function(r,t,e,n){N(t)||(e=t,t=r,r=function(){});var a=Object.create?function(i,f){return Object.create(i,{constructor:{value:f}})}:function(i,f){function u(){}u.prototype=i;var m=new u;return m.constructor=f,m},o=a(t.prototype,r);return r.prototype=G(o,r.prototype),r.superclass=a(t.prototype,t),G(o,e),G(r,n),r},fa=ia;var ua=function(r,t){if(!L(r))return-1;var e=Array.prototype.indexOf;if(e)return e.call(r,t);for(var n=-1,a=0;a<r.length;a++)if(r[a]===t){n=a;break}return n},ma=ua;var la=Object.prototype.hasOwnProperty;function pa(r){if(F(r))return!0;if(L(r))return!r.length;var t=zr(r);if(t==="Map"||t==="Set")return!r.size;if(Br(r))return!Object.keys(r).length;for(var e in r)if(la.call(r,e))return!1;return!0}var ca=pa;var kr=function(r,t){if(r===t)return!0;if(!r||!t||R(r)||R(t))return!1;if(L(r)||L(t)){if(r.length!==t.length)return!1;for(var e=!0,n=0;n<r.length&&(e=kr(r[n],t[n]),!!e);n++);return e}if(tr(r)||tr(t)){var a=Object.keys(r),o=Object.keys(t);if(a.length!==o.length)return!1;for(var e=!0,n=0;n<a.length&&(e=kr(r[a[n]],t[a[n]]),!!e);n++);return e}return!1},Gr=kr;var sa=(function(r,t,e){return N(e)?!!e(r,t):Gr(r,t)});var xa=function(r,t){if(!L(r))return r;for(var e=[],n=0;n<r.length;n++){var a=r[n];e.push(t(a,n))}return e},va=xa;var ha=function(r){return r},da=(function(r,t){t===void 0&&(t=ha);var e={};return Y(r)&&!F(r)&&Object.keys(r).forEach(function(n){e[n]=t(r[n],n)}),e});var ga=(function(r,t,e){for(var n=0,a=R(t)?t.split("."):t;r&&n<a.length;)r=r[a[n++]];return r===void 0||n<a.length?e:r});var ya=(function(r,t,e){var n=r,a=R(t)?t.split("."):t;return a.forEach(function(o,i){i<a.length-1?(Y(n[o])||(n[o]=E(a[i+1])?[]:{}),n=n[o]):n[o]=e}),r});var Ma=Object.prototype.hasOwnProperty,Aa=(function(r,t){if(r===null||!_(r))return{};var e={};return z(t,function(n){Ma.call(r,n)&&(e[n]=r[n])}),e});var ba=(function(r,t){return qr(r,function(e,n,a){return t.includes(a)||(e[a]=n),e},{})});var wa=(function(r,t,e){var n,a,o,i,f=0;e||(e={});var u=function(){f=e.leading===!1?0:Date.now(),n=null,i=r.apply(a,o),n||(a=o=null)},m=function(){var p=Date.now();!f&&e.leading===!1&&(f=p);var c=t-(p-f);return a=this,o=arguments,c<=0||c>t?(n&&(clearTimeout(n),n=null),f=p,i=r.apply(a,o),n||(a=o=null)):!n&&e.trailing!==!1&&(n=setTimeout(u,c)),i};return m.cancel=function(){clearTimeout(n),f=0,n=a=o=null},m});var Pa=(function(r){return L(r)?Array.prototype.slice.call(r):[]});var vr={},Ca=(function(r){return r=r||"g",vr[r]?vr[r]+=1:vr[r]=1,r+vr[r]});var Sa=(function(){});var Oa=(function(r){return r});function bt(r){return F(r)?0:L(r)?r.length:Object.keys(r).length}var La=(function(){function r(){this.map={}}return r.prototype.has=function(t){return this.map[t]!==void 0},r.prototype.get=function(t,e){var n=this.map[t];return n===void 0?e:n},r.prototype.set=function(t,e){this.map[t]=e},r.prototype.clear=function(){this.map={}},r.prototype.delete=function(t){delete this.map[t]},r.prototype.size=function(){return Object.keys(this.map).length},r})(),Ta=La;var Na=/rgba?\(([\s.,0-9]+)\)/;function Ia(){var r=document.getElementById("antv-web-colour-picker");return r||(r=document.createElement("i"),r.id="antv-web-colour-picker",r.title="Web Colour Picker",r.style.display="none",document.body.appendChild(r),r)}function qa(r){if(r[0]==="#"&&r.length===7)return r;var t=Ia();t.style.color=r;var e=document.defaultView.getComputedStyle(t,"").getPropertyValue("color"),n=Na.exec(e),a=n[1].split(/\s*,\s*/).map(function(o){return Number(o)});return e=lr(a),e}var Hr=xr(qa,function(r){return r},256);function Qr(r,t,e,n){return r[n]+(t[n]-r[n])*e}function Ea(r,t){var e=isNaN(Number(t))||t<0?0:t>1?1:Number(t),n=r.length-1,a=Math.floor(n*e),o=n*e-a,i=r[a],f=a===n?i:r[a+1];return lr([Qr(i,f,o,0),Qr(i,f,o,1),Qr(i,f,o,2)])}function Fa(r){var t=typeof r=="string"?r.split("-"):r,e=t.map(function(n){return Cr(n.indexOf("#")===-1?Hr(n):n)});return function(n){return Ea(e,n)}}var Ra=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,za=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,Ba=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function Da(r){return/^[r,R,L,l]{1}[\s]*\(/.test(r)}function Va(r){if(Da(r)){var t,e=void 0;if(r[0]==="l"){var n=Ra.exec(r),a=+n[1]+90;e=n[2],t="linear-gradient(".concat(a,"deg, ")}else if(r[0]==="r"){t="radial-gradient(";var n=za.exec(r);e=n[4]}var o=e.match(Ba);return o.forEach(function(i,f){var u=i.split(":");t+="".concat(u[1]," ").concat(Number(u[0])*100,"%"),f!==o.length-1&&(t+=", ")}),t+=")",t}return r}import{mat3 as j}from"/gl-matrix@^3.3.0?target=es2022";function _a(r,t,e){var n=[0,0,0,0,0,0,0,0,0];return j.fromTranslation(n,e),j.multiply(r,n,t)}function ka(r,t,e){var n=[0,0,0,0,0,0,0,0,0];return j.fromRotation(n,e),j.multiply(r,n,t)}function Ga(r,t,e){var n=[0,0,0,0,0,0,0,0,0];return j.fromScaling(n,e),j.multiply(r,n,t)}function Ha(r,t,e){return j.multiply(r,e,t)}function Qa(r,t){for(var e=r?[].concat(r):[1,0,0,0,1,0,0,0,1],n=0,a=t.length;n<a;n++){var o=t[n];switch(o[0]){case"t":_a(e,e,[o[1],o[2]]);break;case"s":Ga(e,e,[o[1],o[2]]);break;case"r":ka(e,e,o[1]);break;case"m":Ha(e,e,o[1]);break;default:break}}return e}import{vec2 as Xa}from"/gl-matrix@^3.3.0?target=es2022";function Xr(r,t){return r[0]*t[1]-t[0]*r[1]}function Wa(r,t,e){var n=Xa.angle(r,t),a=Xr(r,t)>=0;return e?a?Math.PI*2-n:n:a?n:Math.PI*2-n}function Ua(r,t,e){return e?(r[0]=t[1],r[1]=-1*t[0]):(r[0]=-1*t[1],r[1]=t[0]),r}function wt(r,t){if(t==="off")return[].concat(r);var e=typeof t=="number"&&t>=1?Math.pow(10,t):1;return r.map(function(n){var a=n.slice(1).map(Number).map(function(o){return t?Math.round(o*e)/e:Math.round(o)});return[n[0]].concat(a)})}function Ya(r,t){return t===void 0&&(t="off"),wt(r,t).map(function(e){return e[0]+e.slice(1).join(" ")}).join("")}import{__assign as Za}from"/tslib@^2.3.1?target=es2022";var hr={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null};function Pt(r,t,e){if(r[e].length>7){r[e].shift();for(var n=r[e],a=e;n.length;)t[e]="A",r.splice(a+=1,0,["C"].concat(n.splice(0,6)));r.splice(e,1)}}import{__assign as ja}from"/tslib@^2.3.1?target=es2022";var X={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0};function dr(r){return Array.isArray(r)&&r.every(function(t){var e=t[0].toLowerCase();return X[e]===t.length-1&&"achlmqstvz".includes(e)})}function gr(r){return dr(r)&&r.every(function(t){var e=t[0];return e===e.toUpperCase()})}function yr(r){return gr(r)&&r.every(function(t){var e=t[0];return"ACLMQZ".includes(e)})}function Wr(r){for(var t=r.pathValue[r.segmentStart],e=t.toLowerCase(),n=r.data;n.length>=X[e]&&(e==="m"&&n.length>2?(r.segments.push([t].concat(n.splice(0,2))),e="l",t=t==="m"?"l":"L"):r.segments.push([t].concat(n.splice(0,X[e]))),!!X[e]););}function Ct(r){var t=r.index,e=r.pathValue,n=e.charCodeAt(t);if(n===48){r.param=0,r.index+=1;return}if(n===49){r.param=1,r.index+=1;return}r.err='[path-util]: invalid Arc flag "'.concat(e[t],'", expecting 0 or 1 at index ').concat(t)}function St(r){return r>=48&&r<=57||r===43||r===45||r===46}function Z(r){return r>=48&&r<=57}function Ot(r){var t=r.max,e=r.pathValue,n=r.index,a=n,o=!1,i=!1,f=!1,u=!1,m;if(a>=t){r.err="[path-util]: Invalid path value at index ".concat(a,', "pathValue" is missing param');return}if(m=e.charCodeAt(a),(m===43||m===45)&&(a+=1,m=e.charCodeAt(a)),!Z(m)&&m!==46){r.err="[path-util]: Invalid path value at index ".concat(a,', "').concat(e[a],'" is not a number');return}if(m!==46){if(o=m===48,a+=1,m=e.charCodeAt(a),o&&a<t&&m&&Z(m)){r.err="[path-util]: Invalid path value at index ".concat(n,', "').concat(e[n],'" illegal number');return}for(;a<t&&Z(e.charCodeAt(a));)a+=1,i=!0;m=e.charCodeAt(a)}if(m===46){for(u=!0,a+=1;Z(e.charCodeAt(a));)a+=1,f=!0;m=e.charCodeAt(a)}if(m===101||m===69){if(u&&!i&&!f){r.err="[path-util]: Invalid path value at index ".concat(a,', "').concat(e[a],'" invalid float exponent');return}if(a+=1,m=e.charCodeAt(a),(m===43||m===45)&&(a+=1),a<t&&Z(e.charCodeAt(a)))for(;a<t&&Z(e.charCodeAt(a));)a+=1;else{r.err="[path-util]: Invalid path value at index ".concat(a,', "').concat(e[a],'" invalid integer exponent');return}}r.index=a,r.param=+r.pathValue.slice(n,a)}function Lt(r){var t=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];return r===10||r===13||r===8232||r===8233||r===32||r===9||r===11||r===12||r===160||r>=5760&&t.includes(r)}function er(r){for(var t=r.pathValue,e=r.max;r.index<e&&Lt(t.charCodeAt(r.index));)r.index+=1}function Tt(r){switch(r|32){case 109:case 122:case 108:case 104:case 118:case 99:case 115:case 113:case 116:case 97:return!0;default:return!1}}function Nt(r){return(r|32)===97}function It(r){var t=r.max,e=r.pathValue,n=r.index,a=e.charCodeAt(n),o=X[e[n].toLowerCase()];if(r.segmentStart=n,!Tt(a)){r.err='[path-util]: Invalid path value "'.concat(e[n],'" is not a path command');return}if(r.index+=1,er(r),r.data=[],!o){Wr(r);return}for(;;){for(var i=o;i>0;i-=1){if(Nt(a)&&(i===3||i===4)?Ct(r):Ot(r),r.err.length)return;r.data.push(r.param),er(r),r.index<t&&e.charCodeAt(r.index)===44&&(r.index+=1,er(r))}if(r.index>=r.max||!St(e.charCodeAt(r.index)))break}Wr(r)}var qt=(function(){function r(t){this.pathValue=t,this.segments=[],this.max=t.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""}return r})();function W(r){if(dr(r))return[].concat(r);var t=new qt(r);for(er(t);t.index<t.max&&!t.err.length;)It(t);return t.err?t.err:t.segments}function Ur(r){if(gr(r))return[].concat(r);var t=W(r),e=0,n=0,a=0,o=0;return t.map(function(i){var f=i.slice(1).map(Number),u=i[0],m=u.toUpperCase();if(u==="M")return e=f[0],n=f[1],a=e,o=n,["M",e,n];var p;if(u!==m)switch(m){case"A":p=[m,f[0],f[1],f[2],f[3],f[4],f[5]+e,f[6]+n];break;case"V":p=[m,f[0]+n];break;case"H":p=[m,f[0]+e];break;default:{var c=f.map(function(d,A){return d+(A%2?n:e)});p=[m].concat(c)}}else p=[m].concat(f);var l=p.length;switch(m){case"Z":e=a,n=o;break;case"H":e=p[1];break;case"V":n=p[1];break;default:e=p[l-2],n=p[l-1],m==="M"&&(a=e,o=n)}return p})}function Et(r,t){var e=r[0],n=t.x1,a=t.y1,o=t.x2,i=t.y2,f=r.slice(1).map(Number),u=r;if("TQ".includes(e)||(t.qx=null,t.qy=null),e==="H")u=["L",r[1],a];else if(e==="V")u=["L",n,r[1]];else if(e==="S"){var m=n*2-o,p=a*2-i;t.x1=m,t.y1=p,u=["C",m,p].concat(f)}else if(e==="T"){var c=n*2-t.qx,l=a*2-t.qy;t.qx=c,t.qy=l,u=["Q",c,l].concat(f)}else if(e==="Q"){var d=f[0],A=f[1];t.qx=d,t.qy=A}return u}function K(r){if(yr(r))return[].concat(r);for(var t=Ur(r),e=ja({},hr),n=0;n<t.length;n+=1){t[n]=Et(t[n],e);var a=t[n],o=a.length;e.x1=+a[o-2],e.y1=+a[o-1],e.x2=+a[o-4]||e.x1,e.y2=+a[o-3]||e.y1}return t}function Ft(r){return yr(r)&&r.every(function(t){var e=t[0];return"MC".includes(e)})}function ar(r,t,e){var n=r*Math.cos(e)-t*Math.sin(e),a=r*Math.sin(e)+t*Math.cos(e);return{x:n,y:a}}function Mr(r,t,e,n,a,o,i,f,u,m){var p=r,c=t,l=e,d=n,A=f,y=u,M=Math.PI*120/180,g=Math.PI/180*(+a||0),s=[],h,v,x,b,C;if(m)v=m[0],x=m[1],b=m[2],C=m[3];else{h=ar(p,c,-g),p=h.x,c=h.y,h=ar(A,y,-g),A=h.x,y=h.y;var O=(p-A)/2,S=(c-y)/2,P=O*O/(l*l)+S*S/(d*d);P>1&&(P=Math.sqrt(P),l*=P,d*=P);var T=l*l,I=d*d,q=(o===i?-1:1)*Math.sqrt(Math.abs((T*I-T*S*S-I*O*O)/(T*S*S+I*O*O)));b=q*l*S/d+(p+A)/2,C=q*-d*O/l+(c+y)/2,v=Math.asin(((c-C)/d*Math.pow(10,9)>>0)/Math.pow(10,9)),x=Math.asin(((y-C)/d*Math.pow(10,9)>>0)/Math.pow(10,9)),v=p<b?Math.PI-v:v,x=A<b?Math.PI-x:x,v<0&&(v=Math.PI*2+v),x<0&&(x=Math.PI*2+x),i&&v>x&&(v-=Math.PI*2),!i&&x>v&&(x-=Math.PI*2)}var nr=x-v;if(Math.abs(nr)>M){var wr=x,H=A,fr=y;x=v+M*(i&&x>v?1:-1),A=b+l*Math.cos(x),y=C+d*Math.sin(x),s=Mr(A,y,l,d,a,0,i,H,fr,[x,wr,b,C])}nr=x-v;var ur=Math.cos(v),mr=Math.sin(v),Pr=Math.cos(x),$t=Math.sin(x),$r=Math.tan(nr/4),Jr=4/3*l*$r,rt=4/3*d*$r,tt=[p,c],J=[p+Jr*mr,c-rt*ur],et=[A+Jr*$t,y-rt*Pr],nt=[A,y];if(J[0]=2*tt[0]-J[0],J[1]=2*tt[1]-J[1],m)return J.concat(et,nt,s);s=J.concat(et,nt,s);for(var at=[],Q=0,Jt=s.length;Q<Jt;Q+=1)at[Q]=Q%2?ar(s[Q-1],s[Q],g).y:ar(s[Q],s[Q+1],g).x;return at}function Rt(r,t,e,n,a,o){var i=.3333333333333333,f=2/3;return[i*r+f*e,i*t+f*n,i*a+f*e,i*o+f*n,a,o]}import{__spreadArray as zt}from"/tslib@^2.3.1?target=es2022";function D(r,t,e){var n=r[0],a=r[1],o=t[0],i=t[1];return[n+(o-n)*e,a+(i-a)*e]}var Yr=function(r,t,e,n){var a=.5,o=D([r,t],[e,n],a);return zt(zt([],o,!0),[e,n,e,n],!1)};function Bt(r,t){var e=r[0],n=r.slice(1).map(Number),a=n[0],o=n[1],i,f=t.x1,u=t.y1,m=t.x,p=t.y;switch("TQ".includes(e)||(t.qx=null,t.qy=null),e){case"M":return t.x=a,t.y=o,r;case"A":return i=[f,u].concat(n),["C"].concat(Mr(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],i[9]));case"Q":return t.qx=a,t.qy=o,i=[f,u].concat(n),["C"].concat(Rt(i[0],i[1],i[2],i[3],i[4],i[5]));case"L":return["C"].concat(Yr(f,u,a,o));case"Z":return f===m&&u===p?["C",f,u,m,p,m,p]:["C"].concat(Yr(f,u,m,p));default:}return r}function jr(r,t){if(t===void 0&&(t=!1),Ft(r)){var e=[].concat(r);return t?[e,[]]:e}for(var n=K(r),a=Za({},hr),o=[],i="",f=n.length,u,m,p=[],c=0;c<f;c+=1){n[c]&&(i=n[c][0]),o[c]=i;var l=Bt(n[c],a);n[c]=l,Pt(n,o,c),f=n.length,i==="Z"&&p.push(c),u=n[c],m=u.length,a.x1=+u[m-2],a.y1=+u[m-1],a.x2=+u[m-4]||a.x1,a.y2=+u[m-3]||a.y1}return t?[n,p]:n}function Ka(r){return W(r)}function $a(r){return r.map(function(t){return Array.isArray(t)?[].concat(t):t})}function Ja(r){var t=r.slice(1).map(function(e,n,a){return n?a[n-1].slice(-2).concat(e.slice(1)):r[0].slice(1).concat(e.slice(1))}).map(function(e){return e.map(function(n,a){return e[e.length-a-2*(1-a%2)]})}).reverse();return[["M"].concat(t[0].slice(0,2))].concat(t.map(function(e){return["C"].concat(e.slice(2))}))}import{__assign as kt}from"/tslib@^2.3.1?target=es2022";function V(r,t){return Math.sqrt((r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1]))}function or(r,t,e,n,a){var o=V([r,t],[e,n]),i={x:0,y:0};if(typeof a=="number")if(a<=0)i={x:r,y:t};else if(a>=o)i={x:e,y:n};else{var f=D([r,t],[e,n],a/o),u=f[0],m=f[1];i={x:u,y:m}}return{length:o,point:i,min:{x:Math.min(r,e),y:Math.min(t,n)},max:{x:Math.max(r,e),y:Math.max(t,n)}}}function Dt(r,t){var e=r.x,n=r.y,a=t.x,o=t.y,i=e*a+n*o,f=Math.sqrt((Math.pow(e,2)+Math.pow(n,2))*(Math.pow(a,2)+Math.pow(o,2))),u=e*o-n*a<0?-1:1,m=u*Math.acos(i/f);return m}function ro(r,t,e,n,a,o,i,f,u,m){var p=Math.abs,c=Math.sin,l=Math.cos,d=Math.sqrt,A=Math.PI,y=p(e),M=p(n),g=(a%360+360)%360,s=g*(A/180);if(r===f&&t===u)return{x:r,y:t};if(y===0||M===0)return or(r,t,f,u,m).point;var h=(r-f)/2,v=(t-u)/2,x={x:l(s)*h+c(s)*v,y:-c(s)*h+l(s)*v},b=Math.pow(x.x,2)/Math.pow(y,2)+Math.pow(x.y,2)/Math.pow(M,2);b>1&&(y*=d(b),M*=d(b));var C=Math.pow(y,2)*Math.pow(M,2)-Math.pow(y,2)*Math.pow(x.y,2)-Math.pow(M,2)*Math.pow(x.x,2),O=Math.pow(y,2)*Math.pow(x.y,2)+Math.pow(M,2)*Math.pow(x.x,2),S=C/O;S=S<0?0:S;var P=(o!==i?1:-1)*d(S),T={x:P*(y*x.y/M),y:P*(-(M*x.x)/y)},I={x:l(s)*T.x-c(s)*T.y+(r+f)/2,y:c(s)*T.x+l(s)*T.y+(t+u)/2},q={x:(x.x-T.x)/y,y:(x.y-T.y)/M},nr=Dt({x:1,y:0},q),wr={x:(-x.x-T.x)/y,y:(-x.y-T.y)/M},H=Dt(q,wr);!i&&H>0?H-=2*A:i&&H<0&&(H+=2*A),H%=2*A;var fr=nr+H*m,ur=y*l(fr),mr=M*c(fr),Pr={x:l(s)*ur-c(s)*mr+I.x,y:c(s)*ur+l(s)*mr+I.y};return Pr}function Vt(r,t,e,n,a,o,i,f,u,m,p){var c,l=p.bbox,d=l===void 0?!0:l,A=p.length,y=A===void 0?!0:A,M=p.sampleSize,g=M===void 0?30:M,s=typeof m=="number",h=r,v=t,x=0,b=[h,v,x],C=[h,v],O=0,S={x:0,y:0},P=[{x:h,y:v}];s&&m<=0&&(S={x:h,y:v});for(var T=0;T<=g;T+=1){if(O=T/g,c=ro(r,t,e,n,a,o,i,f,u,O),h=c.x,v=c.y,d&&P.push({x:h,y:v}),y&&(x+=V(C,[h,v])),C=[h,v],s&&x>=m&&m>b[2]){var I=(x-m)/(x-b[2]);S={x:C[0]*(1-I)+b[0]*I,y:C[1]*(1-I)+b[1]*I}}b=[h,v,x]}return s&&m>=x&&(S={x:f,y:u}),{length:x,point:S,min:{x:Math.min.apply(null,P.map(function(q){return q.x})),y:Math.min.apply(null,P.map(function(q){return q.y}))},max:{x:Math.max.apply(null,P.map(function(q){return q.x})),y:Math.max.apply(null,P.map(function(q){return q.y}))}}}function to(r,t,e,n,a,o,i,f,u){var m=1-u;return{x:Math.pow(m,3)*r+3*Math.pow(m,2)*u*e+3*m*Math.pow(u,2)*a+Math.pow(u,3)*i,y:Math.pow(m,3)*t+3*Math.pow(m,2)*u*n+3*m*Math.pow(u,2)*o+Math.pow(u,3)*f}}function Ar(r,t,e,n,a,o,i,f,u,m){var p,c=m.bbox,l=c===void 0?!0:c,d=m.length,A=d===void 0?!0:d,y=m.sampleSize,M=y===void 0?10:y,g=typeof u=="number",s=r,h=t,v=0,x=[s,h,v],b=[s,h],C=0,O={x:0,y:0},S=[{x:s,y:h}];g&&u<=0&&(O={x:s,y:h});for(var P=0;P<=M;P+=1){if(C=P/M,p=to(r,t,e,n,a,o,i,f,C),s=p.x,h=p.y,l&&S.push({x:s,y:h}),A&&(v+=V(b,[s,h])),b=[s,h],g&&v>=u&&u>x[2]){var T=(v-u)/(v-x[2]);O={x:b[0]*(1-T)+x[0]*T,y:b[1]*(1-T)+x[1]*T}}x=[s,h,v]}return g&&u>=v&&(O={x:i,y:f}),{length:v,point:O,min:{x:Math.min.apply(null,S.map(function(I){return I.x})),y:Math.min.apply(null,S.map(function(I){return I.y}))},max:{x:Math.max.apply(null,S.map(function(I){return I.x})),y:Math.max.apply(null,S.map(function(I){return I.y}))}}}function eo(r,t,e,n,a,o,i){var f=1-i;return{x:Math.pow(f,2)*r+2*f*i*e+Math.pow(i,2)*a,y:Math.pow(f,2)*t+2*f*i*n+Math.pow(i,2)*o}}function _t(r,t,e,n,a,o,i,f){var u,m=f.bbox,p=m===void 0?!0:m,c=f.length,l=c===void 0?!0:c,d=f.sampleSize,A=d===void 0?10:d,y=typeof i=="number",M=r,g=t,s=0,h=[M,g,s],v=[M,g],x=0,b={x:0,y:0},C=[{x:M,y:g}];y&&i<=0&&(b={x:M,y:g});for(var O=0;O<=A;O+=1){if(x=O/A,u=eo(r,t,e,n,a,o,x),M=u.x,g=u.y,p&&C.push({x:M,y:g}),l&&(s+=V(v,[M,g])),v=[M,g],y&&s>=i&&i>h[2]){var S=(s-i)/(s-h[2]);b={x:v[0]*(1-S)+h[0]*S,y:v[1]*(1-S)+h[1]*S}}h=[M,g,s]}return y&&i>=s&&(b={x:a,y:o}),{length:s,point:b,min:{x:Math.min.apply(null,C.map(function(P){return P.x})),y:Math.min.apply(null,C.map(function(P){return P.y}))},max:{x:Math.max.apply(null,C.map(function(P){return P.x})),y:Math.max.apply(null,C.map(function(P){return P.y}))}}}function U(r,t,e){for(var n,a,o,i,f,u,m=K(r),p=typeof t=="number",c,l=[],d,A=0,y=0,M=0,g=0,s,h=[],v=[],x=0,b={x:0,y:0},C=b,O=b,S=b,P=0,T=0,I=m.length;T<I;T+=1)s=m[T],d=s[0],c=d==="M",l=c?l:[A,y].concat(s.slice(1)),c?(M=s[1],g=s[2],b={x:M,y:g},C=b,x=0,p&&t<.001&&(S=b)):d==="L"?(n=or(l[0],l[1],l[2],l[3],(t||0)-P),x=n.length,b=n.min,C=n.max,O=n.point):d==="A"?(a=Vt(l[0],l[1],l[2],l[3],l[4],l[5],l[6],l[7],l[8],(t||0)-P,e||{}),x=a.length,b=a.min,C=a.max,O=a.point):d==="C"?(o=Ar(l[0],l[1],l[2],l[3],l[4],l[5],l[6],l[7],(t||0)-P,e||{}),x=o.length,b=o.min,C=o.max,O=o.point):d==="Q"?(i=_t(l[0],l[1],l[2],l[3],l[4],l[5],(t||0)-P,e||{}),x=i.length,b=i.min,C=i.max,O=i.point):d==="Z"&&(l=[A,y,M,g],f=or(l[0],l[1],l[2],l[3],(t||0)-P),x=f.length,b=f.min,C=f.max,O=f.point),p&&P<t&&P+x>=t&&(S=O),v.push(C),h.push(b),P+=x,u=d!=="Z"?s.slice(-2):[M,g],A=u[0],y=u[1];return p&&t>=P&&(S={x:A,y}),{length:P,point:S,min:{x:Math.min.apply(null,h.map(function(q){return q.x})),y:Math.min.apply(null,h.map(function(q){return q.y}))},max:{x:Math.max.apply(null,v.map(function(q){return q.x})),y:Math.max.apply(null,v.map(function(q){return q.y}))}}}function no(r,t){if(!r)return{x:0,y:0,width:0,height:0,x2:0,y2:0,cx:0,cy:0,cz:0};var e=U(r,void 0,kt(kt({},t),{length:!1})),n=e.min,a=n.x,o=n.y,i=e.max,f=i.x,u=i.y,m=f-a,p=u-o;return{width:m,height:p,x:a,y:o,x2:f,y2:u,cx:a+m/2,cy:o+p/2,cz:Math.max(m,p)+Math.min(m,p)/2}}import{__assign as Gt}from"/tslib@^2.3.1?target=es2022";function $(r,t){return U(r,void 0,Gt(Gt({},t),{bbox:!1,length:!0})).length}import{__assign as Ht}from"/tslib@^2.3.1?target=es2022";function ao(r,t){if(!r)return{length:0,x:0,y:0,width:0,height:0,x2:0,y2:0,cx:0,cy:0,cz:0};var e=U(r,void 0,Ht(Ht({},t),{bbox:!0,length:!0})),n=e.length,a=e.min,o=a.x,i=a.y,f=e.max,u=f.x,m=f.y,p=u-o,c=m-i;return{length:n,width:p,height:c,x:o,y:i,x2:u,y2:m,cx:o+p/2,cy:i+c/2,cz:Math.max(p,c)+Math.min(p,c)/2}}function oo(r){var t=r.length,e=t-1;return r.map(function(n,a){return r.map(function(o,i){var f=a+i,u;return i===0||r[f]&&r[f][0]==="M"?(u=r[f],["M"].concat(u.slice(-2))):(f>=t&&(f-=e),r[f])})})}function io(r,t){var e=r.length-1,n=[],a=0,o=0,i=oo(r);return i.forEach(function(f,u){r.slice(1).forEach(function(m,p){o+=V(r[(u+p)%e].slice(-2),t[p%e].slice(-2))}),n[u]=o,o=0}),a=n.indexOf(Math.min.apply(null,n)),i[a]}function fo(r,t,e,n,a,o,i,f){return 3*((f-t)*(e+a)-(i-r)*(n+o)+n*(r-a)-e*(t-o)+f*(a+r/3)-i*(o+t/3))/20}function Zr(r){var t=0,e=0,n=0;return jr(r).map(function(a){var o;switch(a[0]){case"M":return t=a[1],e=a[2],0;default:var i=a.slice(1),f=i[0],u=i[1],m=i[2],p=i[3],c=i[4],l=i[5];return n=fo(t,e,f,u,m,p,c,l),o=a.slice(-2),t=o[0],e=o[1],n}}).reduce(function(a,o){return a+o},0)}function uo(r){return Zr(r)>=0}import{__assign as Qt}from"/tslib@^2.3.1?target=es2022";function ir(r,t,e){return U(r,t,Qt(Qt({},e),{bbox:!1,length:!0})).point}function Xt(r,t){var e=W(r);if(typeof e=="string")throw TypeError(e);var n=e.slice(),a=$(n),o=n.length-1,i=0,f=0,u=e[0],m=u.slice(-2),p=m[0],c=m[1],l={x:p,y:c};if(o<=0||!t||!Number.isFinite(t))return{segment:u,index:0,length:f,point:l,lengthAtSegment:i};if(t>=a)return n=e.slice(0,-1),i=$(n),f=a-i,{segment:e[o],index:o,length:f,lengthAtSegment:i};for(var d=[];o>0;)u=n[o],n=n.slice(0,-1),i=$(n),f=a-i,a=i,d.push({segment:u,index:o,length:f,lengthAtSegment:i}),o-=1;return d.find(function(A){var y=A.lengthAtSegment;return y<=t})}function Wt(r,t){for(var e=W(r),n=K(e),a=$(e),o=function(x){var b=x.x-t.x,C=x.y-t.y;return b*b+C*C},i=8,f,u=0,m,p=0,c=1/0,l=0;l<=a;l+=i)f=ir(n,l),u=o(f),u<c&&(m=f,p=l,c=u);i/=2;for(var d,A,y=0,M=0,g=0,s=0;i>.5;)y=p-i,d=ir(n,y),g=o(d),M=p+i,A=ir(n,M),s=o(A),y>=0&&g<c?(m=d,p=y,c=g):M<=a&&s<c?(m=A,p=M,c=s):i/=2;var h=Xt(e,p),v=Math.sqrt(c);return{closest:m,distance:v,segment:h}}function mo(r,t){var e=Wt(r,t).distance;return Math.abs(e)<.001}var lo=50;function po(r,t){t===void 0&&(t=.5);var e=r.slice(0,2),n=r.slice(2,4),a=r.slice(4,6),o=r.slice(6,8),i=D(e,n,t),f=D(n,a,t),u=D(a,o,t),m=D(i,f,t),p=D(f,u,t),c=D(m,p,t);return[["C"].concat(i,m,c),["C"].concat(p,u,o)]}function Ut(r){return r.map(function(t,e,n){var a=e&&n[e-1].slice(-2).concat(t.slice(1)),o=e?Ar(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],{bbox:!1}).length:0,i;return e?i=o?po(a):[t,t]:i=[t],{s:t,ss:i,l:o}})}function Yt(r,t,e,n){if(n===void 0&&(n=0),n>lo)return console.warn("Maximum recursion depth reached in equalizeSegments"),[r,t];var a=Ut(r),o=Ut(t),i=a.length,f=o.length,u=a.filter(function(g){return g.l}).length,m=o.filter(function(g){return g.l}).length,p=a.filter(function(g){return g.l}).reduce(function(g,s){var h=s.l;return g+h},0)/u||0,c=o.filter(function(g){return g.l}).reduce(function(g,s){var h=s.l;return g+h},0)/m||0,l=e||Math.max(i,f),d=[p,c],A=[l-i,l-f],y=0,M=[a,o].map(function(g,s){return g.l===l?g.map(function(h){return h.s}):g.map(function(h,v){return y=v&&A[s]&&h.l>=d[s],A[s]-=y?1:0,y?h.ss:[h.s]}).flat()});return M[0].length===M[1].length?M:Yt(M[0],M[1],l,n+1)}var co=1e-6;function Kr(r){return Math.abs(r)<co?0:r<0?-1:1}function so(r,t,e){return(e[0]-r[0])*(t[1]-r[1])===(t[0]-r[0])*(e[1]-r[1])&&Math.min(r[0],t[0])<=e[0]&&e[0]<=Math.max(r[0],t[0])&&Math.min(r[1],t[1])<=e[1]&&e[1]<=Math.max(r[1],t[1])}function br(r,t,e){var n=!1,a=r.length;if(a<=2)return!1;for(var o=0;o<a;o++){var i=r[o],f=r[(o+1)%a];if(so(i,f,[t,e]))return!0;Kr(i[1]-e)>0!=Kr(f[1]-e)>0&&Kr(t-(e-i[1])*(i[0]-f[0])/(i[1]-f[1])-i[0])<0&&(n=!n)}return n}var jt=function(r,t,e){return r>=t&&r<=e};function xo(r,t,e,n){var a=.001,o={x:e.x-r.x,y:e.y-r.y},i={x:t.x-r.x,y:t.y-r.y},f={x:n.x-e.x,y:n.y-e.y},u=i.x*f.y-i.y*f.x,m=u*u,p=i.x*i.x+i.y*i.y,c=f.x*f.x+f.y*f.y,l=null;if(m>a*p*c){var d=(o.x*f.y-o.y*f.x)/u,A=(o.x*i.y-o.y*i.x)/u;jt(d,0,1)&&jt(A,0,1)&&(l={x:r.x+d*i.x,y:r.y+d*i.y})}return l}function Zt(r){for(var t=[],e=r.length,n=0;n<e-1;n++){var a=r[n],o=r[n+1];t.push({from:{x:a[0],y:a[1]},to:{x:o[0],y:o[1]}})}if(t.length>1){var i=r[0],f=r[e-1];t.push({from:{x:f[0],y:f[1]},to:{x:i[0],y:i[1]}})}return t}function vo(r,t){var e=!1;return r.forEach(function(n){if(xo(n.from,n.to,t.from,t.to))return e=!0,!1}),e}function Kt(r){var t=r.map(function(n){return n[0]}),e=r.map(function(n){return n[1]});return{minX:Math.min.apply(null,t),maxX:Math.max.apply(null,t),minY:Math.min.apply(null,e),maxY:Math.max.apply(null,e)}}function ho(r,t){return!(t.minX>r.maxX||t.maxX<r.minX||t.minY>r.maxY||t.maxY<r.minY)}function go(r,t){if(r.length<2||t.length<2)return!1;var e=Kt(r),n=Kt(t);if(!ho(e,n))return!1;var a=!1;if(t.forEach(function(u){if(br(r,u[0],u[1]))return a=!0,!1}),a||(r.forEach(function(u){if(br(t,u[0],u[1]))return a=!0,!1}),a))return!0;var o=Zt(r),i=Zt(t),f=!1;return i.forEach(function(u){if(vo(o,u))return f=!0,!1}),f}function yo(r){var t=document.createElement("div");t.innerHTML=r;var e=t.childNodes[0];return e&&t.contains(e)&&t.removeChild(e),e}function Mo(r,t){if(r)return Object.keys(t).forEach(function(e){r.style[e]=t[e]}),r}export{Ta as Cache,Wa as angleTo,Mr as arcToCubic,G as assign,Kn as augment,nn as clamp,Mt as clearAnimationFrame,$n as clone,$a as clonePath,rr as contains,yo as createDOM,ra as debounce,oa as deepMix,ae as difference,Xr as direction,V as distanceSquareRoot,z as each,_e as endsWith,Yt as equalizeSegments,Ge as every,fa as extend,Or as filter,se as find,ve as findIndex,de as firstValue,on as fixedBase,ye as flatten,Me as flattenDeep,An as forIn,ga as get,uo as getDrawDirection,Zr as getPathArea,no as getPathBBox,ao as getPathBBoxTotalLength,ir as getPointAtLength,be as getRange,io as getRotatedCurve,$ as getTotalLength,zr as getType,je as getWrapBehavior,Fa as gradient,Ue as group,Er as groupBy,sr as groupToMap,Fr as has,bn as hasKey,Pn as hasValue,ft as head,Oa as identity,rr as includes,ma as indexOf,Dn as isArguments,w as isArray,L as isArrayLike,_n as isBoolean,ht as isDate,lt as isDecimal,gt as isElement,ca as isEmpty,Gr as isEqual,sa as isEqualWith,Gn as isError,pt as isEven,Hn as isFinite,N as isFunction,ct as isInteger,Tr as isMatch,st as isNegative,F as isNil,dt as isNull,E as isNumber,xt as isNumberEqual,Y as isObject,tr as isObjectLike,vt as isOdd,_ as isPlainObject,br as isPointInPolygon,mo as isPointInStroke,go as isPolygonsIntersect,mn as isPositive,Br as isPrototype,Un as isRegExp,R as isString,B as isType,jn as isUndefined,Lr as keys,ut as last,Sn as lowerCase,Ln as lowerFirst,va as map,da as mapValues,pr as max,ln as maxBy,xr as memoize,Nr as min,pn as minBy,G as mix,sn as mod,Mo as modifyCSS,Sa as noop,K as normalizePath,Je as number2color,ba as omit,tn as parseRadius,Ur as path2Absolute,Ka as path2Array,jr as path2Curve,Ya as path2String,Aa as pick,Se as pull,Ir as pullAt,qr as reduce,Ie as remove,yt as requestAnimationFrame,Ja as reverseCurve,Cr as rgb2arr,ya as set,bt as size,Qe as some,Ee as sortBy,De as startsWith,Nn as substitute,wa as throttle,Pa as toArray,Va as toCSSGradient,hn as toDegree,dn as toInteger,Hr as toRGB,Mn as toRadian,k as toString,Qa as transform,Re as union,cr as uniq,Ca as uniqueId,qn as upperCase,Fn as upperFirst,Rr as values,ze as valuesOfKey,Ua as vertical,Ke as wrapBehavior};
|
|
3
|
+
//# sourceMappingURL=util.mjs.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* esm.sh - bubblesets-js@2.3.4 */
|
|
2
|
+
function z(i,t,s,e,n,r){let h=i,o=t,a=s-h,c=e-o,l=n-h,f=r-o,u=l*a+f*c,x=0;u<=0?x=0:(l=a-l,f=c-f,u=l*a+f*c,u<=0?x=0:x=u*u/(a*a+c*c));let p=l*l+f*f-x;return p<0?0:p}function P(i,t,s,e){return(i-s)*(i-s)+(t-e)*(t-e)}function Z(i,t,s,e,n){return P(i,t,s,e)<n*n}function rt(i){if(!Number.isFinite(i))return s=>s;if(i===0)return Math.round;let t=Math.pow(10,i);return s=>Math.round(s*t)/t}function Q(i){let t=Math.min(i.x1,i.x2),s=Math.max(i.x1,i.x2),e=Math.min(i.y1,i.y2),n=Math.max(i.y1,i.y2);return{x:t,y:e,x2:s,y2:n,width:s-t,height:n-e}}var N=class i{constructor(t,s,e,n){this.x1=t,this.y1=s,this.x2=e,this.y2=n}equals(t){return this.x1===t.x1&&this.y1===t.y1&&this.x2===t.x2&&this.y2===t.y2}draw(t){t.moveTo(this.x1,this.y1),t.lineTo(this.x2,this.y2)}toString(){return`Line(from=(${this.x1},${this.y1}),to=(${this.x2},${this.y2}))`}static from(t){return new i(t.x1,t.y1,t.x2,t.y2)}cuts(t,s){if(this.y1===this.y2||s<this.y1&&s<=this.y2||s>this.y1&&s>=this.y2||t>this.x1&&t>=this.x2)return!1;if(t<this.x1&&t<=this.x2)return!0;let e=this.x1+(s-this.y1)*(this.x2-this.x1)/(this.y2-this.y1);return t<=e}distSquare(t,s){return z(this.x1,this.y1,this.x2,this.y2,t,s)}ptClose(t,s,e){if(this.x1<this.x2){if(t<this.x1-e||t>this.x2+e)return!1}else if(t<this.x2-e||t>this.x1+e)return!1;if(this.y1<this.y2){if(s<this.y1-e||s>this.y2+e)return!1}else if(s<this.y2-e||s>this.y1+e)return!1;return!0}},w;(function(i){i[i.POINT=1]="POINT",i[i.PARALLEL=2]="PARALLEL",i[i.COINCIDENT=3]="COINCIDENT",i[i.NONE=4]="NONE"})(w||(w={}));var L=class{constructor(t,s=0,e=0){this.state=t,this.x=s,this.y=e}};function b(i,t){let s=(t.x2-t.x1)*(i.y1-t.y1)-(t.y2-t.y1)*(i.x1-t.x1),e=(i.x2-i.x1)*(i.y1-t.y1)-(i.y2-i.y1)*(i.x1-t.x1),n=(t.y2-t.y1)*(i.x2-i.x1)-(t.x2-t.x1)*(i.y2-i.y1);if(n){let r=s/n,h=e/n;return 0<=r&&r<=1&&0<=h&&h<=1?new L(w.POINT,i.x1+r*(i.x2-i.x1),i.y1+r*(i.y2-i.y1)):new L(w.NONE)}return new L(s===0||e===0?w.COINCIDENT:w.PARALLEL)}function U(i,t){let s=(t.x2-t.x1)*(i.y1-t.y1)-(t.y2-t.y1)*(i.x1-t.x1),e=(i.x2-i.x1)*(i.y1-t.y1)-(i.y2-i.y1)*(i.x1-t.x1),n=(t.y2-t.y1)*(i.x2-i.x1)-(t.x2-t.x1)*(i.y2-i.y1);if(n){let r=s/n,h=e/n;if(0<=r&&r<=1&&0<=h&&h<=1)return r}return Number.POSITIVE_INFINITY}function ht(i,t){function s(n,r,h,o){let a=U(t,new N(n,r,h,o));return a=Math.abs(a-.5),a>=0&&a<=1?1:0}let e=s(i.x,i.y,i.x2,i.y);return e+=s(i.x,i.y,i.x,i.y2),e>1||(e+=s(i.x,i.y2,i.x2,i.y2),e>1)?!0:(e+=s(i.x2,i.y,i.x2,i.y2),e>0)}var M;(function(i){i[i.LEFT=0]="LEFT",i[i.TOP=1]="TOP",i[i.RIGHT=2]="RIGHT",i[i.BOTTOM=3]="BOTTOM"})(M||(M={}));function $(i,t,s){let e=new Set;return i.width<=0?(e.add(M.LEFT),e.add(M.RIGHT)):t<i.x?e.add(M.LEFT):t>i.x+i.width&&e.add(M.RIGHT),i.height<=0?(e.add(M.TOP),e.add(M.BOTTOM)):s<i.y?e.add(M.TOP):s>i.y+i.height&&e.add(M.BOTTOM),e}function B(i,t){let s=t.x1,e=t.y1,n=t.x2,r=t.y2,h=Array.from($(i,n,r));if(h.length===0)return!0;let o=$(i,s,e);for(;o.size!==0;){for(let a of h)if(o.has(a))return!1;if(o.has(M.RIGHT)||o.has(M.LEFT)){let a=i.x;o.has(M.RIGHT)&&(a+=i.width),e=e+(a-s)*(r-e)/(n-s),s=a}else{let a=i.y;o.has(M.BOTTOM)&&(a+=i.height),s=s+(a-e)*(n-s)/(r-e),e=a}o=$(i,s,e)}return!0}function ot(i,t){let s=Number.POSITIVE_INFINITY,e=0;function n(r,h,o,a){let c=U(t,new N(r,h,o,a));c=Math.abs(c-.5),c>=0&&c<=1&&(e++,c<s&&(s=c))}return n(i.x,i.y,i.x2,i.y),n(i.x,i.y,i.x,i.y2),e>1||(n(i.x,i.y2,i.x2,i.y2),e>1)?s:(n(i.x2,i.y,i.x2,i.y2),e===0?-1:s)}function ct(i,t){let s=0,e=b(i,new N(t.x,t.y,t.x2,t.y));s+=e.state===w.POINT?1:0;let n=b(i,new N(t.x,t.y,t.x,t.y2));s+=n.state===w.POINT?1:0;let r=b(i,new N(t.x,t.y2,t.x2,t.y2));s+=r.state===w.POINT?1:0;let h=b(i,new N(t.x2,t.y,t.x2,t.y2));return s+=h.state===w.POINT?1:0,{top:e,left:n,bottom:r,right:h,count:s}}var T=class i{constructor(t,s,e,n){this.x=t,this.y=s,this.width=e,this.height=n}get x2(){return this.x+this.width}get y2(){return this.y+this.height}get cx(){return this.x+this.width/2}get cy(){return this.y+this.height/2}get radius(){return Math.max(this.width,this.height)/2}static from(t){return new i(t.x,t.y,t.width,t.height)}equals(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height}clone(){return new i(this.x,this.y,this.width,this.height)}add(t){let s=Math.min(this.x,t.x),e=Math.min(this.y,t.y),n=Math.max(this.x2,t.x+t.width),r=Math.max(this.y2,t.y+t.height);this.x=s,this.y=e,this.width=n-s,this.height=r-e}addPoint(t){let s=Math.min(this.x,t.x),e=Math.min(this.y,t.y),n=Math.max(this.x2,t.x),r=Math.max(this.y2,t.y);this.x=s,this.y=e,this.width=n-s,this.height=r-e}toString(){return`Rectangle[x=${this.x}, y=${this.y}, w=${this.width}, h=${this.height}]`}draw(t){t.rect(this.x,this.y,this.width,this.height)}containsPt(t,s){return t>=this.x&&t<=this.x2&&s>=this.y&&s<=this.y2}get area(){return this.width*this.height}intersects(t){return this.area<=0||t.width<=0||t.height<=0?!1:t.x+t.width>this.x&&t.y+t.height>this.y&&t.x<this.x2&&t.y<this.y2}distSquare(t,s){if(this.containsPt(t,s))return 0;let e=$(this,t,s);return e.has(M.TOP)?e.has(M.LEFT)?P(t,s,this.x,this.y):e.has(M.RIGHT)?P(t,s,this.x2,this.y):(this.y-s)*(this.y-s):e.has(M.BOTTOM)?e.has(M.LEFT)?P(t,s,this.x,this.y2):e.has(M.RIGHT)?P(t,s,this.x2,this.y2):(s-this.y2)*(s-this.y2):e.has(M.LEFT)?(this.x-t)*(this.x-t):e.has(M.RIGHT)?(t-this.x2)*(t-this.x2):0}};function at(i){if(i.length===0)return null;let t=i[0],s=new T(t.x,t.y,0,0);for(let e of i)s.addPoint(e);return s}var k=class i{constructor(t,s,e){this.cx=t,this.cy=s,this.radius=e}get x(){return this.cx-this.radius}get x2(){return this.cx+this.radius}get width(){return this.radius*2}get y(){return this.cy-this.radius}get y2(){return this.cy+this.radius}get height(){return this.radius*2}static from(t){return new i(t.cx,t.cy,t.radius)}containsPt(t,s){return P(this.cx,this.cy,t,s)<this.radius*this.radius}distSquare(t,s){let e=P(this.cx,this.cy,t,s);if(e<this.radius*this.radius)return 0;let n=Math.sqrt(e)-this.radius;return n*n}draw(t){t.ellipse(this.cx,this.cy,this.radius,this.radius,0,0,Math.PI*2)}},G=class i{constructor(t,s=0,e=0,n=0,r=0,h=10,o=10,a=new Float32Array(Math.max(0,h*o)).fill(0)){this.pixelGroup=t,this.i=s,this.j=e,this.pixelX=n,this.pixelY=r,this.width=h,this.height=o,this.area=a}createSub(t,s){return new i(this.pixelGroup,t.x,t.y,s.x,s.y,t.width,t.height)}static fromPixelRegion(t,s){return new i(s,0,0,t.x,t.y,Math.ceil(t.width/s),Math.ceil(t.height/s))}copy(t,s){return new i(this.pixelGroup,this.scaleX(s.x),this.scaleY(s.y),s.x,s.y,t.width,t.height,t.area)}boundX(t){return t<this.i?this.i:t>=this.width?this.width-1:t}boundY(t){return t<this.j?this.j:t>=this.height?this.height-1:t}scaleX(t){return this.boundX(Math.floor((t-this.pixelX)/this.pixelGroup))}scaleY(t){return this.boundY(Math.floor((t-this.pixelY)/this.pixelGroup))}scale(t){let s=this.scaleX(t.x),e=this.scaleY(t.y),n=this.boundX(Math.ceil((t.x+t.width-this.pixelX)/this.pixelGroup)),r=this.boundY(Math.ceil((t.y+t.height-this.pixelY)/this.pixelGroup)),h=n-s,o=r-e;return new T(s,e,h,o)}invertScaleX(t){return Math.round(t*this.pixelGroup+this.pixelX)}invertScaleY(t){return Math.round(t*this.pixelGroup+this.pixelY)}addPadding(t,s){let e=Math.ceil(s/this.pixelGroup),n=this.boundX(t.x-e),r=this.boundY(t.y-e),h=this.boundX(t.x2+e),o=this.boundY(t.y2+e),a=h-n,c=o-r;return new T(n,r,a,c)}get(t,s){return t<0||s<0||t>=this.width||s>=this.height?Number.NaN:this.area[t+s*this.width]}inc(t,s,e){t<0||s<0||t>=this.width||s>=this.height||(this.area[t+s*this.width]+=e)}set(t,s,e){t<0||s<0||t>=this.width||s>=this.height||(this.area[t+s*this.width]=e)}incArea(t,s){if(t.width<=0||t.height<=0||s===0)return;let e=this.width,n=t.width,r=Math.max(0,t.i),h=Math.max(0,t.j),o=Math.min(t.i+t.width,e),a=Math.min(t.j+t.height,this.height);if(!(a<=0||o<=0||r>=e||a>=this.height))for(let c=h;c<a;c++){let l=(c-t.j)*n,f=c*e;for(let u=r;u<o;u++){let x=t.area[u-t.i+l];x!==0&&(this.area[u+f]+=s*x)}}}fill(t){this.area.fill(t)}fillArea(t,s){let e=t.x+t.y*this.width;for(let n=0;n<t.height;n++){let r=e+n*this.width;this.area.fill(s,r,r+t.width)}}fillHorizontalLine(t,s,e,n){let r=t+s*this.width;this.area.fill(n,r,r+e)}fillVerticalLine(t,s,e,n){let r=t+s*this.width;for(let h=0;h<e;h++)this.area[r+h*this.width]=n}clear(){this.area.fill(0)}toString(){let t="";for(let s=0;s<this.height;s++){let e=s*this.width;for(let n=0;n<this.width;n++){let r=this.area[e+n];t+=r.toFixed(1).padStart(6),t+=" "}t+=`
|
|
3
|
+
`}return t}draw(t,s=!0){if(this.width<=0||this.height<=0)return;t.save(),s&&t.translate(this.pixelX,this.pixelY);let e=this.area.reduce((h,o)=>Math.min(h,o),Number.POSITIVE_INFINITY),n=this.area.reduce((h,o)=>Math.max(h,o),Number.NEGATIVE_INFINITY),r=h=>(h-e)/(n-e);t.scale(this.pixelGroup,this.pixelGroup);for(let h=0;h<this.width;h++)for(let o=0;o<this.height;o++){let a=this.area[h+o*this.width];t.fillStyle=`rgba(0, 0, 0, ${r(a)})`,t.fillRect(h,o,1,1)}t.restore()}drawThreshold(t,s,e=!0){if(!(this.width<=0||this.height<=0)){t.save(),e&&t.translate(this.pixelX,this.pixelY),t.scale(this.pixelGroup,this.pixelGroup);for(let n=0;n<this.width;n++)for(let r=0;r<this.height;r++){let h=this.area[n+r*this.width];t.fillStyle=h>s?"black":"white",t.fillRect(n,r,1,1)}t.restore()}}};function tt(i,t){let s=e=>({x:e.x-t,y:e.y-t,width:e.width+2*t,height:e.height+2*t});return Array.isArray(i)?i.map(s):s(i)}function J(i,t,s){return it(Object.assign(Q(i),{distSquare:(e,n)=>z(i.x1,i.y1,i.x2,i.y2,e,n)}),t,s)}function it(i,t,s){let e=tt(i,s),n=t.scale(e),r=t.createSub(n,e);return lt(r,t,s,(h,o)=>i.distSquare(h,o)),r}function lt(i,t,s,e){let n=s*s;for(let r=0;r<i.height;r++)for(let h=0;h<i.width;h++){let o=t.invertScaleX(i.i+h),a=t.invertScaleY(i.j+r),c=e(o,a);if(c===0){i.set(h,r,n);continue}if(c<n){let l=s-Math.sqrt(c);i.set(h,r,l*l)}}return i}function ut(i,t,s){let e=t.scale(i),n=t.addPadding(e,s),r=t.createSub(n,{x:i.x-s,y:i.y-s}),h=e.x-n.x,o=e.y-n.y,a=n.x2-e.x2,c=n.y2-e.y2,l=n.width-h-a,f=n.height-o-c,u=s*s;r.fillArea({x:h,y:o,width:l+1,height:f+1},u);let x=[0],p=Math.max(o,h,a,c);{let y=t.invertScaleX(e.x+e.width/2);for(let I=1;I<p;I++){let S=t.invertScaleY(e.y-I),d=i.distSquare(y,S);if(d<u){let F=s-Math.sqrt(d);x.push(F*F)}else break}}let E=[],R=Math.max(h,a),nt=Math.max(o,a);for(let y=1;y<R;y++){let I=t.invertScaleX(e.x-y),S=[];for(let d=1;d<nt;d++){let F=t.invertScaleY(e.y-d),C=i.distSquare(I,F);if(C<u){let W=s-Math.sqrt(C);S.push(W*W)}else S.push(0)}E.push(S)}for(let y=1;y<Math.min(o,x.length);y++){let I=x[y];r.fillHorizontalLine(h,o-y,l+1,I)}for(let y=1;y<Math.min(c,x.length);y++){let I=x[y];r.fillHorizontalLine(h,o+f+y,l+1,I)}for(let y=1;y<Math.min(h,x.length);y++){let I=x[y];r.fillVerticalLine(h-y,o,f+1,I)}for(let y=1;y<Math.min(c,x.length);y++){let I=x[y];r.fillVerticalLine(h+l+y,o,f+1,I)}for(let y=1;y<h;y++){let I=E[y-1],S=h-y;for(let d=1;d<o;d++)r.set(S,o-d,I[d-1]);for(let d=1;d<c;d++)r.set(S,o+f+d,I[d-1])}for(let y=1;y<a;y++){let I=E[y-1],S=h+l+y;for(let d=1;d<o;d++)r.set(S,o-d,I[d-1]);for(let d=1;d<c;d++)r.set(S,o+f+d,I[d-1])}return r}function Ot(i,t,s,e){return{x:i,y:t,width:s,height:e}}function mt(i,t,s){return{cx:i,cy:t,radius:s}}function Pt(i,t,s,e){return{x1:i,y1:t,x2:s,y2:e}}function g(i,t){return{x:i,y:t}}function ft(i,t,s,e){if(i.length===0)return[];let n=wt(i);return n.map((r,h)=>{let o=n.slice(0,h);return xt(t,r,o,s,e)}).flat()}function xt(i,t,s,e,n){let r=g(t.cx,t.cy),h=gt(r,s,i);if(h==null)return[];let o=new N(r.x,r.y,h.cx,h.cy),a=yt(o,i,e,n);return dt(a,i)}function yt(i,t,s,e){let n=[],r=[];r.push(i);let h=!0;for(let o=0;o<s&&h;o++)for(h=!1;!h&&r.length>0;){let a=r.pop(),c=st(t,a),l=c?ct(a,c):null;if(!c||!l||l.count!==2){h||n.push(a);continue}let f=e,u=Y(c,f,l,!0),x=m(u,r)||m(u,n),p=q(u,t);for(;!x&&p&&f>=1;)f/=1.5,u=Y(c,f,l,!0),x=m(u,r)||m(u,n),p=q(u,t);if(u&&!x&&!p&&(r.push(new N(a.x1,a.y1,u.x,u.y)),r.push(new N(u.x,u.y,a.x2,a.y2)),h=!0),h)continue;f=e,u=Y(c,f,l,!1);let E=m(u,r)||m(u,n);for(p=q(u,t);!E&&p&&f>=1;)f/=1.5,u=Y(c,f,l,!1),E=m(u,r)||m(u,n),p=q(u,t);u&&!E&&(r.push(new N(a.x1,a.y1,u.x,u.y)),r.push(new N(u.x,u.y,a.x2,a.y2)),h=!0),h||n.push(a)}for(;r.length>0;)n.push(r.pop());return n}function dt(i,t){let s=[];for(;i.length>0;){let e=i.pop();if(i.length===0){s.push(e);break}let n=i.pop(),r=new N(e.x1,e.y1,n.x2,n.y2);st(t,r)?(s.push(e),i.push(n)):i.push(r)}return s}function gt(i,t,s){let e=Number.POSITIVE_INFINITY;return t.reduce((n,r)=>{let h=P(i.x,i.y,r.cx,r.cy);if(h>e)return n;let o=new N(i.x,i.y,r.cx,r.cy),a=Mt(s,o);return h*(a+1)*(a+1)<e&&(n=r,e=h*(a+1)*(a+1)),n},null)}function wt(i){if(i.length<2)return i;let t=0,s=0;return i.forEach(e=>{t+=e.cx,s+=e.cy}),t/=i.length,s/=i.length,i.map(e=>{let n=t-e.cx,r=s-e.cy,h=n*n+r*r;return[e,h]}).sort((e,n)=>e[1]-n[1]).map(e=>e[0])}function q(i,t){return t.some(s=>s.containsPt(i.x,i.y))}function m(i,t){return t.some(s=>!!(Z(s.x1,s.y1,i.x,i.y,.001)||Z(s.x2,s.y2,i.x,i.y,.001)))}function st(i,t){let s=Number.POSITIVE_INFINITY,e=null;for(let n of i){if(!B(n,t))continue;let r=ot(n,t);r>=0&&r<s&&(e=n,s=r)}return e}function Mt(i,t){return i.reduce((s,e)=>B(e,t)&&ht(e,t)?s+1:s,0)}function Y(i,t,s,e){let n=s.top,r=s.left,h=s.bottom,o=s.right;if(e){if(r.state===w.POINT){if(n.state===w.POINT)return g(i.x-t,i.y-t);if(h.state===w.POINT)return g(i.x-t,i.y2+t);let u=i.width*i.height;return i.width*((r.y-i.y+(o.y-i.y))*.5)<u*.5?r.y>o.y?g(i.x-t,i.y-t):g(i.x2+t,i.y-t):r.y<o.y?g(i.x-t,i.y2+t):g(i.x2+t,i.y2+t)}if(o.state===w.POINT){if(n.state===w.POINT)return g(i.x2+t,i.y-t);if(h.state===w.POINT)return g(i.x2+t,i.y2+t)}let l=i.height*i.width;return i.height*((n.x-i.x+(o.x-i.x))*.5)<l*.5?n.x>h.x?g(i.x-t,i.y-t):g(i.x-t,i.y2+t):n.x<h.x?g(i.x2+t,i.y-t):g(i.x2+t,i.y2+t)}if(r.state===w.POINT){if(n.state===w.POINT)return g(i.x2+t,i.y2+t);if(h.state===w.POINT)return g(i.x2+t,i.y-t);let l=i.height*i.width;return i.width*((r.y-i.y+(o.y-i.y))*.5)<l*.5?r.y>o.y?g(i.x2+t,i.y2+t):g(i.x-t,i.y2+t):r.y<o.y?g(i.x2+t,i.y-t):g(i.x-t,i.y-t)}if(o.state===w.POINT){if(n.state===w.POINT)return g(i.x-t,i.y2+t);if(h.state===w.POINT)return g(i.x-t,i.y-t)}let a=i.height*i.width;return i.height*((n.x-i.x+(o.x-i.x))*.5)<a*.5?n.x>h.x?g(i.x2+t,i.y2+t):g(i.x2+t,i.y-t):n.x<h.x?g(i.x-t,i.y2+t):g(i.x-t,i.y-t)}function It(i,t,s,e){if(!(i.closed?s<i.length:s<i.length-1))return!1;let r=i.get(t),h=i.get(s+1);for(let o=t+1;o<=s;o++){let a=i.get(o);if(z(r.x,r.y,h.x,h.y,a.x,a.y)>e)return!1}return!0}function pt(i=0){return t=>{if(i<0||t.length<3)return t;let s=[],e=0,n=i*i;for(;e<t.length;){let r=e+1;for(;It(t,e,r,n);)r++;s.push(t.get(e)),e=r}return new O(s)}}function Et(i,t){switch(i){case-2:return(((-t+3)*t-3)*t+1)/6;case-1:return((3*t-6)*t*t+4)/6;case 0:return(((-3*t+3)*t+3)*t+1)/6;case 1:return t*t*t/6;default:throw new Error("unknown error")}}function Nt(i=6){function r(h,o,a){let c=0,l=0;for(let f=-2;f<=1;f++){let u=h.get(o+f),x=Et(f,a);c+=x*u.x,l+=x*u.y}return{x:c,y:l}}return h=>{if(h.length<3)return h;let o=[],a=h.closed,c=h.length+3-1+(a?0:2);o.push(r(h,2-(a?0:2),0));for(let l=2-(a?0:2);l<c;l++)for(let f=1;f<=i;f++)o.push(r(h,l,f/i));return new O(o)}}function Tt(i=8){return t=>{let s=i,e=t.length;if(s>1)for(e=Math.floor(t.length/s);e<3&&s>1;)s-=1,e=Math.floor(t.length/s);let n=[];for(let r=0,h=0;h<e;h++,r+=s)n.push(t.get(r));return new O(n)}}var O=class{constructor(t=[],s=!0){this.points=t,this.closed=s}get(t){let s=t,e=this.points.length;return t<0?this.closed?this.get(t+e):this.points[0]:t>=e?this.closed?this.get(t-e):this.points[e-1]:this.points[s]}get length(){return this.points.length}toString(t=1/0){let s=this.points;if(s.length===0)return"";let e=typeof t=="function"?t:rt(t),n="M";for(let r of s)n+=`${e(r.x)},${e(r.y)} L`;return n=n.slice(0,-1),this.closed&&(n+=" Z"),n}draw(t){let s=this.points;if(s.length!==0){t.beginPath(),t.moveTo(s[0].x,s[0].y);for(let e of s)t.lineTo(e.x,e.y);this.closed&&t.closePath()}}sample(t){return Tt(t)(this)}simplify(t){return pt(t)(this)}bSplines(t){return Nt(t)(this)}apply(t){return t(this)}containsElements(t){let s=at(this.points);return s?t.every(e=>s.containsPt(e.cx,e.cy)&&this.withinArea(e.cx,e.cy)):!1}withinArea(t,s){if(this.length===0)return!1;let e=0,n=this.points[0],r=new N(n.x,n.y,n.x,n.y);for(let h=1;h<this.points.length;h++){let o=this.points[h];r.x1=r.x2,r.y1=r.y2,r.x2=o.x,r.y2=o.y,r.cuts(t,s)&&e++}return r.x1=r.x2,r.y1=r.y2,r.x2=n.x,r.y2=n.y,r.cuts(t,s)&&e++,e%2===1}},_=class{constructor(t=0){this.count=0,this.arr=[],this.set=new Set,this.arr.length=t}add(t){this.set.add(`${t.x}x${t.y}`),this.arr[this.count++]=t}contains(t){return this.set.has(`${t.x}x${t.y}`)}isFirst(t){if(this.count===0)return!1;let s=this.arr[0];return s!=null&&s.x===t.x&&s.y===t.y}path(){return new O(this.arr.slice(0,this.count))}clear(){this.set.clear(),this.count=0}get(t){return this.arr[t]}get length(){return this.count}},j=0,D=1,X=2,H=3;function Rt(i,t){let s=(Math.floor(i.width)+Math.floor(i.height))*2,e=new _(s);function n(a,c,l,f){let u=i.get(a,c);return Number.isNaN(u)?Number.NaN:u>t?l+f:l}function r(a,c){let l=j;return l=n(a,c,l,1),l=n(a+1,c,l,2),l=n(a,c+1,l,4),l=n(a+1,c+1,l,8),Number.isNaN(l)?-1:l}let h=D;function o(a,c){let l=a,f=c,u=i.invertScaleX(l),x=i.invertScaleY(f);for(let p=0;p<i.width*i.height;p++){let E={x:u,y:x};if(e.contains(E)){if(e.isFirst(E))return!0}else e.add(E);let R=r(l,f);switch(R){case-1:return!0;case 0:case 3:case 2:case 7:h=X;break;case 12:case 14:case 4:h=H;break;case 6:h=h===j?H:X;break;case 1:case 13:case 5:h=j;break;case 9:h=h===X?j:D;break;case 10:case 8:case 11:h=D;break;default:return console.warn("Marching squares invalid state: "+R),!0}switch(h){case j:f--,x-=i.pixelGroup;break;case D:f++,x+=i.pixelGroup;break;case H:l--,u-=i.pixelGroup;break;case X:l++,u+=i.pixelGroup;break;default:return console.warn("Marching squares invalid state: "+R),!0}}return!0}for(let a=0;a<i.width;a++)for(let c=0;c<i.height;c++){if(i.get(a,c)<=t)continue;let l=r(a,c);if(!(l<0||l===15)&&o(a,c))return e.path()}return null}var et={maxRoutingIterations:100,maxMarchingIterations:20,pixelGroup:4,edgeR0:10,edgeR1:20,nodeR0:15,nodeR1:50,morphBuffer:10,threshold:1,memberInfluenceFactor:1,edgeInfluenceFactor:1,nonMemberInfluenceFactor:-.8,virtualEdges:!0};function A(i){return i!=null&&typeof i.radius=="number"}function K(i,t){if(A(i)!==A(t))return!1;if(A(i)){let e=t;return i.cx===e.cx&&i.cy===e.cy&&i.radius===e.radius}let s=t;return i.x===s.x&&i.y===s.y&&i.width===s.width&&i.height===s.height}var v;(function(i){i[i.MEMBERS=0]="MEMBERS",i[i.NON_MEMBERS=1]="NON_MEMBERS",i[i.EDGES=2]="EDGES"})(v||(v={}));var V=class{constructor(t={}){this.dirty=new Set,this.members=[],this.nonMembers=[],this.virtualEdges=[],this.edges=[],this.activeRegion=new T(0,0,0,0),this.potentialArea=new G(1,0,0,0,0,0,0),this.o=Object.assign({},et,t)}pushMember(...t){if(t.length!==0){this.dirty.add(v.MEMBERS);for(let s of t)this.members.push({raw:s,obj:A(s)?k.from(s):T.from(s),area:null})}}removeMember(t){let s=this.members.findIndex(e=>K(e.raw,t));return s<0?!1:(this.members.splice(s,1),this.dirty.add(v.MEMBERS),!0)}removeNonMember(t){let s=this.nonMembers.findIndex(e=>K(e.raw,t));return s<0?!1:(this.nonMembers.splice(s,1),this.dirty.add(v.NON_MEMBERS),!0)}removeEdge(t){let s=this.edges.findIndex(e=>e.obj.equals(t));return s<0?!1:(this.edges.splice(s,1),this.dirty.add(v.NON_MEMBERS),!0)}pushNonMember(...t){if(t.length!==0){this.dirty.add(v.NON_MEMBERS);for(let s of t)this.nonMembers.push({raw:s,obj:A(s)?k.from(s):T.from(s),area:null})}}pushEdge(...t){if(t.length!==0){this.dirty.add(v.EDGES);for(let s of t)this.edges.push({raw:s,obj:N.from(s),area:null})}}update(){let t=this.dirty.has(v.MEMBERS),s=this.dirty.has(v.NON_MEMBERS),e=this.dirty.has(v.EDGES);this.dirty.clear();let n=this.members.map(c=>c.obj);if(this.o.virtualEdges&&(t||s)){let c=this.nonMembers.map(u=>u.obj),l=ft(n,c,this.o.maxRoutingIterations,this.o.morphBuffer),f=new Map(this.virtualEdges.map(u=>[u.obj.toString(),u.area]));this.virtualEdges=l.map(u=>{var x;return{raw:u,obj:u,area:(x=f.get(u.toString()))!==null&&x!==void 0?x:null}}),e=!0}let r=!1;if(t||e){let c=this.virtualEdges.concat(this.edges).map(x=>x.obj),l=vt(n,c),f=Math.max(this.o.edgeR1,this.o.nodeR1)+this.o.morphBuffer,u=T.from(tt(l,f));u.equals(this.activeRegion)||(r=!0,this.activeRegion=u)}if(r){let c=Math.ceil(this.activeRegion.width/this.o.pixelGroup),l=Math.ceil(this.activeRegion.height/this.o.pixelGroup);this.activeRegion.x!==this.potentialArea.pixelX||this.activeRegion.y!==this.potentialArea.pixelY?(this.potentialArea=G.fromPixelRegion(this.activeRegion,this.o.pixelGroup),this.members.forEach(f=>f.area=null),this.nonMembers.forEach(f=>f.area=null),this.edges.forEach(f=>f.area=null),this.virtualEdges.forEach(f=>f.area=null)):(c!==this.potentialArea.width||l!==this.potentialArea.height)&&(this.potentialArea=G.fromPixelRegion(this.activeRegion,this.o.pixelGroup))}let h=new Map,o=c=>{if(c.area){let l=`${c.obj.width}x${c.obj.height}x${c.obj instanceof T?"R":"C"}`;h.set(l,c.area)}},a=c=>{if(c.area)return;let l=`${c.obj.width}x${c.obj.height}x${c.obj instanceof T?"R":"C"}`;if(h.has(l)){let u=h.get(l);c.area=this.potentialArea.copy(u,{x:c.obj.x-this.o.nodeR1,y:c.obj.y-this.o.nodeR1});return}let f=c.obj instanceof T?ut(c.obj,this.potentialArea,this.o.nodeR1):it(c.obj,this.potentialArea,this.o.nodeR1);c.area=f,h.set(l,f)};this.members.forEach(o),this.nonMembers.forEach(o),this.members.forEach(a),this.nonMembers.forEach(c=>{this.activeRegion.intersects(c.obj)?a(c):c.area=null}),this.edges.forEach(c=>{c.area||(c.area=J(c.obj,this.potentialArea,this.o.edgeR1))}),this.virtualEdges.forEach(c=>{c.area||(c.area=J(c.obj,this.potentialArea,this.o.edgeR1))})}drawMembers(t){for(let s of this.members)s.obj.draw(t)}drawNonMembers(t){for(let s of this.nonMembers)s.obj.draw(t)}drawEdges(t){for(let s of this.edges)s.obj.draw(t)}drawPotentialArea(t,s=!0){this.potentialArea.draw(t,s)}compute(){if(this.members.length===0)return new O([]);this.dirty.size>0&&this.update();let{o:t,potentialArea:s}=this,e=this.members.map(o=>o.area),n=this.virtualEdges.concat(this.edges).map(o=>o.area),r=this.nonMembers.filter(o=>o.area!=null).map(o=>o.area),h=this.members.map(o=>o.obj);return St(s,e,n,r,o=>o.containsElements(h),t)}};function St(i,t,s,e,n,r={}){let h=Object.assign({},et,r),o=h.threshold,a=h.memberInfluenceFactor,c=h.edgeInfluenceFactor,l=h.nonMemberInfluenceFactor,f=(h.nodeR0-h.nodeR1)*(h.nodeR0-h.nodeR1),u=(h.edgeR0-h.edgeR1)*(h.edgeR0-h.edgeR1);for(let x=0;x<h.maxMarchingIterations;x++){if(i.clear(),a!==0){let E=a/f;for(let R of t)i.incArea(R,E)}if(c!==0){let E=c/u;for(let R of s)i.incArea(R,E)}if(l!==0){let E=l/f;for(let R of e)i.incArea(R,E)}let p=Rt(i,o);if(p&&n(p))return p;if(o*=.95,x<=h.maxMarchingIterations*.5)a*=1.2,c*=1.2;else if(l!==0&&e.length>0)l*=.8;else break}return new O([])}function vt(i,t){if(i.length===0)return new T(0,0,0,0);let s=T.from(i[0]);for(let e of i)s.add(e);for(let e of t)s.add(Q(e));return s}function jt(i,t=[],s=[],e={}){if(i.length===0)return new O([]);let n=new V(e);return n.pushMember(...i),n.pushNonMember(...t),n.pushEdge(...s),n.compute()}export{G as Area,V as BubbleSets,k as Circle,N as Line,O as PointPath,T as Rectangle,tt as addPadding,at as boundingBox,St as calculatePotentialOutline,ft as calculateVirtualEdges,mt as circle,it as createGenericInfluenceArea,J as createLineInfluenceArea,jt as createOutline,ut as createRectangleInfluenceArea,V as default,et as defaultOptions,Pt as line,Q as lineBoundingBox,g as point,Ot as rect,vt as unionBoundingBox};
|
|
4
|
+
//# sourceMappingURL=bubblesets-js.mjs.map
|
package/echarts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0 */
|
|
2
|
+
import "/echarts@6.0.0/es2022/lib/export/charts.mjs";
|
|
3
|
+
import "/echarts@6.0.0/es2022/lib/export/components.mjs";
|
|
4
|
+
import "/echarts@6.0.0/es2022/lib/export/core.mjs";
|
|
5
|
+
import "/echarts@6.0.0/es2022/lib/export/features.mjs";
|
|
6
|
+
import "/echarts@6.0.0/es2022/lib/export/renderers.mjs";
|
|
7
|
+
import "/echarts@6.0.0/es2022/lib/extension.mjs";
|
|
8
|
+
export * from "/echarts@6.0.0/es2022/echarts.mjs";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0 */
|
|
2
|
+
import{use as o}from"./lib/extension.mjs";export*from"./lib/export/core.mjs";import{SVGRenderer as t,CanvasRenderer as n}from"./lib/export/renderers.mjs";import{LineChart as e,BarChart as a,PieChart as r,ScatterChart as C,RadarChart as m,MapChart as p,TreeChart as i,TreemapChart as h,GraphChart as l,ChordChart as s,GaugeChart as u,FunnelChart as d,ParallelChart as T,SankeyChart as c,BoxplotChart as f,CandlestickChart as L,EffectScatterChart as M,LinesChart as P,HeatmapChart as S,PictorialBarChart as x,ThemeRiverChart as G,SunburstChart as k,CustomChart as b}from"./lib/export/charts.mjs";import{GridComponent as A,PolarComponent as B,GeoComponent as g,SingleAxisComponent as D,ParallelComponent as R,CalendarComponent as V,MatrixComponent as v,GraphicComponent as y,ToolboxComponent as Z,TooltipComponent as w,AxisPointerComponent as E,BrushComponent as F,TitleComponent as H,TimelineComponent as I,MarkPointComponent as J,MarkLineComponent as U,MarkAreaComponent as j,LegendComponent as q,DataZoomComponent as z,DataZoomInsideComponent as K,DataZoomSliderComponent as N,VisualMapComponent as O,VisualMapContinuousComponent as Q,VisualMapPiecewiseComponent as W,ThumbnailComponent as X,AriaComponent as Y,DatasetComponent as _,TransformComponent as $}from"./lib/export/components.mjs";import{UniversalTransition as oo,LabelLayout as to,AxisBreak as no,LegacyGridContainLabel as eo,ScatterJitter as ao}from"./lib/export/features.mjs";o([n]);o([t]);o([e,a,r,C,m,p,i,h,l,s,u,d,T,c,f,L,M,P,S,x,G,k,b]);o(A);o(B);o(g);o(D);o(R);o(V);o(v);o(y);o(Z);o(w);o(E);o(F);o(H);o(I);o(J);o(U);o(j);o(q);o(z);o(K);o(N);o(O);o(Q);o(W);o(X);o(Y);o($);o(_);o(oo);o(to);o(no);o(eo);o(ao);
|
|
3
|
+
//# sourceMappingURL=echarts.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/bar/install */
|
|
2
|
+
import*as e from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{layout as a,createProgressiveLayout as m}from"../../layout/barGrid.mjs";import I from"../../processor/dataSample.mjs";import p from"./BarSeries.mjs";import c from"./BarView.mjs";function O(r){r.registerChartView(c),r.registerSeriesModel(p),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,e.curry(a,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,m("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,I("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(o,t){var i=o.componentType||"series";t.eachComponent({mainType:i,query:o},function(n){o.sortInfo&&n.axis.setCategorySortInfo(o.sortInfo)})})}export{O as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/bar/installPictorialBar */
|
|
2
|
+
import o from"./PictorialBarView.mjs";import i from"./PictorialBarSeries.mjs";import{createProgressiveLayout as t,layout as a}from"../../layout/barGrid.mjs";import{curry as e}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function I(r){r.registerChartView(o),r.registerSeriesModel(i),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,e(a,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,t("pictorialBar"))}export{I as install};
|
|
3
|
+
//# sourceMappingURL=installPictorialBar.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/boxplot/install */
|
|
2
|
+
import r from"./BoxplotSeries.mjs";import t from"./BoxplotView.mjs";import e from"./boxplotLayout.mjs";import{boxplotTransform as i}from"./boxplotTransform.mjs";function a(o){o.registerSeriesModel(r),o.registerChartView(t),o.registerLayout(e),o.registerTransform(i)}export{a as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/candlestick/install */
|
|
2
|
+
import o from"./CandlestickView.mjs";import e from"./CandlestickSeries.mjs";import i from"./preprocessor.mjs";import t from"./candlestickVisual.mjs";import a from"./candlestickLayout.mjs";function n(r){r.registerChartView(o),r.registerSeriesModel(e),r.registerPreprocessor(i),r.registerVisual(t),r.registerLayout(a)}export{n as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/chord/install */
|
|
2
|
+
import r from"./ChordView.mjs";import t from"./ChordSeries.mjs";import e from"./chordLayout.mjs";import i from"../../processor/dataFilter.mjs";function h(o){o.registerChartView(r),o.registerSeriesModel(t),o.registerLayout(o.PRIORITY.VISUAL.POST_CHART_LAYOUT,e),o.registerProcessor(i("chord"))}export{h as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/effectScatter/install */
|
|
2
|
+
import e from"./EffectScatterView.mjs";import r from"./EffectScatterSeries.mjs";import o from"../../layout/points.mjs";function c(t){t.registerChartView(e),t.registerSeriesModel(r),t.registerLayout(o("effectScatter"))}export{c as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/funnel/install */
|
|
2
|
+
import r from"./FunnelView.mjs";import o from"./FunnelSeries.mjs";import t from"./funnelLayout.mjs";import i from"../../processor/dataFilter.mjs";function u(e){e.registerChartView(r),e.registerSeriesModel(o),e.registerLayout(t),e.registerProcessor(i("funnel"))}export{u as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/graph/install */
|
|
2
|
+
import a from"./categoryFilter.mjs";import f from"./categoryVisual.mjs";import p from"./edgeVisual.mjs";import y from"./simpleLayout.mjs";import d from"./circularLayout.mjs";import A from"./forceLayout.mjs";import V from"./createView.mjs";import g from"../../coord/View.mjs";import w from"./GraphView.mjs";import L from"./GraphSeries.mjs";import{updateCenterAndZoomInAction as h}from"../../component/helper/roamHelper.mjs";import{noop as m}from"/zrender@6.0.0/es2022/lib/core/util.mjs";function Z(o){o.registerChartView(w),o.registerSeriesModel(L),o.registerProcessor(a),o.registerVisual(f),o.registerVisual(p),o.registerLayout(y),o.registerLayout(o.PRIORITY.VISUAL.POST_CHART_LAYOUT,d),o.registerLayout(A),o.registerCoordinateSystem("graphView",{dimensions:g.dimensions,create:V}),o.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},m),o.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},m),o.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(e,c,r){c.eachComponent({mainType:"series",query:e},function(t){var n=r.getViewOfSeriesModel(t);n&&(e.dx!=null&&e.dy!=null&&n.updateViewOnPan(t,r,e),e.zoom!=null&&e.originX!=null&&e.originY!=null&&n.updateViewOnZoom(t,r,e));var u=t.coordinateSystem,i=h(u,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)})})}export{Z as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/line/install */
|
|
2
|
+
import r from"./LineSeries.mjs";import o from"./LineView.mjs";import a from"../../layout/points.mjs";import n from"../../processor/dataSample.mjs";function u(e){e.registerChartView(o),e.registerSeriesModel(r),e.registerLayout(a("line",!0)),e.registerVisual({seriesType:"line",reset:function(i){var l=i.getData(),t=i.getModel("lineStyle").getLineStyle();t&&!t.stroke&&(t.stroke=l.getVisual("style").fill),l.setVisual("legendLineStyle",t)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,n("line"))}export{u as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/lines/install */
|
|
2
|
+
import e from"./LinesView.mjs";import o from"./LinesSeries.mjs";import r from"./linesLayout.mjs";import t from"./linesVisual.mjs";function a(i){i.registerChartView(e),i.registerSeriesModel(o),i.registerLayout(r),i.registerVisual(t)}export{a as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/map/install */
|
|
2
|
+
import{use as t}from"../../extension.mjs";import r from"./MapView.mjs";import a from"./MapSeries.mjs";import i from"./mapDataStatistic.mjs";import m from"./mapSymbolLayout.mjs";import{createLegacyDataSelectAction as e}from"../../legacy/dataSelectAction.mjs";import{install as p}from"../../component/geo/install.mjs";function y(o){t(p),o.registerChartView(r),o.registerSeriesModel(a),o.registerLayout(m),o.registerProcessor(o.PRIORITY.PROCESSOR.STATISTIC,i),e("map",o.registerAction)}export{y as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/parallel/install */
|
|
2
|
+
import{use as r}from"../../extension.mjs";import o from"./ParallelView.mjs";import a from"./ParallelSeries.mjs";import e from"./parallelVisual.mjs";import{install as i}from"../../component/parallel/install.mjs";function s(l){r(i),l.registerChartView(o),l.registerSeriesModel(a),l.registerVisual(l.PRIORITY.VISUAL.BRUSH,e)}export{s as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/pie/install */
|
|
2
|
+
import{createLegacyDataSelectAction as r}from"../../legacy/dataSelectAction.mjs";import i from"./pieLayout.mjs";import o from"../../processor/dataFilter.mjs";import{curry as t}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import m from"./PieView.mjs";import a from"./PieSeries.mjs";import p from"../../processor/negativeDataFilter.mjs";function d(e){e.registerChartView(m),e.registerSeriesModel(a),r("pie",e.registerAction),e.registerLayout(t(i,"pie")),e.registerProcessor(o("pie")),e.registerProcessor(p("pie"))}export{d as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/radar/install */
|
|
2
|
+
import{use as o}from"../../extension.mjs";import a from"./radarLayout.mjs";import t from"../../processor/dataFilter.mjs";import e from"./backwardCompat.mjs";import i from"./RadarView.mjs";import m from"./RadarSeries.mjs";import{install as p}from"../../component/radar/install.mjs";function w(r){o(p),r.registerChartView(i),r.registerSeriesModel(m),r.registerLayout(a),r.registerProcessor(t("radar")),r.registerPreprocessor(e)}export{w as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/sankey/install */
|
|
2
|
+
import m from"./SankeyView.mjs";import u from"./SankeySeries.mjs";import c from"./sankeyLayout.mjs";import y from"./sankeyVisual.mjs";import{updateCenterAndZoomInAction as p}from"../../component/helper/roamHelper.mjs";function C(n){n.registerChartView(m),n.registerSeriesModel(u),n.registerLayout(c),n.registerVisual(y),n.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,o){o.eachComponent({mainType:"series",subType:"sankey",query:e},function(i){i.setNodePosition(e.dataIndex,[e.localX,e.localY])})}),n.registerAction({type:"sankeyRoam",event:"sankeyRoam",update:"none"},function(e,o,i){o.eachComponent({mainType:"series",subType:"sankey",query:e},function(t){var r=t.coordinateSystem,a=p(r,e,t.get("scaleLimit"));t.setCenter(a.center),t.setZoom(a.zoom)})})}export{C as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/scatter/install */
|
|
2
|
+
import{use as r}from"../../extension.mjs";import o from"./ScatterSeries.mjs";import i from"./ScatterView.mjs";import{install as e}from"../../component/grid/installSimple.mjs";import a from"../../layout/points.mjs";import m from"./jitterLayout.mjs";function u(t){r(e),t.registerSeriesModel(o),t.registerChartView(i),t.registerLayout(a("scatter"))}function c(t){t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,m)}export{u as install,c as installScatterJitter};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/sunburst/install */
|
|
2
|
+
import o from"./SunburstView.mjs";import u from"./SunburstSeries.mjs";import i from"./sunburstLayout.mjs";import m from"./sunburstVisual.mjs";import s from"../../processor/dataFilter.mjs";import{curry as t}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{installSunburstAction as n}from"./sunburstAction.mjs";function c(r){r.registerChartView(o),r.registerSeriesModel(u),r.registerLayout(t(i,"sunburst")),r.registerProcessor(t(s,"sunburst")),r.registerVisual(m),n(r)}export{c as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/themeRiver/install */
|
|
2
|
+
import r from"./ThemeRiverView.mjs";import i from"./ThemeRiverSeries.mjs";import o from"./themeRiverLayout.mjs";import t from"../../processor/dataFilter.mjs";function l(e){e.registerChartView(r),e.registerSeriesModel(i),e.registerLayout(o),e.registerProcessor(t("themeRiver"))}export{l as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/tree/install */
|
|
2
|
+
import r from"./TreeView.mjs";import o from"./TreeSeries.mjs";import i from"./treeLayout.mjs";import t from"./treeVisual.mjs";import{installTreeAction as m}from"./treeAction.mjs";function u(e){e.registerChartView(r),e.registerSeriesModel(o),e.registerLayout(i),e.registerVisual(t),m(e)}export{u as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/chart/treemap/install */
|
|
2
|
+
import{installTreemapAction as r}from"./treemapAction.mjs";import o from"./TreemapSeries.mjs";import i from"./TreemapView.mjs";import m from"./treemapVisual.mjs";import t from"./treemapLayout.mjs";function u(e){e.registerSeriesModel(o),e.registerChartView(i),e.registerVisual(m),e.registerLayout(t),r(e)}export{u as install};
|
|
3
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/export/charts */
|
|
2
|
+
import{install as t}from"../chart/line/install.mjs";import{install as o}from"../chart/bar/install.mjs";import{install as e}from"../chart/pie/install.mjs";import{install as n}from"../chart/scatter/install.mjs";import{install as m}from"../chart/radar/install.mjs";import{install as C}from"../chart/map/install.mjs";import{install as x}from"../chart/tree/install.mjs";import{install as u}from"../chart/treemap/install.mjs";import{install as d}from"../chart/graph/install.mjs";import{install as P}from"../chart/chord/install.mjs";import{install as k}from"../chart/gauge/install.mjs";import{install as L}from"../chart/funnel/install.mjs";import{install as b}from"../chart/parallel/install.mjs";import{install as v}from"../chart/sankey/install.mjs";import{install as E}from"../chart/boxplot/install.mjs";import{install as H}from"../chart/candlestick/install.mjs";import{install as j}from"../chart/effectScatter/install.mjs";import{install as w}from"../chart/lines/install.mjs";import{install as A}from"../chart/heatmap/install.mjs";import{install as I}from"../chart/bar/installPictorialBar.mjs";import{install as K}from"../chart/themeRiver/install.mjs";import{install as O}from"../chart/sunburst/install.mjs";import{install as U}from"../chart/custom/install.mjs";export{o as BarChart,E as BoxplotChart,H as CandlestickChart,P as ChordChart,U as CustomChart,j as EffectScatterChart,L as FunnelChart,k as GaugeChart,d as GraphChart,A as HeatmapChart,t as LineChart,w as LinesChart,C as MapChart,b as ParallelChart,I as PictorialBarChart,e as PieChart,m as RadarChart,v as SankeyChart,n as ScatterChart,O as SunburstChart,K as ThemeRiverChart,x as TreeChart,u as TreemapChart};
|
|
3
|
+
//# sourceMappingURL=charts.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/export/components */
|
|
2
|
+
import{install as t}from"../component/grid/installSimple.mjs";import{install as e}from"../component/grid/install.mjs";import{install as r}from"../component/polar/install.mjs";import{install as m}from"../component/radar/install.mjs";import{install as i}from"../component/geo/install.mjs";import{install as C}from"../component/singleAxis/install.mjs";import{install as d}from"../component/parallel/install.mjs";import{install as M}from"../component/calendar/install.mjs";import{install as T}from"../component/matrix/install.mjs";import{install as A}from"../component/graphic/install.mjs";import{install as G}from"../component/toolbox/install.mjs";import{install as S}from"../component/tooltip/install.mjs";import{install as h}from"../component/axisPointer/install.mjs";import{install as V}from"../component/brush/install.mjs";import{install as b}from"../component/title/install.mjs";import{install as B}from"../component/timeline/install.mjs";import{install as R}from"../component/marker/installMarkPoint.mjs";import{install as q}from"../component/marker/installMarkLine.mjs";import{install as y}from"../component/marker/installMarkArea.mjs";import{install as E}from"../component/legend/install.mjs";import{install as H}from"../component/legend/installLegendScroll.mjs";import{install as K}from"../component/legend/installLegendPlain.mjs";import{install as O}from"../component/dataZoom/install.mjs";import{install as U}from"../component/dataZoom/installDataZoomInside.mjs";import{install as X}from"../component/dataZoom/installDataZoomSlider.mjs";import{install as _}from"../component/visualMap/install.mjs";import{install as oo}from"../component/visualMap/installVisualMapContinuous.mjs";import{install as to}from"../component/visualMap/installVisualMapPiecewise.mjs";import{install as eo}from"../component/thumbnail/install.mjs";import{install as ro}from"../component/aria/install.mjs";import{install as mo}from"../component/transform/install.mjs";import{install as io}from"../component/dataset/install.mjs";export{ro as AriaComponent,h as AxisPointerComponent,V as BrushComponent,M as CalendarComponent,O as DataZoomComponent,U as DataZoomInsideComponent,X as DataZoomSliderComponent,io as DatasetComponent,i as GeoComponent,A as GraphicComponent,e as GridComponent,t as GridSimpleComponent,E as LegendComponent,K as LegendPlainComponent,H as LegendScrollComponent,y as MarkAreaComponent,q as MarkLineComponent,R as MarkPointComponent,T as MatrixComponent,d as ParallelComponent,r as PolarComponent,m as RadarComponent,C as SingleAxisComponent,eo as ThumbnailComponent,B as TimelineComponent,b as TitleComponent,G as ToolboxComponent,S as TooltipComponent,mo as TransformComponent,_ as VisualMapComponent,oo as VisualMapContinuousComponent,to as VisualMapPiecewiseComponent};
|
|
3
|
+
//# sourceMappingURL=components.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/export/features */
|
|
2
|
+
import{installUniversalTransition as r}from"../animation/universalTransition.mjs";import{installLabelLayout as i}from"../label/installLabelLayout.mjs";import{installAxisBreak as o}from"../component/axis/installBreak.mjs";import{installLegacyGridContainLabel as n}from"../coord/cartesian/legacyContainLabel.mjs";import{installScatterJitter as x}from"../chart/scatter/install.mjs";export{o as AxisBreak,i as LabelLayout,n as LegacyGridContainLabel,x as ScatterJitter,r as UniversalTransition};
|
|
3
|
+
//# sourceMappingURL=features.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - echarts@6.0.0/lib/extension */
|
|
2
|
+
import{registerPreprocessor as g,registerProcessor as a,registerPostInit as m,registerPostUpdate as p,registerAction as f,registerCoordinateSystem as u,registerLayout as l,registerVisual as c,registerTransform as C,registerLoading as d,registerMap as P,registerUpdateLifecycle as y,PRIORITY as S}from"./core/echarts.mjs";import t from"./view/Component.mjs";import s from"./view/Chart.mjs";import i from"./model/Component.mjs";import o from"./model/Series.mjs";import{isFunction as I,indexOf as M,isArray as V,each as w}from"/zrender@6.0.0/es2022/lib/core/util.mjs";import{registerImpl as L}from"./core/impl.mjs";import{registerPainter as T}from"/zrender@6.0.0/es2022/lib/zrender.mjs";import{registerCustomSeries as h}from"./chart/custom/customSeriesRegister.mjs";var n=[],R={registerPreprocessor:g,registerProcessor:a,registerPostInit:m,registerPostUpdate:p,registerUpdateLifecycle:y,registerAction:f,registerCoordinateSystem:u,registerLayout:l,registerVisual:c,registerTransform:C,registerLoading:d,registerMap:P,registerImpl:L,PRIORITY:S,ComponentModel:i,ComponentView:t,SeriesModel:o,ChartView:s,registerComponentModel:function(e){i.registerClass(e)},registerComponentView:function(e){t.registerClass(e)},registerSeriesModel:function(e){o.registerClass(e)},registerChartView:function(e){s.registerClass(e)},registerCustomSeries:function(e,r){h(e,r)},registerSubTypeDefaulter:function(e,r){i.registerSubTypeDefaulter(e,r)},registerPainter:function(e,r){T(e,r)}};function U(e){if(V(e)){w(e,function(r){U(r)});return}M(n,e)>=0||(n.push(e),I(e)&&(e={install:e}),e.install(R))}export{U as use};
|
|
3
|
+
//# sourceMappingURL=extension.mjs.map
|