UNPKG

@linkdesign/screen

Version:

屏组件库,但使用场景又不局限于屏。主要用于BI、大盘和屏

6 lines 2.12 MB
!function t(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("@alifd/next")):"function"==typeof define&&define.amd?define(["react","@alifd/next"],n):"object"==typeof exports?exports.LinkDesignScreen=n(require("react"),require("@alifd/next")):e.LinkDesignScreen=n(e.React,e.Next)}(window,(function(t,e){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function e(){return t.default}:function e(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="./dist/",n(n.s=171)}([function(t,e,n){"use strict";n.d(e,"p",(function(){return v})),n.d(e,"G",(function(){return y})),n.d(e,"d",(function(){return m})),n.d(e,"I",(function(){return b})),n.d(e,"J",(function(){return x})),n.d(e,"m",(function(){return w})),n.d(e,"i",(function(){return O})),n.d(e,"r",(function(){return S})),n.d(e,"s",(function(){return M})),n.d(e,"K",(function(){return j})),n.d(e,"u",(function(){return C})),n.d(e,"k",(function(){return k})),n.d(e,"H",(function(){return T})),n.d(e,"N",(function(){return I})),n.d(e,"n",(function(){return A})),n.d(e,"o",(function(){return F})),n.d(e,"F",(function(){return P})),n.d(e,"c",(function(){return D})),n.d(e,"h",(function(){return E})),n.d(e,"t",(function(){return R})),n.d(e,"w",(function(){return B})),n.d(e,"C",(function(){return N})),n.d(e,"D",(function(){return z})),n.d(e,"z",(function(){return V})),n.d(e,"A",(function(){return H})),n.d(e,"E",(function(){return W})),n.d(e,"v",(function(){return Y})),n.d(e,"x",(function(){return X})),n.d(e,"y",(function(){return U})),n.d(e,"B",(function(){return q})),n.d(e,"l",(function(){return Z})),n.d(e,"O",(function(){return K})),n.d(e,"P",(function(){return J})),n.d(e,"Q",(function(){return Q})),n.d(e,"S",(function(){return $})),n.d(e,"M",(function(){return tt})),n.d(e,"b",(function(){return et})),n.d(e,"T",(function(){return nt})),n.d(e,"R",(function(){return it})),n.d(e,"f",(function(){return ut})),n.d(e,"e",(function(){return ht})),n.d(e,"g",(function(){return ft})),n.d(e,"j",(function(){return pt})),n.d(e,"q",(function(){return dt})),n.d(e,"L",(function(){return gt})),n.d(e,"a",(function(){return vt}));var r=n(20),i=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,c=s.filter,u=s.slice,h=s.map,f=function(){}.constructor,p=f?f.prototype:null,d="__proto__",g=2311;function v(){return g++}function y(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!ot(t)){e=[];for(var r=0,s=t.length;r<s;r++)e[r]=m(t[r])}}else if(o[n]){if(!ot(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var r=0,s=t.length;r<s;r++)e[r]=t[r]}}}else if(!i[n]&&!ot(t)&&!Y(t))for(var c in e={},t)t.hasOwnProperty(c)&&c!==d&&(e[c]=m(t[c]));return e}function b(t,e,n){if(!H(e)||!H(t))return n?m(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==d){var i=t[r],o=e[r];!H(o)||!H(i)||R(o)||R(i)||Y(o)||Y(i)||G(o)||G(i)||ot(o)||ot(i)?!n&&r in t||(t[r]=m(e[r])):b(i,o,n)}return t}function x(t,e){for(var n=t[0],r=1,i=t.length;r<i;r++)n=b(n,t[r],e);return n}function w(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==d&&(t[n]=e[n]);return t}function O(t,e,n){for(var r=P(e),i=0;i<r.length;i++){var o=r[i];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var _=r.d.createCanvas;function S(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return-1}function M(t,e){var n=t.prototype;function r(){}for(var i in r.prototype=e.prototype,t.prototype=new r,n)n.hasOwnProperty(i)&&(t.prototype[i]=n[i]);t.prototype.constructor=t,t.superClass=e}function j(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else O(t,e,n)}function C(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function k(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function T(t,e,n){if(!t)return[];if(!e)return $(t);if(t.map&&t.map===h)return t.map(e,n);for(var r=[],i=0,o=t.length;i<o;i++)r.push(e.call(n,t[i],i,t));return r}function I(t,e,n,r){if(t&&e){for(var i=0,o=t.length;i<o;i++)n=e.call(r,n,t[i],i,t);return n}}function A(t,e,n){if(!t)return[];if(!e)return $(t);if(t.filter&&t.filter===c)return t.filter(e,n);for(var r=[],i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}function F(t,e,n){if(t&&e)for(var r=0,i=t.length;r<i;r++)if(e.call(n,t[r],r,t))return t[r]}function P(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function L(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(u.call(arguments)))}}var D=p&&B(p.bind)?p.call.bind(p.bind):L;function E(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(u.call(arguments)))}}function R(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function B(t){return"function"==typeof t}function N(t){return"string"==typeof t}function z(t){return"[object String]"===a.call(t)}function V(t){return"number"==typeof t}function H(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function G(t){return!!i[a.call(t)]}function W(t){return!!o[a.call(t)]}function Y(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function X(t){return null!=t.colorStops}function U(t){return null!=t.image}function q(t){return"[object RegExp]"===a.call(t)}function Z(t){return t!=t}function K(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t.length;n<r;n++)if(null!=t[n])return t[n]}function J(t,e){return null!=t?t:e}function Q(t,e,n){return null!=t?t:null!=e?e:n}function $(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return u.apply(t,e)}function tt(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function et(t,e){if(!t)throw new Error(e)}function nt(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var rt="__ec_primitive__";function it(t){t[rt]=!0}function ot(t){return t[rt]}var at=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return P(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),st="function"==typeof Map;function lt(){return st?new Map:new at}var ct=function(){function t(e){var n=R(e);this.data=lt();var r=this;function i(t,e){n?r.set(t,e):r.set(e,t)}e instanceof t?e.each(i):e&&k(e,i)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,r){t.call(e,n,r)}))},t.prototype.keys=function(){var t=this.data.keys();return st?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function ut(t){return new ct(t)}function ht(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];for(var i=t.length,r=0;r<e.length;r++)n[r+i]=e[r];return n}function ft(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&w(n,e),n}function pt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function dt(t,e){return t.hasOwnProperty(e)}function gt(){}var vt=180/Math.PI},function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"y",(function(){return a})),n.d(e,"i",(function(){return u})),n.d(e,"m",(function(){return I})),n.d(e,"n",(function(){return L})),n.d(e,"p",(function(){return E})),n.d(e,"s",(function(){return H})),n.d(e,"bb",(function(){return Q})),n.d(e,"cb",(function(){return tt})),n.d(e,"mb",(function(){return it})),n.d(e,"qb",(function(){return st})),n.d(e,"x",(function(){return lt})),n.d(e,"Q",(function(){return ct})),n.d(e,"l",(function(){return l})),n.d(e,"k",(function(){return gt})),n.d(e,"gb",(function(){return yt})),n.d(e,"t",(function(){return Ot})),n.d(e,"u",(function(){return xt})),n.d(e,"v",(function(){return wt})),n.d(e,"c",(function(){return Pt})),n.d(e,"o",(function(){return Dt})),n.d(e,"K",(function(){return Ut})),n.d(e,"U",(function(){return N})),n.d(e,"W",(function(){return z})),n.d(e,"Y",(function(){return ee})),n.d(e,"kb",(function(){return le})),n.d(e,"w",(function(){return he})),n.d(e,"P",(function(){return O})),n.d(e,"pb",(function(){return pe})),n.d(e,"R",(function(){return ye})),n.d(e,"hb",(function(){return we})),n.d(e,"ob",(function(){return Me})),n.d(e,"A",(function(){return y})),n.d(e,"B",(function(){return Fe})),n.d(e,"C",(function(){return Le})),n.d(e,"G",(function(){return d})),n.d(e,"H",(function(){return v})),n.d(e,"I",(function(){return Ne})),n.d(e,"J",(function(){return Rt})),n.d(e,"L",(function(){return m})),n.d(e,"M",(function(){return k})),n.d(e,"N",(function(){return et})),n.d(e,"O",(function(){return Xe})),n.d(e,"D",(function(){return qe})),n.d(e,"db",(function(){return Ze})),n.d(e,"d",(function(){return Ke})),n.d(e,"e",(function(){return nn})),n.d(e,"g",(function(){return on})),n.d(e,"V",(function(){return an})),n.d(e,"h",(function(){return un})),n.d(e,"j",(function(){return x})),n.d(e,"z",(function(){return dn})),n.d(e,"E",(function(){return yn})),n.d(e,"F",(function(){return bn})),n.d(e,"S",(function(){return On})),n.d(e,"T",(function(){return Sn})),n.d(e,"X",(function(){return Qe})),n.d(e,"b",(function(){return Qe})),n.d(e,"q",(function(){return Mn})),n.d(e,"eb",(function(){return jn})),n.d(e,"ab",(function(){return kn})),n.d(e,"ib",(function(){return In})),n.d(e,"jb",(function(){return An})),n.d(e,"lb",(function(){return ge})),n.d(e,"nb",(function(){return Pn})),n.d(e,"Z",(function(){return Ln})),n.d(e,"fb",(function(){return En})),n.d(e,"r",(function(){return zn})),n.d(e,"a",(function(){return Hn}));var r,i=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},o,a=function(t,e){return!!i(t)&&t.indexOf(e)>-1},s,l=function(t,e){if(!i(t))return t;for(var n=[],r=0;r<t.length;r++){var o=t[r];e(o,r)&&n.push(o)}return n},c,u=function(t,e){return void 0===e&&(e=[]),l(t,(function(t){return!a(e,t)}))},h={}.toString,f,p=function(t,e){return h.call(t)==="[object "+e+"]"},d=function(t){return p(t,"Function")},g,v=function(t){return null==t},y=function(t){return Array.isArray?Array.isArray(t):p(t,"Array")},m=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e};function b(t,e){var n;if(t)if(y(t))for(var r=0,i=t.length;r<i&&!1!==(n=e(t[r],r));r++);else if(m(t))for(var o in t)if(t.hasOwnProperty(o)&&!1===(n=e(t[o],o)))break}var x=b,w,O=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return x(t,(function(n,r){d(t)&&"prototype"===r||e.push(r)})),e};function _(t,e){var n=O(e),r=n.length;if(v(t))return!r;for(var i=0;i<r;i+=1){var o=n[i];if(e[o]!==t[o]||!(o in t))return!1}return!0}var S=_,M,j=function(t){return"object"==typeof t&&null!==t},C,k=function(t){if(!j(t)||!p(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e};function T(t,e){if(!y(t))return null;var n;if(d(e)&&(n=e),k(e)&&(n=function(t){return S(t,e)}),n)for(var r=0;r<t.length;r+=1)if(n(t[r]))return t[r];return null}var I=T;function A(t,e,n){void 0===n&&(n=0);for(var r=n;r<t.length;r++)if(e(t[r],r))return r;return-1}var F=A,P,L=function(t,e){for(var n=null,r=0;r<t.length;r++){var i,o=t[r][e];if(!v(o)){n=y(o)?o[0]:o;break}}return n},D,E=function(t){if(!y(t))return[];for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e},R=function(t,e){if(void 0===e&&(e=[]),y(t))for(var n=0;n<t.length;n+=1)R(t[n],e);else e.push(t);return e},B=R,N=function(t){if(y(t))return t.reduce((function(t,e){return Math.max(t,e)}),t[0])},z=function(t){if(y(t))return t.reduce((function(t,e){return Math.min(t,e)}),t[0])},V,H=function(t){var e=t.filter((function(t){return!isNaN(t)}));if(!e.length)return{min:0,max:0};if(y(t[0])){for(var n=[],r=0;r<t.length;r++)n=n.concat(t[r]);e=n}var i=N(e),o;return{min:z(e),max:i}},G=Array.prototype,W=G.splice,Y=G.indexOf,X,U=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r++)for(var i=e[r],o=-1;(o=Y.call(t,i))>-1;)W.call(t,o,1);return t},q=Array.prototype.splice,Z,K=function t(e,n){if(!i(e))return[];for(var r=e?n.length:0,o=r-1;r--;){var a=void 0,s=n[r];r!==o&&s===a||(a=s,q.call(e,s,1))}return e},J,Q=function(t,e,n){if(!y(t)&&!k(t))return t;var r=n;return x(t,(function(t,n){r=e(r,t,n)})),r},$,tt=function(t,e){var n=[];if(!i(t))return n;for(var r=-1,o=[],a=t.length;++r<a;){var s=t[r];e(s,r,t)&&(n.push(s),o.push(r))}return K(t,o),n},et=function(t){return p(t,"String")};function nt(t,e){var n;if(d(e))n=function(t,n){return e(t)-e(n)};else{var r=[];et(e)?r.push(e):y(e)&&(r=e),n=function(t,e){for(var n=0;n<r.length;n+=1){var i=r[n];if(t[i]>e[i])return 1;if(t[i]<e[i])return-1}return 0}}return t.sort(n),t}var rt=nt;function it(t,e){void 0===e&&(e=new Map);var n=[];if(Array.isArray(t))for(var r=0,i=t.length;r<i;r++){var o=t[r];e.has(o)||(n.push(o),e.set(o,!0))}return n}var ot,at=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return it([].concat.apply([],t))},st=function(t,e){for(var n=[],r={},i=0;i<t.length;i++){var o,a=t[i][e];if(!v(a)){y(a)||(a=[a]);for(var s=0;s<a.length;s++){var l=a[s];r[l]||(n.push(l),r[l]=!0)}}}return n};function lt(t){if(i(t))return t[0]}function ct(t){if(i(t)){var e=t;return t[t.length-1]}}function ut(t,e){return!(!y(t)&&!et(t))&&t[0]===e}var ht=ut;function ft(t,e){return!(!y(t)&&!et(t))&&t[t.length-1]===e}var pt=ft,dt,gt=function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n))return!1;return!0},vt,yt=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n))return!0;return!1},mt=Object.prototype.hasOwnProperty;function bt(t,e){if(!e||!y(t))return{};for(var n={},r=d(e)?e:function(t){return t[e]},i,o=0;o<t.length;o++){var a=t[o];i=r(a),mt.call(n,i)?n[i].push(a):n[i]=[a]}return n}var xt=bt;function wt(t,e){if(!e)return{0:t};if(!d(e)){var n=y(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="_",r=0,i=n.length;r<i;r++)e+=t[n[r]]&&t[n[r]].toString();return e}}return xt(t,e)}var Ot=function(t,e){if(!e)return[t];var n=wt(t,e),r=[];for(var i in n)r.push(n[i]);return r};function _t(t,e){return t["_wrap_"+e]}var St=_t;function Mt(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}var jt=Mt,Ct={};function kt(t){var e=Ct[t];if(!e){for(var n=t.toString(16),r=n.length;r<6;r++)n="0"+n;e="#"+n,Ct[t]=e}return e}var Tt=kt;function It(t){var e=0,n=0,r=0,i=0;return y(t)?1===t.length?e=n=r=i=t[0]:2===t.length?(e=r=t[0],n=i=t[1]):3===t.length?(e=t[0],n=i=t[1],r=t[2]):(e=t[0],n=t[1],r=t[2],i=t[3]):e=n=r=i=t,{r1:e,r2:n,r3:r,r4:i}}var At=It,Ft,Pt=function(t,e,n){return t<e?e:t>n?n:t},Lt,Dt=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))},Et,Rt=function(t){return p(t,"Number")},Bt,Nt=function(t){return Rt(t)&&t%1!=0},zt,Vt=function(t){return Rt(t)&&t%2==0},Ht,Gt=Number.isInteger?Number.isInteger:function(t){return Rt(t)&&t%1==0},Wt,Yt=function(t){return Rt(t)&&t<0},Xt=1e-5;function Ut(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)<n}var qt,Zt=function(t){return Rt(t)&&t%2!=0},Kt,Jt=function(t){return Rt(t)&&t>0},Qt=function(t,e){if(y(t)){for(var n,r=-1/0,i=0;i<t.length;i++){var o=t[i],a=d(e)?e(o):o[e];a>r&&(n=o,r=a)}return n}},$t=function(t,e){if(y(t)){for(var n,r=1/0,i=0;i<t.length;i++){var o=t[i],a=d(e)?e(o):o[e];a<r&&(n=o,r=a)}return n}},te,ee=function(t,e){return(t%e+e)%e},ne=180/Math.PI,re,ie=function(t){return ne*t},oe=parseInt,ae=Math.PI/180,se,le=function(t){return ae*t},ce=x,ue,he=function(t,e){return t.hasOwnProperty(e)},fe,pe=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return x(t,(function(n,r){d(t)&&"prototype"===r||e.push(n)})),e},de=function(t,e){return a(pe(t),e)},ge=function(t){return v(t)?"":t.toString()},ve,ye=function(t){return ge(t).toLowerCase()},me,be=function(t){var e=ge(t);return e.charAt(0).toLowerCase()+e.substring(1)};function xe(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t}var we=xe,Oe,_e=function(t){return ge(t).toUpperCase()},Se,Me=function(t){var e=ge(t);return e.charAt(0).toUpperCase()+e.substring(1)},je={}.toString,Ce,ke=function(t){return je.call(t).replace(/^\[object /,"").replace(/]$/,"")},Te,Ie=function(t){return p(t,"Arguments")},Ae,Fe=function(t){return p(t,"Boolean")},Pe,Le=function(t){return p(t,"Date")},De,Ee=function(t){return p(t,"Error")},Re=function(t){return Rt(t)&&isFinite(t)},Be,Ne=function(t){return null===t},ze=Object.prototype,Ve,He=function(t){var e=t&&t.constructor,n;return t===("function"==typeof e&&e.prototype||ze)},Ge,We=function(t){return p(t,"RegExp")},Ye,Xe=function(t){return void 0===t},Ue,qe=function(t){return t instanceof Element||t instanceof HTMLDocument};function Ze(t){var e;return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16)})(t)}function Ke(t){var e;(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(t)}function Je(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function Qe(t,e,n,r){return e&&Je(t,e),n&&Je(t,n),r&&Je(t,r),t}var $e,tn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=t[0],r=1;r<t.length;r++){var i=t[r];d(i)&&(i=i.prototype),Qe(n.prototype,i)}},en=function(t){if("object"!=typeof t||null===t)return t;var e;if(y(t)){e=[];for(var n=0,r=t.length;n<r;n++)"object"==typeof t[n]&&null!=t[n]?e[n]=en(t[n]):e[n]=t[n]}else for(var i in e={},t)"object"==typeof t[i]&&null!=t[i]?e[i]=en(t[i]):e[i]=t[i];return e},nn=en;function rn(t,e,n){var r;return function(){var i=this,o=arguments,a=function(){r=null,n||t.apply(i,o)},s=n&&!r;clearTimeout(r),r=setTimeout(a,e),s&&t.apply(i,o)}}var on=rn,an=function(t,e){if(!d(t))throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var s=t.apply(this,r);return a.set(o,s),s};return n.cache=new Map,n},sn=5;function ln(t,e,n,r){for(var i in n=n||0,r=r||5,e)if(e.hasOwnProperty(i)){var o=e[i];null!==o&&k(o)?(k(t[i])||(t[i]={}),n<r?ln(t[i],o,n+1,r):t[i]=e[i]):y(o)?(t[i]=[],t[i]=t[i].concat(o)):void 0!==o&&(t[i]=o)}}var cn,un=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)ln(t,e[r]);return t},hn,fn=function(t,e,n,r){d(e)||(n=e,e=t,t=function(){});var i=Object.create?function(t,e){return Object.create(t,{constructor:{value:e}})}:function(t,e){function n(){}n.prototype=t;var r=new n;return r.constructor=e,r},o=i(e.prototype,t);return t.prototype=Qe(o,t.prototype),t.superclass=i(e.prototype,e),Qe(o,n),Qe(t,r),t},pn,dn=function(t,e){if(!i(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var r=-1,o=0;o<t.length;o++)if(t[o]===e){r=o;break}return r},gn=Object.prototype.hasOwnProperty;function vn(t){if(v(t))return!0;if(i(t))return!t.length;var e=ke(t);if("Map"===e||"Set"===e)return!t.size;if(He(t))return!Object.keys(t).length;for(var n in t)if(gn.call(t,n))return!1;return!0}var yn=vn,mn=function(t,e){if(t===e)return!0;if(!t||!e)return!1;if(et(t)||et(e))return!1;if(i(t)||i(e)){if(t.length!==e.length)return!1;for(var n=!0,r=0;r<t.length&&(n=mn(t[r],e[r]));r++);return n}if(j(t)||j(e)){var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(var n=!0,r=0;r<o.length&&(n=mn(t[o[r]],e[o[r]]));r++);return n}return!1},bn=mn,xn=function(t,e,n){return d(n)?!!n(t,e):bn(t,e)},wn,On=function(t,e){if(!i(t))return t;for(var n=[],r=0;r<t.length;r++){var o=t[r];n.push(e(o,r))}return n},_n=function(t){return t},Sn=function(t,e){void 0===e&&(e=_n);var n={};return m(t)&&!v(t)&&Object.keys(t).forEach((function(r){n[r]=e(t[r],r)})),n},Mn=function(t,e,n){for(var r=0,i=et(e)?e.split("."):e;t&&r<i.length;)t=t[i[r++]];return void 0===t||r<i.length?n:t},jn=function(t,e,n){var r=t,i=et(e)?e.split("."):e;return i.forEach((function(t,e){e<i.length-1?(m(r[t])||(r[t]=Rt(i[e+1])?[]:{}),r=r[t]):r[t]=n})),t},Cn=Object.prototype.hasOwnProperty,kn=function(t,e){if(null===t||!k(t))return{};var n={};return x(e,(function(e){Cn.call(t,e)&&(n[e]=t[e])})),n},Tn=function(t,e){return Q(t,(function(t,n,r){return e.includes(r)||(t[r]=n),t}),{})},In=function(t,e,n){var r,i,o,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),r=null,a=t.apply(i,o),r||(i=o=null)},c=function(){var c=Date.now();s||!1!==n.leading||(s=c);var u=e-(c-s);return i=this,o=arguments,u<=0||u>e?(r&&(clearTimeout(r),r=null),s=c,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c},An=function(t){return i(t)?Array.prototype.slice.call(t):[]},Fn={},Pn=function(t){return Fn[t=t||"g"]?Fn[t]+=1:Fn[t]=1,t+Fn[t]},Ln=function(){},Dn=function(t){return t};function En(t){return v(t)?0:i(t)?t.length:Object.keys(t).length}var Rn=n(2),Bn,Nn=an((function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,o=e.fontStyle,a=e.fontVariant;return Bn||(Bn=document.createElement("canvas").getContext("2d")),Bn.font=[o,a,i,n+"px",r].join(" "),Bn.measureText(et(t)?t:"").width}),(function(t,e){return void 0===e&&(e={}),Object(Rn.h)([t],pe(e)).join("")})),zn=function(t,e,n,r){void 0===r&&(r="...");var i=16,o=Nn(r,n),a=et(t)?t:ge(t),s=e,l=[],c,u;if(Nn(t,n)<=e)return t;for(;c=a.substr(0,16),!((u=Nn(c,n))+o>s&&u>s);)if(l.push(c),s-=u,!(a=a.substr(16)))return l.join("");for(;c=a.substr(0,1),!((u=Nn(c,n))+o>s);)if(l.push(c),s-=u,!(a=a.substr(1)))return l.join("");return""+l.join("")+r},Vn,Hn=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}()},function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"b",(function(){return d})),n.d(e,"d",(function(){return g})),n.d(e,"i",(function(){return m})),n.d(e,"e",(function(){return b})),n.d(e,"h",(function(){return w})),n.d(e,"g",(function(){return O}));var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function t(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function s(t,e,n,r){var i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r,a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(o=(i<3?a(o):i>3?a(e,n,o):a(e,n))||o);return i>3&&o&&Object.defineProperty(e,n,o),o}function l(t,e){return function(n,r){e(n,r,t)}}function c(t,e,n,r,i,o){function a(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var s=r.kind,l="getter"===s?"get":"setter"===s?"set":"value",c=!e&&t?r.static?t:t.prototype:null,u=e||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),h,f=!1,p=n.length-1;p>=0;p--){var d={};for(var g in r)d[g]="access"===g?{}:r[g];for(var g in r.access)d.access[g]=r.access[g];d.addInitializer=function(t){if(f)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(t||null))};var v=(0,n[p])("accessor"===s?{get:u.get,set:u.set}:u[l],d);if("accessor"===s){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(h=a(v.get))&&(u.get=h),(h=a(v.set))&&(u.set=h),(h=a(v.init))&&i.unshift(h)}else(h=a(v))&&("field"===s?i.unshift(h):u[l]=h)}c&&Object.defineProperty(c,r.name,u),f=!0}function u(t,e,n){for(var r=arguments.length>2,i=0;i<e.length;i++)n=r?e[i].call(t,n):e[i].call(t);return r?n:void 0}function h(t){return"symbol"==typeof t?t:"".concat(t)}function f(t,e,n){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",e):e})}function p(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function d(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){t.done?n(t.value):i(t.value).then(a,s)}l((r=r.apply(t,e||[])).next())}))}function g(t,e){var n={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return l([t,e])}}function l(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(n=0)),n;)try{if(r=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,i=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(!(o=n.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){n=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(6===s[0]&&n.label<o[1]){n.label=o[1],o=s;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(s);break}o[2]&&n.ops.pop(),n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t],i=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var v=Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function y(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||v(e,t,n)}function m(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],a;try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function x(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function w(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function O(t,e,n){if(n||2===arguments.length)for(var r=0,i=e.length,o;r<i;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function S(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(t){r[t]&&(i[t]=function(e){return new Promise((function(n,r){o.push([t,e,n,r])>1||s(t,e)}))})}function s(t,e){try{l(r[t](e))}catch(t){h(o[0][3],t)}}function l(t){t.value instanceof _?Promise.resolve(t.value.v).then(c,u):h(o[0][2],t)}function c(t){s("next",t)}function u(t){s("throw",t)}function h(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function M(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:_(t[r](e)),done:!1}:i?i(e):e}:i}}function j(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=m(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){i(r,o,(n=t[e](n)).done,n.value)}))}}function i(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var k=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function T(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&v(e,t,n);return k(e,t),e}function I(t){return t&&t.__esModule?t:{default:t}}function A(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function F(t,e,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}function P(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function L(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}var D="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function E(t){function e(e){t.error=t.hasError?new D(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}function n(){for(;t.stack.length;){var r=t.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(t){return e(t),n()}))}catch(t){e(t)}}if(t.hasError)throw t.error}return n()}var R=i,B=o,N=a,z=s,V=l,H=p,G=d,W=g,Y=v,X=y,U=m,q=b,Z=x,K=w,J=O,Q=_,$=S,tt=M,et=j,nt=C,rt=T,it=I,ot=A,at=F,st=P,lt=L,ct=E},function(e,n){e.exports=t},function(t,e,n){"use strict";n.d(e,"b",(function(){return i.a})),n.d(e,"c",(function(){return i.b})),n.d(e,"d",(function(){return i.c})),n.d(e,"a",(function(){return r}));var r={};n.r(r),n.d(r,"leftTranslate",(function(){return o})),n.d(r,"leftRotate",(function(){return a})),n.d(r,"leftScale",(function(){return s})),n.d(r,"transform",(function(){return c})),n.d(r,"direction",(function(){return u})),n.d(r,"angleTo",(function(){return h})),n.d(r,"vertical",(function(){return f}));var i=n(22);function o(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i.a.fromTranslation(r,n),i.a.multiply(t,r,e)}function a(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i.a.fromRotation(r,n),i.a.multiply(t,r,e)}function s(t,e,n){var r=[0,0,0,0,0,0,0,0,0];return i.a.fromScaling(r,n),i.a.multiply(t,r,e)}function l(t,e,n){return i.a.multiply(t,n,e)}function c(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],r=0,i=e.length;r<i;r++){var c=e[r];switch(c[0]){case"t":o(n,n,[c[1],c[2]]);break;case"s":s(n,n,[c[1],c[2]]);break;case"r":a(n,n,c[1]);break;case"m":l(n,n,c[1])}}return n}function u(t,e){return t[0]*e[1]-e[0]*t[1]}function h(t,e,n){var r=i.b.angle(t,e),o=u(t,e)>=0;return n?o?2*Math.PI-r:r:o?r:2*Math.PI-r}function f(t,e,n){return n?(t[0]=e[1],t[1]=-1*e[0]):(t[0]=-1*e[1],t[1]=e[0]),t}},function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"h",(function(){return a})),n.d(e,"k",(function(){return s})),n.d(e,"j",(function(){return l})),n.d(e,"b",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"e",(function(){return h})),n.d(e,"i",(function(){return d})),n.d(e,"d",(function(){return y})),n.d(e,"m",(function(){return m})),n.d(e,"l",(function(){return b})),n.d(e,"f",(function(){return x}));var r=n(1);function i(t){var e=0,n=0,i=0,o=0;return Object(r.J)(t)?e=n=i=o=t:Object(r.A)(t)&&(e=t[0],i=Object(r.H)(t[1])?t[0]:t[1],o=Object(r.H)(t[2])?t[0]:t[2],n=Object(r.H)(t[3])?i:t[3]),[e,i,o,n]}function o(t){for(var e=t.childNodes,n,r=e.length-1;r>=0;r--)t.removeChild(e[r])}function a(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function s(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),o=Math.max(e.x,n.x),a=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:o,maxY:a,width:o-r,height:a-i}}function l(t){var e=t.map((function(t){return t.x})),n=t.map((function(t){return t.y})),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),o=Math.max.apply(Math,e),a=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:o,maxY:a,width:o-r,height:a-i}}function c(t,e,n,r){var i=t+n,o=e+r;return{x:t,y:e,width:n,height:r,minX:t,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(o)?0:o}}function u(t,e,n){return(1-n)*t+e*n}function h(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}}function f(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}var p=function(t){return new Promise((function(e){setTimeout(e,t)}))},d=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)<n};function g(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),i,o;return c(n,r,Math.min(t.maxX,e.maxX)-n,Math.min(t.maxY,e.maxY)-r)}function v(t,e){var n=Math.min(t.minX,e.minX),r=Math.min(t.minY,e.minY),i,o;return c(n,r,Math.max(t.maxX,e.maxX)-n,Math.max(t.maxY,e.maxY)-r)}function y(t){var e=t.getClip(),n=e&&e.getBBox(),i;if(t.isGroup()){var o=1/0,a=-1/0,s=1/0,l=-1/0,u=t.getChildren();u.length>0?Object(r.j)(u,(function(t){if(t.get("visible")){if(t.isGroup()&&0===t.get("children").length)return!0;var e=y(t),n=t.applyToMatrix([e.minX,e.minY,1]),r=t.applyToMatrix([e.minX,e.maxY,1]),i=t.applyToMatrix([e.maxX,e.minY,1]),c=t.applyToMatrix([e.maxX,e.maxY,1]),u=Math.min(n[0],r[0],i[0],c[0]),h=Math.max(n[0],r[0],i[0],c[0]),f=Math.min(n[1],r[1],i[1],c[1]),p=Math.max(n[1],r[1],i[1],c[1]);u<o&&(o=u),h>a&&(a=h),f<s&&(s=f),p>l&&(l=p)}})):(o=0,a=0,s=0,l=0),i=c(o,s,a-o,l-s)}else i=t.getBBox();return n?g(i,n):i}function m(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(n){var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}else t.setClip(null)}}function b(t){return t+"px"}function x(t,e,n,r){var i,o=r/f(t,e),a=0;return"start"===n?a=0-o:"end"===n&&(a=1+o),{x:u(t.x,e.x,a),y:u(t.y,e.y,a)}}},function(t,e,n){"use strict";var r=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),i,o=new(function(){function t(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window}return t}());function a(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?o.worker=!0:"undefined"==typeof navigator?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),e.a=o},function(t,e,n){var r,i; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var n={}.hasOwnProperty,o="[native code]";function a(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)){if(r.length){var o=a.apply(null,r);o&&t.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}}return t.join(" ")}t.exports?(a.default=a,t.exports=a):void 0===(i=function(){return a}.apply(e,r=[]))||(t.exports=i)}()},function(t,e,n){"use strict";e.a={fontFamily:'\n BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue",\n Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",\n SimSun, "sans-serif"',textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4,descriptionIconStroke:"#fff",descriptionIconFill:"rgba(58, 73, 101, .25)"}},function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"l",(function(){return l})),n.d(e,"j",(function(){return c}));var r=n(1);function i(){return window?window.devicePixelRatio:1}function o(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function a(t,e,n,r,i,o){return i>=t&&i<=t+n&&o>=e&&o<=e+r}function s(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function l(t,e){return t&&e?{minX:Math.min(t.minX,e.minX),minY:Math.min(t.minY,e.minY),maxX:Math.max(t.maxX,e.maxX),maxY:Math.max(t.maxY,e.maxY)}:t||e}function c(t,e){return t[0]===e[0]&&t[1]===e[1]}n.d(e,"i",(function(){return r.H})),n.d(e,"k",(function(){return r.N})),n.d(e,"h",(function(){return r.G})),n.d(e,"g",(function(){return r.A})),n.d(e,"c",(function(){return r.j})),n.d(e,"o",(function(){return r.kb})),n.d(e,"m",(function(){return r.Y})),n.d(e,"n",(function(){return r.db})),n.d(e,"a",(function(){return r.d}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},i={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"},o=["click","mousedown","mouseup","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","wheel"]},function(t,e,n){"use strict";n.d(e,"g",(function(){return y})),n.d(e,"c",(function(){return x})),n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return S})),n.d(e,"f",(function(){return j})),n.d(e,"e",(function(){return C})),n.d(e,"h",(function(){return k})),n.d(e,"d",(function(){return T}));var r=n(40),i={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(t){return(t=Math.round(t))<0?0:t>255?255:t}function a(t){return(t=Math.round(t))<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function c(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function u(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function f(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new r.a(20),g=null;function v(t,e){g&&p(g,e),g=d.put(t,g||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var r=(t+="").replace(/ /g,"").toLowerCase();if(r in i)return p(e,i[r]),v(t,e),e;var o=r.length,a,a;if("#"===r.charAt(0))return 4===o||5===o?(a=parseInt(r.slice(1,4),16))>=0&&a<=4095?(f(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===o?parseInt(r.slice(4),16)/15:1),v(t,e),e):void f(e,0,0,0,1):7===o||9===o?(a=parseInt(r.slice(1,7),16))>=0&&a<=16777215?(f(e,(16711680&a)>>16,(65280&a)>>8,255&a,9===o?parseInt(r.slice(7),16)/255:1),v(t,e),e):void f(e,0,0,0,1):void 0;var s=r.indexOf("("),u=r.indexOf(")");if(-1!==s&&u+1===o){var h=r.substr(0,s),g=r.substr(s+1,u-(s+1)).split(","),y=1;switch(h){case"rgba":if(4!==g.length)return 3===g.length?f(e,+g[0],+g[1],+g[2],1):f(e,0,0,0,1);y=c(g.pop());case"rgb":return g.length>=3?(f(e,l(g[0]),l(g[1]),l(g[2]),3===g.length?y:c(g[3])),v(t,e),e):void f(e,0,0,0,1);case"hsla":return 4!==g.length?void f(e,0,0,0,1):(g[3]=c(g[3]),m(g,e),v(t,e),e);case"hsl":return 3!==g.length?void f(e,0,0,0,1):(m(g,e),v(t,e),e);default:return}}f(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=c(t[1]),i=c(t[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return f(e=e||[],o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=o-i,s=(o+i)/2,l,c;if(0===a)l=0,c=0;else{c=s<.5?a/(o+i):a/(2-o-i);var u=((o-e)/6+a/2)/a,h=((o-n)/6+a/2)/a,f=((o-r)/6+a/2)/a;e===o?l=f-h:n===o?l=1/3+u-f:r===o&&(l=2/3+h-u),l<0&&(l+=1),l>1&&(l-=1)}var p=[360*l,c,s];return null!=t[3]&&p.push(t[3]),p}}function x(t,e){var n=y(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return k(n,4===n.length?"rgba":"rgb")}}function w(t){var e=y(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function O(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),l=e[i],c=e[a],u=r-i;return n[0]=o(h(l[0],c[0],u)),n[1]=o(h(l[1],c[1],u)),n[2]=o(h(l[2],c[2],u)),n[3]=s(h(l[3],c[3],u)),n}}var _=O;function S(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),l=y(e[i]),c=y(e[a]),u=r-i,f=k([o(h(l[0],c[0],u)),o(h(l[1],c[1],u)),o(h(l[2],c[2],u)),s(h(l[3],c[3],u))],"rgba");return n?{color:f,leftIndex:i,rightIndex:a,value:r}:f}}var M=S;function j(t,e,n,r){var i=y(t);if(t)return i=b(i),null!=e&&(i[0]=a(e)),null!=n&&(i[1]=c(n)),null!=r&&(i[2]=c(r)),k(m(i),"rgba")}function C(t,e){